Merge lp:~gandelman-a/ubuntu/precise/ipsec-tools/merge into lp:ubuntu/precise/ipsec-tools
- Precise (12.04)
- merge
- Merge into precise
Proposed by
Adam Gandelman
Status: | Merged |
---|---|
Merged at revision: | 30 |
Proposed branch: | lp:~gandelman-a/ubuntu/precise/ipsec-tools/merge |
Merge into: | lp:ubuntu/precise/ipsec-tools |
Diff against target: |
72817 lines (+974/-70659) 51 files modified
.pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src/setkey/setkey.8 (+0/-837) .pc/FTBFS2_kfreebsd.patch/configure (+0/-17000) .pc/FTBFS2_kfreebsd.patch/configure.ac (+0/-826) .pc/FTBFS2_kfreebsd.patch/src/libipsec/key_debug.c (+0/-899) .pc/FTBFS2_kfreebsd.patch/src/libipsec/policy_token.c (+0/-2092) .pc/FTBFS2_kfreebsd.patch/src/libipsec/policy_token.l (+0/-192) .pc/FTBFS2_kfreebsd.patch/src/racoon/isakmp.c (+0/-3698) .pc/FTBFS2_kfreebsd.patch/src/racoon/nattraversal.c (+0/-553) .pc/FTBFS2_kfreebsd.patch/src/racoon/pfkey.c (+0/-3993) .pc/FTBFS2_kfreebsd.patch/src/setkey/token.c (+0/-2927) .pc/FTBFS2_kfreebsd.patch/src/setkey/token.l (+0/-359) .pc/applied-patches (+0/-7) .pc/configure-pass-Wl-with-R.patch/aclocal.m4 (+0/-8974) .pc/configure-pass-Wl-with-R.patch/configure (+0/-17004) .pc/configure-pass-Wl-with-R.patch/configure.ac (+0/-830) .pc/modify-makefile-to-let-initscript-create-var-run-directory.patch/src/racoon/Makefile.in (+0/-1114) .pc/move-private-libraries-to-subfolder.patch/ltmain.sh (+0/-8413) .pc/patch-to-support-cast128-cbc-algorithm.patch/src/include-glibc/net/pfkeyv2.h (+0/-71) .pc/support-iphone-os-main-mode-with-psk.patch/src/racoon/localconf.c (+0/-358) aclocal.m4 (+2/-2) configure (+5/-9) configure.ac (+5/-9) debian/changelog (+80/-0) debian/control (+5/-4) debian/ipsec-tools.lintian-overrides (+1/-0) debian/ipsec-tools.setkey.init (+2/-0) debian/patches/FTBFS2_kfreebsd.patch (+0/-30) debian/patches/Fix-spelling-error-racoon.conf.5.patch (+18/-0) debian/patches/configure-pass-Wl-with-R.patch (+2/-60) debian/patches/ipsec-str_error-spelling.patch (+18/-0) debian/patches/series (+2/-0) debian/racoon-tool.8 (+15/-5) debian/racoon-tool.conf.5 (+83/-12) debian/racoon-tool.pl (+698/-345) debian/racoon.config (+2/-1) debian/racoon.lintian-overrides (+1/-0) debian/rules (+18/-12) debian/watch (+1/-4) ltmain.sh (+1/-1) src/include-glibc/net/pfkeyv2.h (+1/-1) src/libipsec/key_debug.c (+1/-1) src/libipsec/policy_token.c (+1/-1) src/libipsec/policy_token.l (+1/-1) src/racoon/Makefile.in (+3/-0) src/racoon/isakmp.c (+2/-5) src/racoon/localconf.c (+1/-2) src/racoon/nattraversal.c (+1/-1) src/racoon/pfkey.c (+1/-1) src/setkey/setkey.8 (+1/-3) src/setkey/token.c (+1/-1) src/setkey/token.l (+1/-1) |
To merge this branch: | bzr merge lp:~gandelman-a/ubuntu/precise/ipsec-tools/merge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Ubuntu branches | Pending | ||
Review via email: mp+80271@code.launchpad.net |
Commit message
Description of the change
ipsec-tools (1:0.8.0-9ubuntu1) precise; urgency=low
* Merge from Debian unstable (LP: #881097). Remaining changes:
- debian/control: Depend on lsb-base
- debian/rules: switch -U_FORTIFY_SOURCE for -D_FORTIFY_SOURCE=0
* Dropped changes:
- Modify configure.ac to not convert -RXYZ to -Wl,-RXYZ, and regenerate
configure (Applied in debian via configure-
- debian/
(Fixed in Debian)
-- Adam Gandelman <email address hidden> Mon, 24 Oct 2011 12:08:24 -0700
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed directory '.pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch' |
2 | === removed directory '.pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src' |
3 | === removed directory '.pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src/setkey' |
4 | === removed file '.pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src/setkey/setkey.8' |
5 | --- .pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src/setkey/setkey.8 2011-03-21 10:52:37 +0000 |
6 | +++ .pc/0001-extend-setkey.8-manpage-esp-udp-tcp-md5.patch/src/setkey/setkey.8 1970-01-01 00:00:00 +0000 |
7 | @@ -1,837 +0,0 @@ |
8 | -.\" $NetBSD: setkey.8,v 1.26 2010/12/03 14:32:52 tteras Exp $ |
9 | -.\" |
10 | -.\" Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project. |
11 | -.\" All rights reserved. |
12 | -.\" |
13 | -.\" Redistribution and use in source and binary forms, with or without |
14 | -.\" modification, are permitted provided that the following conditions |
15 | -.\" are met: |
16 | -.\" 1. Redistributions of source code must retain the above copyright |
17 | -.\" notice, this list of conditions and the following disclaimer. |
18 | -.\" 2. Redistributions in binary form must reproduce the above copyright |
19 | -.\" notice, this list of conditions and the following disclaimer in the |
20 | -.\" documentation and/or other materials provided with the distribution. |
21 | -.\" 3. Neither the name of the project nor the names of its contributors |
22 | -.\" may be used to endorse or promote products derived from this software |
23 | -.\" without specific prior written permission. |
24 | -.\" |
25 | -.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND |
26 | -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
27 | -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
28 | -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE |
29 | -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
30 | -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
31 | -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
32 | -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
33 | -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
34 | -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
35 | -.\" SUCH DAMAGE. |
36 | -.\" |
37 | -.Dd June 4, 2010 |
38 | -.Dt SETKEY 8 |
39 | -.Os |
40 | -.\" |
41 | -.Sh NAME |
42 | -.Nm setkey |
43 | -.Nd manually manipulate the IPsec SA/SP database |
44 | -.\" |
45 | -.Sh SYNOPSIS |
46 | -.Nm setkey |
47 | -.Op Fl knrv |
48 | -.Ar file ... |
49 | -.Nm setkey |
50 | -.Op Fl knrv |
51 | -.Fl c |
52 | -.Nm setkey |
53 | -.Op Fl krv |
54 | -.Fl f Ar filename |
55 | -.Nm setkey |
56 | -.Op Fl aklPrv |
57 | -.Fl D |
58 | -.Nm setkey |
59 | -.Op Fl Pvp |
60 | -.Fl F |
61 | -.Nm setkey |
62 | -.Op Fl H |
63 | -.Fl x |
64 | -.Nm setkey |
65 | -.Op Fl ?V |
66 | -.\" |
67 | -.Sh DESCRIPTION |
68 | -.Nm |
69 | -adds, updates, dumps, or flushes |
70 | -Security Association Database (SAD) entries |
71 | -as well as Security Policy Database (SPD) entries in the kernel. |
72 | -.Pp |
73 | -.Nm |
74 | -takes a series of operations from standard input |
75 | -.Po |
76 | -if invoked with |
77 | -.Fl c |
78 | -.Pc |
79 | -or the file named |
80 | -.Ar filename |
81 | -.Po |
82 | -if invoked with |
83 | -.Fl f Ar filename |
84 | -.Pc . |
85 | -.Bl -tag -width Ds |
86 | -.It (no flag) |
87 | -Dump the SAD entries or SPD entries contained in the specified |
88 | -.Ar file . |
89 | -.It Fl ? |
90 | -Print short help. |
91 | -.It Fl a |
92 | -.Nm |
93 | -usually does not display dead SAD entries with |
94 | -.Fl D . |
95 | -If |
96 | -.Fl a |
97 | -is also specified, the dead SAD entries will be displayed as well. |
98 | -A dead SAD entry is one that has expired but remains in the |
99 | -system because it is referenced by some SPD entries. |
100 | -.It Fl D |
101 | -Dump the SAD entries. |
102 | -If |
103 | -.Fl P |
104 | -is also specified, the SPD entries are dumped. |
105 | -If |
106 | -.Fl p |
107 | -is specified, the ports are displayed. |
108 | -.It Fl F |
109 | -Flush the SAD entries. |
110 | -If |
111 | -.Fl P |
112 | -is also specified, the SPD entries are flushed. |
113 | -.It Fl H |
114 | -Add hexadecimal dump in |
115 | -.Fl x |
116 | -mode. |
117 | -.It Fl h |
118 | -On |
119 | -.Nx , |
120 | -synonym for |
121 | -.Fl H . |
122 | -On other systems, synonym for |
123 | -.Fl ? . |
124 | -.It Fl k |
125 | -Use semantics used in kernel. |
126 | -Available only in Linux. |
127 | -See also |
128 | -.Fl r . |
129 | -.It Fl l |
130 | -Loop forever with short output on |
131 | -.Fl D . |
132 | -.It Fl n |
133 | -No action. |
134 | -The program will check validity of the input, but no changes to |
135 | -the SPD will be made. |
136 | -.It Fl r |
137 | -Use semantics described in IPsec RFCs. |
138 | -This mode is default. |
139 | -For details see section |
140 | -.Sx RFC vs Linux kernel semantics . |
141 | -Available only in Linux. |
142 | -See also |
143 | -.Fl k . |
144 | -.It Fl x |
145 | -Loop forever and dump all the messages transmitted to the |
146 | -.Dv PF_KEY |
147 | -socket. |
148 | -.Fl xx |
149 | -prints the unformatted timestamps. |
150 | -.It Fl V |
151 | -Print version string. |
152 | -.It Fl v |
153 | -Be verbose. |
154 | -The program will dump messages exchanged on the |
155 | -.Dv PF_KEY |
156 | -socket, including messages sent from other processes to the kernel. |
157 | -.El |
158 | -.Ss Configuration syntax |
159 | -With |
160 | -.Fl c |
161 | -or |
162 | -.Fl f |
163 | -on the command line, |
164 | -.Nm |
165 | -accepts the following configuration syntax. |
166 | -Lines starting with hash signs |
167 | -.Pq Sq # |
168 | -are treated as comment lines. |
169 | -.Bl -tag -width Ds |
170 | -.It Li add Oo Fl 46n Oc Ar src Ar dst Ar protocol Ar spi \ |
171 | -Oo Ar extensions Oc Ar algorithm ... Li ; |
172 | -Add an SAD entry. |
173 | -.Li add |
174 | -can fail for multiple reasons, including when the key length does |
175 | -not match the specified algorithm. |
176 | -.\" |
177 | -.It Li get Oo Fl 46n Oc Ar src Ar dst Ar protocol Ar spi Li ; |
178 | -Show an SAD entry. |
179 | -.\" |
180 | -.It Li delete Oo Fl 46n Oc Ar src Ar dst Ar protocol Ar spi Li ; |
181 | -Remove an SAD entry. |
182 | -.\" |
183 | -.It Li deleteall Oo Fl 46n Oc Ar src Ar dst Ar protocol Li ; |
184 | -Remove all SAD entries that match the specification. |
185 | -.\" |
186 | -.It Li flush Oo Ar protocol Oc Li ; |
187 | -Clear all SAD entries matched by the options. |
188 | -.Fl F |
189 | -on the command line achieves the same functionality. |
190 | -.\" |
191 | -.It Li dump Oo Ar protocol Oc Li ; |
192 | -Dumps all SAD entries matched by the options. |
193 | -.Fl D |
194 | -on the command line achieves the same functionality. |
195 | -.\" |
196 | -.It Li spdadd Oo Fl 46n Oc Ar src_range Ar dst_range Ar upperspec \ |
197 | -Ar label Ar policy Li ; |
198 | -Add an SPD entry. |
199 | -.\" |
200 | -.It Li spdadd tagged Ar tag Ar policy Li ; |
201 | -Add an SPD entry based on a PF tag. |
202 | -.Ar tag |
203 | -must be a string surrounded by double quotes. |
204 | -.\" |
205 | -.It Li spdupdate Oo Fl 46n Oc Ar src_range Ar dst_range Ar upperspec \ |
206 | -Ar label Ar policy Li ; |
207 | -Updates an SPD entry. |
208 | -.\" |
209 | -.It Li spdupdate tagged Ar tag Ar policy Li ; |
210 | -Update an SPD entry based on a PF tag. |
211 | -.Ar tag |
212 | -must be a string surrounded by double quotes. |
213 | -.\" |
214 | -.It Li spddelete Oo Fl 46n Oc Ar src_range Ar dst_range Ar upperspec \ |
215 | -Fl P Ar direction Li ; |
216 | -Delete an SPD entry. |
217 | -.\" |
218 | -.It Li spdflush Li ; |
219 | -Clear all SPD entries. |
220 | -.Fl FP |
221 | -on the command line achieves the same functionality. |
222 | -.\" |
223 | -.It Li spddump Li ; |
224 | -Dumps all SPD entries. |
225 | -.Fl DP |
226 | -on the command line achieves the same functionality. |
227 | -.El |
228 | -.\" |
229 | -.Pp |
230 | -Meta-arguments are as follows: |
231 | -.Pp |
232 | -.Bl -tag -compact -width Ds |
233 | -.It Ar src |
234 | -.It Ar dst |
235 | -Source/destination of the secure communication is specified as |
236 | -an IPv4/v6 address, and an optional port number between square |
237 | -brackets. |
238 | -.Nm |
239 | -can resolve a FQDN into numeric addresses. |
240 | -If the FQDN resolves into multiple addresses, |
241 | -.Nm |
242 | -will install multiple SAD/SPD entries into the kernel |
243 | -by trying all possible combinations. |
244 | -.Fl 4 , |
245 | -.Fl 6 , |
246 | -and |
247 | -.Fl n |
248 | -restrict the address resolution of FQDN in certain ways. |
249 | -.Fl 4 |
250 | -and |
251 | -.Fl 6 |
252 | -restrict results into IPv4/v6 addresses only, respectively. |
253 | -.Fl n |
254 | -avoids FQDN resolution and requires addresses to be numeric addresses. |
255 | -.\" |
256 | -.Pp |
257 | -.It Ar protocol |
258 | -.Ar protocol |
259 | -is one of following: |
260 | -.Bl -tag -width Fl -compact |
261 | -.It Li esp |
262 | -ESP based on rfc2406 |
263 | -.It Li esp-old |
264 | -ESP based on rfc1827 |
265 | -.It Li ah |
266 | -AH based on rfc2402 |
267 | -.It Li ah-old |
268 | -AH based on rfc1826 |
269 | -.It Li ipcomp |
270 | -IPComp |
271 | -.It Li tcp |
272 | -TCP-MD5 based on rfc2385 |
273 | -.El |
274 | -.\" |
275 | -.Pp |
276 | -.It Ar spi |
277 | -Security Parameter Index |
278 | -.Pq SPI |
279 | -for the SAD and the SPD. |
280 | -.Ar spi |
281 | -must be a decimal number, or a hexadecimal number with a |
282 | -.Dq Li 0x |
283 | -prefix. |
284 | -SPI values between 0 and 255 are reserved for future use by IANA |
285 | -and cannot be used. |
286 | -TCP-MD5 associations must use 0x1000 and therefore only have per-host |
287 | -granularity at this time. |
288 | -.\" |
289 | -.Pp |
290 | -.It Ar extensions |
291 | -take some of the following: |
292 | -.Bl -tag -width Fl -compact |
293 | -.\" |
294 | -.It Fl m Ar mode |
295 | -Specify a security protocol mode for use. |
296 | -.Ar mode |
297 | -is one of following: |
298 | -.Li transport , tunnel , |
299 | -or |
300 | -.Li any . |
301 | -The default value is |
302 | -.Li any . |
303 | -.\" |
304 | -.It Fl r Ar size |
305 | -Specify window size of bytes for replay prevention. |
306 | -.Ar size |
307 | -must be decimal number in 32-bit word. |
308 | -If |
309 | -.Ar size |
310 | -is zero or not specified, replay checks don't take place. |
311 | -.\" |
312 | -.It Fl u Ar id |
313 | -Specify the identifier of the policy entry in the SPD. |
314 | -See |
315 | -.Ar policy . |
316 | -.\" |
317 | -.It Fl f Ar pad_option |
318 | -defines the content of the ESP padding. |
319 | -.Ar pad_option |
320 | -is one of following: |
321 | -.Bl -tag -width random-pad -compact |
322 | -.It Li zero-pad |
323 | -All the paddings are zero. |
324 | -.It Li random-pad |
325 | -A series of randomized values are used. |
326 | -.It Li seq-pad |
327 | -A series of sequential increasing numbers started from 1 are used. |
328 | -.El |
329 | -.\" |
330 | -.It Fl f Li nocyclic-seq |
331 | -Don't allow cyclic sequence numbers. |
332 | -.\" |
333 | -.It Fl lh Ar time |
334 | -.It Fl ls Ar time |
335 | -Specify hard/soft life time duration of the SA measured in seconds. |
336 | -.\" |
337 | -.It Fl bh Ar bytes |
338 | -.It Fl bs Ar bytes |
339 | -Specify hard/soft life time duration of the SA measured in bytes transported. |
340 | -.\" |
341 | -.It Fl ctx Ar doi Ar algorithm Ar context-name |
342 | -Specify an access control label. |
343 | -The access control label is interpreted by the LSM (e.g., SELinux). |
344 | -Ultimately, it enables MAC on network communications. |
345 | -.Bl -tag -width Fl -compact |
346 | -.It Ar doi |
347 | -The domain of interpretation, which is used by the |
348 | -IKE daemon to identify the domain in which negotiation takes place. |
349 | -.It Ar algorithm |
350 | -Indicates the LSM for which the label is generated (e.g., SELinux). |
351 | -.It Ar context-name |
352 | -The string representation of the label that is interpreted by the LSM. |
353 | -.El |
354 | -.El |
355 | -.\" |
356 | -.Pp |
357 | -.It Ar algorithm |
358 | -.Bl -tag -width Fl -compact |
359 | -.It Fl E Ar ealgo Ar key |
360 | -Specify an encryption algorithm |
361 | -.Ar ealgo |
362 | -for ESP. |
363 | -.It Fl E Ar ealgo Ar key Fl A Ar aalgo Ar key |
364 | -Specify an encryption algorithm |
365 | -.Ar ealgo , |
366 | -as well as a payload authentication algorithm |
367 | -.Ar aalgo , |
368 | -for ESP. |
369 | -.It Fl A Ar aalgo Ar key |
370 | -Specify an authentication algorithm for AH. |
371 | -.It Fl C Ar calgo Op Fl R |
372 | -Specify a compression algorithm for IPComp. |
373 | -If |
374 | -.Fl R |
375 | -is specified, the |
376 | -.Ar spi |
377 | -field value will be used as the IPComp CPI |
378 | -.Pq compression parameter index |
379 | -on wire as-is. |
380 | -If |
381 | -.Fl R |
382 | -is not specified, |
383 | -the kernel will use well-known CPI on wire, and |
384 | -.Ar spi |
385 | -field will be used only as an index for kernel internal usage. |
386 | -.El |
387 | -.Pp |
388 | -.Ar key |
389 | -must be a double-quoted character string, or a series of hexadecimal |
390 | -digits preceded by |
391 | -.Dq Li 0x . |
392 | -.Pp |
393 | -Possible values for |
394 | -.Ar ealgo , |
395 | -.Ar aalgo , |
396 | -and |
397 | -.Ar calgo |
398 | -are specified in the |
399 | -.Sx Algorithms |
400 | -sections. |
401 | -.\" |
402 | -.Pp |
403 | -.It Ar src_range |
404 | -.It Ar dst_range |
405 | -These select the communications that should be secured by IPsec. |
406 | -They can be an IPv4/v6 address or an IPv4/v6 address range, and |
407 | -may be accompanied by a TCP/UDP port specification. |
408 | -This takes the following form: |
409 | -.Bd -literal -offset |
410 | -.Ar address |
411 | -.Ar address/prefixlen |
412 | -.Ar address[port] |
413 | -.Ar address/prefixlen[port] |
414 | -.Ed |
415 | -.Pp |
416 | -.Ar prefixlen |
417 | -and |
418 | -.Ar port |
419 | -must be decimal numbers. |
420 | -The square brackets around |
421 | -.Ar port |
422 | -are really necessary, |
423 | -they are not man page meta-characters. |
424 | -For FQDN resolution, the rules applicable to |
425 | -.Ar src |
426 | -and |
427 | -.Ar dst |
428 | -apply here as well. |
429 | -.\" |
430 | -.Pp |
431 | -.It Ar upperspec |
432 | -Upper-layer protocol to be used. |
433 | -You can use one of the words in |
434 | -.Pa /etc/protocols |
435 | -as |
436 | -.Ar upperspec , |
437 | -or |
438 | -.Li icmp6 , |
439 | -.Li ip4 , |
440 | -.Li gre , |
441 | -or |
442 | -.Li any . |
443 | -.Li any |
444 | -stands for |
445 | -.Dq any protocol . |
446 | -You can also use the protocol number. |
447 | -Additional specification can be placed after the protocol name for |
448 | -some protocols. |
449 | -You can specify a type and/or a code of ICMP or ICMPv6. |
450 | -The type is separated from a code by single comma and the code must |
451 | -always be specified. |
452 | -GRE key can be specified in dotted-quad format or as plain number. |
453 | -When a zero is specified, the kernel deals with it as a wildcard. |
454 | -Note that the kernel can not distinguish a wildcard from an ICPMv6 |
455 | -type of zero. |
456 | -.Pp |
457 | -For example, the following means that the policy doesn't require IPsec |
458 | -for any inbound Neighbor Solicitation. |
459 | -.Dl spdadd ::/0 ::/0 icmp6 135,0 -P in none ; |
460 | -.Pp |
461 | -A second example of requiring transport mode encryption of specific |
462 | -GRE tunnel: |
463 | -.Dl spdadd 0.0.0.0 0.0.0.0 gre 1234 ipsec esp/transport//require ; |
464 | -.Pp |
465 | -.Em Note : |
466 | -.Ar upperspec |
467 | -does not work against forwarding case at this moment, |
468 | -as it requires extra reassembly at the forwarding node |
469 | -.Pq not implemented at this moment . |
470 | -There are many protocols in |
471 | -.Pa /etc/protocols , |
472 | -but all protocols except of TCP, UDP, GRE, and ICMP may not be suitable |
473 | -to use with IPsec. |
474 | -You have to consider carefully what to use. |
475 | -.\" |
476 | -.Pp |
477 | -.It Ar label |
478 | -.Ar label |
479 | -is the access control label for the policy. |
480 | -This label is interpreted by the LSM (e.g., SELinux). |
481 | -Ultimately, it enables MAC on network communications. |
482 | -When a policy contains an access control label, SAs |
483 | -negotiated with this policy will contain the label. |
484 | -Its format: |
485 | -.Bl -tag -width Fl -compact |
486 | -.\" |
487 | -.It Fl ctx Ar doi Ar algorithm Ar context-name |
488 | -.Bl -tag -width Fl -compact |
489 | -.It Ar doi |
490 | -The domain of interpretation, which is used by the |
491 | -IKE daemon to identify the domain in which negotiation takes place. |
492 | -.It Ar algorithm |
493 | -Indicates the LSM for which the label is generated (e.g., SELinux). |
494 | -.It Ar context-name |
495 | -The string representation of the label that is interpreted by the LSM. |
496 | -.El |
497 | -.El |
498 | -.\" |
499 | -.Pp |
500 | -.It Ar policy |
501 | -.Ar policy |
502 | -is in one of the following three formats: |
503 | -.Bl -item -compact |
504 | -.It |
505 | -.Fl P Ar direction [priority specification] Li discard |
506 | -.It |
507 | -.Fl P Ar direction [priority specification] Li none |
508 | -.It |
509 | -.Fl P Ar direction [priority specification] Li ipsec |
510 | -.Ar protocol/mode/src-dst/level Op ... |
511 | -.El |
512 | -.Pp |
513 | -You must specify the direction of its policy as |
514 | -.Ar direction . |
515 | -Either |
516 | -.Ar out , |
517 | -.Ar in , |
518 | -or |
519 | -.Ar fwd |
520 | -can be used. |
521 | -.Pp |
522 | -.Ar priority specification |
523 | -is used to control the placement of the policy within the SPD. |
524 | -Policy position is determined by |
525 | -a signed integer where higher priorities indicate the policy is placed |
526 | -closer to the beginning of the list and lower priorities indicate the |
527 | -policy is placed closer to the end of the list. |
528 | -Policies with equal priorities are added at the end of groups |
529 | -of such policies. |
530 | -.Pp |
531 | -Priority can only |
532 | -be specified when setkey has been compiled against kernel headers that |
533 | -support policy priorities (Linux \*[Gt]= 2.6.6). |
534 | -If the kernel does not support priorities, a warning message will |
535 | -be printed the first time a priority specification is used. |
536 | -Policy priority takes one of the following formats: |
537 | -.Bl -tag -width "discard" |
538 | -.It Ar {priority,prio} offset |
539 | -.Ar offset |
540 | -is an integer in the range from \-2147483647 to 214783648. |
541 | -.It Ar {priority,prio} base {+,\-} offset |
542 | -.Ar base |
543 | -is either |
544 | -.Li low (\-1073741824) , |
545 | -.Li def (0) , |
546 | -or |
547 | -.Li high (1073741824) |
548 | -.Pp |
549 | -.Ar offset |
550 | -is an unsigned integer. |
551 | -It can be up to 1073741824 for |
552 | -positive offsets, and up to 1073741823 for negative offsets. |
553 | -.El |
554 | -.Pp |
555 | -.Li discard |
556 | -means the packet matching indexes will be discarded. |
557 | -.Li none |
558 | -means that IPsec operation will not take place onto the packet. |
559 | -.Li ipsec |
560 | -means that IPsec operation will take place onto the packet. |
561 | -.Pp |
562 | -The |
563 | -.Ar protocol/mode/src-dst/level |
564 | -part specifies the rule how to process the packet. |
565 | -Either |
566 | -.Li ah , |
567 | -.Li esp , |
568 | -or |
569 | -.Li ipcomp |
570 | -must be used as |
571 | -.Ar protocol . |
572 | -.Ar mode |
573 | -is either |
574 | -.Li transport |
575 | -or |
576 | -.Li tunnel . |
577 | -If |
578 | -.Ar mode |
579 | -is |
580 | -.Li tunnel , |
581 | -you must specify the end-point addresses of the SA as |
582 | -.Ar src |
583 | -and |
584 | -.Ar dst |
585 | -with |
586 | -.Sq - |
587 | -between these addresses, which is used to specify the SA to use. |
588 | -If |
589 | -.Ar mode |
590 | -is |
591 | -.Li transport , |
592 | -both |
593 | -.Ar src |
594 | -and |
595 | -.Ar dst |
596 | -can be omitted. |
597 | -.Ar level |
598 | -is to be one of the following: |
599 | -.Li default , use , require , |
600 | -or |
601 | -.Li unique . |
602 | -If the SA is not available in every level, the kernel will |
603 | -ask the key exchange daemon to establish a suitable SA. |
604 | -.Li default |
605 | -means the kernel consults the system wide default for the protocol |
606 | -you specified, e.g. the |
607 | -.Li esp_trans_deflev |
608 | -sysctl variable, when the kernel processes the packet. |
609 | -.Li use |
610 | -means that the kernel uses an SA if it's available, |
611 | -otherwise the kernel keeps normal operation. |
612 | -.Li require |
613 | -means SA is required whenever the kernel sends a packet matched |
614 | -with the policy. |
615 | -.Li unique |
616 | -is the same as |
617 | -.Li require ; |
618 | -in addition, it allows the policy to match the unique out-bound SA. |
619 | -You just specify the policy level |
620 | -.Li unique , |
621 | -.Xr racoon 8 |
622 | -will configure the SA for the policy. |
623 | -If you configure the SA by manual keying for that policy, |
624 | -you can put a decimal number as the policy identifier after |
625 | -.Li unique |
626 | -separated by a colon |
627 | -.Sq \&: |
628 | -like: |
629 | -.Li unique:number |
630 | -in order to bind this policy to the SA. |
631 | -.Li number |
632 | -must be between 1 and 32767. |
633 | -It corresponds to |
634 | -.Ar extensions Fl u |
635 | -of the manual SA configuration. |
636 | -When you want to use SA bundle, you can define multiple rules. |
637 | -For example, if an IP header was followed by an AH header followed |
638 | -by an ESP header followed by an upper layer protocol header, the |
639 | -rule would be: |
640 | -.Dl esp/transport//require ah/transport//require ; |
641 | -The rule order is very important. |
642 | -.Pp |
643 | -When NAT-T is enabled in the kernel, policy matching for ESP over |
644 | -UDP packets may be done on endpoint addresses and port |
645 | -(this depends on the system. |
646 | -System that do not perform the port check cannot support |
647 | -multiple endpoints behind the same NAT). |
648 | -When using ESP over UDP, you can specify port numbers in the endpoint |
649 | -addresses to get the correct matching. |
650 | -Here is an example: |
651 | -.Bd -literal -offset |
652 | -spdadd 10.0.11.0/24[any] 10.0.11.33/32[any] any \-P out ipsec |
653 | - esp/tunnel/192.168.0.1[4500]-192.168.1.2[30000]/require ; |
654 | - |
655 | -.Ed |
656 | -These ports must be left unspecified (which defaults to 0) for |
657 | -anything other than ESP over UDP. |
658 | -They can be displayed in SPD dump using |
659 | -.Nm |
660 | -.Fl DPp . |
661 | -.Pp |
662 | -Note that |
663 | -.Dq Li discard |
664 | -and |
665 | -.Dq Li none |
666 | -are not in the syntax described in |
667 | -.Xr ipsec_set_policy 3 . |
668 | -There are a few differences in the syntax. |
669 | -See |
670 | -.Xr ipsec_set_policy 3 |
671 | -for detail. |
672 | -.El |
673 | -.\" |
674 | -.Ss Algorithms |
675 | -The following list shows the supported algorithms. |
676 | -.Sy protocol |
677 | -and |
678 | -.Sy algorithm |
679 | -are almost orthogonal. |
680 | -These authentication algorithms can be used as |
681 | -.Ar aalgo |
682 | -in |
683 | -.Fl A Ar aalgo |
684 | -of the |
685 | -.Ar protocol |
686 | -parameter: |
687 | -.Pp |
688 | -.Bd -literal -offset indent |
689 | -algorithm keylen (bits) |
690 | -hmac-md5 128 ah: rfc2403 |
691 | - 128 ah-old: rfc2085 |
692 | -hmac-sha1 160 ah: rfc2404 |
693 | - 160 ah-old: 128bit ICV (no document) |
694 | -keyed-md5 128 ah: 96bit ICV (no document) |
695 | - 128 ah-old: rfc1828 |
696 | -keyed-sha1 160 ah: 96bit ICV (no document) |
697 | - 160 ah-old: 128bit ICV (no document) |
698 | -null 0 to 2048 for debugging |
699 | -hmac-sha256 256 ah: 96bit ICV |
700 | - (draft-ietf-ipsec-ciph-sha-256-00) |
701 | - 256 ah-old: 128bit ICV (no document) |
702 | -hmac-sha384 384 ah: 96bit ICV (no document) |
703 | - 384 ah-old: 128bit ICV (no document) |
704 | -hmac-sha512 512 ah: 96bit ICV (no document) |
705 | - 512 ah-old: 128bit ICV (no document) |
706 | -hmac-ripemd160 160 ah: 96bit ICV (RFC2857) |
707 | - ah-old: 128bit ICV (no document) |
708 | -aes-xcbc-mac 128 ah: 96bit ICV (RFC3566) |
709 | - 128 ah-old: 128bit ICV (no document) |
710 | -tcp-md5 8 to 640 tcp: rfc2385 |
711 | -.Ed |
712 | -.Pp |
713 | -These encryption algorithms can be used as |
714 | -.Ar ealgo |
715 | -in |
716 | -.Fl E Ar ealgo |
717 | -of the |
718 | -.Ar protocol |
719 | -parameter: |
720 | -.Pp |
721 | -.Bd -literal -offset indent |
722 | -algorithm keylen (bits) |
723 | -des-cbc 64 esp-old: rfc1829, esp: rfc2405 |
724 | -3des-cbc 192 rfc2451 |
725 | -null 0 to 2048 rfc2410 |
726 | -blowfish-cbc 40 to 448 rfc2451 |
727 | -cast128-cbc 40 to 128 rfc2451 |
728 | -des-deriv 64 ipsec-ciph-des-derived-01 |
729 | -3des-deriv 192 no document |
730 | -rijndael-cbc 128/192/256 rfc3602 |
731 | -twofish-cbc 0 to 256 draft-ietf-ipsec-ciph-aes-cbc-01 |
732 | -aes-ctr 160/224/288 draft-ietf-ipsec-ciph-aes-ctr-03 |
733 | -camellia-cbc 128/192/256 rfc4312 |
734 | -.Ed |
735 | -.Pp |
736 | -Note that the first 128 bits of a key for |
737 | -.Li aes-ctr |
738 | -will be used as AES key, and the remaining 32 bits will be used as nonce. |
739 | -.Pp |
740 | -These compression algorithms can be used as |
741 | -.Ar calgo |
742 | -in |
743 | -.Fl C Ar calgo |
744 | -of the |
745 | -.Ar protocol |
746 | -parameter: |
747 | -.Pp |
748 | -.Bd -literal -offset indent |
749 | -algorithm |
750 | -deflate rfc2394 |
751 | -.Ed |
752 | -.\" |
753 | -.Ss RFC vs Linux kernel semantics |
754 | -The Linux kernel uses the |
755 | -.Ar fwd |
756 | -policy instead of the |
757 | -.Ar in |
758 | -policy for packets what are forwarded through that particular box. |
759 | -.Pp |
760 | -In |
761 | -.Ar kernel |
762 | -mode, |
763 | -.Nm |
764 | -manages and shows policies and SAs exactly as they are stored in the kernel. |
765 | -.Pp |
766 | -In |
767 | -.Ar RFC |
768 | -mode, |
769 | -.Nm |
770 | -.Bl -item |
771 | -.It |
772 | -creates |
773 | -.Ar fwd |
774 | -policies for every |
775 | -.Ar in |
776 | -policy inserted |
777 | -.It |
778 | -(not implemented yet) filters out all |
779 | -.Ar fwd |
780 | -policies |
781 | -.El |
782 | -.Sh RETURN VALUES |
783 | -The command exits with 0 on success, and non-zero on errors. |
784 | -.\" |
785 | -.Sh EXAMPLES |
786 | -.Bd -literal -offset |
787 | -add 3ffe:501:4819::1 3ffe:501:481d::1 esp 123457 |
788 | - \-E des-cbc 0x3ffe05014819ffff ; |
789 | - |
790 | -add \-6 myhost.example.com yourhost.example.com ah 123456 |
791 | - \-A hmac-sha1 "AH SA configuration!" ; |
792 | - |
793 | -add 10.0.11.41 10.0.11.33 esp 0x10001 |
794 | - \-E des-cbc 0x3ffe05014819ffff |
795 | - \-A hmac-md5 "authentication!!" ; |
796 | - |
797 | -get 3ffe:501:4819::1 3ffe:501:481d::1 ah 123456 ; |
798 | - |
799 | -flush ; |
800 | - |
801 | -dump esp ; |
802 | - |
803 | -spdadd 10.0.11.41/32[21] 10.0.11.33/32[any] any |
804 | - \-P out ipsec esp/tunnel/192.168.0.1-192.168.1.2/require ; |
805 | - |
806 | -add 10.1.10.34 10.1.10.36 tcp 0x1000 \-A tcp-md5 "TCP-MD5 BGP secret" ; |
807 | - |
808 | -add 10.0.11.41 10.0.11.33 esp 0x10001 |
809 | - \-ctx 1 1 "system_u:system_r:unconfined_t:SystemLow-SystemHigh" |
810 | - \-E des-cbc 0x3ffe05014819ffff; |
811 | - |
812 | -spdadd 10.0.11.41 10.0.11.33 any |
813 | - \-ctx 1 1 "system_u:system_r:unconfined_t:SystemLow-SystemHigh" |
814 | - \-P out ipsec esp/transport//require ; |
815 | -.Ed |
816 | -.\" |
817 | -.Sh SEE ALSO |
818 | -.Xr ipsec_set_policy 3 , |
819 | -.Xr racoon 8 , |
820 | -.Xr sysctl 8 |
821 | -.Rs |
822 | -.%T "Changed manual key configuration for IPsec" |
823 | -.%U "http://www.kame.net/newsletter/19991007/" |
824 | -.%D "October 1999" |
825 | -.Re |
826 | -.\" |
827 | -.Sh HISTORY |
828 | -The |
829 | -.Nm |
830 | -command first appeared in the WIDE Hydrangea IPv6 protocol stack |
831 | -kit. |
832 | -The command was completely re-designed in June 1998. |
833 | -.\" |
834 | -.Sh BUGS |
835 | -.Nm |
836 | -should report and handle syntax errors better. |
837 | -.Pp |
838 | -For IPsec gateway configuration, |
839 | -.Ar src_range |
840 | -and |
841 | -.Ar dst_range |
842 | -with TCP/UDP port numbers does not work, as the gateway does not |
843 | -reassemble packets |
844 | -.Pq it cannot inspect upper-layer headers . |
845 | |
846 | === removed directory '.pc/FTBFS2_kfreebsd.patch' |
847 | === removed file '.pc/FTBFS2_kfreebsd.patch/configure' |
848 | --- .pc/FTBFS2_kfreebsd.patch/configure 2011-03-25 12:29:19 +0000 |
849 | +++ .pc/FTBFS2_kfreebsd.patch/configure 1970-01-01 00:00:00 +0000 |
850 | @@ -1,17000 +0,0 @@ |
851 | -#! /bin/sh |
852 | -# Guess values for system-dependent variables and create Makefiles. |
853 | -# Generated by GNU Autoconf 2.67 for ipsec-tools 0.8.0. |
854 | -# |
855 | -# |
856 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
857 | -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
858 | -# Foundation, Inc. |
859 | -# |
860 | -# |
861 | -# This configure script is free software; the Free Software Foundation |
862 | -# gives unlimited permission to copy, distribute and modify it. |
863 | -## -------------------- ## |
864 | -## M4sh Initialization. ## |
865 | -## -------------------- ## |
866 | - |
867 | -# Be more Bourne compatible |
868 | -DUALCASE=1; export DUALCASE # for MKS sh |
869 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
870 | - emulate sh |
871 | - NULLCMD=: |
872 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
873 | - # is contrary to our usage. Disable this feature. |
874 | - alias -g '${1+"$@"}'='"$@"' |
875 | - setopt NO_GLOB_SUBST |
876 | -else |
877 | - case `(set -o) 2>/dev/null` in #( |
878 | - *posix*) : |
879 | - set -o posix ;; #( |
880 | - *) : |
881 | - ;; |
882 | -esac |
883 | -fi |
884 | - |
885 | - |
886 | -as_nl=' |
887 | -' |
888 | -export as_nl |
889 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. |
890 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
891 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
892 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
893 | -# Prefer a ksh shell builtin over an external printf program on Solaris, |
894 | -# but without wasting forks for bash or zsh. |
895 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ |
896 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
897 | - as_echo='print -r --' |
898 | - as_echo_n='print -rn --' |
899 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
900 | - as_echo='printf %s\n' |
901 | - as_echo_n='printf %s' |
902 | -else |
903 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
904 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
905 | - as_echo_n='/usr/ucb/echo -n' |
906 | - else |
907 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
908 | - as_echo_n_body='eval |
909 | - arg=$1; |
910 | - case $arg in #( |
911 | - *"$as_nl"*) |
912 | - expr "X$arg" : "X\\(.*\\)$as_nl"; |
913 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
914 | - esac; |
915 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
916 | - ' |
917 | - export as_echo_n_body |
918 | - as_echo_n='sh -c $as_echo_n_body as_echo' |
919 | - fi |
920 | - export as_echo_body |
921 | - as_echo='sh -c $as_echo_body as_echo' |
922 | -fi |
923 | - |
924 | -# The user is always right. |
925 | -if test "${PATH_SEPARATOR+set}" != set; then |
926 | - PATH_SEPARATOR=: |
927 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
928 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
929 | - PATH_SEPARATOR=';' |
930 | - } |
931 | -fi |
932 | - |
933 | - |
934 | -# IFS |
935 | -# We need space, tab and new line, in precisely that order. Quoting is |
936 | -# there to prevent editors from complaining about space-tab. |
937 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
938 | -# splitting by setting IFS to empty value.) |
939 | -IFS=" "" $as_nl" |
940 | - |
941 | -# Find who we are. Look in the path if we contain no directory separator. |
942 | -case $0 in #(( |
943 | - *[\\/]* ) as_myself=$0 ;; |
944 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
945 | -for as_dir in $PATH |
946 | -do |
947 | - IFS=$as_save_IFS |
948 | - test -z "$as_dir" && as_dir=. |
949 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
950 | - done |
951 | -IFS=$as_save_IFS |
952 | - |
953 | - ;; |
954 | -esac |
955 | -# We did not find ourselves, most probably we were run as `sh COMMAND' |
956 | -# in which case we are not to be found in the path. |
957 | -if test "x$as_myself" = x; then |
958 | - as_myself=$0 |
959 | -fi |
960 | -if test ! -f "$as_myself"; then |
961 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
962 | - exit 1 |
963 | -fi |
964 | - |
965 | -# Unset variables that we do not need and which cause bugs (e.g. in |
966 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
967 | -# suppresses any "Segmentation fault" message there. '((' could |
968 | -# trigger a bug in pdksh 5.2.14. |
969 | -for as_var in BASH_ENV ENV MAIL MAILPATH |
970 | -do eval test x\${$as_var+set} = xset \ |
971 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
972 | -done |
973 | -PS1='$ ' |
974 | -PS2='> ' |
975 | -PS4='+ ' |
976 | - |
977 | -# NLS nuisances. |
978 | -LC_ALL=C |
979 | -export LC_ALL |
980 | -LANGUAGE=C |
981 | -export LANGUAGE |
982 | - |
983 | -# CDPATH. |
984 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
985 | - |
986 | -if test "x$CONFIG_SHELL" = x; then |
987 | - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
988 | - emulate sh |
989 | - NULLCMD=: |
990 | - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
991 | - # is contrary to our usage. Disable this feature. |
992 | - alias -g '\${1+\"\$@\"}'='\"\$@\"' |
993 | - setopt NO_GLOB_SUBST |
994 | -else |
995 | - case \`(set -o) 2>/dev/null\` in #( |
996 | - *posix*) : |
997 | - set -o posix ;; #( |
998 | - *) : |
999 | - ;; |
1000 | -esac |
1001 | -fi |
1002 | -" |
1003 | - as_required="as_fn_return () { (exit \$1); } |
1004 | -as_fn_success () { as_fn_return 0; } |
1005 | -as_fn_failure () { as_fn_return 1; } |
1006 | -as_fn_ret_success () { return 0; } |
1007 | -as_fn_ret_failure () { return 1; } |
1008 | - |
1009 | -exitcode=0 |
1010 | -as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
1011 | -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
1012 | -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
1013 | -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
1014 | -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
1015 | - |
1016 | -else |
1017 | - exitcode=1; echo positional parameters were not saved. |
1018 | -fi |
1019 | -test x\$exitcode = x0 || exit 1" |
1020 | - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
1021 | - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
1022 | - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
1023 | - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
1024 | -test \$(( 1 + 1 )) = 2 || exit 1" |
1025 | - if (eval "$as_required") 2>/dev/null; then : |
1026 | - as_have_required=yes |
1027 | -else |
1028 | - as_have_required=no |
1029 | -fi |
1030 | - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
1031 | - |
1032 | -else |
1033 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1034 | -as_found=false |
1035 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
1036 | -do |
1037 | - IFS=$as_save_IFS |
1038 | - test -z "$as_dir" && as_dir=. |
1039 | - as_found=: |
1040 | - case $as_dir in #( |
1041 | - /*) |
1042 | - for as_base in sh bash ksh sh5; do |
1043 | - # Try only shells that exist, to save several forks. |
1044 | - as_shell=$as_dir/$as_base |
1045 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
1046 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
1047 | - CONFIG_SHELL=$as_shell as_have_required=yes |
1048 | - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
1049 | - break 2 |
1050 | -fi |
1051 | -fi |
1052 | - done;; |
1053 | - esac |
1054 | - as_found=false |
1055 | -done |
1056 | -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
1057 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
1058 | - CONFIG_SHELL=$SHELL as_have_required=yes |
1059 | -fi; } |
1060 | -IFS=$as_save_IFS |
1061 | - |
1062 | - |
1063 | - if test "x$CONFIG_SHELL" != x; then : |
1064 | - # We cannot yet assume a decent shell, so we have to provide a |
1065 | - # neutralization value for shells without unset; and this also |
1066 | - # works around shells that cannot unset nonexistent variables. |
1067 | - BASH_ENV=/dev/null |
1068 | - ENV=/dev/null |
1069 | - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
1070 | - export CONFIG_SHELL |
1071 | - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
1072 | -fi |
1073 | - |
1074 | - if test x$as_have_required = xno; then : |
1075 | - $as_echo "$0: This script requires a shell more modern than all" |
1076 | - $as_echo "$0: the shells that I found on your system." |
1077 | - if test x${ZSH_VERSION+set} = xset ; then |
1078 | - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
1079 | - $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
1080 | - else |
1081 | - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
1082 | -$0: including any error possibly output before this |
1083 | -$0: message. Then install a modern shell, or manually run |
1084 | -$0: the script under such a shell if you do have one." |
1085 | - fi |
1086 | - exit 1 |
1087 | -fi |
1088 | -fi |
1089 | -fi |
1090 | -SHELL=${CONFIG_SHELL-/bin/sh} |
1091 | -export SHELL |
1092 | -# Unset more variables known to interfere with behavior of common tools. |
1093 | -CLICOLOR_FORCE= GREP_OPTIONS= |
1094 | -unset CLICOLOR_FORCE GREP_OPTIONS |
1095 | - |
1096 | -## --------------------- ## |
1097 | -## M4sh Shell Functions. ## |
1098 | -## --------------------- ## |
1099 | -# as_fn_unset VAR |
1100 | -# --------------- |
1101 | -# Portably unset VAR. |
1102 | -as_fn_unset () |
1103 | -{ |
1104 | - { eval $1=; unset $1;} |
1105 | -} |
1106 | -as_unset=as_fn_unset |
1107 | - |
1108 | -# as_fn_set_status STATUS |
1109 | -# ----------------------- |
1110 | -# Set $? to STATUS, without forking. |
1111 | -as_fn_set_status () |
1112 | -{ |
1113 | - return $1 |
1114 | -} # as_fn_set_status |
1115 | - |
1116 | -# as_fn_exit STATUS |
1117 | -# ----------------- |
1118 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
1119 | -as_fn_exit () |
1120 | -{ |
1121 | - set +e |
1122 | - as_fn_set_status $1 |
1123 | - exit $1 |
1124 | -} # as_fn_exit |
1125 | - |
1126 | -# as_fn_mkdir_p |
1127 | -# ------------- |
1128 | -# Create "$as_dir" as a directory, including parents if necessary. |
1129 | -as_fn_mkdir_p () |
1130 | -{ |
1131 | - |
1132 | - case $as_dir in #( |
1133 | - -*) as_dir=./$as_dir;; |
1134 | - esac |
1135 | - test -d "$as_dir" || eval $as_mkdir_p || { |
1136 | - as_dirs= |
1137 | - while :; do |
1138 | - case $as_dir in #( |
1139 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
1140 | - *) as_qdir=$as_dir;; |
1141 | - esac |
1142 | - as_dirs="'$as_qdir' $as_dirs" |
1143 | - as_dir=`$as_dirname -- "$as_dir" || |
1144 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1145 | - X"$as_dir" : 'X\(//\)[^/]' \| \ |
1146 | - X"$as_dir" : 'X\(//\)$' \| \ |
1147 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
1148 | -$as_echo X"$as_dir" | |
1149 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1150 | - s//\1/ |
1151 | - q |
1152 | - } |
1153 | - /^X\(\/\/\)[^/].*/{ |
1154 | - s//\1/ |
1155 | - q |
1156 | - } |
1157 | - /^X\(\/\/\)$/{ |
1158 | - s//\1/ |
1159 | - q |
1160 | - } |
1161 | - /^X\(\/\).*/{ |
1162 | - s//\1/ |
1163 | - q |
1164 | - } |
1165 | - s/.*/./; q'` |
1166 | - test -d "$as_dir" && break |
1167 | - done |
1168 | - test -z "$as_dirs" || eval "mkdir $as_dirs" |
1169 | - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
1170 | - |
1171 | - |
1172 | -} # as_fn_mkdir_p |
1173 | -# as_fn_append VAR VALUE |
1174 | -# ---------------------- |
1175 | -# Append the text in VALUE to the end of the definition contained in VAR. Take |
1176 | -# advantage of any shell optimizations that allow amortized linear growth over |
1177 | -# repeated appends, instead of the typical quadratic growth present in naive |
1178 | -# implementations. |
1179 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
1180 | - eval 'as_fn_append () |
1181 | - { |
1182 | - eval $1+=\$2 |
1183 | - }' |
1184 | -else |
1185 | - as_fn_append () |
1186 | - { |
1187 | - eval $1=\$$1\$2 |
1188 | - } |
1189 | -fi # as_fn_append |
1190 | - |
1191 | -# as_fn_arith ARG... |
1192 | -# ------------------ |
1193 | -# Perform arithmetic evaluation on the ARGs, and store the result in the |
1194 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments |
1195 | -# must be portable across $(()) and expr. |
1196 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
1197 | - eval 'as_fn_arith () |
1198 | - { |
1199 | - as_val=$(( $* )) |
1200 | - }' |
1201 | -else |
1202 | - as_fn_arith () |
1203 | - { |
1204 | - as_val=`expr "$@" || test $? -eq 1` |
1205 | - } |
1206 | -fi # as_fn_arith |
1207 | - |
1208 | - |
1209 | -# as_fn_error STATUS ERROR [LINENO LOG_FD] |
1210 | -# ---------------------------------------- |
1211 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
1212 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
1213 | -# script with STATUS, using 1 if that was 0. |
1214 | -as_fn_error () |
1215 | -{ |
1216 | - as_status=$1; test $as_status -eq 0 && as_status=1 |
1217 | - if test "$4"; then |
1218 | - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1219 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
1220 | - fi |
1221 | - $as_echo "$as_me: error: $2" >&2 |
1222 | - as_fn_exit $as_status |
1223 | -} # as_fn_error |
1224 | - |
1225 | -if expr a : '\(a\)' >/dev/null 2>&1 && |
1226 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then |
1227 | - as_expr=expr |
1228 | -else |
1229 | - as_expr=false |
1230 | -fi |
1231 | - |
1232 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
1233 | - as_basename=basename |
1234 | -else |
1235 | - as_basename=false |
1236 | -fi |
1237 | - |
1238 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
1239 | - as_dirname=dirname |
1240 | -else |
1241 | - as_dirname=false |
1242 | -fi |
1243 | - |
1244 | -as_me=`$as_basename -- "$0" || |
1245 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
1246 | - X"$0" : 'X\(//\)$' \| \ |
1247 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1248 | -$as_echo X/"$0" | |
1249 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ |
1250 | - s//\1/ |
1251 | - q |
1252 | - } |
1253 | - /^X\/\(\/\/\)$/{ |
1254 | - s//\1/ |
1255 | - q |
1256 | - } |
1257 | - /^X\/\(\/\).*/{ |
1258 | - s//\1/ |
1259 | - q |
1260 | - } |
1261 | - s/.*/./; q'` |
1262 | - |
1263 | -# Avoid depending upon Character Ranges. |
1264 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
1265 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
1266 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
1267 | -as_cr_digits='0123456789' |
1268 | -as_cr_alnum=$as_cr_Letters$as_cr_digits |
1269 | - |
1270 | - |
1271 | - as_lineno_1=$LINENO as_lineno_1a=$LINENO |
1272 | - as_lineno_2=$LINENO as_lineno_2a=$LINENO |
1273 | - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
1274 | - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
1275 | - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
1276 | - sed -n ' |
1277 | - p |
1278 | - /[$]LINENO/= |
1279 | - ' <$as_myself | |
1280 | - sed ' |
1281 | - s/[$]LINENO.*/&-/ |
1282 | - t lineno |
1283 | - b |
1284 | - :lineno |
1285 | - N |
1286 | - :loop |
1287 | - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
1288 | - t loop |
1289 | - s/-\n.*// |
1290 | - ' >$as_me.lineno && |
1291 | - chmod +x "$as_me.lineno" || |
1292 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
1293 | - |
1294 | - # Don't try to exec as it changes $[0], causing all sort of problems |
1295 | - # (the dirname of $[0] is not the place where we might find the |
1296 | - # original and so on. Autoconf is especially sensitive to this). |
1297 | - . "./$as_me.lineno" |
1298 | - # Exit status is that of the last command. |
1299 | - exit |
1300 | -} |
1301 | - |
1302 | -ECHO_C= ECHO_N= ECHO_T= |
1303 | -case `echo -n x` in #((((( |
1304 | --n*) |
1305 | - case `echo 'xy\c'` in |
1306 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
1307 | - xy) ECHO_C='\c';; |
1308 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
1309 | - ECHO_T=' ';; |
1310 | - esac;; |
1311 | -*) |
1312 | - ECHO_N='-n';; |
1313 | -esac |
1314 | - |
1315 | -rm -f conf$$ conf$$.exe conf$$.file |
1316 | -if test -d conf$$.dir; then |
1317 | - rm -f conf$$.dir/conf$$.file |
1318 | -else |
1319 | - rm -f conf$$.dir |
1320 | - mkdir conf$$.dir 2>/dev/null |
1321 | -fi |
1322 | -if (echo >conf$$.file) 2>/dev/null; then |
1323 | - if ln -s conf$$.file conf$$ 2>/dev/null; then |
1324 | - as_ln_s='ln -s' |
1325 | - # ... but there are two gotchas: |
1326 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
1327 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
1328 | - # In both cases, we have to default to `cp -p'. |
1329 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
1330 | - as_ln_s='cp -p' |
1331 | - elif ln conf$$.file conf$$ 2>/dev/null; then |
1332 | - as_ln_s=ln |
1333 | - else |
1334 | - as_ln_s='cp -p' |
1335 | - fi |
1336 | -else |
1337 | - as_ln_s='cp -p' |
1338 | -fi |
1339 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
1340 | -rmdir conf$$.dir 2>/dev/null |
1341 | - |
1342 | -if mkdir -p . 2>/dev/null; then |
1343 | - as_mkdir_p='mkdir -p "$as_dir"' |
1344 | -else |
1345 | - test -d ./-p && rmdir ./-p |
1346 | - as_mkdir_p=false |
1347 | -fi |
1348 | - |
1349 | -if test -x / >/dev/null 2>&1; then |
1350 | - as_test_x='test -x' |
1351 | -else |
1352 | - if ls -dL / >/dev/null 2>&1; then |
1353 | - as_ls_L_option=L |
1354 | - else |
1355 | - as_ls_L_option= |
1356 | - fi |
1357 | - as_test_x=' |
1358 | - eval sh -c '\'' |
1359 | - if test -d "$1"; then |
1360 | - test -d "$1/."; |
1361 | - else |
1362 | - case $1 in #( |
1363 | - -*)set "./$1";; |
1364 | - esac; |
1365 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
1366 | - ???[sx]*):;;*)false;;esac;fi |
1367 | - '\'' sh |
1368 | - ' |
1369 | -fi |
1370 | -as_executable_p=$as_test_x |
1371 | - |
1372 | -# Sed expression to map a string onto a valid CPP name. |
1373 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
1374 | - |
1375 | -# Sed expression to map a string onto a valid variable name. |
1376 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
1377 | - |
1378 | - |
1379 | - |
1380 | -# Check that we are running under the correct shell. |
1381 | -SHELL=${CONFIG_SHELL-/bin/sh} |
1382 | - |
1383 | -case X$lt_ECHO in |
1384 | -X*--fallback-echo) |
1385 | - # Remove one level of quotation (which was required for Make). |
1386 | - ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','` |
1387 | - ;; |
1388 | -esac |
1389 | - |
1390 | -ECHO=${lt_ECHO-echo} |
1391 | -if test "X$1" = X--no-reexec; then |
1392 | - # Discard the --no-reexec flag, and continue. |
1393 | - shift |
1394 | -elif test "X$1" = X--fallback-echo; then |
1395 | - # Avoid inline document here, it may be left over |
1396 | - : |
1397 | -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
1398 | - # Yippee, $ECHO works! |
1399 | - : |
1400 | -else |
1401 | - # Restart under the correct shell. |
1402 | - exec $SHELL "$0" --no-reexec ${1+"$@"} |
1403 | -fi |
1404 | - |
1405 | -if test "X$1" = X--fallback-echo; then |
1406 | - # used as fallback echo |
1407 | - shift |
1408 | - cat <<_LT_EOF |
1409 | -$* |
1410 | -_LT_EOF |
1411 | - exit 0 |
1412 | -fi |
1413 | - |
1414 | -# The HP-UX ksh and POSIX shell print the target directory to stdout |
1415 | -# if CDPATH is set. |
1416 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
1417 | - |
1418 | -if test -z "$lt_ECHO"; then |
1419 | - if test "X${echo_test_string+set}" != Xset; then |
1420 | - # find a string as large as possible, as long as the shell can cope with it |
1421 | - for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do |
1422 | - # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
1423 | - if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
1424 | - { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
1425 | - then |
1426 | - break |
1427 | - fi |
1428 | - done |
1429 | - fi |
1430 | - |
1431 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
1432 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
1433 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1434 | - : |
1435 | - else |
1436 | - # The Solaris, AIX, and Digital Unix default echo programs unquote |
1437 | - # backslashes. This makes it impossible to quote backslashes using |
1438 | - # echo "$something" | sed 's/\\/\\\\/g' |
1439 | - # |
1440 | - # So, first we look for a working echo in the user's PATH. |
1441 | - |
1442 | - lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
1443 | - for dir in $PATH /usr/ucb; do |
1444 | - IFS="$lt_save_ifs" |
1445 | - if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
1446 | - test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
1447 | - echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
1448 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1449 | - ECHO="$dir/echo" |
1450 | - break |
1451 | - fi |
1452 | - done |
1453 | - IFS="$lt_save_ifs" |
1454 | - |
1455 | - if test "X$ECHO" = Xecho; then |
1456 | - # We didn't find a better echo, so look for alternatives. |
1457 | - if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
1458 | - echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
1459 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1460 | - # This shell has a builtin print -r that does the trick. |
1461 | - ECHO='print -r' |
1462 | - elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
1463 | - test "X$CONFIG_SHELL" != X/bin/ksh; then |
1464 | - # If we have ksh, try running configure again with it. |
1465 | - ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
1466 | - export ORIGINAL_CONFIG_SHELL |
1467 | - CONFIG_SHELL=/bin/ksh |
1468 | - export CONFIG_SHELL |
1469 | - exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} |
1470 | - else |
1471 | - # Try using printf. |
1472 | - ECHO='printf %s\n' |
1473 | - if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
1474 | - echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
1475 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1476 | - # Cool, printf works |
1477 | - : |
1478 | - elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
1479 | - test "X$echo_testing_string" = 'X\t' && |
1480 | - echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
1481 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1482 | - CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
1483 | - export CONFIG_SHELL |
1484 | - SHELL="$CONFIG_SHELL" |
1485 | - export SHELL |
1486 | - ECHO="$CONFIG_SHELL $0 --fallback-echo" |
1487 | - elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && |
1488 | - test "X$echo_testing_string" = 'X\t' && |
1489 | - echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
1490 | - test "X$echo_testing_string" = "X$echo_test_string"; then |
1491 | - ECHO="$CONFIG_SHELL $0 --fallback-echo" |
1492 | - else |
1493 | - # maybe with a smaller string... |
1494 | - prev=: |
1495 | - |
1496 | - for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do |
1497 | - if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
1498 | - then |
1499 | - break |
1500 | - fi |
1501 | - prev="$cmd" |
1502 | - done |
1503 | - |
1504 | - if test "$prev" != 'sed 50q "$0"'; then |
1505 | - echo_test_string=`eval $prev` |
1506 | - export echo_test_string |
1507 | - exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} |
1508 | - else |
1509 | - # Oops. We lost completely, so just stick with echo. |
1510 | - ECHO=echo |
1511 | - fi |
1512 | - fi |
1513 | - fi |
1514 | - fi |
1515 | - fi |
1516 | -fi |
1517 | - |
1518 | -# Copy echo and quote the copy suitably for passing to libtool from |
1519 | -# the Makefile, instead of quoting the original, which is used later. |
1520 | -lt_ECHO=$ECHO |
1521 | -if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then |
1522 | - lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" |
1523 | -fi |
1524 | - |
1525 | - |
1526 | - |
1527 | - |
1528 | -test -n "$DJDIR" || exec 7<&0 </dev/null |
1529 | -exec 6>&1 |
1530 | - |
1531 | -# Name of the host. |
1532 | -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
1533 | -# so uname gets run too. |
1534 | -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
1535 | - |
1536 | -# |
1537 | -# Initializations. |
1538 | -# |
1539 | -ac_default_prefix=/usr/local |
1540 | -ac_clean_files= |
1541 | -ac_config_libobj_dir=. |
1542 | -LIBOBJS= |
1543 | -cross_compiling=no |
1544 | -subdirs= |
1545 | -MFLAGS= |
1546 | -MAKEFLAGS= |
1547 | - |
1548 | -# Identity of this package. |
1549 | -PACKAGE_NAME='ipsec-tools' |
1550 | -PACKAGE_TARNAME='ipsec-tools' |
1551 | -PACKAGE_VERSION='0.8.0' |
1552 | -PACKAGE_STRING='ipsec-tools 0.8.0' |
1553 | -PACKAGE_BUGREPORT='' |
1554 | -PACKAGE_URL='' |
1555 | - |
1556 | -ac_unique_file="configure.ac" |
1557 | -# Factoring default headers for most tests. |
1558 | -ac_includes_default="\ |
1559 | -#include <stdio.h> |
1560 | -#ifdef HAVE_SYS_TYPES_H |
1561 | -# include <sys/types.h> |
1562 | -#endif |
1563 | -#ifdef HAVE_SYS_STAT_H |
1564 | -# include <sys/stat.h> |
1565 | -#endif |
1566 | -#ifdef STDC_HEADERS |
1567 | -# include <stdlib.h> |
1568 | -# include <stddef.h> |
1569 | -#else |
1570 | -# ifdef HAVE_STDLIB_H |
1571 | -# include <stdlib.h> |
1572 | -# endif |
1573 | -#endif |
1574 | -#ifdef HAVE_STRING_H |
1575 | -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
1576 | -# include <memory.h> |
1577 | -# endif |
1578 | -# include <string.h> |
1579 | -#endif |
1580 | -#ifdef HAVE_STRINGS_H |
1581 | -# include <strings.h> |
1582 | -#endif |
1583 | -#ifdef HAVE_INTTYPES_H |
1584 | -# include <inttypes.h> |
1585 | -#endif |
1586 | -#ifdef HAVE_STDINT_H |
1587 | -# include <stdint.h> |
1588 | -#endif |
1589 | -#ifdef HAVE_UNISTD_H |
1590 | -# include <unistd.h> |
1591 | -#endif" |
1592 | - |
1593 | -ac_subst_vars='am__EXEEXT_FALSE |
1594 | -am__EXEEXT_TRUE |
1595 | -LTLIBOBJS |
1596 | -include_racoondir |
1597 | -SECCTX_OBJS |
1598 | -NATT_OBJS |
1599 | -KRB5_CONFIG |
1600 | -FRAG_OBJS |
1601 | -HYBRID_OBJS |
1602 | -EXTRA_CRYPTO |
1603 | -CRYPTOBJS |
1604 | -LIBOBJS |
1605 | -GLIBC_BUGS |
1606 | -KERNEL_INCLUDE |
1607 | -CONFIGURE_AMFLAGS |
1608 | -RPM |
1609 | -INCLUDE_GLIBC |
1610 | -INSTALL_OPTS |
1611 | -LEXLIB |
1612 | -LEX_OUTPUT_ROOT |
1613 | -LEX |
1614 | -YFLAGS |
1615 | -YACC |
1616 | -OTOOL64 |
1617 | -OTOOL |
1618 | -LIPO |
1619 | -NMEDIT |
1620 | -DSYMUTIL |
1621 | -lt_ECHO |
1622 | -RANLIB |
1623 | -AR |
1624 | -OBJDUMP |
1625 | -LN_S |
1626 | -NM |
1627 | -ac_ct_DUMPBIN |
1628 | -DUMPBIN |
1629 | -LD |
1630 | -FGREP |
1631 | -SED |
1632 | -host_os |
1633 | -host_vendor |
1634 | -host_cpu |
1635 | -host |
1636 | -build_os |
1637 | -build_vendor |
1638 | -build_cpu |
1639 | -build |
1640 | -LIBTOOL |
1641 | -EGREP |
1642 | -GREP |
1643 | -CPP |
1644 | -am__fastdepCC_FALSE |
1645 | -am__fastdepCC_TRUE |
1646 | -CCDEPMODE |
1647 | -AMDEPBACKSLASH |
1648 | -AMDEP_FALSE |
1649 | -AMDEP_TRUE |
1650 | -am__quote |
1651 | -am__include |
1652 | -DEPDIR |
1653 | -OBJEXT |
1654 | -EXEEXT |
1655 | -ac_ct_CC |
1656 | -CPPFLAGS |
1657 | -LDFLAGS |
1658 | -CFLAGS |
1659 | -CC |
1660 | -am__untar |
1661 | -am__tar |
1662 | -AMTAR |
1663 | -am__leading_dot |
1664 | -SET_MAKE |
1665 | -AWK |
1666 | -mkdir_p |
1667 | -MKDIR_P |
1668 | -INSTALL_STRIP_PROGRAM |
1669 | -STRIP |
1670 | -install_sh |
1671 | -MAKEINFO |
1672 | -AUTOHEADER |
1673 | -AUTOMAKE |
1674 | -AUTOCONF |
1675 | -ACLOCAL |
1676 | -VERSION |
1677 | -PACKAGE |
1678 | -CYGPATH_W |
1679 | -am__isrc |
1680 | -INSTALL_DATA |
1681 | -INSTALL_SCRIPT |
1682 | -INSTALL_PROGRAM |
1683 | -target_alias |
1684 | -host_alias |
1685 | -build_alias |
1686 | -LIBS |
1687 | -ECHO_T |
1688 | -ECHO_N |
1689 | -ECHO_C |
1690 | -DEFS |
1691 | -mandir |
1692 | -localedir |
1693 | -libdir |
1694 | -psdir |
1695 | -pdfdir |
1696 | -dvidir |
1697 | -htmldir |
1698 | -infodir |
1699 | -docdir |
1700 | -oldincludedir |
1701 | -includedir |
1702 | -localstatedir |
1703 | -sharedstatedir |
1704 | -sysconfdir |
1705 | -datadir |
1706 | -datarootdir |
1707 | -libexecdir |
1708 | -sbindir |
1709 | -bindir |
1710 | -program_transform_name |
1711 | -prefix |
1712 | -exec_prefix |
1713 | -PACKAGE_URL |
1714 | -PACKAGE_BUGREPORT |
1715 | -PACKAGE_STRING |
1716 | -PACKAGE_VERSION |
1717 | -PACKAGE_TARNAME |
1718 | -PACKAGE_NAME |
1719 | -PATH_SEPARATOR |
1720 | -SHELL' |
1721 | -ac_subst_files='' |
1722 | -ac_user_opts=' |
1723 | -enable_option_checking |
1724 | -enable_shared |
1725 | -enable_dependency_tracking |
1726 | -enable_static |
1727 | -with_pic |
1728 | -enable_fast_install |
1729 | -with_gnu_ld |
1730 | -enable_libtool_lock |
1731 | -with_kernel_headers |
1732 | -with_readline |
1733 | -with_flexdir |
1734 | -with_flexlib |
1735 | -with_openssl |
1736 | -enable_adminport |
1737 | -enable_rc5 |
1738 | -enable_idea |
1739 | -with_libiconv |
1740 | -enable_hybrid |
1741 | -enable_frag |
1742 | -with_libradius |
1743 | -with_libpam |
1744 | -with_libldap |
1745 | -enable_gssapi |
1746 | -enable_stats |
1747 | -enable_dpd |
1748 | -enable_samode_unspec |
1749 | -enable_ipv6 |
1750 | -enable_natt |
1751 | -enable_natt_versions |
1752 | -enable_broken_natt |
1753 | -enable_security_context |
1754 | -' |
1755 | - ac_precious_vars='build_alias |
1756 | -host_alias |
1757 | -target_alias |
1758 | -CC |
1759 | -CFLAGS |
1760 | -LDFLAGS |
1761 | -LIBS |
1762 | -CPPFLAGS |
1763 | -CPP |
1764 | -YACC |
1765 | -YFLAGS' |
1766 | - |
1767 | - |
1768 | -# Initialize some variables set by options. |
1769 | -ac_init_help= |
1770 | -ac_init_version=false |
1771 | -ac_unrecognized_opts= |
1772 | -ac_unrecognized_sep= |
1773 | -# The variables have the same names as the options, with |
1774 | -# dashes changed to underlines. |
1775 | -cache_file=/dev/null |
1776 | -exec_prefix=NONE |
1777 | -no_create= |
1778 | -no_recursion= |
1779 | -prefix=NONE |
1780 | -program_prefix=NONE |
1781 | -program_suffix=NONE |
1782 | -program_transform_name=s,x,x, |
1783 | -silent= |
1784 | -site= |
1785 | -srcdir= |
1786 | -verbose= |
1787 | -x_includes=NONE |
1788 | -x_libraries=NONE |
1789 | - |
1790 | -# Installation directory options. |
1791 | -# These are left unexpanded so users can "make install exec_prefix=/foo" |
1792 | -# and all the variables that are supposed to be based on exec_prefix |
1793 | -# by default will actually change. |
1794 | -# Use braces instead of parens because sh, perl, etc. also accept them. |
1795 | -# (The list follows the same order as the GNU Coding Standards.) |
1796 | -bindir='${exec_prefix}/bin' |
1797 | -sbindir='${exec_prefix}/sbin' |
1798 | -libexecdir='${exec_prefix}/libexec' |
1799 | -datarootdir='${prefix}/share' |
1800 | -datadir='${datarootdir}' |
1801 | -sysconfdir='${prefix}/etc' |
1802 | -sharedstatedir='${prefix}/com' |
1803 | -localstatedir='${prefix}/var' |
1804 | -includedir='${prefix}/include' |
1805 | -oldincludedir='/usr/include' |
1806 | -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
1807 | -infodir='${datarootdir}/info' |
1808 | -htmldir='${docdir}' |
1809 | -dvidir='${docdir}' |
1810 | -pdfdir='${docdir}' |
1811 | -psdir='${docdir}' |
1812 | -libdir='${exec_prefix}/lib' |
1813 | -localedir='${datarootdir}/locale' |
1814 | -mandir='${datarootdir}/man' |
1815 | - |
1816 | -ac_prev= |
1817 | -ac_dashdash= |
1818 | -for ac_option |
1819 | -do |
1820 | - # If the previous option needs an argument, assign it. |
1821 | - if test -n "$ac_prev"; then |
1822 | - eval $ac_prev=\$ac_option |
1823 | - ac_prev= |
1824 | - continue |
1825 | - fi |
1826 | - |
1827 | - case $ac_option in |
1828 | - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
1829 | - *=) ac_optarg= ;; |
1830 | - *) ac_optarg=yes ;; |
1831 | - esac |
1832 | - |
1833 | - # Accept the important Cygnus configure options, so we can diagnose typos. |
1834 | - |
1835 | - case $ac_dashdash$ac_option in |
1836 | - --) |
1837 | - ac_dashdash=yes ;; |
1838 | - |
1839 | - -bindir | --bindir | --bindi | --bind | --bin | --bi) |
1840 | - ac_prev=bindir ;; |
1841 | - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
1842 | - bindir=$ac_optarg ;; |
1843 | - |
1844 | - -build | --build | --buil | --bui | --bu) |
1845 | - ac_prev=build_alias ;; |
1846 | - -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
1847 | - build_alias=$ac_optarg ;; |
1848 | - |
1849 | - -cache-file | --cache-file | --cache-fil | --cache-fi \ |
1850 | - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
1851 | - ac_prev=cache_file ;; |
1852 | - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
1853 | - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
1854 | - cache_file=$ac_optarg ;; |
1855 | - |
1856 | - --config-cache | -C) |
1857 | - cache_file=config.cache ;; |
1858 | - |
1859 | - -datadir | --datadir | --datadi | --datad) |
1860 | - ac_prev=datadir ;; |
1861 | - -datadir=* | --datadir=* | --datadi=* | --datad=*) |
1862 | - datadir=$ac_optarg ;; |
1863 | - |
1864 | - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
1865 | - | --dataroo | --dataro | --datar) |
1866 | - ac_prev=datarootdir ;; |
1867 | - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
1868 | - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
1869 | - datarootdir=$ac_optarg ;; |
1870 | - |
1871 | - -disable-* | --disable-*) |
1872 | - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1873 | - # Reject names that are not valid shell variable names. |
1874 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1875 | - as_fn_error $? "invalid feature name: $ac_useropt" |
1876 | - ac_useropt_orig=$ac_useropt |
1877 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1878 | - case $ac_user_opts in |
1879 | - *" |
1880 | -"enable_$ac_useropt" |
1881 | -"*) ;; |
1882 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
1883 | - ac_unrecognized_sep=', ';; |
1884 | - esac |
1885 | - eval enable_$ac_useropt=no ;; |
1886 | - |
1887 | - -docdir | --docdir | --docdi | --doc | --do) |
1888 | - ac_prev=docdir ;; |
1889 | - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
1890 | - docdir=$ac_optarg ;; |
1891 | - |
1892 | - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
1893 | - ac_prev=dvidir ;; |
1894 | - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
1895 | - dvidir=$ac_optarg ;; |
1896 | - |
1897 | - -enable-* | --enable-*) |
1898 | - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1899 | - # Reject names that are not valid shell variable names. |
1900 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1901 | - as_fn_error $? "invalid feature name: $ac_useropt" |
1902 | - ac_useropt_orig=$ac_useropt |
1903 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1904 | - case $ac_user_opts in |
1905 | - *" |
1906 | -"enable_$ac_useropt" |
1907 | -"*) ;; |
1908 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
1909 | - ac_unrecognized_sep=', ';; |
1910 | - esac |
1911 | - eval enable_$ac_useropt=\$ac_optarg ;; |
1912 | - |
1913 | - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1914 | - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1915 | - | --exec | --exe | --ex) |
1916 | - ac_prev=exec_prefix ;; |
1917 | - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
1918 | - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
1919 | - | --exec=* | --exe=* | --ex=*) |
1920 | - exec_prefix=$ac_optarg ;; |
1921 | - |
1922 | - -gas | --gas | --ga | --g) |
1923 | - # Obsolete; use --with-gas. |
1924 | - with_gas=yes ;; |
1925 | - |
1926 | - -help | --help | --hel | --he | -h) |
1927 | - ac_init_help=long ;; |
1928 | - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
1929 | - ac_init_help=recursive ;; |
1930 | - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
1931 | - ac_init_help=short ;; |
1932 | - |
1933 | - -host | --host | --hos | --ho) |
1934 | - ac_prev=host_alias ;; |
1935 | - -host=* | --host=* | --hos=* | --ho=*) |
1936 | - host_alias=$ac_optarg ;; |
1937 | - |
1938 | - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
1939 | - ac_prev=htmldir ;; |
1940 | - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
1941 | - | --ht=*) |
1942 | - htmldir=$ac_optarg ;; |
1943 | - |
1944 | - -includedir | --includedir | --includedi | --included | --include \ |
1945 | - | --includ | --inclu | --incl | --inc) |
1946 | - ac_prev=includedir ;; |
1947 | - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1948 | - | --includ=* | --inclu=* | --incl=* | --inc=*) |
1949 | - includedir=$ac_optarg ;; |
1950 | - |
1951 | - -infodir | --infodir | --infodi | --infod | --info | --inf) |
1952 | - ac_prev=infodir ;; |
1953 | - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
1954 | - infodir=$ac_optarg ;; |
1955 | - |
1956 | - -libdir | --libdir | --libdi | --libd) |
1957 | - ac_prev=libdir ;; |
1958 | - -libdir=* | --libdir=* | --libdi=* | --libd=*) |
1959 | - libdir=$ac_optarg ;; |
1960 | - |
1961 | - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
1962 | - | --libexe | --libex | --libe) |
1963 | - ac_prev=libexecdir ;; |
1964 | - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1965 | - | --libexe=* | --libex=* | --libe=*) |
1966 | - libexecdir=$ac_optarg ;; |
1967 | - |
1968 | - -localedir | --localedir | --localedi | --localed | --locale) |
1969 | - ac_prev=localedir ;; |
1970 | - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
1971 | - localedir=$ac_optarg ;; |
1972 | - |
1973 | - -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1974 | - | --localstate | --localstat | --localsta | --localst | --locals) |
1975 | - ac_prev=localstatedir ;; |
1976 | - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1977 | - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
1978 | - localstatedir=$ac_optarg ;; |
1979 | - |
1980 | - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1981 | - ac_prev=mandir ;; |
1982 | - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1983 | - mandir=$ac_optarg ;; |
1984 | - |
1985 | - -nfp | --nfp | --nf) |
1986 | - # Obsolete; use --without-fp. |
1987 | - with_fp=no ;; |
1988 | - |
1989 | - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1990 | - | --no-cr | --no-c | -n) |
1991 | - no_create=yes ;; |
1992 | - |
1993 | - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1994 | - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1995 | - no_recursion=yes ;; |
1996 | - |
1997 | - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
1998 | - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
1999 | - | --oldin | --oldi | --old | --ol | --o) |
2000 | - ac_prev=oldincludedir ;; |
2001 | - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
2002 | - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
2003 | - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
2004 | - oldincludedir=$ac_optarg ;; |
2005 | - |
2006 | - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
2007 | - ac_prev=prefix ;; |
2008 | - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
2009 | - prefix=$ac_optarg ;; |
2010 | - |
2011 | - -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
2012 | - | --program-pre | --program-pr | --program-p) |
2013 | - ac_prev=program_prefix ;; |
2014 | - -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
2015 | - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
2016 | - program_prefix=$ac_optarg ;; |
2017 | - |
2018 | - -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
2019 | - | --program-suf | --program-su | --program-s) |
2020 | - ac_prev=program_suffix ;; |
2021 | - -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
2022 | - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
2023 | - program_suffix=$ac_optarg ;; |
2024 | - |
2025 | - -program-transform-name | --program-transform-name \ |
2026 | - | --program-transform-nam | --program-transform-na \ |
2027 | - | --program-transform-n | --program-transform- \ |
2028 | - | --program-transform | --program-transfor \ |
2029 | - | --program-transfo | --program-transf \ |
2030 | - | --program-trans | --program-tran \ |
2031 | - | --progr-tra | --program-tr | --program-t) |
2032 | - ac_prev=program_transform_name ;; |
2033 | - -program-transform-name=* | --program-transform-name=* \ |
2034 | - | --program-transform-nam=* | --program-transform-na=* \ |
2035 | - | --program-transform-n=* | --program-transform-=* \ |
2036 | - | --program-transform=* | --program-transfor=* \ |
2037 | - | --program-transfo=* | --program-transf=* \ |
2038 | - | --program-trans=* | --program-tran=* \ |
2039 | - | --progr-tra=* | --program-tr=* | --program-t=*) |
2040 | - program_transform_name=$ac_optarg ;; |
2041 | - |
2042 | - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
2043 | - ac_prev=pdfdir ;; |
2044 | - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
2045 | - pdfdir=$ac_optarg ;; |
2046 | - |
2047 | - -psdir | --psdir | --psdi | --psd | --ps) |
2048 | - ac_prev=psdir ;; |
2049 | - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
2050 | - psdir=$ac_optarg ;; |
2051 | - |
2052 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
2053 | - | -silent | --silent | --silen | --sile | --sil) |
2054 | - silent=yes ;; |
2055 | - |
2056 | - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
2057 | - ac_prev=sbindir ;; |
2058 | - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
2059 | - | --sbi=* | --sb=*) |
2060 | - sbindir=$ac_optarg ;; |
2061 | - |
2062 | - -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
2063 | - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
2064 | - | --sharedst | --shareds | --shared | --share | --shar \ |
2065 | - | --sha | --sh) |
2066 | - ac_prev=sharedstatedir ;; |
2067 | - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
2068 | - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
2069 | - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
2070 | - | --sha=* | --sh=*) |
2071 | - sharedstatedir=$ac_optarg ;; |
2072 | - |
2073 | - -site | --site | --sit) |
2074 | - ac_prev=site ;; |
2075 | - -site=* | --site=* | --sit=*) |
2076 | - site=$ac_optarg ;; |
2077 | - |
2078 | - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
2079 | - ac_prev=srcdir ;; |
2080 | - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
2081 | - srcdir=$ac_optarg ;; |
2082 | - |
2083 | - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
2084 | - | --syscon | --sysco | --sysc | --sys | --sy) |
2085 | - ac_prev=sysconfdir ;; |
2086 | - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
2087 | - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
2088 | - sysconfdir=$ac_optarg ;; |
2089 | - |
2090 | - -target | --target | --targe | --targ | --tar | --ta | --t) |
2091 | - ac_prev=target_alias ;; |
2092 | - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
2093 | - target_alias=$ac_optarg ;; |
2094 | - |
2095 | - -v | -verbose | --verbose | --verbos | --verbo | --verb) |
2096 | - verbose=yes ;; |
2097 | - |
2098 | - -version | --version | --versio | --versi | --vers | -V) |
2099 | - ac_init_version=: ;; |
2100 | - |
2101 | - -with-* | --with-*) |
2102 | - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
2103 | - # Reject names that are not valid shell variable names. |
2104 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2105 | - as_fn_error $? "invalid package name: $ac_useropt" |
2106 | - ac_useropt_orig=$ac_useropt |
2107 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2108 | - case $ac_user_opts in |
2109 | - *" |
2110 | -"with_$ac_useropt" |
2111 | -"*) ;; |
2112 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
2113 | - ac_unrecognized_sep=', ';; |
2114 | - esac |
2115 | - eval with_$ac_useropt=\$ac_optarg ;; |
2116 | - |
2117 | - -without-* | --without-*) |
2118 | - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
2119 | - # Reject names that are not valid shell variable names. |
2120 | - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2121 | - as_fn_error $? "invalid package name: $ac_useropt" |
2122 | - ac_useropt_orig=$ac_useropt |
2123 | - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2124 | - case $ac_user_opts in |
2125 | - *" |
2126 | -"with_$ac_useropt" |
2127 | -"*) ;; |
2128 | - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
2129 | - ac_unrecognized_sep=', ';; |
2130 | - esac |
2131 | - eval with_$ac_useropt=no ;; |
2132 | - |
2133 | - --x) |
2134 | - # Obsolete; use --with-x. |
2135 | - with_x=yes ;; |
2136 | - |
2137 | - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
2138 | - | --x-incl | --x-inc | --x-in | --x-i) |
2139 | - ac_prev=x_includes ;; |
2140 | - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
2141 | - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
2142 | - x_includes=$ac_optarg ;; |
2143 | - |
2144 | - -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
2145 | - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
2146 | - ac_prev=x_libraries ;; |
2147 | - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
2148 | - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
2149 | - x_libraries=$ac_optarg ;; |
2150 | - |
2151 | - -*) as_fn_error $? "unrecognized option: \`$ac_option' |
2152 | -Try \`$0 --help' for more information" |
2153 | - ;; |
2154 | - |
2155 | - *=*) |
2156 | - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
2157 | - # Reject names that are not valid shell variable names. |
2158 | - case $ac_envvar in #( |
2159 | - '' | [0-9]* | *[!_$as_cr_alnum]* ) |
2160 | - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
2161 | - esac |
2162 | - eval $ac_envvar=\$ac_optarg |
2163 | - export $ac_envvar ;; |
2164 | - |
2165 | - *) |
2166 | - # FIXME: should be removed in autoconf 3.0. |
2167 | - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
2168 | - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
2169 | - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
2170 | - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
2171 | - ;; |
2172 | - |
2173 | - esac |
2174 | -done |
2175 | - |
2176 | -if test -n "$ac_prev"; then |
2177 | - ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
2178 | - as_fn_error $? "missing argument to $ac_option" |
2179 | -fi |
2180 | - |
2181 | -if test -n "$ac_unrecognized_opts"; then |
2182 | - case $enable_option_checking in |
2183 | - no) ;; |
2184 | - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
2185 | - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
2186 | - esac |
2187 | -fi |
2188 | - |
2189 | -# Check all directory arguments for consistency. |
2190 | -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
2191 | - datadir sysconfdir sharedstatedir localstatedir includedir \ |
2192 | - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
2193 | - libdir localedir mandir |
2194 | -do |
2195 | - eval ac_val=\$$ac_var |
2196 | - # Remove trailing slashes. |
2197 | - case $ac_val in |
2198 | - */ ) |
2199 | - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
2200 | - eval $ac_var=\$ac_val;; |
2201 | - esac |
2202 | - # Be sure to have absolute directory names. |
2203 | - case $ac_val in |
2204 | - [\\/$]* | ?:[\\/]* ) continue;; |
2205 | - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
2206 | - esac |
2207 | - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
2208 | -done |
2209 | - |
2210 | -# There might be people who depend on the old broken behavior: `$host' |
2211 | -# used to hold the argument of --host etc. |
2212 | -# FIXME: To remove some day. |
2213 | -build=$build_alias |
2214 | -host=$host_alias |
2215 | -target=$target_alias |
2216 | - |
2217 | -# FIXME: To remove some day. |
2218 | -if test "x$host_alias" != x; then |
2219 | - if test "x$build_alias" = x; then |
2220 | - cross_compiling=maybe |
2221 | - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
2222 | - If a cross compiler is detected then cross compile mode will be used" >&2 |
2223 | - elif test "x$build_alias" != "x$host_alias"; then |
2224 | - cross_compiling=yes |
2225 | - fi |
2226 | -fi |
2227 | - |
2228 | -ac_tool_prefix= |
2229 | -test -n "$host_alias" && ac_tool_prefix=$host_alias- |
2230 | - |
2231 | -test "$silent" = yes && exec 6>/dev/null |
2232 | - |
2233 | - |
2234 | -ac_pwd=`pwd` && test -n "$ac_pwd" && |
2235 | -ac_ls_di=`ls -di .` && |
2236 | -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
2237 | - as_fn_error $? "working directory cannot be determined" |
2238 | -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
2239 | - as_fn_error $? "pwd does not report name of working directory" |
2240 | - |
2241 | - |
2242 | -# Find the source files, if location was not specified. |
2243 | -if test -z "$srcdir"; then |
2244 | - ac_srcdir_defaulted=yes |
2245 | - # Try the directory containing this script, then the parent directory. |
2246 | - ac_confdir=`$as_dirname -- "$as_myself" || |
2247 | -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
2248 | - X"$as_myself" : 'X\(//\)[^/]' \| \ |
2249 | - X"$as_myself" : 'X\(//\)$' \| \ |
2250 | - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
2251 | -$as_echo X"$as_myself" | |
2252 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
2253 | - s//\1/ |
2254 | - q |
2255 | - } |
2256 | - /^X\(\/\/\)[^/].*/{ |
2257 | - s//\1/ |
2258 | - q |
2259 | - } |
2260 | - /^X\(\/\/\)$/{ |
2261 | - s//\1/ |
2262 | - q |
2263 | - } |
2264 | - /^X\(\/\).*/{ |
2265 | - s//\1/ |
2266 | - q |
2267 | - } |
2268 | - s/.*/./; q'` |
2269 | - srcdir=$ac_confdir |
2270 | - if test ! -r "$srcdir/$ac_unique_file"; then |
2271 | - srcdir=.. |
2272 | - fi |
2273 | -else |
2274 | - ac_srcdir_defaulted=no |
2275 | -fi |
2276 | -if test ! -r "$srcdir/$ac_unique_file"; then |
2277 | - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
2278 | - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
2279 | -fi |
2280 | -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
2281 | -ac_abs_confdir=`( |
2282 | - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
2283 | - pwd)` |
2284 | -# When building in place, set srcdir=. |
2285 | -if test "$ac_abs_confdir" = "$ac_pwd"; then |
2286 | - srcdir=. |
2287 | -fi |
2288 | -# Remove unnecessary trailing slashes from srcdir. |
2289 | -# Double slashes in file names in object file debugging info |
2290 | -# mess up M-x gdb in Emacs. |
2291 | -case $srcdir in |
2292 | -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
2293 | -esac |
2294 | -for ac_var in $ac_precious_vars; do |
2295 | - eval ac_env_${ac_var}_set=\${${ac_var}+set} |
2296 | - eval ac_env_${ac_var}_value=\$${ac_var} |
2297 | - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
2298 | - eval ac_cv_env_${ac_var}_value=\$${ac_var} |
2299 | -done |
2300 | - |
2301 | -# |
2302 | -# Report the --help message. |
2303 | -# |
2304 | -if test "$ac_init_help" = "long"; then |
2305 | - # Omit some internal or obsolete options to make the list less imposing. |
2306 | - # This message is too long to be a string in the A/UX 3.1 sh. |
2307 | - cat <<_ACEOF |
2308 | -\`configure' configures ipsec-tools 0.8.0 to adapt to many kinds of systems. |
2309 | - |
2310 | -Usage: $0 [OPTION]... [VAR=VALUE]... |
2311 | - |
2312 | -To assign environment variables (e.g., CC, CFLAGS...), specify them as |
2313 | -VAR=VALUE. See below for descriptions of some of the useful variables. |
2314 | - |
2315 | -Defaults for the options are specified in brackets. |
2316 | - |
2317 | -Configuration: |
2318 | - -h, --help display this help and exit |
2319 | - --help=short display options specific to this package |
2320 | - --help=recursive display the short help of all the included packages |
2321 | - -V, --version display version information and exit |
2322 | - -q, --quiet, --silent do not print \`checking ...' messages |
2323 | - --cache-file=FILE cache test results in FILE [disabled] |
2324 | - -C, --config-cache alias for \`--cache-file=config.cache' |
2325 | - -n, --no-create do not create output files |
2326 | - --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
2327 | - |
2328 | -Installation directories: |
2329 | - --prefix=PREFIX install architecture-independent files in PREFIX |
2330 | - [$ac_default_prefix] |
2331 | - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
2332 | - [PREFIX] |
2333 | - |
2334 | -By default, \`make install' will install all the files in |
2335 | -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
2336 | -an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
2337 | -for instance \`--prefix=\$HOME'. |
2338 | - |
2339 | -For better control, use the options below. |
2340 | - |
2341 | -Fine tuning of the installation directories: |
2342 | - --bindir=DIR user executables [EPREFIX/bin] |
2343 | - --sbindir=DIR system admin executables [EPREFIX/sbin] |
2344 | - --libexecdir=DIR program executables [EPREFIX/libexec] |
2345 | - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
2346 | - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
2347 | - --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
2348 | - --libdir=DIR object code libraries [EPREFIX/lib] |
2349 | - --includedir=DIR C header files [PREFIX/include] |
2350 | - --oldincludedir=DIR C header files for non-gcc [/usr/include] |
2351 | - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
2352 | - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
2353 | - --infodir=DIR info documentation [DATAROOTDIR/info] |
2354 | - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
2355 | - --mandir=DIR man documentation [DATAROOTDIR/man] |
2356 | - --docdir=DIR documentation root [DATAROOTDIR/doc/ipsec-tools] |
2357 | - --htmldir=DIR html documentation [DOCDIR] |
2358 | - --dvidir=DIR dvi documentation [DOCDIR] |
2359 | - --pdfdir=DIR pdf documentation [DOCDIR] |
2360 | - --psdir=DIR ps documentation [DOCDIR] |
2361 | -_ACEOF |
2362 | - |
2363 | - cat <<\_ACEOF |
2364 | - |
2365 | -Program names: |
2366 | - --program-prefix=PREFIX prepend PREFIX to installed program names |
2367 | - --program-suffix=SUFFIX append SUFFIX to installed program names |
2368 | - --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
2369 | - |
2370 | -System types: |
2371 | - --build=BUILD configure for building on BUILD [guessed] |
2372 | - --host=HOST cross-compile to build programs to run on HOST [BUILD] |
2373 | -_ACEOF |
2374 | -fi |
2375 | - |
2376 | -if test -n "$ac_init_help"; then |
2377 | - case $ac_init_help in |
2378 | - short | recursive ) echo "Configuration of ipsec-tools 0.8.0:";; |
2379 | - esac |
2380 | - cat <<\_ACEOF |
2381 | - |
2382 | -Optional Features: |
2383 | - --disable-option-checking ignore unrecognized --enable/--with options |
2384 | - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
2385 | - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
2386 | - --enable-shared[=PKGS] build shared libraries [default=no] |
2387 | - --disable-dependency-tracking speeds up one-time build |
2388 | - --enable-dependency-tracking do not reject slow dependency extractors |
2389 | - --enable-static[=PKGS] build static libraries [default=yes] |
2390 | - --enable-fast-install[=PKGS] |
2391 | - optimize for fast installation [default=yes] |
2392 | - --disable-libtool-lock avoid locking (might break parallel builds) |
2393 | - --enable-adminport enable admin port |
2394 | - --enable-rc5 enable RC5 encryption (patented) |
2395 | - --enable-idea enable IDEA encryption (patented) |
2396 | - --enable-hybrid enable hybrid, both mode-cfg and xauth support |
2397 | - --enable-frag enable IKE fragmentation payload support |
2398 | - --enable-gssapi enable GSS-API authentication |
2399 | - --enable-stats enable statistics logging function |
2400 | - --enable-dpd enable dead peer detection |
2401 | - --enable-samode-unspec enable to use unspecified a mode of SA |
2402 | - --disable-ipv6 disable ipv6 support |
2403 | - --enable-natt enable NAT-Traversal (yes/no/kernel) |
2404 | - --enable-natt-versions=list list of supported NAT-T versions delimited by coma. |
2405 | - --enable-broken-natt broken in-kernel NAT-T |
2406 | - --enable-security-context enable Security Context(yes/no/kernel) |
2407 | - |
2408 | -Optional Packages: |
2409 | - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
2410 | - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
2411 | - --with-pic try to use only PIC/non-PIC objects [default=use |
2412 | - both] |
2413 | - --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
2414 | - --with-kernel-headers=/lib/modules/<uname>/build/include |
2415 | - where your Linux Kernel headers are installed |
2416 | - --with-readline support readline input (yes by default) |
2417 | - --with-flex use directiory (default: no) |
2418 | - --with-flexlib=<LIB> specify flex library. |
2419 | - --with-openssl=DIR specify OpenSSL directory |
2420 | - --with-libiconv=DIR specify libiconv path (like/usr/pkg) |
2421 | - --with-libradius=DIR specify libradius path (like/usr/pkg) |
2422 | - --with-libpam=DIR specify libpam path (like/usr/pkg) |
2423 | - --with-libldap=DIR specify libldap path (like/usr/pkg) |
2424 | - |
2425 | -Some influential environment variables: |
2426 | - CC C compiler command |
2427 | - CFLAGS C compiler flags |
2428 | - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
2429 | - nonstandard directory <lib dir> |
2430 | - LIBS libraries to pass to the linker, e.g. -l<library> |
2431 | - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
2432 | - you have headers in a nonstandard directory <include dir> |
2433 | - CPP C preprocessor |
2434 | - YACC The `Yet Another C Compiler' implementation to use. Defaults to |
2435 | - the first program found out of: `bison -y', `byacc', `yacc'. |
2436 | - YFLAGS The list of arguments that will be passed by default to $YACC. |
2437 | - This script will default YFLAGS to the empty string to avoid a |
2438 | - default value of `-d' given by some make applications. |
2439 | - |
2440 | -Use these variables to override the choices made by `configure' or to help |
2441 | -it to find libraries and programs with nonstandard names/locations. |
2442 | - |
2443 | -Report bugs to the package provider. |
2444 | -_ACEOF |
2445 | -ac_status=$? |
2446 | -fi |
2447 | - |
2448 | -if test "$ac_init_help" = "recursive"; then |
2449 | - # If there are subdirs, report their specific --help. |
2450 | - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
2451 | - test -d "$ac_dir" || |
2452 | - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
2453 | - continue |
2454 | - ac_builddir=. |
2455 | - |
2456 | -case "$ac_dir" in |
2457 | -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
2458 | -*) |
2459 | - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
2460 | - # A ".." for each directory in $ac_dir_suffix. |
2461 | - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
2462 | - case $ac_top_builddir_sub in |
2463 | - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
2464 | - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
2465 | - esac ;; |
2466 | -esac |
2467 | -ac_abs_top_builddir=$ac_pwd |
2468 | -ac_abs_builddir=$ac_pwd$ac_dir_suffix |
2469 | -# for backward compatibility: |
2470 | -ac_top_builddir=$ac_top_build_prefix |
2471 | - |
2472 | -case $srcdir in |
2473 | - .) # We are building in place. |
2474 | - ac_srcdir=. |
2475 | - ac_top_srcdir=$ac_top_builddir_sub |
2476 | - ac_abs_top_srcdir=$ac_pwd ;; |
2477 | - [\\/]* | ?:[\\/]* ) # Absolute name. |
2478 | - ac_srcdir=$srcdir$ac_dir_suffix; |
2479 | - ac_top_srcdir=$srcdir |
2480 | - ac_abs_top_srcdir=$srcdir ;; |
2481 | - *) # Relative name. |
2482 | - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
2483 | - ac_top_srcdir=$ac_top_build_prefix$srcdir |
2484 | - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
2485 | -esac |
2486 | -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
2487 | - |
2488 | - cd "$ac_dir" || { ac_status=$?; continue; } |
2489 | - # Check for guested configure. |
2490 | - if test -f "$ac_srcdir/configure.gnu"; then |
2491 | - echo && |
2492 | - $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
2493 | - elif test -f "$ac_srcdir/configure"; then |
2494 | - echo && |
2495 | - $SHELL "$ac_srcdir/configure" --help=recursive |
2496 | - else |
2497 | - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
2498 | - fi || ac_status=$? |
2499 | - cd "$ac_pwd" || { ac_status=$?; break; } |
2500 | - done |
2501 | -fi |
2502 | - |
2503 | -test -n "$ac_init_help" && exit $ac_status |
2504 | -if $ac_init_version; then |
2505 | - cat <<\_ACEOF |
2506 | -ipsec-tools configure 0.8.0 |
2507 | -generated by GNU Autoconf 2.67 |
2508 | - |
2509 | -Copyright (C) 2010 Free Software Foundation, Inc. |
2510 | -This configure script is free software; the Free Software Foundation |
2511 | -gives unlimited permission to copy, distribute and modify it. |
2512 | -_ACEOF |
2513 | - exit |
2514 | -fi |
2515 | - |
2516 | -## ------------------------ ## |
2517 | -## Autoconf initialization. ## |
2518 | -## ------------------------ ## |
2519 | - |
2520 | -# ac_fn_c_try_compile LINENO |
2521 | -# -------------------------- |
2522 | -# Try to compile conftest.$ac_ext, and return whether this succeeded. |
2523 | -ac_fn_c_try_compile () |
2524 | -{ |
2525 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2526 | - rm -f conftest.$ac_objext |
2527 | - if { { ac_try="$ac_compile" |
2528 | -case "(($ac_try" in |
2529 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2530 | - *) ac_try_echo=$ac_try;; |
2531 | -esac |
2532 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2533 | -$as_echo "$ac_try_echo"; } >&5 |
2534 | - (eval "$ac_compile") 2>conftest.err |
2535 | - ac_status=$? |
2536 | - if test -s conftest.err; then |
2537 | - grep -v '^ *+' conftest.err >conftest.er1 |
2538 | - cat conftest.er1 >&5 |
2539 | - mv -f conftest.er1 conftest.err |
2540 | - fi |
2541 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2542 | - test $ac_status = 0; } && { |
2543 | - test -z "$ac_c_werror_flag" || |
2544 | - test ! -s conftest.err |
2545 | - } && test -s conftest.$ac_objext; then : |
2546 | - ac_retval=0 |
2547 | -else |
2548 | - $as_echo "$as_me: failed program was:" >&5 |
2549 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2550 | - |
2551 | - ac_retval=1 |
2552 | -fi |
2553 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2554 | - as_fn_set_status $ac_retval |
2555 | - |
2556 | -} # ac_fn_c_try_compile |
2557 | - |
2558 | -# ac_fn_c_try_cpp LINENO |
2559 | -# ---------------------- |
2560 | -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
2561 | -ac_fn_c_try_cpp () |
2562 | -{ |
2563 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2564 | - if { { ac_try="$ac_cpp conftest.$ac_ext" |
2565 | -case "(($ac_try" in |
2566 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2567 | - *) ac_try_echo=$ac_try;; |
2568 | -esac |
2569 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2570 | -$as_echo "$ac_try_echo"; } >&5 |
2571 | - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
2572 | - ac_status=$? |
2573 | - if test -s conftest.err; then |
2574 | - grep -v '^ *+' conftest.err >conftest.er1 |
2575 | - cat conftest.er1 >&5 |
2576 | - mv -f conftest.er1 conftest.err |
2577 | - fi |
2578 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2579 | - test $ac_status = 0; } > conftest.i && { |
2580 | - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
2581 | - test ! -s conftest.err |
2582 | - }; then : |
2583 | - ac_retval=0 |
2584 | -else |
2585 | - $as_echo "$as_me: failed program was:" >&5 |
2586 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2587 | - |
2588 | - ac_retval=1 |
2589 | -fi |
2590 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2591 | - as_fn_set_status $ac_retval |
2592 | - |
2593 | -} # ac_fn_c_try_cpp |
2594 | - |
2595 | -# ac_fn_c_try_run LINENO |
2596 | -# ---------------------- |
2597 | -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
2598 | -# that executables *can* be run. |
2599 | -ac_fn_c_try_run () |
2600 | -{ |
2601 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2602 | - if { { ac_try="$ac_link" |
2603 | -case "(($ac_try" in |
2604 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2605 | - *) ac_try_echo=$ac_try;; |
2606 | -esac |
2607 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2608 | -$as_echo "$ac_try_echo"; } >&5 |
2609 | - (eval "$ac_link") 2>&5 |
2610 | - ac_status=$? |
2611 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2612 | - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
2613 | - { { case "(($ac_try" in |
2614 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2615 | - *) ac_try_echo=$ac_try;; |
2616 | -esac |
2617 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2618 | -$as_echo "$ac_try_echo"; } >&5 |
2619 | - (eval "$ac_try") 2>&5 |
2620 | - ac_status=$? |
2621 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2622 | - test $ac_status = 0; }; }; then : |
2623 | - ac_retval=0 |
2624 | -else |
2625 | - $as_echo "$as_me: program exited with status $ac_status" >&5 |
2626 | - $as_echo "$as_me: failed program was:" >&5 |
2627 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2628 | - |
2629 | - ac_retval=$ac_status |
2630 | -fi |
2631 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2632 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2633 | - as_fn_set_status $ac_retval |
2634 | - |
2635 | -} # ac_fn_c_try_run |
2636 | - |
2637 | -# ac_fn_c_try_link LINENO |
2638 | -# ----------------------- |
2639 | -# Try to link conftest.$ac_ext, and return whether this succeeded. |
2640 | -ac_fn_c_try_link () |
2641 | -{ |
2642 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2643 | - rm -f conftest.$ac_objext conftest$ac_exeext |
2644 | - if { { ac_try="$ac_link" |
2645 | -case "(($ac_try" in |
2646 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2647 | - *) ac_try_echo=$ac_try;; |
2648 | -esac |
2649 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2650 | -$as_echo "$ac_try_echo"; } >&5 |
2651 | - (eval "$ac_link") 2>conftest.err |
2652 | - ac_status=$? |
2653 | - if test -s conftest.err; then |
2654 | - grep -v '^ *+' conftest.err >conftest.er1 |
2655 | - cat conftest.er1 >&5 |
2656 | - mv -f conftest.er1 conftest.err |
2657 | - fi |
2658 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2659 | - test $ac_status = 0; } && { |
2660 | - test -z "$ac_c_werror_flag" || |
2661 | - test ! -s conftest.err |
2662 | - } && test -s conftest$ac_exeext && { |
2663 | - test "$cross_compiling" = yes || |
2664 | - $as_test_x conftest$ac_exeext |
2665 | - }; then : |
2666 | - ac_retval=0 |
2667 | -else |
2668 | - $as_echo "$as_me: failed program was:" >&5 |
2669 | -sed 's/^/| /' conftest.$ac_ext >&5 |
2670 | - |
2671 | - ac_retval=1 |
2672 | -fi |
2673 | - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
2674 | - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
2675 | - # interfere with the next link command; also delete a directory that is |
2676 | - # left behind by Apple's compiler. We do this before executing the actions. |
2677 | - rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
2678 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2679 | - as_fn_set_status $ac_retval |
2680 | - |
2681 | -} # ac_fn_c_try_link |
2682 | - |
2683 | -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
2684 | -# ------------------------------------------------------- |
2685 | -# Tests whether HEADER exists and can be compiled using the include files in |
2686 | -# INCLUDES, setting the cache variable VAR accordingly. |
2687 | -ac_fn_c_check_header_compile () |
2688 | -{ |
2689 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2690 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2691 | -$as_echo_n "checking for $2... " >&6; } |
2692 | -if eval "test \"\${$3+set}\"" = set; then : |
2693 | - $as_echo_n "(cached) " >&6 |
2694 | -else |
2695 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2696 | -/* end confdefs.h. */ |
2697 | -$4 |
2698 | -#include <$2> |
2699 | -_ACEOF |
2700 | -if ac_fn_c_try_compile "$LINENO"; then : |
2701 | - eval "$3=yes" |
2702 | -else |
2703 | - eval "$3=no" |
2704 | -fi |
2705 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2706 | -fi |
2707 | -eval ac_res=\$$3 |
2708 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2709 | -$as_echo "$ac_res" >&6; } |
2710 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2711 | - |
2712 | -} # ac_fn_c_check_header_compile |
2713 | - |
2714 | -# ac_fn_c_check_func LINENO FUNC VAR |
2715 | -# ---------------------------------- |
2716 | -# Tests whether FUNC exists, setting the cache variable VAR accordingly |
2717 | -ac_fn_c_check_func () |
2718 | -{ |
2719 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2720 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2721 | -$as_echo_n "checking for $2... " >&6; } |
2722 | -if eval "test \"\${$3+set}\"" = set; then : |
2723 | - $as_echo_n "(cached) " >&6 |
2724 | -else |
2725 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2726 | -/* end confdefs.h. */ |
2727 | -/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2728 | - For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
2729 | -#define $2 innocuous_$2 |
2730 | - |
2731 | -/* System header to define __stub macros and hopefully few prototypes, |
2732 | - which can conflict with char $2 (); below. |
2733 | - Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
2734 | - <limits.h> exists even on freestanding compilers. */ |
2735 | - |
2736 | -#ifdef __STDC__ |
2737 | -# include <limits.h> |
2738 | -#else |
2739 | -# include <assert.h> |
2740 | -#endif |
2741 | - |
2742 | -#undef $2 |
2743 | - |
2744 | -/* Override any GCC internal prototype to avoid an error. |
2745 | - Use char because int might match the return type of a GCC |
2746 | - builtin and then its argument prototype would still apply. */ |
2747 | -#ifdef __cplusplus |
2748 | -extern "C" |
2749 | -#endif |
2750 | -char $2 (); |
2751 | -/* The GNU C library defines this for functions which it implements |
2752 | - to always fail with ENOSYS. Some functions are actually named |
2753 | - something starting with __ and the normal name is an alias. */ |
2754 | -#if defined __stub_$2 || defined __stub___$2 |
2755 | -choke me |
2756 | -#endif |
2757 | - |
2758 | -int |
2759 | -main () |
2760 | -{ |
2761 | -return $2 (); |
2762 | - ; |
2763 | - return 0; |
2764 | -} |
2765 | -_ACEOF |
2766 | -if ac_fn_c_try_link "$LINENO"; then : |
2767 | - eval "$3=yes" |
2768 | -else |
2769 | - eval "$3=no" |
2770 | -fi |
2771 | -rm -f core conftest.err conftest.$ac_objext \ |
2772 | - conftest$ac_exeext conftest.$ac_ext |
2773 | -fi |
2774 | -eval ac_res=\$$3 |
2775 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2776 | -$as_echo "$ac_res" >&6; } |
2777 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2778 | - |
2779 | -} # ac_fn_c_check_func |
2780 | - |
2781 | -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
2782 | -# ------------------------------------------------------- |
2783 | -# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
2784 | -# the include files in INCLUDES and setting the cache variable VAR |
2785 | -# accordingly. |
2786 | -ac_fn_c_check_header_mongrel () |
2787 | -{ |
2788 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2789 | - if eval "test \"\${$3+set}\"" = set; then : |
2790 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2791 | -$as_echo_n "checking for $2... " >&6; } |
2792 | -if eval "test \"\${$3+set}\"" = set; then : |
2793 | - $as_echo_n "(cached) " >&6 |
2794 | -fi |
2795 | -eval ac_res=\$$3 |
2796 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2797 | -$as_echo "$ac_res" >&6; } |
2798 | -else |
2799 | - # Is the header compilable? |
2800 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
2801 | -$as_echo_n "checking $2 usability... " >&6; } |
2802 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2803 | -/* end confdefs.h. */ |
2804 | -$4 |
2805 | -#include <$2> |
2806 | -_ACEOF |
2807 | -if ac_fn_c_try_compile "$LINENO"; then : |
2808 | - ac_header_compiler=yes |
2809 | -else |
2810 | - ac_header_compiler=no |
2811 | -fi |
2812 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2813 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
2814 | -$as_echo "$ac_header_compiler" >&6; } |
2815 | - |
2816 | -# Is the header present? |
2817 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
2818 | -$as_echo_n "checking $2 presence... " >&6; } |
2819 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2820 | -/* end confdefs.h. */ |
2821 | -#include <$2> |
2822 | -_ACEOF |
2823 | -if ac_fn_c_try_cpp "$LINENO"; then : |
2824 | - ac_header_preproc=yes |
2825 | -else |
2826 | - ac_header_preproc=no |
2827 | -fi |
2828 | -rm -f conftest.err conftest.i conftest.$ac_ext |
2829 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
2830 | -$as_echo "$ac_header_preproc" >&6; } |
2831 | - |
2832 | -# So? What about this header? |
2833 | -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
2834 | - yes:no: ) |
2835 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
2836 | -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2837 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2838 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2839 | - ;; |
2840 | - no:yes:* ) |
2841 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
2842 | -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
2843 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
2844 | -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
2845 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
2846 | -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
2847 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
2848 | -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
2849 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2850 | -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2851 | - ;; |
2852 | -esac |
2853 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2854 | -$as_echo_n "checking for $2... " >&6; } |
2855 | -if eval "test \"\${$3+set}\"" = set; then : |
2856 | - $as_echo_n "(cached) " >&6 |
2857 | -else |
2858 | - eval "$3=\$ac_header_compiler" |
2859 | -fi |
2860 | -eval ac_res=\$$3 |
2861 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2862 | -$as_echo "$ac_res" >&6; } |
2863 | -fi |
2864 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2865 | - |
2866 | -} # ac_fn_c_check_header_mongrel |
2867 | - |
2868 | -# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES |
2869 | -# ---------------------------------------------------- |
2870 | -# Tries to find if the field MEMBER exists in type AGGR, after including |
2871 | -# INCLUDES, setting cache variable VAR accordingly. |
2872 | -ac_fn_c_check_member () |
2873 | -{ |
2874 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2875 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
2876 | -$as_echo_n "checking for $2.$3... " >&6; } |
2877 | -if eval "test \"\${$4+set}\"" = set; then : |
2878 | - $as_echo_n "(cached) " >&6 |
2879 | -else |
2880 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2881 | -/* end confdefs.h. */ |
2882 | -$5 |
2883 | -int |
2884 | -main () |
2885 | -{ |
2886 | -static $2 ac_aggr; |
2887 | -if (ac_aggr.$3) |
2888 | -return 0; |
2889 | - ; |
2890 | - return 0; |
2891 | -} |
2892 | -_ACEOF |
2893 | -if ac_fn_c_try_compile "$LINENO"; then : |
2894 | - eval "$4=yes" |
2895 | -else |
2896 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2897 | -/* end confdefs.h. */ |
2898 | -$5 |
2899 | -int |
2900 | -main () |
2901 | -{ |
2902 | -static $2 ac_aggr; |
2903 | -if (sizeof ac_aggr.$3) |
2904 | -return 0; |
2905 | - ; |
2906 | - return 0; |
2907 | -} |
2908 | -_ACEOF |
2909 | -if ac_fn_c_try_compile "$LINENO"; then : |
2910 | - eval "$4=yes" |
2911 | -else |
2912 | - eval "$4=no" |
2913 | -fi |
2914 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2915 | -fi |
2916 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2917 | -fi |
2918 | -eval ac_res=\$$4 |
2919 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2920 | -$as_echo "$ac_res" >&6; } |
2921 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2922 | - |
2923 | -} # ac_fn_c_check_member |
2924 | - |
2925 | -# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
2926 | -# ------------------------------------------- |
2927 | -# Tests whether TYPE exists after having included INCLUDES, setting cache |
2928 | -# variable VAR accordingly. |
2929 | -ac_fn_c_check_type () |
2930 | -{ |
2931 | - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2932 | - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2933 | -$as_echo_n "checking for $2... " >&6; } |
2934 | -if eval "test \"\${$3+set}\"" = set; then : |
2935 | - $as_echo_n "(cached) " >&6 |
2936 | -else |
2937 | - eval "$3=no" |
2938 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2939 | -/* end confdefs.h. */ |
2940 | -$4 |
2941 | -int |
2942 | -main () |
2943 | -{ |
2944 | -if (sizeof ($2)) |
2945 | - return 0; |
2946 | - ; |
2947 | - return 0; |
2948 | -} |
2949 | -_ACEOF |
2950 | -if ac_fn_c_try_compile "$LINENO"; then : |
2951 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2952 | -/* end confdefs.h. */ |
2953 | -$4 |
2954 | -int |
2955 | -main () |
2956 | -{ |
2957 | -if (sizeof (($2))) |
2958 | - return 0; |
2959 | - ; |
2960 | - return 0; |
2961 | -} |
2962 | -_ACEOF |
2963 | -if ac_fn_c_try_compile "$LINENO"; then : |
2964 | - |
2965 | -else |
2966 | - eval "$3=yes" |
2967 | -fi |
2968 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2969 | -fi |
2970 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2971 | -fi |
2972 | -eval ac_res=\$$3 |
2973 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
2974 | -$as_echo "$ac_res" >&6; } |
2975 | - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
2976 | - |
2977 | -} # ac_fn_c_check_type |
2978 | -cat >config.log <<_ACEOF |
2979 | -This file contains any messages produced by compilers while |
2980 | -running configure, to aid debugging if configure makes a mistake. |
2981 | - |
2982 | -It was created by ipsec-tools $as_me 0.8.0, which was |
2983 | -generated by GNU Autoconf 2.67. Invocation command line was |
2984 | - |
2985 | - $ $0 $@ |
2986 | - |
2987 | -_ACEOF |
2988 | -exec 5>>config.log |
2989 | -{ |
2990 | -cat <<_ASUNAME |
2991 | -## --------- ## |
2992 | -## Platform. ## |
2993 | -## --------- ## |
2994 | - |
2995 | -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
2996 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2997 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2998 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2999 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` |
3000 | - |
3001 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
3002 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
3003 | - |
3004 | -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
3005 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
3006 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
3007 | -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
3008 | -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
3009 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
3010 | -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
3011 | - |
3012 | -_ASUNAME |
3013 | - |
3014 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3015 | -for as_dir in $PATH |
3016 | -do |
3017 | - IFS=$as_save_IFS |
3018 | - test -z "$as_dir" && as_dir=. |
3019 | - $as_echo "PATH: $as_dir" |
3020 | - done |
3021 | -IFS=$as_save_IFS |
3022 | - |
3023 | -} >&5 |
3024 | - |
3025 | -cat >&5 <<_ACEOF |
3026 | - |
3027 | - |
3028 | -## ----------- ## |
3029 | -## Core tests. ## |
3030 | -## ----------- ## |
3031 | - |
3032 | -_ACEOF |
3033 | - |
3034 | - |
3035 | -# Keep a trace of the command line. |
3036 | -# Strip out --no-create and --no-recursion so they do not pile up. |
3037 | -# Strip out --silent because we don't want to record it for future runs. |
3038 | -# Also quote any args containing shell meta-characters. |
3039 | -# Make two passes to allow for proper duplicate-argument suppression. |
3040 | -ac_configure_args= |
3041 | -ac_configure_args0= |
3042 | -ac_configure_args1= |
3043 | -ac_must_keep_next=false |
3044 | -for ac_pass in 1 2 |
3045 | -do |
3046 | - for ac_arg |
3047 | - do |
3048 | - case $ac_arg in |
3049 | - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
3050 | - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
3051 | - | -silent | --silent | --silen | --sile | --sil) |
3052 | - continue ;; |
3053 | - *\'*) |
3054 | - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
3055 | - esac |
3056 | - case $ac_pass in |
3057 | - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
3058 | - 2) |
3059 | - as_fn_append ac_configure_args1 " '$ac_arg'" |
3060 | - if test $ac_must_keep_next = true; then |
3061 | - ac_must_keep_next=false # Got value, back to normal. |
3062 | - else |
3063 | - case $ac_arg in |
3064 | - *=* | --config-cache | -C | -disable-* | --disable-* \ |
3065 | - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
3066 | - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
3067 | - | -with-* | --with-* | -without-* | --without-* | --x) |
3068 | - case "$ac_configure_args0 " in |
3069 | - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
3070 | - esac |
3071 | - ;; |
3072 | - -* ) ac_must_keep_next=true ;; |
3073 | - esac |
3074 | - fi |
3075 | - as_fn_append ac_configure_args " '$ac_arg'" |
3076 | - ;; |
3077 | - esac |
3078 | - done |
3079 | -done |
3080 | -{ ac_configure_args0=; unset ac_configure_args0;} |
3081 | -{ ac_configure_args1=; unset ac_configure_args1;} |
3082 | - |
3083 | -# When interrupted or exit'd, cleanup temporary files, and complete |
3084 | -# config.log. We remove comments because anyway the quotes in there |
3085 | -# would cause problems or look ugly. |
3086 | -# WARNING: Use '\'' to represent an apostrophe within the trap. |
3087 | -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
3088 | -trap 'exit_status=$? |
3089 | - # Save into config.log some information that might help in debugging. |
3090 | - { |
3091 | - echo |
3092 | - |
3093 | - $as_echo "## ---------------- ## |
3094 | -## Cache variables. ## |
3095 | -## ---------------- ##" |
3096 | - echo |
3097 | - # The following way of writing the cache mishandles newlines in values, |
3098 | -( |
3099 | - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
3100 | - eval ac_val=\$$ac_var |
3101 | - case $ac_val in #( |
3102 | - *${as_nl}*) |
3103 | - case $ac_var in #( |
3104 | - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
3105 | -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
3106 | - esac |
3107 | - case $ac_var in #( |
3108 | - _ | IFS | as_nl) ;; #( |
3109 | - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
3110 | - *) { eval $ac_var=; unset $ac_var;} ;; |
3111 | - esac ;; |
3112 | - esac |
3113 | - done |
3114 | - (set) 2>&1 | |
3115 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
3116 | - *${as_nl}ac_space=\ *) |
3117 | - sed -n \ |
3118 | - "s/'\''/'\''\\\\'\'''\''/g; |
3119 | - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
3120 | - ;; #( |
3121 | - *) |
3122 | - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
3123 | - ;; |
3124 | - esac | |
3125 | - sort |
3126 | -) |
3127 | - echo |
3128 | - |
3129 | - $as_echo "## ----------------- ## |
3130 | -## Output variables. ## |
3131 | -## ----------------- ##" |
3132 | - echo |
3133 | - for ac_var in $ac_subst_vars |
3134 | - do |
3135 | - eval ac_val=\$$ac_var |
3136 | - case $ac_val in |
3137 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
3138 | - esac |
3139 | - $as_echo "$ac_var='\''$ac_val'\''" |
3140 | - done | sort |
3141 | - echo |
3142 | - |
3143 | - if test -n "$ac_subst_files"; then |
3144 | - $as_echo "## ------------------- ## |
3145 | -## File substitutions. ## |
3146 | -## ------------------- ##" |
3147 | - echo |
3148 | - for ac_var in $ac_subst_files |
3149 | - do |
3150 | - eval ac_val=\$$ac_var |
3151 | - case $ac_val in |
3152 | - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
3153 | - esac |
3154 | - $as_echo "$ac_var='\''$ac_val'\''" |
3155 | - done | sort |
3156 | - echo |
3157 | - fi |
3158 | - |
3159 | - if test -s confdefs.h; then |
3160 | - $as_echo "## ----------- ## |
3161 | -## confdefs.h. ## |
3162 | -## ----------- ##" |
3163 | - echo |
3164 | - cat confdefs.h |
3165 | - echo |
3166 | - fi |
3167 | - test "$ac_signal" != 0 && |
3168 | - $as_echo "$as_me: caught signal $ac_signal" |
3169 | - $as_echo "$as_me: exit $exit_status" |
3170 | - } >&5 |
3171 | - rm -f core *.core core.conftest.* && |
3172 | - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
3173 | - exit $exit_status |
3174 | -' 0 |
3175 | -for ac_signal in 1 2 13 15; do |
3176 | - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
3177 | -done |
3178 | -ac_signal=0 |
3179 | - |
3180 | -# confdefs.h avoids OS command line length limits that DEFS can exceed. |
3181 | -rm -f -r conftest* confdefs.h |
3182 | - |
3183 | -$as_echo "/* confdefs.h */" > confdefs.h |
3184 | - |
3185 | -# Predefined preprocessor variables. |
3186 | - |
3187 | -cat >>confdefs.h <<_ACEOF |
3188 | -#define PACKAGE_NAME "$PACKAGE_NAME" |
3189 | -_ACEOF |
3190 | - |
3191 | -cat >>confdefs.h <<_ACEOF |
3192 | -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
3193 | -_ACEOF |
3194 | - |
3195 | -cat >>confdefs.h <<_ACEOF |
3196 | -#define PACKAGE_VERSION "$PACKAGE_VERSION" |
3197 | -_ACEOF |
3198 | - |
3199 | -cat >>confdefs.h <<_ACEOF |
3200 | -#define PACKAGE_STRING "$PACKAGE_STRING" |
3201 | -_ACEOF |
3202 | - |
3203 | -cat >>confdefs.h <<_ACEOF |
3204 | -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
3205 | -_ACEOF |
3206 | - |
3207 | -cat >>confdefs.h <<_ACEOF |
3208 | -#define PACKAGE_URL "$PACKAGE_URL" |
3209 | -_ACEOF |
3210 | - |
3211 | - |
3212 | -# Let the site file select an alternate cache file if it wants to. |
3213 | -# Prefer an explicitly selected file to automatically selected ones. |
3214 | -ac_site_file1=NONE |
3215 | -ac_site_file2=NONE |
3216 | -if test -n "$CONFIG_SITE"; then |
3217 | - # We do not want a PATH search for config.site. |
3218 | - case $CONFIG_SITE in #(( |
3219 | - -*) ac_site_file1=./$CONFIG_SITE;; |
3220 | - */*) ac_site_file1=$CONFIG_SITE;; |
3221 | - *) ac_site_file1=./$CONFIG_SITE;; |
3222 | - esac |
3223 | -elif test "x$prefix" != xNONE; then |
3224 | - ac_site_file1=$prefix/share/config.site |
3225 | - ac_site_file2=$prefix/etc/config.site |
3226 | -else |
3227 | - ac_site_file1=$ac_default_prefix/share/config.site |
3228 | - ac_site_file2=$ac_default_prefix/etc/config.site |
3229 | -fi |
3230 | -for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
3231 | -do |
3232 | - test "x$ac_site_file" = xNONE && continue |
3233 | - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
3234 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
3235 | -$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
3236 | - sed 's/^/| /' "$ac_site_file" >&5 |
3237 | - . "$ac_site_file" \ |
3238 | - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3239 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3240 | -as_fn_error $? "failed to load site script $ac_site_file |
3241 | -See \`config.log' for more details" "$LINENO" 5 ; } |
3242 | - fi |
3243 | -done |
3244 | - |
3245 | -if test -r "$cache_file"; then |
3246 | - # Some versions of bash will fail to source /dev/null (special files |
3247 | - # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
3248 | - if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
3249 | - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
3250 | -$as_echo "$as_me: loading cache $cache_file" >&6;} |
3251 | - case $cache_file in |
3252 | - [\\/]* | ?:[\\/]* ) . "$cache_file";; |
3253 | - *) . "./$cache_file";; |
3254 | - esac |
3255 | - fi |
3256 | -else |
3257 | - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
3258 | -$as_echo "$as_me: creating cache $cache_file" >&6;} |
3259 | - >$cache_file |
3260 | -fi |
3261 | - |
3262 | -# Check that the precious variables saved in the cache have kept the same |
3263 | -# value. |
3264 | -ac_cache_corrupted=false |
3265 | -for ac_var in $ac_precious_vars; do |
3266 | - eval ac_old_set=\$ac_cv_env_${ac_var}_set |
3267 | - eval ac_new_set=\$ac_env_${ac_var}_set |
3268 | - eval ac_old_val=\$ac_cv_env_${ac_var}_value |
3269 | - eval ac_new_val=\$ac_env_${ac_var}_value |
3270 | - case $ac_old_set,$ac_new_set in |
3271 | - set,) |
3272 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
3273 | -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
3274 | - ac_cache_corrupted=: ;; |
3275 | - ,set) |
3276 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
3277 | -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
3278 | - ac_cache_corrupted=: ;; |
3279 | - ,);; |
3280 | - *) |
3281 | - if test "x$ac_old_val" != "x$ac_new_val"; then |
3282 | - # differences in whitespace do not lead to failure. |
3283 | - ac_old_val_w=`echo x $ac_old_val` |
3284 | - ac_new_val_w=`echo x $ac_new_val` |
3285 | - if test "$ac_old_val_w" != "$ac_new_val_w"; then |
3286 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
3287 | -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
3288 | - ac_cache_corrupted=: |
3289 | - else |
3290 | - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
3291 | -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
3292 | - eval $ac_var=\$ac_old_val |
3293 | - fi |
3294 | - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
3295 | -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
3296 | - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
3297 | -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
3298 | - fi;; |
3299 | - esac |
3300 | - # Pass precious variables to config.status. |
3301 | - if test "$ac_new_set" = set; then |
3302 | - case $ac_new_val in |
3303 | - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
3304 | - *) ac_arg=$ac_var=$ac_new_val ;; |
3305 | - esac |
3306 | - case " $ac_configure_args " in |
3307 | - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
3308 | - *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
3309 | - esac |
3310 | - fi |
3311 | -done |
3312 | -if $ac_cache_corrupted; then |
3313 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3314 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3315 | - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
3316 | -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
3317 | - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
3318 | -fi |
3319 | -## -------------------- ## |
3320 | -## Main body of script. ## |
3321 | -## -------------------- ## |
3322 | - |
3323 | -ac_ext=c |
3324 | -ac_cpp='$CPP $CPPFLAGS' |
3325 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3326 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3327 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3328 | - |
3329 | - |
3330 | - |
3331 | -ac_config_headers="$ac_config_headers config.h" |
3332 | - |
3333 | - |
3334 | -am__api_version='1.11' |
3335 | - |
3336 | -ac_aux_dir= |
3337 | -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3338 | - if test -f "$ac_dir/install-sh"; then |
3339 | - ac_aux_dir=$ac_dir |
3340 | - ac_install_sh="$ac_aux_dir/install-sh -c" |
3341 | - break |
3342 | - elif test -f "$ac_dir/install.sh"; then |
3343 | - ac_aux_dir=$ac_dir |
3344 | - ac_install_sh="$ac_aux_dir/install.sh -c" |
3345 | - break |
3346 | - elif test -f "$ac_dir/shtool"; then |
3347 | - ac_aux_dir=$ac_dir |
3348 | - ac_install_sh="$ac_aux_dir/shtool install -c" |
3349 | - break |
3350 | - fi |
3351 | -done |
3352 | -if test -z "$ac_aux_dir"; then |
3353 | - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3354 | -fi |
3355 | - |
3356 | -# These three variables are undocumented and unsupported, |
3357 | -# and are intended to be withdrawn in a future Autoconf release. |
3358 | -# They can cause serious problems if a builder's source tree is in a directory |
3359 | -# whose full name contains unusual characters. |
3360 | -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
3361 | -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
3362 | -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3363 | - |
3364 | - |
3365 | -# Find a good install program. We prefer a C program (faster), |
3366 | -# so one script is as good as another. But avoid the broken or |
3367 | -# incompatible versions: |
3368 | -# SysV /etc/install, /usr/sbin/install |
3369 | -# SunOS /usr/etc/install |
3370 | -# IRIX /sbin/install |
3371 | -# AIX /bin/install |
3372 | -# AmigaOS /C/install, which installs bootblocks on floppy discs |
3373 | -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3374 | -# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3375 | -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3376 | -# OS/2's system install, which has a completely different semantic |
3377 | -# ./install, which can be erroneously created by make from ./install.sh. |
3378 | -# Reject install programs that cannot install multiple files. |
3379 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
3380 | -$as_echo_n "checking for a BSD-compatible install... " >&6; } |
3381 | -if test -z "$INSTALL"; then |
3382 | -if test "${ac_cv_path_install+set}" = set; then : |
3383 | - $as_echo_n "(cached) " >&6 |
3384 | -else |
3385 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3386 | -for as_dir in $PATH |
3387 | -do |
3388 | - IFS=$as_save_IFS |
3389 | - test -z "$as_dir" && as_dir=. |
3390 | - # Account for people who put trailing slashes in PATH elements. |
3391 | -case $as_dir/ in #(( |
3392 | - ./ | .// | /[cC]/* | \ |
3393 | - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3394 | - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
3395 | - /usr/ucb/* ) ;; |
3396 | - *) |
3397 | - # OSF1 and SCO ODT 3.0 have their own names for install. |
3398 | - # Don't use installbsd from OSF since it installs stuff as root |
3399 | - # by default. |
3400 | - for ac_prog in ginstall scoinst install; do |
3401 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3402 | - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3403 | - if test $ac_prog = install && |
3404 | - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3405 | - # AIX install. It has an incompatible calling convention. |
3406 | - : |
3407 | - elif test $ac_prog = install && |
3408 | - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3409 | - # program-specific install script used by HP pwplus--don't use. |
3410 | - : |
3411 | - else |
3412 | - rm -rf conftest.one conftest.two conftest.dir |
3413 | - echo one > conftest.one |
3414 | - echo two > conftest.two |
3415 | - mkdir conftest.dir |
3416 | - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
3417 | - test -s conftest.one && test -s conftest.two && |
3418 | - test -s conftest.dir/conftest.one && |
3419 | - test -s conftest.dir/conftest.two |
3420 | - then |
3421 | - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3422 | - break 3 |
3423 | - fi |
3424 | - fi |
3425 | - fi |
3426 | - done |
3427 | - done |
3428 | - ;; |
3429 | -esac |
3430 | - |
3431 | - done |
3432 | -IFS=$as_save_IFS |
3433 | - |
3434 | -rm -rf conftest.one conftest.two conftest.dir |
3435 | - |
3436 | -fi |
3437 | - if test "${ac_cv_path_install+set}" = set; then |
3438 | - INSTALL=$ac_cv_path_install |
3439 | - else |
3440 | - # As a last resort, use the slow shell script. Don't cache a |
3441 | - # value for INSTALL within a source directory, because that will |
3442 | - # break other packages using the cache if that directory is |
3443 | - # removed, or if the value is a relative name. |
3444 | - INSTALL=$ac_install_sh |
3445 | - fi |
3446 | -fi |
3447 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
3448 | -$as_echo "$INSTALL" >&6; } |
3449 | - |
3450 | -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3451 | -# It thinks the first close brace ends the variable substitution. |
3452 | -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3453 | - |
3454 | -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3455 | - |
3456 | -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3457 | - |
3458 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
3459 | -$as_echo_n "checking whether build environment is sane... " >&6; } |
3460 | -# Just in case |
3461 | -sleep 1 |
3462 | -echo timestamp > conftest.file |
3463 | -# Reject unsafe characters in $srcdir or the absolute working directory |
3464 | -# name. Accept space and tab only in the latter. |
3465 | -am_lf=' |
3466 | -' |
3467 | -case `pwd` in |
3468 | - *[\\\"\#\$\&\'\`$am_lf]*) |
3469 | - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; |
3470 | -esac |
3471 | -case $srcdir in |
3472 | - *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
3473 | - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; |
3474 | -esac |
3475 | - |
3476 | -# Do `set' in a subshell so we don't clobber the current shell's |
3477 | -# arguments. Must try -L first in case configure is actually a |
3478 | -# symlink; some systems play weird games with the mod time of symlinks |
3479 | -# (eg FreeBSD returns the mod time of the symlink's containing |
3480 | -# directory). |
3481 | -if ( |
3482 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
3483 | - if test "$*" = "X"; then |
3484 | - # -L didn't work. |
3485 | - set X `ls -t "$srcdir/configure" conftest.file` |
3486 | - fi |
3487 | - rm -f conftest.file |
3488 | - if test "$*" != "X $srcdir/configure conftest.file" \ |
3489 | - && test "$*" != "X conftest.file $srcdir/configure"; then |
3490 | - |
3491 | - # If neither matched, then we have a broken ls. This can happen |
3492 | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
3493 | - # broken ls alias from the environment. This has actually |
3494 | - # happened. Such a system could not be considered "sane". |
3495 | - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
3496 | -alias in your environment" "$LINENO" 5 |
3497 | - fi |
3498 | - |
3499 | - test "$2" = conftest.file |
3500 | - ) |
3501 | -then |
3502 | - # Ok. |
3503 | - : |
3504 | -else |
3505 | - as_fn_error $? "newly created file is older than distributed files! |
3506 | -Check your system clock" "$LINENO" 5 |
3507 | -fi |
3508 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3509 | -$as_echo "yes" >&6; } |
3510 | -test "$program_prefix" != NONE && |
3511 | - program_transform_name="s&^&$program_prefix&;$program_transform_name" |
3512 | -# Use a double $ so make ignores it. |
3513 | -test "$program_suffix" != NONE && |
3514 | - program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
3515 | -# Double any \ or $. |
3516 | -# By default was `s,x,x', remove it if useless. |
3517 | -ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
3518 | -program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
3519 | - |
3520 | -# expand $ac_aux_dir to an absolute path |
3521 | -am_aux_dir=`cd $ac_aux_dir && pwd` |
3522 | - |
3523 | -if test x"${MISSING+set}" != xset; then |
3524 | - case $am_aux_dir in |
3525 | - *\ * | *\ *) |
3526 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
3527 | - *) |
3528 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; |
3529 | - esac |
3530 | -fi |
3531 | -# Use eval to expand $SHELL |
3532 | -if eval "$MISSING --run true"; then |
3533 | - am_missing_run="$MISSING --run " |
3534 | -else |
3535 | - am_missing_run= |
3536 | - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
3537 | -$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
3538 | -fi |
3539 | - |
3540 | -if test x"${install_sh}" != xset; then |
3541 | - case $am_aux_dir in |
3542 | - *\ * | *\ *) |
3543 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
3544 | - *) |
3545 | - install_sh="\${SHELL} $am_aux_dir/install-sh" |
3546 | - esac |
3547 | -fi |
3548 | - |
3549 | -# Installed binaries are usually stripped using `strip' when the user |
3550 | -# run `make install-strip'. However `strip' might not be the right |
3551 | -# tool to use in cross-compilation environments, therefore Automake |
3552 | -# will honor the `STRIP' environment variable to overrule this program. |
3553 | -if test "$cross_compiling" != no; then |
3554 | - if test -n "$ac_tool_prefix"; then |
3555 | - # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
3556 | -set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3557 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3558 | -$as_echo_n "checking for $ac_word... " >&6; } |
3559 | -if test "${ac_cv_prog_STRIP+set}" = set; then : |
3560 | - $as_echo_n "(cached) " >&6 |
3561 | -else |
3562 | - if test -n "$STRIP"; then |
3563 | - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
3564 | -else |
3565 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3566 | -for as_dir in $PATH |
3567 | -do |
3568 | - IFS=$as_save_IFS |
3569 | - test -z "$as_dir" && as_dir=. |
3570 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3571 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3572 | - ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3573 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3574 | - break 2 |
3575 | - fi |
3576 | -done |
3577 | - done |
3578 | -IFS=$as_save_IFS |
3579 | - |
3580 | -fi |
3581 | -fi |
3582 | -STRIP=$ac_cv_prog_STRIP |
3583 | -if test -n "$STRIP"; then |
3584 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
3585 | -$as_echo "$STRIP" >&6; } |
3586 | -else |
3587 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3588 | -$as_echo "no" >&6; } |
3589 | -fi |
3590 | - |
3591 | - |
3592 | -fi |
3593 | -if test -z "$ac_cv_prog_STRIP"; then |
3594 | - ac_ct_STRIP=$STRIP |
3595 | - # Extract the first word of "strip", so it can be a program name with args. |
3596 | -set dummy strip; ac_word=$2 |
3597 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3598 | -$as_echo_n "checking for $ac_word... " >&6; } |
3599 | -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : |
3600 | - $as_echo_n "(cached) " >&6 |
3601 | -else |
3602 | - if test -n "$ac_ct_STRIP"; then |
3603 | - ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
3604 | -else |
3605 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3606 | -for as_dir in $PATH |
3607 | -do |
3608 | - IFS=$as_save_IFS |
3609 | - test -z "$as_dir" && as_dir=. |
3610 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3611 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3612 | - ac_cv_prog_ac_ct_STRIP="strip" |
3613 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3614 | - break 2 |
3615 | - fi |
3616 | -done |
3617 | - done |
3618 | -IFS=$as_save_IFS |
3619 | - |
3620 | -fi |
3621 | -fi |
3622 | -ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3623 | -if test -n "$ac_ct_STRIP"; then |
3624 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
3625 | -$as_echo "$ac_ct_STRIP" >&6; } |
3626 | -else |
3627 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3628 | -$as_echo "no" >&6; } |
3629 | -fi |
3630 | - |
3631 | - if test "x$ac_ct_STRIP" = x; then |
3632 | - STRIP=":" |
3633 | - else |
3634 | - case $cross_compiling:$ac_tool_warned in |
3635 | -yes:) |
3636 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3637 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3638 | -ac_tool_warned=yes ;; |
3639 | -esac |
3640 | - STRIP=$ac_ct_STRIP |
3641 | - fi |
3642 | -else |
3643 | - STRIP="$ac_cv_prog_STRIP" |
3644 | -fi |
3645 | - |
3646 | -fi |
3647 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3648 | - |
3649 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
3650 | -$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3651 | -if test -z "$MKDIR_P"; then |
3652 | - if test "${ac_cv_path_mkdir+set}" = set; then : |
3653 | - $as_echo_n "(cached) " >&6 |
3654 | -else |
3655 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3656 | -for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
3657 | -do |
3658 | - IFS=$as_save_IFS |
3659 | - test -z "$as_dir" && as_dir=. |
3660 | - for ac_prog in mkdir gmkdir; do |
3661 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3662 | - { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3663 | - case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
3664 | - 'mkdir (GNU coreutils) '* | \ |
3665 | - 'mkdir (coreutils) '* | \ |
3666 | - 'mkdir (fileutils) '4.1*) |
3667 | - ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
3668 | - break 3;; |
3669 | - esac |
3670 | - done |
3671 | - done |
3672 | - done |
3673 | -IFS=$as_save_IFS |
3674 | - |
3675 | -fi |
3676 | - |
3677 | - test -d ./--version && rmdir ./--version |
3678 | - if test "${ac_cv_path_mkdir+set}" = set; then |
3679 | - MKDIR_P="$ac_cv_path_mkdir -p" |
3680 | - else |
3681 | - # As a last resort, use the slow shell script. Don't cache a |
3682 | - # value for MKDIR_P within a source directory, because that will |
3683 | - # break other packages using the cache if that directory is |
3684 | - # removed, or if the value is a relative name. |
3685 | - MKDIR_P="$ac_install_sh -d" |
3686 | - fi |
3687 | -fi |
3688 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
3689 | -$as_echo "$MKDIR_P" >&6; } |
3690 | - |
3691 | -mkdir_p="$MKDIR_P" |
3692 | -case $mkdir_p in |
3693 | - [\\/$]* | ?:[\\/]*) ;; |
3694 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
3695 | -esac |
3696 | - |
3697 | -for ac_prog in gawk mawk nawk awk |
3698 | -do |
3699 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
3700 | -set dummy $ac_prog; ac_word=$2 |
3701 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3702 | -$as_echo_n "checking for $ac_word... " >&6; } |
3703 | -if test "${ac_cv_prog_AWK+set}" = set; then : |
3704 | - $as_echo_n "(cached) " >&6 |
3705 | -else |
3706 | - if test -n "$AWK"; then |
3707 | - ac_cv_prog_AWK="$AWK" # Let the user override the test. |
3708 | -else |
3709 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3710 | -for as_dir in $PATH |
3711 | -do |
3712 | - IFS=$as_save_IFS |
3713 | - test -z "$as_dir" && as_dir=. |
3714 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3715 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3716 | - ac_cv_prog_AWK="$ac_prog" |
3717 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3718 | - break 2 |
3719 | - fi |
3720 | -done |
3721 | - done |
3722 | -IFS=$as_save_IFS |
3723 | - |
3724 | -fi |
3725 | -fi |
3726 | -AWK=$ac_cv_prog_AWK |
3727 | -if test -n "$AWK"; then |
3728 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3729 | -$as_echo "$AWK" >&6; } |
3730 | -else |
3731 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3732 | -$as_echo "no" >&6; } |
3733 | -fi |
3734 | - |
3735 | - |
3736 | - test -n "$AWK" && break |
3737 | -done |
3738 | - |
3739 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3740 | -$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3741 | -set x ${MAKE-make} |
3742 | -ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3743 | -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : |
3744 | - $as_echo_n "(cached) " >&6 |
3745 | -else |
3746 | - cat >conftest.make <<\_ACEOF |
3747 | -SHELL = /bin/sh |
3748 | -all: |
3749 | - @echo '@@@%%%=$(MAKE)=@@@%%%' |
3750 | -_ACEOF |
3751 | -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
3752 | -case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3753 | - *@@@%%%=?*=@@@%%%*) |
3754 | - eval ac_cv_prog_make_${ac_make}_set=yes;; |
3755 | - *) |
3756 | - eval ac_cv_prog_make_${ac_make}_set=no;; |
3757 | -esac |
3758 | -rm -f conftest.make |
3759 | -fi |
3760 | -if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3761 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3762 | -$as_echo "yes" >&6; } |
3763 | - SET_MAKE= |
3764 | -else |
3765 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3766 | -$as_echo "no" >&6; } |
3767 | - SET_MAKE="MAKE=${MAKE-make}" |
3768 | -fi |
3769 | - |
3770 | -rm -rf .tst 2>/dev/null |
3771 | -mkdir .tst 2>/dev/null |
3772 | -if test -d .tst; then |
3773 | - am__leading_dot=. |
3774 | -else |
3775 | - am__leading_dot=_ |
3776 | -fi |
3777 | -rmdir .tst 2>/dev/null |
3778 | - |
3779 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then |
3780 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
3781 | - # is not polluted with repeated "-I." |
3782 | - am__isrc=' -I$(srcdir)' |
3783 | - # test to see if srcdir already configured |
3784 | - if test -f $srcdir/config.status; then |
3785 | - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
3786 | - fi |
3787 | -fi |
3788 | - |
3789 | -# test whether we have cygpath |
3790 | -if test -z "$CYGPATH_W"; then |
3791 | - if (cygpath --version) >/dev/null 2>/dev/null; then |
3792 | - CYGPATH_W='cygpath -w' |
3793 | - else |
3794 | - CYGPATH_W=echo |
3795 | - fi |
3796 | -fi |
3797 | - |
3798 | - |
3799 | -# Define the identity of the package. |
3800 | - PACKAGE='ipsec-tools' |
3801 | - VERSION='0.8.0' |
3802 | - |
3803 | - |
3804 | -cat >>confdefs.h <<_ACEOF |
3805 | -#define PACKAGE "$PACKAGE" |
3806 | -_ACEOF |
3807 | - |
3808 | - |
3809 | -cat >>confdefs.h <<_ACEOF |
3810 | -#define VERSION "$VERSION" |
3811 | -_ACEOF |
3812 | - |
3813 | -# Some tools Automake needs. |
3814 | - |
3815 | -ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
3816 | - |
3817 | - |
3818 | -AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
3819 | - |
3820 | - |
3821 | -AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
3822 | - |
3823 | - |
3824 | -AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
3825 | - |
3826 | - |
3827 | -MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
3828 | - |
3829 | -# We need awk for the "check" target. The system "awk" is bad on |
3830 | -# some platforms. |
3831 | -# Always define AMTAR for backward compatibility. |
3832 | - |
3833 | -AMTAR=${AMTAR-"${am_missing_run}tar"} |
3834 | - |
3835 | -am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
3836 | - |
3837 | - |
3838 | - |
3839 | - |
3840 | - |
3841 | - |
3842 | -# Check whether --enable-shared was given. |
3843 | -if test "${enable_shared+set}" = set; then : |
3844 | - enableval=$enable_shared; p=${PACKAGE-default} |
3845 | - case $enableval in |
3846 | - yes) enable_shared=yes ;; |
3847 | - no) enable_shared=no ;; |
3848 | - *) |
3849 | - enable_shared=no |
3850 | - # Look at the argument we got. We use all the common list separators. |
3851 | - lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
3852 | - for pkg in $enableval; do |
3853 | - IFS="$lt_save_ifs" |
3854 | - if test "X$pkg" = "X$p"; then |
3855 | - enable_shared=yes |
3856 | - fi |
3857 | - done |
3858 | - IFS="$lt_save_ifs" |
3859 | - ;; |
3860 | - esac |
3861 | -else |
3862 | - enable_shared=no |
3863 | -fi |
3864 | - |
3865 | - |
3866 | - |
3867 | - |
3868 | - |
3869 | - |
3870 | - |
3871 | - |
3872 | - |
3873 | - |
3874 | -ac_ext=c |
3875 | -ac_cpp='$CPP $CPPFLAGS' |
3876 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3877 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3878 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3879 | -if test -n "$ac_tool_prefix"; then |
3880 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
3881 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3882 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3883 | -$as_echo_n "checking for $ac_word... " >&6; } |
3884 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3885 | - $as_echo_n "(cached) " >&6 |
3886 | -else |
3887 | - if test -n "$CC"; then |
3888 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3889 | -else |
3890 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3891 | -for as_dir in $PATH |
3892 | -do |
3893 | - IFS=$as_save_IFS |
3894 | - test -z "$as_dir" && as_dir=. |
3895 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3896 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3897 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3898 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3899 | - break 2 |
3900 | - fi |
3901 | -done |
3902 | - done |
3903 | -IFS=$as_save_IFS |
3904 | - |
3905 | -fi |
3906 | -fi |
3907 | -CC=$ac_cv_prog_CC |
3908 | -if test -n "$CC"; then |
3909 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3910 | -$as_echo "$CC" >&6; } |
3911 | -else |
3912 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3913 | -$as_echo "no" >&6; } |
3914 | -fi |
3915 | - |
3916 | - |
3917 | -fi |
3918 | -if test -z "$ac_cv_prog_CC"; then |
3919 | - ac_ct_CC=$CC |
3920 | - # Extract the first word of "gcc", so it can be a program name with args. |
3921 | -set dummy gcc; ac_word=$2 |
3922 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3923 | -$as_echo_n "checking for $ac_word... " >&6; } |
3924 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
3925 | - $as_echo_n "(cached) " >&6 |
3926 | -else |
3927 | - if test -n "$ac_ct_CC"; then |
3928 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3929 | -else |
3930 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3931 | -for as_dir in $PATH |
3932 | -do |
3933 | - IFS=$as_save_IFS |
3934 | - test -z "$as_dir" && as_dir=. |
3935 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3936 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3937 | - ac_cv_prog_ac_ct_CC="gcc" |
3938 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3939 | - break 2 |
3940 | - fi |
3941 | -done |
3942 | - done |
3943 | -IFS=$as_save_IFS |
3944 | - |
3945 | -fi |
3946 | -fi |
3947 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3948 | -if test -n "$ac_ct_CC"; then |
3949 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3950 | -$as_echo "$ac_ct_CC" >&6; } |
3951 | -else |
3952 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3953 | -$as_echo "no" >&6; } |
3954 | -fi |
3955 | - |
3956 | - if test "x$ac_ct_CC" = x; then |
3957 | - CC="" |
3958 | - else |
3959 | - case $cross_compiling:$ac_tool_warned in |
3960 | -yes:) |
3961 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3962 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3963 | -ac_tool_warned=yes ;; |
3964 | -esac |
3965 | - CC=$ac_ct_CC |
3966 | - fi |
3967 | -else |
3968 | - CC="$ac_cv_prog_CC" |
3969 | -fi |
3970 | - |
3971 | -if test -z "$CC"; then |
3972 | - if test -n "$ac_tool_prefix"; then |
3973 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3974 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3975 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3976 | -$as_echo_n "checking for $ac_word... " >&6; } |
3977 | -if test "${ac_cv_prog_CC+set}" = set; then : |
3978 | - $as_echo_n "(cached) " >&6 |
3979 | -else |
3980 | - if test -n "$CC"; then |
3981 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
3982 | -else |
3983 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3984 | -for as_dir in $PATH |
3985 | -do |
3986 | - IFS=$as_save_IFS |
3987 | - test -z "$as_dir" && as_dir=. |
3988 | - for ac_exec_ext in '' $ac_executable_extensions; do |
3989 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3990 | - ac_cv_prog_CC="${ac_tool_prefix}cc" |
3991 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3992 | - break 2 |
3993 | - fi |
3994 | -done |
3995 | - done |
3996 | -IFS=$as_save_IFS |
3997 | - |
3998 | -fi |
3999 | -fi |
4000 | -CC=$ac_cv_prog_CC |
4001 | -if test -n "$CC"; then |
4002 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4003 | -$as_echo "$CC" >&6; } |
4004 | -else |
4005 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4006 | -$as_echo "no" >&6; } |
4007 | -fi |
4008 | - |
4009 | - |
4010 | - fi |
4011 | -fi |
4012 | -if test -z "$CC"; then |
4013 | - # Extract the first word of "cc", so it can be a program name with args. |
4014 | -set dummy cc; ac_word=$2 |
4015 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4016 | -$as_echo_n "checking for $ac_word... " >&6; } |
4017 | -if test "${ac_cv_prog_CC+set}" = set; then : |
4018 | - $as_echo_n "(cached) " >&6 |
4019 | -else |
4020 | - if test -n "$CC"; then |
4021 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
4022 | -else |
4023 | - ac_prog_rejected=no |
4024 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4025 | -for as_dir in $PATH |
4026 | -do |
4027 | - IFS=$as_save_IFS |
4028 | - test -z "$as_dir" && as_dir=. |
4029 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4030 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4031 | - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4032 | - ac_prog_rejected=yes |
4033 | - continue |
4034 | - fi |
4035 | - ac_cv_prog_CC="cc" |
4036 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4037 | - break 2 |
4038 | - fi |
4039 | -done |
4040 | - done |
4041 | -IFS=$as_save_IFS |
4042 | - |
4043 | -if test $ac_prog_rejected = yes; then |
4044 | - # We found a bogon in the path, so make sure we never use it. |
4045 | - set dummy $ac_cv_prog_CC |
4046 | - shift |
4047 | - if test $# != 0; then |
4048 | - # We chose a different compiler from the bogus one. |
4049 | - # However, it has the same basename, so the bogon will be chosen |
4050 | - # first if we set CC to just the basename; use the full file name. |
4051 | - shift |
4052 | - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
4053 | - fi |
4054 | -fi |
4055 | -fi |
4056 | -fi |
4057 | -CC=$ac_cv_prog_CC |
4058 | -if test -n "$CC"; then |
4059 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4060 | -$as_echo "$CC" >&6; } |
4061 | -else |
4062 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4063 | -$as_echo "no" >&6; } |
4064 | -fi |
4065 | - |
4066 | - |
4067 | -fi |
4068 | -if test -z "$CC"; then |
4069 | - if test -n "$ac_tool_prefix"; then |
4070 | - for ac_prog in cl.exe |
4071 | - do |
4072 | - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4073 | -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4074 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4075 | -$as_echo_n "checking for $ac_word... " >&6; } |
4076 | -if test "${ac_cv_prog_CC+set}" = set; then : |
4077 | - $as_echo_n "(cached) " >&6 |
4078 | -else |
4079 | - if test -n "$CC"; then |
4080 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
4081 | -else |
4082 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4083 | -for as_dir in $PATH |
4084 | -do |
4085 | - IFS=$as_save_IFS |
4086 | - test -z "$as_dir" && as_dir=. |
4087 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4088 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4089 | - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4090 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4091 | - break 2 |
4092 | - fi |
4093 | -done |
4094 | - done |
4095 | -IFS=$as_save_IFS |
4096 | - |
4097 | -fi |
4098 | -fi |
4099 | -CC=$ac_cv_prog_CC |
4100 | -if test -n "$CC"; then |
4101 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4102 | -$as_echo "$CC" >&6; } |
4103 | -else |
4104 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4105 | -$as_echo "no" >&6; } |
4106 | -fi |
4107 | - |
4108 | - |
4109 | - test -n "$CC" && break |
4110 | - done |
4111 | -fi |
4112 | -if test -z "$CC"; then |
4113 | - ac_ct_CC=$CC |
4114 | - for ac_prog in cl.exe |
4115 | -do |
4116 | - # Extract the first word of "$ac_prog", so it can be a program name with args. |
4117 | -set dummy $ac_prog; ac_word=$2 |
4118 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4119 | -$as_echo_n "checking for $ac_word... " >&6; } |
4120 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
4121 | - $as_echo_n "(cached) " >&6 |
4122 | -else |
4123 | - if test -n "$ac_ct_CC"; then |
4124 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4125 | -else |
4126 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4127 | -for as_dir in $PATH |
4128 | -do |
4129 | - IFS=$as_save_IFS |
4130 | - test -z "$as_dir" && as_dir=. |
4131 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4132 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4133 | - ac_cv_prog_ac_ct_CC="$ac_prog" |
4134 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4135 | - break 2 |
4136 | - fi |
4137 | -done |
4138 | - done |
4139 | -IFS=$as_save_IFS |
4140 | - |
4141 | -fi |
4142 | -fi |
4143 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4144 | -if test -n "$ac_ct_CC"; then |
4145 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4146 | -$as_echo "$ac_ct_CC" >&6; } |
4147 | -else |
4148 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4149 | -$as_echo "no" >&6; } |
4150 | -fi |
4151 | - |
4152 | - |
4153 | - test -n "$ac_ct_CC" && break |
4154 | -done |
4155 | - |
4156 | - if test "x$ac_ct_CC" = x; then |
4157 | - CC="" |
4158 | - else |
4159 | - case $cross_compiling:$ac_tool_warned in |
4160 | -yes:) |
4161 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4162 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4163 | -ac_tool_warned=yes ;; |
4164 | -esac |
4165 | - CC=$ac_ct_CC |
4166 | - fi |
4167 | -fi |
4168 | - |
4169 | -fi |
4170 | - |
4171 | - |
4172 | -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4173 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4174 | -as_fn_error $? "no acceptable C compiler found in \$PATH |
4175 | -See \`config.log' for more details" "$LINENO" 5 ; } |
4176 | - |
4177 | -# Provide some information about the compiler. |
4178 | -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
4179 | -set X $ac_compile |
4180 | -ac_compiler=$2 |
4181 | -for ac_option in --version -v -V -qversion; do |
4182 | - { { ac_try="$ac_compiler $ac_option >&5" |
4183 | -case "(($ac_try" in |
4184 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4185 | - *) ac_try_echo=$ac_try;; |
4186 | -esac |
4187 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4188 | -$as_echo "$ac_try_echo"; } >&5 |
4189 | - (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4190 | - ac_status=$? |
4191 | - if test -s conftest.err; then |
4192 | - sed '10a\ |
4193 | -... rest of stderr output deleted ... |
4194 | - 10q' conftest.err >conftest.er1 |
4195 | - cat conftest.er1 >&5 |
4196 | - fi |
4197 | - rm -f conftest.er1 conftest.err |
4198 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4199 | - test $ac_status = 0; } |
4200 | -done |
4201 | - |
4202 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4203 | -/* end confdefs.h. */ |
4204 | - |
4205 | -int |
4206 | -main () |
4207 | -{ |
4208 | - |
4209 | - ; |
4210 | - return 0; |
4211 | -} |
4212 | -_ACEOF |
4213 | -ac_clean_files_save=$ac_clean_files |
4214 | -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
4215 | -# Try to create an executable without -o first, disregard a.out. |
4216 | -# It will help us diagnose broken compilers, and finding out an intuition |
4217 | -# of exeext. |
4218 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
4219 | -$as_echo_n "checking whether the C compiler works... " >&6; } |
4220 | -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
4221 | - |
4222 | -# The possible output files: |
4223 | -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
4224 | - |
4225 | -ac_rmfiles= |
4226 | -for ac_file in $ac_files |
4227 | -do |
4228 | - case $ac_file in |
4229 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
4230 | - * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
4231 | - esac |
4232 | -done |
4233 | -rm -f $ac_rmfiles |
4234 | - |
4235 | -if { { ac_try="$ac_link_default" |
4236 | -case "(($ac_try" in |
4237 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4238 | - *) ac_try_echo=$ac_try;; |
4239 | -esac |
4240 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4241 | -$as_echo "$ac_try_echo"; } >&5 |
4242 | - (eval "$ac_link_default") 2>&5 |
4243 | - ac_status=$? |
4244 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4245 | - test $ac_status = 0; }; then : |
4246 | - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
4247 | -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
4248 | -# in a Makefile. We should not override ac_cv_exeext if it was cached, |
4249 | -# so that the user can short-circuit this test for compilers unknown to |
4250 | -# Autoconf. |
4251 | -for ac_file in $ac_files '' |
4252 | -do |
4253 | - test -f "$ac_file" || continue |
4254 | - case $ac_file in |
4255 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
4256 | - ;; |
4257 | - [ab].out ) |
4258 | - # We found the default executable, but exeext='' is most |
4259 | - # certainly right. |
4260 | - break;; |
4261 | - *.* ) |
4262 | - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
4263 | - then :; else |
4264 | - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4265 | - fi |
4266 | - # We set ac_cv_exeext here because the later test for it is not |
4267 | - # safe: cross compilers may not add the suffix if given an `-o' |
4268 | - # argument, so we may need to know it at that point already. |
4269 | - # Even if this section looks crufty: it has the advantage of |
4270 | - # actually working. |
4271 | - break;; |
4272 | - * ) |
4273 | - break;; |
4274 | - esac |
4275 | -done |
4276 | -test "$ac_cv_exeext" = no && ac_cv_exeext= |
4277 | - |
4278 | -else |
4279 | - ac_file='' |
4280 | -fi |
4281 | -if test -z "$ac_file"; then : |
4282 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4283 | -$as_echo "no" >&6; } |
4284 | -$as_echo "$as_me: failed program was:" >&5 |
4285 | -sed 's/^/| /' conftest.$ac_ext >&5 |
4286 | - |
4287 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4288 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4289 | -as_fn_error 77 "C compiler cannot create executables |
4290 | -See \`config.log' for more details" "$LINENO" 5 ; } |
4291 | -else |
4292 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
4293 | -$as_echo "yes" >&6; } |
4294 | -fi |
4295 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
4296 | -$as_echo_n "checking for C compiler default output file name... " >&6; } |
4297 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
4298 | -$as_echo "$ac_file" >&6; } |
4299 | -ac_exeext=$ac_cv_exeext |
4300 | - |
4301 | -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
4302 | -ac_clean_files=$ac_clean_files_save |
4303 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
4304 | -$as_echo_n "checking for suffix of executables... " >&6; } |
4305 | -if { { ac_try="$ac_link" |
4306 | -case "(($ac_try" in |
4307 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4308 | - *) ac_try_echo=$ac_try;; |
4309 | -esac |
4310 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4311 | -$as_echo "$ac_try_echo"; } >&5 |
4312 | - (eval "$ac_link") 2>&5 |
4313 | - ac_status=$? |
4314 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4315 | - test $ac_status = 0; }; then : |
4316 | - # If both `conftest.exe' and `conftest' are `present' (well, observable) |
4317 | -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
4318 | -# work properly (i.e., refer to `conftest.exe'), while it won't with |
4319 | -# `rm'. |
4320 | -for ac_file in conftest.exe conftest conftest.*; do |
4321 | - test -f "$ac_file" || continue |
4322 | - case $ac_file in |
4323 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
4324 | - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4325 | - break;; |
4326 | - * ) break;; |
4327 | - esac |
4328 | -done |
4329 | -else |
4330 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4331 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4332 | -as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
4333 | -See \`config.log' for more details" "$LINENO" 5 ; } |
4334 | -fi |
4335 | -rm -f conftest conftest$ac_cv_exeext |
4336 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
4337 | -$as_echo "$ac_cv_exeext" >&6; } |
4338 | - |
4339 | -rm -f conftest.$ac_ext |
4340 | -EXEEXT=$ac_cv_exeext |
4341 | -ac_exeext=$EXEEXT |
4342 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4343 | -/* end confdefs.h. */ |
4344 | -#include <stdio.h> |
4345 | -int |
4346 | -main () |
4347 | -{ |
4348 | -FILE *f = fopen ("conftest.out", "w"); |
4349 | - return ferror (f) || fclose (f) != 0; |
4350 | - |
4351 | - ; |
4352 | - return 0; |
4353 | -} |
4354 | -_ACEOF |
4355 | -ac_clean_files="$ac_clean_files conftest.out" |
4356 | -# Check that the compiler produces executables we can run. If not, either |
4357 | -# the compiler is broken, or we cross compile. |
4358 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
4359 | -$as_echo_n "checking whether we are cross compiling... " >&6; } |
4360 | -if test "$cross_compiling" != yes; then |
4361 | - { { ac_try="$ac_link" |
4362 | -case "(($ac_try" in |
4363 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4364 | - *) ac_try_echo=$ac_try;; |
4365 | -esac |
4366 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4367 | -$as_echo "$ac_try_echo"; } >&5 |
4368 | - (eval "$ac_link") 2>&5 |
4369 | - ac_status=$? |
4370 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4371 | - test $ac_status = 0; } |
4372 | - if { ac_try='./conftest$ac_cv_exeext' |
4373 | - { { case "(($ac_try" in |
4374 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4375 | - *) ac_try_echo=$ac_try;; |
4376 | -esac |
4377 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4378 | -$as_echo "$ac_try_echo"; } >&5 |
4379 | - (eval "$ac_try") 2>&5 |
4380 | - ac_status=$? |
4381 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4382 | - test $ac_status = 0; }; }; then |
4383 | - cross_compiling=no |
4384 | - else |
4385 | - if test "$cross_compiling" = maybe; then |
4386 | - cross_compiling=yes |
4387 | - else |
4388 | - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4389 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4390 | -as_fn_error $? "cannot run C compiled programs. |
4391 | -If you meant to cross compile, use \`--host'. |
4392 | -See \`config.log' for more details" "$LINENO" 5 ; } |
4393 | - fi |
4394 | - fi |
4395 | -fi |
4396 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
4397 | -$as_echo "$cross_compiling" >&6; } |
4398 | - |
4399 | -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
4400 | -ac_clean_files=$ac_clean_files_save |
4401 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
4402 | -$as_echo_n "checking for suffix of object files... " >&6; } |
4403 | -if test "${ac_cv_objext+set}" = set; then : |
4404 | - $as_echo_n "(cached) " >&6 |
4405 | -else |
4406 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4407 | -/* end confdefs.h. */ |
4408 | - |
4409 | -int |
4410 | -main () |
4411 | -{ |
4412 | - |
4413 | - ; |
4414 | - return 0; |
4415 | -} |
4416 | -_ACEOF |
4417 | -rm -f conftest.o conftest.obj |
4418 | -if { { ac_try="$ac_compile" |
4419 | -case "(($ac_try" in |
4420 | - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4421 | - *) ac_try_echo=$ac_try;; |
4422 | -esac |
4423 | -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4424 | -$as_echo "$ac_try_echo"; } >&5 |
4425 | - (eval "$ac_compile") 2>&5 |
4426 | - ac_status=$? |
4427 | - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4428 | - test $ac_status = 0; }; then : |
4429 | - for ac_file in conftest.o conftest.obj conftest.*; do |
4430 | - test -f "$ac_file" || continue; |
4431 | - case $ac_file in |
4432 | - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
4433 | - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
4434 | - break;; |
4435 | - esac |
4436 | -done |
4437 | -else |
4438 | - $as_echo "$as_me: failed program was:" >&5 |
4439 | -sed 's/^/| /' conftest.$ac_ext >&5 |
4440 | - |
4441 | -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4442 | -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4443 | -as_fn_error $? "cannot compute suffix of object files: cannot compile |
4444 | -See \`config.log' for more details" "$LINENO" 5 ; } |
4445 | -fi |
4446 | -rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4447 | -fi |
4448 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4449 | -$as_echo "$ac_cv_objext" >&6; } |
4450 | -OBJEXT=$ac_cv_objext |
4451 | -ac_objext=$OBJEXT |
4452 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4453 | -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4454 | -if test "${ac_cv_c_compiler_gnu+set}" = set; then : |
4455 | - $as_echo_n "(cached) " >&6 |
4456 | -else |
4457 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4458 | -/* end confdefs.h. */ |
4459 | - |
4460 | -int |
4461 | -main () |
4462 | -{ |
4463 | -#ifndef __GNUC__ |
4464 | - choke me |
4465 | -#endif |
4466 | - |
4467 | - ; |
4468 | - return 0; |
4469 | -} |
4470 | -_ACEOF |
4471 | -if ac_fn_c_try_compile "$LINENO"; then : |
4472 | - ac_compiler_gnu=yes |
4473 | -else |
4474 | - ac_compiler_gnu=no |
4475 | -fi |
4476 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4477 | -ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4478 | - |
4479 | -fi |
4480 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4481 | -$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4482 | -if test $ac_compiler_gnu = yes; then |
4483 | - GCC=yes |
4484 | -else |
4485 | - GCC= |
4486 | -fi |
4487 | -ac_test_CFLAGS=${CFLAGS+set} |
4488 | -ac_save_CFLAGS=$CFLAGS |
4489 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4490 | -$as_echo_n "checking whether $CC accepts -g... " >&6; } |
4491 | -if test "${ac_cv_prog_cc_g+set}" = set; then : |
4492 | - $as_echo_n "(cached) " >&6 |
4493 | -else |
4494 | - ac_save_c_werror_flag=$ac_c_werror_flag |
4495 | - ac_c_werror_flag=yes |
4496 | - ac_cv_prog_cc_g=no |
4497 | - CFLAGS="-g" |
4498 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4499 | -/* end confdefs.h. */ |
4500 | - |
4501 | -int |
4502 | -main () |
4503 | -{ |
4504 | - |
4505 | - ; |
4506 | - return 0; |
4507 | -} |
4508 | -_ACEOF |
4509 | -if ac_fn_c_try_compile "$LINENO"; then : |
4510 | - ac_cv_prog_cc_g=yes |
4511 | -else |
4512 | - CFLAGS="" |
4513 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4514 | -/* end confdefs.h. */ |
4515 | - |
4516 | -int |
4517 | -main () |
4518 | -{ |
4519 | - |
4520 | - ; |
4521 | - return 0; |
4522 | -} |
4523 | -_ACEOF |
4524 | -if ac_fn_c_try_compile "$LINENO"; then : |
4525 | - |
4526 | -else |
4527 | - ac_c_werror_flag=$ac_save_c_werror_flag |
4528 | - CFLAGS="-g" |
4529 | - cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4530 | -/* end confdefs.h. */ |
4531 | - |
4532 | -int |
4533 | -main () |
4534 | -{ |
4535 | - |
4536 | - ; |
4537 | - return 0; |
4538 | -} |
4539 | -_ACEOF |
4540 | -if ac_fn_c_try_compile "$LINENO"; then : |
4541 | - ac_cv_prog_cc_g=yes |
4542 | -fi |
4543 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4544 | -fi |
4545 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4546 | -fi |
4547 | -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4548 | - ac_c_werror_flag=$ac_save_c_werror_flag |
4549 | -fi |
4550 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4551 | -$as_echo "$ac_cv_prog_cc_g" >&6; } |
4552 | -if test "$ac_test_CFLAGS" = set; then |
4553 | - CFLAGS=$ac_save_CFLAGS |
4554 | -elif test $ac_cv_prog_cc_g = yes; then |
4555 | - if test "$GCC" = yes; then |
4556 | - CFLAGS="-g -O2" |
4557 | - else |
4558 | - CFLAGS="-g" |
4559 | - fi |
4560 | -else |
4561 | - if test "$GCC" = yes; then |
4562 | - CFLAGS="-O2" |
4563 | - else |
4564 | - CFLAGS= |
4565 | - fi |
4566 | -fi |
4567 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4568 | -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4569 | -if test "${ac_cv_prog_cc_c89+set}" = set; then : |
4570 | - $as_echo_n "(cached) " >&6 |
4571 | -else |
4572 | - ac_cv_prog_cc_c89=no |
4573 | -ac_save_CC=$CC |
4574 | -cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4575 | -/* end confdefs.h. */ |
4576 | -#include <stdarg.h> |
4577 | -#include <stdio.h> |
4578 | -#include <sys/types.h> |
4579 | -#include <sys/stat.h> |
4580 | -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4581 | -struct buf { int x; }; |
4582 | -FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4583 | -static char *e (p, i) |
4584 | - char **p; |
4585 | - int i; |
4586 | -{ |
4587 | - return p[i]; |
4588 | -} |
4589 | -static char *f (char * (*g) (char **, int), char **p, ...) |
4590 | -{ |
4591 | - char *s; |
4592 | - va_list v; |
4593 | - va_start (v,p); |
4594 | - s = g (p, va_arg (v,int)); |
4595 | - va_end (v); |
4596 | - return s; |
4597 | -} |
4598 | - |
4599 | -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4600 | - function prototypes and stuff, but not '\xHH' hex character constants. |
4601 | - These don't provoke an error unfortunately, instead are silently treated |
4602 | - as 'x'. The following induces an error, until -std is added to get |
4603 | - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4604 | - array size at least. It's necessary to write '\x00'==0 to get something |
4605 | - that's true only with -std. */ |
4606 | -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4607 | - |
4608 | -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
4609 | - inside strings and character constants. */ |
4610 | -#define FOO(x) 'x' |
4611 | -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
4612 | - |
4613 | -int test (int i, double x); |
4614 | -struct s1 {int (*f) (int a);}; |
4615 | -struct s2 {int (*f) (double a);}; |
4616 | -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4617 | -int argc; |
4618 | -char **argv; |
4619 | -int |
4620 | -main () |
4621 | -{ |
4622 | -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4623 | - ; |
4624 | - return 0; |
4625 | -} |
4626 | -_ACEOF |
4627 | -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4628 | - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4629 | -do |
4630 | - CC="$ac_save_CC $ac_arg" |
4631 | - if ac_fn_c_try_compile "$LINENO"; then : |
4632 | - ac_cv_prog_cc_c89=$ac_arg |
4633 | -fi |
4634 | -rm -f core conftest.err conftest.$ac_objext |
4635 | - test "x$ac_cv_prog_cc_c89" != "xno" && break |
4636 | -done |
4637 | -rm -f conftest.$ac_ext |
4638 | -CC=$ac_save_CC |
4639 | - |
4640 | -fi |
4641 | -# AC_CACHE_VAL |
4642 | -case "x$ac_cv_prog_cc_c89" in |
4643 | - x) |
4644 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4645 | -$as_echo "none needed" >&6; } ;; |
4646 | - xno) |
4647 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4648 | -$as_echo "unsupported" >&6; } ;; |
4649 | - *) |
4650 | - CC="$CC $ac_cv_prog_cc_c89" |
4651 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4652 | -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4653 | -esac |
4654 | -if test "x$ac_cv_prog_cc_c89" != xno; then : |
4655 | - |
4656 | -fi |
4657 | - |
4658 | -ac_ext=c |
4659 | -ac_cpp='$CPP $CPPFLAGS' |
4660 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4661 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4662 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4663 | -DEPDIR="${am__leading_dot}deps" |
4664 | - |
4665 | -ac_config_commands="$ac_config_commands depfiles" |
4666 | - |
4667 | - |
4668 | -am_make=${MAKE-make} |
4669 | -cat > confinc << 'END' |
4670 | -am__doit: |
4671 | - @echo this is the am__doit target |
4672 | -.PHONY: am__doit |
4673 | -END |
4674 | -# If we don't find an include directive, just comment out the code. |
4675 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
4676 | -$as_echo_n "checking for style of include used by $am_make... " >&6; } |
4677 | -am__include="#" |
4678 | -am__quote= |
4679 | -_am_result=none |
4680 | -# First try GNU make style include. |
4681 | -echo "include confinc" > confmf |
4682 | -# Ignore all kinds of additional output from `make'. |
4683 | -case `$am_make -s -f confmf 2> /dev/null` in #( |
4684 | -*the\ am__doit\ target*) |
4685 | - am__include=include |
4686 | - am__quote= |
4687 | - _am_result=GNU |
4688 | - ;; |
4689 | -esac |
4690 | -# Now try BSD make style include. |
4691 | -if test "$am__include" = "#"; then |
4692 | - echo '.include "confinc"' > confmf |
4693 | - case `$am_make -s -f confmf 2> /dev/null` in #( |
4694 | - *the\ am__doit\ target*) |
4695 | - am__include=.include |
4696 | - am__quote="\"" |
4697 | - _am_result=BSD |
4698 | - ;; |
4699 | - esac |
4700 | -fi |
4701 | - |
4702 | - |
4703 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
4704 | -$as_echo "$_am_result" >&6; } |
4705 | -rm -f confinc confmf |
4706 | - |
4707 | -# Check whether --enable-dependency-tracking was given. |
4708 | -if test "${enable_dependency_tracking+set}" = set; then : |
4709 | - enableval=$enable_dependency_tracking; |
4710 | -fi |
4711 | - |
4712 | -if test "x$enable_dependency_tracking" != xno; then |
4713 | - am_depcomp="$ac_aux_dir/depcomp" |
4714 | - AMDEPBACKSLASH='\' |
4715 | -fi |
4716 | - if test "x$enable_dependency_tracking" != xno; then |
4717 | - AMDEP_TRUE= |
4718 | - AMDEP_FALSE='#' |
4719 | -else |
4720 | - AMDEP_TRUE='#' |
4721 | - AMDEP_FALSE= |
4722 | -fi |
4723 | - |
4724 | - |
4725 | - |
4726 | -depcc="$CC" am_compiler_list= |
4727 | - |
4728 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4729 | -$as_echo_n "checking dependency style of $depcc... " >&6; } |
4730 | -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : |
4731 | - $as_echo_n "(cached) " >&6 |
4732 | -else |
4733 | - if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4734 | - # We make a subdir and do the tests there. Otherwise we can end up |
4735 | - # making bogus files that we don't know about and never remove. For |
4736 | - # instance it was reported that on HP-UX the gcc test will end up |
4737 | - # making a dummy file named `D' -- because `-MD' means `put the output |
4738 | - # in D'. |
4739 | - mkdir conftest.dir |
4740 | - # Copy depcomp to subdir because otherwise we won't find it if we're |
4741 | - # using a relative directory. |
4742 | - cp "$am_depcomp" conftest.dir |
4743 | - cd conftest.dir |
4744 | - # We will build objects and dependencies in a subdirectory because |
4745 | - # it helps to detect inapplicable dependency modes. For instance |
4746 | - # both Tru64's cc and ICC support -MD to output dependencies as a |
4747 | - # side effect of compilation, but ICC will put the dependencies in |
4748 | - # the current directory while Tru64 will put them in the object |
4749 | - # directory. |
4750 | - mkdir sub |
4751 | - |
4752 | - am_cv_CC_dependencies_compiler_type=none |
4753 | - if test "$am_compiler_list" = ""; then |
4754 | - am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4755 | - fi |
4756 | - am__universal=false |
4757 | - case " $depcc " in #( |
4758 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
4759 | - esac |
4760 | - |
4761 | - for depmode in $am_compiler_list; do |
4762 | - # Setup a source with many dependencies, because some compilers |
4763 | - # like to wrap large dependency lists on column 80 (with \), and |
4764 | - # we should not choose a depcomp mode which is confused by this. |
4765 | - # |
4766 | - # We need to recreate these files for each test, as the compiler may |
4767 | - # overwrite some of them when testing with obscure command lines. |
4768 | - # This happens at least with the AIX C compiler. |
4769 | - : > sub/conftest.c |
4770 | - for i in 1 2 3 4 5 6; do |
4771 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4772 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4773 | - # Solaris 8's {/usr,}/bin/sh. |
4774 | - touch sub/conftst$i.h |
4775 | - done |
4776 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4777 | - |
4778 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" |
4779 | - # mode. It turns out that the SunPro C++ compiler does not properly |
4780 | - # handle `-M -o', and we need to detect this. Also, some Intel |
4781 | - # versions had trouble with output in subdirs |
4782 | - am__obj=sub/conftest.${OBJEXT-o} |
4783 | - am__minus_obj="-o $am__obj" |
4784 | - case $depmode in |
4785 | - gcc) |
4786 | - # This depmode causes a compiler race in universal mode. |
4787 | - test "$am__universal" = false || continue |
4788 | - ;; |
4789 | - nosideeffect) |
4790 | - # after this tag, mechanisms are not by side-effect, so they'll |
4791 | - # only be used when explicitly requested |
4792 | - if test "x$enable_dependency_tracking" = xyes; then |
4793 | - continue |
4794 | - else |
4795 | - break |
4796 | - fi |
4797 | - ;; |
4798 | - msvisualcpp | msvcmsys) |
4799 | - # This compiler won't grok `-c -o', but also, the minuso test has |
4800 | - # not run yet. These depmodes are late enough in the game, and |
4801 | - # so weak that their functioning should not be impacted. |
4802 | - am__obj=conftest.${OBJEXT-o} |
4803 | - am__minus_obj= |
4804 | - ;; |
4805 | - none) break ;; |
4806 | - esac |
4807 | - if depmode=$depmode \ |
4808 | - source=sub/conftest.c object=$am__obj \ |
4809 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4810 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4811 | - >/dev/null 2>conftest.err && |
4812 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4813 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4814 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4815 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4816 | - # icc doesn't choke on unknown options, it will just issue warnings |
4817 | - # or remarks (even with -Werror). So we grep stderr for any message |
4818 | - # that says an option was ignored or not supported. |
4819 | - # When given -MP, icc 7.0 and 7.1 complain thusly: |
4820 | - # icc: Command line warning: ignoring option '-M'; no argument required |
4821 | - # The diagnosis changed in icc 8.0: |
4822 | - # icc: Command line remark: option '-MP' not supported |
4823 | - if (grep 'ignoring option' conftest.err || |
4824 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4825 | - am_cv_CC_dependencies_compiler_type=$depmode |
4826 | - break |
4827 | - fi |
4828 | - fi |
4829 | - done |
4830 | - |
4831 | - cd .. |
4832 | - rm -rf conftest.dir |
4833 | -else |
4834 | - am_cv_CC_dependencies_compiler_type=none |
4835 | -fi |
4836 | - |
4837 | -fi |
4838 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4839 | -$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4840 | -CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4841 | - |
4842 | - if |
4843 | - test "x$enable_dependency_tracking" != xno \ |
4844 | - && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4845 | - am__fastdepCC_TRUE= |
4846 | - am__fastdepCC_FALSE='#' |
4847 | -else |
4848 | - am__fastdepCC_TRUE='#' |
4849 | - am__fastdepCC_FALSE= |
4850 | -fi |
4851 | - |
4852 | - |
4853 | -ac_ext=c |
4854 | -ac_cpp='$CPP $CPPFLAGS' |
4855 | -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4856 | -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4857 | -ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4858 | -if test -n "$ac_tool_prefix"; then |
4859 | - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4860 | -set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4861 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4862 | -$as_echo_n "checking for $ac_word... " >&6; } |
4863 | -if test "${ac_cv_prog_CC+set}" = set; then : |
4864 | - $as_echo_n "(cached) " >&6 |
4865 | -else |
4866 | - if test -n "$CC"; then |
4867 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
4868 | -else |
4869 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4870 | -for as_dir in $PATH |
4871 | -do |
4872 | - IFS=$as_save_IFS |
4873 | - test -z "$as_dir" && as_dir=. |
4874 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4875 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4876 | - ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4877 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4878 | - break 2 |
4879 | - fi |
4880 | -done |
4881 | - done |
4882 | -IFS=$as_save_IFS |
4883 | - |
4884 | -fi |
4885 | -fi |
4886 | -CC=$ac_cv_prog_CC |
4887 | -if test -n "$CC"; then |
4888 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4889 | -$as_echo "$CC" >&6; } |
4890 | -else |
4891 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4892 | -$as_echo "no" >&6; } |
4893 | -fi |
4894 | - |
4895 | - |
4896 | -fi |
4897 | -if test -z "$ac_cv_prog_CC"; then |
4898 | - ac_ct_CC=$CC |
4899 | - # Extract the first word of "gcc", so it can be a program name with args. |
4900 | -set dummy gcc; ac_word=$2 |
4901 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4902 | -$as_echo_n "checking for $ac_word... " >&6; } |
4903 | -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : |
4904 | - $as_echo_n "(cached) " >&6 |
4905 | -else |
4906 | - if test -n "$ac_ct_CC"; then |
4907 | - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4908 | -else |
4909 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4910 | -for as_dir in $PATH |
4911 | -do |
4912 | - IFS=$as_save_IFS |
4913 | - test -z "$as_dir" && as_dir=. |
4914 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4915 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4916 | - ac_cv_prog_ac_ct_CC="gcc" |
4917 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4918 | - break 2 |
4919 | - fi |
4920 | -done |
4921 | - done |
4922 | -IFS=$as_save_IFS |
4923 | - |
4924 | -fi |
4925 | -fi |
4926 | -ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4927 | -if test -n "$ac_ct_CC"; then |
4928 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4929 | -$as_echo "$ac_ct_CC" >&6; } |
4930 | -else |
4931 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4932 | -$as_echo "no" >&6; } |
4933 | -fi |
4934 | - |
4935 | - if test "x$ac_ct_CC" = x; then |
4936 | - CC="" |
4937 | - else |
4938 | - case $cross_compiling:$ac_tool_warned in |
4939 | -yes:) |
4940 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4941 | -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4942 | -ac_tool_warned=yes ;; |
4943 | -esac |
4944 | - CC=$ac_ct_CC |
4945 | - fi |
4946 | -else |
4947 | - CC="$ac_cv_prog_CC" |
4948 | -fi |
4949 | - |
4950 | -if test -z "$CC"; then |
4951 | - if test -n "$ac_tool_prefix"; then |
4952 | - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4953 | -set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4954 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4955 | -$as_echo_n "checking for $ac_word... " >&6; } |
4956 | -if test "${ac_cv_prog_CC+set}" = set; then : |
4957 | - $as_echo_n "(cached) " >&6 |
4958 | -else |
4959 | - if test -n "$CC"; then |
4960 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
4961 | -else |
4962 | -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4963 | -for as_dir in $PATH |
4964 | -do |
4965 | - IFS=$as_save_IFS |
4966 | - test -z "$as_dir" && as_dir=. |
4967 | - for ac_exec_ext in '' $ac_executable_extensions; do |
4968 | - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4969 | - ac_cv_prog_CC="${ac_tool_prefix}cc" |
4970 | - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4971 | - break 2 |
4972 | - fi |
4973 | -done |
4974 | - done |
4975 | -IFS=$as_save_IFS |
4976 | - |
4977 | -fi |
4978 | -fi |
4979 | -CC=$ac_cv_prog_CC |
4980 | -if test -n "$CC"; then |
4981 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4982 | -$as_echo "$CC" >&6; } |
4983 | -else |
4984 | - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4985 | -$as_echo "no" >&6; } |
4986 | -fi |
4987 | - |
4988 | - |
4989 | - fi |
4990 | -fi |
4991 | -if test -z "$CC"; then |
4992 | - # Extract the first word of "cc", so it can be a program name with args. |
4993 | -set dummy cc; ac_word=$2 |
4994 | -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4995 | -$as_echo_n "checking for $ac_word... " >&6; } |
4996 | -if test "${ac_cv_prog_CC+set}" = set; then : |
4997 | - $as_echo_n "(cached) " >&6 |
4998 | -else |
4999 | - if test -n "$CC"; then |
5000 | - ac_cv_prog_CC="$CC" # Let the user override the test. |
The diff has been truncated for viewing.
Good work!