1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.63. |
---|
4 | # |
---|
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
---|
7 | # This configure script is free software; the Free Software Foundation |
---|
8 | # gives unlimited permission to copy, distribute and modify it. |
---|
9 | ## --------------------- ## |
---|
10 | ## M4sh Initialization. ## |
---|
11 | ## --------------------- ## |
---|
12 | |
---|
13 | # Be more Bourne compatible |
---|
14 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
16 | emulate sh |
---|
17 | NULLCMD=: |
---|
18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
19 | # is contrary to our usage. Disable this feature. |
---|
20 | alias -g '${1+"$@"}'='"$@"' |
---|
21 | setopt NO_GLOB_SUBST |
---|
22 | else |
---|
23 | case `(set -o) 2>/dev/null` in |
---|
24 | *posix*) set -o posix ;; |
---|
25 | esac |
---|
26 | |
---|
27 | fi |
---|
28 | |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | # PATH needs CR |
---|
33 | # Avoid depending upon Character Ranges. |
---|
34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
37 | as_cr_digits='0123456789' |
---|
38 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
39 | |
---|
40 | as_nl=' |
---|
41 | ' |
---|
42 | export as_nl |
---|
43 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
48 | as_echo='printf %s\n' |
---|
49 | as_echo_n='printf %s' |
---|
50 | else |
---|
51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
53 | as_echo_n='/usr/ucb/echo -n' |
---|
54 | else |
---|
55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
56 | as_echo_n_body='eval |
---|
57 | arg=$1; |
---|
58 | case $arg in |
---|
59 | *"$as_nl"*) |
---|
60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
62 | esac; |
---|
63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
64 | ' |
---|
65 | export as_echo_n_body |
---|
66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
67 | fi |
---|
68 | export as_echo_body |
---|
69 | as_echo='sh -c $as_echo_body as_echo' |
---|
70 | fi |
---|
71 | |
---|
72 | # The user is always right. |
---|
73 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
74 | PATH_SEPARATOR=: |
---|
75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
77 | PATH_SEPARATOR=';' |
---|
78 | } |
---|
79 | fi |
---|
80 | |
---|
81 | # Support unset when possible. |
---|
82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
83 | as_unset=unset |
---|
84 | else |
---|
85 | as_unset=false |
---|
86 | fi |
---|
87 | |
---|
88 | |
---|
89 | # IFS |
---|
90 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
91 | # there to prevent editors from complaining about space-tab. |
---|
92 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
93 | # splitting by setting IFS to empty value.) |
---|
94 | IFS=" "" $as_nl" |
---|
95 | |
---|
96 | # Find who we are. Look in the path if we contain no directory separator. |
---|
97 | case $0 in |
---|
98 | *[\\/]* ) as_myself=$0 ;; |
---|
99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
100 | for as_dir in $PATH |
---|
101 | do |
---|
102 | IFS=$as_save_IFS |
---|
103 | test -z "$as_dir" && as_dir=. |
---|
104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
105 | done |
---|
106 | IFS=$as_save_IFS |
---|
107 | |
---|
108 | ;; |
---|
109 | esac |
---|
110 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
111 | # in which case we are not to be found in the path. |
---|
112 | if test "x$as_myself" = x; then |
---|
113 | as_myself=$0 |
---|
114 | fi |
---|
115 | if test ! -f "$as_myself"; then |
---|
116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
117 | { (exit 1); exit 1; } |
---|
118 | fi |
---|
119 | |
---|
120 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
121 | for as_var in ENV MAIL MAILPATH |
---|
122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
123 | done |
---|
124 | PS1='$ ' |
---|
125 | PS2='> ' |
---|
126 | PS4='+ ' |
---|
127 | |
---|
128 | # NLS nuisances. |
---|
129 | LC_ALL=C |
---|
130 | export LC_ALL |
---|
131 | LANGUAGE=C |
---|
132 | export LANGUAGE |
---|
133 | |
---|
134 | # Required to use basename. |
---|
135 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
137 | as_expr=expr |
---|
138 | else |
---|
139 | as_expr=false |
---|
140 | fi |
---|
141 | |
---|
142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
143 | as_basename=basename |
---|
144 | else |
---|
145 | as_basename=false |
---|
146 | fi |
---|
147 | |
---|
148 | |
---|
149 | # Name of the executable. |
---|
150 | as_me=`$as_basename -- "$0" || |
---|
151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
152 | X"$0" : 'X\(//\)$' \| \ |
---|
153 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
154 | $as_echo X/"$0" | |
---|
155 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
156 | s//\1/ |
---|
157 | q |
---|
158 | } |
---|
159 | /^X\/\(\/\/\)$/{ |
---|
160 | s//\1/ |
---|
161 | q |
---|
162 | } |
---|
163 | /^X\/\(\/\).*/{ |
---|
164 | s//\1/ |
---|
165 | q |
---|
166 | } |
---|
167 | s/.*/./; q'` |
---|
168 | |
---|
169 | # CDPATH. |
---|
170 | $as_unset CDPATH |
---|
171 | |
---|
172 | |
---|
173 | if test "x$CONFIG_SHELL" = x; then |
---|
174 | if (eval ":") 2>/dev/null; then |
---|
175 | as_have_required=yes |
---|
176 | else |
---|
177 | as_have_required=no |
---|
178 | fi |
---|
179 | |
---|
180 | if test $as_have_required = yes && (eval ": |
---|
181 | (as_func_return () { |
---|
182 | (exit \$1) |
---|
183 | } |
---|
184 | as_func_success () { |
---|
185 | as_func_return 0 |
---|
186 | } |
---|
187 | as_func_failure () { |
---|
188 | as_func_return 1 |
---|
189 | } |
---|
190 | as_func_ret_success () { |
---|
191 | return 0 |
---|
192 | } |
---|
193 | as_func_ret_failure () { |
---|
194 | return 1 |
---|
195 | } |
---|
196 | |
---|
197 | exitcode=0 |
---|
198 | if as_func_success; then |
---|
199 | : |
---|
200 | else |
---|
201 | exitcode=1 |
---|
202 | echo as_func_success failed. |
---|
203 | fi |
---|
204 | |
---|
205 | if as_func_failure; then |
---|
206 | exitcode=1 |
---|
207 | echo as_func_failure succeeded. |
---|
208 | fi |
---|
209 | |
---|
210 | if as_func_ret_success; then |
---|
211 | : |
---|
212 | else |
---|
213 | exitcode=1 |
---|
214 | echo as_func_ret_success failed. |
---|
215 | fi |
---|
216 | |
---|
217 | if as_func_ret_failure; then |
---|
218 | exitcode=1 |
---|
219 | echo as_func_ret_failure succeeded. |
---|
220 | fi |
---|
221 | |
---|
222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
223 | : |
---|
224 | else |
---|
225 | exitcode=1 |
---|
226 | echo positional parameters were not saved. |
---|
227 | fi |
---|
228 | |
---|
229 | test \$exitcode = 0) || { (exit 1); exit 1; } |
---|
230 | |
---|
231 | ( |
---|
232 | as_lineno_1=\$LINENO |
---|
233 | as_lineno_2=\$LINENO |
---|
234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
---|
235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
---|
236 | ") 2> /dev/null; then |
---|
237 | : |
---|
238 | else |
---|
239 | as_candidate_shells= |
---|
240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
242 | do |
---|
243 | IFS=$as_save_IFS |
---|
244 | test -z "$as_dir" && as_dir=. |
---|
245 | case $as_dir in |
---|
246 | /*) |
---|
247 | for as_base in sh bash ksh sh5; do |
---|
248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
---|
249 | done;; |
---|
250 | esac |
---|
251 | done |
---|
252 | IFS=$as_save_IFS |
---|
253 | |
---|
254 | |
---|
255 | for as_shell in $as_candidate_shells $SHELL; do |
---|
256 | # Try only shells that exist, to save several forks. |
---|
257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
258 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
---|
259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
260 | emulate sh |
---|
261 | NULLCMD=: |
---|
262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
263 | # is contrary to our usage. Disable this feature. |
---|
264 | alias -g '${1+"$@"}'='"$@"' |
---|
265 | setopt NO_GLOB_SUBST |
---|
266 | else |
---|
267 | case `(set -o) 2>/dev/null` in |
---|
268 | *posix*) set -o posix ;; |
---|
269 | esac |
---|
270 | |
---|
271 | fi |
---|
272 | |
---|
273 | |
---|
274 | : |
---|
275 | _ASEOF |
---|
276 | }; then |
---|
277 | CONFIG_SHELL=$as_shell |
---|
278 | as_have_required=yes |
---|
279 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
---|
280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
281 | emulate sh |
---|
282 | NULLCMD=: |
---|
283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
284 | # is contrary to our usage. Disable this feature. |
---|
285 | alias -g '${1+"$@"}'='"$@"' |
---|
286 | setopt NO_GLOB_SUBST |
---|
287 | else |
---|
288 | case `(set -o) 2>/dev/null` in |
---|
289 | *posix*) set -o posix ;; |
---|
290 | esac |
---|
291 | |
---|
292 | fi |
---|
293 | |
---|
294 | |
---|
295 | : |
---|
296 | (as_func_return () { |
---|
297 | (exit $1) |
---|
298 | } |
---|
299 | as_func_success () { |
---|
300 | as_func_return 0 |
---|
301 | } |
---|
302 | as_func_failure () { |
---|
303 | as_func_return 1 |
---|
304 | } |
---|
305 | as_func_ret_success () { |
---|
306 | return 0 |
---|
307 | } |
---|
308 | as_func_ret_failure () { |
---|
309 | return 1 |
---|
310 | } |
---|
311 | |
---|
312 | exitcode=0 |
---|
313 | if as_func_success; then |
---|
314 | : |
---|
315 | else |
---|
316 | exitcode=1 |
---|
317 | echo as_func_success failed. |
---|
318 | fi |
---|
319 | |
---|
320 | if as_func_failure; then |
---|
321 | exitcode=1 |
---|
322 | echo as_func_failure succeeded. |
---|
323 | fi |
---|
324 | |
---|
325 | if as_func_ret_success; then |
---|
326 | : |
---|
327 | else |
---|
328 | exitcode=1 |
---|
329 | echo as_func_ret_success failed. |
---|
330 | fi |
---|
331 | |
---|
332 | if as_func_ret_failure; then |
---|
333 | exitcode=1 |
---|
334 | echo as_func_ret_failure succeeded. |
---|
335 | fi |
---|
336 | |
---|
337 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
---|
338 | : |
---|
339 | else |
---|
340 | exitcode=1 |
---|
341 | echo positional parameters were not saved. |
---|
342 | fi |
---|
343 | |
---|
344 | test $exitcode = 0) || { (exit 1); exit 1; } |
---|
345 | |
---|
346 | ( |
---|
347 | as_lineno_1=$LINENO |
---|
348 | as_lineno_2=$LINENO |
---|
349 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
351 | |
---|
352 | _ASEOF |
---|
353 | }; then |
---|
354 | break |
---|
355 | fi |
---|
356 | |
---|
357 | fi |
---|
358 | |
---|
359 | done |
---|
360 | |
---|
361 | if test "x$CONFIG_SHELL" != x; then |
---|
362 | for as_var in BASH_ENV ENV |
---|
363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
364 | done |
---|
365 | export CONFIG_SHELL |
---|
366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
367 | fi |
---|
368 | |
---|
369 | |
---|
370 | if test $as_have_required = no; then |
---|
371 | echo This script requires a shell more modern than all the |
---|
372 | echo shells that I found on your system. Please install a |
---|
373 | echo modern shell, or manually run the script under such a |
---|
374 | echo shell if you do have one. |
---|
375 | { (exit 1); exit 1; } |
---|
376 | fi |
---|
377 | |
---|
378 | |
---|
379 | fi |
---|
380 | |
---|
381 | fi |
---|
382 | |
---|
383 | |
---|
384 | |
---|
385 | (eval "as_func_return () { |
---|
386 | (exit \$1) |
---|
387 | } |
---|
388 | as_func_success () { |
---|
389 | as_func_return 0 |
---|
390 | } |
---|
391 | as_func_failure () { |
---|
392 | as_func_return 1 |
---|
393 | } |
---|
394 | as_func_ret_success () { |
---|
395 | return 0 |
---|
396 | } |
---|
397 | as_func_ret_failure () { |
---|
398 | return 1 |
---|
399 | } |
---|
400 | |
---|
401 | exitcode=0 |
---|
402 | if as_func_success; then |
---|
403 | : |
---|
404 | else |
---|
405 | exitcode=1 |
---|
406 | echo as_func_success failed. |
---|
407 | fi |
---|
408 | |
---|
409 | if as_func_failure; then |
---|
410 | exitcode=1 |
---|
411 | echo as_func_failure succeeded. |
---|
412 | fi |
---|
413 | |
---|
414 | if as_func_ret_success; then |
---|
415 | : |
---|
416 | else |
---|
417 | exitcode=1 |
---|
418 | echo as_func_ret_success failed. |
---|
419 | fi |
---|
420 | |
---|
421 | if as_func_ret_failure; then |
---|
422 | exitcode=1 |
---|
423 | echo as_func_ret_failure succeeded. |
---|
424 | fi |
---|
425 | |
---|
426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
427 | : |
---|
428 | else |
---|
429 | exitcode=1 |
---|
430 | echo positional parameters were not saved. |
---|
431 | fi |
---|
432 | |
---|
433 | test \$exitcode = 0") || { |
---|
434 | echo No shell found that supports shell functions. |
---|
435 | echo Please tell bug-autoconf@gnu.org about your system, |
---|
436 | echo including any error possibly output before this message. |
---|
437 | echo This can help us improve future autoconf versions. |
---|
438 | echo Configuration will now proceed without shell functions. |
---|
439 | } |
---|
440 | |
---|
441 | |
---|
442 | |
---|
443 | as_lineno_1=$LINENO |
---|
444 | as_lineno_2=$LINENO |
---|
445 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
447 | |
---|
448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
449 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
450 | # line-number line after each line using $LINENO; the second 'sed' |
---|
451 | # does the real work. The second script uses 'N' to pair each |
---|
452 | # line-number line with the line containing $LINENO, and appends |
---|
453 | # trailing '-' during substitution so that $LINENO is not a special |
---|
454 | # case at line end. |
---|
455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
456 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
457 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
458 | sed -n ' |
---|
459 | p |
---|
460 | /[$]LINENO/= |
---|
461 | ' <$as_myself | |
---|
462 | sed ' |
---|
463 | s/[$]LINENO.*/&-/ |
---|
464 | t lineno |
---|
465 | b |
---|
466 | :lineno |
---|
467 | N |
---|
468 | :loop |
---|
469 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
470 | t loop |
---|
471 | s/-\n.*// |
---|
472 | ' >$as_me.lineno && |
---|
473 | chmod +x "$as_me.lineno" || |
---|
474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
475 | { (exit 1); exit 1; }; } |
---|
476 | |
---|
477 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
478 | # (the dirname of $[0] is not the place where we might find the |
---|
479 | # original and so on. Autoconf is especially sensitive to this). |
---|
480 | . "./$as_me.lineno" |
---|
481 | # Exit status is that of the last command. |
---|
482 | exit |
---|
483 | } |
---|
484 | |
---|
485 | |
---|
486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
487 | as_dirname=dirname |
---|
488 | else |
---|
489 | as_dirname=false |
---|
490 | fi |
---|
491 | |
---|
492 | ECHO_C= ECHO_N= ECHO_T= |
---|
493 | case `echo -n x` in |
---|
494 | -n*) |
---|
495 | case `echo 'x\c'` in |
---|
496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
497 | *) ECHO_C='\c';; |
---|
498 | esac;; |
---|
499 | *) |
---|
500 | ECHO_N='-n';; |
---|
501 | esac |
---|
502 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
504 | as_expr=expr |
---|
505 | else |
---|
506 | as_expr=false |
---|
507 | fi |
---|
508 | |
---|
509 | rm -f conf$$ conf$$.exe conf$$.file |
---|
510 | if test -d conf$$.dir; then |
---|
511 | rm -f conf$$.dir/conf$$.file |
---|
512 | else |
---|
513 | rm -f conf$$.dir |
---|
514 | mkdir conf$$.dir 2>/dev/null |
---|
515 | fi |
---|
516 | if (echo >conf$$.file) 2>/dev/null; then |
---|
517 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
518 | as_ln_s='ln -s' |
---|
519 | # ... but there are two gotchas: |
---|
520 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
521 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
522 | # In both cases, we have to default to `cp -p'. |
---|
523 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
524 | as_ln_s='cp -p' |
---|
525 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
526 | as_ln_s=ln |
---|
527 | else |
---|
528 | as_ln_s='cp -p' |
---|
529 | fi |
---|
530 | else |
---|
531 | as_ln_s='cp -p' |
---|
532 | fi |
---|
533 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
534 | rmdir conf$$.dir 2>/dev/null |
---|
535 | |
---|
536 | if mkdir -p . 2>/dev/null; then |
---|
537 | as_mkdir_p=: |
---|
538 | else |
---|
539 | test -d ./-p && rmdir ./-p |
---|
540 | as_mkdir_p=false |
---|
541 | fi |
---|
542 | |
---|
543 | if test -x / >/dev/null 2>&1; then |
---|
544 | as_test_x='test -x' |
---|
545 | else |
---|
546 | if ls -dL / >/dev/null 2>&1; then |
---|
547 | as_ls_L_option=L |
---|
548 | else |
---|
549 | as_ls_L_option= |
---|
550 | fi |
---|
551 | as_test_x=' |
---|
552 | eval sh -c '\'' |
---|
553 | if test -d "$1"; then |
---|
554 | test -d "$1/."; |
---|
555 | else |
---|
556 | case $1 in |
---|
557 | -*)set "./$1";; |
---|
558 | esac; |
---|
559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
560 | ???[sx]*):;;*)false;;esac;fi |
---|
561 | '\'' sh |
---|
562 | ' |
---|
563 | fi |
---|
564 | as_executable_p=$as_test_x |
---|
565 | |
---|
566 | # Sed expression to map a string onto a valid CPP name. |
---|
567 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
568 | |
---|
569 | # Sed expression to map a string onto a valid variable name. |
---|
570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
571 | |
---|
572 | |
---|
573 | |
---|
574 | exec 7<&0 </dev/null 6>&1 |
---|
575 | |
---|
576 | # Name of the host. |
---|
577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
578 | # so uname gets run too. |
---|
579 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
580 | |
---|
581 | # |
---|
582 | # Initializations. |
---|
583 | # |
---|
584 | ac_default_prefix=/usr/local |
---|
585 | ac_clean_files= |
---|
586 | ac_config_libobj_dir=. |
---|
587 | LIBOBJS= |
---|
588 | cross_compiling=no |
---|
589 | subdirs= |
---|
590 | MFLAGS= |
---|
591 | MAKEFLAGS= |
---|
592 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
593 | |
---|
594 | # Identity of this package. |
---|
595 | PACKAGE_NAME= |
---|
596 | PACKAGE_TARNAME= |
---|
597 | PACKAGE_VERSION= |
---|
598 | PACKAGE_STRING= |
---|
599 | PACKAGE_BUGREPORT= |
---|
600 | |
---|
601 | ac_unique_file="owl.c" |
---|
602 | # Factoring default headers for most tests. |
---|
603 | ac_includes_default="\ |
---|
604 | #include <stdio.h> |
---|
605 | #ifdef HAVE_SYS_TYPES_H |
---|
606 | # include <sys/types.h> |
---|
607 | #endif |
---|
608 | #ifdef HAVE_SYS_STAT_H |
---|
609 | # include <sys/stat.h> |
---|
610 | #endif |
---|
611 | #ifdef STDC_HEADERS |
---|
612 | # include <stdlib.h> |
---|
613 | # include <stddef.h> |
---|
614 | #else |
---|
615 | # ifdef HAVE_STDLIB_H |
---|
616 | # include <stdlib.h> |
---|
617 | # endif |
---|
618 | #endif |
---|
619 | #ifdef HAVE_STRING_H |
---|
620 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
621 | # include <memory.h> |
---|
622 | # endif |
---|
623 | # include <string.h> |
---|
624 | #endif |
---|
625 | #ifdef HAVE_STRINGS_H |
---|
626 | # include <strings.h> |
---|
627 | #endif |
---|
628 | #ifdef HAVE_INTTYPES_H |
---|
629 | # include <inttypes.h> |
---|
630 | #endif |
---|
631 | #ifdef HAVE_STDINT_H |
---|
632 | # include <stdint.h> |
---|
633 | #endif |
---|
634 | #ifdef HAVE_UNISTD_H |
---|
635 | # include <unistd.h> |
---|
636 | #endif" |
---|
637 | |
---|
638 | enable_option_checking=no |
---|
639 | ac_subst_vars='LTLIBOBJS |
---|
640 | LIBOBJS |
---|
641 | subdirs |
---|
642 | INSTALL_DATA |
---|
643 | INSTALL_SCRIPT |
---|
644 | INSTALL_PROGRAM |
---|
645 | ATHSTATIC |
---|
646 | XSUBPPFLAGS |
---|
647 | XSUBPPDIR |
---|
648 | GLIB_LIBS |
---|
649 | GLIB_CFLAGS |
---|
650 | PKG_CONFIG |
---|
651 | EGREP |
---|
652 | GREP |
---|
653 | CPP |
---|
654 | OBJEXT |
---|
655 | EXEEXT |
---|
656 | ac_ct_CC |
---|
657 | CPPFLAGS |
---|
658 | LDFLAGS |
---|
659 | CFLAGS |
---|
660 | CC |
---|
661 | target_alias |
---|
662 | host_alias |
---|
663 | build_alias |
---|
664 | LIBS |
---|
665 | ECHO_T |
---|
666 | ECHO_N |
---|
667 | ECHO_C |
---|
668 | DEFS |
---|
669 | mandir |
---|
670 | localedir |
---|
671 | libdir |
---|
672 | psdir |
---|
673 | pdfdir |
---|
674 | dvidir |
---|
675 | htmldir |
---|
676 | infodir |
---|
677 | docdir |
---|
678 | oldincludedir |
---|
679 | includedir |
---|
680 | localstatedir |
---|
681 | sharedstatedir |
---|
682 | sysconfdir |
---|
683 | datadir |
---|
684 | datarootdir |
---|
685 | libexecdir |
---|
686 | sbindir |
---|
687 | bindir |
---|
688 | program_transform_name |
---|
689 | prefix |
---|
690 | exec_prefix |
---|
691 | PACKAGE_BUGREPORT |
---|
692 | PACKAGE_STRING |
---|
693 | PACKAGE_VERSION |
---|
694 | PACKAGE_TARNAME |
---|
695 | PACKAGE_NAME |
---|
696 | PATH_SEPARATOR |
---|
697 | SHELL' |
---|
698 | ac_subst_files='' |
---|
699 | ac_user_opts=' |
---|
700 | enable_option_checking |
---|
701 | enable_athstatic |
---|
702 | ' |
---|
703 | ac_precious_vars='build_alias |
---|
704 | host_alias |
---|
705 | target_alias |
---|
706 | CC |
---|
707 | CFLAGS |
---|
708 | LDFLAGS |
---|
709 | LIBS |
---|
710 | CPPFLAGS |
---|
711 | CPP |
---|
712 | PKG_CONFIG |
---|
713 | GLIB_CFLAGS |
---|
714 | GLIB_LIBS' |
---|
715 | ac_subdirs_all='libfaim' |
---|
716 | |
---|
717 | # Initialize some variables set by options. |
---|
718 | ac_init_help= |
---|
719 | ac_init_version=false |
---|
720 | ac_unrecognized_opts= |
---|
721 | ac_unrecognized_sep= |
---|
722 | # The variables have the same names as the options, with |
---|
723 | # dashes changed to underlines. |
---|
724 | cache_file=/dev/null |
---|
725 | exec_prefix=NONE |
---|
726 | no_create= |
---|
727 | no_recursion= |
---|
728 | prefix=NONE |
---|
729 | program_prefix=NONE |
---|
730 | program_suffix=NONE |
---|
731 | program_transform_name=s,x,x, |
---|
732 | silent= |
---|
733 | site= |
---|
734 | srcdir= |
---|
735 | verbose= |
---|
736 | x_includes=NONE |
---|
737 | x_libraries=NONE |
---|
738 | |
---|
739 | # Installation directory options. |
---|
740 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
741 | # and all the variables that are supposed to be based on exec_prefix |
---|
742 | # by default will actually change. |
---|
743 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
744 | # (The list follows the same order as the GNU Coding Standards.) |
---|
745 | bindir='${exec_prefix}/bin' |
---|
746 | sbindir='${exec_prefix}/sbin' |
---|
747 | libexecdir='${exec_prefix}/libexec' |
---|
748 | datarootdir='${prefix}/share' |
---|
749 | datadir='${datarootdir}' |
---|
750 | sysconfdir='${prefix}/etc' |
---|
751 | sharedstatedir='${prefix}/com' |
---|
752 | localstatedir='${prefix}/var' |
---|
753 | includedir='${prefix}/include' |
---|
754 | oldincludedir='/usr/include' |
---|
755 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
756 | infodir='${datarootdir}/info' |
---|
757 | htmldir='${docdir}' |
---|
758 | dvidir='${docdir}' |
---|
759 | pdfdir='${docdir}' |
---|
760 | psdir='${docdir}' |
---|
761 | libdir='${exec_prefix}/lib' |
---|
762 | localedir='${datarootdir}/locale' |
---|
763 | mandir='${datarootdir}/man' |
---|
764 | |
---|
765 | ac_prev= |
---|
766 | ac_dashdash= |
---|
767 | for ac_option |
---|
768 | do |
---|
769 | # If the previous option needs an argument, assign it. |
---|
770 | if test -n "$ac_prev"; then |
---|
771 | eval $ac_prev=\$ac_option |
---|
772 | ac_prev= |
---|
773 | continue |
---|
774 | fi |
---|
775 | |
---|
776 | case $ac_option in |
---|
777 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
778 | *) ac_optarg=yes ;; |
---|
779 | esac |
---|
780 | |
---|
781 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
782 | |
---|
783 | case $ac_dashdash$ac_option in |
---|
784 | --) |
---|
785 | ac_dashdash=yes ;; |
---|
786 | |
---|
787 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
788 | ac_prev=bindir ;; |
---|
789 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
790 | bindir=$ac_optarg ;; |
---|
791 | |
---|
792 | -build | --build | --buil | --bui | --bu) |
---|
793 | ac_prev=build_alias ;; |
---|
794 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
795 | build_alias=$ac_optarg ;; |
---|
796 | |
---|
797 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
798 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
799 | ac_prev=cache_file ;; |
---|
800 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
801 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
802 | cache_file=$ac_optarg ;; |
---|
803 | |
---|
804 | --config-cache | -C) |
---|
805 | cache_file=config.cache ;; |
---|
806 | |
---|
807 | -datadir | --datadir | --datadi | --datad) |
---|
808 | ac_prev=datadir ;; |
---|
809 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
810 | datadir=$ac_optarg ;; |
---|
811 | |
---|
812 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
813 | | --dataroo | --dataro | --datar) |
---|
814 | ac_prev=datarootdir ;; |
---|
815 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
816 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
817 | datarootdir=$ac_optarg ;; |
---|
818 | |
---|
819 | -disable-* | --disable-*) |
---|
820 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
821 | # Reject names that are not valid shell variable names. |
---|
822 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
823 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
824 | { (exit 1); exit 1; }; } |
---|
825 | ac_useropt_orig=$ac_useropt |
---|
826 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
827 | case $ac_user_opts in |
---|
828 | *" |
---|
829 | "enable_$ac_useropt" |
---|
830 | "*) ;; |
---|
831 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
832 | ac_unrecognized_sep=', ';; |
---|
833 | esac |
---|
834 | eval enable_$ac_useropt=no ;; |
---|
835 | |
---|
836 | -docdir | --docdir | --docdi | --doc | --do) |
---|
837 | ac_prev=docdir ;; |
---|
838 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
839 | docdir=$ac_optarg ;; |
---|
840 | |
---|
841 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
842 | ac_prev=dvidir ;; |
---|
843 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
844 | dvidir=$ac_optarg ;; |
---|
845 | |
---|
846 | -enable-* | --enable-*) |
---|
847 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
848 | # Reject names that are not valid shell variable names. |
---|
849 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
850 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
---|
851 | { (exit 1); exit 1; }; } |
---|
852 | ac_useropt_orig=$ac_useropt |
---|
853 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
854 | case $ac_user_opts in |
---|
855 | *" |
---|
856 | "enable_$ac_useropt" |
---|
857 | "*) ;; |
---|
858 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
859 | ac_unrecognized_sep=', ';; |
---|
860 | esac |
---|
861 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
862 | |
---|
863 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
864 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
865 | | --exec | --exe | --ex) |
---|
866 | ac_prev=exec_prefix ;; |
---|
867 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
868 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
869 | | --exec=* | --exe=* | --ex=*) |
---|
870 | exec_prefix=$ac_optarg ;; |
---|
871 | |
---|
872 | -gas | --gas | --ga | --g) |
---|
873 | # Obsolete; use --with-gas. |
---|
874 | with_gas=yes ;; |
---|
875 | |
---|
876 | -help | --help | --hel | --he | -h) |
---|
877 | ac_init_help=long ;; |
---|
878 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
879 | ac_init_help=recursive ;; |
---|
880 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
881 | ac_init_help=short ;; |
---|
882 | |
---|
883 | -host | --host | --hos | --ho) |
---|
884 | ac_prev=host_alias ;; |
---|
885 | -host=* | --host=* | --hos=* | --ho=*) |
---|
886 | host_alias=$ac_optarg ;; |
---|
887 | |
---|
888 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
889 | ac_prev=htmldir ;; |
---|
890 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
891 | | --ht=*) |
---|
892 | htmldir=$ac_optarg ;; |
---|
893 | |
---|
894 | -includedir | --includedir | --includedi | --included | --include \ |
---|
895 | | --includ | --inclu | --incl | --inc) |
---|
896 | ac_prev=includedir ;; |
---|
897 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
898 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
899 | includedir=$ac_optarg ;; |
---|
900 | |
---|
901 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
902 | ac_prev=infodir ;; |
---|
903 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
904 | infodir=$ac_optarg ;; |
---|
905 | |
---|
906 | -libdir | --libdir | --libdi | --libd) |
---|
907 | ac_prev=libdir ;; |
---|
908 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
909 | libdir=$ac_optarg ;; |
---|
910 | |
---|
911 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
912 | | --libexe | --libex | --libe) |
---|
913 | ac_prev=libexecdir ;; |
---|
914 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
915 | | --libexe=* | --libex=* | --libe=*) |
---|
916 | libexecdir=$ac_optarg ;; |
---|
917 | |
---|
918 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
919 | ac_prev=localedir ;; |
---|
920 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
921 | localedir=$ac_optarg ;; |
---|
922 | |
---|
923 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
924 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
925 | ac_prev=localstatedir ;; |
---|
926 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
927 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
928 | localstatedir=$ac_optarg ;; |
---|
929 | |
---|
930 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
931 | ac_prev=mandir ;; |
---|
932 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
933 | mandir=$ac_optarg ;; |
---|
934 | |
---|
935 | -nfp | --nfp | --nf) |
---|
936 | # Obsolete; use --without-fp. |
---|
937 | with_fp=no ;; |
---|
938 | |
---|
939 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
940 | | --no-cr | --no-c | -n) |
---|
941 | no_create=yes ;; |
---|
942 | |
---|
943 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
944 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
945 | no_recursion=yes ;; |
---|
946 | |
---|
947 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
948 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
949 | | --oldin | --oldi | --old | --ol | --o) |
---|
950 | ac_prev=oldincludedir ;; |
---|
951 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
952 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
953 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
954 | oldincludedir=$ac_optarg ;; |
---|
955 | |
---|
956 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
957 | ac_prev=prefix ;; |
---|
958 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
959 | prefix=$ac_optarg ;; |
---|
960 | |
---|
961 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
962 | | --program-pre | --program-pr | --program-p) |
---|
963 | ac_prev=program_prefix ;; |
---|
964 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
965 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
966 | program_prefix=$ac_optarg ;; |
---|
967 | |
---|
968 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
969 | | --program-suf | --program-su | --program-s) |
---|
970 | ac_prev=program_suffix ;; |
---|
971 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
972 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
973 | program_suffix=$ac_optarg ;; |
---|
974 | |
---|
975 | -program-transform-name | --program-transform-name \ |
---|
976 | | --program-transform-nam | --program-transform-na \ |
---|
977 | | --program-transform-n | --program-transform- \ |
---|
978 | | --program-transform | --program-transfor \ |
---|
979 | | --program-transfo | --program-transf \ |
---|
980 | | --program-trans | --program-tran \ |
---|
981 | | --progr-tra | --program-tr | --program-t) |
---|
982 | ac_prev=program_transform_name ;; |
---|
983 | -program-transform-name=* | --program-transform-name=* \ |
---|
984 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
985 | | --program-transform-n=* | --program-transform-=* \ |
---|
986 | | --program-transform=* | --program-transfor=* \ |
---|
987 | | --program-transfo=* | --program-transf=* \ |
---|
988 | | --program-trans=* | --program-tran=* \ |
---|
989 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
990 | program_transform_name=$ac_optarg ;; |
---|
991 | |
---|
992 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
993 | ac_prev=pdfdir ;; |
---|
994 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
995 | pdfdir=$ac_optarg ;; |
---|
996 | |
---|
997 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
998 | ac_prev=psdir ;; |
---|
999 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
1000 | psdir=$ac_optarg ;; |
---|
1001 | |
---|
1002 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1003 | | -silent | --silent | --silen | --sile | --sil) |
---|
1004 | silent=yes ;; |
---|
1005 | |
---|
1006 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
1007 | ac_prev=sbindir ;; |
---|
1008 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
1009 | | --sbi=* | --sb=*) |
---|
1010 | sbindir=$ac_optarg ;; |
---|
1011 | |
---|
1012 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
1013 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
1014 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
1015 | | --sha | --sh) |
---|
1016 | ac_prev=sharedstatedir ;; |
---|
1017 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
1018 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
1019 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
1020 | | --sha=* | --sh=*) |
---|
1021 | sharedstatedir=$ac_optarg ;; |
---|
1022 | |
---|
1023 | -site | --site | --sit) |
---|
1024 | ac_prev=site ;; |
---|
1025 | -site=* | --site=* | --sit=*) |
---|
1026 | site=$ac_optarg ;; |
---|
1027 | |
---|
1028 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
1029 | ac_prev=srcdir ;; |
---|
1030 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
1031 | srcdir=$ac_optarg ;; |
---|
1032 | |
---|
1033 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
1034 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
1035 | ac_prev=sysconfdir ;; |
---|
1036 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
1037 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
1038 | sysconfdir=$ac_optarg ;; |
---|
1039 | |
---|
1040 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
1041 | ac_prev=target_alias ;; |
---|
1042 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
1043 | target_alias=$ac_optarg ;; |
---|
1044 | |
---|
1045 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
1046 | verbose=yes ;; |
---|
1047 | |
---|
1048 | -version | --version | --versio | --versi | --vers | -V) |
---|
1049 | ac_init_version=: ;; |
---|
1050 | |
---|
1051 | -with-* | --with-*) |
---|
1052 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1053 | # Reject names that are not valid shell variable names. |
---|
1054 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1055 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1056 | { (exit 1); exit 1; }; } |
---|
1057 | ac_useropt_orig=$ac_useropt |
---|
1058 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1059 | case $ac_user_opts in |
---|
1060 | *" |
---|
1061 | "with_$ac_useropt" |
---|
1062 | "*) ;; |
---|
1063 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
1064 | ac_unrecognized_sep=', ';; |
---|
1065 | esac |
---|
1066 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
1067 | |
---|
1068 | -without-* | --without-*) |
---|
1069 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1070 | # Reject names that are not valid shell variable names. |
---|
1071 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
1072 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
---|
1073 | { (exit 1); exit 1; }; } |
---|
1074 | ac_useropt_orig=$ac_useropt |
---|
1075 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
1076 | case $ac_user_opts in |
---|
1077 | *" |
---|
1078 | "with_$ac_useropt" |
---|
1079 | "*) ;; |
---|
1080 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
1081 | ac_unrecognized_sep=', ';; |
---|
1082 | esac |
---|
1083 | eval with_$ac_useropt=no ;; |
---|
1084 | |
---|
1085 | --x) |
---|
1086 | # Obsolete; use --with-x. |
---|
1087 | with_x=yes ;; |
---|
1088 | |
---|
1089 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1090 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1091 | ac_prev=x_includes ;; |
---|
1092 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1093 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1094 | x_includes=$ac_optarg ;; |
---|
1095 | |
---|
1096 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1097 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1098 | ac_prev=x_libraries ;; |
---|
1099 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1100 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1101 | x_libraries=$ac_optarg ;; |
---|
1102 | |
---|
1103 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
---|
1104 | Try \`$0 --help' for more information." >&2 |
---|
1105 | { (exit 1); exit 1; }; } |
---|
1106 | ;; |
---|
1107 | |
---|
1108 | *=*) |
---|
1109 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1110 | # Reject names that are not valid shell variable names. |
---|
1111 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
1112 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
1113 | { (exit 1); exit 1; }; } |
---|
1114 | eval $ac_envvar=\$ac_optarg |
---|
1115 | export $ac_envvar ;; |
---|
1116 | |
---|
1117 | *) |
---|
1118 | # FIXME: should be removed in autoconf 3.0. |
---|
1119 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1120 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1121 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1122 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
1123 | ;; |
---|
1124 | |
---|
1125 | esac |
---|
1126 | done |
---|
1127 | |
---|
1128 | if test -n "$ac_prev"; then |
---|
1129 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1130 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
1131 | { (exit 1); exit 1; }; } |
---|
1132 | fi |
---|
1133 | |
---|
1134 | if test -n "$ac_unrecognized_opts"; then |
---|
1135 | case $enable_option_checking in |
---|
1136 | no) ;; |
---|
1137 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
---|
1138 | { (exit 1); exit 1; }; } ;; |
---|
1139 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
1140 | esac |
---|
1141 | fi |
---|
1142 | |
---|
1143 | # Check all directory arguments for consistency. |
---|
1144 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1145 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1146 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1147 | libdir localedir mandir |
---|
1148 | do |
---|
1149 | eval ac_val=\$$ac_var |
---|
1150 | # Remove trailing slashes. |
---|
1151 | case $ac_val in |
---|
1152 | */ ) |
---|
1153 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
1154 | eval $ac_var=\$ac_val;; |
---|
1155 | esac |
---|
1156 | # Be sure to have absolute directory names. |
---|
1157 | case $ac_val in |
---|
1158 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1159 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1160 | esac |
---|
1161 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
1162 | { (exit 1); exit 1; }; } |
---|
1163 | done |
---|
1164 | |
---|
1165 | # There might be people who depend on the old broken behavior: `$host' |
---|
1166 | # used to hold the argument of --host etc. |
---|
1167 | # FIXME: To remove some day. |
---|
1168 | build=$build_alias |
---|
1169 | host=$host_alias |
---|
1170 | target=$target_alias |
---|
1171 | |
---|
1172 | # FIXME: To remove some day. |
---|
1173 | if test "x$host_alias" != x; then |
---|
1174 | if test "x$build_alias" = x; then |
---|
1175 | cross_compiling=maybe |
---|
1176 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
1177 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
1178 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1179 | cross_compiling=yes |
---|
1180 | fi |
---|
1181 | fi |
---|
1182 | |
---|
1183 | ac_tool_prefix= |
---|
1184 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1185 | |
---|
1186 | test "$silent" = yes && exec 6>/dev/null |
---|
1187 | |
---|
1188 | |
---|
1189 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1190 | ac_ls_di=`ls -di .` && |
---|
1191 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1192 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
---|
1193 | { (exit 1); exit 1; }; } |
---|
1194 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1195 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
1196 | { (exit 1); exit 1; }; } |
---|
1197 | |
---|
1198 | |
---|
1199 | # Find the source files, if location was not specified. |
---|
1200 | if test -z "$srcdir"; then |
---|
1201 | ac_srcdir_defaulted=yes |
---|
1202 | # Try the directory containing this script, then the parent directory. |
---|
1203 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
1204 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1205 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
1206 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
1207 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
1208 | $as_echo X"$as_myself" | |
---|
1209 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1210 | s//\1/ |
---|
1211 | q |
---|
1212 | } |
---|
1213 | /^X\(\/\/\)[^/].*/{ |
---|
1214 | s//\1/ |
---|
1215 | q |
---|
1216 | } |
---|
1217 | /^X\(\/\/\)$/{ |
---|
1218 | s//\1/ |
---|
1219 | q |
---|
1220 | } |
---|
1221 | /^X\(\/\).*/{ |
---|
1222 | s//\1/ |
---|
1223 | q |
---|
1224 | } |
---|
1225 | s/.*/./; q'` |
---|
1226 | srcdir=$ac_confdir |
---|
1227 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1228 | srcdir=.. |
---|
1229 | fi |
---|
1230 | else |
---|
1231 | ac_srcdir_defaulted=no |
---|
1232 | fi |
---|
1233 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1234 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1235 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
1236 | { (exit 1); exit 1; }; } |
---|
1237 | fi |
---|
1238 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1239 | ac_abs_confdir=`( |
---|
1240 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
---|
1241 | { (exit 1); exit 1; }; } |
---|
1242 | pwd)` |
---|
1243 | # When building in place, set srcdir=. |
---|
1244 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1245 | srcdir=. |
---|
1246 | fi |
---|
1247 | # Remove unnecessary trailing slashes from srcdir. |
---|
1248 | # Double slashes in file names in object file debugging info |
---|
1249 | # mess up M-x gdb in Emacs. |
---|
1250 | case $srcdir in |
---|
1251 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1252 | esac |
---|
1253 | for ac_var in $ac_precious_vars; do |
---|
1254 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1255 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1256 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1257 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1258 | done |
---|
1259 | |
---|
1260 | # |
---|
1261 | # Report the --help message. |
---|
1262 | # |
---|
1263 | if test "$ac_init_help" = "long"; then |
---|
1264 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1265 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1266 | cat <<_ACEOF |
---|
1267 | \`configure' configures this package to adapt to many kinds of systems. |
---|
1268 | |
---|
1269 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1270 | |
---|
1271 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1272 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1273 | |
---|
1274 | Defaults for the options are specified in brackets. |
---|
1275 | |
---|
1276 | Configuration: |
---|
1277 | -h, --help display this help and exit |
---|
1278 | --help=short display options specific to this package |
---|
1279 | --help=recursive display the short help of all the included packages |
---|
1280 | -V, --version display version information and exit |
---|
1281 | -q, --quiet, --silent do not print \`checking...' messages |
---|
1282 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1283 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1284 | -n, --no-create do not create output files |
---|
1285 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1286 | |
---|
1287 | Installation directories: |
---|
1288 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1289 | [$ac_default_prefix] |
---|
1290 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1291 | [PREFIX] |
---|
1292 | |
---|
1293 | By default, \`make install' will install all the files in |
---|
1294 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1295 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1296 | for instance \`--prefix=\$HOME'. |
---|
1297 | |
---|
1298 | For better control, use the options below. |
---|
1299 | |
---|
1300 | Fine tuning of the installation directories: |
---|
1301 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1302 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1303 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1304 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1305 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1306 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1307 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1308 | --includedir=DIR C header files [PREFIX/include] |
---|
1309 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1310 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1311 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1312 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1313 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1314 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1315 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
1316 | --htmldir=DIR html documentation [DOCDIR] |
---|
1317 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1318 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1319 | --psdir=DIR ps documentation [DOCDIR] |
---|
1320 | _ACEOF |
---|
1321 | |
---|
1322 | cat <<\_ACEOF |
---|
1323 | _ACEOF |
---|
1324 | fi |
---|
1325 | |
---|
1326 | if test -n "$ac_init_help"; then |
---|
1327 | |
---|
1328 | cat <<\_ACEOF |
---|
1329 | |
---|
1330 | Optional Features: |
---|
1331 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
1332 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
1333 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
1334 | --enable-athstatic Statically link libraries in /usr/athena/lib |
---|
1335 | |
---|
1336 | Some influential environment variables: |
---|
1337 | CC C compiler command |
---|
1338 | CFLAGS C compiler flags |
---|
1339 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1340 | nonstandard directory <lib dir> |
---|
1341 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1342 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
1343 | you have headers in a nonstandard directory <include dir> |
---|
1344 | CPP C preprocessor |
---|
1345 | PKG_CONFIG path to pkg-config utility |
---|
1346 | GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
---|
1347 | GLIB_LIBS linker flags for GLIB, overriding pkg-config |
---|
1348 | |
---|
1349 | Use these variables to override the choices made by `configure' or to help |
---|
1350 | it to find libraries and programs with nonstandard names/locations. |
---|
1351 | |
---|
1352 | _ACEOF |
---|
1353 | ac_status=$? |
---|
1354 | fi |
---|
1355 | |
---|
1356 | if test "$ac_init_help" = "recursive"; then |
---|
1357 | # If there are subdirs, report their specific --help. |
---|
1358 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1359 | test -d "$ac_dir" || |
---|
1360 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
1361 | continue |
---|
1362 | ac_builddir=. |
---|
1363 | |
---|
1364 | case "$ac_dir" in |
---|
1365 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1366 | *) |
---|
1367 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
1368 | # A ".." for each directory in $ac_dir_suffix. |
---|
1369 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
1370 | case $ac_top_builddir_sub in |
---|
1371 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1372 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1373 | esac ;; |
---|
1374 | esac |
---|
1375 | ac_abs_top_builddir=$ac_pwd |
---|
1376 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1377 | # for backward compatibility: |
---|
1378 | ac_top_builddir=$ac_top_build_prefix |
---|
1379 | |
---|
1380 | case $srcdir in |
---|
1381 | .) # We are building in place. |
---|
1382 | ac_srcdir=. |
---|
1383 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1384 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1385 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1386 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1387 | ac_top_srcdir=$srcdir |
---|
1388 | ac_abs_top_srcdir=$srcdir ;; |
---|
1389 | *) # Relative name. |
---|
1390 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1391 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1392 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1393 | esac |
---|
1394 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1395 | |
---|
1396 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1397 | # Check for guested configure. |
---|
1398 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1399 | echo && |
---|
1400 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1401 | elif test -f "$ac_srcdir/configure"; then |
---|
1402 | echo && |
---|
1403 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1404 | else |
---|
1405 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1406 | fi || ac_status=$? |
---|
1407 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1408 | done |
---|
1409 | fi |
---|
1410 | |
---|
1411 | test -n "$ac_init_help" && exit $ac_status |
---|
1412 | if $ac_init_version; then |
---|
1413 | cat <<\_ACEOF |
---|
1414 | configure |
---|
1415 | generated by GNU Autoconf 2.63 |
---|
1416 | |
---|
1417 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
1418 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
---|
1419 | This configure script is free software; the Free Software Foundation |
---|
1420 | gives unlimited permission to copy, distribute and modify it. |
---|
1421 | _ACEOF |
---|
1422 | exit |
---|
1423 | fi |
---|
1424 | cat >config.log <<_ACEOF |
---|
1425 | This file contains any messages produced by compilers while |
---|
1426 | running configure, to aid debugging if configure makes a mistake. |
---|
1427 | |
---|
1428 | It was created by $as_me, which was |
---|
1429 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
1430 | |
---|
1431 | $ $0 $@ |
---|
1432 | |
---|
1433 | _ACEOF |
---|
1434 | exec 5>>config.log |
---|
1435 | { |
---|
1436 | cat <<_ASUNAME |
---|
1437 | ## --------- ## |
---|
1438 | ## Platform. ## |
---|
1439 | ## --------- ## |
---|
1440 | |
---|
1441 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1442 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1443 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1444 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1445 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1446 | |
---|
1447 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1448 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1449 | |
---|
1450 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1451 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1452 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1453 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1454 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1455 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1456 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1457 | |
---|
1458 | _ASUNAME |
---|
1459 | |
---|
1460 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1461 | for as_dir in $PATH |
---|
1462 | do |
---|
1463 | IFS=$as_save_IFS |
---|
1464 | test -z "$as_dir" && as_dir=. |
---|
1465 | $as_echo "PATH: $as_dir" |
---|
1466 | done |
---|
1467 | IFS=$as_save_IFS |
---|
1468 | |
---|
1469 | } >&5 |
---|
1470 | |
---|
1471 | cat >&5 <<_ACEOF |
---|
1472 | |
---|
1473 | |
---|
1474 | ## ----------- ## |
---|
1475 | ## Core tests. ## |
---|
1476 | ## ----------- ## |
---|
1477 | |
---|
1478 | _ACEOF |
---|
1479 | |
---|
1480 | |
---|
1481 | # Keep a trace of the command line. |
---|
1482 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1483 | # Strip out --silent because we don't want to record it for future runs. |
---|
1484 | # Also quote any args containing shell meta-characters. |
---|
1485 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1486 | ac_configure_args= |
---|
1487 | ac_configure_args0= |
---|
1488 | ac_configure_args1= |
---|
1489 | ac_must_keep_next=false |
---|
1490 | for ac_pass in 1 2 |
---|
1491 | do |
---|
1492 | for ac_arg |
---|
1493 | do |
---|
1494 | case $ac_arg in |
---|
1495 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1496 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1497 | | -silent | --silent | --silen | --sile | --sil) |
---|
1498 | continue ;; |
---|
1499 | *\'*) |
---|
1500 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1501 | esac |
---|
1502 | case $ac_pass in |
---|
1503 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1504 | 2) |
---|
1505 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1506 | if test $ac_must_keep_next = true; then |
---|
1507 | ac_must_keep_next=false # Got value, back to normal. |
---|
1508 | else |
---|
1509 | case $ac_arg in |
---|
1510 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1511 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1512 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1513 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1514 | case "$ac_configure_args0 " in |
---|
1515 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1516 | esac |
---|
1517 | ;; |
---|
1518 | -* ) ac_must_keep_next=true ;; |
---|
1519 | esac |
---|
1520 | fi |
---|
1521 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
1522 | ;; |
---|
1523 | esac |
---|
1524 | done |
---|
1525 | done |
---|
1526 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1527 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1528 | |
---|
1529 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1530 | # config.log. We remove comments because anyway the quotes in there |
---|
1531 | # would cause problems or look ugly. |
---|
1532 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1533 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1534 | trap 'exit_status=$? |
---|
1535 | # Save into config.log some information that might help in debugging. |
---|
1536 | { |
---|
1537 | echo |
---|
1538 | |
---|
1539 | cat <<\_ASBOX |
---|
1540 | ## ---------------- ## |
---|
1541 | ## Cache variables. ## |
---|
1542 | ## ---------------- ## |
---|
1543 | _ASBOX |
---|
1544 | echo |
---|
1545 | # The following way of writing the cache mishandles newlines in values, |
---|
1546 | ( |
---|
1547 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1548 | eval ac_val=\$$ac_var |
---|
1549 | case $ac_val in #( |
---|
1550 | *${as_nl}*) |
---|
1551 | case $ac_var in #( |
---|
1552 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
1553 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
1554 | esac |
---|
1555 | case $ac_var in #( |
---|
1556 | _ | IFS | as_nl) ;; #( |
---|
1557 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
1558 | *) $as_unset $ac_var ;; |
---|
1559 | esac ;; |
---|
1560 | esac |
---|
1561 | done |
---|
1562 | (set) 2>&1 | |
---|
1563 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1564 | *${as_nl}ac_space=\ *) |
---|
1565 | sed -n \ |
---|
1566 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1567 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1568 | ;; #( |
---|
1569 | *) |
---|
1570 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1571 | ;; |
---|
1572 | esac | |
---|
1573 | sort |
---|
1574 | ) |
---|
1575 | echo |
---|
1576 | |
---|
1577 | cat <<\_ASBOX |
---|
1578 | ## ----------------- ## |
---|
1579 | ## Output variables. ## |
---|
1580 | ## ----------------- ## |
---|
1581 | _ASBOX |
---|
1582 | echo |
---|
1583 | for ac_var in $ac_subst_vars |
---|
1584 | do |
---|
1585 | eval ac_val=\$$ac_var |
---|
1586 | case $ac_val in |
---|
1587 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1588 | esac |
---|
1589 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1590 | done | sort |
---|
1591 | echo |
---|
1592 | |
---|
1593 | if test -n "$ac_subst_files"; then |
---|
1594 | cat <<\_ASBOX |
---|
1595 | ## ------------------- ## |
---|
1596 | ## File substitutions. ## |
---|
1597 | ## ------------------- ## |
---|
1598 | _ASBOX |
---|
1599 | echo |
---|
1600 | for ac_var in $ac_subst_files |
---|
1601 | do |
---|
1602 | eval ac_val=\$$ac_var |
---|
1603 | case $ac_val in |
---|
1604 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1605 | esac |
---|
1606 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
1607 | done | sort |
---|
1608 | echo |
---|
1609 | fi |
---|
1610 | |
---|
1611 | if test -s confdefs.h; then |
---|
1612 | cat <<\_ASBOX |
---|
1613 | ## ----------- ## |
---|
1614 | ## confdefs.h. ## |
---|
1615 | ## ----------- ## |
---|
1616 | _ASBOX |
---|
1617 | echo |
---|
1618 | cat confdefs.h |
---|
1619 | echo |
---|
1620 | fi |
---|
1621 | test "$ac_signal" != 0 && |
---|
1622 | $as_echo "$as_me: caught signal $ac_signal" |
---|
1623 | $as_echo "$as_me: exit $exit_status" |
---|
1624 | } >&5 |
---|
1625 | rm -f core *.core core.conftest.* && |
---|
1626 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1627 | exit $exit_status |
---|
1628 | ' 0 |
---|
1629 | for ac_signal in 1 2 13 15; do |
---|
1630 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1631 | done |
---|
1632 | ac_signal=0 |
---|
1633 | |
---|
1634 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1635 | rm -f -r conftest* confdefs.h |
---|
1636 | |
---|
1637 | # Predefined preprocessor variables. |
---|
1638 | |
---|
1639 | cat >>confdefs.h <<_ACEOF |
---|
1640 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1641 | _ACEOF |
---|
1642 | |
---|
1643 | |
---|
1644 | cat >>confdefs.h <<_ACEOF |
---|
1645 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1646 | _ACEOF |
---|
1647 | |
---|
1648 | |
---|
1649 | cat >>confdefs.h <<_ACEOF |
---|
1650 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1651 | _ACEOF |
---|
1652 | |
---|
1653 | |
---|
1654 | cat >>confdefs.h <<_ACEOF |
---|
1655 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1656 | _ACEOF |
---|
1657 | |
---|
1658 | |
---|
1659 | cat >>confdefs.h <<_ACEOF |
---|
1660 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1661 | _ACEOF |
---|
1662 | |
---|
1663 | |
---|
1664 | # Let the site file select an alternate cache file if it wants to. |
---|
1665 | # Prefer an explicitly selected file to automatically selected ones. |
---|
1666 | ac_site_file1=NONE |
---|
1667 | ac_site_file2=NONE |
---|
1668 | if test -n "$CONFIG_SITE"; then |
---|
1669 | ac_site_file1=$CONFIG_SITE |
---|
1670 | elif test "x$prefix" != xNONE; then |
---|
1671 | ac_site_file1=$prefix/share/config.site |
---|
1672 | ac_site_file2=$prefix/etc/config.site |
---|
1673 | else |
---|
1674 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
1675 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
1676 | fi |
---|
1677 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
1678 | do |
---|
1679 | test "x$ac_site_file" = xNONE && continue |
---|
1680 | if test -r "$ac_site_file"; then |
---|
1681 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1682 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1683 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1684 | . "$ac_site_file" |
---|
1685 | fi |
---|
1686 | done |
---|
1687 | |
---|
1688 | if test -r "$cache_file"; then |
---|
1689 | # Some versions of bash will fail to source /dev/null (special |
---|
1690 | # files actually), so we avoid doing that. |
---|
1691 | if test -f "$cache_file"; then |
---|
1692 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1693 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
1694 | case $cache_file in |
---|
1695 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1696 | *) . "./$cache_file";; |
---|
1697 | esac |
---|
1698 | fi |
---|
1699 | else |
---|
1700 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1701 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
1702 | >$cache_file |
---|
1703 | fi |
---|
1704 | |
---|
1705 | # Check that the precious variables saved in the cache have kept the same |
---|
1706 | # value. |
---|
1707 | ac_cache_corrupted=false |
---|
1708 | for ac_var in $ac_precious_vars; do |
---|
1709 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1710 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1711 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1712 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1713 | case $ac_old_set,$ac_new_set in |
---|
1714 | set,) |
---|
1715 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1716 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1717 | ac_cache_corrupted=: ;; |
---|
1718 | ,set) |
---|
1719 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1720 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1721 | ac_cache_corrupted=: ;; |
---|
1722 | ,);; |
---|
1723 | *) |
---|
1724 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1725 | # differences in whitespace do not lead to failure. |
---|
1726 | ac_old_val_w=`echo x $ac_old_val` |
---|
1727 | ac_new_val_w=`echo x $ac_new_val` |
---|
1728 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
1729 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1730 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1731 | ac_cache_corrupted=: |
---|
1732 | else |
---|
1733 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
1734 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
1735 | eval $ac_var=\$ac_old_val |
---|
1736 | fi |
---|
1737 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
---|
1738 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
1739 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
---|
1740 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
1741 | fi;; |
---|
1742 | esac |
---|
1743 | # Pass precious variables to config.status. |
---|
1744 | if test "$ac_new_set" = set; then |
---|
1745 | case $ac_new_val in |
---|
1746 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1747 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1748 | esac |
---|
1749 | case " $ac_configure_args " in |
---|
1750 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1751 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1752 | esac |
---|
1753 | fi |
---|
1754 | done |
---|
1755 | if $ac_cache_corrupted; then |
---|
1756 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
1757 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
1758 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1759 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1760 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1761 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1762 | { (exit 1); exit 1; }; } |
---|
1763 | fi |
---|
1764 | |
---|
1765 | |
---|
1766 | |
---|
1767 | |
---|
1768 | |
---|
1769 | |
---|
1770 | |
---|
1771 | |
---|
1772 | |
---|
1773 | |
---|
1774 | |
---|
1775 | |
---|
1776 | |
---|
1777 | |
---|
1778 | |
---|
1779 | |
---|
1780 | |
---|
1781 | ac_ext=c |
---|
1782 | ac_cpp='$CPP $CPPFLAGS' |
---|
1783 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1784 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1785 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1786 | |
---|
1787 | |
---|
1788 | |
---|
1789 | ac_config_headers="$ac_config_headers config.h" |
---|
1790 | |
---|
1791 | |
---|
1792 | ac_ext=c |
---|
1793 | ac_cpp='$CPP $CPPFLAGS' |
---|
1794 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1795 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1796 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1797 | if test -n "$ac_tool_prefix"; then |
---|
1798 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1799 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1800 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1801 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1802 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1803 | $as_echo_n "(cached) " >&6 |
---|
1804 | else |
---|
1805 | if test -n "$CC"; then |
---|
1806 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1807 | else |
---|
1808 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1809 | for as_dir in $PATH |
---|
1810 | do |
---|
1811 | IFS=$as_save_IFS |
---|
1812 | test -z "$as_dir" && as_dir=. |
---|
1813 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1814 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1815 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1816 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1817 | break 2 |
---|
1818 | fi |
---|
1819 | done |
---|
1820 | done |
---|
1821 | IFS=$as_save_IFS |
---|
1822 | |
---|
1823 | fi |
---|
1824 | fi |
---|
1825 | CC=$ac_cv_prog_CC |
---|
1826 | if test -n "$CC"; then |
---|
1827 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1828 | $as_echo "$CC" >&6; } |
---|
1829 | else |
---|
1830 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1831 | $as_echo "no" >&6; } |
---|
1832 | fi |
---|
1833 | |
---|
1834 | |
---|
1835 | fi |
---|
1836 | if test -z "$ac_cv_prog_CC"; then |
---|
1837 | ac_ct_CC=$CC |
---|
1838 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1839 | set dummy gcc; ac_word=$2 |
---|
1840 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1841 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1842 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1843 | $as_echo_n "(cached) " >&6 |
---|
1844 | else |
---|
1845 | if test -n "$ac_ct_CC"; then |
---|
1846 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1847 | else |
---|
1848 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1849 | for as_dir in $PATH |
---|
1850 | do |
---|
1851 | IFS=$as_save_IFS |
---|
1852 | test -z "$as_dir" && as_dir=. |
---|
1853 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1854 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1855 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1856 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1857 | break 2 |
---|
1858 | fi |
---|
1859 | done |
---|
1860 | done |
---|
1861 | IFS=$as_save_IFS |
---|
1862 | |
---|
1863 | fi |
---|
1864 | fi |
---|
1865 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1866 | if test -n "$ac_ct_CC"; then |
---|
1867 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1868 | $as_echo "$ac_ct_CC" >&6; } |
---|
1869 | else |
---|
1870 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1871 | $as_echo "no" >&6; } |
---|
1872 | fi |
---|
1873 | |
---|
1874 | if test "x$ac_ct_CC" = x; then |
---|
1875 | CC="" |
---|
1876 | else |
---|
1877 | case $cross_compiling:$ac_tool_warned in |
---|
1878 | yes:) |
---|
1879 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
1880 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
1881 | ac_tool_warned=yes ;; |
---|
1882 | esac |
---|
1883 | CC=$ac_ct_CC |
---|
1884 | fi |
---|
1885 | else |
---|
1886 | CC="$ac_cv_prog_CC" |
---|
1887 | fi |
---|
1888 | |
---|
1889 | if test -z "$CC"; then |
---|
1890 | if test -n "$ac_tool_prefix"; then |
---|
1891 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
1892 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
1893 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1894 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1895 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1896 | $as_echo_n "(cached) " >&6 |
---|
1897 | else |
---|
1898 | if test -n "$CC"; then |
---|
1899 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1900 | else |
---|
1901 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1902 | for as_dir in $PATH |
---|
1903 | do |
---|
1904 | IFS=$as_save_IFS |
---|
1905 | test -z "$as_dir" && as_dir=. |
---|
1906 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1907 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1908 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
1909 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1910 | break 2 |
---|
1911 | fi |
---|
1912 | done |
---|
1913 | done |
---|
1914 | IFS=$as_save_IFS |
---|
1915 | |
---|
1916 | fi |
---|
1917 | fi |
---|
1918 | CC=$ac_cv_prog_CC |
---|
1919 | if test -n "$CC"; then |
---|
1920 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1921 | $as_echo "$CC" >&6; } |
---|
1922 | else |
---|
1923 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1924 | $as_echo "no" >&6; } |
---|
1925 | fi |
---|
1926 | |
---|
1927 | |
---|
1928 | fi |
---|
1929 | fi |
---|
1930 | if test -z "$CC"; then |
---|
1931 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1932 | set dummy cc; ac_word=$2 |
---|
1933 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1934 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1935 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1936 | $as_echo_n "(cached) " >&6 |
---|
1937 | else |
---|
1938 | if test -n "$CC"; then |
---|
1939 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1940 | else |
---|
1941 | ac_prog_rejected=no |
---|
1942 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1943 | for as_dir in $PATH |
---|
1944 | do |
---|
1945 | IFS=$as_save_IFS |
---|
1946 | test -z "$as_dir" && as_dir=. |
---|
1947 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1948 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1949 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
1950 | ac_prog_rejected=yes |
---|
1951 | continue |
---|
1952 | fi |
---|
1953 | ac_cv_prog_CC="cc" |
---|
1954 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1955 | break 2 |
---|
1956 | fi |
---|
1957 | done |
---|
1958 | done |
---|
1959 | IFS=$as_save_IFS |
---|
1960 | |
---|
1961 | if test $ac_prog_rejected = yes; then |
---|
1962 | # We found a bogon in the path, so make sure we never use it. |
---|
1963 | set dummy $ac_cv_prog_CC |
---|
1964 | shift |
---|
1965 | if test $# != 0; then |
---|
1966 | # We chose a different compiler from the bogus one. |
---|
1967 | # However, it has the same basename, so the bogon will be chosen |
---|
1968 | # first if we set CC to just the basename; use the full file name. |
---|
1969 | shift |
---|
1970 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
1971 | fi |
---|
1972 | fi |
---|
1973 | fi |
---|
1974 | fi |
---|
1975 | CC=$ac_cv_prog_CC |
---|
1976 | if test -n "$CC"; then |
---|
1977 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1978 | $as_echo "$CC" >&6; } |
---|
1979 | else |
---|
1980 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
1981 | $as_echo "no" >&6; } |
---|
1982 | fi |
---|
1983 | |
---|
1984 | |
---|
1985 | fi |
---|
1986 | if test -z "$CC"; then |
---|
1987 | if test -n "$ac_tool_prefix"; then |
---|
1988 | for ac_prog in cl.exe |
---|
1989 | do |
---|
1990 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
1991 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
1992 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1993 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
1994 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1995 | $as_echo_n "(cached) " >&6 |
---|
1996 | else |
---|
1997 | if test -n "$CC"; then |
---|
1998 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1999 | else |
---|
2000 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2001 | for as_dir in $PATH |
---|
2002 | do |
---|
2003 | IFS=$as_save_IFS |
---|
2004 | test -z "$as_dir" && as_dir=. |
---|
2005 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2006 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2007 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
2008 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2009 | break 2 |
---|
2010 | fi |
---|
2011 | done |
---|
2012 | done |
---|
2013 | IFS=$as_save_IFS |
---|
2014 | |
---|
2015 | fi |
---|
2016 | fi |
---|
2017 | CC=$ac_cv_prog_CC |
---|
2018 | if test -n "$CC"; then |
---|
2019 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
---|
2020 | $as_echo "$CC" >&6; } |
---|
2021 | else |
---|
2022 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2023 | $as_echo "no" >&6; } |
---|
2024 | fi |
---|
2025 | |
---|
2026 | |
---|
2027 | test -n "$CC" && break |
---|
2028 | done |
---|
2029 | fi |
---|
2030 | if test -z "$CC"; then |
---|
2031 | ac_ct_CC=$CC |
---|
2032 | for ac_prog in cl.exe |
---|
2033 | do |
---|
2034 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
2035 | set dummy $ac_prog; ac_word=$2 |
---|
2036 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
2037 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
2038 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
2039 | $as_echo_n "(cached) " >&6 |
---|
2040 | else |
---|
2041 | if test -n "$ac_ct_CC"; then |
---|
2042 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
2043 | else |
---|
2044 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
2045 | for as_dir in $PATH |
---|
2046 | do |
---|
2047 | IFS=$as_save_IFS |
---|
2048 | test -z "$as_dir" && as_dir=. |
---|
2049 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
2050 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
2051 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
2052 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
2053 | break 2 |
---|
2054 | fi |
---|
2055 | done |
---|
2056 | done |
---|
2057 | IFS=$as_save_IFS |
---|
2058 | |
---|
2059 | fi |
---|
2060 | fi |
---|
2061 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
2062 | if test -n "$ac_ct_CC"; then |
---|
2063 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
2064 | $as_echo "$ac_ct_CC" >&6; } |
---|
2065 | else |
---|
2066 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2067 | $as_echo "no" >&6; } |
---|
2068 | fi |
---|
2069 | |
---|
2070 | |
---|
2071 | test -n "$ac_ct_CC" && break |
---|
2072 | done |
---|
2073 | |
---|
2074 | if test "x$ac_ct_CC" = x; then |
---|
2075 | CC="" |
---|
2076 | else |
---|
2077 | case $cross_compiling:$ac_tool_warned in |
---|
2078 | yes:) |
---|
2079 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
2080 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
2081 | ac_tool_warned=yes ;; |
---|
2082 | esac |
---|
2083 | CC=$ac_ct_CC |
---|
2084 | fi |
---|
2085 | fi |
---|
2086 | |
---|
2087 | fi |
---|
2088 | |
---|
2089 | |
---|
2090 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2091 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2092 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
2093 | See \`config.log' for more details." >&5 |
---|
2094 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
2095 | See \`config.log' for more details." >&2;} |
---|
2096 | { (exit 1); exit 1; }; }; } |
---|
2097 | |
---|
2098 | # Provide some information about the compiler. |
---|
2099 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
2100 | set X $ac_compile |
---|
2101 | ac_compiler=$2 |
---|
2102 | { (ac_try="$ac_compiler --version >&5" |
---|
2103 | case "(($ac_try" in |
---|
2104 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2105 | *) ac_try_echo=$ac_try;; |
---|
2106 | esac |
---|
2107 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2108 | $as_echo "$ac_try_echo") >&5 |
---|
2109 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
2110 | ac_status=$? |
---|
2111 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2112 | (exit $ac_status); } |
---|
2113 | { (ac_try="$ac_compiler -v >&5" |
---|
2114 | case "(($ac_try" in |
---|
2115 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2116 | *) ac_try_echo=$ac_try;; |
---|
2117 | esac |
---|
2118 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2119 | $as_echo "$ac_try_echo") >&5 |
---|
2120 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
2121 | ac_status=$? |
---|
2122 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2123 | (exit $ac_status); } |
---|
2124 | { (ac_try="$ac_compiler -V >&5" |
---|
2125 | case "(($ac_try" in |
---|
2126 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2127 | *) ac_try_echo=$ac_try;; |
---|
2128 | esac |
---|
2129 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2130 | $as_echo "$ac_try_echo") >&5 |
---|
2131 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
2132 | ac_status=$? |
---|
2133 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2134 | (exit $ac_status); } |
---|
2135 | |
---|
2136 | cat >conftest.$ac_ext <<_ACEOF |
---|
2137 | /* confdefs.h. */ |
---|
2138 | _ACEOF |
---|
2139 | cat confdefs.h >>conftest.$ac_ext |
---|
2140 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2141 | /* end confdefs.h. */ |
---|
2142 | |
---|
2143 | int |
---|
2144 | main () |
---|
2145 | { |
---|
2146 | |
---|
2147 | ; |
---|
2148 | return 0; |
---|
2149 | } |
---|
2150 | _ACEOF |
---|
2151 | ac_clean_files_save=$ac_clean_files |
---|
2152 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
2153 | # Try to create an executable without -o first, disregard a.out. |
---|
2154 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2155 | # of exeext. |
---|
2156 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2157 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
2158 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2159 | |
---|
2160 | # The possible output files: |
---|
2161 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
2162 | |
---|
2163 | ac_rmfiles= |
---|
2164 | for ac_file in $ac_files |
---|
2165 | do |
---|
2166 | case $ac_file in |
---|
2167 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2168 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
2169 | esac |
---|
2170 | done |
---|
2171 | rm -f $ac_rmfiles |
---|
2172 | |
---|
2173 | if { (ac_try="$ac_link_default" |
---|
2174 | case "(($ac_try" in |
---|
2175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2176 | *) ac_try_echo=$ac_try;; |
---|
2177 | esac |
---|
2178 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2179 | $as_echo "$ac_try_echo") >&5 |
---|
2180 | (eval "$ac_link_default") 2>&5 |
---|
2181 | ac_status=$? |
---|
2182 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2183 | (exit $ac_status); }; then |
---|
2184 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
2185 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
2186 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
2187 | # so that the user can short-circuit this test for compilers unknown to |
---|
2188 | # Autoconf. |
---|
2189 | for ac_file in $ac_files '' |
---|
2190 | do |
---|
2191 | test -f "$ac_file" || continue |
---|
2192 | case $ac_file in |
---|
2193 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
2194 | ;; |
---|
2195 | [ab].out ) |
---|
2196 | # We found the default executable, but exeext='' is most |
---|
2197 | # certainly right. |
---|
2198 | break;; |
---|
2199 | *.* ) |
---|
2200 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
2201 | then :; else |
---|
2202 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2203 | fi |
---|
2204 | # We set ac_cv_exeext here because the later test for it is not |
---|
2205 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
2206 | # argument, so we may need to know it at that point already. |
---|
2207 | # Even if this section looks crufty: it has the advantage of |
---|
2208 | # actually working. |
---|
2209 | break;; |
---|
2210 | * ) |
---|
2211 | break;; |
---|
2212 | esac |
---|
2213 | done |
---|
2214 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
2215 | |
---|
2216 | else |
---|
2217 | ac_file='' |
---|
2218 | fi |
---|
2219 | |
---|
2220 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2221 | $as_echo "$ac_file" >&6; } |
---|
2222 | if test -z "$ac_file"; then |
---|
2223 | $as_echo "$as_me: failed program was:" >&5 |
---|
2224 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2225 | |
---|
2226 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2227 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2228 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2229 | See \`config.log' for more details." >&5 |
---|
2230 | $as_echo "$as_me: error: C compiler cannot create executables |
---|
2231 | See \`config.log' for more details." >&2;} |
---|
2232 | { (exit 77); exit 77; }; }; } |
---|
2233 | fi |
---|
2234 | |
---|
2235 | ac_exeext=$ac_cv_exeext |
---|
2236 | |
---|
2237 | # Check that the compiler produces executables we can run. If not, either |
---|
2238 | # the compiler is broken, or we cross compile. |
---|
2239 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2240 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
2241 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2242 | # If not cross compiling, check that we can run a simple program. |
---|
2243 | if test "$cross_compiling" != yes; then |
---|
2244 | if { ac_try='./$ac_file' |
---|
2245 | { (case "(($ac_try" in |
---|
2246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2247 | *) ac_try_echo=$ac_try;; |
---|
2248 | esac |
---|
2249 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2250 | $as_echo "$ac_try_echo") >&5 |
---|
2251 | (eval "$ac_try") 2>&5 |
---|
2252 | ac_status=$? |
---|
2253 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2254 | (exit $ac_status); }; }; then |
---|
2255 | cross_compiling=no |
---|
2256 | else |
---|
2257 | if test "$cross_compiling" = maybe; then |
---|
2258 | cross_compiling=yes |
---|
2259 | else |
---|
2260 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2261 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2262 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2263 | If you meant to cross compile, use \`--host'. |
---|
2264 | See \`config.log' for more details." >&5 |
---|
2265 | $as_echo "$as_me: error: cannot run C compiled programs. |
---|
2266 | If you meant to cross compile, use \`--host'. |
---|
2267 | See \`config.log' for more details." >&2;} |
---|
2268 | { (exit 1); exit 1; }; }; } |
---|
2269 | fi |
---|
2270 | fi |
---|
2271 | fi |
---|
2272 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2273 | $as_echo "yes" >&6; } |
---|
2274 | |
---|
2275 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
2276 | ac_clean_files=$ac_clean_files_save |
---|
2277 | # Check that the compiler produces executables we can run. If not, either |
---|
2278 | # the compiler is broken, or we cross compile. |
---|
2279 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2280 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
2281 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2282 | $as_echo "$cross_compiling" >&6; } |
---|
2283 | |
---|
2284 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2285 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
2286 | if { (ac_try="$ac_link" |
---|
2287 | case "(($ac_try" in |
---|
2288 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2289 | *) ac_try_echo=$ac_try;; |
---|
2290 | esac |
---|
2291 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2292 | $as_echo "$ac_try_echo") >&5 |
---|
2293 | (eval "$ac_link") 2>&5 |
---|
2294 | ac_status=$? |
---|
2295 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2296 | (exit $ac_status); }; then |
---|
2297 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2298 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2299 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2300 | # `rm'. |
---|
2301 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2302 | test -f "$ac_file" || continue |
---|
2303 | case $ac_file in |
---|
2304 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
2305 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2306 | break;; |
---|
2307 | * ) break;; |
---|
2308 | esac |
---|
2309 | done |
---|
2310 | else |
---|
2311 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2312 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2313 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2314 | See \`config.log' for more details." >&5 |
---|
2315 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2316 | See \`config.log' for more details." >&2;} |
---|
2317 | { (exit 1); exit 1; }; }; } |
---|
2318 | fi |
---|
2319 | |
---|
2320 | rm -f conftest$ac_cv_exeext |
---|
2321 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2322 | $as_echo "$ac_cv_exeext" >&6; } |
---|
2323 | |
---|
2324 | rm -f conftest.$ac_ext |
---|
2325 | EXEEXT=$ac_cv_exeext |
---|
2326 | ac_exeext=$EXEEXT |
---|
2327 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2328 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
2329 | if test "${ac_cv_objext+set}" = set; then |
---|
2330 | $as_echo_n "(cached) " >&6 |
---|
2331 | else |
---|
2332 | cat >conftest.$ac_ext <<_ACEOF |
---|
2333 | /* confdefs.h. */ |
---|
2334 | _ACEOF |
---|
2335 | cat confdefs.h >>conftest.$ac_ext |
---|
2336 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2337 | /* end confdefs.h. */ |
---|
2338 | |
---|
2339 | int |
---|
2340 | main () |
---|
2341 | { |
---|
2342 | |
---|
2343 | ; |
---|
2344 | return 0; |
---|
2345 | } |
---|
2346 | _ACEOF |
---|
2347 | rm -f conftest.o conftest.obj |
---|
2348 | if { (ac_try="$ac_compile" |
---|
2349 | case "(($ac_try" in |
---|
2350 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2351 | *) ac_try_echo=$ac_try;; |
---|
2352 | esac |
---|
2353 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2354 | $as_echo "$ac_try_echo") >&5 |
---|
2355 | (eval "$ac_compile") 2>&5 |
---|
2356 | ac_status=$? |
---|
2357 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2358 | (exit $ac_status); }; then |
---|
2359 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
2360 | test -f "$ac_file" || continue; |
---|
2361 | case $ac_file in |
---|
2362 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
2363 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2364 | break;; |
---|
2365 | esac |
---|
2366 | done |
---|
2367 | else |
---|
2368 | $as_echo "$as_me: failed program was:" >&5 |
---|
2369 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2370 | |
---|
2371 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
2372 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
2373 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2374 | See \`config.log' for more details." >&5 |
---|
2375 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2376 | See \`config.log' for more details." >&2;} |
---|
2377 | { (exit 1); exit 1; }; }; } |
---|
2378 | fi |
---|
2379 | |
---|
2380 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2381 | fi |
---|
2382 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2383 | $as_echo "$ac_cv_objext" >&6; } |
---|
2384 | OBJEXT=$ac_cv_objext |
---|
2385 | ac_objext=$OBJEXT |
---|
2386 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2387 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
2388 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2389 | $as_echo_n "(cached) " >&6 |
---|
2390 | else |
---|
2391 | cat >conftest.$ac_ext <<_ACEOF |
---|
2392 | /* confdefs.h. */ |
---|
2393 | _ACEOF |
---|
2394 | cat confdefs.h >>conftest.$ac_ext |
---|
2395 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2396 | /* end confdefs.h. */ |
---|
2397 | |
---|
2398 | int |
---|
2399 | main () |
---|
2400 | { |
---|
2401 | #ifndef __GNUC__ |
---|
2402 | choke me |
---|
2403 | #endif |
---|
2404 | |
---|
2405 | ; |
---|
2406 | return 0; |
---|
2407 | } |
---|
2408 | _ACEOF |
---|
2409 | rm -f conftest.$ac_objext |
---|
2410 | if { (ac_try="$ac_compile" |
---|
2411 | case "(($ac_try" in |
---|
2412 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2413 | *) ac_try_echo=$ac_try;; |
---|
2414 | esac |
---|
2415 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2416 | $as_echo "$ac_try_echo") >&5 |
---|
2417 | (eval "$ac_compile") 2>conftest.er1 |
---|
2418 | ac_status=$? |
---|
2419 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2420 | rm -f conftest.er1 |
---|
2421 | cat conftest.err >&5 |
---|
2422 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2423 | (exit $ac_status); } && { |
---|
2424 | test -z "$ac_c_werror_flag" || |
---|
2425 | test ! -s conftest.err |
---|
2426 | } && test -s conftest.$ac_objext; then |
---|
2427 | ac_compiler_gnu=yes |
---|
2428 | else |
---|
2429 | $as_echo "$as_me: failed program was:" >&5 |
---|
2430 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2431 | |
---|
2432 | ac_compiler_gnu=no |
---|
2433 | fi |
---|
2434 | |
---|
2435 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2436 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2437 | |
---|
2438 | fi |
---|
2439 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2440 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
2441 | if test $ac_compiler_gnu = yes; then |
---|
2442 | GCC=yes |
---|
2443 | else |
---|
2444 | GCC= |
---|
2445 | fi |
---|
2446 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2447 | ac_save_CFLAGS=$CFLAGS |
---|
2448 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2449 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
2450 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2451 | $as_echo_n "(cached) " >&6 |
---|
2452 | else |
---|
2453 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
2454 | ac_c_werror_flag=yes |
---|
2455 | ac_cv_prog_cc_g=no |
---|
2456 | CFLAGS="-g" |
---|
2457 | cat >conftest.$ac_ext <<_ACEOF |
---|
2458 | /* confdefs.h. */ |
---|
2459 | _ACEOF |
---|
2460 | cat confdefs.h >>conftest.$ac_ext |
---|
2461 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2462 | /* end confdefs.h. */ |
---|
2463 | |
---|
2464 | int |
---|
2465 | main () |
---|
2466 | { |
---|
2467 | |
---|
2468 | ; |
---|
2469 | return 0; |
---|
2470 | } |
---|
2471 | _ACEOF |
---|
2472 | rm -f conftest.$ac_objext |
---|
2473 | if { (ac_try="$ac_compile" |
---|
2474 | case "(($ac_try" in |
---|
2475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2476 | *) ac_try_echo=$ac_try;; |
---|
2477 | esac |
---|
2478 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2479 | $as_echo "$ac_try_echo") >&5 |
---|
2480 | (eval "$ac_compile") 2>conftest.er1 |
---|
2481 | ac_status=$? |
---|
2482 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2483 | rm -f conftest.er1 |
---|
2484 | cat conftest.err >&5 |
---|
2485 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2486 | (exit $ac_status); } && { |
---|
2487 | test -z "$ac_c_werror_flag" || |
---|
2488 | test ! -s conftest.err |
---|
2489 | } && test -s conftest.$ac_objext; then |
---|
2490 | ac_cv_prog_cc_g=yes |
---|
2491 | else |
---|
2492 | $as_echo "$as_me: failed program was:" >&5 |
---|
2493 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2494 | |
---|
2495 | CFLAGS="" |
---|
2496 | cat >conftest.$ac_ext <<_ACEOF |
---|
2497 | /* confdefs.h. */ |
---|
2498 | _ACEOF |
---|
2499 | cat confdefs.h >>conftest.$ac_ext |
---|
2500 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2501 | /* end confdefs.h. */ |
---|
2502 | |
---|
2503 | int |
---|
2504 | main () |
---|
2505 | { |
---|
2506 | |
---|
2507 | ; |
---|
2508 | return 0; |
---|
2509 | } |
---|
2510 | _ACEOF |
---|
2511 | rm -f conftest.$ac_objext |
---|
2512 | if { (ac_try="$ac_compile" |
---|
2513 | case "(($ac_try" in |
---|
2514 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2515 | *) ac_try_echo=$ac_try;; |
---|
2516 | esac |
---|
2517 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2518 | $as_echo "$ac_try_echo") >&5 |
---|
2519 | (eval "$ac_compile") 2>conftest.er1 |
---|
2520 | ac_status=$? |
---|
2521 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2522 | rm -f conftest.er1 |
---|
2523 | cat conftest.err >&5 |
---|
2524 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2525 | (exit $ac_status); } && { |
---|
2526 | test -z "$ac_c_werror_flag" || |
---|
2527 | test ! -s conftest.err |
---|
2528 | } && test -s conftest.$ac_objext; then |
---|
2529 | : |
---|
2530 | else |
---|
2531 | $as_echo "$as_me: failed program was:" >&5 |
---|
2532 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2533 | |
---|
2534 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2535 | CFLAGS="-g" |
---|
2536 | cat >conftest.$ac_ext <<_ACEOF |
---|
2537 | /* confdefs.h. */ |
---|
2538 | _ACEOF |
---|
2539 | cat confdefs.h >>conftest.$ac_ext |
---|
2540 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2541 | /* end confdefs.h. */ |
---|
2542 | |
---|
2543 | int |
---|
2544 | main () |
---|
2545 | { |
---|
2546 | |
---|
2547 | ; |
---|
2548 | return 0; |
---|
2549 | } |
---|
2550 | _ACEOF |
---|
2551 | rm -f conftest.$ac_objext |
---|
2552 | if { (ac_try="$ac_compile" |
---|
2553 | case "(($ac_try" in |
---|
2554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2555 | *) ac_try_echo=$ac_try;; |
---|
2556 | esac |
---|
2557 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2558 | $as_echo "$ac_try_echo") >&5 |
---|
2559 | (eval "$ac_compile") 2>conftest.er1 |
---|
2560 | ac_status=$? |
---|
2561 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2562 | rm -f conftest.er1 |
---|
2563 | cat conftest.err >&5 |
---|
2564 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2565 | (exit $ac_status); } && { |
---|
2566 | test -z "$ac_c_werror_flag" || |
---|
2567 | test ! -s conftest.err |
---|
2568 | } && test -s conftest.$ac_objext; then |
---|
2569 | ac_cv_prog_cc_g=yes |
---|
2570 | else |
---|
2571 | $as_echo "$as_me: failed program was:" >&5 |
---|
2572 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2573 | |
---|
2574 | |
---|
2575 | fi |
---|
2576 | |
---|
2577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2578 | fi |
---|
2579 | |
---|
2580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2581 | fi |
---|
2582 | |
---|
2583 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2584 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2585 | fi |
---|
2586 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2587 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
2588 | if test "$ac_test_CFLAGS" = set; then |
---|
2589 | CFLAGS=$ac_save_CFLAGS |
---|
2590 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2591 | if test "$GCC" = yes; then |
---|
2592 | CFLAGS="-g -O2" |
---|
2593 | else |
---|
2594 | CFLAGS="-g" |
---|
2595 | fi |
---|
2596 | else |
---|
2597 | if test "$GCC" = yes; then |
---|
2598 | CFLAGS="-O2" |
---|
2599 | else |
---|
2600 | CFLAGS= |
---|
2601 | fi |
---|
2602 | fi |
---|
2603 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
2604 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
2605 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
2606 | $as_echo_n "(cached) " >&6 |
---|
2607 | else |
---|
2608 | ac_cv_prog_cc_c89=no |
---|
2609 | ac_save_CC=$CC |
---|
2610 | cat >conftest.$ac_ext <<_ACEOF |
---|
2611 | /* confdefs.h. */ |
---|
2612 | _ACEOF |
---|
2613 | cat confdefs.h >>conftest.$ac_ext |
---|
2614 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2615 | /* end confdefs.h. */ |
---|
2616 | #include <stdarg.h> |
---|
2617 | #include <stdio.h> |
---|
2618 | #include <sys/types.h> |
---|
2619 | #include <sys/stat.h> |
---|
2620 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2621 | struct buf { int x; }; |
---|
2622 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2623 | static char *e (p, i) |
---|
2624 | char **p; |
---|
2625 | int i; |
---|
2626 | { |
---|
2627 | return p[i]; |
---|
2628 | } |
---|
2629 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2630 | { |
---|
2631 | char *s; |
---|
2632 | va_list v; |
---|
2633 | va_start (v,p); |
---|
2634 | s = g (p, va_arg (v,int)); |
---|
2635 | va_end (v); |
---|
2636 | return s; |
---|
2637 | } |
---|
2638 | |
---|
2639 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2640 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2641 | These don't provoke an error unfortunately, instead are silently treated |
---|
2642 | as 'x'. The following induces an error, until -std is added to get |
---|
2643 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2644 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2645 | that's true only with -std. */ |
---|
2646 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2647 | |
---|
2648 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
2649 | inside strings and character constants. */ |
---|
2650 | #define FOO(x) 'x' |
---|
2651 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
2652 | |
---|
2653 | int test (int i, double x); |
---|
2654 | struct s1 {int (*f) (int a);}; |
---|
2655 | struct s2 {int (*f) (double a);}; |
---|
2656 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2657 | int argc; |
---|
2658 | char **argv; |
---|
2659 | int |
---|
2660 | main () |
---|
2661 | { |
---|
2662 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2663 | ; |
---|
2664 | return 0; |
---|
2665 | } |
---|
2666 | _ACEOF |
---|
2667 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
2668 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2669 | do |
---|
2670 | CC="$ac_save_CC $ac_arg" |
---|
2671 | rm -f conftest.$ac_objext |
---|
2672 | if { (ac_try="$ac_compile" |
---|
2673 | case "(($ac_try" in |
---|
2674 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2675 | *) ac_try_echo=$ac_try;; |
---|
2676 | esac |
---|
2677 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2678 | $as_echo "$ac_try_echo") >&5 |
---|
2679 | (eval "$ac_compile") 2>conftest.er1 |
---|
2680 | ac_status=$? |
---|
2681 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2682 | rm -f conftest.er1 |
---|
2683 | cat conftest.err >&5 |
---|
2684 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2685 | (exit $ac_status); } && { |
---|
2686 | test -z "$ac_c_werror_flag" || |
---|
2687 | test ! -s conftest.err |
---|
2688 | } && test -s conftest.$ac_objext; then |
---|
2689 | ac_cv_prog_cc_c89=$ac_arg |
---|
2690 | else |
---|
2691 | $as_echo "$as_me: failed program was:" >&5 |
---|
2692 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2693 | |
---|
2694 | |
---|
2695 | fi |
---|
2696 | |
---|
2697 | rm -f core conftest.err conftest.$ac_objext |
---|
2698 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
2699 | done |
---|
2700 | rm -f conftest.$ac_ext |
---|
2701 | CC=$ac_save_CC |
---|
2702 | |
---|
2703 | fi |
---|
2704 | # AC_CACHE_VAL |
---|
2705 | case "x$ac_cv_prog_cc_c89" in |
---|
2706 | x) |
---|
2707 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2708 | $as_echo "none needed" >&6; } ;; |
---|
2709 | xno) |
---|
2710 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
2711 | $as_echo "unsupported" >&6; } ;; |
---|
2712 | *) |
---|
2713 | CC="$CC $ac_cv_prog_cc_c89" |
---|
2714 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
2715 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
2716 | esac |
---|
2717 | |
---|
2718 | |
---|
2719 | ac_ext=c |
---|
2720 | ac_cpp='$CPP $CPPFLAGS' |
---|
2721 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2722 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2723 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2724 | |
---|
2725 | |
---|
2726 | if test "$GCC" = yes; then |
---|
2727 | CFLAGS="$CFLAGS -Wall -g"; |
---|
2728 | fi |
---|
2729 | |
---|
2730 | { $as_echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 |
---|
2731 | $as_echo_n "checking for /usr/athena/include... " >&6; } |
---|
2732 | if test -d /usr/athena/include; then |
---|
2733 | CFLAGS=${CFLAGS}\ -I/usr/athena/include |
---|
2734 | CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include |
---|
2735 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2736 | $as_echo "yes" >&6; } |
---|
2737 | else |
---|
2738 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2739 | $as_echo "no" >&6; } |
---|
2740 | fi |
---|
2741 | { $as_echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 |
---|
2742 | $as_echo_n "checking for /usr/athena/lib... " >&6; } |
---|
2743 | if test -d /usr/athena/lib; then |
---|
2744 | LDFLAGS=${LDFLAGS}\ -L/usr/athena/lib |
---|
2745 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2746 | $as_echo "yes" >&6; } |
---|
2747 | else |
---|
2748 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2749 | $as_echo "no" >&6; } |
---|
2750 | fi |
---|
2751 | |
---|
2752 | { $as_echo "$as_me:$LINENO: checking for kerberosIV" >&5 |
---|
2753 | $as_echo_n "checking for kerberosIV... " >&6; } |
---|
2754 | if test -d /usr/include/kerberosIV; then |
---|
2755 | CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV |
---|
2756 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV |
---|
2757 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2758 | $as_echo "yes" >&6; } |
---|
2759 | elif test -d /usr/local/include/kerberosIV; then |
---|
2760 | CFLAGS=${CFLAGS}\ -I/usr/local/include/kerberosIV |
---|
2761 | CPPFLAGS=${CPPFLAGS}\ -I/usr/local/include/kerberosIV |
---|
2762 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2763 | $as_echo "yes" >&6; } |
---|
2764 | elif test -d /usr/include/openssl; then |
---|
2765 | CFLAGS=${CFLAGS}\ -I/usr/include/openssl |
---|
2766 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/openssl |
---|
2767 | { $as_echo "$as_me:$LINENO: result: OpenSSL DES found instead" >&5 |
---|
2768 | $as_echo "OpenSSL DES found instead" >&6; } |
---|
2769 | else |
---|
2770 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2771 | $as_echo "no" >&6; } |
---|
2772 | fi |
---|
2773 | PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"} |
---|
2774 | SAVE_CFLAGS=$CFLAGS |
---|
2775 | CFLAGS="$CFLAGS $PROTECT_CFLAGS" |
---|
2776 | { $as_echo "$as_me:$LINENO: checking whether protection cflags work" >&5 |
---|
2777 | $as_echo_n "checking whether protection cflags work... " >&6; } |
---|
2778 | |
---|
2779 | cat >conftest.$ac_ext <<_ACEOF |
---|
2780 | int i; |
---|
2781 | _ACEOF |
---|
2782 | rm -f conftest.$ac_objext |
---|
2783 | if { (ac_try="$ac_compile" |
---|
2784 | case "(($ac_try" in |
---|
2785 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2786 | *) ac_try_echo=$ac_try;; |
---|
2787 | esac |
---|
2788 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2789 | $as_echo "$ac_try_echo") >&5 |
---|
2790 | (eval "$ac_compile") 2>conftest.er1 |
---|
2791 | ac_status=$? |
---|
2792 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2793 | rm -f conftest.er1 |
---|
2794 | cat conftest.err >&5 |
---|
2795 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2796 | (exit $ac_status); } && { |
---|
2797 | test -z "$ac_c_werror_flag" || |
---|
2798 | test ! -s conftest.err |
---|
2799 | } && test -s conftest.$ac_objext; then |
---|
2800 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
2801 | $as_echo "yes" >&6; } |
---|
2802 | else |
---|
2803 | $as_echo "$as_me: failed program was:" >&5 |
---|
2804 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2805 | |
---|
2806 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
2807 | $as_echo "no" >&6; } |
---|
2808 | CFLAGS=$SAVE_CFLAGS |
---|
2809 | fi |
---|
2810 | |
---|
2811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2812 | |
---|
2813 | |
---|
2814 | |
---|
2815 | { $as_echo "$as_me:$LINENO: checking for __stack_chk_guard in -lssp" >&5 |
---|
2816 | $as_echo_n "checking for __stack_chk_guard in -lssp... " >&6; } |
---|
2817 | if test "${ac_cv_lib_ssp___stack_chk_guard+set}" = set; then |
---|
2818 | $as_echo_n "(cached) " >&6 |
---|
2819 | else |
---|
2820 | ac_check_lib_save_LIBS=$LIBS |
---|
2821 | LIBS="-lssp $LIBS" |
---|
2822 | cat >conftest.$ac_ext <<_ACEOF |
---|
2823 | /* confdefs.h. */ |
---|
2824 | _ACEOF |
---|
2825 | cat confdefs.h >>conftest.$ac_ext |
---|
2826 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2827 | /* end confdefs.h. */ |
---|
2828 | |
---|
2829 | /* Override any GCC internal prototype to avoid an error. |
---|
2830 | Use char because int might match the return type of a GCC |
---|
2831 | builtin and then its argument prototype would still apply. */ |
---|
2832 | #ifdef __cplusplus |
---|
2833 | extern "C" |
---|
2834 | #endif |
---|
2835 | char __stack_chk_guard (); |
---|
2836 | int |
---|
2837 | main () |
---|
2838 | { |
---|
2839 | return __stack_chk_guard (); |
---|
2840 | ; |
---|
2841 | return 0; |
---|
2842 | } |
---|
2843 | _ACEOF |
---|
2844 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2845 | if { (ac_try="$ac_link" |
---|
2846 | case "(($ac_try" in |
---|
2847 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2848 | *) ac_try_echo=$ac_try;; |
---|
2849 | esac |
---|
2850 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2851 | $as_echo "$ac_try_echo") >&5 |
---|
2852 | (eval "$ac_link") 2>conftest.er1 |
---|
2853 | ac_status=$? |
---|
2854 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2855 | rm -f conftest.er1 |
---|
2856 | cat conftest.err >&5 |
---|
2857 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2858 | (exit $ac_status); } && { |
---|
2859 | test -z "$ac_c_werror_flag" || |
---|
2860 | test ! -s conftest.err |
---|
2861 | } && test -s conftest$ac_exeext && { |
---|
2862 | test "$cross_compiling" = yes || |
---|
2863 | $as_test_x conftest$ac_exeext |
---|
2864 | }; then |
---|
2865 | ac_cv_lib_ssp___stack_chk_guard=yes |
---|
2866 | else |
---|
2867 | $as_echo "$as_me: failed program was:" >&5 |
---|
2868 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2869 | |
---|
2870 | ac_cv_lib_ssp___stack_chk_guard=no |
---|
2871 | fi |
---|
2872 | |
---|
2873 | rm -rf conftest.dSYM |
---|
2874 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2875 | conftest$ac_exeext conftest.$ac_ext |
---|
2876 | LIBS=$ac_check_lib_save_LIBS |
---|
2877 | fi |
---|
2878 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ssp___stack_chk_guard" >&5 |
---|
2879 | $as_echo "$ac_cv_lib_ssp___stack_chk_guard" >&6; } |
---|
2880 | if test "x$ac_cv_lib_ssp___stack_chk_guard" = x""yes; then |
---|
2881 | cat >>confdefs.h <<_ACEOF |
---|
2882 | #define HAVE_LIBSSP 1 |
---|
2883 | _ACEOF |
---|
2884 | |
---|
2885 | LIBS="-lssp $LIBS" |
---|
2886 | |
---|
2887 | fi |
---|
2888 | |
---|
2889 | |
---|
2890 | { $as_echo "$as_me:$LINENO: checking for initscr in -lncursesw" >&5 |
---|
2891 | $as_echo_n "checking for initscr in -lncursesw... " >&6; } |
---|
2892 | if test "${ac_cv_lib_ncursesw_initscr+set}" = set; then |
---|
2893 | $as_echo_n "(cached) " >&6 |
---|
2894 | else |
---|
2895 | ac_check_lib_save_LIBS=$LIBS |
---|
2896 | LIBS="-lncursesw $LIBS" |
---|
2897 | cat >conftest.$ac_ext <<_ACEOF |
---|
2898 | /* confdefs.h. */ |
---|
2899 | _ACEOF |
---|
2900 | cat confdefs.h >>conftest.$ac_ext |
---|
2901 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2902 | /* end confdefs.h. */ |
---|
2903 | |
---|
2904 | /* Override any GCC internal prototype to avoid an error. |
---|
2905 | Use char because int might match the return type of a GCC |
---|
2906 | builtin and then its argument prototype would still apply. */ |
---|
2907 | #ifdef __cplusplus |
---|
2908 | extern "C" |
---|
2909 | #endif |
---|
2910 | char initscr (); |
---|
2911 | int |
---|
2912 | main () |
---|
2913 | { |
---|
2914 | return initscr (); |
---|
2915 | ; |
---|
2916 | return 0; |
---|
2917 | } |
---|
2918 | _ACEOF |
---|
2919 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2920 | if { (ac_try="$ac_link" |
---|
2921 | case "(($ac_try" in |
---|
2922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2923 | *) ac_try_echo=$ac_try;; |
---|
2924 | esac |
---|
2925 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
2926 | $as_echo "$ac_try_echo") >&5 |
---|
2927 | (eval "$ac_link") 2>conftest.er1 |
---|
2928 | ac_status=$? |
---|
2929 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2930 | rm -f conftest.er1 |
---|
2931 | cat conftest.err >&5 |
---|
2932 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2933 | (exit $ac_status); } && { |
---|
2934 | test -z "$ac_c_werror_flag" || |
---|
2935 | test ! -s conftest.err |
---|
2936 | } && test -s conftest$ac_exeext && { |
---|
2937 | test "$cross_compiling" = yes || |
---|
2938 | $as_test_x conftest$ac_exeext |
---|
2939 | }; then |
---|
2940 | ac_cv_lib_ncursesw_initscr=yes |
---|
2941 | else |
---|
2942 | $as_echo "$as_me: failed program was:" >&5 |
---|
2943 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2944 | |
---|
2945 | ac_cv_lib_ncursesw_initscr=no |
---|
2946 | fi |
---|
2947 | |
---|
2948 | rm -rf conftest.dSYM |
---|
2949 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2950 | conftest$ac_exeext conftest.$ac_ext |
---|
2951 | LIBS=$ac_check_lib_save_LIBS |
---|
2952 | fi |
---|
2953 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ncursesw_initscr" >&5 |
---|
2954 | $as_echo "$ac_cv_lib_ncursesw_initscr" >&6; } |
---|
2955 | if test "x$ac_cv_lib_ncursesw_initscr" = x""yes; then |
---|
2956 | cat >>confdefs.h <<_ACEOF |
---|
2957 | #define HAVE_LIBNCURSESW 1 |
---|
2958 | _ACEOF |
---|
2959 | |
---|
2960 | LIBS="-lncursesw $LIBS" |
---|
2961 | |
---|
2962 | else |
---|
2963 | { { $as_echo "$as_me:$LINENO: error: No libncursesw found." >&5 |
---|
2964 | $as_echo "$as_me: error: No libncursesw found." >&2;} |
---|
2965 | { (exit 1); exit 1; }; } |
---|
2966 | fi |
---|
2967 | |
---|
2968 | |
---|
2969 | { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
---|
2970 | $as_echo_n "checking for com_err in -lcom_err... " >&6; } |
---|
2971 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
---|
2972 | $as_echo_n "(cached) " >&6 |
---|
2973 | else |
---|
2974 | ac_check_lib_save_LIBS=$LIBS |
---|
2975 | LIBS="-lcom_err $LIBS" |
---|
2976 | cat >conftest.$ac_ext <<_ACEOF |
---|
2977 | /* confdefs.h. */ |
---|
2978 | _ACEOF |
---|
2979 | cat confdefs.h >>conftest.$ac_ext |
---|
2980 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2981 | /* end confdefs.h. */ |
---|
2982 | |
---|
2983 | /* Override any GCC internal prototype to avoid an error. |
---|
2984 | Use char because int might match the return type of a GCC |
---|
2985 | builtin and then its argument prototype would still apply. */ |
---|
2986 | #ifdef __cplusplus |
---|
2987 | extern "C" |
---|
2988 | #endif |
---|
2989 | char com_err (); |
---|
2990 | int |
---|
2991 | main () |
---|
2992 | { |
---|
2993 | return com_err (); |
---|
2994 | ; |
---|
2995 | return 0; |
---|
2996 | } |
---|
2997 | _ACEOF |
---|
2998 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2999 | if { (ac_try="$ac_link" |
---|
3000 | case "(($ac_try" in |
---|
3001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3002 | *) ac_try_echo=$ac_try;; |
---|
3003 | esac |
---|
3004 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3005 | $as_echo "$ac_try_echo") >&5 |
---|
3006 | (eval "$ac_link") 2>conftest.er1 |
---|
3007 | ac_status=$? |
---|
3008 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3009 | rm -f conftest.er1 |
---|
3010 | cat conftest.err >&5 |
---|
3011 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3012 | (exit $ac_status); } && { |
---|
3013 | test -z "$ac_c_werror_flag" || |
---|
3014 | test ! -s conftest.err |
---|
3015 | } && test -s conftest$ac_exeext && { |
---|
3016 | test "$cross_compiling" = yes || |
---|
3017 | $as_test_x conftest$ac_exeext |
---|
3018 | }; then |
---|
3019 | ac_cv_lib_com_err_com_err=yes |
---|
3020 | else |
---|
3021 | $as_echo "$as_me: failed program was:" >&5 |
---|
3022 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3023 | |
---|
3024 | ac_cv_lib_com_err_com_err=no |
---|
3025 | fi |
---|
3026 | |
---|
3027 | rm -rf conftest.dSYM |
---|
3028 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3029 | conftest$ac_exeext conftest.$ac_ext |
---|
3030 | LIBS=$ac_check_lib_save_LIBS |
---|
3031 | fi |
---|
3032 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
---|
3033 | $as_echo "$ac_cv_lib_com_err_com_err" >&6; } |
---|
3034 | if test "x$ac_cv_lib_com_err_com_err" = x""yes; then |
---|
3035 | cat >>confdefs.h <<_ACEOF |
---|
3036 | #define HAVE_LIBCOM_ERR 1 |
---|
3037 | _ACEOF |
---|
3038 | |
---|
3039 | LIBS="-lcom_err $LIBS" |
---|
3040 | |
---|
3041 | fi |
---|
3042 | |
---|
3043 | |
---|
3044 | { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
---|
3045 | $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } |
---|
3046 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
---|
3047 | $as_echo_n "(cached) " >&6 |
---|
3048 | else |
---|
3049 | ac_check_lib_save_LIBS=$LIBS |
---|
3050 | LIBS="-lnsl $LIBS" |
---|
3051 | cat >conftest.$ac_ext <<_ACEOF |
---|
3052 | /* confdefs.h. */ |
---|
3053 | _ACEOF |
---|
3054 | cat confdefs.h >>conftest.$ac_ext |
---|
3055 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3056 | /* end confdefs.h. */ |
---|
3057 | |
---|
3058 | /* Override any GCC internal prototype to avoid an error. |
---|
3059 | Use char because int might match the return type of a GCC |
---|
3060 | builtin and then its argument prototype would still apply. */ |
---|
3061 | #ifdef __cplusplus |
---|
3062 | extern "C" |
---|
3063 | #endif |
---|
3064 | char gethostbyname (); |
---|
3065 | int |
---|
3066 | main () |
---|
3067 | { |
---|
3068 | return gethostbyname (); |
---|
3069 | ; |
---|
3070 | return 0; |
---|
3071 | } |
---|
3072 | _ACEOF |
---|
3073 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3074 | if { (ac_try="$ac_link" |
---|
3075 | case "(($ac_try" in |
---|
3076 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3077 | *) ac_try_echo=$ac_try;; |
---|
3078 | esac |
---|
3079 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3080 | $as_echo "$ac_try_echo") >&5 |
---|
3081 | (eval "$ac_link") 2>conftest.er1 |
---|
3082 | ac_status=$? |
---|
3083 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3084 | rm -f conftest.er1 |
---|
3085 | cat conftest.err >&5 |
---|
3086 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3087 | (exit $ac_status); } && { |
---|
3088 | test -z "$ac_c_werror_flag" || |
---|
3089 | test ! -s conftest.err |
---|
3090 | } && test -s conftest$ac_exeext && { |
---|
3091 | test "$cross_compiling" = yes || |
---|
3092 | $as_test_x conftest$ac_exeext |
---|
3093 | }; then |
---|
3094 | ac_cv_lib_nsl_gethostbyname=yes |
---|
3095 | else |
---|
3096 | $as_echo "$as_me: failed program was:" >&5 |
---|
3097 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3098 | |
---|
3099 | ac_cv_lib_nsl_gethostbyname=no |
---|
3100 | fi |
---|
3101 | |
---|
3102 | rm -rf conftest.dSYM |
---|
3103 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3104 | conftest$ac_exeext conftest.$ac_ext |
---|
3105 | LIBS=$ac_check_lib_save_LIBS |
---|
3106 | fi |
---|
3107 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
---|
3108 | $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } |
---|
3109 | if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then |
---|
3110 | cat >>confdefs.h <<_ACEOF |
---|
3111 | #define HAVE_LIBNSL 1 |
---|
3112 | _ACEOF |
---|
3113 | |
---|
3114 | LIBS="-lnsl $LIBS" |
---|
3115 | |
---|
3116 | fi |
---|
3117 | |
---|
3118 | |
---|
3119 | { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
---|
3120 | $as_echo_n "checking for socket in -lsocket... " >&6; } |
---|
3121 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
---|
3122 | $as_echo_n "(cached) " >&6 |
---|
3123 | else |
---|
3124 | ac_check_lib_save_LIBS=$LIBS |
---|
3125 | LIBS="-lsocket $LIBS" |
---|
3126 | cat >conftest.$ac_ext <<_ACEOF |
---|
3127 | /* confdefs.h. */ |
---|
3128 | _ACEOF |
---|
3129 | cat confdefs.h >>conftest.$ac_ext |
---|
3130 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3131 | /* end confdefs.h. */ |
---|
3132 | |
---|
3133 | /* Override any GCC internal prototype to avoid an error. |
---|
3134 | Use char because int might match the return type of a GCC |
---|
3135 | builtin and then its argument prototype would still apply. */ |
---|
3136 | #ifdef __cplusplus |
---|
3137 | extern "C" |
---|
3138 | #endif |
---|
3139 | char socket (); |
---|
3140 | int |
---|
3141 | main () |
---|
3142 | { |
---|
3143 | return socket (); |
---|
3144 | ; |
---|
3145 | return 0; |
---|
3146 | } |
---|
3147 | _ACEOF |
---|
3148 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3149 | if { (ac_try="$ac_link" |
---|
3150 | case "(($ac_try" in |
---|
3151 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3152 | *) ac_try_echo=$ac_try;; |
---|
3153 | esac |
---|
3154 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3155 | $as_echo "$ac_try_echo") >&5 |
---|
3156 | (eval "$ac_link") 2>conftest.er1 |
---|
3157 | ac_status=$? |
---|
3158 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3159 | rm -f conftest.er1 |
---|
3160 | cat conftest.err >&5 |
---|
3161 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3162 | (exit $ac_status); } && { |
---|
3163 | test -z "$ac_c_werror_flag" || |
---|
3164 | test ! -s conftest.err |
---|
3165 | } && test -s conftest$ac_exeext && { |
---|
3166 | test "$cross_compiling" = yes || |
---|
3167 | $as_test_x conftest$ac_exeext |
---|
3168 | }; then |
---|
3169 | ac_cv_lib_socket_socket=yes |
---|
3170 | else |
---|
3171 | $as_echo "$as_me: failed program was:" >&5 |
---|
3172 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3173 | |
---|
3174 | ac_cv_lib_socket_socket=no |
---|
3175 | fi |
---|
3176 | |
---|
3177 | rm -rf conftest.dSYM |
---|
3178 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3179 | conftest$ac_exeext conftest.$ac_ext |
---|
3180 | LIBS=$ac_check_lib_save_LIBS |
---|
3181 | fi |
---|
3182 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
---|
3183 | $as_echo "$ac_cv_lib_socket_socket" >&6; } |
---|
3184 | if test "x$ac_cv_lib_socket_socket" = x""yes; then |
---|
3185 | cat >>confdefs.h <<_ACEOF |
---|
3186 | #define HAVE_LIBSOCKET 1 |
---|
3187 | _ACEOF |
---|
3188 | |
---|
3189 | LIBS="-lsocket $LIBS" |
---|
3190 | |
---|
3191 | fi |
---|
3192 | |
---|
3193 | |
---|
3194 | { $as_echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
---|
3195 | $as_echo_n "checking for des_cbc_encrypt in -ldes425... " >&6; } |
---|
3196 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
---|
3197 | $as_echo_n "(cached) " >&6 |
---|
3198 | else |
---|
3199 | ac_check_lib_save_LIBS=$LIBS |
---|
3200 | LIBS="-ldes425 $LIBS" |
---|
3201 | cat >conftest.$ac_ext <<_ACEOF |
---|
3202 | /* confdefs.h. */ |
---|
3203 | _ACEOF |
---|
3204 | cat confdefs.h >>conftest.$ac_ext |
---|
3205 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3206 | /* end confdefs.h. */ |
---|
3207 | |
---|
3208 | /* Override any GCC internal prototype to avoid an error. |
---|
3209 | Use char because int might match the return type of a GCC |
---|
3210 | builtin and then its argument prototype would still apply. */ |
---|
3211 | #ifdef __cplusplus |
---|
3212 | extern "C" |
---|
3213 | #endif |
---|
3214 | char des_cbc_encrypt (); |
---|
3215 | int |
---|
3216 | main () |
---|
3217 | { |
---|
3218 | return des_cbc_encrypt (); |
---|
3219 | ; |
---|
3220 | return 0; |
---|
3221 | } |
---|
3222 | _ACEOF |
---|
3223 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3224 | if { (ac_try="$ac_link" |
---|
3225 | case "(($ac_try" in |
---|
3226 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3227 | *) ac_try_echo=$ac_try;; |
---|
3228 | esac |
---|
3229 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3230 | $as_echo "$ac_try_echo") >&5 |
---|
3231 | (eval "$ac_link") 2>conftest.er1 |
---|
3232 | ac_status=$? |
---|
3233 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3234 | rm -f conftest.er1 |
---|
3235 | cat conftest.err >&5 |
---|
3236 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3237 | (exit $ac_status); } && { |
---|
3238 | test -z "$ac_c_werror_flag" || |
---|
3239 | test ! -s conftest.err |
---|
3240 | } && test -s conftest$ac_exeext && { |
---|
3241 | test "$cross_compiling" = yes || |
---|
3242 | $as_test_x conftest$ac_exeext |
---|
3243 | }; then |
---|
3244 | ac_cv_lib_des425_des_cbc_encrypt=yes |
---|
3245 | else |
---|
3246 | $as_echo "$as_me: failed program was:" >&5 |
---|
3247 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3248 | |
---|
3249 | ac_cv_lib_des425_des_cbc_encrypt=no |
---|
3250 | fi |
---|
3251 | |
---|
3252 | rm -rf conftest.dSYM |
---|
3253 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3254 | conftest$ac_exeext conftest.$ac_ext |
---|
3255 | LIBS=$ac_check_lib_save_LIBS |
---|
3256 | fi |
---|
3257 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
---|
3258 | $as_echo "$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
---|
3259 | if test "x$ac_cv_lib_des425_des_cbc_encrypt" = x""yes; then |
---|
3260 | cat >>confdefs.h <<_ACEOF |
---|
3261 | #define HAVE_LIBDES425 1 |
---|
3262 | _ACEOF |
---|
3263 | |
---|
3264 | LIBS="-ldes425 $LIBS" |
---|
3265 | |
---|
3266 | else |
---|
3267 | |
---|
3268 | { $as_echo "$as_me:$LINENO: checking for DES_cbc_encrypt in -lcrypto" >&5 |
---|
3269 | $as_echo_n "checking for DES_cbc_encrypt in -lcrypto... " >&6; } |
---|
3270 | if test "${ac_cv_lib_crypto_DES_cbc_encrypt+set}" = set; then |
---|
3271 | $as_echo_n "(cached) " >&6 |
---|
3272 | else |
---|
3273 | ac_check_lib_save_LIBS=$LIBS |
---|
3274 | LIBS="-lcrypto $LIBS" |
---|
3275 | cat >conftest.$ac_ext <<_ACEOF |
---|
3276 | /* confdefs.h. */ |
---|
3277 | _ACEOF |
---|
3278 | cat confdefs.h >>conftest.$ac_ext |
---|
3279 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3280 | /* end confdefs.h. */ |
---|
3281 | |
---|
3282 | /* Override any GCC internal prototype to avoid an error. |
---|
3283 | Use char because int might match the return type of a GCC |
---|
3284 | builtin and then its argument prototype would still apply. */ |
---|
3285 | #ifdef __cplusplus |
---|
3286 | extern "C" |
---|
3287 | #endif |
---|
3288 | char DES_cbc_encrypt (); |
---|
3289 | int |
---|
3290 | main () |
---|
3291 | { |
---|
3292 | return DES_cbc_encrypt (); |
---|
3293 | ; |
---|
3294 | return 0; |
---|
3295 | } |
---|
3296 | _ACEOF |
---|
3297 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3298 | if { (ac_try="$ac_link" |
---|
3299 | case "(($ac_try" in |
---|
3300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3301 | *) ac_try_echo=$ac_try;; |
---|
3302 | esac |
---|
3303 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3304 | $as_echo "$ac_try_echo") >&5 |
---|
3305 | (eval "$ac_link") 2>conftest.er1 |
---|
3306 | ac_status=$? |
---|
3307 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3308 | rm -f conftest.er1 |
---|
3309 | cat conftest.err >&5 |
---|
3310 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3311 | (exit $ac_status); } && { |
---|
3312 | test -z "$ac_c_werror_flag" || |
---|
3313 | test ! -s conftest.err |
---|
3314 | } && test -s conftest$ac_exeext && { |
---|
3315 | test "$cross_compiling" = yes || |
---|
3316 | $as_test_x conftest$ac_exeext |
---|
3317 | }; then |
---|
3318 | ac_cv_lib_crypto_DES_cbc_encrypt=yes |
---|
3319 | else |
---|
3320 | $as_echo "$as_me: failed program was:" >&5 |
---|
3321 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3322 | |
---|
3323 | ac_cv_lib_crypto_DES_cbc_encrypt=no |
---|
3324 | fi |
---|
3325 | |
---|
3326 | rm -rf conftest.dSYM |
---|
3327 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3328 | conftest$ac_exeext conftest.$ac_ext |
---|
3329 | LIBS=$ac_check_lib_save_LIBS |
---|
3330 | fi |
---|
3331 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_DES_cbc_encrypt" >&5 |
---|
3332 | $as_echo "$ac_cv_lib_crypto_DES_cbc_encrypt" >&6; } |
---|
3333 | if test "x$ac_cv_lib_crypto_DES_cbc_encrypt" = x""yes; then |
---|
3334 | cat >>confdefs.h <<_ACEOF |
---|
3335 | #define HAVE_LIBCRYPTO 1 |
---|
3336 | _ACEOF |
---|
3337 | |
---|
3338 | LIBS="-lcrypto $LIBS" |
---|
3339 | |
---|
3340 | fi |
---|
3341 | |
---|
3342 | fi |
---|
3343 | |
---|
3344 | |
---|
3345 | { $as_echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
---|
3346 | $as_echo_n "checking for res_search in -lresolv... " >&6; } |
---|
3347 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
---|
3348 | $as_echo_n "(cached) " >&6 |
---|
3349 | else |
---|
3350 | ac_check_lib_save_LIBS=$LIBS |
---|
3351 | LIBS="-lresolv $LIBS" |
---|
3352 | cat >conftest.$ac_ext <<_ACEOF |
---|
3353 | /* confdefs.h. */ |
---|
3354 | _ACEOF |
---|
3355 | cat confdefs.h >>conftest.$ac_ext |
---|
3356 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3357 | /* end confdefs.h. */ |
---|
3358 | |
---|
3359 | /* Override any GCC internal prototype to avoid an error. |
---|
3360 | Use char because int might match the return type of a GCC |
---|
3361 | builtin and then its argument prototype would still apply. */ |
---|
3362 | #ifdef __cplusplus |
---|
3363 | extern "C" |
---|
3364 | #endif |
---|
3365 | char res_search (); |
---|
3366 | int |
---|
3367 | main () |
---|
3368 | { |
---|
3369 | return res_search (); |
---|
3370 | ; |
---|
3371 | return 0; |
---|
3372 | } |
---|
3373 | _ACEOF |
---|
3374 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3375 | if { (ac_try="$ac_link" |
---|
3376 | case "(($ac_try" in |
---|
3377 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3378 | *) ac_try_echo=$ac_try;; |
---|
3379 | esac |
---|
3380 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3381 | $as_echo "$ac_try_echo") >&5 |
---|
3382 | (eval "$ac_link") 2>conftest.er1 |
---|
3383 | ac_status=$? |
---|
3384 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3385 | rm -f conftest.er1 |
---|
3386 | cat conftest.err >&5 |
---|
3387 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3388 | (exit $ac_status); } && { |
---|
3389 | test -z "$ac_c_werror_flag" || |
---|
3390 | test ! -s conftest.err |
---|
3391 | } && test -s conftest$ac_exeext && { |
---|
3392 | test "$cross_compiling" = yes || |
---|
3393 | $as_test_x conftest$ac_exeext |
---|
3394 | }; then |
---|
3395 | ac_cv_lib_resolv_res_search=yes |
---|
3396 | else |
---|
3397 | $as_echo "$as_me: failed program was:" >&5 |
---|
3398 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3399 | |
---|
3400 | ac_cv_lib_resolv_res_search=no |
---|
3401 | fi |
---|
3402 | |
---|
3403 | rm -rf conftest.dSYM |
---|
3404 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3405 | conftest$ac_exeext conftest.$ac_ext |
---|
3406 | LIBS=$ac_check_lib_save_LIBS |
---|
3407 | fi |
---|
3408 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
---|
3409 | $as_echo "$ac_cv_lib_resolv_res_search" >&6; } |
---|
3410 | if test "x$ac_cv_lib_resolv_res_search" = x""yes; then |
---|
3411 | cat >>confdefs.h <<_ACEOF |
---|
3412 | #define HAVE_LIBRESOLV 1 |
---|
3413 | _ACEOF |
---|
3414 | |
---|
3415 | LIBS="-lresolv $LIBS" |
---|
3416 | |
---|
3417 | fi |
---|
3418 | |
---|
3419 | |
---|
3420 | { $as_echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
---|
3421 | $as_echo_n "checking for ZGetSender in -lzephyr... " >&6; } |
---|
3422 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
---|
3423 | $as_echo_n "(cached) " >&6 |
---|
3424 | else |
---|
3425 | ac_check_lib_save_LIBS=$LIBS |
---|
3426 | LIBS="-lzephyr $LIBS" |
---|
3427 | cat >conftest.$ac_ext <<_ACEOF |
---|
3428 | /* confdefs.h. */ |
---|
3429 | _ACEOF |
---|
3430 | cat confdefs.h >>conftest.$ac_ext |
---|
3431 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3432 | /* end confdefs.h. */ |
---|
3433 | |
---|
3434 | /* Override any GCC internal prototype to avoid an error. |
---|
3435 | Use char because int might match the return type of a GCC |
---|
3436 | builtin and then its argument prototype would still apply. */ |
---|
3437 | #ifdef __cplusplus |
---|
3438 | extern "C" |
---|
3439 | #endif |
---|
3440 | char ZGetSender (); |
---|
3441 | int |
---|
3442 | main () |
---|
3443 | { |
---|
3444 | return ZGetSender (); |
---|
3445 | ; |
---|
3446 | return 0; |
---|
3447 | } |
---|
3448 | _ACEOF |
---|
3449 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3450 | if { (ac_try="$ac_link" |
---|
3451 | case "(($ac_try" in |
---|
3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3453 | *) ac_try_echo=$ac_try;; |
---|
3454 | esac |
---|
3455 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3456 | $as_echo "$ac_try_echo") >&5 |
---|
3457 | (eval "$ac_link") 2>conftest.er1 |
---|
3458 | ac_status=$? |
---|
3459 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3460 | rm -f conftest.er1 |
---|
3461 | cat conftest.err >&5 |
---|
3462 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3463 | (exit $ac_status); } && { |
---|
3464 | test -z "$ac_c_werror_flag" || |
---|
3465 | test ! -s conftest.err |
---|
3466 | } && test -s conftest$ac_exeext && { |
---|
3467 | test "$cross_compiling" = yes || |
---|
3468 | $as_test_x conftest$ac_exeext |
---|
3469 | }; then |
---|
3470 | ac_cv_lib_zephyr_ZGetSender=yes |
---|
3471 | else |
---|
3472 | $as_echo "$as_me: failed program was:" >&5 |
---|
3473 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3474 | |
---|
3475 | ac_cv_lib_zephyr_ZGetSender=no |
---|
3476 | fi |
---|
3477 | |
---|
3478 | rm -rf conftest.dSYM |
---|
3479 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3480 | conftest$ac_exeext conftest.$ac_ext |
---|
3481 | LIBS=$ac_check_lib_save_LIBS |
---|
3482 | fi |
---|
3483 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
---|
3484 | $as_echo "$ac_cv_lib_zephyr_ZGetSender" >&6; } |
---|
3485 | if test "x$ac_cv_lib_zephyr_ZGetSender" = x""yes; then |
---|
3486 | cat >>confdefs.h <<_ACEOF |
---|
3487 | #define HAVE_LIBZEPHYR 1 |
---|
3488 | _ACEOF |
---|
3489 | |
---|
3490 | LIBS="-lzephyr $LIBS" |
---|
3491 | |
---|
3492 | fi |
---|
3493 | |
---|
3494 | { $as_echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
---|
3495 | $as_echo_n "checking for ZInitLocationInfo in -lzephyr... " >&6; } |
---|
3496 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
---|
3497 | $as_echo_n "(cached) " >&6 |
---|
3498 | else |
---|
3499 | ac_check_lib_save_LIBS=$LIBS |
---|
3500 | LIBS="-lzephyr $LIBS" |
---|
3501 | cat >conftest.$ac_ext <<_ACEOF |
---|
3502 | /* confdefs.h. */ |
---|
3503 | _ACEOF |
---|
3504 | cat confdefs.h >>conftest.$ac_ext |
---|
3505 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3506 | /* end confdefs.h. */ |
---|
3507 | |
---|
3508 | /* Override any GCC internal prototype to avoid an error. |
---|
3509 | Use char because int might match the return type of a GCC |
---|
3510 | builtin and then its argument prototype would still apply. */ |
---|
3511 | #ifdef __cplusplus |
---|
3512 | extern "C" |
---|
3513 | #endif |
---|
3514 | char ZInitLocationInfo (); |
---|
3515 | int |
---|
3516 | main () |
---|
3517 | { |
---|
3518 | return ZInitLocationInfo (); |
---|
3519 | ; |
---|
3520 | return 0; |
---|
3521 | } |
---|
3522 | _ACEOF |
---|
3523 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3524 | if { (ac_try="$ac_link" |
---|
3525 | case "(($ac_try" in |
---|
3526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3527 | *) ac_try_echo=$ac_try;; |
---|
3528 | esac |
---|
3529 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3530 | $as_echo "$ac_try_echo") >&5 |
---|
3531 | (eval "$ac_link") 2>conftest.er1 |
---|
3532 | ac_status=$? |
---|
3533 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3534 | rm -f conftest.er1 |
---|
3535 | cat conftest.err >&5 |
---|
3536 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3537 | (exit $ac_status); } && { |
---|
3538 | test -z "$ac_c_werror_flag" || |
---|
3539 | test ! -s conftest.err |
---|
3540 | } && test -s conftest$ac_exeext && { |
---|
3541 | test "$cross_compiling" = yes || |
---|
3542 | $as_test_x conftest$ac_exeext |
---|
3543 | }; then |
---|
3544 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
---|
3545 | else |
---|
3546 | $as_echo "$as_me: failed program was:" >&5 |
---|
3547 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3548 | |
---|
3549 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
---|
3550 | fi |
---|
3551 | |
---|
3552 | rm -rf conftest.dSYM |
---|
3553 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3554 | conftest$ac_exeext conftest.$ac_ext |
---|
3555 | LIBS=$ac_check_lib_save_LIBS |
---|
3556 | fi |
---|
3557 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
---|
3558 | $as_echo "$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
---|
3559 | if test "x$ac_cv_lib_zephyr_ZInitLocationInfo" = x""yes; then |
---|
3560 | |
---|
3561 | cat >>confdefs.h <<\_ACEOF |
---|
3562 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO /**/ |
---|
3563 | _ACEOF |
---|
3564 | |
---|
3565 | fi |
---|
3566 | |
---|
3567 | |
---|
3568 | # Check whether --enable-athstatic was given. |
---|
3569 | if test "${enable_athstatic+set}" = set; then |
---|
3570 | enableval=$enable_athstatic; ATHSTATIC=./athstatic |
---|
3571 | else |
---|
3572 | ATHSTATIC= |
---|
3573 | fi |
---|
3574 | |
---|
3575 | |
---|
3576 | |
---|
3577 | |
---|
3578 | |
---|
3579 | |
---|
3580 | |
---|
3581 | for ac_func in use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt |
---|
3582 | do |
---|
3583 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
3584 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
3585 | $as_echo_n "checking for $ac_func... " >&6; } |
---|
3586 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3587 | $as_echo_n "(cached) " >&6 |
---|
3588 | else |
---|
3589 | cat >conftest.$ac_ext <<_ACEOF |
---|
3590 | /* confdefs.h. */ |
---|
3591 | _ACEOF |
---|
3592 | cat confdefs.h >>conftest.$ac_ext |
---|
3593 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3594 | /* end confdefs.h. */ |
---|
3595 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
3596 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
3597 | #define $ac_func innocuous_$ac_func |
---|
3598 | |
---|
3599 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3600 | which can conflict with char $ac_func (); below. |
---|
3601 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3602 | <limits.h> exists even on freestanding compilers. */ |
---|
3603 | |
---|
3604 | #ifdef __STDC__ |
---|
3605 | # include <limits.h> |
---|
3606 | #else |
---|
3607 | # include <assert.h> |
---|
3608 | #endif |
---|
3609 | |
---|
3610 | #undef $ac_func |
---|
3611 | |
---|
3612 | /* Override any GCC internal prototype to avoid an error. |
---|
3613 | Use char because int might match the return type of a GCC |
---|
3614 | builtin and then its argument prototype would still apply. */ |
---|
3615 | #ifdef __cplusplus |
---|
3616 | extern "C" |
---|
3617 | #endif |
---|
3618 | char $ac_func (); |
---|
3619 | /* The GNU C library defines this for functions which it implements |
---|
3620 | to always fail with ENOSYS. Some functions are actually named |
---|
3621 | something starting with __ and the normal name is an alias. */ |
---|
3622 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
3623 | choke me |
---|
3624 | #endif |
---|
3625 | |
---|
3626 | int |
---|
3627 | main () |
---|
3628 | { |
---|
3629 | return $ac_func (); |
---|
3630 | ; |
---|
3631 | return 0; |
---|
3632 | } |
---|
3633 | _ACEOF |
---|
3634 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3635 | if { (ac_try="$ac_link" |
---|
3636 | case "(($ac_try" in |
---|
3637 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3638 | *) ac_try_echo=$ac_try;; |
---|
3639 | esac |
---|
3640 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3641 | $as_echo "$ac_try_echo") >&5 |
---|
3642 | (eval "$ac_link") 2>conftest.er1 |
---|
3643 | ac_status=$? |
---|
3644 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3645 | rm -f conftest.er1 |
---|
3646 | cat conftest.err >&5 |
---|
3647 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3648 | (exit $ac_status); } && { |
---|
3649 | test -z "$ac_c_werror_flag" || |
---|
3650 | test ! -s conftest.err |
---|
3651 | } && test -s conftest$ac_exeext && { |
---|
3652 | test "$cross_compiling" = yes || |
---|
3653 | $as_test_x conftest$ac_exeext |
---|
3654 | }; then |
---|
3655 | eval "$as_ac_var=yes" |
---|
3656 | else |
---|
3657 | $as_echo "$as_me: failed program was:" >&5 |
---|
3658 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3659 | |
---|
3660 | eval "$as_ac_var=no" |
---|
3661 | fi |
---|
3662 | |
---|
3663 | rm -rf conftest.dSYM |
---|
3664 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3665 | conftest$ac_exeext conftest.$ac_ext |
---|
3666 | fi |
---|
3667 | ac_res=`eval 'as_val=${'$as_ac_var'} |
---|
3668 | $as_echo "$as_val"'` |
---|
3669 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
3670 | $as_echo "$ac_res" >&6; } |
---|
3671 | as_val=`eval 'as_val=${'$as_ac_var'} |
---|
3672 | $as_echo "$as_val"'` |
---|
3673 | if test "x$as_val" = x""yes; then |
---|
3674 | cat >>confdefs.h <<_ACEOF |
---|
3675 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
3676 | _ACEOF |
---|
3677 | |
---|
3678 | fi |
---|
3679 | done |
---|
3680 | |
---|
3681 | |
---|
3682 | |
---|
3683 | |
---|
3684 | for ac_func in DES_string_to_key DES_ecb_encrypt DES_key_sched |
---|
3685 | do |
---|
3686 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
3687 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
3688 | $as_echo_n "checking for $ac_func... " >&6; } |
---|
3689 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3690 | $as_echo_n "(cached) " >&6 |
---|
3691 | else |
---|
3692 | cat >conftest.$ac_ext <<_ACEOF |
---|
3693 | /* confdefs.h. */ |
---|
3694 | _ACEOF |
---|
3695 | cat confdefs.h >>conftest.$ac_ext |
---|
3696 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3697 | /* end confdefs.h. */ |
---|
3698 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
3699 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
3700 | #define $ac_func innocuous_$ac_func |
---|
3701 | |
---|
3702 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3703 | which can conflict with char $ac_func (); below. |
---|
3704 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3705 | <limits.h> exists even on freestanding compilers. */ |
---|
3706 | |
---|
3707 | #ifdef __STDC__ |
---|
3708 | # include <limits.h> |
---|
3709 | #else |
---|
3710 | # include <assert.h> |
---|
3711 | #endif |
---|
3712 | |
---|
3713 | #undef $ac_func |
---|
3714 | |
---|
3715 | /* Override any GCC internal prototype to avoid an error. |
---|
3716 | Use char because int might match the return type of a GCC |
---|
3717 | builtin and then its argument prototype would still apply. */ |
---|
3718 | #ifdef __cplusplus |
---|
3719 | extern "C" |
---|
3720 | #endif |
---|
3721 | char $ac_func (); |
---|
3722 | /* The GNU C library defines this for functions which it implements |
---|
3723 | to always fail with ENOSYS. Some functions are actually named |
---|
3724 | something starting with __ and the normal name is an alias. */ |
---|
3725 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
3726 | choke me |
---|
3727 | #endif |
---|
3728 | |
---|
3729 | int |
---|
3730 | main () |
---|
3731 | { |
---|
3732 | return $ac_func (); |
---|
3733 | ; |
---|
3734 | return 0; |
---|
3735 | } |
---|
3736 | _ACEOF |
---|
3737 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3738 | if { (ac_try="$ac_link" |
---|
3739 | case "(($ac_try" in |
---|
3740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3741 | *) ac_try_echo=$ac_try;; |
---|
3742 | esac |
---|
3743 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3744 | $as_echo "$ac_try_echo") >&5 |
---|
3745 | (eval "$ac_link") 2>conftest.er1 |
---|
3746 | ac_status=$? |
---|
3747 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3748 | rm -f conftest.er1 |
---|
3749 | cat conftest.err >&5 |
---|
3750 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3751 | (exit $ac_status); } && { |
---|
3752 | test -z "$ac_c_werror_flag" || |
---|
3753 | test ! -s conftest.err |
---|
3754 | } && test -s conftest$ac_exeext && { |
---|
3755 | test "$cross_compiling" = yes || |
---|
3756 | $as_test_x conftest$ac_exeext |
---|
3757 | }; then |
---|
3758 | eval "$as_ac_var=yes" |
---|
3759 | else |
---|
3760 | $as_echo "$as_me: failed program was:" >&5 |
---|
3761 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3762 | |
---|
3763 | eval "$as_ac_var=no" |
---|
3764 | fi |
---|
3765 | |
---|
3766 | rm -rf conftest.dSYM |
---|
3767 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3768 | conftest$ac_exeext conftest.$ac_ext |
---|
3769 | fi |
---|
3770 | ac_res=`eval 'as_val=${'$as_ac_var'} |
---|
3771 | $as_echo "$as_val"'` |
---|
3772 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
3773 | $as_echo "$ac_res" >&6; } |
---|
3774 | as_val=`eval 'as_val=${'$as_ac_var'} |
---|
3775 | $as_echo "$as_val"'` |
---|
3776 | if test "x$as_val" = x""yes; then |
---|
3777 | cat >>confdefs.h <<_ACEOF |
---|
3778 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
3779 | _ACEOF |
---|
3780 | |
---|
3781 | fi |
---|
3782 | done |
---|
3783 | |
---|
3784 | |
---|
3785 | { $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
---|
3786 | $as_echo_n "checking for des_ecb_encrypt prototype... " >&6; } |
---|
3787 | cat >conftest.$ac_ext <<_ACEOF |
---|
3788 | /* confdefs.h. */ |
---|
3789 | _ACEOF |
---|
3790 | cat confdefs.h >>conftest.$ac_ext |
---|
3791 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3792 | /* end confdefs.h. */ |
---|
3793 | #include <des.h> |
---|
3794 | int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux); |
---|
3795 | int |
---|
3796 | main () |
---|
3797 | { |
---|
3798 | int foo = des_ecb_encrypt(0,0,0,0); |
---|
3799 | ; |
---|
3800 | return 0; |
---|
3801 | } |
---|
3802 | _ACEOF |
---|
3803 | rm -f conftest.$ac_objext |
---|
3804 | if { (ac_try="$ac_compile" |
---|
3805 | case "(($ac_try" in |
---|
3806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3807 | *) ac_try_echo=$ac_try;; |
---|
3808 | esac |
---|
3809 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3810 | $as_echo "$ac_try_echo") >&5 |
---|
3811 | (eval "$ac_compile") 2>conftest.er1 |
---|
3812 | ac_status=$? |
---|
3813 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3814 | rm -f conftest.er1 |
---|
3815 | cat conftest.err >&5 |
---|
3816 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3817 | (exit $ac_status); } && { |
---|
3818 | test -z "$ac_c_werror_flag" || |
---|
3819 | test ! -s conftest.err |
---|
3820 | } && test -s conftest.$ac_objext; then |
---|
3821 | ac_cv_des_ecb_encrypt_proto=no |
---|
3822 | else |
---|
3823 | $as_echo "$as_me: failed program was:" >&5 |
---|
3824 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3825 | |
---|
3826 | ac_cv_des_ecb_encrypt_proto=yes |
---|
3827 | fi |
---|
3828 | |
---|
3829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3830 | { $as_echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
---|
3831 | $as_echo "$ac_cv_des_ecb_encrypt_proto" >&6; } |
---|
3832 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
---|
3833 | |
---|
3834 | cat >>confdefs.h <<\_ACEOF |
---|
3835 | #define HAVE_DES_ECB_ENCRYPT_PROTO /**/ |
---|
3836 | _ACEOF |
---|
3837 | |
---|
3838 | fi |
---|
3839 | |
---|
3840 | ac_ext=c |
---|
3841 | ac_cpp='$CPP $CPPFLAGS' |
---|
3842 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3843 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3844 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3845 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
3846 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
3847 | # On Suns, sometimes $CPP names a directory. |
---|
3848 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3849 | CPP= |
---|
3850 | fi |
---|
3851 | if test -z "$CPP"; then |
---|
3852 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3853 | $as_echo_n "(cached) " >&6 |
---|
3854 | else |
---|
3855 | # Double quotes because CPP needs to be expanded |
---|
3856 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3857 | do |
---|
3858 | ac_preproc_ok=false |
---|
3859 | for ac_c_preproc_warn_flag in '' yes |
---|
3860 | do |
---|
3861 | # Use a header file that comes with gcc, so configuring glibc |
---|
3862 | # with a fresh cross-compiler works. |
---|
3863 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3864 | # <limits.h> exists even on freestanding compilers. |
---|
3865 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3866 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3867 | cat >conftest.$ac_ext <<_ACEOF |
---|
3868 | /* confdefs.h. */ |
---|
3869 | _ACEOF |
---|
3870 | cat confdefs.h >>conftest.$ac_ext |
---|
3871 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3872 | /* end confdefs.h. */ |
---|
3873 | #ifdef __STDC__ |
---|
3874 | # include <limits.h> |
---|
3875 | #else |
---|
3876 | # include <assert.h> |
---|
3877 | #endif |
---|
3878 | Syntax error |
---|
3879 | _ACEOF |
---|
3880 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3881 | case "(($ac_try" in |
---|
3882 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3883 | *) ac_try_echo=$ac_try;; |
---|
3884 | esac |
---|
3885 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3886 | $as_echo "$ac_try_echo") >&5 |
---|
3887 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3888 | ac_status=$? |
---|
3889 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3890 | rm -f conftest.er1 |
---|
3891 | cat conftest.err >&5 |
---|
3892 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3893 | (exit $ac_status); } >/dev/null && { |
---|
3894 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3895 | test ! -s conftest.err |
---|
3896 | }; then |
---|
3897 | : |
---|
3898 | else |
---|
3899 | $as_echo "$as_me: failed program was:" >&5 |
---|
3900 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3901 | |
---|
3902 | # Broken: fails on valid input. |
---|
3903 | continue |
---|
3904 | fi |
---|
3905 | |
---|
3906 | rm -f conftest.err conftest.$ac_ext |
---|
3907 | |
---|
3908 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3909 | # can be detected and how. |
---|
3910 | cat >conftest.$ac_ext <<_ACEOF |
---|
3911 | /* confdefs.h. */ |
---|
3912 | _ACEOF |
---|
3913 | cat confdefs.h >>conftest.$ac_ext |
---|
3914 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3915 | /* end confdefs.h. */ |
---|
3916 | #include <ac_nonexistent.h> |
---|
3917 | _ACEOF |
---|
3918 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3919 | case "(($ac_try" in |
---|
3920 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3921 | *) ac_try_echo=$ac_try;; |
---|
3922 | esac |
---|
3923 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3924 | $as_echo "$ac_try_echo") >&5 |
---|
3925 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3926 | ac_status=$? |
---|
3927 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3928 | rm -f conftest.er1 |
---|
3929 | cat conftest.err >&5 |
---|
3930 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3931 | (exit $ac_status); } >/dev/null && { |
---|
3932 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3933 | test ! -s conftest.err |
---|
3934 | }; then |
---|
3935 | # Broken: success on invalid input. |
---|
3936 | continue |
---|
3937 | else |
---|
3938 | $as_echo "$as_me: failed program was:" >&5 |
---|
3939 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3940 | |
---|
3941 | # Passes both tests. |
---|
3942 | ac_preproc_ok=: |
---|
3943 | break |
---|
3944 | fi |
---|
3945 | |
---|
3946 | rm -f conftest.err conftest.$ac_ext |
---|
3947 | |
---|
3948 | done |
---|
3949 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3950 | rm -f conftest.err conftest.$ac_ext |
---|
3951 | if $ac_preproc_ok; then |
---|
3952 | break |
---|
3953 | fi |
---|
3954 | |
---|
3955 | done |
---|
3956 | ac_cv_prog_CPP=$CPP |
---|
3957 | |
---|
3958 | fi |
---|
3959 | CPP=$ac_cv_prog_CPP |
---|
3960 | else |
---|
3961 | ac_cv_prog_CPP=$CPP |
---|
3962 | fi |
---|
3963 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3964 | $as_echo "$CPP" >&6; } |
---|
3965 | ac_preproc_ok=false |
---|
3966 | for ac_c_preproc_warn_flag in '' yes |
---|
3967 | do |
---|
3968 | # Use a header file that comes with gcc, so configuring glibc |
---|
3969 | # with a fresh cross-compiler works. |
---|
3970 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3971 | # <limits.h> exists even on freestanding compilers. |
---|
3972 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3973 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3974 | cat >conftest.$ac_ext <<_ACEOF |
---|
3975 | /* confdefs.h. */ |
---|
3976 | _ACEOF |
---|
3977 | cat confdefs.h >>conftest.$ac_ext |
---|
3978 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3979 | /* end confdefs.h. */ |
---|
3980 | #ifdef __STDC__ |
---|
3981 | # include <limits.h> |
---|
3982 | #else |
---|
3983 | # include <assert.h> |
---|
3984 | #endif |
---|
3985 | Syntax error |
---|
3986 | _ACEOF |
---|
3987 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3988 | case "(($ac_try" in |
---|
3989 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3990 | *) ac_try_echo=$ac_try;; |
---|
3991 | esac |
---|
3992 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
3993 | $as_echo "$ac_try_echo") >&5 |
---|
3994 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3995 | ac_status=$? |
---|
3996 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3997 | rm -f conftest.er1 |
---|
3998 | cat conftest.err >&5 |
---|
3999 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4000 | (exit $ac_status); } >/dev/null && { |
---|
4001 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
4002 | test ! -s conftest.err |
---|
4003 | }; then |
---|
4004 | : |
---|
4005 | else |
---|
4006 | $as_echo "$as_me: failed program was:" >&5 |
---|
4007 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4008 | |
---|
4009 | # Broken: fails on valid input. |
---|
4010 | continue |
---|
4011 | fi |
---|
4012 | |
---|
4013 | rm -f conftest.err conftest.$ac_ext |
---|
4014 | |
---|
4015 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
4016 | # can be detected and how. |
---|
4017 | cat >conftest.$ac_ext <<_ACEOF |
---|
4018 | /* confdefs.h. */ |
---|
4019 | _ACEOF |
---|
4020 | cat confdefs.h >>conftest.$ac_ext |
---|
4021 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4022 | /* end confdefs.h. */ |
---|
4023 | #include <ac_nonexistent.h> |
---|
4024 | _ACEOF |
---|
4025 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
4026 | case "(($ac_try" in |
---|
4027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4028 | *) ac_try_echo=$ac_try;; |
---|
4029 | esac |
---|
4030 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4031 | $as_echo "$ac_try_echo") >&5 |
---|
4032 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
4033 | ac_status=$? |
---|
4034 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4035 | rm -f conftest.er1 |
---|
4036 | cat conftest.err >&5 |
---|
4037 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4038 | (exit $ac_status); } >/dev/null && { |
---|
4039 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
4040 | test ! -s conftest.err |
---|
4041 | }; then |
---|
4042 | # Broken: success on invalid input. |
---|
4043 | continue |
---|
4044 | else |
---|
4045 | $as_echo "$as_me: failed program was:" >&5 |
---|
4046 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4047 | |
---|
4048 | # Passes both tests. |
---|
4049 | ac_preproc_ok=: |
---|
4050 | break |
---|
4051 | fi |
---|
4052 | |
---|
4053 | rm -f conftest.err conftest.$ac_ext |
---|
4054 | |
---|
4055 | done |
---|
4056 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
4057 | rm -f conftest.err conftest.$ac_ext |
---|
4058 | if $ac_preproc_ok; then |
---|
4059 | : |
---|
4060 | else |
---|
4061 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
4062 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
4063 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
4064 | See \`config.log' for more details." >&5 |
---|
4065 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
4066 | See \`config.log' for more details." >&2;} |
---|
4067 | { (exit 1); exit 1; }; }; } |
---|
4068 | fi |
---|
4069 | |
---|
4070 | ac_ext=c |
---|
4071 | ac_cpp='$CPP $CPPFLAGS' |
---|
4072 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4073 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4074 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4075 | |
---|
4076 | |
---|
4077 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
4078 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
4079 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
4080 | $as_echo_n "(cached) " >&6 |
---|
4081 | else |
---|
4082 | if test -z "$GREP"; then |
---|
4083 | ac_path_GREP_found=false |
---|
4084 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4085 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4086 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4087 | do |
---|
4088 | IFS=$as_save_IFS |
---|
4089 | test -z "$as_dir" && as_dir=. |
---|
4090 | for ac_prog in grep ggrep; do |
---|
4091 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4092 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4093 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
4094 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
4095 | # Check for GNU $ac_path_GREP |
---|
4096 | case `"$ac_path_GREP" --version 2>&1` in |
---|
4097 | *GNU*) |
---|
4098 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
4099 | *) |
---|
4100 | ac_count=0 |
---|
4101 | $as_echo_n 0123456789 >"conftest.in" |
---|
4102 | while : |
---|
4103 | do |
---|
4104 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4105 | mv "conftest.tmp" "conftest.in" |
---|
4106 | cp "conftest.in" "conftest.nl" |
---|
4107 | $as_echo 'GREP' >> "conftest.nl" |
---|
4108 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4109 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4110 | ac_count=`expr $ac_count + 1` |
---|
4111 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
4112 | # Best one so far, save it but keep looking for a better one |
---|
4113 | ac_cv_path_GREP="$ac_path_GREP" |
---|
4114 | ac_path_GREP_max=$ac_count |
---|
4115 | fi |
---|
4116 | # 10*(2^10) chars as input seems more than enough |
---|
4117 | test $ac_count -gt 10 && break |
---|
4118 | done |
---|
4119 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4120 | esac |
---|
4121 | |
---|
4122 | $ac_path_GREP_found && break 3 |
---|
4123 | done |
---|
4124 | done |
---|
4125 | done |
---|
4126 | IFS=$as_save_IFS |
---|
4127 | if test -z "$ac_cv_path_GREP"; then |
---|
4128 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4129 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4130 | { (exit 1); exit 1; }; } |
---|
4131 | fi |
---|
4132 | else |
---|
4133 | ac_cv_path_GREP=$GREP |
---|
4134 | fi |
---|
4135 | |
---|
4136 | fi |
---|
4137 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
4138 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
4139 | GREP="$ac_cv_path_GREP" |
---|
4140 | |
---|
4141 | |
---|
4142 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
4143 | $as_echo_n "checking for egrep... " >&6; } |
---|
4144 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
4145 | $as_echo_n "(cached) " >&6 |
---|
4146 | else |
---|
4147 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
4148 | then ac_cv_path_EGREP="$GREP -E" |
---|
4149 | else |
---|
4150 | if test -z "$EGREP"; then |
---|
4151 | ac_path_EGREP_found=false |
---|
4152 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4154 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4155 | do |
---|
4156 | IFS=$as_save_IFS |
---|
4157 | test -z "$as_dir" && as_dir=. |
---|
4158 | for ac_prog in egrep; do |
---|
4159 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4160 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4161 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
4162 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
4163 | # Check for GNU $ac_path_EGREP |
---|
4164 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
4165 | *GNU*) |
---|
4166 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
4167 | *) |
---|
4168 | ac_count=0 |
---|
4169 | $as_echo_n 0123456789 >"conftest.in" |
---|
4170 | while : |
---|
4171 | do |
---|
4172 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4173 | mv "conftest.tmp" "conftest.in" |
---|
4174 | cp "conftest.in" "conftest.nl" |
---|
4175 | $as_echo 'EGREP' >> "conftest.nl" |
---|
4176 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4177 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4178 | ac_count=`expr $ac_count + 1` |
---|
4179 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
4180 | # Best one so far, save it but keep looking for a better one |
---|
4181 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
4182 | ac_path_EGREP_max=$ac_count |
---|
4183 | fi |
---|
4184 | # 10*(2^10) chars as input seems more than enough |
---|
4185 | test $ac_count -gt 10 && break |
---|
4186 | done |
---|
4187 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4188 | esac |
---|
4189 | |
---|
4190 | $ac_path_EGREP_found && break 3 |
---|
4191 | done |
---|
4192 | done |
---|
4193 | done |
---|
4194 | IFS=$as_save_IFS |
---|
4195 | if test -z "$ac_cv_path_EGREP"; then |
---|
4196 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4197 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4198 | { (exit 1); exit 1; }; } |
---|
4199 | fi |
---|
4200 | else |
---|
4201 | ac_cv_path_EGREP=$EGREP |
---|
4202 | fi |
---|
4203 | |
---|
4204 | fi |
---|
4205 | fi |
---|
4206 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
4207 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
4208 | EGREP="$ac_cv_path_EGREP" |
---|
4209 | |
---|
4210 | |
---|
4211 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
4212 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
4213 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
4214 | $as_echo_n "(cached) " >&6 |
---|
4215 | else |
---|
4216 | cat >conftest.$ac_ext <<_ACEOF |
---|
4217 | /* confdefs.h. */ |
---|
4218 | _ACEOF |
---|
4219 | cat confdefs.h >>conftest.$ac_ext |
---|
4220 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4221 | /* end confdefs.h. */ |
---|
4222 | #include <stdlib.h> |
---|
4223 | #include <stdarg.h> |
---|
4224 | #include <string.h> |
---|
4225 | #include <float.h> |
---|
4226 | |
---|
4227 | int |
---|
4228 | main () |
---|
4229 | { |
---|
4230 | |
---|
4231 | ; |
---|
4232 | return 0; |
---|
4233 | } |
---|
4234 | _ACEOF |
---|
4235 | rm -f conftest.$ac_objext |
---|
4236 | if { (ac_try="$ac_compile" |
---|
4237 | case "(($ac_try" in |
---|
4238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4239 | *) ac_try_echo=$ac_try;; |
---|
4240 | esac |
---|
4241 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4242 | $as_echo "$ac_try_echo") >&5 |
---|
4243 | (eval "$ac_compile") 2>conftest.er1 |
---|
4244 | ac_status=$? |
---|
4245 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4246 | rm -f conftest.er1 |
---|
4247 | cat conftest.err >&5 |
---|
4248 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4249 | (exit $ac_status); } && { |
---|
4250 | test -z "$ac_c_werror_flag" || |
---|
4251 | test ! -s conftest.err |
---|
4252 | } && test -s conftest.$ac_objext; then |
---|
4253 | ac_cv_header_stdc=yes |
---|
4254 | else |
---|
4255 | $as_echo "$as_me: failed program was:" >&5 |
---|
4256 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4257 | |
---|
4258 | ac_cv_header_stdc=no |
---|
4259 | fi |
---|
4260 | |
---|
4261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4262 | |
---|
4263 | if test $ac_cv_header_stdc = yes; then |
---|
4264 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
4265 | cat >conftest.$ac_ext <<_ACEOF |
---|
4266 | /* confdefs.h. */ |
---|
4267 | _ACEOF |
---|
4268 | cat confdefs.h >>conftest.$ac_ext |
---|
4269 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4270 | /* end confdefs.h. */ |
---|
4271 | #include <string.h> |
---|
4272 | |
---|
4273 | _ACEOF |
---|
4274 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4275 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
4276 | : |
---|
4277 | else |
---|
4278 | ac_cv_header_stdc=no |
---|
4279 | fi |
---|
4280 | rm -f conftest* |
---|
4281 | |
---|
4282 | fi |
---|
4283 | |
---|
4284 | if test $ac_cv_header_stdc = yes; then |
---|
4285 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
4286 | cat >conftest.$ac_ext <<_ACEOF |
---|
4287 | /* confdefs.h. */ |
---|
4288 | _ACEOF |
---|
4289 | cat confdefs.h >>conftest.$ac_ext |
---|
4290 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4291 | /* end confdefs.h. */ |
---|
4292 | #include <stdlib.h> |
---|
4293 | |
---|
4294 | _ACEOF |
---|
4295 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4296 | $EGREP "free" >/dev/null 2>&1; then |
---|
4297 | : |
---|
4298 | else |
---|
4299 | ac_cv_header_stdc=no |
---|
4300 | fi |
---|
4301 | rm -f conftest* |
---|
4302 | |
---|
4303 | fi |
---|
4304 | |
---|
4305 | if test $ac_cv_header_stdc = yes; then |
---|
4306 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
4307 | if test "$cross_compiling" = yes; then |
---|
4308 | : |
---|
4309 | else |
---|
4310 | cat >conftest.$ac_ext <<_ACEOF |
---|
4311 | /* confdefs.h. */ |
---|
4312 | _ACEOF |
---|
4313 | cat confdefs.h >>conftest.$ac_ext |
---|
4314 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4315 | /* end confdefs.h. */ |
---|
4316 | #include <ctype.h> |
---|
4317 | #include <stdlib.h> |
---|
4318 | #if ((' ' & 0x0FF) == 0x020) |
---|
4319 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
4320 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
4321 | #else |
---|
4322 | # define ISLOWER(c) \ |
---|
4323 | (('a' <= (c) && (c) <= 'i') \ |
---|
4324 | || ('j' <= (c) && (c) <= 'r') \ |
---|
4325 | || ('s' <= (c) && (c) <= 'z')) |
---|
4326 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
4327 | #endif |
---|
4328 | |
---|
4329 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
4330 | int |
---|
4331 | main () |
---|
4332 | { |
---|
4333 | int i; |
---|
4334 | for (i = 0; i < 256; i++) |
---|
4335 | if (XOR (islower (i), ISLOWER (i)) |
---|
4336 | || toupper (i) != TOUPPER (i)) |
---|
4337 | return 2; |
---|
4338 | return 0; |
---|
4339 | } |
---|
4340 | _ACEOF |
---|
4341 | rm -f conftest$ac_exeext |
---|
4342 | if { (ac_try="$ac_link" |
---|
4343 | case "(($ac_try" in |
---|
4344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4345 | *) ac_try_echo=$ac_try;; |
---|
4346 | esac |
---|
4347 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4348 | $as_echo "$ac_try_echo") >&5 |
---|
4349 | (eval "$ac_link") 2>&5 |
---|
4350 | ac_status=$? |
---|
4351 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4352 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
4353 | { (case "(($ac_try" in |
---|
4354 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4355 | *) ac_try_echo=$ac_try;; |
---|
4356 | esac |
---|
4357 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4358 | $as_echo "$ac_try_echo") >&5 |
---|
4359 | (eval "$ac_try") 2>&5 |
---|
4360 | ac_status=$? |
---|
4361 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4362 | (exit $ac_status); }; }; then |
---|
4363 | : |
---|
4364 | else |
---|
4365 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
4366 | $as_echo "$as_me: failed program was:" >&5 |
---|
4367 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4368 | |
---|
4369 | ( exit $ac_status ) |
---|
4370 | ac_cv_header_stdc=no |
---|
4371 | fi |
---|
4372 | rm -rf conftest.dSYM |
---|
4373 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
4374 | fi |
---|
4375 | |
---|
4376 | |
---|
4377 | fi |
---|
4378 | fi |
---|
4379 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
4380 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
4381 | if test $ac_cv_header_stdc = yes; then |
---|
4382 | |
---|
4383 | cat >>confdefs.h <<\_ACEOF |
---|
4384 | #define STDC_HEADERS 1 |
---|
4385 | _ACEOF |
---|
4386 | |
---|
4387 | fi |
---|
4388 | |
---|
4389 | { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
---|
4390 | $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } |
---|
4391 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
---|
4392 | $as_echo_n "(cached) " >&6 |
---|
4393 | else |
---|
4394 | cat >conftest.$ac_ext <<_ACEOF |
---|
4395 | /* confdefs.h. */ |
---|
4396 | _ACEOF |
---|
4397 | cat confdefs.h >>conftest.$ac_ext |
---|
4398 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4399 | /* end confdefs.h. */ |
---|
4400 | #include <sys/types.h> |
---|
4401 | #include <sys/wait.h> |
---|
4402 | #ifndef WEXITSTATUS |
---|
4403 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
---|
4404 | #endif |
---|
4405 | #ifndef WIFEXITED |
---|
4406 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
---|
4407 | #endif |
---|
4408 | |
---|
4409 | int |
---|
4410 | main () |
---|
4411 | { |
---|
4412 | int s; |
---|
4413 | wait (&s); |
---|
4414 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
---|
4415 | ; |
---|
4416 | return 0; |
---|
4417 | } |
---|
4418 | _ACEOF |
---|
4419 | rm -f conftest.$ac_objext |
---|
4420 | if { (ac_try="$ac_compile" |
---|
4421 | case "(($ac_try" in |
---|
4422 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4423 | *) ac_try_echo=$ac_try;; |
---|
4424 | esac |
---|
4425 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4426 | $as_echo "$ac_try_echo") >&5 |
---|
4427 | (eval "$ac_compile") 2>conftest.er1 |
---|
4428 | ac_status=$? |
---|
4429 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4430 | rm -f conftest.er1 |
---|
4431 | cat conftest.err >&5 |
---|
4432 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4433 | (exit $ac_status); } && { |
---|
4434 | test -z "$ac_c_werror_flag" || |
---|
4435 | test ! -s conftest.err |
---|
4436 | } && test -s conftest.$ac_objext; then |
---|
4437 | ac_cv_header_sys_wait_h=yes |
---|
4438 | else |
---|
4439 | $as_echo "$as_me: failed program was:" >&5 |
---|
4440 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4441 | |
---|
4442 | ac_cv_header_sys_wait_h=no |
---|
4443 | fi |
---|
4444 | |
---|
4445 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4446 | fi |
---|
4447 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
---|
4448 | $as_echo "$ac_cv_header_sys_wait_h" >&6; } |
---|
4449 | if test $ac_cv_header_sys_wait_h = yes; then |
---|
4450 | |
---|
4451 | cat >>confdefs.h <<\_ACEOF |
---|
4452 | #define HAVE_SYS_WAIT_H 1 |
---|
4453 | _ACEOF |
---|
4454 | |
---|
4455 | fi |
---|
4456 | |
---|
4457 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
4458 | |
---|
4459 | |
---|
4460 | |
---|
4461 | |
---|
4462 | |
---|
4463 | |
---|
4464 | |
---|
4465 | |
---|
4466 | |
---|
4467 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
4468 | inttypes.h stdint.h unistd.h |
---|
4469 | do |
---|
4470 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4471 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4472 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
4473 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4474 | $as_echo_n "(cached) " >&6 |
---|
4475 | else |
---|
4476 | cat >conftest.$ac_ext <<_ACEOF |
---|
4477 | /* confdefs.h. */ |
---|
4478 | _ACEOF |
---|
4479 | cat confdefs.h >>conftest.$ac_ext |
---|
4480 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4481 | /* end confdefs.h. */ |
---|
4482 | $ac_includes_default |
---|
4483 | |
---|
4484 | #include <$ac_header> |
---|
4485 | _ACEOF |
---|
4486 | rm -f conftest.$ac_objext |
---|
4487 | if { (ac_try="$ac_compile" |
---|
4488 | case "(($ac_try" in |
---|
4489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4490 | *) ac_try_echo=$ac_try;; |
---|
4491 | esac |
---|
4492 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4493 | $as_echo "$ac_try_echo") >&5 |
---|
4494 | (eval "$ac_compile") 2>conftest.er1 |
---|
4495 | ac_status=$? |
---|
4496 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4497 | rm -f conftest.er1 |
---|
4498 | cat conftest.err >&5 |
---|
4499 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4500 | (exit $ac_status); } && { |
---|
4501 | test -z "$ac_c_werror_flag" || |
---|
4502 | test ! -s conftest.err |
---|
4503 | } && test -s conftest.$ac_objext; then |
---|
4504 | eval "$as_ac_Header=yes" |
---|
4505 | else |
---|
4506 | $as_echo "$as_me: failed program was:" >&5 |
---|
4507 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4508 | |
---|
4509 | eval "$as_ac_Header=no" |
---|
4510 | fi |
---|
4511 | |
---|
4512 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4513 | fi |
---|
4514 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
4515 | $as_echo "$as_val"'` |
---|
4516 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4517 | $as_echo "$ac_res" >&6; } |
---|
4518 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
4519 | $as_echo "$as_val"'` |
---|
4520 | if test "x$as_val" = x""yes; then |
---|
4521 | cat >>confdefs.h <<_ACEOF |
---|
4522 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4523 | _ACEOF |
---|
4524 | |
---|
4525 | fi |
---|
4526 | |
---|
4527 | done |
---|
4528 | |
---|
4529 | |
---|
4530 | |
---|
4531 | |
---|
4532 | |
---|
4533 | |
---|
4534 | |
---|
4535 | for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h |
---|
4536 | do |
---|
4537 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4538 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4539 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4540 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
4541 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4542 | $as_echo_n "(cached) " >&6 |
---|
4543 | fi |
---|
4544 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
4545 | $as_echo "$as_val"'` |
---|
4546 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4547 | $as_echo "$ac_res" >&6; } |
---|
4548 | else |
---|
4549 | # Is the header compilable? |
---|
4550 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
4551 | $as_echo_n "checking $ac_header usability... " >&6; } |
---|
4552 | cat >conftest.$ac_ext <<_ACEOF |
---|
4553 | /* confdefs.h. */ |
---|
4554 | _ACEOF |
---|
4555 | cat confdefs.h >>conftest.$ac_ext |
---|
4556 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4557 | /* end confdefs.h. */ |
---|
4558 | $ac_includes_default |
---|
4559 | #include <$ac_header> |
---|
4560 | _ACEOF |
---|
4561 | rm -f conftest.$ac_objext |
---|
4562 | if { (ac_try="$ac_compile" |
---|
4563 | case "(($ac_try" in |
---|
4564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4565 | *) ac_try_echo=$ac_try;; |
---|
4566 | esac |
---|
4567 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4568 | $as_echo "$ac_try_echo") >&5 |
---|
4569 | (eval "$ac_compile") 2>conftest.er1 |
---|
4570 | ac_status=$? |
---|
4571 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4572 | rm -f conftest.er1 |
---|
4573 | cat conftest.err >&5 |
---|
4574 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4575 | (exit $ac_status); } && { |
---|
4576 | test -z "$ac_c_werror_flag" || |
---|
4577 | test ! -s conftest.err |
---|
4578 | } && test -s conftest.$ac_objext; then |
---|
4579 | ac_header_compiler=yes |
---|
4580 | else |
---|
4581 | $as_echo "$as_me: failed program was:" >&5 |
---|
4582 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4583 | |
---|
4584 | ac_header_compiler=no |
---|
4585 | fi |
---|
4586 | |
---|
4587 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4588 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
4589 | $as_echo "$ac_header_compiler" >&6; } |
---|
4590 | |
---|
4591 | # Is the header present? |
---|
4592 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
4593 | $as_echo_n "checking $ac_header presence... " >&6; } |
---|
4594 | cat >conftest.$ac_ext <<_ACEOF |
---|
4595 | /* confdefs.h. */ |
---|
4596 | _ACEOF |
---|
4597 | cat confdefs.h >>conftest.$ac_ext |
---|
4598 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4599 | /* end confdefs.h. */ |
---|
4600 | #include <$ac_header> |
---|
4601 | _ACEOF |
---|
4602 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
4603 | case "(($ac_try" in |
---|
4604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4605 | *) ac_try_echo=$ac_try;; |
---|
4606 | esac |
---|
4607 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
---|
4608 | $as_echo "$ac_try_echo") >&5 |
---|
4609 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
4610 | ac_status=$? |
---|
4611 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4612 | rm -f conftest.er1 |
---|
4613 | cat conftest.err >&5 |
---|
4614 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4615 | (exit $ac_status); } >/dev/null && { |
---|
4616 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
4617 | test ! -s conftest.err |
---|
4618 | }; then |
---|
4619 | ac_header_preproc=yes |
---|
4620 | else |
---|
4621 | $as_echo "$as_me: failed program was:" >&5 |
---|
4622 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4623 | |
---|
4624 | ac_header_preproc=no |
---|
4625 | fi |
---|
4626 | |
---|
4627 | rm -f conftest.err conftest.$ac_ext |
---|
4628 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
4629 | $as_echo "$ac_header_preproc" >&6; } |
---|
4630 | |
---|
4631 | # So? What about this header? |
---|
4632 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
4633 | yes:no: ) |
---|
4634 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
4635 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
4636 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
4637 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
4638 | ac_header_preproc=yes |
---|
4639 | ;; |
---|
4640 | no:yes:* ) |
---|
4641 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
4642 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
4643 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
4644 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
4645 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
4646 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
4647 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
4648 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
4649 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
4650 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
4651 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
4652 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
4653 | |
---|
4654 | ;; |
---|
4655 | esac |
---|
4656 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4657 | $as_echo_n "checking for $ac_header... " >&6; } |
---|
4658 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4659 | $as_echo_n "(cached) " >&6 |
---|
4660 | else |
---|
4661 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
4662 | fi |
---|
4663 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
---|
4664 | $as_echo "$as_val"'` |
---|
4665 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4666 | $as_echo "$ac_res" >&6; } |
---|
4667 | |
---|
4668 | fi |
---|
4669 | as_val=`eval 'as_val=${'$as_ac_Header'} |
---|
4670 | $as_echo "$as_val"'` |
---|
4671 | if test "x$as_val" = x""yes; then |
---|
4672 | cat >>confdefs.h <<_ACEOF |
---|
4673 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4674 | _ACEOF |
---|
4675 | |
---|
4676 | fi |
---|
4677 | |
---|
4678 | done |
---|
4679 | |
---|
4680 | |
---|
4681 | FOO=`perl -MExtUtils::Embed -e ccopts` |
---|
4682 | echo Adding perl CFLAGS ${FOO} |
---|
4683 | CFLAGS=${CFLAGS}\ ${FOO} |
---|
4684 | |
---|
4685 | { $as_echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 |
---|
4686 | $as_echo_n "checking for the perl xsubpp precompiler... " >&6; } |
---|
4687 | XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" |
---|
4688 | if test -n "${XSUBPPDIR}"; then |
---|
4689 | { $as_echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 |
---|
4690 | $as_echo "${XSUBPPDIR}" >&6; } |
---|
4691 | else |
---|
4692 | { { $as_echo "$as_me:$LINENO: error: not found" >&5 |
---|
4693 | $as_echo "$as_me: error: not found" >&2;} |
---|
4694 | { (exit 1); exit 1; }; } |
---|
4695 | fi |
---|
4696 | |
---|
4697 | if test -f "${XSUBPPDIR}/typemap"; then |
---|
4698 | XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap" |
---|
4699 | else |
---|
4700 | XSUBPPFLAGS="" |
---|
4701 | fi |
---|
4702 | |
---|
4703 | FOO=`perl -MExtUtils::Embed -e ldopts` |
---|
4704 | echo Adding perl LDFLAGS ${FOO} |
---|
4705 | LDFLAGS=${LDFLAGS}\ ${FOO} |
---|
4706 | |
---|
4707 | |
---|
4708 | |
---|
4709 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
---|
4710 | if test -n "$ac_tool_prefix"; then |
---|
4711 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
---|
4712 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
---|
4713 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4714 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4715 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
---|
4716 | $as_echo_n "(cached) " >&6 |
---|
4717 | else |
---|
4718 | case $PKG_CONFIG in |
---|
4719 | [\\/]* | ?:[\\/]*) |
---|
4720 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
4721 | ;; |
---|
4722 | *) |
---|
4723 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4724 | for as_dir in $PATH |
---|
4725 | do |
---|
4726 | IFS=$as_save_IFS |
---|
4727 | test -z "$as_dir" && as_dir=. |
---|
4728 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4729 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4730 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4731 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4732 | break 2 |
---|
4733 | fi |
---|
4734 | done |
---|
4735 | done |
---|
4736 | IFS=$as_save_IFS |
---|
4737 | |
---|
4738 | ;; |
---|
4739 | esac |
---|
4740 | fi |
---|
4741 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
4742 | if test -n "$PKG_CONFIG"; then |
---|
4743 | { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
---|
4744 | $as_echo "$PKG_CONFIG" >&6; } |
---|
4745 | else |
---|
4746 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
4747 | $as_echo "no" >&6; } |
---|
4748 | fi |
---|
4749 | |
---|
4750 | |
---|
4751 | fi |
---|
4752 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
---|
4753 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
---|
4754 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
4755 | set dummy pkg-config; ac_word=$2 |
---|
4756 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4757 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
4758 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
---|
4759 | $as_echo_n "(cached) " >&6 |
---|
4760 | else |
---|
4761 | case $ac_pt_PKG_CONFIG in |
---|
4762 | [\\/]* | ?:[\\/]*) |
---|
4763 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
---|
4764 | ;; |
---|
4765 | *) |
---|
4766 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4767 | for as_dir in $PATH |
---|
4768 | do |
---|
4769 | IFS=$as_save_IFS |
---|
4770 | test -z "$as_dir" && as_dir=. |
---|
4771 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4772 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4773 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4774 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4775 | break 2 |
---|
4776 | fi |
---|
4777 | done |
---|
4778 | done |
---|
4779 | IFS=$as_save_IFS |
---|
4780 | |
---|
4781 | ;; |
---|
4782 | esac |
---|
4783 | fi |
---|
4784 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
---|
4785 | if test -n "$ac_pt_PKG_CONFIG"; then |
---|
4786 | { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
---|
4787 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
---|
4788 | else |
---|
4789 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
4790 | $as_echo "no" >&6; } |
---|
4791 | fi |
---|
4792 | |
---|
4793 | if test "x$ac_pt_PKG_CONFIG" = x; then |
---|
4794 | PKG_CONFIG="" |
---|
4795 | else |
---|
4796 | case $cross_compiling:$ac_tool_warned in |
---|
4797 | yes:) |
---|
4798 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
4799 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
4800 | ac_tool_warned=yes ;; |
---|
4801 | esac |
---|
4802 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
---|
4803 | fi |
---|
4804 | else |
---|
4805 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
4806 | fi |
---|
4807 | |
---|
4808 | fi |
---|
4809 | if test -n "$PKG_CONFIG"; then |
---|
4810 | _pkg_min_version=0.9.0 |
---|
4811 | { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
---|
4812 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
---|
4813 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
---|
4814 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
4815 | $as_echo "yes" >&6; } |
---|
4816 | else |
---|
4817 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
---|
4818 | $as_echo "no" >&6; } |
---|
4819 | PKG_CONFIG="" |
---|
4820 | fi |
---|
4821 | |
---|
4822 | fi |
---|
4823 | |
---|
4824 | pkg_failed=no |
---|
4825 | { $as_echo "$as_me:$LINENO: checking for GLIB" >&5 |
---|
4826 | $as_echo_n "checking for GLIB... " >&6; } |
---|
4827 | |
---|
4828 | if test -n "$PKG_CONFIG"; then |
---|
4829 | if test -n "$GLIB_CFLAGS"; then |
---|
4830 | pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
---|
4831 | else |
---|
4832 | if test -n "$PKG_CONFIG" && \ |
---|
4833 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
---|
4834 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
---|
4835 | ac_status=$? |
---|
4836 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4837 | (exit $ac_status); }; then |
---|
4838 | pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` |
---|
4839 | else |
---|
4840 | pkg_failed=yes |
---|
4841 | fi |
---|
4842 | fi |
---|
4843 | else |
---|
4844 | pkg_failed=untried |
---|
4845 | fi |
---|
4846 | if test -n "$PKG_CONFIG"; then |
---|
4847 | if test -n "$GLIB_LIBS"; then |
---|
4848 | pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
---|
4849 | else |
---|
4850 | if test -n "$PKG_CONFIG" && \ |
---|
4851 | { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
---|
4852 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
---|
4853 | ac_status=$? |
---|
4854 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4855 | (exit $ac_status); }; then |
---|
4856 | pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` |
---|
4857 | else |
---|
4858 | pkg_failed=yes |
---|
4859 | fi |
---|
4860 | fi |
---|
4861 | else |
---|
4862 | pkg_failed=untried |
---|
4863 | fi |
---|
4864 | |
---|
4865 | |
---|
4866 | |
---|
4867 | if test $pkg_failed = yes; then |
---|
4868 | |
---|
4869 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
---|
4870 | _pkg_short_errors_supported=yes |
---|
4871 | else |
---|
4872 | _pkg_short_errors_supported=no |
---|
4873 | fi |
---|
4874 | if test $_pkg_short_errors_supported = yes; then |
---|
4875 | GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` |
---|
4876 | else |
---|
4877 | GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` |
---|
4878 | fi |
---|
4879 | # Put the nasty error message in config.log where it belongs |
---|
4880 | echo "$GLIB_PKG_ERRORS" >&5 |
---|
4881 | |
---|
4882 | { { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: |
---|
4883 | |
---|
4884 | $GLIB_PKG_ERRORS |
---|
4885 | |
---|
4886 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
4887 | installed software in a non-standard prefix. |
---|
4888 | |
---|
4889 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4890 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4891 | See the pkg-config man page for more details. |
---|
4892 | " >&5 |
---|
4893 | $as_echo "$as_me: error: Package requirements (glib-2.0) were not met: |
---|
4894 | |
---|
4895 | $GLIB_PKG_ERRORS |
---|
4896 | |
---|
4897 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
4898 | installed software in a non-standard prefix. |
---|
4899 | |
---|
4900 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4901 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4902 | See the pkg-config man page for more details. |
---|
4903 | " >&2;} |
---|
4904 | { (exit 1); exit 1; }; } |
---|
4905 | elif test $pkg_failed = untried; then |
---|
4906 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
---|
4907 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
4908 | { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
---|
4909 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
4910 | path to pkg-config. |
---|
4911 | |
---|
4912 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4913 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4914 | See the pkg-config man page for more details. |
---|
4915 | |
---|
4916 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
---|
4917 | See \`config.log' for more details." >&5 |
---|
4918 | $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
---|
4919 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
4920 | path to pkg-config. |
---|
4921 | |
---|
4922 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4923 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4924 | See the pkg-config man page for more details. |
---|
4925 | |
---|
4926 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
---|
4927 | See \`config.log' for more details." >&2;} |
---|
4928 | { (exit 1); exit 1; }; }; } |
---|
4929 | else |
---|
4930 | GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
---|
4931 | GLIB_LIBS=$pkg_cv_GLIB_LIBS |
---|
4932 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
---|
4933 | $as_echo "yes" >&6; } |
---|
4934 | : |
---|
4935 | fi |
---|
4936 | |
---|
4937 | echo Adding glib-2.0 CFLAGS ${GLIB_CFLAGS} |
---|
4938 | CFLAGS="${GLIB_CFLAGS} ${CFLAGS}" |
---|
4939 | echo Adding glib-2.0 LDFLAGS ${GLIB_LIBS} |
---|
4940 | LDFLAGS="${GLIB_LIBS} ${LDFLAGS}" |
---|
4941 | |
---|
4942 | |
---|
4943 | |
---|
4944 | |
---|
4945 | |
---|
4946 | |
---|
4947 | |
---|
4948 | ac_aux_dir= |
---|
4949 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
4950 | if test -f "$ac_dir/install-sh"; then |
---|
4951 | ac_aux_dir=$ac_dir |
---|
4952 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
4953 | break |
---|
4954 | elif test -f "$ac_dir/install.sh"; then |
---|
4955 | ac_aux_dir=$ac_dir |
---|
4956 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
4957 | break |
---|
4958 | elif test -f "$ac_dir/shtool"; then |
---|
4959 | ac_aux_dir=$ac_dir |
---|
4960 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
4961 | break |
---|
4962 | fi |
---|
4963 | done |
---|
4964 | if test -z "$ac_aux_dir"; then |
---|
4965 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
4966 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
4967 | { (exit 1); exit 1; }; } |
---|
4968 | fi |
---|
4969 | |
---|
4970 | # These three variables are undocumented and unsupported, |
---|
4971 | # and are intended to be withdrawn in a future Autoconf release. |
---|
4972 | # They can cause serious problems if a builder's source tree is in a directory |
---|
4973 | # whose full name contains unusual characters. |
---|
4974 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
4975 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
4976 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
4977 | |
---|
4978 | |
---|
4979 | # Find a good install program. We prefer a C program (faster), |
---|
4980 | # so one script is as good as another. But avoid the broken or |
---|
4981 | # incompatible versions: |
---|
4982 | # SysV /etc/install, /usr/sbin/install |
---|
4983 | # SunOS /usr/etc/install |
---|
4984 | # IRIX /sbin/install |
---|
4985 | # AIX /bin/install |
---|
4986 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
4987 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
4988 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
4989 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
4990 | # OS/2's system install, which has a completely different semantic |
---|
4991 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
4992 | # Reject install programs that cannot install multiple files. |
---|
4993 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
4994 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
4995 | if test -z "$INSTALL"; then |
---|
4996 | if test "${ac_cv_path_install+set}" = set; then |
---|
4997 | $as_echo_n "(cached) " >&6 |
---|
4998 | else |
---|
4999 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5000 | for as_dir in $PATH |
---|
5001 | do |
---|
5002 | IFS=$as_save_IFS |
---|
5003 | test -z "$as_dir" && as_dir=. |
---|
5004 | # Account for people who put trailing slashes in PATH elements. |
---|
5005 | case $as_dir/ in |
---|
5006 | ./ | .// | /cC/* | \ |
---|
5007 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
5008 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
5009 | /usr/ucb/* ) ;; |
---|
5010 | *) |
---|
5011 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
5012 | # Don't use installbsd from OSF since it installs stuff as root |
---|
5013 | # by default. |
---|
5014 | for ac_prog in ginstall scoinst install; do |
---|
5015 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5016 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
5017 | if test $ac_prog = install && |
---|
5018 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
5019 | # AIX install. It has an incompatible calling convention. |
---|
5020 | : |
---|
5021 | elif test $ac_prog = install && |
---|
5022 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
5023 | # program-specific install script used by HP pwplus--don't use. |
---|
5024 | : |
---|
5025 | else |
---|
5026 | rm -rf conftest.one conftest.two conftest.dir |
---|
5027 | echo one > conftest.one |
---|
5028 | echo two > conftest.two |
---|
5029 | mkdir conftest.dir |
---|
5030 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
5031 | test -s conftest.one && test -s conftest.two && |
---|
5032 | test -s conftest.dir/conftest.one && |
---|
5033 | test -s conftest.dir/conftest.two |
---|
5034 | then |
---|
5035 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
5036 | break 3 |
---|
5037 | fi |
---|
5038 | fi |
---|
5039 | fi |
---|
5040 | done |
---|
5041 | done |
---|
5042 | ;; |
---|
5043 | esac |
---|
5044 | |
---|
5045 | done |
---|
5046 | IFS=$as_save_IFS |
---|
5047 | |
---|
5048 | rm -rf conftest.one conftest.two conftest.dir |
---|
5049 | |
---|
5050 | fi |
---|
5051 | if test "${ac_cv_path_install+set}" = set; then |
---|
5052 | INSTALL=$ac_cv_path_install |
---|
5053 | else |
---|
5054 | # As a last resort, use the slow shell script. Don't cache a |
---|
5055 | # value for INSTALL within a source directory, because that will |
---|
5056 | # break other packages using the cache if that directory is |
---|
5057 | # removed, or if the value is a relative name. |
---|
5058 | INSTALL=$ac_install_sh |
---|
5059 | fi |
---|
5060 | fi |
---|
5061 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
5062 | $as_echo "$INSTALL" >&6; } |
---|
5063 | |
---|
5064 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
5065 | # It thinks the first close brace ends the variable substitution. |
---|
5066 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
5067 | |
---|
5068 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
5069 | |
---|
5070 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
5071 | |
---|
5072 | |
---|
5073 | |
---|
5074 | |
---|
5075 | subdirs="$subdirs libfaim" |
---|
5076 | |
---|
5077 | |
---|
5078 | ac_config_files="$ac_config_files Makefile" |
---|
5079 | |
---|
5080 | cat >confcache <<\_ACEOF |
---|
5081 | # This file is a shell script that caches the results of configure |
---|
5082 | # tests run on this system so they can be shared between configure |
---|
5083 | # scripts and configure runs, see configure's option --config-cache. |
---|
5084 | # It is not useful on other systems. If it contains results you don't |
---|
5085 | # want to keep, you may remove or edit it. |
---|
5086 | # |
---|
5087 | # config.status only pays attention to the cache file if you give it |
---|
5088 | # the --recheck option to rerun configure. |
---|
5089 | # |
---|
5090 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
5091 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
5092 | # following values. |
---|
5093 | |
---|
5094 | _ACEOF |
---|
5095 | |
---|
5096 | # The following way of writing the cache mishandles newlines in values, |
---|
5097 | # but we know of no workaround that is simple, portable, and efficient. |
---|
5098 | # So, we kill variables containing newlines. |
---|
5099 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
5100 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
5101 | ( |
---|
5102 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
5103 | eval ac_val=\$$ac_var |
---|
5104 | case $ac_val in #( |
---|
5105 | *${as_nl}*) |
---|
5106 | case $ac_var in #( |
---|
5107 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
5108 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
5109 | esac |
---|
5110 | case $ac_var in #( |
---|
5111 | _ | IFS | as_nl) ;; #( |
---|
5112 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
5113 | *) $as_unset $ac_var ;; |
---|
5114 | esac ;; |
---|
5115 | esac |
---|
5116 | done |
---|
5117 | |
---|
5118 | (set) 2>&1 | |
---|
5119 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
5120 | *${as_nl}ac_space=\ *) |
---|
5121 | # `set' does not quote correctly, so add quotes (double-quote |
---|
5122 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
5123 | sed -n \ |
---|
5124 | "s/'/'\\\\''/g; |
---|
5125 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
5126 | ;; #( |
---|
5127 | *) |
---|
5128 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
5129 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
5130 | ;; |
---|
5131 | esac | |
---|
5132 | sort |
---|
5133 | ) | |
---|
5134 | sed ' |
---|
5135 | /^ac_cv_env_/b end |
---|
5136 | t clear |
---|
5137 | :clear |
---|
5138 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
5139 | t end |
---|
5140 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
5141 | :end' >>confcache |
---|
5142 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
5143 | if test -w "$cache_file"; then |
---|
5144 | test "x$cache_file" != "x/dev/null" && |
---|
5145 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
5146 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
5147 | cat confcache >$cache_file |
---|
5148 | else |
---|
5149 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
5150 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
5151 | fi |
---|
5152 | fi |
---|
5153 | rm -f confcache |
---|
5154 | |
---|
5155 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
5156 | # Let make expand exec_prefix. |
---|
5157 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
5158 | |
---|
5159 | DEFS=-DHAVE_CONFIG_H |
---|
5160 | |
---|
5161 | ac_libobjs= |
---|
5162 | ac_ltlibobjs= |
---|
5163 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
5164 | # 1. Remove the extension, and $U if already installed. |
---|
5165 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
5166 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
5167 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
5168 | # will be set to the directory where LIBOBJS objects are built. |
---|
5169 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
5170 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
5171 | done |
---|
5172 | LIBOBJS=$ac_libobjs |
---|
5173 | |
---|
5174 | LTLIBOBJS=$ac_ltlibobjs |
---|
5175 | |
---|
5176 | |
---|
5177 | |
---|
5178 | : ${CONFIG_STATUS=./config.status} |
---|
5179 | ac_write_fail=0 |
---|
5180 | ac_clean_files_save=$ac_clean_files |
---|
5181 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
5182 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
5183 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
5184 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5185 | #! $SHELL |
---|
5186 | # Generated by $as_me. |
---|
5187 | # Run this file to recreate the current configuration. |
---|
5188 | # Compiler output produced by configure, useful for debugging |
---|
5189 | # configure, is in config.log if it exists. |
---|
5190 | |
---|
5191 | debug=false |
---|
5192 | ac_cs_recheck=false |
---|
5193 | ac_cs_silent=false |
---|
5194 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
5195 | _ACEOF |
---|
5196 | |
---|
5197 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5198 | ## --------------------- ## |
---|
5199 | ## M4sh Initialization. ## |
---|
5200 | ## --------------------- ## |
---|
5201 | |
---|
5202 | # Be more Bourne compatible |
---|
5203 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
5204 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
5205 | emulate sh |
---|
5206 | NULLCMD=: |
---|
5207 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
5208 | # is contrary to our usage. Disable this feature. |
---|
5209 | alias -g '${1+"$@"}'='"$@"' |
---|
5210 | setopt NO_GLOB_SUBST |
---|
5211 | else |
---|
5212 | case `(set -o) 2>/dev/null` in |
---|
5213 | *posix*) set -o posix ;; |
---|
5214 | esac |
---|
5215 | |
---|
5216 | fi |
---|
5217 | |
---|
5218 | |
---|
5219 | |
---|
5220 | |
---|
5221 | # PATH needs CR |
---|
5222 | # Avoid depending upon Character Ranges. |
---|
5223 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
5224 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
5225 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
5226 | as_cr_digits='0123456789' |
---|
5227 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
5228 | |
---|
5229 | as_nl=' |
---|
5230 | ' |
---|
5231 | export as_nl |
---|
5232 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
5233 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
5234 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
5235 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
5236 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
5237 | as_echo='printf %s\n' |
---|
5238 | as_echo_n='printf %s' |
---|
5239 | else |
---|
5240 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
5241 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
5242 | as_echo_n='/usr/ucb/echo -n' |
---|
5243 | else |
---|
5244 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
5245 | as_echo_n_body='eval |
---|
5246 | arg=$1; |
---|
5247 | case $arg in |
---|
5248 | *"$as_nl"*) |
---|
5249 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
5250 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
5251 | esac; |
---|
5252 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
5253 | ' |
---|
5254 | export as_echo_n_body |
---|
5255 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
5256 | fi |
---|
5257 | export as_echo_body |
---|
5258 | as_echo='sh -c $as_echo_body as_echo' |
---|
5259 | fi |
---|
5260 | |
---|
5261 | # The user is always right. |
---|
5262 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
5263 | PATH_SEPARATOR=: |
---|
5264 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
5265 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
5266 | PATH_SEPARATOR=';' |
---|
5267 | } |
---|
5268 | fi |
---|
5269 | |
---|
5270 | # Support unset when possible. |
---|
5271 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
5272 | as_unset=unset |
---|
5273 | else |
---|
5274 | as_unset=false |
---|
5275 | fi |
---|
5276 | |
---|
5277 | |
---|
5278 | # IFS |
---|
5279 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
5280 | # there to prevent editors from complaining about space-tab. |
---|
5281 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
5282 | # splitting by setting IFS to empty value.) |
---|
5283 | IFS=" "" $as_nl" |
---|
5284 | |
---|
5285 | # Find who we are. Look in the path if we contain no directory separator. |
---|
5286 | case $0 in |
---|
5287 | *[\\/]* ) as_myself=$0 ;; |
---|
5288 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5289 | for as_dir in $PATH |
---|
5290 | do |
---|
5291 | IFS=$as_save_IFS |
---|
5292 | test -z "$as_dir" && as_dir=. |
---|
5293 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
5294 | done |
---|
5295 | IFS=$as_save_IFS |
---|
5296 | |
---|
5297 | ;; |
---|
5298 | esac |
---|
5299 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
5300 | # in which case we are not to be found in the path. |
---|
5301 | if test "x$as_myself" = x; then |
---|
5302 | as_myself=$0 |
---|
5303 | fi |
---|
5304 | if test ! -f "$as_myself"; then |
---|
5305 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
5306 | { (exit 1); exit 1; } |
---|
5307 | fi |
---|
5308 | |
---|
5309 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
5310 | for as_var in ENV MAIL MAILPATH |
---|
5311 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
5312 | done |
---|
5313 | PS1='$ ' |
---|
5314 | PS2='> ' |
---|
5315 | PS4='+ ' |
---|
5316 | |
---|
5317 | # NLS nuisances. |
---|
5318 | LC_ALL=C |
---|
5319 | export LC_ALL |
---|
5320 | LANGUAGE=C |
---|
5321 | export LANGUAGE |
---|
5322 | |
---|
5323 | # Required to use basename. |
---|
5324 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
5325 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
5326 | as_expr=expr |
---|
5327 | else |
---|
5328 | as_expr=false |
---|
5329 | fi |
---|
5330 | |
---|
5331 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
5332 | as_basename=basename |
---|
5333 | else |
---|
5334 | as_basename=false |
---|
5335 | fi |
---|
5336 | |
---|
5337 | |
---|
5338 | # Name of the executable. |
---|
5339 | as_me=`$as_basename -- "$0" || |
---|
5340 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
5341 | X"$0" : 'X\(//\)$' \| \ |
---|
5342 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
5343 | $as_echo X/"$0" | |
---|
5344 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
5345 | s//\1/ |
---|
5346 | q |
---|
5347 | } |
---|
5348 | /^X\/\(\/\/\)$/{ |
---|
5349 | s//\1/ |
---|
5350 | q |
---|
5351 | } |
---|
5352 | /^X\/\(\/\).*/{ |
---|
5353 | s//\1/ |
---|
5354 | q |
---|
5355 | } |
---|
5356 | s/.*/./; q'` |
---|
5357 | |
---|
5358 | # CDPATH. |
---|
5359 | $as_unset CDPATH |
---|
5360 | |
---|
5361 | |
---|
5362 | |
---|
5363 | as_lineno_1=$LINENO |
---|
5364 | as_lineno_2=$LINENO |
---|
5365 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5366 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
5367 | |
---|
5368 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
5369 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
5370 | # line-number line after each line using $LINENO; the second 'sed' |
---|
5371 | # does the real work. The second script uses 'N' to pair each |
---|
5372 | # line-number line with the line containing $LINENO, and appends |
---|
5373 | # trailing '-' during substitution so that $LINENO is not a special |
---|
5374 | # case at line end. |
---|
5375 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
5376 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
5377 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
5378 | sed -n ' |
---|
5379 | p |
---|
5380 | /[$]LINENO/= |
---|
5381 | ' <$as_myself | |
---|
5382 | sed ' |
---|
5383 | s/[$]LINENO.*/&-/ |
---|
5384 | t lineno |
---|
5385 | b |
---|
5386 | :lineno |
---|
5387 | N |
---|
5388 | :loop |
---|
5389 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
5390 | t loop |
---|
5391 | s/-\n.*// |
---|
5392 | ' >$as_me.lineno && |
---|
5393 | chmod +x "$as_me.lineno" || |
---|
5394 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
5395 | { (exit 1); exit 1; }; } |
---|
5396 | |
---|
5397 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
5398 | # (the dirname of $[0] is not the place where we might find the |
---|
5399 | # original and so on. Autoconf is especially sensitive to this). |
---|
5400 | . "./$as_me.lineno" |
---|
5401 | # Exit status is that of the last command. |
---|
5402 | exit |
---|
5403 | } |
---|
5404 | |
---|
5405 | |
---|
5406 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
5407 | as_dirname=dirname |
---|
5408 | else |
---|
5409 | as_dirname=false |
---|
5410 | fi |
---|
5411 | |
---|
5412 | ECHO_C= ECHO_N= ECHO_T= |
---|
5413 | case `echo -n x` in |
---|
5414 | -n*) |
---|
5415 | case `echo 'x\c'` in |
---|
5416 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
5417 | *) ECHO_C='\c';; |
---|
5418 | esac;; |
---|
5419 | *) |
---|
5420 | ECHO_N='-n';; |
---|
5421 | esac |
---|
5422 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
5423 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
5424 | as_expr=expr |
---|
5425 | else |
---|
5426 | as_expr=false |
---|
5427 | fi |
---|
5428 | |
---|
5429 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5430 | if test -d conf$$.dir; then |
---|
5431 | rm -f conf$$.dir/conf$$.file |
---|
5432 | else |
---|
5433 | rm -f conf$$.dir |
---|
5434 | mkdir conf$$.dir 2>/dev/null |
---|
5435 | fi |
---|
5436 | if (echo >conf$$.file) 2>/dev/null; then |
---|
5437 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
5438 | as_ln_s='ln -s' |
---|
5439 | # ... but there are two gotchas: |
---|
5440 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
5441 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
5442 | # In both cases, we have to default to `cp -p'. |
---|
5443 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
5444 | as_ln_s='cp -p' |
---|
5445 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
5446 | as_ln_s=ln |
---|
5447 | else |
---|
5448 | as_ln_s='cp -p' |
---|
5449 | fi |
---|
5450 | else |
---|
5451 | as_ln_s='cp -p' |
---|
5452 | fi |
---|
5453 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
5454 | rmdir conf$$.dir 2>/dev/null |
---|
5455 | |
---|
5456 | if mkdir -p . 2>/dev/null; then |
---|
5457 | as_mkdir_p=: |
---|
5458 | else |
---|
5459 | test -d ./-p && rmdir ./-p |
---|
5460 | as_mkdir_p=false |
---|
5461 | fi |
---|
5462 | |
---|
5463 | if test -x / >/dev/null 2>&1; then |
---|
5464 | as_test_x='test -x' |
---|
5465 | else |
---|
5466 | if ls -dL / >/dev/null 2>&1; then |
---|
5467 | as_ls_L_option=L |
---|
5468 | else |
---|
5469 | as_ls_L_option= |
---|
5470 | fi |
---|
5471 | as_test_x=' |
---|
5472 | eval sh -c '\'' |
---|
5473 | if test -d "$1"; then |
---|
5474 | test -d "$1/."; |
---|
5475 | else |
---|
5476 | case $1 in |
---|
5477 | -*)set "./$1";; |
---|
5478 | esac; |
---|
5479 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
5480 | ???[sx]*):;;*)false;;esac;fi |
---|
5481 | '\'' sh |
---|
5482 | ' |
---|
5483 | fi |
---|
5484 | as_executable_p=$as_test_x |
---|
5485 | |
---|
5486 | # Sed expression to map a string onto a valid CPP name. |
---|
5487 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5488 | |
---|
5489 | # Sed expression to map a string onto a valid variable name. |
---|
5490 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5491 | |
---|
5492 | |
---|
5493 | exec 6>&1 |
---|
5494 | |
---|
5495 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
5496 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5497 | # values after options handling. |
---|
5498 | ac_log=" |
---|
5499 | This file was extended by $as_me, which was |
---|
5500 | generated by GNU Autoconf 2.63. Invocation command line was |
---|
5501 | |
---|
5502 | CONFIG_FILES = $CONFIG_FILES |
---|
5503 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5504 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5505 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5506 | $ $0 $@ |
---|
5507 | |
---|
5508 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
5509 | " |
---|
5510 | |
---|
5511 | _ACEOF |
---|
5512 | |
---|
5513 | case $ac_config_files in *" |
---|
5514 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
5515 | esac |
---|
5516 | |
---|
5517 | case $ac_config_headers in *" |
---|
5518 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
5519 | esac |
---|
5520 | |
---|
5521 | |
---|
5522 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5523 | # Files that config.status was made for. |
---|
5524 | config_files="$ac_config_files" |
---|
5525 | config_headers="$ac_config_headers" |
---|
5526 | |
---|
5527 | _ACEOF |
---|
5528 | |
---|
5529 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5530 | ac_cs_usage="\ |
---|
5531 | \`$as_me' instantiates files from templates according to the |
---|
5532 | current configuration. |
---|
5533 | |
---|
5534 | Usage: $0 [OPTION]... [FILE]... |
---|
5535 | |
---|
5536 | -h, --help print this help, then exit |
---|
5537 | -V, --version print version number and configuration settings, then exit |
---|
5538 | -q, --quiet, --silent |
---|
5539 | do not print progress messages |
---|
5540 | -d, --debug don't remove temporary files |
---|
5541 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5542 | --file=FILE[:TEMPLATE] |
---|
5543 | instantiate the configuration file FILE |
---|
5544 | --header=FILE[:TEMPLATE] |
---|
5545 | instantiate the configuration header FILE |
---|
5546 | |
---|
5547 | Configuration files: |
---|
5548 | $config_files |
---|
5549 | |
---|
5550 | Configuration headers: |
---|
5551 | $config_headers |
---|
5552 | |
---|
5553 | Report bugs to <bug-autoconf@gnu.org>." |
---|
5554 | |
---|
5555 | _ACEOF |
---|
5556 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5557 | ac_cs_version="\\ |
---|
5558 | config.status |
---|
5559 | configured by $0, generated by GNU Autoconf 2.63, |
---|
5560 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
5561 | |
---|
5562 | Copyright (C) 2008 Free Software Foundation, Inc. |
---|
5563 | This config.status script is free software; the Free Software Foundation |
---|
5564 | gives unlimited permission to copy, distribute and modify it." |
---|
5565 | |
---|
5566 | ac_pwd='$ac_pwd' |
---|
5567 | srcdir='$srcdir' |
---|
5568 | INSTALL='$INSTALL' |
---|
5569 | test -n "\$AWK" || AWK=awk |
---|
5570 | _ACEOF |
---|
5571 | |
---|
5572 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5573 | # The default lists apply if the user does not specify any file. |
---|
5574 | ac_need_defaults=: |
---|
5575 | while test $# != 0 |
---|
5576 | do |
---|
5577 | case $1 in |
---|
5578 | --*=*) |
---|
5579 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
5580 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
5581 | ac_shift=: |
---|
5582 | ;; |
---|
5583 | *) |
---|
5584 | ac_option=$1 |
---|
5585 | ac_optarg=$2 |
---|
5586 | ac_shift=shift |
---|
5587 | ;; |
---|
5588 | esac |
---|
5589 | |
---|
5590 | case $ac_option in |
---|
5591 | # Handling of the options. |
---|
5592 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5593 | ac_cs_recheck=: ;; |
---|
5594 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
5595 | $as_echo "$ac_cs_version"; exit ;; |
---|
5596 | --debug | --debu | --deb | --de | --d | -d ) |
---|
5597 | debug=: ;; |
---|
5598 | --file | --fil | --fi | --f ) |
---|
5599 | $ac_shift |
---|
5600 | case $ac_optarg in |
---|
5601 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5602 | esac |
---|
5603 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" |
---|
5604 | ac_need_defaults=false;; |
---|
5605 | --header | --heade | --head | --hea ) |
---|
5606 | $ac_shift |
---|
5607 | case $ac_optarg in |
---|
5608 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
5609 | esac |
---|
5610 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" |
---|
5611 | ac_need_defaults=false;; |
---|
5612 | --he | --h) |
---|
5613 | # Conflict between --help and --header |
---|
5614 | { $as_echo "$as_me: error: ambiguous option: $1 |
---|
5615 | Try \`$0 --help' for more information." >&2 |
---|
5616 | { (exit 1); exit 1; }; };; |
---|
5617 | --help | --hel | -h ) |
---|
5618 | $as_echo "$ac_cs_usage"; exit ;; |
---|
5619 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
5620 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
5621 | ac_cs_silent=: ;; |
---|
5622 | |
---|
5623 | # This is an error. |
---|
5624 | -*) { $as_echo "$as_me: error: unrecognized option: $1 |
---|
5625 | Try \`$0 --help' for more information." >&2 |
---|
5626 | { (exit 1); exit 1; }; } ;; |
---|
5627 | |
---|
5628 | *) ac_config_targets="$ac_config_targets $1" |
---|
5629 | ac_need_defaults=false ;; |
---|
5630 | |
---|
5631 | esac |
---|
5632 | shift |
---|
5633 | done |
---|
5634 | |
---|
5635 | ac_configure_extra_args= |
---|
5636 | |
---|
5637 | if $ac_cs_silent; then |
---|
5638 | exec 6>/dev/null |
---|
5639 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
5640 | fi |
---|
5641 | |
---|
5642 | _ACEOF |
---|
5643 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5644 | if \$ac_cs_recheck; then |
---|
5645 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5646 | shift |
---|
5647 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
5648 | CONFIG_SHELL='$SHELL' |
---|
5649 | export CONFIG_SHELL |
---|
5650 | exec "\$@" |
---|
5651 | fi |
---|
5652 | |
---|
5653 | _ACEOF |
---|
5654 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5655 | exec 5>>config.log |
---|
5656 | { |
---|
5657 | echo |
---|
5658 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5659 | ## Running $as_me. ## |
---|
5660 | _ASBOX |
---|
5661 | $as_echo "$ac_log" |
---|
5662 | } >&5 |
---|
5663 | |
---|
5664 | _ACEOF |
---|
5665 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5666 | _ACEOF |
---|
5667 | |
---|
5668 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5669 | |
---|
5670 | # Handling of arguments. |
---|
5671 | for ac_config_target in $ac_config_targets |
---|
5672 | do |
---|
5673 | case $ac_config_target in |
---|
5674 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5675 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5676 | |
---|
5677 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
5678 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
5679 | { (exit 1); exit 1; }; };; |
---|
5680 | esac |
---|
5681 | done |
---|
5682 | |
---|
5683 | |
---|
5684 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5685 | # then the envvar interface is used. Set only those that are not. |
---|
5686 | # We use the long form for the default assignment because of an extremely |
---|
5687 | # bizarre bug on SunOS 4.1.3. |
---|
5688 | if $ac_need_defaults; then |
---|
5689 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5690 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5691 | fi |
---|
5692 | |
---|
5693 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5694 | # simply because there is no reason against having it here, and in addition, |
---|
5695 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5696 | # Hook for its removal unless debugging. |
---|
5697 | # Note that there is a small window in which the directory will not be cleaned: |
---|
5698 | # after its creation but before its name has been assigned to `$tmp'. |
---|
5699 | $debug || |
---|
5700 | { |
---|
5701 | tmp= |
---|
5702 | trap 'exit_status=$? |
---|
5703 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
5704 | ' 0 |
---|
5705 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
5706 | } |
---|
5707 | # Create a (secure) tmp directory for tmp files. |
---|
5708 | |
---|
5709 | { |
---|
5710 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
5711 | test -n "$tmp" && test -d "$tmp" |
---|
5712 | } || |
---|
5713 | { |
---|
5714 | tmp=./conf$$-$RANDOM |
---|
5715 | (umask 077 && mkdir "$tmp") |
---|
5716 | } || |
---|
5717 | { |
---|
5718 | $as_echo "$as_me: cannot create a temporary directory in ." >&2 |
---|
5719 | { (exit 1); exit 1; } |
---|
5720 | } |
---|
5721 | |
---|
5722 | # Set up the scripts for CONFIG_FILES section. |
---|
5723 | # No need to generate them if there are no CONFIG_FILES. |
---|
5724 | # This happens for instance with `./config.status config.h'. |
---|
5725 | if test -n "$CONFIG_FILES"; then |
---|
5726 | |
---|
5727 | |
---|
5728 | ac_cr=' |
---|
5729 | ' |
---|
5730 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
5731 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
5732 | ac_cs_awk_cr='\\r' |
---|
5733 | else |
---|
5734 | ac_cs_awk_cr=$ac_cr |
---|
5735 | fi |
---|
5736 | |
---|
5737 | echo 'BEGIN {' >"$tmp/subs1.awk" && |
---|
5738 | _ACEOF |
---|
5739 | |
---|
5740 | |
---|
5741 | { |
---|
5742 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
5743 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
5744 | echo "_ACEOF" |
---|
5745 | } >conf$$subs.sh || |
---|
5746 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5747 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5748 | { (exit 1); exit 1; }; } |
---|
5749 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
---|
5750 | ac_delim='%!_!# ' |
---|
5751 | for ac_last_try in false false false false false :; do |
---|
5752 | . ./conf$$subs.sh || |
---|
5753 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5754 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5755 | { (exit 1); exit 1; }; } |
---|
5756 | |
---|
5757 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
5758 | if test $ac_delim_n = $ac_delim_num; then |
---|
5759 | break |
---|
5760 | elif $ac_last_try; then |
---|
5761 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5762 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5763 | { (exit 1); exit 1; }; } |
---|
5764 | else |
---|
5765 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5766 | fi |
---|
5767 | done |
---|
5768 | rm -f conf$$subs.sh |
---|
5769 | |
---|
5770 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5771 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK && |
---|
5772 | _ACEOF |
---|
5773 | sed -n ' |
---|
5774 | h |
---|
5775 | s/^/S["/; s/!.*/"]=/ |
---|
5776 | p |
---|
5777 | g |
---|
5778 | s/^[^!]*!// |
---|
5779 | :repl |
---|
5780 | t repl |
---|
5781 | s/'"$ac_delim"'$// |
---|
5782 | t delim |
---|
5783 | :nl |
---|
5784 | h |
---|
5785 | s/\(.\{148\}\).*/\1/ |
---|
5786 | t more1 |
---|
5787 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
5788 | p |
---|
5789 | n |
---|
5790 | b repl |
---|
5791 | :more1 |
---|
5792 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5793 | p |
---|
5794 | g |
---|
5795 | s/.\{148\}// |
---|
5796 | t nl |
---|
5797 | :delim |
---|
5798 | h |
---|
5799 | s/\(.\{148\}\).*/\1/ |
---|
5800 | t more2 |
---|
5801 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
5802 | p |
---|
5803 | b |
---|
5804 | :more2 |
---|
5805 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
5806 | p |
---|
5807 | g |
---|
5808 | s/.\{148\}// |
---|
5809 | t delim |
---|
5810 | ' <conf$$subs.awk | sed ' |
---|
5811 | /^[^""]/{ |
---|
5812 | N |
---|
5813 | s/\n// |
---|
5814 | } |
---|
5815 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
5816 | rm -f conf$$subs.awk |
---|
5817 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5818 | _ACAWK |
---|
5819 | cat >>"\$tmp/subs1.awk" <<_ACAWK && |
---|
5820 | for (key in S) S_is_set[key] = 1 |
---|
5821 | FS = "" |
---|
5822 | |
---|
5823 | } |
---|
5824 | { |
---|
5825 | line = $ 0 |
---|
5826 | nfields = split(line, field, "@") |
---|
5827 | substed = 0 |
---|
5828 | len = length(field[1]) |
---|
5829 | for (i = 2; i < nfields; i++) { |
---|
5830 | key = field[i] |
---|
5831 | keylen = length(key) |
---|
5832 | if (S_is_set[key]) { |
---|
5833 | value = S[key] |
---|
5834 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
5835 | len += length(value) + length(field[++i]) |
---|
5836 | substed = 1 |
---|
5837 | } else |
---|
5838 | len += 1 + keylen |
---|
5839 | } |
---|
5840 | |
---|
5841 | print line |
---|
5842 | } |
---|
5843 | |
---|
5844 | _ACAWK |
---|
5845 | _ACEOF |
---|
5846 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5847 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
5848 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
5849 | else |
---|
5850 | cat |
---|
5851 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
---|
5852 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 |
---|
5853 | $as_echo "$as_me: error: could not setup config files machinery" >&2;} |
---|
5854 | { (exit 1); exit 1; }; } |
---|
5855 | _ACEOF |
---|
5856 | |
---|
5857 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
5858 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
5859 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
5860 | # (actually we leave an empty line to preserve line numbers). |
---|
5861 | if test "x$srcdir" = x.; then |
---|
5862 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
5863 | s/:*\$(srcdir):*/:/ |
---|
5864 | s/:*\${srcdir}:*/:/ |
---|
5865 | s/:*@srcdir@:*/:/ |
---|
5866 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
5867 | s/:*$// |
---|
5868 | s/^[^=]*=[ ]*$// |
---|
5869 | }' |
---|
5870 | fi |
---|
5871 | |
---|
5872 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5873 | fi # test -n "$CONFIG_FILES" |
---|
5874 | |
---|
5875 | # Set up the scripts for CONFIG_HEADERS section. |
---|
5876 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
5877 | # This happens for instance with `./config.status Makefile'. |
---|
5878 | if test -n "$CONFIG_HEADERS"; then |
---|
5879 | cat >"$tmp/defines.awk" <<\_ACAWK || |
---|
5880 | BEGIN { |
---|
5881 | _ACEOF |
---|
5882 | |
---|
5883 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
5884 | # here-document in config.status, that substitutes the proper values into |
---|
5885 | # config.h.in to produce config.h. |
---|
5886 | |
---|
5887 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
5888 | # handling of long lines. |
---|
5889 | ac_delim='%!_!# ' |
---|
5890 | for ac_last_try in false false :; do |
---|
5891 | ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
---|
5892 | if test -z "$ac_t"; then |
---|
5893 | break |
---|
5894 | elif $ac_last_try; then |
---|
5895 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 |
---|
5896 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} |
---|
5897 | { (exit 1); exit 1; }; } |
---|
5898 | else |
---|
5899 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5900 | fi |
---|
5901 | done |
---|
5902 | |
---|
5903 | # For the awk script, D is an array of macro values keyed by name, |
---|
5904 | # likewise P contains macro parameters if any. Preserve backslash |
---|
5905 | # newline sequences. |
---|
5906 | |
---|
5907 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
5908 | sed -n ' |
---|
5909 | s/.\{148\}/&'"$ac_delim"'/g |
---|
5910 | t rset |
---|
5911 | :rset |
---|
5912 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
5913 | t def |
---|
5914 | d |
---|
5915 | :def |
---|
5916 | s/\\$// |
---|
5917 | t bsnl |
---|
5918 | s/["\\]/\\&/g |
---|
5919 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
5920 | D["\1"]=" \3"/p |
---|
5921 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
5922 | d |
---|
5923 | :bsnl |
---|
5924 | s/["\\]/\\&/g |
---|
5925 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
5926 | D["\1"]=" \3\\\\\\n"\\/p |
---|
5927 | t cont |
---|
5928 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
5929 | t cont |
---|
5930 | d |
---|
5931 | :cont |
---|
5932 | n |
---|
5933 | s/.\{148\}/&'"$ac_delim"'/g |
---|
5934 | t clear |
---|
5935 | :clear |
---|
5936 | s/\\$// |
---|
5937 | t bsnlc |
---|
5938 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
5939 | d |
---|
5940 | :bsnlc |
---|
5941 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
5942 | b cont |
---|
5943 | ' <confdefs.h | sed ' |
---|
5944 | s/'"$ac_delim"'/"\\\ |
---|
5945 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
5946 | |
---|
5947 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
5948 | for (key in D) D_is_set[key] = 1 |
---|
5949 | FS = "" |
---|
5950 | } |
---|
5951 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
5952 | line = \$ 0 |
---|
5953 | split(line, arg, " ") |
---|
5954 | if (arg[1] == "#") { |
---|
5955 | defundef = arg[2] |
---|
5956 | mac1 = arg[3] |
---|
5957 | } else { |
---|
5958 | defundef = substr(arg[1], 2) |
---|
5959 | mac1 = arg[2] |
---|
5960 | } |
---|
5961 | split(mac1, mac2, "(") #) |
---|
5962 | macro = mac2[1] |
---|
5963 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
5964 | if (D_is_set[macro]) { |
---|
5965 | # Preserve the white space surrounding the "#". |
---|
5966 | print prefix "define", macro P[macro] D[macro] |
---|
5967 | next |
---|
5968 | } else { |
---|
5969 | # Replace #undef with comments. This is necessary, for example, |
---|
5970 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
5971 | # on some systems where configure will not decide to define it. |
---|
5972 | if (defundef == "undef") { |
---|
5973 | print "/*", prefix defundef, macro, "*/" |
---|
5974 | next |
---|
5975 | } |
---|
5976 | } |
---|
5977 | } |
---|
5978 | { print } |
---|
5979 | _ACAWK |
---|
5980 | _ACEOF |
---|
5981 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
5982 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 |
---|
5983 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;} |
---|
5984 | { (exit 1); exit 1; }; } |
---|
5985 | fi # test -n "$CONFIG_HEADERS" |
---|
5986 | |
---|
5987 | |
---|
5988 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
---|
5989 | shift |
---|
5990 | for ac_tag |
---|
5991 | do |
---|
5992 | case $ac_tag in |
---|
5993 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
5994 | esac |
---|
5995 | case $ac_mode$ac_tag in |
---|
5996 | :[FHL]*:*);; |
---|
5997 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 |
---|
5998 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} |
---|
5999 | { (exit 1); exit 1; }; };; |
---|
6000 | :[FH]-) ac_tag=-:-;; |
---|
6001 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
6002 | esac |
---|
6003 | ac_save_IFS=$IFS |
---|
6004 | IFS=: |
---|
6005 | set x $ac_tag |
---|
6006 | IFS=$ac_save_IFS |
---|
6007 | shift |
---|
6008 | ac_file=$1 |
---|
6009 | shift |
---|
6010 | |
---|
6011 | case $ac_mode in |
---|
6012 | :L) ac_source=$1;; |
---|
6013 | :[FH]) |
---|
6014 | ac_file_inputs= |
---|
6015 | for ac_f |
---|
6016 | do |
---|
6017 | case $ac_f in |
---|
6018 | -) ac_f="$tmp/stdin";; |
---|
6019 | *) # Look for the file first in the build tree, then in the source tree |
---|
6020 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
6021 | # because $ac_f cannot contain `:'. |
---|
6022 | test -f "$ac_f" || |
---|
6023 | case $ac_f in |
---|
6024 | [\\/$]*) false;; |
---|
6025 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
6026 | esac || |
---|
6027 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
6028 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
6029 | { (exit 1); exit 1; }; };; |
---|
6030 | esac |
---|
6031 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
6032 | ac_file_inputs="$ac_file_inputs '$ac_f'" |
---|
6033 | done |
---|
6034 | |
---|
6035 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
6036 | # use $as_me), people would be surprised to read: |
---|
6037 | # /* config.h. Generated by config.status. */ |
---|
6038 | configure_input='Generated from '` |
---|
6039 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
6040 | `' by configure.' |
---|
6041 | if test x"$ac_file" != x-; then |
---|
6042 | configure_input="$ac_file. $configure_input" |
---|
6043 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
6044 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
6045 | fi |
---|
6046 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
6047 | case $configure_input in #( |
---|
6048 | *\&* | *\|* | *\\* ) |
---|
6049 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
6050 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
6051 | *) ac_sed_conf_input=$configure_input;; |
---|
6052 | esac |
---|
6053 | |
---|
6054 | case $ac_tag in |
---|
6055 | *:-:* | *:-) cat >"$tmp/stdin" \ |
---|
6056 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
6057 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
6058 | { (exit 1); exit 1; }; } ;; |
---|
6059 | esac |
---|
6060 | ;; |
---|
6061 | esac |
---|
6062 | |
---|
6063 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
6064 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6065 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
6066 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
6067 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
6068 | $as_echo X"$ac_file" | |
---|
6069 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6070 | s//\1/ |
---|
6071 | q |
---|
6072 | } |
---|
6073 | /^X\(\/\/\)[^/].*/{ |
---|
6074 | s//\1/ |
---|
6075 | q |
---|
6076 | } |
---|
6077 | /^X\(\/\/\)$/{ |
---|
6078 | s//\1/ |
---|
6079 | q |
---|
6080 | } |
---|
6081 | /^X\(\/\).*/{ |
---|
6082 | s//\1/ |
---|
6083 | q |
---|
6084 | } |
---|
6085 | s/.*/./; q'` |
---|
6086 | { as_dir="$ac_dir" |
---|
6087 | case $as_dir in #( |
---|
6088 | -*) as_dir=./$as_dir;; |
---|
6089 | esac |
---|
6090 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
6091 | as_dirs= |
---|
6092 | while :; do |
---|
6093 | case $as_dir in #( |
---|
6094 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
6095 | *) as_qdir=$as_dir;; |
---|
6096 | esac |
---|
6097 | as_dirs="'$as_qdir' $as_dirs" |
---|
6098 | as_dir=`$as_dirname -- "$as_dir" || |
---|
6099 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6100 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6101 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6102 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
6103 | $as_echo X"$as_dir" | |
---|
6104 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6105 | s//\1/ |
---|
6106 | q |
---|
6107 | } |
---|
6108 | /^X\(\/\/\)[^/].*/{ |
---|
6109 | s//\1/ |
---|
6110 | q |
---|
6111 | } |
---|
6112 | /^X\(\/\/\)$/{ |
---|
6113 | s//\1/ |
---|
6114 | q |
---|
6115 | } |
---|
6116 | /^X\(\/\).*/{ |
---|
6117 | s//\1/ |
---|
6118 | q |
---|
6119 | } |
---|
6120 | s/.*/./; q'` |
---|
6121 | test -d "$as_dir" && break |
---|
6122 | done |
---|
6123 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
6124 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
6125 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
6126 | { (exit 1); exit 1; }; }; } |
---|
6127 | ac_builddir=. |
---|
6128 | |
---|
6129 | case "$ac_dir" in |
---|
6130 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6131 | *) |
---|
6132 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
6133 | # A ".." for each directory in $ac_dir_suffix. |
---|
6134 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
6135 | case $ac_top_builddir_sub in |
---|
6136 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6137 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
6138 | esac ;; |
---|
6139 | esac |
---|
6140 | ac_abs_top_builddir=$ac_pwd |
---|
6141 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
6142 | # for backward compatibility: |
---|
6143 | ac_top_builddir=$ac_top_build_prefix |
---|
6144 | |
---|
6145 | case $srcdir in |
---|
6146 | .) # We are building in place. |
---|
6147 | ac_srcdir=. |
---|
6148 | ac_top_srcdir=$ac_top_builddir_sub |
---|
6149 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
6150 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
6151 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6152 | ac_top_srcdir=$srcdir |
---|
6153 | ac_abs_top_srcdir=$srcdir ;; |
---|
6154 | *) # Relative name. |
---|
6155 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
6156 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
6157 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
6158 | esac |
---|
6159 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
6160 | |
---|
6161 | |
---|
6162 | case $ac_mode in |
---|
6163 | :F) |
---|
6164 | # |
---|
6165 | # CONFIG_FILE |
---|
6166 | # |
---|
6167 | |
---|
6168 | case $INSTALL in |
---|
6169 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
6170 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
6171 | esac |
---|
6172 | _ACEOF |
---|
6173 | |
---|
6174 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6175 | # If the template does not know about datarootdir, expand it. |
---|
6176 | # FIXME: This hack should be removed a few years after 2.60. |
---|
6177 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
6178 | |
---|
6179 | ac_sed_dataroot=' |
---|
6180 | /datarootdir/ { |
---|
6181 | p |
---|
6182 | q |
---|
6183 | } |
---|
6184 | /@datadir@/p |
---|
6185 | /@docdir@/p |
---|
6186 | /@infodir@/p |
---|
6187 | /@localedir@/p |
---|
6188 | /@mandir@/p |
---|
6189 | ' |
---|
6190 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
6191 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
6192 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
6193 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
6194 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
6195 | _ACEOF |
---|
6196 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6197 | ac_datarootdir_hack=' |
---|
6198 | s&@datadir@&$datadir&g |
---|
6199 | s&@docdir@&$docdir&g |
---|
6200 | s&@infodir@&$infodir&g |
---|
6201 | s&@localedir@&$localedir&g |
---|
6202 | s&@mandir@&$mandir&g |
---|
6203 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
6204 | esac |
---|
6205 | _ACEOF |
---|
6206 | |
---|
6207 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
6208 | # Shell code in configure.ac might set extrasub. |
---|
6209 | # FIXME: do we really want to maintain this feature? |
---|
6210 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
6211 | ac_sed_extra="$ac_vpsub |
---|
6212 | $extrasub |
---|
6213 | _ACEOF |
---|
6214 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
6215 | :t |
---|
6216 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
6217 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
6218 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
6219 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
6220 | s&@srcdir@&$ac_srcdir&;t t |
---|
6221 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
6222 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
6223 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
6224 | s&@builddir@&$ac_builddir&;t t |
---|
6225 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
6226 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
6227 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
6228 | $ac_datarootdir_hack |
---|
6229 | " |
---|
6230 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ |
---|
6231 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
6232 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
6233 | { (exit 1); exit 1; }; } |
---|
6234 | |
---|
6235 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
6236 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
6237 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
6238 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6239 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
6240 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6241 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
6242 | |
---|
6243 | rm -f "$tmp/stdin" |
---|
6244 | case $ac_file in |
---|
6245 | -) cat "$tmp/out" && rm -f "$tmp/out";; |
---|
6246 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
---|
6247 | esac \ |
---|
6248 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
6249 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
6250 | { (exit 1); exit 1; }; } |
---|
6251 | ;; |
---|
6252 | :H) |
---|
6253 | # |
---|
6254 | # CONFIG_HEADER |
---|
6255 | # |
---|
6256 | if test x"$ac_file" != x-; then |
---|
6257 | { |
---|
6258 | $as_echo "/* $configure_input */" \ |
---|
6259 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
---|
6260 | } >"$tmp/config.h" \ |
---|
6261 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
6262 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
6263 | { (exit 1); exit 1; }; } |
---|
6264 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
---|
6265 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
6266 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
6267 | else |
---|
6268 | rm -f "$ac_file" |
---|
6269 | mv "$tmp/config.h" "$ac_file" \ |
---|
6270 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 |
---|
6271 | $as_echo "$as_me: error: could not create $ac_file" >&2;} |
---|
6272 | { (exit 1); exit 1; }; } |
---|
6273 | fi |
---|
6274 | else |
---|
6275 | $as_echo "/* $configure_input */" \ |
---|
6276 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
---|
6277 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 |
---|
6278 | $as_echo "$as_me: error: could not create -" >&2;} |
---|
6279 | { (exit 1); exit 1; }; } |
---|
6280 | fi |
---|
6281 | ;; |
---|
6282 | |
---|
6283 | |
---|
6284 | esac |
---|
6285 | |
---|
6286 | done # for ac_tag |
---|
6287 | |
---|
6288 | |
---|
6289 | { (exit 0); exit 0; } |
---|
6290 | _ACEOF |
---|
6291 | chmod +x $CONFIG_STATUS |
---|
6292 | ac_clean_files=$ac_clean_files_save |
---|
6293 | |
---|
6294 | test $ac_write_fail = 0 || |
---|
6295 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 |
---|
6296 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} |
---|
6297 | { (exit 1); exit 1; }; } |
---|
6298 | |
---|
6299 | |
---|
6300 | # configure is writing to config.log, and then calls config.status. |
---|
6301 | # config.status does its own redirection, appending to config.log. |
---|
6302 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
6303 | # by configure, so config.status won't be able to write to it; its |
---|
6304 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
6305 | # effectively closing config.log, so it can be properly (re)opened and |
---|
6306 | # appended to by config.status. When coming back to configure, we |
---|
6307 | # need to make the FD available again. |
---|
6308 | if test "$no_create" != yes; then |
---|
6309 | ac_cs_success=: |
---|
6310 | ac_config_status_args= |
---|
6311 | test "$silent" = yes && |
---|
6312 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
6313 | exec 5>/dev/null |
---|
6314 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
6315 | exec 5>>config.log |
---|
6316 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
6317 | # would make configure fail if this is the last instruction. |
---|
6318 | $ac_cs_success || { (exit 1); exit 1; } |
---|
6319 | fi |
---|
6320 | |
---|
6321 | # |
---|
6322 | # CONFIG_SUBDIRS section. |
---|
6323 | # |
---|
6324 | if test "$no_recursion" != yes; then |
---|
6325 | |
---|
6326 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments |
---|
6327 | # so they do not pile up. |
---|
6328 | ac_sub_configure_args= |
---|
6329 | ac_prev= |
---|
6330 | eval "set x $ac_configure_args" |
---|
6331 | shift |
---|
6332 | for ac_arg |
---|
6333 | do |
---|
6334 | if test -n "$ac_prev"; then |
---|
6335 | ac_prev= |
---|
6336 | continue |
---|
6337 | fi |
---|
6338 | case $ac_arg in |
---|
6339 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
6340 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
6341 | ac_prev=cache_file ;; |
---|
6342 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
6343 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
---|
6344 | | --c=*) |
---|
6345 | ;; |
---|
6346 | --config-cache | -C) |
---|
6347 | ;; |
---|
6348 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
6349 | ac_prev=srcdir ;; |
---|
6350 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
6351 | ;; |
---|
6352 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
6353 | ac_prev=prefix ;; |
---|
6354 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
6355 | ;; |
---|
6356 | --disable-option-checking) |
---|
6357 | ;; |
---|
6358 | *) |
---|
6359 | case $ac_arg in |
---|
6360 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6361 | esac |
---|
6362 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
---|
6363 | esac |
---|
6364 | done |
---|
6365 | |
---|
6366 | # Always prepend --prefix to ensure using the same prefix |
---|
6367 | # in subdir configurations. |
---|
6368 | ac_arg="--prefix=$prefix" |
---|
6369 | case $ac_arg in |
---|
6370 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6371 | esac |
---|
6372 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
---|
6373 | |
---|
6374 | # Pass --silent |
---|
6375 | if test "$silent" = yes; then |
---|
6376 | ac_sub_configure_args="--silent $ac_sub_configure_args" |
---|
6377 | fi |
---|
6378 | |
---|
6379 | # Always prepend --disable-option-checking to silence warnings, since |
---|
6380 | # different subdirs can have different --enable and --with options. |
---|
6381 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" |
---|
6382 | |
---|
6383 | ac_popdir=`pwd` |
---|
6384 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
---|
6385 | |
---|
6386 | # Do not complain, so a configure script can configure whichever |
---|
6387 | # parts of a large source tree are present. |
---|
6388 | test -d "$srcdir/$ac_dir" || continue |
---|
6389 | |
---|
6390 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
---|
6391 | $as_echo "$as_me:$LINENO: $ac_msg" >&5 |
---|
6392 | $as_echo "$ac_msg" >&6 |
---|
6393 | { as_dir="$ac_dir" |
---|
6394 | case $as_dir in #( |
---|
6395 | -*) as_dir=./$as_dir;; |
---|
6396 | esac |
---|
6397 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
6398 | as_dirs= |
---|
6399 | while :; do |
---|
6400 | case $as_dir in #( |
---|
6401 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
6402 | *) as_qdir=$as_dir;; |
---|
6403 | esac |
---|
6404 | as_dirs="'$as_qdir' $as_dirs" |
---|
6405 | as_dir=`$as_dirname -- "$as_dir" || |
---|
6406 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6407 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6408 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6409 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
6410 | $as_echo X"$as_dir" | |
---|
6411 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6412 | s//\1/ |
---|
6413 | q |
---|
6414 | } |
---|
6415 | /^X\(\/\/\)[^/].*/{ |
---|
6416 | s//\1/ |
---|
6417 | q |
---|
6418 | } |
---|
6419 | /^X\(\/\/\)$/{ |
---|
6420 | s//\1/ |
---|
6421 | q |
---|
6422 | } |
---|
6423 | /^X\(\/\).*/{ |
---|
6424 | s//\1/ |
---|
6425 | q |
---|
6426 | } |
---|
6427 | s/.*/./; q'` |
---|
6428 | test -d "$as_dir" && break |
---|
6429 | done |
---|
6430 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
6431 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
6432 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
6433 | { (exit 1); exit 1; }; }; } |
---|
6434 | ac_builddir=. |
---|
6435 | |
---|
6436 | case "$ac_dir" in |
---|
6437 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6438 | *) |
---|
6439 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
6440 | # A ".." for each directory in $ac_dir_suffix. |
---|
6441 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
6442 | case $ac_top_builddir_sub in |
---|
6443 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6444 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
6445 | esac ;; |
---|
6446 | esac |
---|
6447 | ac_abs_top_builddir=$ac_pwd |
---|
6448 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
6449 | # for backward compatibility: |
---|
6450 | ac_top_builddir=$ac_top_build_prefix |
---|
6451 | |
---|
6452 | case $srcdir in |
---|
6453 | .) # We are building in place. |
---|
6454 | ac_srcdir=. |
---|
6455 | ac_top_srcdir=$ac_top_builddir_sub |
---|
6456 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
6457 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
6458 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6459 | ac_top_srcdir=$srcdir |
---|
6460 | ac_abs_top_srcdir=$srcdir ;; |
---|
6461 | *) # Relative name. |
---|
6462 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
6463 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
6464 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
6465 | esac |
---|
6466 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
6467 | |
---|
6468 | |
---|
6469 | cd "$ac_dir" |
---|
6470 | |
---|
6471 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
6472 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
6473 | ac_sub_configure=$ac_srcdir/configure.gnu |
---|
6474 | elif test -f "$ac_srcdir/configure"; then |
---|
6475 | ac_sub_configure=$ac_srcdir/configure |
---|
6476 | elif test -f "$ac_srcdir/configure.in"; then |
---|
6477 | # This should be Cygnus configure. |
---|
6478 | ac_sub_configure=$ac_aux_dir/configure |
---|
6479 | else |
---|
6480 | { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
---|
6481 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
---|
6482 | ac_sub_configure= |
---|
6483 | fi |
---|
6484 | |
---|
6485 | # The recursion is here. |
---|
6486 | if test -n "$ac_sub_configure"; then |
---|
6487 | # Make the cache file name correct relative to the subdirectory. |
---|
6488 | case $cache_file in |
---|
6489 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
---|
6490 | *) # Relative name. |
---|
6491 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
---|
6492 | esac |
---|
6493 | |
---|
6494 | { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
---|
6495 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
---|
6496 | # The eval makes quoting arguments work. |
---|
6497 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
---|
6498 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
---|
6499 | { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
---|
6500 | $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
---|
6501 | { (exit 1); exit 1; }; } |
---|
6502 | fi |
---|
6503 | |
---|
6504 | cd "$ac_popdir" |
---|
6505 | done |
---|
6506 | fi |
---|
6507 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
6508 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
6509 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
6510 | fi |
---|
6511 | |
---|