1 | #! /bin/sh |
---|
2 | # Guess values for system-dependent variables and create Makefiles. |
---|
3 | # Generated by GNU Autoconf 2.61. |
---|
4 | # |
---|
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
7 | # This configure script is free software; the Free Software Foundation |
---|
8 | # gives unlimited permission to copy, distribute and modify it. |
---|
9 | ## --------------------- ## |
---|
10 | ## M4sh Initialization. ## |
---|
11 | ## --------------------- ## |
---|
12 | |
---|
13 | # Be 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 | # Zsh 3.x and 4.x performs 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 | # The user is always right. |
---|
41 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
42 | echo "#! /bin/sh" >conf$$.sh |
---|
43 | echo "exit 0" >>conf$$.sh |
---|
44 | chmod +x conf$$.sh |
---|
45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
46 | PATH_SEPARATOR=';' |
---|
47 | else |
---|
48 | PATH_SEPARATOR=: |
---|
49 | fi |
---|
50 | rm -f conf$$.sh |
---|
51 | fi |
---|
52 | |
---|
53 | # Support unset when possible. |
---|
54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
55 | as_unset=unset |
---|
56 | else |
---|
57 | as_unset=false |
---|
58 | fi |
---|
59 | |
---|
60 | |
---|
61 | # IFS |
---|
62 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
63 | # there to prevent editors from complaining about space-tab. |
---|
64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
65 | # splitting by setting IFS to empty value.) |
---|
66 | as_nl=' |
---|
67 | ' |
---|
68 | IFS=" "" $as_nl" |
---|
69 | |
---|
70 | # Find who we are. Look in the path if we contain no directory separator. |
---|
71 | case $0 in |
---|
72 | *[\\/]* ) as_myself=$0 ;; |
---|
73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
74 | for as_dir in $PATH |
---|
75 | do |
---|
76 | IFS=$as_save_IFS |
---|
77 | test -z "$as_dir" && as_dir=. |
---|
78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
79 | done |
---|
80 | IFS=$as_save_IFS |
---|
81 | |
---|
82 | ;; |
---|
83 | esac |
---|
84 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
85 | # in which case we are not to be found in the path. |
---|
86 | if test "x$as_myself" = x; then |
---|
87 | as_myself=$0 |
---|
88 | fi |
---|
89 | if test ! -f "$as_myself"; then |
---|
90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
91 | { (exit 1); exit 1; } |
---|
92 | fi |
---|
93 | |
---|
94 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
95 | for as_var in ENV MAIL MAILPATH |
---|
96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
97 | done |
---|
98 | PS1='$ ' |
---|
99 | PS2='> ' |
---|
100 | PS4='+ ' |
---|
101 | |
---|
102 | # NLS nuisances. |
---|
103 | for as_var in \ |
---|
104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
106 | LC_TELEPHONE LC_TIME |
---|
107 | do |
---|
108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
109 | eval $as_var=C; export $as_var |
---|
110 | else |
---|
111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
112 | fi |
---|
113 | done |
---|
114 | |
---|
115 | # Required to use basename. |
---|
116 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
118 | as_expr=expr |
---|
119 | else |
---|
120 | as_expr=false |
---|
121 | fi |
---|
122 | |
---|
123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
124 | as_basename=basename |
---|
125 | else |
---|
126 | as_basename=false |
---|
127 | fi |
---|
128 | |
---|
129 | |
---|
130 | # Name of the executable. |
---|
131 | as_me=`$as_basename -- "$0" || |
---|
132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
133 | X"$0" : 'X\(//\)$' \| \ |
---|
134 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
135 | echo X/"$0" | |
---|
136 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
137 | s//\1/ |
---|
138 | q |
---|
139 | } |
---|
140 | /^X\/\(\/\/\)$/{ |
---|
141 | s//\1/ |
---|
142 | q |
---|
143 | } |
---|
144 | /^X\/\(\/\).*/{ |
---|
145 | s//\1/ |
---|
146 | q |
---|
147 | } |
---|
148 | s/.*/./; q'` |
---|
149 | |
---|
150 | # CDPATH. |
---|
151 | $as_unset CDPATH |
---|
152 | |
---|
153 | |
---|
154 | if test "x$CONFIG_SHELL" = x; then |
---|
155 | if (eval ":") 2>/dev/null; then |
---|
156 | as_have_required=yes |
---|
157 | else |
---|
158 | as_have_required=no |
---|
159 | fi |
---|
160 | |
---|
161 | if test $as_have_required = yes && (eval ": |
---|
162 | (as_func_return () { |
---|
163 | (exit \$1) |
---|
164 | } |
---|
165 | as_func_success () { |
---|
166 | as_func_return 0 |
---|
167 | } |
---|
168 | as_func_failure () { |
---|
169 | as_func_return 1 |
---|
170 | } |
---|
171 | as_func_ret_success () { |
---|
172 | return 0 |
---|
173 | } |
---|
174 | as_func_ret_failure () { |
---|
175 | return 1 |
---|
176 | } |
---|
177 | |
---|
178 | exitcode=0 |
---|
179 | if as_func_success; then |
---|
180 | : |
---|
181 | else |
---|
182 | exitcode=1 |
---|
183 | echo as_func_success failed. |
---|
184 | fi |
---|
185 | |
---|
186 | if as_func_failure; then |
---|
187 | exitcode=1 |
---|
188 | echo as_func_failure succeeded. |
---|
189 | fi |
---|
190 | |
---|
191 | if as_func_ret_success; then |
---|
192 | : |
---|
193 | else |
---|
194 | exitcode=1 |
---|
195 | echo as_func_ret_success failed. |
---|
196 | fi |
---|
197 | |
---|
198 | if as_func_ret_failure; then |
---|
199 | exitcode=1 |
---|
200 | echo as_func_ret_failure succeeded. |
---|
201 | fi |
---|
202 | |
---|
203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
204 | : |
---|
205 | else |
---|
206 | exitcode=1 |
---|
207 | echo positional parameters were not saved. |
---|
208 | fi |
---|
209 | |
---|
210 | test \$exitcode = 0) || { (exit 1); exit 1; } |
---|
211 | |
---|
212 | ( |
---|
213 | as_lineno_1=\$LINENO |
---|
214 | as_lineno_2=\$LINENO |
---|
215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
---|
216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
---|
217 | ") 2> /dev/null; then |
---|
218 | : |
---|
219 | else |
---|
220 | as_candidate_shells= |
---|
221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
223 | do |
---|
224 | IFS=$as_save_IFS |
---|
225 | test -z "$as_dir" && as_dir=. |
---|
226 | case $as_dir in |
---|
227 | /*) |
---|
228 | for as_base in sh bash ksh sh5; do |
---|
229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
---|
230 | done;; |
---|
231 | esac |
---|
232 | done |
---|
233 | IFS=$as_save_IFS |
---|
234 | |
---|
235 | |
---|
236 | for as_shell in $as_candidate_shells $SHELL; do |
---|
237 | # Try only shells that exist, to save several forks. |
---|
238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
239 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
---|
240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
241 | emulate sh |
---|
242 | NULLCMD=: |
---|
243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
244 | # is contrary to our usage. Disable this feature. |
---|
245 | alias -g '${1+"$@"}'='"$@"' |
---|
246 | setopt NO_GLOB_SUBST |
---|
247 | else |
---|
248 | case `(set -o) 2>/dev/null` in |
---|
249 | *posix*) set -o posix ;; |
---|
250 | esac |
---|
251 | |
---|
252 | fi |
---|
253 | |
---|
254 | |
---|
255 | : |
---|
256 | _ASEOF |
---|
257 | }; then |
---|
258 | CONFIG_SHELL=$as_shell |
---|
259 | as_have_required=yes |
---|
260 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
---|
261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
262 | emulate sh |
---|
263 | NULLCMD=: |
---|
264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
265 | # is contrary to our usage. Disable this feature. |
---|
266 | alias -g '${1+"$@"}'='"$@"' |
---|
267 | setopt NO_GLOB_SUBST |
---|
268 | else |
---|
269 | case `(set -o) 2>/dev/null` in |
---|
270 | *posix*) set -o posix ;; |
---|
271 | esac |
---|
272 | |
---|
273 | fi |
---|
274 | |
---|
275 | |
---|
276 | : |
---|
277 | (as_func_return () { |
---|
278 | (exit $1) |
---|
279 | } |
---|
280 | as_func_success () { |
---|
281 | as_func_return 0 |
---|
282 | } |
---|
283 | as_func_failure () { |
---|
284 | as_func_return 1 |
---|
285 | } |
---|
286 | as_func_ret_success () { |
---|
287 | return 0 |
---|
288 | } |
---|
289 | as_func_ret_failure () { |
---|
290 | return 1 |
---|
291 | } |
---|
292 | |
---|
293 | exitcode=0 |
---|
294 | if as_func_success; then |
---|
295 | : |
---|
296 | else |
---|
297 | exitcode=1 |
---|
298 | echo as_func_success failed. |
---|
299 | fi |
---|
300 | |
---|
301 | if as_func_failure; then |
---|
302 | exitcode=1 |
---|
303 | echo as_func_failure succeeded. |
---|
304 | fi |
---|
305 | |
---|
306 | if as_func_ret_success; then |
---|
307 | : |
---|
308 | else |
---|
309 | exitcode=1 |
---|
310 | echo as_func_ret_success failed. |
---|
311 | fi |
---|
312 | |
---|
313 | if as_func_ret_failure; then |
---|
314 | exitcode=1 |
---|
315 | echo as_func_ret_failure succeeded. |
---|
316 | fi |
---|
317 | |
---|
318 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
---|
319 | : |
---|
320 | else |
---|
321 | exitcode=1 |
---|
322 | echo positional parameters were not saved. |
---|
323 | fi |
---|
324 | |
---|
325 | test $exitcode = 0) || { (exit 1); exit 1; } |
---|
326 | |
---|
327 | ( |
---|
328 | as_lineno_1=$LINENO |
---|
329 | as_lineno_2=$LINENO |
---|
330 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
---|
332 | |
---|
333 | _ASEOF |
---|
334 | }; then |
---|
335 | break |
---|
336 | fi |
---|
337 | |
---|
338 | fi |
---|
339 | |
---|
340 | done |
---|
341 | |
---|
342 | if test "x$CONFIG_SHELL" != x; then |
---|
343 | for as_var in BASH_ENV ENV |
---|
344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
345 | done |
---|
346 | export CONFIG_SHELL |
---|
347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
---|
348 | fi |
---|
349 | |
---|
350 | |
---|
351 | if test $as_have_required = no; then |
---|
352 | echo This script requires a shell more modern than all the |
---|
353 | echo shells that I found on your system. Please install a |
---|
354 | echo modern shell, or manually run the script under such a |
---|
355 | echo shell if you do have one. |
---|
356 | { (exit 1); exit 1; } |
---|
357 | fi |
---|
358 | |
---|
359 | |
---|
360 | fi |
---|
361 | |
---|
362 | fi |
---|
363 | |
---|
364 | |
---|
365 | |
---|
366 | (eval "as_func_return () { |
---|
367 | (exit \$1) |
---|
368 | } |
---|
369 | as_func_success () { |
---|
370 | as_func_return 0 |
---|
371 | } |
---|
372 | as_func_failure () { |
---|
373 | as_func_return 1 |
---|
374 | } |
---|
375 | as_func_ret_success () { |
---|
376 | return 0 |
---|
377 | } |
---|
378 | as_func_ret_failure () { |
---|
379 | return 1 |
---|
380 | } |
---|
381 | |
---|
382 | exitcode=0 |
---|
383 | if as_func_success; then |
---|
384 | : |
---|
385 | else |
---|
386 | exitcode=1 |
---|
387 | echo as_func_success failed. |
---|
388 | fi |
---|
389 | |
---|
390 | if as_func_failure; then |
---|
391 | exitcode=1 |
---|
392 | echo as_func_failure succeeded. |
---|
393 | fi |
---|
394 | |
---|
395 | if as_func_ret_success; then |
---|
396 | : |
---|
397 | else |
---|
398 | exitcode=1 |
---|
399 | echo as_func_ret_success failed. |
---|
400 | fi |
---|
401 | |
---|
402 | if as_func_ret_failure; then |
---|
403 | exitcode=1 |
---|
404 | echo as_func_ret_failure succeeded. |
---|
405 | fi |
---|
406 | |
---|
407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
---|
408 | : |
---|
409 | else |
---|
410 | exitcode=1 |
---|
411 | echo positional parameters were not saved. |
---|
412 | fi |
---|
413 | |
---|
414 | test \$exitcode = 0") || { |
---|
415 | echo No shell found that supports shell functions. |
---|
416 | echo Please tell autoconf@gnu.org about your system, |
---|
417 | echo including any error possibly output before this |
---|
418 | echo message |
---|
419 | } |
---|
420 | |
---|
421 | |
---|
422 | |
---|
423 | as_lineno_1=$LINENO |
---|
424 | as_lineno_2=$LINENO |
---|
425 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
427 | |
---|
428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
429 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
430 | # line-number line after each line using $LINENO; the second 'sed' |
---|
431 | # does the real work. The second script uses 'N' to pair each |
---|
432 | # line-number line with the line containing $LINENO, and appends |
---|
433 | # trailing '-' during substitution so that $LINENO is not a special |
---|
434 | # case at line end. |
---|
435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
436 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
437 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
438 | sed -n ' |
---|
439 | p |
---|
440 | /[$]LINENO/= |
---|
441 | ' <$as_myself | |
---|
442 | sed ' |
---|
443 | s/[$]LINENO.*/&-/ |
---|
444 | t lineno |
---|
445 | b |
---|
446 | :lineno |
---|
447 | N |
---|
448 | :loop |
---|
449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
450 | t loop |
---|
451 | s/-\n.*// |
---|
452 | ' >$as_me.lineno && |
---|
453 | chmod +x "$as_me.lineno" || |
---|
454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
455 | { (exit 1); exit 1; }; } |
---|
456 | |
---|
457 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
458 | # (the dirname of $[0] is not the place where we might find the |
---|
459 | # original and so on. Autoconf is especially sensitive to this). |
---|
460 | . "./$as_me.lineno" |
---|
461 | # Exit status is that of the last command. |
---|
462 | exit |
---|
463 | } |
---|
464 | |
---|
465 | |
---|
466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
467 | as_dirname=dirname |
---|
468 | else |
---|
469 | as_dirname=false |
---|
470 | fi |
---|
471 | |
---|
472 | ECHO_C= ECHO_N= ECHO_T= |
---|
473 | case `echo -n x` in |
---|
474 | -n*) |
---|
475 | case `echo 'x\c'` in |
---|
476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
477 | *) ECHO_C='\c';; |
---|
478 | esac;; |
---|
479 | *) |
---|
480 | ECHO_N='-n';; |
---|
481 | esac |
---|
482 | |
---|
483 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
485 | as_expr=expr |
---|
486 | else |
---|
487 | as_expr=false |
---|
488 | fi |
---|
489 | |
---|
490 | rm -f conf$$ conf$$.exe conf$$.file |
---|
491 | if test -d conf$$.dir; then |
---|
492 | rm -f conf$$.dir/conf$$.file |
---|
493 | else |
---|
494 | rm -f conf$$.dir |
---|
495 | mkdir conf$$.dir |
---|
496 | fi |
---|
497 | echo >conf$$.file |
---|
498 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
499 | as_ln_s='ln -s' |
---|
500 | # ... but there are two gotchas: |
---|
501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
503 | # In both cases, we have to default to `cp -p'. |
---|
504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
505 | as_ln_s='cp -p' |
---|
506 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
507 | as_ln_s=ln |
---|
508 | else |
---|
509 | as_ln_s='cp -p' |
---|
510 | fi |
---|
511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
512 | rmdir conf$$.dir 2>/dev/null |
---|
513 | |
---|
514 | if mkdir -p . 2>/dev/null; then |
---|
515 | as_mkdir_p=: |
---|
516 | else |
---|
517 | test -d ./-p && rmdir ./-p |
---|
518 | as_mkdir_p=false |
---|
519 | fi |
---|
520 | |
---|
521 | if test -x / >/dev/null 2>&1; then |
---|
522 | as_test_x='test -x' |
---|
523 | else |
---|
524 | if ls -dL / >/dev/null 2>&1; then |
---|
525 | as_ls_L_option=L |
---|
526 | else |
---|
527 | as_ls_L_option= |
---|
528 | fi |
---|
529 | as_test_x=' |
---|
530 | eval sh -c '\'' |
---|
531 | if test -d "$1"; then |
---|
532 | test -d "$1/."; |
---|
533 | else |
---|
534 | case $1 in |
---|
535 | -*)set "./$1";; |
---|
536 | esac; |
---|
537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
538 | ???[sx]*):;;*)false;;esac;fi |
---|
539 | '\'' sh |
---|
540 | ' |
---|
541 | fi |
---|
542 | as_executable_p=$as_test_x |
---|
543 | |
---|
544 | # Sed expression to map a string onto a valid CPP name. |
---|
545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
546 | |
---|
547 | # Sed expression to map a string onto a valid variable name. |
---|
548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
549 | |
---|
550 | |
---|
551 | |
---|
552 | exec 7<&0 </dev/null 6>&1 |
---|
553 | |
---|
554 | # Name of the host. |
---|
555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
---|
556 | # so uname gets run too. |
---|
557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
558 | |
---|
559 | # |
---|
560 | # Initializations. |
---|
561 | # |
---|
562 | ac_default_prefix=/usr/local |
---|
563 | ac_clean_files= |
---|
564 | ac_config_libobj_dir=. |
---|
565 | LIBOBJS= |
---|
566 | cross_compiling=no |
---|
567 | subdirs= |
---|
568 | MFLAGS= |
---|
569 | MAKEFLAGS= |
---|
570 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
571 | |
---|
572 | # Identity of this package. |
---|
573 | PACKAGE_NAME= |
---|
574 | PACKAGE_TARNAME= |
---|
575 | PACKAGE_VERSION= |
---|
576 | PACKAGE_STRING= |
---|
577 | PACKAGE_BUGREPORT= |
---|
578 | |
---|
579 | ac_unique_file="owl.c" |
---|
580 | # Factoring default headers for most tests. |
---|
581 | ac_includes_default="\ |
---|
582 | #include <stdio.h> |
---|
583 | #ifdef HAVE_SYS_TYPES_H |
---|
584 | # include <sys/types.h> |
---|
585 | #endif |
---|
586 | #ifdef HAVE_SYS_STAT_H |
---|
587 | # include <sys/stat.h> |
---|
588 | #endif |
---|
589 | #ifdef STDC_HEADERS |
---|
590 | # include <stdlib.h> |
---|
591 | # include <stddef.h> |
---|
592 | #else |
---|
593 | # ifdef HAVE_STDLIB_H |
---|
594 | # include <stdlib.h> |
---|
595 | # endif |
---|
596 | #endif |
---|
597 | #ifdef HAVE_STRING_H |
---|
598 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
599 | # include <memory.h> |
---|
600 | # endif |
---|
601 | # include <string.h> |
---|
602 | #endif |
---|
603 | #ifdef HAVE_STRINGS_H |
---|
604 | # include <strings.h> |
---|
605 | #endif |
---|
606 | #ifdef HAVE_INTTYPES_H |
---|
607 | # include <inttypes.h> |
---|
608 | #endif |
---|
609 | #ifdef HAVE_STDINT_H |
---|
610 | # include <stdint.h> |
---|
611 | #endif |
---|
612 | #ifdef HAVE_UNISTD_H |
---|
613 | # include <unistd.h> |
---|
614 | #endif" |
---|
615 | |
---|
616 | ac_subst_vars='SHELL |
---|
617 | PATH_SEPARATOR |
---|
618 | PACKAGE_NAME |
---|
619 | PACKAGE_TARNAME |
---|
620 | PACKAGE_VERSION |
---|
621 | PACKAGE_STRING |
---|
622 | PACKAGE_BUGREPORT |
---|
623 | exec_prefix |
---|
624 | prefix |
---|
625 | program_transform_name |
---|
626 | bindir |
---|
627 | sbindir |
---|
628 | libexecdir |
---|
629 | datarootdir |
---|
630 | datadir |
---|
631 | sysconfdir |
---|
632 | sharedstatedir |
---|
633 | localstatedir |
---|
634 | includedir |
---|
635 | oldincludedir |
---|
636 | docdir |
---|
637 | infodir |
---|
638 | htmldir |
---|
639 | dvidir |
---|
640 | pdfdir |
---|
641 | psdir |
---|
642 | libdir |
---|
643 | localedir |
---|
644 | mandir |
---|
645 | DEFS |
---|
646 | ECHO_C |
---|
647 | ECHO_N |
---|
648 | ECHO_T |
---|
649 | LIBS |
---|
650 | build_alias |
---|
651 | host_alias |
---|
652 | target_alias |
---|
653 | CC |
---|
654 | CFLAGS |
---|
655 | LDFLAGS |
---|
656 | CPPFLAGS |
---|
657 | ac_ct_CC |
---|
658 | EXEEXT |
---|
659 | OBJEXT |
---|
660 | CPP |
---|
661 | GREP |
---|
662 | EGREP |
---|
663 | PKG_CONFIG |
---|
664 | GLIB_CFLAGS |
---|
665 | GLIB_LIBS |
---|
666 | XSUBPPDIR |
---|
667 | INSTALL_PROGRAM |
---|
668 | INSTALL_SCRIPT |
---|
669 | INSTALL_DATA |
---|
670 | subdirs |
---|
671 | LIBOBJS |
---|
672 | LTLIBOBJS' |
---|
673 | ac_subst_files='' |
---|
674 | ac_precious_vars='build_alias |
---|
675 | host_alias |
---|
676 | target_alias |
---|
677 | CC |
---|
678 | CFLAGS |
---|
679 | LDFLAGS |
---|
680 | LIBS |
---|
681 | CPPFLAGS |
---|
682 | CPP |
---|
683 | PKG_CONFIG |
---|
684 | GLIB_CFLAGS |
---|
685 | GLIB_LIBS' |
---|
686 | ac_subdirs_all='libfaim' |
---|
687 | |
---|
688 | # Initialize some variables set by options. |
---|
689 | ac_init_help= |
---|
690 | ac_init_version=false |
---|
691 | # The variables have the same names as the options, with |
---|
692 | # dashes changed to underlines. |
---|
693 | cache_file=/dev/null |
---|
694 | exec_prefix=NONE |
---|
695 | no_create= |
---|
696 | no_recursion= |
---|
697 | prefix=NONE |
---|
698 | program_prefix=NONE |
---|
699 | program_suffix=NONE |
---|
700 | program_transform_name=s,x,x, |
---|
701 | silent= |
---|
702 | site= |
---|
703 | srcdir= |
---|
704 | verbose= |
---|
705 | x_includes=NONE |
---|
706 | x_libraries=NONE |
---|
707 | |
---|
708 | # Installation directory options. |
---|
709 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
710 | # and all the variables that are supposed to be based on exec_prefix |
---|
711 | # by default will actually change. |
---|
712 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
713 | # (The list follows the same order as the GNU Coding Standards.) |
---|
714 | bindir='${exec_prefix}/bin' |
---|
715 | sbindir='${exec_prefix}/sbin' |
---|
716 | libexecdir='${exec_prefix}/libexec' |
---|
717 | datarootdir='${prefix}/share' |
---|
718 | datadir='${datarootdir}' |
---|
719 | sysconfdir='${prefix}/etc' |
---|
720 | sharedstatedir='${prefix}/com' |
---|
721 | localstatedir='${prefix}/var' |
---|
722 | includedir='${prefix}/include' |
---|
723 | oldincludedir='/usr/include' |
---|
724 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
725 | infodir='${datarootdir}/info' |
---|
726 | htmldir='${docdir}' |
---|
727 | dvidir='${docdir}' |
---|
728 | pdfdir='${docdir}' |
---|
729 | psdir='${docdir}' |
---|
730 | libdir='${exec_prefix}/lib' |
---|
731 | localedir='${datarootdir}/locale' |
---|
732 | mandir='${datarootdir}/man' |
---|
733 | |
---|
734 | ac_prev= |
---|
735 | ac_dashdash= |
---|
736 | for ac_option |
---|
737 | do |
---|
738 | # If the previous option needs an argument, assign it. |
---|
739 | if test -n "$ac_prev"; then |
---|
740 | eval $ac_prev=\$ac_option |
---|
741 | ac_prev= |
---|
742 | continue |
---|
743 | fi |
---|
744 | |
---|
745 | case $ac_option in |
---|
746 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
747 | *) ac_optarg=yes ;; |
---|
748 | esac |
---|
749 | |
---|
750 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
751 | |
---|
752 | case $ac_dashdash$ac_option in |
---|
753 | --) |
---|
754 | ac_dashdash=yes ;; |
---|
755 | |
---|
756 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
757 | ac_prev=bindir ;; |
---|
758 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
759 | bindir=$ac_optarg ;; |
---|
760 | |
---|
761 | -build | --build | --buil | --bui | --bu) |
---|
762 | ac_prev=build_alias ;; |
---|
763 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
764 | build_alias=$ac_optarg ;; |
---|
765 | |
---|
766 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
767 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
768 | ac_prev=cache_file ;; |
---|
769 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
770 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
771 | cache_file=$ac_optarg ;; |
---|
772 | |
---|
773 | --config-cache | -C) |
---|
774 | cache_file=config.cache ;; |
---|
775 | |
---|
776 | -datadir | --datadir | --datadi | --datad) |
---|
777 | ac_prev=datadir ;; |
---|
778 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
779 | datadir=$ac_optarg ;; |
---|
780 | |
---|
781 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
782 | | --dataroo | --dataro | --datar) |
---|
783 | ac_prev=datarootdir ;; |
---|
784 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
785 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
786 | datarootdir=$ac_optarg ;; |
---|
787 | |
---|
788 | -disable-* | --disable-*) |
---|
789 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
790 | # Reject names that are not valid shell variable names. |
---|
791 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
792 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
793 | { (exit 1); exit 1; }; } |
---|
794 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
795 | eval enable_$ac_feature=no ;; |
---|
796 | |
---|
797 | -docdir | --docdir | --docdi | --doc | --do) |
---|
798 | ac_prev=docdir ;; |
---|
799 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
800 | docdir=$ac_optarg ;; |
---|
801 | |
---|
802 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
803 | ac_prev=dvidir ;; |
---|
804 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
805 | dvidir=$ac_optarg ;; |
---|
806 | |
---|
807 | -enable-* | --enable-*) |
---|
808 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
809 | # Reject names that are not valid shell variable names. |
---|
810 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
811 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
---|
812 | { (exit 1); exit 1; }; } |
---|
813 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
---|
814 | eval enable_$ac_feature=\$ac_optarg ;; |
---|
815 | |
---|
816 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
817 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
818 | | --exec | --exe | --ex) |
---|
819 | ac_prev=exec_prefix ;; |
---|
820 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
821 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
822 | | --exec=* | --exe=* | --ex=*) |
---|
823 | exec_prefix=$ac_optarg ;; |
---|
824 | |
---|
825 | -gas | --gas | --ga | --g) |
---|
826 | # Obsolete; use --with-gas. |
---|
827 | with_gas=yes ;; |
---|
828 | |
---|
829 | -help | --help | --hel | --he | -h) |
---|
830 | ac_init_help=long ;; |
---|
831 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
832 | ac_init_help=recursive ;; |
---|
833 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
834 | ac_init_help=short ;; |
---|
835 | |
---|
836 | -host | --host | --hos | --ho) |
---|
837 | ac_prev=host_alias ;; |
---|
838 | -host=* | --host=* | --hos=* | --ho=*) |
---|
839 | host_alias=$ac_optarg ;; |
---|
840 | |
---|
841 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
842 | ac_prev=htmldir ;; |
---|
843 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
844 | | --ht=*) |
---|
845 | htmldir=$ac_optarg ;; |
---|
846 | |
---|
847 | -includedir | --includedir | --includedi | --included | --include \ |
---|
848 | | --includ | --inclu | --incl | --inc) |
---|
849 | ac_prev=includedir ;; |
---|
850 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
851 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
852 | includedir=$ac_optarg ;; |
---|
853 | |
---|
854 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
855 | ac_prev=infodir ;; |
---|
856 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
857 | infodir=$ac_optarg ;; |
---|
858 | |
---|
859 | -libdir | --libdir | --libdi | --libd) |
---|
860 | ac_prev=libdir ;; |
---|
861 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
862 | libdir=$ac_optarg ;; |
---|
863 | |
---|
864 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
865 | | --libexe | --libex | --libe) |
---|
866 | ac_prev=libexecdir ;; |
---|
867 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
868 | | --libexe=* | --libex=* | --libe=*) |
---|
869 | libexecdir=$ac_optarg ;; |
---|
870 | |
---|
871 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
872 | ac_prev=localedir ;; |
---|
873 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
874 | localedir=$ac_optarg ;; |
---|
875 | |
---|
876 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
877 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
878 | ac_prev=localstatedir ;; |
---|
879 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
880 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
881 | localstatedir=$ac_optarg ;; |
---|
882 | |
---|
883 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
884 | ac_prev=mandir ;; |
---|
885 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
886 | mandir=$ac_optarg ;; |
---|
887 | |
---|
888 | -nfp | --nfp | --nf) |
---|
889 | # Obsolete; use --without-fp. |
---|
890 | with_fp=no ;; |
---|
891 | |
---|
892 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
893 | | --no-cr | --no-c | -n) |
---|
894 | no_create=yes ;; |
---|
895 | |
---|
896 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
897 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
898 | no_recursion=yes ;; |
---|
899 | |
---|
900 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
901 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
902 | | --oldin | --oldi | --old | --ol | --o) |
---|
903 | ac_prev=oldincludedir ;; |
---|
904 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
905 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
906 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
907 | oldincludedir=$ac_optarg ;; |
---|
908 | |
---|
909 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
910 | ac_prev=prefix ;; |
---|
911 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
912 | prefix=$ac_optarg ;; |
---|
913 | |
---|
914 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
915 | | --program-pre | --program-pr | --program-p) |
---|
916 | ac_prev=program_prefix ;; |
---|
917 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
918 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
919 | program_prefix=$ac_optarg ;; |
---|
920 | |
---|
921 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
922 | | --program-suf | --program-su | --program-s) |
---|
923 | ac_prev=program_suffix ;; |
---|
924 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
925 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
926 | program_suffix=$ac_optarg ;; |
---|
927 | |
---|
928 | -program-transform-name | --program-transform-name \ |
---|
929 | | --program-transform-nam | --program-transform-na \ |
---|
930 | | --program-transform-n | --program-transform- \ |
---|
931 | | --program-transform | --program-transfor \ |
---|
932 | | --program-transfo | --program-transf \ |
---|
933 | | --program-trans | --program-tran \ |
---|
934 | | --progr-tra | --program-tr | --program-t) |
---|
935 | ac_prev=program_transform_name ;; |
---|
936 | -program-transform-name=* | --program-transform-name=* \ |
---|
937 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
938 | | --program-transform-n=* | --program-transform-=* \ |
---|
939 | | --program-transform=* | --program-transfor=* \ |
---|
940 | | --program-transfo=* | --program-transf=* \ |
---|
941 | | --program-trans=* | --program-tran=* \ |
---|
942 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
943 | program_transform_name=$ac_optarg ;; |
---|
944 | |
---|
945 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
946 | ac_prev=pdfdir ;; |
---|
947 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
948 | pdfdir=$ac_optarg ;; |
---|
949 | |
---|
950 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
951 | ac_prev=psdir ;; |
---|
952 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
953 | psdir=$ac_optarg ;; |
---|
954 | |
---|
955 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
956 | | -silent | --silent | --silen | --sile | --sil) |
---|
957 | silent=yes ;; |
---|
958 | |
---|
959 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
960 | ac_prev=sbindir ;; |
---|
961 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
962 | | --sbi=* | --sb=*) |
---|
963 | sbindir=$ac_optarg ;; |
---|
964 | |
---|
965 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
966 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
967 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
968 | | --sha | --sh) |
---|
969 | ac_prev=sharedstatedir ;; |
---|
970 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
971 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
972 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
973 | | --sha=* | --sh=*) |
---|
974 | sharedstatedir=$ac_optarg ;; |
---|
975 | |
---|
976 | -site | --site | --sit) |
---|
977 | ac_prev=site ;; |
---|
978 | -site=* | --site=* | --sit=*) |
---|
979 | site=$ac_optarg ;; |
---|
980 | |
---|
981 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
982 | ac_prev=srcdir ;; |
---|
983 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
984 | srcdir=$ac_optarg ;; |
---|
985 | |
---|
986 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
987 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
988 | ac_prev=sysconfdir ;; |
---|
989 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
990 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
991 | sysconfdir=$ac_optarg ;; |
---|
992 | |
---|
993 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
994 | ac_prev=target_alias ;; |
---|
995 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
996 | target_alias=$ac_optarg ;; |
---|
997 | |
---|
998 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
999 | verbose=yes ;; |
---|
1000 | |
---|
1001 | -version | --version | --versio | --versi | --vers | -V) |
---|
1002 | ac_init_version=: ;; |
---|
1003 | |
---|
1004 | -with-* | --with-*) |
---|
1005 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
1006 | # Reject names that are not valid shell variable names. |
---|
1007 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1008 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
1009 | { (exit 1); exit 1; }; } |
---|
1010 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
1011 | eval with_$ac_package=\$ac_optarg ;; |
---|
1012 | |
---|
1013 | -without-* | --without-*) |
---|
1014 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
1015 | # Reject names that are not valid shell variable names. |
---|
1016 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1017 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
---|
1018 | { (exit 1); exit 1; }; } |
---|
1019 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
---|
1020 | eval with_$ac_package=no ;; |
---|
1021 | |
---|
1022 | --x) |
---|
1023 | # Obsolete; use --with-x. |
---|
1024 | with_x=yes ;; |
---|
1025 | |
---|
1026 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
1027 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
1028 | ac_prev=x_includes ;; |
---|
1029 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
1030 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
1031 | x_includes=$ac_optarg ;; |
---|
1032 | |
---|
1033 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
1034 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
1035 | ac_prev=x_libraries ;; |
---|
1036 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
1037 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
1038 | x_libraries=$ac_optarg ;; |
---|
1039 | |
---|
1040 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
---|
1041 | Try \`$0 --help' for more information." >&2 |
---|
1042 | { (exit 1); exit 1; }; } |
---|
1043 | ;; |
---|
1044 | |
---|
1045 | *=*) |
---|
1046 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
1047 | # Reject names that are not valid shell variable names. |
---|
1048 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
---|
1049 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
---|
1050 | { (exit 1); exit 1; }; } |
---|
1051 | eval $ac_envvar=\$ac_optarg |
---|
1052 | export $ac_envvar ;; |
---|
1053 | |
---|
1054 | *) |
---|
1055 | # FIXME: should be removed in autoconf 3.0. |
---|
1056 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
1057 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
1058 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
1059 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
---|
1060 | ;; |
---|
1061 | |
---|
1062 | esac |
---|
1063 | done |
---|
1064 | |
---|
1065 | if test -n "$ac_prev"; then |
---|
1066 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
1067 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
---|
1068 | { (exit 1); exit 1; }; } |
---|
1069 | fi |
---|
1070 | |
---|
1071 | # Be sure to have absolute directory names. |
---|
1072 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
1073 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
1074 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
1075 | libdir localedir mandir |
---|
1076 | do |
---|
1077 | eval ac_val=\$$ac_var |
---|
1078 | case $ac_val in |
---|
1079 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
1080 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
1081 | esac |
---|
1082 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
---|
1083 | { (exit 1); exit 1; }; } |
---|
1084 | done |
---|
1085 | |
---|
1086 | # There might be people who depend on the old broken behavior: `$host' |
---|
1087 | # used to hold the argument of --host etc. |
---|
1088 | # FIXME: To remove some day. |
---|
1089 | build=$build_alias |
---|
1090 | host=$host_alias |
---|
1091 | target=$target_alias |
---|
1092 | |
---|
1093 | # FIXME: To remove some day. |
---|
1094 | if test "x$host_alias" != x; then |
---|
1095 | if test "x$build_alias" = x; then |
---|
1096 | cross_compiling=maybe |
---|
1097 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
---|
1098 | If a cross compiler is detected then cross compile mode will be used." >&2 |
---|
1099 | elif test "x$build_alias" != "x$host_alias"; then |
---|
1100 | cross_compiling=yes |
---|
1101 | fi |
---|
1102 | fi |
---|
1103 | |
---|
1104 | ac_tool_prefix= |
---|
1105 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
1106 | |
---|
1107 | test "$silent" = yes && exec 6>/dev/null |
---|
1108 | |
---|
1109 | |
---|
1110 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
1111 | ac_ls_di=`ls -di .` && |
---|
1112 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
1113 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
---|
1114 | { (exit 1); exit 1; }; } |
---|
1115 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
1116 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
---|
1117 | { (exit 1); exit 1; }; } |
---|
1118 | |
---|
1119 | |
---|
1120 | # Find the source files, if location was not specified. |
---|
1121 | if test -z "$srcdir"; then |
---|
1122 | ac_srcdir_defaulted=yes |
---|
1123 | # Try the directory containing this script, then the parent directory. |
---|
1124 | ac_confdir=`$as_dirname -- "$0" || |
---|
1125 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
1126 | X"$0" : 'X\(//\)[^/]' \| \ |
---|
1127 | X"$0" : 'X\(//\)$' \| \ |
---|
1128 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
1129 | echo X"$0" | |
---|
1130 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
1131 | s//\1/ |
---|
1132 | q |
---|
1133 | } |
---|
1134 | /^X\(\/\/\)[^/].*/{ |
---|
1135 | s//\1/ |
---|
1136 | q |
---|
1137 | } |
---|
1138 | /^X\(\/\/\)$/{ |
---|
1139 | s//\1/ |
---|
1140 | q |
---|
1141 | } |
---|
1142 | /^X\(\/\).*/{ |
---|
1143 | s//\1/ |
---|
1144 | q |
---|
1145 | } |
---|
1146 | s/.*/./; q'` |
---|
1147 | srcdir=$ac_confdir |
---|
1148 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1149 | srcdir=.. |
---|
1150 | fi |
---|
1151 | else |
---|
1152 | ac_srcdir_defaulted=no |
---|
1153 | fi |
---|
1154 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
1155 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
1156 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
---|
1157 | { (exit 1); exit 1; }; } |
---|
1158 | fi |
---|
1159 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
1160 | ac_abs_confdir=`( |
---|
1161 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
---|
1162 | { (exit 1); exit 1; }; } |
---|
1163 | pwd)` |
---|
1164 | # When building in place, set srcdir=. |
---|
1165 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
1166 | srcdir=. |
---|
1167 | fi |
---|
1168 | # Remove unnecessary trailing slashes from srcdir. |
---|
1169 | # Double slashes in file names in object file debugging info |
---|
1170 | # mess up M-x gdb in Emacs. |
---|
1171 | case $srcdir in |
---|
1172 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
1173 | esac |
---|
1174 | for ac_var in $ac_precious_vars; do |
---|
1175 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
1176 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
1177 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
1178 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
1179 | done |
---|
1180 | |
---|
1181 | # |
---|
1182 | # Report the --help message. |
---|
1183 | # |
---|
1184 | if test "$ac_init_help" = "long"; then |
---|
1185 | # Omit some internal or obsolete options to make the list less imposing. |
---|
1186 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
1187 | cat <<_ACEOF |
---|
1188 | \`configure' configures this package to adapt to many kinds of systems. |
---|
1189 | |
---|
1190 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
1191 | |
---|
1192 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
1193 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
1194 | |
---|
1195 | Defaults for the options are specified in brackets. |
---|
1196 | |
---|
1197 | Configuration: |
---|
1198 | -h, --help display this help and exit |
---|
1199 | --help=short display options specific to this package |
---|
1200 | --help=recursive display the short help of all the included packages |
---|
1201 | -V, --version display version information and exit |
---|
1202 | -q, --quiet, --silent do not print \`checking...' messages |
---|
1203 | --cache-file=FILE cache test results in FILE [disabled] |
---|
1204 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
1205 | -n, --no-create do not create output files |
---|
1206 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
1207 | |
---|
1208 | Installation directories: |
---|
1209 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
1210 | [$ac_default_prefix] |
---|
1211 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
1212 | [PREFIX] |
---|
1213 | |
---|
1214 | By default, \`make install' will install all the files in |
---|
1215 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
1216 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
1217 | for instance \`--prefix=\$HOME'. |
---|
1218 | |
---|
1219 | For better control, use the options below. |
---|
1220 | |
---|
1221 | Fine tuning of the installation directories: |
---|
1222 | --bindir=DIR user executables [EPREFIX/bin] |
---|
1223 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
1224 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
1225 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
1226 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
1227 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
1228 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
1229 | --includedir=DIR C header files [PREFIX/include] |
---|
1230 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
1231 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
1232 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
1233 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
1234 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
1235 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
1236 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] |
---|
1237 | --htmldir=DIR html documentation [DOCDIR] |
---|
1238 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
1239 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
1240 | --psdir=DIR ps documentation [DOCDIR] |
---|
1241 | _ACEOF |
---|
1242 | |
---|
1243 | cat <<\_ACEOF |
---|
1244 | _ACEOF |
---|
1245 | fi |
---|
1246 | |
---|
1247 | if test -n "$ac_init_help"; then |
---|
1248 | |
---|
1249 | cat <<\_ACEOF |
---|
1250 | |
---|
1251 | Some influential environment variables: |
---|
1252 | CC C compiler command |
---|
1253 | CFLAGS C compiler flags |
---|
1254 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
1255 | nonstandard directory <lib dir> |
---|
1256 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
1257 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
---|
1258 | you have headers in a nonstandard directory <include dir> |
---|
1259 | CPP C preprocessor |
---|
1260 | PKG_CONFIG path to pkg-config utility |
---|
1261 | GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config |
---|
1262 | GLIB_LIBS linker flags for GLIB, overriding pkg-config |
---|
1263 | |
---|
1264 | Use these variables to override the choices made by `configure' or to help |
---|
1265 | it to find libraries and programs with nonstandard names/locations. |
---|
1266 | |
---|
1267 | _ACEOF |
---|
1268 | ac_status=$? |
---|
1269 | fi |
---|
1270 | |
---|
1271 | if test "$ac_init_help" = "recursive"; then |
---|
1272 | # If there are subdirs, report their specific --help. |
---|
1273 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
1274 | test -d "$ac_dir" || continue |
---|
1275 | ac_builddir=. |
---|
1276 | |
---|
1277 | case "$ac_dir" in |
---|
1278 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1279 | *) |
---|
1280 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
1281 | # A ".." for each directory in $ac_dir_suffix. |
---|
1282 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
1283 | case $ac_top_builddir_sub in |
---|
1284 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
1285 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
1286 | esac ;; |
---|
1287 | esac |
---|
1288 | ac_abs_top_builddir=$ac_pwd |
---|
1289 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
1290 | # for backward compatibility: |
---|
1291 | ac_top_builddir=$ac_top_build_prefix |
---|
1292 | |
---|
1293 | case $srcdir in |
---|
1294 | .) # We are building in place. |
---|
1295 | ac_srcdir=. |
---|
1296 | ac_top_srcdir=$ac_top_builddir_sub |
---|
1297 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
1298 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
1299 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
1300 | ac_top_srcdir=$srcdir |
---|
1301 | ac_abs_top_srcdir=$srcdir ;; |
---|
1302 | *) # Relative name. |
---|
1303 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
1304 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
1305 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
1306 | esac |
---|
1307 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
1308 | |
---|
1309 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
1310 | # Check for guested configure. |
---|
1311 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
1312 | echo && |
---|
1313 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
1314 | elif test -f "$ac_srcdir/configure"; then |
---|
1315 | echo && |
---|
1316 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
1317 | else |
---|
1318 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
1319 | fi || ac_status=$? |
---|
1320 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
1321 | done |
---|
1322 | fi |
---|
1323 | |
---|
1324 | test -n "$ac_init_help" && exit $ac_status |
---|
1325 | if $ac_init_version; then |
---|
1326 | cat <<\_ACEOF |
---|
1327 | configure |
---|
1328 | generated by GNU Autoconf 2.61 |
---|
1329 | |
---|
1330 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
---|
1331 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
---|
1332 | This configure script is free software; the Free Software Foundation |
---|
1333 | gives unlimited permission to copy, distribute and modify it. |
---|
1334 | _ACEOF |
---|
1335 | exit |
---|
1336 | fi |
---|
1337 | cat >config.log <<_ACEOF |
---|
1338 | This file contains any messages produced by compilers while |
---|
1339 | running configure, to aid debugging if configure makes a mistake. |
---|
1340 | |
---|
1341 | It was created by $as_me, which was |
---|
1342 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
1343 | |
---|
1344 | $ $0 $@ |
---|
1345 | |
---|
1346 | _ACEOF |
---|
1347 | exec 5>>config.log |
---|
1348 | { |
---|
1349 | cat <<_ASUNAME |
---|
1350 | ## --------- ## |
---|
1351 | ## Platform. ## |
---|
1352 | ## --------- ## |
---|
1353 | |
---|
1354 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
1355 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
1356 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
1357 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
1358 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
1359 | |
---|
1360 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
1361 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
1362 | |
---|
1363 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
1364 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
1365 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
1366 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
1367 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
1368 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
1369 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
1370 | |
---|
1371 | _ASUNAME |
---|
1372 | |
---|
1373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1374 | for as_dir in $PATH |
---|
1375 | do |
---|
1376 | IFS=$as_save_IFS |
---|
1377 | test -z "$as_dir" && as_dir=. |
---|
1378 | echo "PATH: $as_dir" |
---|
1379 | done |
---|
1380 | IFS=$as_save_IFS |
---|
1381 | |
---|
1382 | } >&5 |
---|
1383 | |
---|
1384 | cat >&5 <<_ACEOF |
---|
1385 | |
---|
1386 | |
---|
1387 | ## ----------- ## |
---|
1388 | ## Core tests. ## |
---|
1389 | ## ----------- ## |
---|
1390 | |
---|
1391 | _ACEOF |
---|
1392 | |
---|
1393 | |
---|
1394 | # Keep a trace of the command line. |
---|
1395 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
1396 | # Strip out --silent because we don't want to record it for future runs. |
---|
1397 | # Also quote any args containing shell meta-characters. |
---|
1398 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
1399 | ac_configure_args= |
---|
1400 | ac_configure_args0= |
---|
1401 | ac_configure_args1= |
---|
1402 | ac_must_keep_next=false |
---|
1403 | for ac_pass in 1 2 |
---|
1404 | do |
---|
1405 | for ac_arg |
---|
1406 | do |
---|
1407 | case $ac_arg in |
---|
1408 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
1409 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
1410 | | -silent | --silent | --silen | --sile | --sil) |
---|
1411 | continue ;; |
---|
1412 | *\'*) |
---|
1413 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1414 | esac |
---|
1415 | case $ac_pass in |
---|
1416 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
---|
1417 | 2) |
---|
1418 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
---|
1419 | if test $ac_must_keep_next = true; then |
---|
1420 | ac_must_keep_next=false # Got value, back to normal. |
---|
1421 | else |
---|
1422 | case $ac_arg in |
---|
1423 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
1424 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
1425 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
1426 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
1427 | case "$ac_configure_args0 " in |
---|
1428 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
1429 | esac |
---|
1430 | ;; |
---|
1431 | -* ) ac_must_keep_next=true ;; |
---|
1432 | esac |
---|
1433 | fi |
---|
1434 | ac_configure_args="$ac_configure_args '$ac_arg'" |
---|
1435 | ;; |
---|
1436 | esac |
---|
1437 | done |
---|
1438 | done |
---|
1439 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
---|
1440 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
---|
1441 | |
---|
1442 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
1443 | # config.log. We remove comments because anyway the quotes in there |
---|
1444 | # would cause problems or look ugly. |
---|
1445 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
1446 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
1447 | trap 'exit_status=$? |
---|
1448 | # Save into config.log some information that might help in debugging. |
---|
1449 | { |
---|
1450 | echo |
---|
1451 | |
---|
1452 | cat <<\_ASBOX |
---|
1453 | ## ---------------- ## |
---|
1454 | ## Cache variables. ## |
---|
1455 | ## ---------------- ## |
---|
1456 | _ASBOX |
---|
1457 | echo |
---|
1458 | # The following way of writing the cache mishandles newlines in values, |
---|
1459 | ( |
---|
1460 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
1461 | eval ac_val=\$$ac_var |
---|
1462 | case $ac_val in #( |
---|
1463 | *${as_nl}*) |
---|
1464 | case $ac_var in #( |
---|
1465 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
1466 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
1467 | esac |
---|
1468 | case $ac_var in #( |
---|
1469 | _ | IFS | as_nl) ;; #( |
---|
1470 | *) $as_unset $ac_var ;; |
---|
1471 | esac ;; |
---|
1472 | esac |
---|
1473 | done |
---|
1474 | (set) 2>&1 | |
---|
1475 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
1476 | *${as_nl}ac_space=\ *) |
---|
1477 | sed -n \ |
---|
1478 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
1479 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
1480 | ;; #( |
---|
1481 | *) |
---|
1482 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
1483 | ;; |
---|
1484 | esac | |
---|
1485 | sort |
---|
1486 | ) |
---|
1487 | echo |
---|
1488 | |
---|
1489 | cat <<\_ASBOX |
---|
1490 | ## ----------------- ## |
---|
1491 | ## Output variables. ## |
---|
1492 | ## ----------------- ## |
---|
1493 | _ASBOX |
---|
1494 | echo |
---|
1495 | for ac_var in $ac_subst_vars |
---|
1496 | do |
---|
1497 | eval ac_val=\$$ac_var |
---|
1498 | case $ac_val in |
---|
1499 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1500 | esac |
---|
1501 | echo "$ac_var='\''$ac_val'\''" |
---|
1502 | done | sort |
---|
1503 | echo |
---|
1504 | |
---|
1505 | if test -n "$ac_subst_files"; then |
---|
1506 | cat <<\_ASBOX |
---|
1507 | ## ------------------- ## |
---|
1508 | ## File substitutions. ## |
---|
1509 | ## ------------------- ## |
---|
1510 | _ASBOX |
---|
1511 | echo |
---|
1512 | for ac_var in $ac_subst_files |
---|
1513 | do |
---|
1514 | eval ac_val=\$$ac_var |
---|
1515 | case $ac_val in |
---|
1516 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
1517 | esac |
---|
1518 | echo "$ac_var='\''$ac_val'\''" |
---|
1519 | done | sort |
---|
1520 | echo |
---|
1521 | fi |
---|
1522 | |
---|
1523 | if test -s confdefs.h; then |
---|
1524 | cat <<\_ASBOX |
---|
1525 | ## ----------- ## |
---|
1526 | ## confdefs.h. ## |
---|
1527 | ## ----------- ## |
---|
1528 | _ASBOX |
---|
1529 | echo |
---|
1530 | cat confdefs.h |
---|
1531 | echo |
---|
1532 | fi |
---|
1533 | test "$ac_signal" != 0 && |
---|
1534 | echo "$as_me: caught signal $ac_signal" |
---|
1535 | echo "$as_me: exit $exit_status" |
---|
1536 | } >&5 |
---|
1537 | rm -f core *.core core.conftest.* && |
---|
1538 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
1539 | exit $exit_status |
---|
1540 | ' 0 |
---|
1541 | for ac_signal in 1 2 13 15; do |
---|
1542 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
---|
1543 | done |
---|
1544 | ac_signal=0 |
---|
1545 | |
---|
1546 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
1547 | rm -f -r conftest* confdefs.h |
---|
1548 | |
---|
1549 | # Predefined preprocessor variables. |
---|
1550 | |
---|
1551 | cat >>confdefs.h <<_ACEOF |
---|
1552 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
1553 | _ACEOF |
---|
1554 | |
---|
1555 | |
---|
1556 | cat >>confdefs.h <<_ACEOF |
---|
1557 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
1558 | _ACEOF |
---|
1559 | |
---|
1560 | |
---|
1561 | cat >>confdefs.h <<_ACEOF |
---|
1562 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
1563 | _ACEOF |
---|
1564 | |
---|
1565 | |
---|
1566 | cat >>confdefs.h <<_ACEOF |
---|
1567 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
1568 | _ACEOF |
---|
1569 | |
---|
1570 | |
---|
1571 | cat >>confdefs.h <<_ACEOF |
---|
1572 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
1573 | _ACEOF |
---|
1574 | |
---|
1575 | |
---|
1576 | # Let the site file select an alternate cache file if it wants to. |
---|
1577 | # Prefer explicitly selected file to automatically selected ones. |
---|
1578 | if test -n "$CONFIG_SITE"; then |
---|
1579 | set x "$CONFIG_SITE" |
---|
1580 | elif test "x$prefix" != xNONE; then |
---|
1581 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
---|
1582 | else |
---|
1583 | set x "$ac_default_prefix/share/config.site" \ |
---|
1584 | "$ac_default_prefix/etc/config.site" |
---|
1585 | fi |
---|
1586 | shift |
---|
1587 | for ac_site_file |
---|
1588 | do |
---|
1589 | if test -r "$ac_site_file"; then |
---|
1590 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
---|
1591 | echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
1592 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
1593 | . "$ac_site_file" |
---|
1594 | fi |
---|
1595 | done |
---|
1596 | |
---|
1597 | if test -r "$cache_file"; then |
---|
1598 | # Some versions of bash will fail to source /dev/null (special |
---|
1599 | # files actually), so we avoid doing that. |
---|
1600 | if test -f "$cache_file"; then |
---|
1601 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
---|
1602 | echo "$as_me: loading cache $cache_file" >&6;} |
---|
1603 | case $cache_file in |
---|
1604 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
1605 | *) . "./$cache_file";; |
---|
1606 | esac |
---|
1607 | fi |
---|
1608 | else |
---|
1609 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
---|
1610 | echo "$as_me: creating cache $cache_file" >&6;} |
---|
1611 | >$cache_file |
---|
1612 | fi |
---|
1613 | |
---|
1614 | # Check that the precious variables saved in the cache have kept the same |
---|
1615 | # value. |
---|
1616 | ac_cache_corrupted=false |
---|
1617 | for ac_var in $ac_precious_vars; do |
---|
1618 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
1619 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
1620 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
1621 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
1622 | case $ac_old_set,$ac_new_set in |
---|
1623 | set,) |
---|
1624 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
1625 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
1626 | ac_cache_corrupted=: ;; |
---|
1627 | ,set) |
---|
1628 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
---|
1629 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
1630 | ac_cache_corrupted=: ;; |
---|
1631 | ,);; |
---|
1632 | *) |
---|
1633 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
1634 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
1635 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
1636 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
---|
1637 | echo "$as_me: former value: $ac_old_val" >&2;} |
---|
1638 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
---|
1639 | echo "$as_me: current value: $ac_new_val" >&2;} |
---|
1640 | ac_cache_corrupted=: |
---|
1641 | fi;; |
---|
1642 | esac |
---|
1643 | # Pass precious variables to config.status. |
---|
1644 | if test "$ac_new_set" = set; then |
---|
1645 | case $ac_new_val in |
---|
1646 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
1647 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
1648 | esac |
---|
1649 | case " $ac_configure_args " in |
---|
1650 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
1651 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
1652 | esac |
---|
1653 | fi |
---|
1654 | done |
---|
1655 | if $ac_cache_corrupted; then |
---|
1656 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
---|
1657 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
1658 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
---|
1659 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
---|
1660 | { (exit 1); exit 1; }; } |
---|
1661 | fi |
---|
1662 | |
---|
1663 | |
---|
1664 | |
---|
1665 | |
---|
1666 | |
---|
1667 | |
---|
1668 | |
---|
1669 | |
---|
1670 | |
---|
1671 | |
---|
1672 | |
---|
1673 | |
---|
1674 | |
---|
1675 | |
---|
1676 | |
---|
1677 | |
---|
1678 | |
---|
1679 | ac_ext=c |
---|
1680 | ac_cpp='$CPP $CPPFLAGS' |
---|
1681 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1682 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1683 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1684 | |
---|
1685 | |
---|
1686 | |
---|
1687 | ac_config_headers="$ac_config_headers config.h" |
---|
1688 | |
---|
1689 | |
---|
1690 | ac_ext=c |
---|
1691 | ac_cpp='$CPP $CPPFLAGS' |
---|
1692 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
1693 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
1694 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
1695 | if test -n "$ac_tool_prefix"; then |
---|
1696 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
1697 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
1698 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1699 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1700 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1701 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1702 | else |
---|
1703 | if test -n "$CC"; then |
---|
1704 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1705 | else |
---|
1706 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1707 | for as_dir in $PATH |
---|
1708 | do |
---|
1709 | IFS=$as_save_IFS |
---|
1710 | test -z "$as_dir" && as_dir=. |
---|
1711 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1712 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1713 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
1714 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1715 | break 2 |
---|
1716 | fi |
---|
1717 | done |
---|
1718 | done |
---|
1719 | IFS=$as_save_IFS |
---|
1720 | |
---|
1721 | fi |
---|
1722 | fi |
---|
1723 | CC=$ac_cv_prog_CC |
---|
1724 | if test -n "$CC"; then |
---|
1725 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1726 | echo "${ECHO_T}$CC" >&6; } |
---|
1727 | else |
---|
1728 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1729 | echo "${ECHO_T}no" >&6; } |
---|
1730 | fi |
---|
1731 | |
---|
1732 | |
---|
1733 | fi |
---|
1734 | if test -z "$ac_cv_prog_CC"; then |
---|
1735 | ac_ct_CC=$CC |
---|
1736 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
1737 | set dummy gcc; ac_word=$2 |
---|
1738 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1739 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1740 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1741 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1742 | else |
---|
1743 | if test -n "$ac_ct_CC"; then |
---|
1744 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1745 | else |
---|
1746 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1747 | for as_dir in $PATH |
---|
1748 | do |
---|
1749 | IFS=$as_save_IFS |
---|
1750 | test -z "$as_dir" && as_dir=. |
---|
1751 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1752 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1753 | ac_cv_prog_ac_ct_CC="gcc" |
---|
1754 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1755 | break 2 |
---|
1756 | fi |
---|
1757 | done |
---|
1758 | done |
---|
1759 | IFS=$as_save_IFS |
---|
1760 | |
---|
1761 | fi |
---|
1762 | fi |
---|
1763 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1764 | if test -n "$ac_ct_CC"; then |
---|
1765 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1766 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
1767 | else |
---|
1768 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1769 | echo "${ECHO_T}no" >&6; } |
---|
1770 | fi |
---|
1771 | |
---|
1772 | if test "x$ac_ct_CC" = x; then |
---|
1773 | CC="" |
---|
1774 | else |
---|
1775 | case $cross_compiling:$ac_tool_warned in |
---|
1776 | yes:) |
---|
1777 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
1778 | whose name does not start with the host triplet. If you think this |
---|
1779 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
1780 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
1781 | whose name does not start with the host triplet. If you think this |
---|
1782 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
1783 | ac_tool_warned=yes ;; |
---|
1784 | esac |
---|
1785 | CC=$ac_ct_CC |
---|
1786 | fi |
---|
1787 | else |
---|
1788 | CC="$ac_cv_prog_CC" |
---|
1789 | fi |
---|
1790 | |
---|
1791 | if test -z "$CC"; then |
---|
1792 | if test -n "$ac_tool_prefix"; then |
---|
1793 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
1794 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
1795 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1796 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1797 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1798 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1799 | else |
---|
1800 | if test -n "$CC"; then |
---|
1801 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1802 | else |
---|
1803 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1804 | for as_dir in $PATH |
---|
1805 | do |
---|
1806 | IFS=$as_save_IFS |
---|
1807 | test -z "$as_dir" && as_dir=. |
---|
1808 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1809 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1810 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
1811 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1812 | break 2 |
---|
1813 | fi |
---|
1814 | done |
---|
1815 | done |
---|
1816 | IFS=$as_save_IFS |
---|
1817 | |
---|
1818 | fi |
---|
1819 | fi |
---|
1820 | CC=$ac_cv_prog_CC |
---|
1821 | if test -n "$CC"; then |
---|
1822 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1823 | echo "${ECHO_T}$CC" >&6; } |
---|
1824 | else |
---|
1825 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1826 | echo "${ECHO_T}no" >&6; } |
---|
1827 | fi |
---|
1828 | |
---|
1829 | |
---|
1830 | fi |
---|
1831 | fi |
---|
1832 | if test -z "$CC"; then |
---|
1833 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1834 | set dummy cc; ac_word=$2 |
---|
1835 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1836 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1837 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1838 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1839 | else |
---|
1840 | if test -n "$CC"; then |
---|
1841 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1842 | else |
---|
1843 | ac_prog_rejected=no |
---|
1844 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1845 | for as_dir in $PATH |
---|
1846 | do |
---|
1847 | IFS=$as_save_IFS |
---|
1848 | test -z "$as_dir" && as_dir=. |
---|
1849 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1850 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1851 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
1852 | ac_prog_rejected=yes |
---|
1853 | continue |
---|
1854 | fi |
---|
1855 | ac_cv_prog_CC="cc" |
---|
1856 | 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 | if test $ac_prog_rejected = yes; then |
---|
1864 | # We found a bogon in the path, so make sure we never use it. |
---|
1865 | set dummy $ac_cv_prog_CC |
---|
1866 | shift |
---|
1867 | if test $# != 0; then |
---|
1868 | # We chose a different compiler from the bogus one. |
---|
1869 | # However, it has the same basename, so the bogon will be chosen |
---|
1870 | # first if we set CC to just the basename; use the full file name. |
---|
1871 | shift |
---|
1872 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
1873 | fi |
---|
1874 | fi |
---|
1875 | fi |
---|
1876 | fi |
---|
1877 | CC=$ac_cv_prog_CC |
---|
1878 | if test -n "$CC"; then |
---|
1879 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1880 | echo "${ECHO_T}$CC" >&6; } |
---|
1881 | else |
---|
1882 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1883 | echo "${ECHO_T}no" >&6; } |
---|
1884 | fi |
---|
1885 | |
---|
1886 | |
---|
1887 | fi |
---|
1888 | if test -z "$CC"; then |
---|
1889 | if test -n "$ac_tool_prefix"; then |
---|
1890 | for ac_prog in cl.exe |
---|
1891 | do |
---|
1892 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
1893 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
1894 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1895 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1896 | if test "${ac_cv_prog_CC+set}" = set; then |
---|
1897 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1898 | else |
---|
1899 | if test -n "$CC"; then |
---|
1900 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1901 | else |
---|
1902 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1903 | for as_dir in $PATH |
---|
1904 | do |
---|
1905 | IFS=$as_save_IFS |
---|
1906 | test -z "$as_dir" && as_dir=. |
---|
1907 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1908 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1909 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
1910 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
1911 | break 2 |
---|
1912 | fi |
---|
1913 | done |
---|
1914 | done |
---|
1915 | IFS=$as_save_IFS |
---|
1916 | |
---|
1917 | fi |
---|
1918 | fi |
---|
1919 | CC=$ac_cv_prog_CC |
---|
1920 | if test -n "$CC"; then |
---|
1921 | { echo "$as_me:$LINENO: result: $CC" >&5 |
---|
1922 | echo "${ECHO_T}$CC" >&6; } |
---|
1923 | else |
---|
1924 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1925 | echo "${ECHO_T}no" >&6; } |
---|
1926 | fi |
---|
1927 | |
---|
1928 | |
---|
1929 | test -n "$CC" && break |
---|
1930 | done |
---|
1931 | fi |
---|
1932 | if test -z "$CC"; then |
---|
1933 | ac_ct_CC=$CC |
---|
1934 | for ac_prog in cl.exe |
---|
1935 | do |
---|
1936 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1937 | set dummy $ac_prog; ac_word=$2 |
---|
1938 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
1939 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
1940 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
---|
1941 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
1942 | else |
---|
1943 | if test -n "$ac_ct_CC"; then |
---|
1944 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
1945 | else |
---|
1946 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
1947 | for as_dir in $PATH |
---|
1948 | do |
---|
1949 | IFS=$as_save_IFS |
---|
1950 | test -z "$as_dir" && as_dir=. |
---|
1951 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
1952 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
1953 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
1954 | 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 | fi |
---|
1962 | fi |
---|
1963 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
1964 | if test -n "$ac_ct_CC"; then |
---|
1965 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
---|
1966 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
---|
1967 | else |
---|
1968 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
1969 | echo "${ECHO_T}no" >&6; } |
---|
1970 | fi |
---|
1971 | |
---|
1972 | |
---|
1973 | test -n "$ac_ct_CC" && break |
---|
1974 | done |
---|
1975 | |
---|
1976 | if test "x$ac_ct_CC" = x; then |
---|
1977 | CC="" |
---|
1978 | else |
---|
1979 | case $cross_compiling:$ac_tool_warned in |
---|
1980 | yes:) |
---|
1981 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
1982 | whose name does not start with the host triplet. If you think this |
---|
1983 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
1984 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
1985 | whose name does not start with the host triplet. If you think this |
---|
1986 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
1987 | ac_tool_warned=yes ;; |
---|
1988 | esac |
---|
1989 | CC=$ac_ct_CC |
---|
1990 | fi |
---|
1991 | fi |
---|
1992 | |
---|
1993 | fi |
---|
1994 | |
---|
1995 | |
---|
1996 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
---|
1997 | See \`config.log' for more details." >&5 |
---|
1998 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
---|
1999 | See \`config.log' for more details." >&2;} |
---|
2000 | { (exit 1); exit 1; }; } |
---|
2001 | |
---|
2002 | # Provide some information about the compiler. |
---|
2003 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
---|
2004 | ac_compiler=`set X $ac_compile; echo $2` |
---|
2005 | { (ac_try="$ac_compiler --version >&5" |
---|
2006 | case "(($ac_try" in |
---|
2007 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2008 | *) ac_try_echo=$ac_try;; |
---|
2009 | esac |
---|
2010 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2011 | (eval "$ac_compiler --version >&5") 2>&5 |
---|
2012 | ac_status=$? |
---|
2013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2014 | (exit $ac_status); } |
---|
2015 | { (ac_try="$ac_compiler -v >&5" |
---|
2016 | case "(($ac_try" in |
---|
2017 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2018 | *) ac_try_echo=$ac_try;; |
---|
2019 | esac |
---|
2020 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2021 | (eval "$ac_compiler -v >&5") 2>&5 |
---|
2022 | ac_status=$? |
---|
2023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2024 | (exit $ac_status); } |
---|
2025 | { (ac_try="$ac_compiler -V >&5" |
---|
2026 | case "(($ac_try" in |
---|
2027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2028 | *) ac_try_echo=$ac_try;; |
---|
2029 | esac |
---|
2030 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2031 | (eval "$ac_compiler -V >&5") 2>&5 |
---|
2032 | ac_status=$? |
---|
2033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2034 | (exit $ac_status); } |
---|
2035 | |
---|
2036 | cat >conftest.$ac_ext <<_ACEOF |
---|
2037 | /* confdefs.h. */ |
---|
2038 | _ACEOF |
---|
2039 | cat confdefs.h >>conftest.$ac_ext |
---|
2040 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2041 | /* end confdefs.h. */ |
---|
2042 | |
---|
2043 | int |
---|
2044 | main () |
---|
2045 | { |
---|
2046 | |
---|
2047 | ; |
---|
2048 | return 0; |
---|
2049 | } |
---|
2050 | _ACEOF |
---|
2051 | ac_clean_files_save=$ac_clean_files |
---|
2052 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
---|
2053 | # Try to create an executable without -o first, disregard a.out. |
---|
2054 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
2055 | # of exeext. |
---|
2056 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
---|
2057 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
---|
2058 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
2059 | # |
---|
2060 | # List of possible output files, starting from the most likely. |
---|
2061 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
---|
2062 | # only as a last resort. b.out is created by i960 compilers. |
---|
2063 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
---|
2064 | # |
---|
2065 | # The IRIX 6 linker writes into existing files which may not be |
---|
2066 | # executable, retaining their permissions. Remove them first so a |
---|
2067 | # subsequent execution test works. |
---|
2068 | ac_rmfiles= |
---|
2069 | for ac_file in $ac_files |
---|
2070 | do |
---|
2071 | case $ac_file in |
---|
2072 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
2073 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
2074 | esac |
---|
2075 | done |
---|
2076 | rm -f $ac_rmfiles |
---|
2077 | |
---|
2078 | if { (ac_try="$ac_link_default" |
---|
2079 | case "(($ac_try" in |
---|
2080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2081 | *) ac_try_echo=$ac_try;; |
---|
2082 | esac |
---|
2083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2084 | (eval "$ac_link_default") 2>&5 |
---|
2085 | ac_status=$? |
---|
2086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2087 | (exit $ac_status); }; then |
---|
2088 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
2089 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
2090 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
2091 | # so that the user can short-circuit this test for compilers unknown to |
---|
2092 | # Autoconf. |
---|
2093 | for ac_file in $ac_files '' |
---|
2094 | do |
---|
2095 | test -f "$ac_file" || continue |
---|
2096 | case $ac_file in |
---|
2097 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
---|
2098 | ;; |
---|
2099 | [ab].out ) |
---|
2100 | # We found the default executable, but exeext='' is most |
---|
2101 | # certainly right. |
---|
2102 | break;; |
---|
2103 | *.* ) |
---|
2104 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
2105 | then :; else |
---|
2106 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2107 | fi |
---|
2108 | # We set ac_cv_exeext here because the later test for it is not |
---|
2109 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
2110 | # argument, so we may need to know it at that point already. |
---|
2111 | # Even if this section looks crufty: it has the advantage of |
---|
2112 | # actually working. |
---|
2113 | break;; |
---|
2114 | * ) |
---|
2115 | break;; |
---|
2116 | esac |
---|
2117 | done |
---|
2118 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
2119 | |
---|
2120 | else |
---|
2121 | ac_file='' |
---|
2122 | fi |
---|
2123 | |
---|
2124 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
---|
2125 | echo "${ECHO_T}$ac_file" >&6; } |
---|
2126 | if test -z "$ac_file"; then |
---|
2127 | echo "$as_me: failed program was:" >&5 |
---|
2128 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2129 | |
---|
2130 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
---|
2131 | See \`config.log' for more details." >&5 |
---|
2132 | echo "$as_me: error: C compiler cannot create executables |
---|
2133 | See \`config.log' for more details." >&2;} |
---|
2134 | { (exit 77); exit 77; }; } |
---|
2135 | fi |
---|
2136 | |
---|
2137 | ac_exeext=$ac_cv_exeext |
---|
2138 | |
---|
2139 | # Check that the compiler produces executables we can run. If not, either |
---|
2140 | # the compiler is broken, or we cross compile. |
---|
2141 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
---|
2142 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
---|
2143 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
---|
2144 | # If not cross compiling, check that we can run a simple program. |
---|
2145 | if test "$cross_compiling" != yes; then |
---|
2146 | if { ac_try='./$ac_file' |
---|
2147 | { (case "(($ac_try" in |
---|
2148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2149 | *) ac_try_echo=$ac_try;; |
---|
2150 | esac |
---|
2151 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2152 | (eval "$ac_try") 2>&5 |
---|
2153 | ac_status=$? |
---|
2154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2155 | (exit $ac_status); }; }; then |
---|
2156 | cross_compiling=no |
---|
2157 | else |
---|
2158 | if test "$cross_compiling" = maybe; then |
---|
2159 | cross_compiling=yes |
---|
2160 | else |
---|
2161 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
---|
2162 | If you meant to cross compile, use \`--host'. |
---|
2163 | See \`config.log' for more details." >&5 |
---|
2164 | echo "$as_me: error: cannot run C compiled programs. |
---|
2165 | If you meant to cross compile, use \`--host'. |
---|
2166 | See \`config.log' for more details." >&2;} |
---|
2167 | { (exit 1); exit 1; }; } |
---|
2168 | fi |
---|
2169 | fi |
---|
2170 | fi |
---|
2171 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
2172 | echo "${ECHO_T}yes" >&6; } |
---|
2173 | |
---|
2174 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
---|
2175 | ac_clean_files=$ac_clean_files_save |
---|
2176 | # Check that the compiler produces executables we can run. If not, either |
---|
2177 | # the compiler is broken, or we cross compile. |
---|
2178 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
---|
2179 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
---|
2180 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
---|
2181 | echo "${ECHO_T}$cross_compiling" >&6; } |
---|
2182 | |
---|
2183 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
---|
2184 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
---|
2185 | if { (ac_try="$ac_link" |
---|
2186 | case "(($ac_try" in |
---|
2187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2188 | *) ac_try_echo=$ac_try;; |
---|
2189 | esac |
---|
2190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2191 | (eval "$ac_link") 2>&5 |
---|
2192 | ac_status=$? |
---|
2193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2194 | (exit $ac_status); }; then |
---|
2195 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
2196 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
2197 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
2198 | # `rm'. |
---|
2199 | for ac_file in conftest.exe conftest conftest.*; do |
---|
2200 | test -f "$ac_file" || continue |
---|
2201 | case $ac_file in |
---|
2202 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
---|
2203 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
2204 | break;; |
---|
2205 | * ) break;; |
---|
2206 | esac |
---|
2207 | done |
---|
2208 | else |
---|
2209 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
---|
2210 | See \`config.log' for more details." >&5 |
---|
2211 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
---|
2212 | See \`config.log' for more details." >&2;} |
---|
2213 | { (exit 1); exit 1; }; } |
---|
2214 | fi |
---|
2215 | |
---|
2216 | rm -f conftest$ac_cv_exeext |
---|
2217 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
---|
2218 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
---|
2219 | |
---|
2220 | rm -f conftest.$ac_ext |
---|
2221 | EXEEXT=$ac_cv_exeext |
---|
2222 | ac_exeext=$EXEEXT |
---|
2223 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
---|
2224 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
---|
2225 | if test "${ac_cv_objext+set}" = set; then |
---|
2226 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2227 | else |
---|
2228 | cat >conftest.$ac_ext <<_ACEOF |
---|
2229 | /* confdefs.h. */ |
---|
2230 | _ACEOF |
---|
2231 | cat confdefs.h >>conftest.$ac_ext |
---|
2232 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2233 | /* end confdefs.h. */ |
---|
2234 | |
---|
2235 | int |
---|
2236 | main () |
---|
2237 | { |
---|
2238 | |
---|
2239 | ; |
---|
2240 | return 0; |
---|
2241 | } |
---|
2242 | _ACEOF |
---|
2243 | rm -f conftest.o conftest.obj |
---|
2244 | if { (ac_try="$ac_compile" |
---|
2245 | case "(($ac_try" in |
---|
2246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2247 | *) ac_try_echo=$ac_try;; |
---|
2248 | esac |
---|
2249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2250 | (eval "$ac_compile") 2>&5 |
---|
2251 | ac_status=$? |
---|
2252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2253 | (exit $ac_status); }; then |
---|
2254 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
2255 | test -f "$ac_file" || continue; |
---|
2256 | case $ac_file in |
---|
2257 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
---|
2258 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
2259 | break;; |
---|
2260 | esac |
---|
2261 | done |
---|
2262 | else |
---|
2263 | echo "$as_me: failed program was:" >&5 |
---|
2264 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2265 | |
---|
2266 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
---|
2267 | See \`config.log' for more details." >&5 |
---|
2268 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
---|
2269 | See \`config.log' for more details." >&2;} |
---|
2270 | { (exit 1); exit 1; }; } |
---|
2271 | fi |
---|
2272 | |
---|
2273 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
2274 | fi |
---|
2275 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
---|
2276 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
---|
2277 | OBJEXT=$ac_cv_objext |
---|
2278 | ac_objext=$OBJEXT |
---|
2279 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
---|
2280 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
---|
2281 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
---|
2282 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2283 | else |
---|
2284 | cat >conftest.$ac_ext <<_ACEOF |
---|
2285 | /* confdefs.h. */ |
---|
2286 | _ACEOF |
---|
2287 | cat confdefs.h >>conftest.$ac_ext |
---|
2288 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2289 | /* end confdefs.h. */ |
---|
2290 | |
---|
2291 | int |
---|
2292 | main () |
---|
2293 | { |
---|
2294 | #ifndef __GNUC__ |
---|
2295 | choke me |
---|
2296 | #endif |
---|
2297 | |
---|
2298 | ; |
---|
2299 | return 0; |
---|
2300 | } |
---|
2301 | _ACEOF |
---|
2302 | rm -f conftest.$ac_objext |
---|
2303 | if { (ac_try="$ac_compile" |
---|
2304 | case "(($ac_try" in |
---|
2305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2306 | *) ac_try_echo=$ac_try;; |
---|
2307 | esac |
---|
2308 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2309 | (eval "$ac_compile") 2>conftest.er1 |
---|
2310 | ac_status=$? |
---|
2311 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2312 | rm -f conftest.er1 |
---|
2313 | cat conftest.err >&5 |
---|
2314 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2315 | (exit $ac_status); } && { |
---|
2316 | test -z "$ac_c_werror_flag" || |
---|
2317 | test ! -s conftest.err |
---|
2318 | } && test -s conftest.$ac_objext; then |
---|
2319 | ac_compiler_gnu=yes |
---|
2320 | else |
---|
2321 | echo "$as_me: failed program was:" >&5 |
---|
2322 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2323 | |
---|
2324 | ac_compiler_gnu=no |
---|
2325 | fi |
---|
2326 | |
---|
2327 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2328 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
2329 | |
---|
2330 | fi |
---|
2331 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
---|
2332 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
---|
2333 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
---|
2334 | ac_test_CFLAGS=${CFLAGS+set} |
---|
2335 | ac_save_CFLAGS=$CFLAGS |
---|
2336 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
---|
2337 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
---|
2338 | if test "${ac_cv_prog_cc_g+set}" = set; then |
---|
2339 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2340 | else |
---|
2341 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
2342 | ac_c_werror_flag=yes |
---|
2343 | ac_cv_prog_cc_g=no |
---|
2344 | CFLAGS="-g" |
---|
2345 | cat >conftest.$ac_ext <<_ACEOF |
---|
2346 | /* confdefs.h. */ |
---|
2347 | _ACEOF |
---|
2348 | cat confdefs.h >>conftest.$ac_ext |
---|
2349 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2350 | /* end confdefs.h. */ |
---|
2351 | |
---|
2352 | int |
---|
2353 | main () |
---|
2354 | { |
---|
2355 | |
---|
2356 | ; |
---|
2357 | return 0; |
---|
2358 | } |
---|
2359 | _ACEOF |
---|
2360 | rm -f conftest.$ac_objext |
---|
2361 | if { (ac_try="$ac_compile" |
---|
2362 | case "(($ac_try" in |
---|
2363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2364 | *) ac_try_echo=$ac_try;; |
---|
2365 | esac |
---|
2366 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2367 | (eval "$ac_compile") 2>conftest.er1 |
---|
2368 | ac_status=$? |
---|
2369 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2370 | rm -f conftest.er1 |
---|
2371 | cat conftest.err >&5 |
---|
2372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2373 | (exit $ac_status); } && { |
---|
2374 | test -z "$ac_c_werror_flag" || |
---|
2375 | test ! -s conftest.err |
---|
2376 | } && test -s conftest.$ac_objext; then |
---|
2377 | ac_cv_prog_cc_g=yes |
---|
2378 | else |
---|
2379 | echo "$as_me: failed program was:" >&5 |
---|
2380 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2381 | |
---|
2382 | CFLAGS="" |
---|
2383 | cat >conftest.$ac_ext <<_ACEOF |
---|
2384 | /* confdefs.h. */ |
---|
2385 | _ACEOF |
---|
2386 | cat confdefs.h >>conftest.$ac_ext |
---|
2387 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2388 | /* end confdefs.h. */ |
---|
2389 | |
---|
2390 | int |
---|
2391 | main () |
---|
2392 | { |
---|
2393 | |
---|
2394 | ; |
---|
2395 | return 0; |
---|
2396 | } |
---|
2397 | _ACEOF |
---|
2398 | rm -f conftest.$ac_objext |
---|
2399 | if { (ac_try="$ac_compile" |
---|
2400 | case "(($ac_try" in |
---|
2401 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2402 | *) ac_try_echo=$ac_try;; |
---|
2403 | esac |
---|
2404 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2405 | (eval "$ac_compile") 2>conftest.er1 |
---|
2406 | ac_status=$? |
---|
2407 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2408 | rm -f conftest.er1 |
---|
2409 | cat conftest.err >&5 |
---|
2410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2411 | (exit $ac_status); } && { |
---|
2412 | test -z "$ac_c_werror_flag" || |
---|
2413 | test ! -s conftest.err |
---|
2414 | } && test -s conftest.$ac_objext; then |
---|
2415 | : |
---|
2416 | else |
---|
2417 | echo "$as_me: failed program was:" >&5 |
---|
2418 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2419 | |
---|
2420 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2421 | CFLAGS="-g" |
---|
2422 | cat >conftest.$ac_ext <<_ACEOF |
---|
2423 | /* confdefs.h. */ |
---|
2424 | _ACEOF |
---|
2425 | cat confdefs.h >>conftest.$ac_ext |
---|
2426 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2427 | /* end confdefs.h. */ |
---|
2428 | |
---|
2429 | int |
---|
2430 | main () |
---|
2431 | { |
---|
2432 | |
---|
2433 | ; |
---|
2434 | return 0; |
---|
2435 | } |
---|
2436 | _ACEOF |
---|
2437 | rm -f conftest.$ac_objext |
---|
2438 | if { (ac_try="$ac_compile" |
---|
2439 | case "(($ac_try" in |
---|
2440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2441 | *) ac_try_echo=$ac_try;; |
---|
2442 | esac |
---|
2443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2444 | (eval "$ac_compile") 2>conftest.er1 |
---|
2445 | ac_status=$? |
---|
2446 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2447 | rm -f conftest.er1 |
---|
2448 | cat conftest.err >&5 |
---|
2449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2450 | (exit $ac_status); } && { |
---|
2451 | test -z "$ac_c_werror_flag" || |
---|
2452 | test ! -s conftest.err |
---|
2453 | } && test -s conftest.$ac_objext; then |
---|
2454 | ac_cv_prog_cc_g=yes |
---|
2455 | else |
---|
2456 | echo "$as_me: failed program was:" >&5 |
---|
2457 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2458 | |
---|
2459 | |
---|
2460 | fi |
---|
2461 | |
---|
2462 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2463 | fi |
---|
2464 | |
---|
2465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2466 | fi |
---|
2467 | |
---|
2468 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2469 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
2470 | fi |
---|
2471 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
---|
2472 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
---|
2473 | if test "$ac_test_CFLAGS" = set; then |
---|
2474 | CFLAGS=$ac_save_CFLAGS |
---|
2475 | elif test $ac_cv_prog_cc_g = yes; then |
---|
2476 | if test "$GCC" = yes; then |
---|
2477 | CFLAGS="-g -O2" |
---|
2478 | else |
---|
2479 | CFLAGS="-g" |
---|
2480 | fi |
---|
2481 | else |
---|
2482 | if test "$GCC" = yes; then |
---|
2483 | CFLAGS="-O2" |
---|
2484 | else |
---|
2485 | CFLAGS= |
---|
2486 | fi |
---|
2487 | fi |
---|
2488 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
---|
2489 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
---|
2490 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
---|
2491 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2492 | else |
---|
2493 | ac_cv_prog_cc_c89=no |
---|
2494 | ac_save_CC=$CC |
---|
2495 | cat >conftest.$ac_ext <<_ACEOF |
---|
2496 | /* confdefs.h. */ |
---|
2497 | _ACEOF |
---|
2498 | cat confdefs.h >>conftest.$ac_ext |
---|
2499 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2500 | /* end confdefs.h. */ |
---|
2501 | #include <stdarg.h> |
---|
2502 | #include <stdio.h> |
---|
2503 | #include <sys/types.h> |
---|
2504 | #include <sys/stat.h> |
---|
2505 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
2506 | struct buf { int x; }; |
---|
2507 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
2508 | static char *e (p, i) |
---|
2509 | char **p; |
---|
2510 | int i; |
---|
2511 | { |
---|
2512 | return p[i]; |
---|
2513 | } |
---|
2514 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
2515 | { |
---|
2516 | char *s; |
---|
2517 | va_list v; |
---|
2518 | va_start (v,p); |
---|
2519 | s = g (p, va_arg (v,int)); |
---|
2520 | va_end (v); |
---|
2521 | return s; |
---|
2522 | } |
---|
2523 | |
---|
2524 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
2525 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
2526 | These don't provoke an error unfortunately, instead are silently treated |
---|
2527 | as 'x'. The following induces an error, until -std is added to get |
---|
2528 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
2529 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
2530 | that's true only with -std. */ |
---|
2531 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
2532 | |
---|
2533 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
2534 | inside strings and character constants. */ |
---|
2535 | #define FOO(x) 'x' |
---|
2536 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
2537 | |
---|
2538 | int test (int i, double x); |
---|
2539 | struct s1 {int (*f) (int a);}; |
---|
2540 | struct s2 {int (*f) (double a);}; |
---|
2541 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
2542 | int argc; |
---|
2543 | char **argv; |
---|
2544 | int |
---|
2545 | main () |
---|
2546 | { |
---|
2547 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
2548 | ; |
---|
2549 | return 0; |
---|
2550 | } |
---|
2551 | _ACEOF |
---|
2552 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
2553 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
2554 | do |
---|
2555 | CC="$ac_save_CC $ac_arg" |
---|
2556 | rm -f conftest.$ac_objext |
---|
2557 | if { (ac_try="$ac_compile" |
---|
2558 | case "(($ac_try" in |
---|
2559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2560 | *) ac_try_echo=$ac_try;; |
---|
2561 | esac |
---|
2562 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2563 | (eval "$ac_compile") 2>conftest.er1 |
---|
2564 | ac_status=$? |
---|
2565 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2566 | rm -f conftest.er1 |
---|
2567 | cat conftest.err >&5 |
---|
2568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2569 | (exit $ac_status); } && { |
---|
2570 | test -z "$ac_c_werror_flag" || |
---|
2571 | test ! -s conftest.err |
---|
2572 | } && test -s conftest.$ac_objext; then |
---|
2573 | ac_cv_prog_cc_c89=$ac_arg |
---|
2574 | else |
---|
2575 | echo "$as_me: failed program was:" >&5 |
---|
2576 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2577 | |
---|
2578 | |
---|
2579 | fi |
---|
2580 | |
---|
2581 | rm -f core conftest.err conftest.$ac_objext |
---|
2582 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
2583 | done |
---|
2584 | rm -f conftest.$ac_ext |
---|
2585 | CC=$ac_save_CC |
---|
2586 | |
---|
2587 | fi |
---|
2588 | # AC_CACHE_VAL |
---|
2589 | case "x$ac_cv_prog_cc_c89" in |
---|
2590 | x) |
---|
2591 | { echo "$as_me:$LINENO: result: none needed" >&5 |
---|
2592 | echo "${ECHO_T}none needed" >&6; } ;; |
---|
2593 | xno) |
---|
2594 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
---|
2595 | echo "${ECHO_T}unsupported" >&6; } ;; |
---|
2596 | *) |
---|
2597 | CC="$CC $ac_cv_prog_cc_c89" |
---|
2598 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
---|
2599 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
---|
2600 | esac |
---|
2601 | |
---|
2602 | |
---|
2603 | ac_ext=c |
---|
2604 | ac_cpp='$CPP $CPPFLAGS' |
---|
2605 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
2606 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
2607 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
2608 | |
---|
2609 | |
---|
2610 | if test "$GCC" = yes; then |
---|
2611 | CFLAGS="$CFLAGS -Wall -g -D_FORTIFY_SOURCE=2"; |
---|
2612 | fi |
---|
2613 | |
---|
2614 | { echo "$as_me:$LINENO: checking for /usr/athena/include" >&5 |
---|
2615 | echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; } |
---|
2616 | if test -d /usr/athena/include; then |
---|
2617 | CFLAGS=${CFLAGS}\ -I/usr/athena/include |
---|
2618 | CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include |
---|
2619 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
2620 | echo "${ECHO_T}yes" >&6; } |
---|
2621 | else |
---|
2622 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
2623 | echo "${ECHO_T}no" >&6; } |
---|
2624 | fi |
---|
2625 | { echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5 |
---|
2626 | echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; } |
---|
2627 | if test -d /usr/athena/lib; then |
---|
2628 | LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS} |
---|
2629 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
2630 | echo "${ECHO_T}yes" >&6; } |
---|
2631 | else |
---|
2632 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
2633 | echo "${ECHO_T}no" >&6; } |
---|
2634 | fi |
---|
2635 | |
---|
2636 | { echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5 |
---|
2637 | echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; } |
---|
2638 | if test -d /usr/include/kerberosIV; then |
---|
2639 | CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV |
---|
2640 | CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV |
---|
2641 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
2642 | echo "${ECHO_T}yes" >&6; } |
---|
2643 | else |
---|
2644 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
2645 | echo "${ECHO_T}no" >&6; } |
---|
2646 | fi |
---|
2647 | |
---|
2648 | PROTECT_CFLAGS=${PROTECT_CFLAGS-"-fstack-protector"} |
---|
2649 | SAVE_CFLAGS=$CFLAGS |
---|
2650 | CFLAGS="$CFLAGS $PROTECT_CFLAGS" |
---|
2651 | { echo "$as_me:$LINENO: checking whether protection cflags work" >&5 |
---|
2652 | echo $ECHO_N "checking whether protection cflags work... $ECHO_C" >&6; } |
---|
2653 | |
---|
2654 | cat >conftest.$ac_ext <<_ACEOF |
---|
2655 | int i; |
---|
2656 | _ACEOF |
---|
2657 | rm -f conftest.$ac_objext |
---|
2658 | if { (ac_try="$ac_compile" |
---|
2659 | case "(($ac_try" in |
---|
2660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2661 | *) ac_try_echo=$ac_try;; |
---|
2662 | esac |
---|
2663 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2664 | (eval "$ac_compile") 2>conftest.er1 |
---|
2665 | ac_status=$? |
---|
2666 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2667 | rm -f conftest.er1 |
---|
2668 | cat conftest.err >&5 |
---|
2669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2670 | (exit $ac_status); } && { |
---|
2671 | test -z "$ac_c_werror_flag" || |
---|
2672 | test ! -s conftest.err |
---|
2673 | } && test -s conftest.$ac_objext; then |
---|
2674 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
2675 | echo "${ECHO_T}yes" >&6; } |
---|
2676 | else |
---|
2677 | echo "$as_me: failed program was:" >&5 |
---|
2678 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2679 | |
---|
2680 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
2681 | echo "${ECHO_T}no" >&6; } |
---|
2682 | CFLAGS=$SAVE_CFLAGS |
---|
2683 | fi |
---|
2684 | |
---|
2685 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
2686 | |
---|
2687 | |
---|
2688 | { echo "$as_me:$LINENO: checking for __stack_chk_guard in -lssp" >&5 |
---|
2689 | echo $ECHO_N "checking for __stack_chk_guard in -lssp... $ECHO_C" >&6; } |
---|
2690 | if test "${ac_cv_lib_ssp___stack_chk_guard+set}" = set; then |
---|
2691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2692 | else |
---|
2693 | ac_check_lib_save_LIBS=$LIBS |
---|
2694 | LIBS="-lssp $LIBS" |
---|
2695 | cat >conftest.$ac_ext <<_ACEOF |
---|
2696 | /* confdefs.h. */ |
---|
2697 | _ACEOF |
---|
2698 | cat confdefs.h >>conftest.$ac_ext |
---|
2699 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2700 | /* end confdefs.h. */ |
---|
2701 | |
---|
2702 | /* Override any GCC internal prototype to avoid an error. |
---|
2703 | Use char because int might match the return type of a GCC |
---|
2704 | builtin and then its argument prototype would still apply. */ |
---|
2705 | #ifdef __cplusplus |
---|
2706 | extern "C" |
---|
2707 | #endif |
---|
2708 | char __stack_chk_guard (); |
---|
2709 | int |
---|
2710 | main () |
---|
2711 | { |
---|
2712 | return __stack_chk_guard (); |
---|
2713 | ; |
---|
2714 | return 0; |
---|
2715 | } |
---|
2716 | _ACEOF |
---|
2717 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2718 | if { (ac_try="$ac_link" |
---|
2719 | case "(($ac_try" in |
---|
2720 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2721 | *) ac_try_echo=$ac_try;; |
---|
2722 | esac |
---|
2723 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2724 | (eval "$ac_link") 2>conftest.er1 |
---|
2725 | ac_status=$? |
---|
2726 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2727 | rm -f conftest.er1 |
---|
2728 | cat conftest.err >&5 |
---|
2729 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2730 | (exit $ac_status); } && { |
---|
2731 | test -z "$ac_c_werror_flag" || |
---|
2732 | test ! -s conftest.err |
---|
2733 | } && test -s conftest$ac_exeext && |
---|
2734 | $as_test_x conftest$ac_exeext; then |
---|
2735 | ac_cv_lib_ssp___stack_chk_guard=yes |
---|
2736 | else |
---|
2737 | echo "$as_me: failed program was:" >&5 |
---|
2738 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2739 | |
---|
2740 | ac_cv_lib_ssp___stack_chk_guard=no |
---|
2741 | fi |
---|
2742 | |
---|
2743 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2744 | conftest$ac_exeext conftest.$ac_ext |
---|
2745 | LIBS=$ac_check_lib_save_LIBS |
---|
2746 | fi |
---|
2747 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ssp___stack_chk_guard" >&5 |
---|
2748 | echo "${ECHO_T}$ac_cv_lib_ssp___stack_chk_guard" >&6; } |
---|
2749 | if test $ac_cv_lib_ssp___stack_chk_guard = yes; then |
---|
2750 | cat >>confdefs.h <<_ACEOF |
---|
2751 | #define HAVE_LIBSSP 1 |
---|
2752 | _ACEOF |
---|
2753 | |
---|
2754 | LIBS="-lssp $LIBS" |
---|
2755 | |
---|
2756 | fi |
---|
2757 | |
---|
2758 | |
---|
2759 | { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5 |
---|
2760 | echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; } |
---|
2761 | if test "${ac_cv_lib_ncurses_initscr+set}" = set; then |
---|
2762 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2763 | else |
---|
2764 | ac_check_lib_save_LIBS=$LIBS |
---|
2765 | LIBS="-lncurses $LIBS" |
---|
2766 | cat >conftest.$ac_ext <<_ACEOF |
---|
2767 | /* confdefs.h. */ |
---|
2768 | _ACEOF |
---|
2769 | cat confdefs.h >>conftest.$ac_ext |
---|
2770 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2771 | /* end confdefs.h. */ |
---|
2772 | |
---|
2773 | /* Override any GCC internal prototype to avoid an error. |
---|
2774 | Use char because int might match the return type of a GCC |
---|
2775 | builtin and then its argument prototype would still apply. */ |
---|
2776 | #ifdef __cplusplus |
---|
2777 | extern "C" |
---|
2778 | #endif |
---|
2779 | char initscr (); |
---|
2780 | int |
---|
2781 | main () |
---|
2782 | { |
---|
2783 | return initscr (); |
---|
2784 | ; |
---|
2785 | return 0; |
---|
2786 | } |
---|
2787 | _ACEOF |
---|
2788 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2789 | if { (ac_try="$ac_link" |
---|
2790 | case "(($ac_try" in |
---|
2791 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2792 | *) ac_try_echo=$ac_try;; |
---|
2793 | esac |
---|
2794 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2795 | (eval "$ac_link") 2>conftest.er1 |
---|
2796 | ac_status=$? |
---|
2797 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2798 | rm -f conftest.er1 |
---|
2799 | cat conftest.err >&5 |
---|
2800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2801 | (exit $ac_status); } && { |
---|
2802 | test -z "$ac_c_werror_flag" || |
---|
2803 | test ! -s conftest.err |
---|
2804 | } && test -s conftest$ac_exeext && |
---|
2805 | $as_test_x conftest$ac_exeext; then |
---|
2806 | ac_cv_lib_ncurses_initscr=yes |
---|
2807 | else |
---|
2808 | echo "$as_me: failed program was:" >&5 |
---|
2809 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2810 | |
---|
2811 | ac_cv_lib_ncurses_initscr=no |
---|
2812 | fi |
---|
2813 | |
---|
2814 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2815 | conftest$ac_exeext conftest.$ac_ext |
---|
2816 | LIBS=$ac_check_lib_save_LIBS |
---|
2817 | fi |
---|
2818 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5 |
---|
2819 | echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; } |
---|
2820 | if test $ac_cv_lib_ncurses_initscr = yes; then |
---|
2821 | cat >>confdefs.h <<_ACEOF |
---|
2822 | #define HAVE_LIBNCURSES 1 |
---|
2823 | _ACEOF |
---|
2824 | |
---|
2825 | LIBS="-lncurses $LIBS" |
---|
2826 | |
---|
2827 | else |
---|
2828 | |
---|
2829 | { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5 |
---|
2830 | echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; } |
---|
2831 | if test "${ac_cv_lib_curses_initscr+set}" = set; then |
---|
2832 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2833 | else |
---|
2834 | ac_check_lib_save_LIBS=$LIBS |
---|
2835 | LIBS="-lcurses $LIBS" |
---|
2836 | cat >conftest.$ac_ext <<_ACEOF |
---|
2837 | /* confdefs.h. */ |
---|
2838 | _ACEOF |
---|
2839 | cat confdefs.h >>conftest.$ac_ext |
---|
2840 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2841 | /* end confdefs.h. */ |
---|
2842 | |
---|
2843 | /* Override any GCC internal prototype to avoid an error. |
---|
2844 | Use char because int might match the return type of a GCC |
---|
2845 | builtin and then its argument prototype would still apply. */ |
---|
2846 | #ifdef __cplusplus |
---|
2847 | extern "C" |
---|
2848 | #endif |
---|
2849 | char initscr (); |
---|
2850 | int |
---|
2851 | main () |
---|
2852 | { |
---|
2853 | return initscr (); |
---|
2854 | ; |
---|
2855 | return 0; |
---|
2856 | } |
---|
2857 | _ACEOF |
---|
2858 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2859 | if { (ac_try="$ac_link" |
---|
2860 | case "(($ac_try" in |
---|
2861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2862 | *) ac_try_echo=$ac_try;; |
---|
2863 | esac |
---|
2864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2865 | (eval "$ac_link") 2>conftest.er1 |
---|
2866 | ac_status=$? |
---|
2867 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2868 | rm -f conftest.er1 |
---|
2869 | cat conftest.err >&5 |
---|
2870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2871 | (exit $ac_status); } && { |
---|
2872 | test -z "$ac_c_werror_flag" || |
---|
2873 | test ! -s conftest.err |
---|
2874 | } && test -s conftest$ac_exeext && |
---|
2875 | $as_test_x conftest$ac_exeext; then |
---|
2876 | ac_cv_lib_curses_initscr=yes |
---|
2877 | else |
---|
2878 | echo "$as_me: failed program was:" >&5 |
---|
2879 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2880 | |
---|
2881 | ac_cv_lib_curses_initscr=no |
---|
2882 | fi |
---|
2883 | |
---|
2884 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2885 | conftest$ac_exeext conftest.$ac_ext |
---|
2886 | LIBS=$ac_check_lib_save_LIBS |
---|
2887 | fi |
---|
2888 | { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5 |
---|
2889 | echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; } |
---|
2890 | if test $ac_cv_lib_curses_initscr = yes; then |
---|
2891 | cat >>confdefs.h <<_ACEOF |
---|
2892 | #define HAVE_LIBCURSES 1 |
---|
2893 | _ACEOF |
---|
2894 | |
---|
2895 | LIBS="-lcurses $LIBS" |
---|
2896 | |
---|
2897 | else |
---|
2898 | { { echo "$as_me:$LINENO: error: No curses library found." >&5 |
---|
2899 | echo "$as_me: error: No curses library found." >&2;} |
---|
2900 | { (exit 1); exit 1; }; } |
---|
2901 | fi |
---|
2902 | |
---|
2903 | fi |
---|
2904 | |
---|
2905 | |
---|
2906 | { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
---|
2907 | echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
---|
2908 | if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
---|
2909 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2910 | else |
---|
2911 | ac_check_lib_save_LIBS=$LIBS |
---|
2912 | LIBS="-lcom_err $LIBS" |
---|
2913 | cat >conftest.$ac_ext <<_ACEOF |
---|
2914 | /* confdefs.h. */ |
---|
2915 | _ACEOF |
---|
2916 | cat confdefs.h >>conftest.$ac_ext |
---|
2917 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2918 | /* end confdefs.h. */ |
---|
2919 | |
---|
2920 | /* Override any GCC internal prototype to avoid an error. |
---|
2921 | Use char because int might match the return type of a GCC |
---|
2922 | builtin and then its argument prototype would still apply. */ |
---|
2923 | #ifdef __cplusplus |
---|
2924 | extern "C" |
---|
2925 | #endif |
---|
2926 | char com_err (); |
---|
2927 | int |
---|
2928 | main () |
---|
2929 | { |
---|
2930 | return com_err (); |
---|
2931 | ; |
---|
2932 | return 0; |
---|
2933 | } |
---|
2934 | _ACEOF |
---|
2935 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
2936 | if { (ac_try="$ac_link" |
---|
2937 | case "(($ac_try" in |
---|
2938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
2939 | *) ac_try_echo=$ac_try;; |
---|
2940 | esac |
---|
2941 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
2942 | (eval "$ac_link") 2>conftest.er1 |
---|
2943 | ac_status=$? |
---|
2944 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
2945 | rm -f conftest.er1 |
---|
2946 | cat conftest.err >&5 |
---|
2947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
2948 | (exit $ac_status); } && { |
---|
2949 | test -z "$ac_c_werror_flag" || |
---|
2950 | test ! -s conftest.err |
---|
2951 | } && test -s conftest$ac_exeext && |
---|
2952 | $as_test_x conftest$ac_exeext; then |
---|
2953 | ac_cv_lib_com_err_com_err=yes |
---|
2954 | else |
---|
2955 | echo "$as_me: failed program was:" >&5 |
---|
2956 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
2957 | |
---|
2958 | ac_cv_lib_com_err_com_err=no |
---|
2959 | fi |
---|
2960 | |
---|
2961 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
2962 | conftest$ac_exeext conftest.$ac_ext |
---|
2963 | LIBS=$ac_check_lib_save_LIBS |
---|
2964 | fi |
---|
2965 | { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
---|
2966 | echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
---|
2967 | if test $ac_cv_lib_com_err_com_err = yes; then |
---|
2968 | cat >>confdefs.h <<_ACEOF |
---|
2969 | #define HAVE_LIBCOM_ERR 1 |
---|
2970 | _ACEOF |
---|
2971 | |
---|
2972 | LIBS="-lcom_err $LIBS" |
---|
2973 | |
---|
2974 | fi |
---|
2975 | |
---|
2976 | |
---|
2977 | { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
---|
2978 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } |
---|
2979 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
---|
2980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
2981 | else |
---|
2982 | ac_check_lib_save_LIBS=$LIBS |
---|
2983 | LIBS="-lnsl $LIBS" |
---|
2984 | cat >conftest.$ac_ext <<_ACEOF |
---|
2985 | /* confdefs.h. */ |
---|
2986 | _ACEOF |
---|
2987 | cat confdefs.h >>conftest.$ac_ext |
---|
2988 | cat >>conftest.$ac_ext <<_ACEOF |
---|
2989 | /* end confdefs.h. */ |
---|
2990 | |
---|
2991 | /* Override any GCC internal prototype to avoid an error. |
---|
2992 | Use char because int might match the return type of a GCC |
---|
2993 | builtin and then its argument prototype would still apply. */ |
---|
2994 | #ifdef __cplusplus |
---|
2995 | extern "C" |
---|
2996 | #endif |
---|
2997 | char gethostbyname (); |
---|
2998 | int |
---|
2999 | main () |
---|
3000 | { |
---|
3001 | return gethostbyname (); |
---|
3002 | ; |
---|
3003 | return 0; |
---|
3004 | } |
---|
3005 | _ACEOF |
---|
3006 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3007 | if { (ac_try="$ac_link" |
---|
3008 | case "(($ac_try" in |
---|
3009 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3010 | *) ac_try_echo=$ac_try;; |
---|
3011 | esac |
---|
3012 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3013 | (eval "$ac_link") 2>conftest.er1 |
---|
3014 | ac_status=$? |
---|
3015 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3016 | rm -f conftest.er1 |
---|
3017 | cat conftest.err >&5 |
---|
3018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3019 | (exit $ac_status); } && { |
---|
3020 | test -z "$ac_c_werror_flag" || |
---|
3021 | test ! -s conftest.err |
---|
3022 | } && test -s conftest$ac_exeext && |
---|
3023 | $as_test_x conftest$ac_exeext; then |
---|
3024 | ac_cv_lib_nsl_gethostbyname=yes |
---|
3025 | else |
---|
3026 | echo "$as_me: failed program was:" >&5 |
---|
3027 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3028 | |
---|
3029 | ac_cv_lib_nsl_gethostbyname=no |
---|
3030 | fi |
---|
3031 | |
---|
3032 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3033 | conftest$ac_exeext conftest.$ac_ext |
---|
3034 | LIBS=$ac_check_lib_save_LIBS |
---|
3035 | fi |
---|
3036 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
---|
3037 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } |
---|
3038 | if test $ac_cv_lib_nsl_gethostbyname = yes; then |
---|
3039 | cat >>confdefs.h <<_ACEOF |
---|
3040 | #define HAVE_LIBNSL 1 |
---|
3041 | _ACEOF |
---|
3042 | |
---|
3043 | LIBS="-lnsl $LIBS" |
---|
3044 | |
---|
3045 | fi |
---|
3046 | |
---|
3047 | |
---|
3048 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
---|
3049 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
---|
3050 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
---|
3051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3052 | else |
---|
3053 | ac_check_lib_save_LIBS=$LIBS |
---|
3054 | LIBS="-lsocket $LIBS" |
---|
3055 | cat >conftest.$ac_ext <<_ACEOF |
---|
3056 | /* confdefs.h. */ |
---|
3057 | _ACEOF |
---|
3058 | cat confdefs.h >>conftest.$ac_ext |
---|
3059 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3060 | /* end confdefs.h. */ |
---|
3061 | |
---|
3062 | /* Override any GCC internal prototype to avoid an error. |
---|
3063 | Use char because int might match the return type of a GCC |
---|
3064 | builtin and then its argument prototype would still apply. */ |
---|
3065 | #ifdef __cplusplus |
---|
3066 | extern "C" |
---|
3067 | #endif |
---|
3068 | char socket (); |
---|
3069 | int |
---|
3070 | main () |
---|
3071 | { |
---|
3072 | return socket (); |
---|
3073 | ; |
---|
3074 | return 0; |
---|
3075 | } |
---|
3076 | _ACEOF |
---|
3077 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3078 | if { (ac_try="$ac_link" |
---|
3079 | case "(($ac_try" in |
---|
3080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3081 | *) ac_try_echo=$ac_try;; |
---|
3082 | esac |
---|
3083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3084 | (eval "$ac_link") 2>conftest.er1 |
---|
3085 | ac_status=$? |
---|
3086 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3087 | rm -f conftest.er1 |
---|
3088 | cat conftest.err >&5 |
---|
3089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3090 | (exit $ac_status); } && { |
---|
3091 | test -z "$ac_c_werror_flag" || |
---|
3092 | test ! -s conftest.err |
---|
3093 | } && test -s conftest$ac_exeext && |
---|
3094 | $as_test_x conftest$ac_exeext; then |
---|
3095 | ac_cv_lib_socket_socket=yes |
---|
3096 | else |
---|
3097 | echo "$as_me: failed program was:" >&5 |
---|
3098 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3099 | |
---|
3100 | ac_cv_lib_socket_socket=no |
---|
3101 | fi |
---|
3102 | |
---|
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 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
---|
3108 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
---|
3109 | if test $ac_cv_lib_socket_socket = yes; then |
---|
3110 | cat >>confdefs.h <<_ACEOF |
---|
3111 | #define HAVE_LIBSOCKET 1 |
---|
3112 | _ACEOF |
---|
3113 | |
---|
3114 | LIBS="-lsocket $LIBS" |
---|
3115 | |
---|
3116 | fi |
---|
3117 | |
---|
3118 | |
---|
3119 | { echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5 |
---|
3120 | echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; } |
---|
3121 | if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then |
---|
3122 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3123 | else |
---|
3124 | ac_check_lib_save_LIBS=$LIBS |
---|
3125 | LIBS="-lk5crypto $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 krb5_derive_key (); |
---|
3140 | int |
---|
3141 | main () |
---|
3142 | { |
---|
3143 | return krb5_derive_key (); |
---|
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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3155 | (eval "$ac_link") 2>conftest.er1 |
---|
3156 | ac_status=$? |
---|
3157 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3158 | rm -f conftest.er1 |
---|
3159 | cat conftest.err >&5 |
---|
3160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3161 | (exit $ac_status); } && { |
---|
3162 | test -z "$ac_c_werror_flag" || |
---|
3163 | test ! -s conftest.err |
---|
3164 | } && test -s conftest$ac_exeext && |
---|
3165 | $as_test_x conftest$ac_exeext; then |
---|
3166 | ac_cv_lib_k5crypto_krb5_derive_key=yes |
---|
3167 | else |
---|
3168 | echo "$as_me: failed program was:" >&5 |
---|
3169 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3170 | |
---|
3171 | ac_cv_lib_k5crypto_krb5_derive_key=no |
---|
3172 | fi |
---|
3173 | |
---|
3174 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3175 | conftest$ac_exeext conftest.$ac_ext |
---|
3176 | LIBS=$ac_check_lib_save_LIBS |
---|
3177 | fi |
---|
3178 | { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5 |
---|
3179 | echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; } |
---|
3180 | if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then |
---|
3181 | cat >>confdefs.h <<_ACEOF |
---|
3182 | #define HAVE_LIBK5CRYPTO 1 |
---|
3183 | _ACEOF |
---|
3184 | |
---|
3185 | LIBS="-lk5crypto $LIBS" |
---|
3186 | |
---|
3187 | fi |
---|
3188 | |
---|
3189 | |
---|
3190 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
---|
3191 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
---|
3192 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
---|
3193 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3194 | else |
---|
3195 | ac_check_lib_save_LIBS=$LIBS |
---|
3196 | LIBS="-ldes425 $LIBS" |
---|
3197 | cat >conftest.$ac_ext <<_ACEOF |
---|
3198 | /* confdefs.h. */ |
---|
3199 | _ACEOF |
---|
3200 | cat confdefs.h >>conftest.$ac_ext |
---|
3201 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3202 | /* end confdefs.h. */ |
---|
3203 | |
---|
3204 | /* Override any GCC internal prototype to avoid an error. |
---|
3205 | Use char because int might match the return type of a GCC |
---|
3206 | builtin and then its argument prototype would still apply. */ |
---|
3207 | #ifdef __cplusplus |
---|
3208 | extern "C" |
---|
3209 | #endif |
---|
3210 | char des_cbc_encrypt (); |
---|
3211 | int |
---|
3212 | main () |
---|
3213 | { |
---|
3214 | return des_cbc_encrypt (); |
---|
3215 | ; |
---|
3216 | return 0; |
---|
3217 | } |
---|
3218 | _ACEOF |
---|
3219 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3220 | if { (ac_try="$ac_link" |
---|
3221 | case "(($ac_try" in |
---|
3222 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3223 | *) ac_try_echo=$ac_try;; |
---|
3224 | esac |
---|
3225 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3226 | (eval "$ac_link") 2>conftest.er1 |
---|
3227 | ac_status=$? |
---|
3228 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3229 | rm -f conftest.er1 |
---|
3230 | cat conftest.err >&5 |
---|
3231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3232 | (exit $ac_status); } && { |
---|
3233 | test -z "$ac_c_werror_flag" || |
---|
3234 | test ! -s conftest.err |
---|
3235 | } && test -s conftest$ac_exeext && |
---|
3236 | $as_test_x conftest$ac_exeext; then |
---|
3237 | ac_cv_lib_des425_des_cbc_encrypt=yes |
---|
3238 | else |
---|
3239 | echo "$as_me: failed program was:" >&5 |
---|
3240 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3241 | |
---|
3242 | ac_cv_lib_des425_des_cbc_encrypt=no |
---|
3243 | fi |
---|
3244 | |
---|
3245 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3246 | conftest$ac_exeext conftest.$ac_ext |
---|
3247 | LIBS=$ac_check_lib_save_LIBS |
---|
3248 | fi |
---|
3249 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
---|
3250 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
---|
3251 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
---|
3252 | cat >>confdefs.h <<_ACEOF |
---|
3253 | #define HAVE_LIBDES425 1 |
---|
3254 | _ACEOF |
---|
3255 | |
---|
3256 | LIBS="-ldes425 $LIBS" |
---|
3257 | |
---|
3258 | fi |
---|
3259 | |
---|
3260 | |
---|
3261 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
---|
3262 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
---|
3263 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
---|
3264 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3265 | else |
---|
3266 | ac_check_lib_save_LIBS=$LIBS |
---|
3267 | LIBS="-lresolv $LIBS" |
---|
3268 | cat >conftest.$ac_ext <<_ACEOF |
---|
3269 | /* confdefs.h. */ |
---|
3270 | _ACEOF |
---|
3271 | cat confdefs.h >>conftest.$ac_ext |
---|
3272 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3273 | /* end confdefs.h. */ |
---|
3274 | |
---|
3275 | /* Override any GCC internal prototype to avoid an error. |
---|
3276 | Use char because int might match the return type of a GCC |
---|
3277 | builtin and then its argument prototype would still apply. */ |
---|
3278 | #ifdef __cplusplus |
---|
3279 | extern "C" |
---|
3280 | #endif |
---|
3281 | char res_search (); |
---|
3282 | int |
---|
3283 | main () |
---|
3284 | { |
---|
3285 | return res_search (); |
---|
3286 | ; |
---|
3287 | return 0; |
---|
3288 | } |
---|
3289 | _ACEOF |
---|
3290 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3291 | if { (ac_try="$ac_link" |
---|
3292 | case "(($ac_try" in |
---|
3293 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3294 | *) ac_try_echo=$ac_try;; |
---|
3295 | esac |
---|
3296 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3297 | (eval "$ac_link") 2>conftest.er1 |
---|
3298 | ac_status=$? |
---|
3299 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3300 | rm -f conftest.er1 |
---|
3301 | cat conftest.err >&5 |
---|
3302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3303 | (exit $ac_status); } && { |
---|
3304 | test -z "$ac_c_werror_flag" || |
---|
3305 | test ! -s conftest.err |
---|
3306 | } && test -s conftest$ac_exeext && |
---|
3307 | $as_test_x conftest$ac_exeext; then |
---|
3308 | ac_cv_lib_resolv_res_search=yes |
---|
3309 | else |
---|
3310 | echo "$as_me: failed program was:" >&5 |
---|
3311 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3312 | |
---|
3313 | ac_cv_lib_resolv_res_search=no |
---|
3314 | fi |
---|
3315 | |
---|
3316 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3317 | conftest$ac_exeext conftest.$ac_ext |
---|
3318 | LIBS=$ac_check_lib_save_LIBS |
---|
3319 | fi |
---|
3320 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
---|
3321 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
---|
3322 | if test $ac_cv_lib_resolv_res_search = yes; then |
---|
3323 | cat >>confdefs.h <<_ACEOF |
---|
3324 | #define HAVE_LIBRESOLV 1 |
---|
3325 | _ACEOF |
---|
3326 | |
---|
3327 | LIBS="-lresolv $LIBS" |
---|
3328 | |
---|
3329 | fi |
---|
3330 | |
---|
3331 | |
---|
3332 | { echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5 |
---|
3333 | echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; } |
---|
3334 | if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then |
---|
3335 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3336 | else |
---|
3337 | ac_check_lib_save_LIBS=$LIBS |
---|
3338 | LIBS="-lkrb5 $LIBS" |
---|
3339 | cat >conftest.$ac_ext <<_ACEOF |
---|
3340 | /* confdefs.h. */ |
---|
3341 | _ACEOF |
---|
3342 | cat confdefs.h >>conftest.$ac_ext |
---|
3343 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3344 | /* end confdefs.h. */ |
---|
3345 | |
---|
3346 | /* Override any GCC internal prototype to avoid an error. |
---|
3347 | Use char because int might match the return type of a GCC |
---|
3348 | builtin and then its argument prototype would still apply. */ |
---|
3349 | #ifdef __cplusplus |
---|
3350 | extern "C" |
---|
3351 | #endif |
---|
3352 | char krb5_get_credentials (); |
---|
3353 | int |
---|
3354 | main () |
---|
3355 | { |
---|
3356 | return krb5_get_credentials (); |
---|
3357 | ; |
---|
3358 | return 0; |
---|
3359 | } |
---|
3360 | _ACEOF |
---|
3361 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3362 | if { (ac_try="$ac_link" |
---|
3363 | case "(($ac_try" in |
---|
3364 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3365 | *) ac_try_echo=$ac_try;; |
---|
3366 | esac |
---|
3367 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3368 | (eval "$ac_link") 2>conftest.er1 |
---|
3369 | ac_status=$? |
---|
3370 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3371 | rm -f conftest.er1 |
---|
3372 | cat conftest.err >&5 |
---|
3373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3374 | (exit $ac_status); } && { |
---|
3375 | test -z "$ac_c_werror_flag" || |
---|
3376 | test ! -s conftest.err |
---|
3377 | } && test -s conftest$ac_exeext && |
---|
3378 | $as_test_x conftest$ac_exeext; then |
---|
3379 | ac_cv_lib_krb5_krb5_get_credentials=yes |
---|
3380 | else |
---|
3381 | echo "$as_me: failed program was:" >&5 |
---|
3382 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3383 | |
---|
3384 | ac_cv_lib_krb5_krb5_get_credentials=no |
---|
3385 | fi |
---|
3386 | |
---|
3387 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3388 | conftest$ac_exeext conftest.$ac_ext |
---|
3389 | LIBS=$ac_check_lib_save_LIBS |
---|
3390 | fi |
---|
3391 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5 |
---|
3392 | echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; } |
---|
3393 | if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then |
---|
3394 | cat >>confdefs.h <<_ACEOF |
---|
3395 | #define HAVE_LIBKRB5 1 |
---|
3396 | _ACEOF |
---|
3397 | |
---|
3398 | LIBS="-lkrb5 $LIBS" |
---|
3399 | |
---|
3400 | fi |
---|
3401 | |
---|
3402 | |
---|
3403 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5 |
---|
3404 | echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; } |
---|
3405 | if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then |
---|
3406 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3407 | else |
---|
3408 | ac_check_lib_save_LIBS=$LIBS |
---|
3409 | LIBS="-lkrb4 $LIBS" |
---|
3410 | cat >conftest.$ac_ext <<_ACEOF |
---|
3411 | /* confdefs.h. */ |
---|
3412 | _ACEOF |
---|
3413 | cat confdefs.h >>conftest.$ac_ext |
---|
3414 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3415 | /* end confdefs.h. */ |
---|
3416 | |
---|
3417 | /* Override any GCC internal prototype to avoid an error. |
---|
3418 | Use char because int might match the return type of a GCC |
---|
3419 | builtin and then its argument prototype would still apply. */ |
---|
3420 | #ifdef __cplusplus |
---|
3421 | extern "C" |
---|
3422 | #endif |
---|
3423 | char krb_sendauth (); |
---|
3424 | int |
---|
3425 | main () |
---|
3426 | { |
---|
3427 | return krb_sendauth (); |
---|
3428 | ; |
---|
3429 | return 0; |
---|
3430 | } |
---|
3431 | _ACEOF |
---|
3432 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3433 | if { (ac_try="$ac_link" |
---|
3434 | case "(($ac_try" in |
---|
3435 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3436 | *) ac_try_echo=$ac_try;; |
---|
3437 | esac |
---|
3438 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3439 | (eval "$ac_link") 2>conftest.er1 |
---|
3440 | ac_status=$? |
---|
3441 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3442 | rm -f conftest.er1 |
---|
3443 | cat conftest.err >&5 |
---|
3444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3445 | (exit $ac_status); } && { |
---|
3446 | test -z "$ac_c_werror_flag" || |
---|
3447 | test ! -s conftest.err |
---|
3448 | } && test -s conftest$ac_exeext && |
---|
3449 | $as_test_x conftest$ac_exeext; then |
---|
3450 | ac_cv_lib_krb4_krb_sendauth=yes |
---|
3451 | else |
---|
3452 | echo "$as_me: failed program was:" >&5 |
---|
3453 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3454 | |
---|
3455 | ac_cv_lib_krb4_krb_sendauth=no |
---|
3456 | fi |
---|
3457 | |
---|
3458 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3459 | conftest$ac_exeext conftest.$ac_ext |
---|
3460 | LIBS=$ac_check_lib_save_LIBS |
---|
3461 | fi |
---|
3462 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5 |
---|
3463 | echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; } |
---|
3464 | if test $ac_cv_lib_krb4_krb_sendauth = yes; then |
---|
3465 | cat >>confdefs.h <<_ACEOF |
---|
3466 | #define HAVE_LIBKRB4 1 |
---|
3467 | _ACEOF |
---|
3468 | |
---|
3469 | LIBS="-lkrb4 $LIBS" |
---|
3470 | |
---|
3471 | else |
---|
3472 | |
---|
3473 | { echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5 |
---|
3474 | echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; } |
---|
3475 | if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then |
---|
3476 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3477 | else |
---|
3478 | ac_check_lib_save_LIBS=$LIBS |
---|
3479 | LIBS="-lkrb $LIBS" |
---|
3480 | cat >conftest.$ac_ext <<_ACEOF |
---|
3481 | /* confdefs.h. */ |
---|
3482 | _ACEOF |
---|
3483 | cat confdefs.h >>conftest.$ac_ext |
---|
3484 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3485 | /* end confdefs.h. */ |
---|
3486 | |
---|
3487 | /* Override any GCC internal prototype to avoid an error. |
---|
3488 | Use char because int might match the return type of a GCC |
---|
3489 | builtin and then its argument prototype would still apply. */ |
---|
3490 | #ifdef __cplusplus |
---|
3491 | extern "C" |
---|
3492 | #endif |
---|
3493 | char krb_sendauth (); |
---|
3494 | int |
---|
3495 | main () |
---|
3496 | { |
---|
3497 | return krb_sendauth (); |
---|
3498 | ; |
---|
3499 | return 0; |
---|
3500 | } |
---|
3501 | _ACEOF |
---|
3502 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3503 | if { (ac_try="$ac_link" |
---|
3504 | case "(($ac_try" in |
---|
3505 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3506 | *) ac_try_echo=$ac_try;; |
---|
3507 | esac |
---|
3508 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3509 | (eval "$ac_link") 2>conftest.er1 |
---|
3510 | ac_status=$? |
---|
3511 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3512 | rm -f conftest.er1 |
---|
3513 | cat conftest.err >&5 |
---|
3514 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3515 | (exit $ac_status); } && { |
---|
3516 | test -z "$ac_c_werror_flag" || |
---|
3517 | test ! -s conftest.err |
---|
3518 | } && test -s conftest$ac_exeext && |
---|
3519 | $as_test_x conftest$ac_exeext; then |
---|
3520 | ac_cv_lib_krb_krb_sendauth=yes |
---|
3521 | else |
---|
3522 | echo "$as_me: failed program was:" >&5 |
---|
3523 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3524 | |
---|
3525 | ac_cv_lib_krb_krb_sendauth=no |
---|
3526 | fi |
---|
3527 | |
---|
3528 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3529 | conftest$ac_exeext conftest.$ac_ext |
---|
3530 | LIBS=$ac_check_lib_save_LIBS |
---|
3531 | fi |
---|
3532 | { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5 |
---|
3533 | echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; } |
---|
3534 | if test $ac_cv_lib_krb_krb_sendauth = yes; then |
---|
3535 | cat >>confdefs.h <<_ACEOF |
---|
3536 | #define HAVE_LIBKRB 1 |
---|
3537 | _ACEOF |
---|
3538 | |
---|
3539 | LIBS="-lkrb $LIBS" |
---|
3540 | |
---|
3541 | fi |
---|
3542 | |
---|
3543 | fi |
---|
3544 | |
---|
3545 | |
---|
3546 | { echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5 |
---|
3547 | echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; } |
---|
3548 | if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then |
---|
3549 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3550 | else |
---|
3551 | ac_check_lib_save_LIBS=$LIBS |
---|
3552 | LIBS="-lzephyr $LIBS" |
---|
3553 | cat >conftest.$ac_ext <<_ACEOF |
---|
3554 | /* confdefs.h. */ |
---|
3555 | _ACEOF |
---|
3556 | cat confdefs.h >>conftest.$ac_ext |
---|
3557 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3558 | /* end confdefs.h. */ |
---|
3559 | |
---|
3560 | /* Override any GCC internal prototype to avoid an error. |
---|
3561 | Use char because int might match the return type of a GCC |
---|
3562 | builtin and then its argument prototype would still apply. */ |
---|
3563 | #ifdef __cplusplus |
---|
3564 | extern "C" |
---|
3565 | #endif |
---|
3566 | char ZGetSender (); |
---|
3567 | int |
---|
3568 | main () |
---|
3569 | { |
---|
3570 | return ZGetSender (); |
---|
3571 | ; |
---|
3572 | return 0; |
---|
3573 | } |
---|
3574 | _ACEOF |
---|
3575 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3576 | if { (ac_try="$ac_link" |
---|
3577 | case "(($ac_try" in |
---|
3578 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3579 | *) ac_try_echo=$ac_try;; |
---|
3580 | esac |
---|
3581 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3582 | (eval "$ac_link") 2>conftest.er1 |
---|
3583 | ac_status=$? |
---|
3584 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3585 | rm -f conftest.er1 |
---|
3586 | cat conftest.err >&5 |
---|
3587 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3588 | (exit $ac_status); } && { |
---|
3589 | test -z "$ac_c_werror_flag" || |
---|
3590 | test ! -s conftest.err |
---|
3591 | } && test -s conftest$ac_exeext && |
---|
3592 | $as_test_x conftest$ac_exeext; then |
---|
3593 | ac_cv_lib_zephyr_ZGetSender=yes |
---|
3594 | else |
---|
3595 | echo "$as_me: failed program was:" >&5 |
---|
3596 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3597 | |
---|
3598 | ac_cv_lib_zephyr_ZGetSender=no |
---|
3599 | fi |
---|
3600 | |
---|
3601 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3602 | conftest$ac_exeext conftest.$ac_ext |
---|
3603 | LIBS=$ac_check_lib_save_LIBS |
---|
3604 | fi |
---|
3605 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5 |
---|
3606 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; } |
---|
3607 | if test $ac_cv_lib_zephyr_ZGetSender = yes; then |
---|
3608 | cat >>confdefs.h <<_ACEOF |
---|
3609 | #define HAVE_LIBZEPHYR 1 |
---|
3610 | _ACEOF |
---|
3611 | |
---|
3612 | LIBS="-lzephyr $LIBS" |
---|
3613 | |
---|
3614 | fi |
---|
3615 | |
---|
3616 | { echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5 |
---|
3617 | echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; } |
---|
3618 | if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then |
---|
3619 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3620 | else |
---|
3621 | ac_check_lib_save_LIBS=$LIBS |
---|
3622 | LIBS="-lzephyr $LIBS" |
---|
3623 | cat >conftest.$ac_ext <<_ACEOF |
---|
3624 | /* confdefs.h. */ |
---|
3625 | _ACEOF |
---|
3626 | cat confdefs.h >>conftest.$ac_ext |
---|
3627 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3628 | /* end confdefs.h. */ |
---|
3629 | |
---|
3630 | /* Override any GCC internal prototype to avoid an error. |
---|
3631 | Use char because int might match the return type of a GCC |
---|
3632 | builtin and then its argument prototype would still apply. */ |
---|
3633 | #ifdef __cplusplus |
---|
3634 | extern "C" |
---|
3635 | #endif |
---|
3636 | char ZInitLocationInfo (); |
---|
3637 | int |
---|
3638 | main () |
---|
3639 | { |
---|
3640 | return ZInitLocationInfo (); |
---|
3641 | ; |
---|
3642 | return 0; |
---|
3643 | } |
---|
3644 | _ACEOF |
---|
3645 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3646 | if { (ac_try="$ac_link" |
---|
3647 | case "(($ac_try" in |
---|
3648 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3649 | *) ac_try_echo=$ac_try;; |
---|
3650 | esac |
---|
3651 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3652 | (eval "$ac_link") 2>conftest.er1 |
---|
3653 | ac_status=$? |
---|
3654 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3655 | rm -f conftest.er1 |
---|
3656 | cat conftest.err >&5 |
---|
3657 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3658 | (exit $ac_status); } && { |
---|
3659 | test -z "$ac_c_werror_flag" || |
---|
3660 | test ! -s conftest.err |
---|
3661 | } && test -s conftest$ac_exeext && |
---|
3662 | $as_test_x conftest$ac_exeext; then |
---|
3663 | ac_cv_lib_zephyr_ZInitLocationInfo=yes |
---|
3664 | else |
---|
3665 | echo "$as_me: failed program was:" >&5 |
---|
3666 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3667 | |
---|
3668 | ac_cv_lib_zephyr_ZInitLocationInfo=no |
---|
3669 | fi |
---|
3670 | |
---|
3671 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3672 | conftest$ac_exeext conftest.$ac_ext |
---|
3673 | LIBS=$ac_check_lib_save_LIBS |
---|
3674 | fi |
---|
3675 | { echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5 |
---|
3676 | echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; } |
---|
3677 | if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then |
---|
3678 | |
---|
3679 | cat >>confdefs.h <<\_ACEOF |
---|
3680 | #define HAVE_LIBZEPHYR_ZINITLOCATIONINFO |
---|
3681 | _ACEOF |
---|
3682 | |
---|
3683 | fi |
---|
3684 | |
---|
3685 | |
---|
3686 | |
---|
3687 | |
---|
3688 | |
---|
3689 | |
---|
3690 | |
---|
3691 | for ac_func in use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt |
---|
3692 | do |
---|
3693 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
---|
3694 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
---|
3695 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
---|
3696 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
3697 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3698 | else |
---|
3699 | cat >conftest.$ac_ext <<_ACEOF |
---|
3700 | /* confdefs.h. */ |
---|
3701 | _ACEOF |
---|
3702 | cat confdefs.h >>conftest.$ac_ext |
---|
3703 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3704 | /* end confdefs.h. */ |
---|
3705 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
---|
3706 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
3707 | #define $ac_func innocuous_$ac_func |
---|
3708 | |
---|
3709 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3710 | which can conflict with char $ac_func (); below. |
---|
3711 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3712 | <limits.h> exists even on freestanding compilers. */ |
---|
3713 | |
---|
3714 | #ifdef __STDC__ |
---|
3715 | # include <limits.h> |
---|
3716 | #else |
---|
3717 | # include <assert.h> |
---|
3718 | #endif |
---|
3719 | |
---|
3720 | #undef $ac_func |
---|
3721 | |
---|
3722 | /* Override any GCC internal prototype to avoid an error. |
---|
3723 | Use char because int might match the return type of a GCC |
---|
3724 | builtin and then its argument prototype would still apply. */ |
---|
3725 | #ifdef __cplusplus |
---|
3726 | extern "C" |
---|
3727 | #endif |
---|
3728 | char $ac_func (); |
---|
3729 | /* The GNU C library defines this for functions which it implements |
---|
3730 | to always fail with ENOSYS. Some functions are actually named |
---|
3731 | something starting with __ and the normal name is an alias. */ |
---|
3732 | #if defined __stub_$ac_func || defined __stub___$ac_func |
---|
3733 | choke me |
---|
3734 | #endif |
---|
3735 | |
---|
3736 | int |
---|
3737 | main () |
---|
3738 | { |
---|
3739 | return $ac_func (); |
---|
3740 | ; |
---|
3741 | return 0; |
---|
3742 | } |
---|
3743 | _ACEOF |
---|
3744 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
3745 | if { (ac_try="$ac_link" |
---|
3746 | case "(($ac_try" in |
---|
3747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3748 | *) ac_try_echo=$ac_try;; |
---|
3749 | esac |
---|
3750 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3751 | (eval "$ac_link") 2>conftest.er1 |
---|
3752 | ac_status=$? |
---|
3753 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3754 | rm -f conftest.er1 |
---|
3755 | cat conftest.err >&5 |
---|
3756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3757 | (exit $ac_status); } && { |
---|
3758 | test -z "$ac_c_werror_flag" || |
---|
3759 | test ! -s conftest.err |
---|
3760 | } && test -s conftest$ac_exeext && |
---|
3761 | $as_test_x conftest$ac_exeext; then |
---|
3762 | eval "$as_ac_var=yes" |
---|
3763 | else |
---|
3764 | echo "$as_me: failed program was:" >&5 |
---|
3765 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3766 | |
---|
3767 | eval "$as_ac_var=no" |
---|
3768 | fi |
---|
3769 | |
---|
3770 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
---|
3771 | conftest$ac_exeext conftest.$ac_ext |
---|
3772 | fi |
---|
3773 | ac_res=`eval echo '${'$as_ac_var'}'` |
---|
3774 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
3775 | echo "${ECHO_T}$ac_res" >&6; } |
---|
3776 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
---|
3777 | cat >>confdefs.h <<_ACEOF |
---|
3778 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
---|
3779 | _ACEOF |
---|
3780 | |
---|
3781 | fi |
---|
3782 | done |
---|
3783 | |
---|
3784 | |
---|
3785 | { echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5 |
---|
3786 | echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3810 | (eval "$ac_compile") 2>conftest.er1 |
---|
3811 | ac_status=$? |
---|
3812 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3813 | rm -f conftest.er1 |
---|
3814 | cat conftest.err >&5 |
---|
3815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3816 | (exit $ac_status); } && { |
---|
3817 | test -z "$ac_c_werror_flag" || |
---|
3818 | test ! -s conftest.err |
---|
3819 | } && test -s conftest.$ac_objext; then |
---|
3820 | ac_cv_des_ecb_encrypt_proto=no |
---|
3821 | else |
---|
3822 | echo "$as_me: failed program was:" >&5 |
---|
3823 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3824 | |
---|
3825 | ac_cv_des_ecb_encrypt_proto=yes |
---|
3826 | fi |
---|
3827 | |
---|
3828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
3829 | { echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5 |
---|
3830 | echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; } |
---|
3831 | if test "$ac_cv_des_ecb_encrypt_proto" = yes; then |
---|
3832 | |
---|
3833 | cat >>confdefs.h <<\_ACEOF |
---|
3834 | #define HAVE_DES_ECB_ENCRYPT_PROTO |
---|
3835 | _ACEOF |
---|
3836 | |
---|
3837 | fi |
---|
3838 | |
---|
3839 | ac_ext=c |
---|
3840 | ac_cpp='$CPP $CPPFLAGS' |
---|
3841 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
3842 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
3843 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
3844 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
---|
3845 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
---|
3846 | # On Suns, sometimes $CPP names a directory. |
---|
3847 | if test -n "$CPP" && test -d "$CPP"; then |
---|
3848 | CPP= |
---|
3849 | fi |
---|
3850 | if test -z "$CPP"; then |
---|
3851 | if test "${ac_cv_prog_CPP+set}" = set; then |
---|
3852 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
3853 | else |
---|
3854 | # Double quotes because CPP needs to be expanded |
---|
3855 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
3856 | do |
---|
3857 | ac_preproc_ok=false |
---|
3858 | for ac_c_preproc_warn_flag in '' yes |
---|
3859 | do |
---|
3860 | # Use a header file that comes with gcc, so configuring glibc |
---|
3861 | # with a fresh cross-compiler works. |
---|
3862 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3863 | # <limits.h> exists even on freestanding compilers. |
---|
3864 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3865 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3866 | cat >conftest.$ac_ext <<_ACEOF |
---|
3867 | /* confdefs.h. */ |
---|
3868 | _ACEOF |
---|
3869 | cat confdefs.h >>conftest.$ac_ext |
---|
3870 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3871 | /* end confdefs.h. */ |
---|
3872 | #ifdef __STDC__ |
---|
3873 | # include <limits.h> |
---|
3874 | #else |
---|
3875 | # include <assert.h> |
---|
3876 | #endif |
---|
3877 | Syntax error |
---|
3878 | _ACEOF |
---|
3879 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3880 | case "(($ac_try" in |
---|
3881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3882 | *) ac_try_echo=$ac_try;; |
---|
3883 | esac |
---|
3884 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3885 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3886 | ac_status=$? |
---|
3887 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3888 | rm -f conftest.er1 |
---|
3889 | cat conftest.err >&5 |
---|
3890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3891 | (exit $ac_status); } >/dev/null && { |
---|
3892 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3893 | test ! -s conftest.err |
---|
3894 | }; then |
---|
3895 | : |
---|
3896 | else |
---|
3897 | echo "$as_me: failed program was:" >&5 |
---|
3898 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3899 | |
---|
3900 | # Broken: fails on valid input. |
---|
3901 | continue |
---|
3902 | fi |
---|
3903 | |
---|
3904 | rm -f conftest.err conftest.$ac_ext |
---|
3905 | |
---|
3906 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
3907 | # can be detected and how. |
---|
3908 | cat >conftest.$ac_ext <<_ACEOF |
---|
3909 | /* confdefs.h. */ |
---|
3910 | _ACEOF |
---|
3911 | cat confdefs.h >>conftest.$ac_ext |
---|
3912 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3913 | /* end confdefs.h. */ |
---|
3914 | #include <ac_nonexistent.h> |
---|
3915 | _ACEOF |
---|
3916 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3917 | case "(($ac_try" in |
---|
3918 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3919 | *) ac_try_echo=$ac_try;; |
---|
3920 | esac |
---|
3921 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3922 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3923 | ac_status=$? |
---|
3924 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3925 | rm -f conftest.er1 |
---|
3926 | cat conftest.err >&5 |
---|
3927 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3928 | (exit $ac_status); } >/dev/null && { |
---|
3929 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3930 | test ! -s conftest.err |
---|
3931 | }; then |
---|
3932 | # Broken: success on invalid input. |
---|
3933 | continue |
---|
3934 | else |
---|
3935 | echo "$as_me: failed program was:" >&5 |
---|
3936 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
3937 | |
---|
3938 | # Passes both tests. |
---|
3939 | ac_preproc_ok=: |
---|
3940 | break |
---|
3941 | fi |
---|
3942 | |
---|
3943 | rm -f conftest.err conftest.$ac_ext |
---|
3944 | |
---|
3945 | done |
---|
3946 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
3947 | rm -f conftest.err conftest.$ac_ext |
---|
3948 | if $ac_preproc_ok; then |
---|
3949 | break |
---|
3950 | fi |
---|
3951 | |
---|
3952 | done |
---|
3953 | ac_cv_prog_CPP=$CPP |
---|
3954 | |
---|
3955 | fi |
---|
3956 | CPP=$ac_cv_prog_CPP |
---|
3957 | else |
---|
3958 | ac_cv_prog_CPP=$CPP |
---|
3959 | fi |
---|
3960 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
---|
3961 | echo "${ECHO_T}$CPP" >&6; } |
---|
3962 | ac_preproc_ok=false |
---|
3963 | for ac_c_preproc_warn_flag in '' yes |
---|
3964 | do |
---|
3965 | # Use a header file that comes with gcc, so configuring glibc |
---|
3966 | # with a fresh cross-compiler works. |
---|
3967 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
3968 | # <limits.h> exists even on freestanding compilers. |
---|
3969 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
3970 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
3971 | cat >conftest.$ac_ext <<_ACEOF |
---|
3972 | /* confdefs.h. */ |
---|
3973 | _ACEOF |
---|
3974 | cat confdefs.h >>conftest.$ac_ext |
---|
3975 | cat >>conftest.$ac_ext <<_ACEOF |
---|
3976 | /* end confdefs.h. */ |
---|
3977 | #ifdef __STDC__ |
---|
3978 | # include <limits.h> |
---|
3979 | #else |
---|
3980 | # include <assert.h> |
---|
3981 | #endif |
---|
3982 | Syntax error |
---|
3983 | _ACEOF |
---|
3984 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
3985 | case "(($ac_try" in |
---|
3986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
3987 | *) ac_try_echo=$ac_try;; |
---|
3988 | esac |
---|
3989 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
3990 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
3991 | ac_status=$? |
---|
3992 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
3993 | rm -f conftest.er1 |
---|
3994 | cat conftest.err >&5 |
---|
3995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
3996 | (exit $ac_status); } >/dev/null && { |
---|
3997 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
3998 | test ! -s conftest.err |
---|
3999 | }; then |
---|
4000 | : |
---|
4001 | else |
---|
4002 | echo "$as_me: failed program was:" >&5 |
---|
4003 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4004 | |
---|
4005 | # Broken: fails on valid input. |
---|
4006 | continue |
---|
4007 | fi |
---|
4008 | |
---|
4009 | rm -f conftest.err conftest.$ac_ext |
---|
4010 | |
---|
4011 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
4012 | # can be detected and how. |
---|
4013 | cat >conftest.$ac_ext <<_ACEOF |
---|
4014 | /* confdefs.h. */ |
---|
4015 | _ACEOF |
---|
4016 | cat confdefs.h >>conftest.$ac_ext |
---|
4017 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4018 | /* end confdefs.h. */ |
---|
4019 | #include <ac_nonexistent.h> |
---|
4020 | _ACEOF |
---|
4021 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
4022 | case "(($ac_try" in |
---|
4023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4024 | *) ac_try_echo=$ac_try;; |
---|
4025 | esac |
---|
4026 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4027 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
4028 | ac_status=$? |
---|
4029 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4030 | rm -f conftest.er1 |
---|
4031 | cat conftest.err >&5 |
---|
4032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4033 | (exit $ac_status); } >/dev/null && { |
---|
4034 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
4035 | test ! -s conftest.err |
---|
4036 | }; then |
---|
4037 | # Broken: success on invalid input. |
---|
4038 | continue |
---|
4039 | else |
---|
4040 | echo "$as_me: failed program was:" >&5 |
---|
4041 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4042 | |
---|
4043 | # Passes both tests. |
---|
4044 | ac_preproc_ok=: |
---|
4045 | break |
---|
4046 | fi |
---|
4047 | |
---|
4048 | rm -f conftest.err conftest.$ac_ext |
---|
4049 | |
---|
4050 | done |
---|
4051 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
4052 | rm -f conftest.err conftest.$ac_ext |
---|
4053 | if $ac_preproc_ok; then |
---|
4054 | : |
---|
4055 | else |
---|
4056 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
---|
4057 | See \`config.log' for more details." >&5 |
---|
4058 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
---|
4059 | See \`config.log' for more details." >&2;} |
---|
4060 | { (exit 1); exit 1; }; } |
---|
4061 | fi |
---|
4062 | |
---|
4063 | ac_ext=c |
---|
4064 | ac_cpp='$CPP $CPPFLAGS' |
---|
4065 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
4066 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
4067 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
4068 | |
---|
4069 | |
---|
4070 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
---|
4071 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
---|
4072 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
4073 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4074 | else |
---|
4075 | # Extract the first word of "grep ggrep" to use in msg output |
---|
4076 | if test -z "$GREP"; then |
---|
4077 | set dummy grep ggrep; ac_prog_name=$2 |
---|
4078 | if test "${ac_cv_path_GREP+set}" = set; then |
---|
4079 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4080 | else |
---|
4081 | ac_path_GREP_found=false |
---|
4082 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4083 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4084 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4085 | do |
---|
4086 | IFS=$as_save_IFS |
---|
4087 | test -z "$as_dir" && as_dir=. |
---|
4088 | for ac_prog in grep ggrep; do |
---|
4089 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4090 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4091 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
---|
4092 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
4093 | # Check for GNU $ac_path_GREP |
---|
4094 | case `"$ac_path_GREP" --version 2>&1` in |
---|
4095 | *GNU*) |
---|
4096 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
4097 | *) |
---|
4098 | ac_count=0 |
---|
4099 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
4100 | while : |
---|
4101 | do |
---|
4102 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4103 | mv "conftest.tmp" "conftest.in" |
---|
4104 | cp "conftest.in" "conftest.nl" |
---|
4105 | echo 'GREP' >> "conftest.nl" |
---|
4106 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4107 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4108 | ac_count=`expr $ac_count + 1` |
---|
4109 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
4110 | # Best one so far, save it but keep looking for a better one |
---|
4111 | ac_cv_path_GREP="$ac_path_GREP" |
---|
4112 | ac_path_GREP_max=$ac_count |
---|
4113 | fi |
---|
4114 | # 10*(2^10) chars as input seems more than enough |
---|
4115 | test $ac_count -gt 10 && break |
---|
4116 | done |
---|
4117 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4118 | esac |
---|
4119 | |
---|
4120 | |
---|
4121 | $ac_path_GREP_found && break 3 |
---|
4122 | done |
---|
4123 | done |
---|
4124 | |
---|
4125 | done |
---|
4126 | IFS=$as_save_IFS |
---|
4127 | |
---|
4128 | |
---|
4129 | fi |
---|
4130 | |
---|
4131 | GREP="$ac_cv_path_GREP" |
---|
4132 | if test -z "$GREP"; then |
---|
4133 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4134 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4135 | { (exit 1); exit 1; }; } |
---|
4136 | fi |
---|
4137 | |
---|
4138 | else |
---|
4139 | ac_cv_path_GREP=$GREP |
---|
4140 | fi |
---|
4141 | |
---|
4142 | |
---|
4143 | fi |
---|
4144 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
---|
4145 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
---|
4146 | GREP="$ac_cv_path_GREP" |
---|
4147 | |
---|
4148 | |
---|
4149 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
---|
4150 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
---|
4151 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
4152 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4153 | else |
---|
4154 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
4155 | then ac_cv_path_EGREP="$GREP -E" |
---|
4156 | else |
---|
4157 | # Extract the first word of "egrep" to use in msg output |
---|
4158 | if test -z "$EGREP"; then |
---|
4159 | set dummy egrep; ac_prog_name=$2 |
---|
4160 | if test "${ac_cv_path_EGREP+set}" = set; then |
---|
4161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4162 | else |
---|
4163 | ac_path_EGREP_found=false |
---|
4164 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
4165 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4166 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
4167 | do |
---|
4168 | IFS=$as_save_IFS |
---|
4169 | test -z "$as_dir" && as_dir=. |
---|
4170 | for ac_prog in egrep; do |
---|
4171 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4172 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
4173 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
---|
4174 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
4175 | # Check for GNU $ac_path_EGREP |
---|
4176 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
4177 | *GNU*) |
---|
4178 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
4179 | *) |
---|
4180 | ac_count=0 |
---|
4181 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
---|
4182 | while : |
---|
4183 | do |
---|
4184 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
4185 | mv "conftest.tmp" "conftest.in" |
---|
4186 | cp "conftest.in" "conftest.nl" |
---|
4187 | echo 'EGREP' >> "conftest.nl" |
---|
4188 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
4189 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
4190 | ac_count=`expr $ac_count + 1` |
---|
4191 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
4192 | # Best one so far, save it but keep looking for a better one |
---|
4193 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
4194 | ac_path_EGREP_max=$ac_count |
---|
4195 | fi |
---|
4196 | # 10*(2^10) chars as input seems more than enough |
---|
4197 | test $ac_count -gt 10 && break |
---|
4198 | done |
---|
4199 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
4200 | esac |
---|
4201 | |
---|
4202 | |
---|
4203 | $ac_path_EGREP_found && break 3 |
---|
4204 | done |
---|
4205 | done |
---|
4206 | |
---|
4207 | done |
---|
4208 | IFS=$as_save_IFS |
---|
4209 | |
---|
4210 | |
---|
4211 | fi |
---|
4212 | |
---|
4213 | EGREP="$ac_cv_path_EGREP" |
---|
4214 | if test -z "$EGREP"; then |
---|
4215 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
---|
4216 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
---|
4217 | { (exit 1); exit 1; }; } |
---|
4218 | fi |
---|
4219 | |
---|
4220 | else |
---|
4221 | ac_cv_path_EGREP=$EGREP |
---|
4222 | fi |
---|
4223 | |
---|
4224 | |
---|
4225 | fi |
---|
4226 | fi |
---|
4227 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
---|
4228 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
---|
4229 | EGREP="$ac_cv_path_EGREP" |
---|
4230 | |
---|
4231 | |
---|
4232 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
---|
4233 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
---|
4234 | if test "${ac_cv_header_stdc+set}" = set; then |
---|
4235 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4236 | else |
---|
4237 | cat >conftest.$ac_ext <<_ACEOF |
---|
4238 | /* confdefs.h. */ |
---|
4239 | _ACEOF |
---|
4240 | cat confdefs.h >>conftest.$ac_ext |
---|
4241 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4242 | /* end confdefs.h. */ |
---|
4243 | #include <stdlib.h> |
---|
4244 | #include <stdarg.h> |
---|
4245 | #include <string.h> |
---|
4246 | #include <float.h> |
---|
4247 | |
---|
4248 | int |
---|
4249 | main () |
---|
4250 | { |
---|
4251 | |
---|
4252 | ; |
---|
4253 | return 0; |
---|
4254 | } |
---|
4255 | _ACEOF |
---|
4256 | rm -f conftest.$ac_objext |
---|
4257 | if { (ac_try="$ac_compile" |
---|
4258 | case "(($ac_try" in |
---|
4259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4260 | *) ac_try_echo=$ac_try;; |
---|
4261 | esac |
---|
4262 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4263 | (eval "$ac_compile") 2>conftest.er1 |
---|
4264 | ac_status=$? |
---|
4265 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4266 | rm -f conftest.er1 |
---|
4267 | cat conftest.err >&5 |
---|
4268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4269 | (exit $ac_status); } && { |
---|
4270 | test -z "$ac_c_werror_flag" || |
---|
4271 | test ! -s conftest.err |
---|
4272 | } && test -s conftest.$ac_objext; then |
---|
4273 | ac_cv_header_stdc=yes |
---|
4274 | else |
---|
4275 | echo "$as_me: failed program was:" >&5 |
---|
4276 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4277 | |
---|
4278 | ac_cv_header_stdc=no |
---|
4279 | fi |
---|
4280 | |
---|
4281 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4282 | |
---|
4283 | if test $ac_cv_header_stdc = yes; then |
---|
4284 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
4285 | cat >conftest.$ac_ext <<_ACEOF |
---|
4286 | /* confdefs.h. */ |
---|
4287 | _ACEOF |
---|
4288 | cat confdefs.h >>conftest.$ac_ext |
---|
4289 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4290 | /* end confdefs.h. */ |
---|
4291 | #include <string.h> |
---|
4292 | |
---|
4293 | _ACEOF |
---|
4294 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4295 | $EGREP "memchr" >/dev/null 2>&1; then |
---|
4296 | : |
---|
4297 | else |
---|
4298 | ac_cv_header_stdc=no |
---|
4299 | fi |
---|
4300 | rm -f conftest* |
---|
4301 | |
---|
4302 | fi |
---|
4303 | |
---|
4304 | if test $ac_cv_header_stdc = yes; then |
---|
4305 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
4306 | cat >conftest.$ac_ext <<_ACEOF |
---|
4307 | /* confdefs.h. */ |
---|
4308 | _ACEOF |
---|
4309 | cat confdefs.h >>conftest.$ac_ext |
---|
4310 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4311 | /* end confdefs.h. */ |
---|
4312 | #include <stdlib.h> |
---|
4313 | |
---|
4314 | _ACEOF |
---|
4315 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
4316 | $EGREP "free" >/dev/null 2>&1; then |
---|
4317 | : |
---|
4318 | else |
---|
4319 | ac_cv_header_stdc=no |
---|
4320 | fi |
---|
4321 | rm -f conftest* |
---|
4322 | |
---|
4323 | fi |
---|
4324 | |
---|
4325 | if test $ac_cv_header_stdc = yes; then |
---|
4326 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
4327 | if test "$cross_compiling" = yes; then |
---|
4328 | : |
---|
4329 | else |
---|
4330 | cat >conftest.$ac_ext <<_ACEOF |
---|
4331 | /* confdefs.h. */ |
---|
4332 | _ACEOF |
---|
4333 | cat confdefs.h >>conftest.$ac_ext |
---|
4334 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4335 | /* end confdefs.h. */ |
---|
4336 | #include <ctype.h> |
---|
4337 | #include <stdlib.h> |
---|
4338 | #if ((' ' & 0x0FF) == 0x020) |
---|
4339 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
4340 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
4341 | #else |
---|
4342 | # define ISLOWER(c) \ |
---|
4343 | (('a' <= (c) && (c) <= 'i') \ |
---|
4344 | || ('j' <= (c) && (c) <= 'r') \ |
---|
4345 | || ('s' <= (c) && (c) <= 'z')) |
---|
4346 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
4347 | #endif |
---|
4348 | |
---|
4349 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
4350 | int |
---|
4351 | main () |
---|
4352 | { |
---|
4353 | int i; |
---|
4354 | for (i = 0; i < 256; i++) |
---|
4355 | if (XOR (islower (i), ISLOWER (i)) |
---|
4356 | || toupper (i) != TOUPPER (i)) |
---|
4357 | return 2; |
---|
4358 | return 0; |
---|
4359 | } |
---|
4360 | _ACEOF |
---|
4361 | rm -f conftest$ac_exeext |
---|
4362 | if { (ac_try="$ac_link" |
---|
4363 | case "(($ac_try" in |
---|
4364 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4365 | *) ac_try_echo=$ac_try;; |
---|
4366 | esac |
---|
4367 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4368 | (eval "$ac_link") 2>&5 |
---|
4369 | ac_status=$? |
---|
4370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4371 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
---|
4372 | { (case "(($ac_try" in |
---|
4373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4374 | *) ac_try_echo=$ac_try;; |
---|
4375 | esac |
---|
4376 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4377 | (eval "$ac_try") 2>&5 |
---|
4378 | ac_status=$? |
---|
4379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4380 | (exit $ac_status); }; }; then |
---|
4381 | : |
---|
4382 | else |
---|
4383 | echo "$as_me: program exited with status $ac_status" >&5 |
---|
4384 | echo "$as_me: failed program was:" >&5 |
---|
4385 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4386 | |
---|
4387 | ( exit $ac_status ) |
---|
4388 | ac_cv_header_stdc=no |
---|
4389 | fi |
---|
4390 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
---|
4391 | fi |
---|
4392 | |
---|
4393 | |
---|
4394 | fi |
---|
4395 | fi |
---|
4396 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
---|
4397 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
---|
4398 | if test $ac_cv_header_stdc = yes; then |
---|
4399 | |
---|
4400 | cat >>confdefs.h <<\_ACEOF |
---|
4401 | #define STDC_HEADERS 1 |
---|
4402 | _ACEOF |
---|
4403 | |
---|
4404 | fi |
---|
4405 | |
---|
4406 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
---|
4407 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
---|
4408 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
---|
4409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4410 | else |
---|
4411 | cat >conftest.$ac_ext <<_ACEOF |
---|
4412 | /* confdefs.h. */ |
---|
4413 | _ACEOF |
---|
4414 | cat confdefs.h >>conftest.$ac_ext |
---|
4415 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4416 | /* end confdefs.h. */ |
---|
4417 | #include <sys/types.h> |
---|
4418 | #include <sys/wait.h> |
---|
4419 | #ifndef WEXITSTATUS |
---|
4420 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
---|
4421 | #endif |
---|
4422 | #ifndef WIFEXITED |
---|
4423 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
---|
4424 | #endif |
---|
4425 | |
---|
4426 | int |
---|
4427 | main () |
---|
4428 | { |
---|
4429 | int s; |
---|
4430 | wait (&s); |
---|
4431 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
---|
4432 | ; |
---|
4433 | return 0; |
---|
4434 | } |
---|
4435 | _ACEOF |
---|
4436 | rm -f conftest.$ac_objext |
---|
4437 | if { (ac_try="$ac_compile" |
---|
4438 | case "(($ac_try" in |
---|
4439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4440 | *) ac_try_echo=$ac_try;; |
---|
4441 | esac |
---|
4442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4443 | (eval "$ac_compile") 2>conftest.er1 |
---|
4444 | ac_status=$? |
---|
4445 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4446 | rm -f conftest.er1 |
---|
4447 | cat conftest.err >&5 |
---|
4448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4449 | (exit $ac_status); } && { |
---|
4450 | test -z "$ac_c_werror_flag" || |
---|
4451 | test ! -s conftest.err |
---|
4452 | } && test -s conftest.$ac_objext; then |
---|
4453 | ac_cv_header_sys_wait_h=yes |
---|
4454 | else |
---|
4455 | echo "$as_me: failed program was:" >&5 |
---|
4456 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4457 | |
---|
4458 | ac_cv_header_sys_wait_h=no |
---|
4459 | fi |
---|
4460 | |
---|
4461 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4462 | fi |
---|
4463 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
---|
4464 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
---|
4465 | if test $ac_cv_header_sys_wait_h = yes; then |
---|
4466 | |
---|
4467 | cat >>confdefs.h <<\_ACEOF |
---|
4468 | #define HAVE_SYS_WAIT_H 1 |
---|
4469 | _ACEOF |
---|
4470 | |
---|
4471 | fi |
---|
4472 | |
---|
4473 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
4474 | |
---|
4475 | |
---|
4476 | |
---|
4477 | |
---|
4478 | |
---|
4479 | |
---|
4480 | |
---|
4481 | |
---|
4482 | |
---|
4483 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
4484 | inttypes.h stdint.h unistd.h |
---|
4485 | do |
---|
4486 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4487 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4488 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
4489 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4490 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4491 | else |
---|
4492 | cat >conftest.$ac_ext <<_ACEOF |
---|
4493 | /* confdefs.h. */ |
---|
4494 | _ACEOF |
---|
4495 | cat confdefs.h >>conftest.$ac_ext |
---|
4496 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4497 | /* end confdefs.h. */ |
---|
4498 | $ac_includes_default |
---|
4499 | |
---|
4500 | #include <$ac_header> |
---|
4501 | _ACEOF |
---|
4502 | rm -f conftest.$ac_objext |
---|
4503 | if { (ac_try="$ac_compile" |
---|
4504 | case "(($ac_try" in |
---|
4505 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4506 | *) ac_try_echo=$ac_try;; |
---|
4507 | esac |
---|
4508 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4509 | (eval "$ac_compile") 2>conftest.er1 |
---|
4510 | ac_status=$? |
---|
4511 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4512 | rm -f conftest.er1 |
---|
4513 | cat conftest.err >&5 |
---|
4514 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4515 | (exit $ac_status); } && { |
---|
4516 | test -z "$ac_c_werror_flag" || |
---|
4517 | test ! -s conftest.err |
---|
4518 | } && test -s conftest.$ac_objext; then |
---|
4519 | eval "$as_ac_Header=yes" |
---|
4520 | else |
---|
4521 | echo "$as_me: failed program was:" >&5 |
---|
4522 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4523 | |
---|
4524 | eval "$as_ac_Header=no" |
---|
4525 | fi |
---|
4526 | |
---|
4527 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4528 | fi |
---|
4529 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
4530 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4531 | echo "${ECHO_T}$ac_res" >&6; } |
---|
4532 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
4533 | cat >>confdefs.h <<_ACEOF |
---|
4534 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4535 | _ACEOF |
---|
4536 | |
---|
4537 | fi |
---|
4538 | |
---|
4539 | done |
---|
4540 | |
---|
4541 | |
---|
4542 | |
---|
4543 | |
---|
4544 | |
---|
4545 | |
---|
4546 | |
---|
4547 | for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h |
---|
4548 | do |
---|
4549 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
4550 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4551 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4552 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
4553 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4554 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4555 | fi |
---|
4556 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
4557 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4558 | echo "${ECHO_T}$ac_res" >&6; } |
---|
4559 | else |
---|
4560 | # Is the header compilable? |
---|
4561 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
---|
4562 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
---|
4563 | cat >conftest.$ac_ext <<_ACEOF |
---|
4564 | /* confdefs.h. */ |
---|
4565 | _ACEOF |
---|
4566 | cat confdefs.h >>conftest.$ac_ext |
---|
4567 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4568 | /* end confdefs.h. */ |
---|
4569 | $ac_includes_default |
---|
4570 | #include <$ac_header> |
---|
4571 | _ACEOF |
---|
4572 | rm -f conftest.$ac_objext |
---|
4573 | if { (ac_try="$ac_compile" |
---|
4574 | case "(($ac_try" in |
---|
4575 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4576 | *) ac_try_echo=$ac_try;; |
---|
4577 | esac |
---|
4578 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4579 | (eval "$ac_compile") 2>conftest.er1 |
---|
4580 | ac_status=$? |
---|
4581 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4582 | rm -f conftest.er1 |
---|
4583 | cat conftest.err >&5 |
---|
4584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4585 | (exit $ac_status); } && { |
---|
4586 | test -z "$ac_c_werror_flag" || |
---|
4587 | test ! -s conftest.err |
---|
4588 | } && test -s conftest.$ac_objext; then |
---|
4589 | ac_header_compiler=yes |
---|
4590 | else |
---|
4591 | echo "$as_me: failed program was:" >&5 |
---|
4592 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4593 | |
---|
4594 | ac_header_compiler=no |
---|
4595 | fi |
---|
4596 | |
---|
4597 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
4598 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
---|
4599 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
---|
4600 | |
---|
4601 | # Is the header present? |
---|
4602 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
---|
4603 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
---|
4604 | cat >conftest.$ac_ext <<_ACEOF |
---|
4605 | /* confdefs.h. */ |
---|
4606 | _ACEOF |
---|
4607 | cat confdefs.h >>conftest.$ac_ext |
---|
4608 | cat >>conftest.$ac_ext <<_ACEOF |
---|
4609 | /* end confdefs.h. */ |
---|
4610 | #include <$ac_header> |
---|
4611 | _ACEOF |
---|
4612 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
---|
4613 | case "(($ac_try" in |
---|
4614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
4615 | *) ac_try_echo=$ac_try;; |
---|
4616 | esac |
---|
4617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
---|
4618 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
---|
4619 | ac_status=$? |
---|
4620 | grep -v '^ *+' conftest.er1 >conftest.err |
---|
4621 | rm -f conftest.er1 |
---|
4622 | cat conftest.err >&5 |
---|
4623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4624 | (exit $ac_status); } >/dev/null && { |
---|
4625 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
4626 | test ! -s conftest.err |
---|
4627 | }; then |
---|
4628 | ac_header_preproc=yes |
---|
4629 | else |
---|
4630 | echo "$as_me: failed program was:" >&5 |
---|
4631 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
4632 | |
---|
4633 | ac_header_preproc=no |
---|
4634 | fi |
---|
4635 | |
---|
4636 | rm -f conftest.err conftest.$ac_ext |
---|
4637 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
---|
4638 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
---|
4639 | |
---|
4640 | # So? What about this header? |
---|
4641 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
---|
4642 | yes:no: ) |
---|
4643 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
4644 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
4645 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
---|
4646 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
---|
4647 | ac_header_preproc=yes |
---|
4648 | ;; |
---|
4649 | no:yes:* ) |
---|
4650 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
---|
4651 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
---|
4652 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
---|
4653 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
---|
4654 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
---|
4655 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
---|
4656 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
---|
4657 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
4658 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
---|
4659 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
---|
4660 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
---|
4661 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
---|
4662 | |
---|
4663 | ;; |
---|
4664 | esac |
---|
4665 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
---|
4666 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
---|
4667 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
---|
4668 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4669 | else |
---|
4670 | eval "$as_ac_Header=\$ac_header_preproc" |
---|
4671 | fi |
---|
4672 | ac_res=`eval echo '${'$as_ac_Header'}'` |
---|
4673 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
---|
4674 | echo "${ECHO_T}$ac_res" >&6; } |
---|
4675 | |
---|
4676 | fi |
---|
4677 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
---|
4678 | cat >>confdefs.h <<_ACEOF |
---|
4679 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
4680 | _ACEOF |
---|
4681 | |
---|
4682 | fi |
---|
4683 | |
---|
4684 | done |
---|
4685 | |
---|
4686 | |
---|
4687 | |
---|
4688 | |
---|
4689 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
---|
4690 | if test -n "$ac_tool_prefix"; then |
---|
4691 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
---|
4692 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
---|
4693 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4694 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
4695 | if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
---|
4696 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4697 | else |
---|
4698 | case $PKG_CONFIG in |
---|
4699 | [\\/]* | ?:[\\/]*) |
---|
4700 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
4701 | ;; |
---|
4702 | *) |
---|
4703 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4704 | for as_dir in $PATH |
---|
4705 | do |
---|
4706 | IFS=$as_save_IFS |
---|
4707 | test -z "$as_dir" && as_dir=. |
---|
4708 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4709 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4710 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4711 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4712 | break 2 |
---|
4713 | fi |
---|
4714 | done |
---|
4715 | done |
---|
4716 | IFS=$as_save_IFS |
---|
4717 | |
---|
4718 | ;; |
---|
4719 | esac |
---|
4720 | fi |
---|
4721 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
4722 | if test -n "$PKG_CONFIG"; then |
---|
4723 | { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
---|
4724 | echo "${ECHO_T}$PKG_CONFIG" >&6; } |
---|
4725 | else |
---|
4726 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
4727 | echo "${ECHO_T}no" >&6; } |
---|
4728 | fi |
---|
4729 | |
---|
4730 | |
---|
4731 | fi |
---|
4732 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
---|
4733 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
---|
4734 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
4735 | set dummy pkg-config; ac_word=$2 |
---|
4736 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
---|
4737 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
---|
4738 | if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then |
---|
4739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4740 | else |
---|
4741 | case $ac_pt_PKG_CONFIG in |
---|
4742 | [\\/]* | ?:[\\/]*) |
---|
4743 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
---|
4744 | ;; |
---|
4745 | *) |
---|
4746 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
4747 | for as_dir in $PATH |
---|
4748 | do |
---|
4749 | IFS=$as_save_IFS |
---|
4750 | test -z "$as_dir" && as_dir=. |
---|
4751 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
4752 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
---|
4753 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
4754 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
4755 | break 2 |
---|
4756 | fi |
---|
4757 | done |
---|
4758 | done |
---|
4759 | IFS=$as_save_IFS |
---|
4760 | |
---|
4761 | ;; |
---|
4762 | esac |
---|
4763 | fi |
---|
4764 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
---|
4765 | if test -n "$ac_pt_PKG_CONFIG"; then |
---|
4766 | { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 |
---|
4767 | echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } |
---|
4768 | else |
---|
4769 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
4770 | echo "${ECHO_T}no" >&6; } |
---|
4771 | fi |
---|
4772 | |
---|
4773 | if test "x$ac_pt_PKG_CONFIG" = x; then |
---|
4774 | PKG_CONFIG="" |
---|
4775 | else |
---|
4776 | case $cross_compiling:$ac_tool_warned in |
---|
4777 | yes:) |
---|
4778 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
---|
4779 | whose name does not start with the host triplet. If you think this |
---|
4780 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
---|
4781 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
---|
4782 | whose name does not start with the host triplet. If you think this |
---|
4783 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
---|
4784 | ac_tool_warned=yes ;; |
---|
4785 | esac |
---|
4786 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
---|
4787 | fi |
---|
4788 | else |
---|
4789 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
4790 | fi |
---|
4791 | |
---|
4792 | fi |
---|
4793 | if test -n "$PKG_CONFIG"; then |
---|
4794 | _pkg_min_version=0.9.0 |
---|
4795 | { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 |
---|
4796 | echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } |
---|
4797 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
---|
4798 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
4799 | echo "${ECHO_T}yes" >&6; } |
---|
4800 | else |
---|
4801 | { echo "$as_me:$LINENO: result: no" >&5 |
---|
4802 | echo "${ECHO_T}no" >&6; } |
---|
4803 | PKG_CONFIG="" |
---|
4804 | fi |
---|
4805 | |
---|
4806 | fi |
---|
4807 | |
---|
4808 | pkg_failed=no |
---|
4809 | { echo "$as_me:$LINENO: checking for GLIB" >&5 |
---|
4810 | echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } |
---|
4811 | |
---|
4812 | if test -n "$PKG_CONFIG"; then |
---|
4813 | if test -n "$GLIB_CFLAGS"; then |
---|
4814 | pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" |
---|
4815 | else |
---|
4816 | if test -n "$PKG_CONFIG" && \ |
---|
4817 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
---|
4818 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
---|
4819 | ac_status=$? |
---|
4820 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4821 | (exit $ac_status); }; then |
---|
4822 | pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` |
---|
4823 | else |
---|
4824 | pkg_failed=yes |
---|
4825 | fi |
---|
4826 | fi |
---|
4827 | else |
---|
4828 | pkg_failed=untried |
---|
4829 | fi |
---|
4830 | if test -n "$PKG_CONFIG"; then |
---|
4831 | if test -n "$GLIB_LIBS"; then |
---|
4832 | pkg_cv_GLIB_LIBS="$GLIB_LIBS" |
---|
4833 | else |
---|
4834 | if test -n "$PKG_CONFIG" && \ |
---|
4835 | { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5 |
---|
4836 | ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 |
---|
4837 | ac_status=$? |
---|
4838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
4839 | (exit $ac_status); }; then |
---|
4840 | pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` |
---|
4841 | else |
---|
4842 | pkg_failed=yes |
---|
4843 | fi |
---|
4844 | fi |
---|
4845 | else |
---|
4846 | pkg_failed=untried |
---|
4847 | fi |
---|
4848 | |
---|
4849 | |
---|
4850 | |
---|
4851 | if test $pkg_failed = yes; then |
---|
4852 | |
---|
4853 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
---|
4854 | _pkg_short_errors_supported=yes |
---|
4855 | else |
---|
4856 | _pkg_short_errors_supported=no |
---|
4857 | fi |
---|
4858 | if test $_pkg_short_errors_supported = yes; then |
---|
4859 | GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"` |
---|
4860 | else |
---|
4861 | GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"` |
---|
4862 | fi |
---|
4863 | # Put the nasty error message in config.log where it belongs |
---|
4864 | echo "$GLIB_PKG_ERRORS" >&5 |
---|
4865 | |
---|
4866 | { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met: |
---|
4867 | |
---|
4868 | $GLIB_PKG_ERRORS |
---|
4869 | |
---|
4870 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
4871 | installed software in a non-standard prefix. |
---|
4872 | |
---|
4873 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4874 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4875 | See the pkg-config man page for more details. |
---|
4876 | " >&5 |
---|
4877 | echo "$as_me: error: Package requirements (glib-2.0) were not met: |
---|
4878 | |
---|
4879 | $GLIB_PKG_ERRORS |
---|
4880 | |
---|
4881 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
4882 | installed software in a non-standard prefix. |
---|
4883 | |
---|
4884 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4885 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4886 | See the pkg-config man page for more details. |
---|
4887 | " >&2;} |
---|
4888 | { (exit 1); exit 1; }; } |
---|
4889 | elif test $pkg_failed = untried; then |
---|
4890 | { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it |
---|
4891 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
4892 | path to pkg-config. |
---|
4893 | |
---|
4894 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4895 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4896 | See the pkg-config man page for more details. |
---|
4897 | |
---|
4898 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. |
---|
4899 | See \`config.log' for more details." >&5 |
---|
4900 | echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it |
---|
4901 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
4902 | path to pkg-config. |
---|
4903 | |
---|
4904 | Alternatively, you may set the environment variables GLIB_CFLAGS |
---|
4905 | and GLIB_LIBS to avoid the need to call pkg-config. |
---|
4906 | See the pkg-config man page for more details. |
---|
4907 | |
---|
4908 | To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. |
---|
4909 | See \`config.log' for more details." >&2;} |
---|
4910 | { (exit 1); exit 1; }; } |
---|
4911 | else |
---|
4912 | GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS |
---|
4913 | GLIB_LIBS=$pkg_cv_GLIB_LIBS |
---|
4914 | { echo "$as_me:$LINENO: result: yes" >&5 |
---|
4915 | echo "${ECHO_T}yes" >&6; } |
---|
4916 | : |
---|
4917 | fi |
---|
4918 | |
---|
4919 | echo Adding glib-2.0 CFLAGS ${GLIB_CFLAGS} |
---|
4920 | CFLAGS="${GLIB_CFLAGS} ${CFLAGS}" |
---|
4921 | echo Adding glib-2.0 LDFLAGS ${GLIB_LIBS} |
---|
4922 | LDFLAGS="${GLIB_LIBS} ${LDFLAGS}" |
---|
4923 | |
---|
4924 | FOO=`perl -MExtUtils::Embed -e ccopts` |
---|
4925 | echo Adding perl CFLAGS ${FOO} |
---|
4926 | CFLAGS=${CFLAGS}\ ${FOO} |
---|
4927 | |
---|
4928 | { echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5 |
---|
4929 | echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; } |
---|
4930 | XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`" |
---|
4931 | if test -n "${XSUBPPDIR}"; then |
---|
4932 | { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5 |
---|
4933 | echo "${ECHO_T}${XSUBPPDIR}" >&6; } |
---|
4934 | else |
---|
4935 | { { echo "$as_me:$LINENO: error: not found" >&5 |
---|
4936 | echo "$as_me: error: not found" >&2;} |
---|
4937 | { (exit 1); exit 1; }; } |
---|
4938 | fi |
---|
4939 | |
---|
4940 | FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'` |
---|
4941 | echo Adding perl LDFLAGS ${FOO} |
---|
4942 | LDFLAGS=${LDFLAGS}\ ${FOO} |
---|
4943 | |
---|
4944 | { echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5 |
---|
4945 | echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; } |
---|
4946 | if test "${ac_cv_file__usr_share_terminfo+set}" = set; then |
---|
4947 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4948 | else |
---|
4949 | test "$cross_compiling" = yes && |
---|
4950 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
4951 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
4952 | { (exit 1); exit 1; }; } |
---|
4953 | if test -r "/usr/share/terminfo"; then |
---|
4954 | ac_cv_file__usr_share_terminfo=yes |
---|
4955 | else |
---|
4956 | ac_cv_file__usr_share_terminfo=no |
---|
4957 | fi |
---|
4958 | fi |
---|
4959 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5 |
---|
4960 | echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; } |
---|
4961 | if test $ac_cv_file__usr_share_terminfo = yes; then |
---|
4962 | |
---|
4963 | cat >>confdefs.h <<\_ACEOF |
---|
4964 | #define TERMINFO "/usr/share/terminfo" |
---|
4965 | _ACEOF |
---|
4966 | |
---|
4967 | else |
---|
4968 | { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5 |
---|
4969 | echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; } |
---|
4970 | if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then |
---|
4971 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
4972 | else |
---|
4973 | test "$cross_compiling" = yes && |
---|
4974 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
---|
4975 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
---|
4976 | { (exit 1); exit 1; }; } |
---|
4977 | if test -r "/usr/share/lib/terminfo"; then |
---|
4978 | ac_cv_file__usr_share_lib_terminfo=yes |
---|
4979 | else |
---|
4980 | ac_cv_file__usr_share_lib_terminfo=no |
---|
4981 | fi |
---|
4982 | fi |
---|
4983 | { echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5 |
---|
4984 | echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; } |
---|
4985 | if test $ac_cv_file__usr_share_lib_terminfo = yes; then |
---|
4986 | |
---|
4987 | cat >>confdefs.h <<\_ACEOF |
---|
4988 | #define TERMINFO "/usr/share/lib/terminfo" |
---|
4989 | _ACEOF |
---|
4990 | |
---|
4991 | else |
---|
4992 | { { echo "$as_me:$LINENO: error: No terminfo found for this system" >&5 |
---|
4993 | echo "$as_me: error: No terminfo found for this system" >&2;} |
---|
4994 | { (exit 1); exit 1; }; } |
---|
4995 | fi |
---|
4996 | |
---|
4997 | fi |
---|
4998 | |
---|
4999 | |
---|
5000 | |
---|
5001 | |
---|
5002 | ac_aux_dir= |
---|
5003 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
5004 | if test -f "$ac_dir/install-sh"; then |
---|
5005 | ac_aux_dir=$ac_dir |
---|
5006 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
5007 | break |
---|
5008 | elif test -f "$ac_dir/install.sh"; then |
---|
5009 | ac_aux_dir=$ac_dir |
---|
5010 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
5011 | break |
---|
5012 | elif test -f "$ac_dir/shtool"; then |
---|
5013 | ac_aux_dir=$ac_dir |
---|
5014 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
5015 | break |
---|
5016 | fi |
---|
5017 | done |
---|
5018 | if test -z "$ac_aux_dir"; then |
---|
5019 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
---|
5020 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
---|
5021 | { (exit 1); exit 1; }; } |
---|
5022 | fi |
---|
5023 | |
---|
5024 | # These three variables are undocumented and unsupported, |
---|
5025 | # and are intended to be withdrawn in a future Autoconf release. |
---|
5026 | # They can cause serious problems if a builder's source tree is in a directory |
---|
5027 | # whose full name contains unusual characters. |
---|
5028 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
5029 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
5030 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
5031 | |
---|
5032 | |
---|
5033 | # Find a good install program. We prefer a C program (faster), |
---|
5034 | # so one script is as good as another. But avoid the broken or |
---|
5035 | # incompatible versions: |
---|
5036 | # SysV /etc/install, /usr/sbin/install |
---|
5037 | # SunOS /usr/etc/install |
---|
5038 | # IRIX /sbin/install |
---|
5039 | # AIX /bin/install |
---|
5040 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
5041 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
5042 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
5043 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
5044 | # OS/2's system install, which has a completely different semantic |
---|
5045 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
5046 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
---|
5047 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
---|
5048 | if test -z "$INSTALL"; then |
---|
5049 | if test "${ac_cv_path_install+set}" = set; then |
---|
5050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
---|
5051 | else |
---|
5052 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5053 | for as_dir in $PATH |
---|
5054 | do |
---|
5055 | IFS=$as_save_IFS |
---|
5056 | test -z "$as_dir" && as_dir=. |
---|
5057 | # Account for people who put trailing slashes in PATH elements. |
---|
5058 | case $as_dir/ in |
---|
5059 | ./ | .// | /cC/* | \ |
---|
5060 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
5061 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
---|
5062 | /usr/ucb/* ) ;; |
---|
5063 | *) |
---|
5064 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
5065 | # Don't use installbsd from OSF since it installs stuff as root |
---|
5066 | # by default. |
---|
5067 | for ac_prog in ginstall scoinst install; do |
---|
5068 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
5069 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
---|
5070 | if test $ac_prog = install && |
---|
5071 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
5072 | # AIX install. It has an incompatible calling convention. |
---|
5073 | : |
---|
5074 | elif test $ac_prog = install && |
---|
5075 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
5076 | # program-specific install script used by HP pwplus--don't use. |
---|
5077 | : |
---|
5078 | else |
---|
5079 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
5080 | break 3 |
---|
5081 | fi |
---|
5082 | fi |
---|
5083 | done |
---|
5084 | done |
---|
5085 | ;; |
---|
5086 | esac |
---|
5087 | done |
---|
5088 | IFS=$as_save_IFS |
---|
5089 | |
---|
5090 | |
---|
5091 | fi |
---|
5092 | if test "${ac_cv_path_install+set}" = set; then |
---|
5093 | INSTALL=$ac_cv_path_install |
---|
5094 | else |
---|
5095 | # As a last resort, use the slow shell script. Don't cache a |
---|
5096 | # value for INSTALL within a source directory, because that will |
---|
5097 | # break other packages using the cache if that directory is |
---|
5098 | # removed, or if the value is a relative name. |
---|
5099 | INSTALL=$ac_install_sh |
---|
5100 | fi |
---|
5101 | fi |
---|
5102 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
---|
5103 | echo "${ECHO_T}$INSTALL" >&6; } |
---|
5104 | |
---|
5105 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
5106 | # It thinks the first close brace ends the variable substitution. |
---|
5107 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
5108 | |
---|
5109 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
5110 | |
---|
5111 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
5112 | |
---|
5113 | |
---|
5114 | subdirs="$subdirs libfaim" |
---|
5115 | |
---|
5116 | |
---|
5117 | ac_config_files="$ac_config_files Makefile" |
---|
5118 | |
---|
5119 | cat >confcache <<\_ACEOF |
---|
5120 | # This file is a shell script that caches the results of configure |
---|
5121 | # tests run on this system so they can be shared between configure |
---|
5122 | # scripts and configure runs, see configure's option --config-cache. |
---|
5123 | # It is not useful on other systems. If it contains results you don't |
---|
5124 | # want to keep, you may remove or edit it. |
---|
5125 | # |
---|
5126 | # config.status only pays attention to the cache file if you give it |
---|
5127 | # the --recheck option to rerun configure. |
---|
5128 | # |
---|
5129 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
5130 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
5131 | # following values. |
---|
5132 | |
---|
5133 | _ACEOF |
---|
5134 | |
---|
5135 | # The following way of writing the cache mishandles newlines in values, |
---|
5136 | # but we know of no workaround that is simple, portable, and efficient. |
---|
5137 | # So, we kill variables containing newlines. |
---|
5138 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
5139 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
5140 | ( |
---|
5141 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
5142 | eval ac_val=\$$ac_var |
---|
5143 | case $ac_val in #( |
---|
5144 | *${as_nl}*) |
---|
5145 | case $ac_var in #( |
---|
5146 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
---|
5147 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
---|
5148 | esac |
---|
5149 | case $ac_var in #( |
---|
5150 | _ | IFS | as_nl) ;; #( |
---|
5151 | *) $as_unset $ac_var ;; |
---|
5152 | esac ;; |
---|
5153 | esac |
---|
5154 | done |
---|
5155 | |
---|
5156 | (set) 2>&1 | |
---|
5157 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
5158 | *${as_nl}ac_space=\ *) |
---|
5159 | # `set' does not quote correctly, so add quotes (double-quote |
---|
5160 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
---|
5161 | sed -n \ |
---|
5162 | "s/'/'\\\\''/g; |
---|
5163 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
5164 | ;; #( |
---|
5165 | *) |
---|
5166 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
5167 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
5168 | ;; |
---|
5169 | esac | |
---|
5170 | sort |
---|
5171 | ) | |
---|
5172 | sed ' |
---|
5173 | /^ac_cv_env_/b end |
---|
5174 | t clear |
---|
5175 | :clear |
---|
5176 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
5177 | t end |
---|
5178 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
5179 | :end' >>confcache |
---|
5180 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
5181 | if test -w "$cache_file"; then |
---|
5182 | test "x$cache_file" != "x/dev/null" && |
---|
5183 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
---|
5184 | echo "$as_me: updating cache $cache_file" >&6;} |
---|
5185 | cat confcache >$cache_file |
---|
5186 | else |
---|
5187 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
---|
5188 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
5189 | fi |
---|
5190 | fi |
---|
5191 | rm -f confcache |
---|
5192 | |
---|
5193 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
5194 | # Let make expand exec_prefix. |
---|
5195 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
5196 | |
---|
5197 | DEFS=-DHAVE_CONFIG_H |
---|
5198 | |
---|
5199 | ac_libobjs= |
---|
5200 | ac_ltlibobjs= |
---|
5201 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
5202 | # 1. Remove the extension, and $U if already installed. |
---|
5203 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
5204 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
---|
5205 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
5206 | # will be set to the directory where LIBOBJS objects are built. |
---|
5207 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
5208 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
5209 | done |
---|
5210 | LIBOBJS=$ac_libobjs |
---|
5211 | |
---|
5212 | LTLIBOBJS=$ac_ltlibobjs |
---|
5213 | |
---|
5214 | |
---|
5215 | |
---|
5216 | : ${CONFIG_STATUS=./config.status} |
---|
5217 | ac_clean_files_save=$ac_clean_files |
---|
5218 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
5219 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
---|
5220 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
5221 | cat >$CONFIG_STATUS <<_ACEOF |
---|
5222 | #! $SHELL |
---|
5223 | # Generated by $as_me. |
---|
5224 | # Run this file to recreate the current configuration. |
---|
5225 | # Compiler output produced by configure, useful for debugging |
---|
5226 | # configure, is in config.log if it exists. |
---|
5227 | |
---|
5228 | debug=false |
---|
5229 | ac_cs_recheck=false |
---|
5230 | ac_cs_silent=false |
---|
5231 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
5232 | _ACEOF |
---|
5233 | |
---|
5234 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5235 | ## --------------------- ## |
---|
5236 | ## M4sh Initialization. ## |
---|
5237 | ## --------------------- ## |
---|
5238 | |
---|
5239 | # Be more Bourne compatible |
---|
5240 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
5241 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
---|
5242 | emulate sh |
---|
5243 | NULLCMD=: |
---|
5244 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
---|
5245 | # is contrary to our usage. Disable this feature. |
---|
5246 | alias -g '${1+"$@"}'='"$@"' |
---|
5247 | setopt NO_GLOB_SUBST |
---|
5248 | else |
---|
5249 | case `(set -o) 2>/dev/null` in |
---|
5250 | *posix*) set -o posix ;; |
---|
5251 | esac |
---|
5252 | |
---|
5253 | fi |
---|
5254 | |
---|
5255 | |
---|
5256 | |
---|
5257 | |
---|
5258 | # PATH needs CR |
---|
5259 | # Avoid depending upon Character Ranges. |
---|
5260 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
5261 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
5262 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
5263 | as_cr_digits='0123456789' |
---|
5264 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
5265 | |
---|
5266 | # The user is always right. |
---|
5267 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
5268 | echo "#! /bin/sh" >conf$$.sh |
---|
5269 | echo "exit 0" >>conf$$.sh |
---|
5270 | chmod +x conf$$.sh |
---|
5271 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
---|
5272 | PATH_SEPARATOR=';' |
---|
5273 | else |
---|
5274 | PATH_SEPARATOR=: |
---|
5275 | fi |
---|
5276 | rm -f conf$$.sh |
---|
5277 | fi |
---|
5278 | |
---|
5279 | # Support unset when possible. |
---|
5280 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
---|
5281 | as_unset=unset |
---|
5282 | else |
---|
5283 | as_unset=false |
---|
5284 | fi |
---|
5285 | |
---|
5286 | |
---|
5287 | # IFS |
---|
5288 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
5289 | # there to prevent editors from complaining about space-tab. |
---|
5290 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
5291 | # splitting by setting IFS to empty value.) |
---|
5292 | as_nl=' |
---|
5293 | ' |
---|
5294 | IFS=" "" $as_nl" |
---|
5295 | |
---|
5296 | # Find who we are. Look in the path if we contain no directory separator. |
---|
5297 | case $0 in |
---|
5298 | *[\\/]* ) as_myself=$0 ;; |
---|
5299 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
5300 | for as_dir in $PATH |
---|
5301 | do |
---|
5302 | IFS=$as_save_IFS |
---|
5303 | test -z "$as_dir" && as_dir=. |
---|
5304 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
5305 | done |
---|
5306 | IFS=$as_save_IFS |
---|
5307 | |
---|
5308 | ;; |
---|
5309 | esac |
---|
5310 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
5311 | # in which case we are not to be found in the path. |
---|
5312 | if test "x$as_myself" = x; then |
---|
5313 | as_myself=$0 |
---|
5314 | fi |
---|
5315 | if test ! -f "$as_myself"; then |
---|
5316 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
5317 | { (exit 1); exit 1; } |
---|
5318 | fi |
---|
5319 | |
---|
5320 | # Work around bugs in pre-3.0 UWIN ksh. |
---|
5321 | for as_var in ENV MAIL MAILPATH |
---|
5322 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
5323 | done |
---|
5324 | PS1='$ ' |
---|
5325 | PS2='> ' |
---|
5326 | PS4='+ ' |
---|
5327 | |
---|
5328 | # NLS nuisances. |
---|
5329 | for as_var in \ |
---|
5330 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
---|
5331 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
---|
5332 | LC_TELEPHONE LC_TIME |
---|
5333 | do |
---|
5334 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
---|
5335 | eval $as_var=C; export $as_var |
---|
5336 | else |
---|
5337 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
---|
5338 | fi |
---|
5339 | done |
---|
5340 | |
---|
5341 | # Required to use basename. |
---|
5342 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
5343 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
5344 | as_expr=expr |
---|
5345 | else |
---|
5346 | as_expr=false |
---|
5347 | fi |
---|
5348 | |
---|
5349 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
5350 | as_basename=basename |
---|
5351 | else |
---|
5352 | as_basename=false |
---|
5353 | fi |
---|
5354 | |
---|
5355 | |
---|
5356 | # Name of the executable. |
---|
5357 | as_me=`$as_basename -- "$0" || |
---|
5358 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
5359 | X"$0" : 'X\(//\)$' \| \ |
---|
5360 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
5361 | echo X/"$0" | |
---|
5362 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
5363 | s//\1/ |
---|
5364 | q |
---|
5365 | } |
---|
5366 | /^X\/\(\/\/\)$/{ |
---|
5367 | s//\1/ |
---|
5368 | q |
---|
5369 | } |
---|
5370 | /^X\/\(\/\).*/{ |
---|
5371 | s//\1/ |
---|
5372 | q |
---|
5373 | } |
---|
5374 | s/.*/./; q'` |
---|
5375 | |
---|
5376 | # CDPATH. |
---|
5377 | $as_unset CDPATH |
---|
5378 | |
---|
5379 | |
---|
5380 | |
---|
5381 | as_lineno_1=$LINENO |
---|
5382 | as_lineno_2=$LINENO |
---|
5383 | test "x$as_lineno_1" != "x$as_lineno_2" && |
---|
5384 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
---|
5385 | |
---|
5386 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
---|
5387 | # uniformly replaced by the line number. The first 'sed' inserts a |
---|
5388 | # line-number line after each line using $LINENO; the second 'sed' |
---|
5389 | # does the real work. The second script uses 'N' to pair each |
---|
5390 | # line-number line with the line containing $LINENO, and appends |
---|
5391 | # trailing '-' during substitution so that $LINENO is not a special |
---|
5392 | # case at line end. |
---|
5393 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
---|
5394 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
---|
5395 | # E. McMahon (1931-1989) for sed's syntax. :-) |
---|
5396 | sed -n ' |
---|
5397 | p |
---|
5398 | /[$]LINENO/= |
---|
5399 | ' <$as_myself | |
---|
5400 | sed ' |
---|
5401 | s/[$]LINENO.*/&-/ |
---|
5402 | t lineno |
---|
5403 | b |
---|
5404 | :lineno |
---|
5405 | N |
---|
5406 | :loop |
---|
5407 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
5408 | t loop |
---|
5409 | s/-\n.*// |
---|
5410 | ' >$as_me.lineno && |
---|
5411 | chmod +x "$as_me.lineno" || |
---|
5412 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
---|
5413 | { (exit 1); exit 1; }; } |
---|
5414 | |
---|
5415 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
5416 | # (the dirname of $[0] is not the place where we might find the |
---|
5417 | # original and so on. Autoconf is especially sensitive to this). |
---|
5418 | . "./$as_me.lineno" |
---|
5419 | # Exit status is that of the last command. |
---|
5420 | exit |
---|
5421 | } |
---|
5422 | |
---|
5423 | |
---|
5424 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
5425 | as_dirname=dirname |
---|
5426 | else |
---|
5427 | as_dirname=false |
---|
5428 | fi |
---|
5429 | |
---|
5430 | ECHO_C= ECHO_N= ECHO_T= |
---|
5431 | case `echo -n x` in |
---|
5432 | -n*) |
---|
5433 | case `echo 'x\c'` in |
---|
5434 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
5435 | *) ECHO_C='\c';; |
---|
5436 | esac;; |
---|
5437 | *) |
---|
5438 | ECHO_N='-n';; |
---|
5439 | esac |
---|
5440 | |
---|
5441 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
5442 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
5443 | as_expr=expr |
---|
5444 | else |
---|
5445 | as_expr=false |
---|
5446 | fi |
---|
5447 | |
---|
5448 | rm -f conf$$ conf$$.exe conf$$.file |
---|
5449 | if test -d conf$$.dir; then |
---|
5450 | rm -f conf$$.dir/conf$$.file |
---|
5451 | else |
---|
5452 | rm -f conf$$.dir |
---|
5453 | mkdir conf$$.dir |
---|
5454 | fi |
---|
5455 | echo >conf$$.file |
---|
5456 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
5457 | as_ln_s='ln -s' |
---|
5458 | # ... but there are two gotchas: |
---|
5459 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
5460 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
5461 | # In both cases, we have to default to `cp -p'. |
---|
5462 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
5463 | as_ln_s='cp -p' |
---|
5464 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
5465 | as_ln_s=ln |
---|
5466 | else |
---|
5467 | as_ln_s='cp -p' |
---|
5468 | fi |
---|
5469 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
5470 | rmdir conf$$.dir 2>/dev/null |
---|
5471 | |
---|
5472 | if mkdir -p . 2>/dev/null; then |
---|
5473 | as_mkdir_p=: |
---|
5474 | else |
---|
5475 | test -d ./-p && rmdir ./-p |
---|
5476 | as_mkdir_p=false |
---|
5477 | fi |
---|
5478 | |
---|
5479 | if test -x / >/dev/null 2>&1; then |
---|
5480 | as_test_x='test -x' |
---|
5481 | else |
---|
5482 | if ls -dL / >/dev/null 2>&1; then |
---|
5483 | as_ls_L_option=L |
---|
5484 | else |
---|
5485 | as_ls_L_option= |
---|
5486 | fi |
---|
5487 | as_test_x=' |
---|
5488 | eval sh -c '\'' |
---|
5489 | if test -d "$1"; then |
---|
5490 | test -d "$1/."; |
---|
5491 | else |
---|
5492 | case $1 in |
---|
5493 | -*)set "./$1";; |
---|
5494 | esac; |
---|
5495 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
---|
5496 | ???[sx]*):;;*)false;;esac;fi |
---|
5497 | '\'' sh |
---|
5498 | ' |
---|
5499 | fi |
---|
5500 | as_executable_p=$as_test_x |
---|
5501 | |
---|
5502 | # Sed expression to map a string onto a valid CPP name. |
---|
5503 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
5504 | |
---|
5505 | # Sed expression to map a string onto a valid variable name. |
---|
5506 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
5507 | |
---|
5508 | |
---|
5509 | exec 6>&1 |
---|
5510 | |
---|
5511 | # Save the log message, to keep $[0] and so on meaningful, and to |
---|
5512 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
5513 | # values after options handling. |
---|
5514 | ac_log=" |
---|
5515 | This file was extended by $as_me, which was |
---|
5516 | generated by GNU Autoconf 2.61. Invocation command line was |
---|
5517 | |
---|
5518 | CONFIG_FILES = $CONFIG_FILES |
---|
5519 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
5520 | CONFIG_LINKS = $CONFIG_LINKS |
---|
5521 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
5522 | $ $0 $@ |
---|
5523 | |
---|
5524 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
5525 | " |
---|
5526 | |
---|
5527 | _ACEOF |
---|
5528 | |
---|
5529 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5530 | # Files that config.status was made for. |
---|
5531 | config_files="$ac_config_files" |
---|
5532 | config_headers="$ac_config_headers" |
---|
5533 | |
---|
5534 | _ACEOF |
---|
5535 | |
---|
5536 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5537 | ac_cs_usage="\ |
---|
5538 | \`$as_me' instantiates files from templates according to the |
---|
5539 | current configuration. |
---|
5540 | |
---|
5541 | Usage: $0 [OPTIONS] [FILE]... |
---|
5542 | |
---|
5543 | -h, --help print this help, then exit |
---|
5544 | -V, --version print version number and configuration settings, then exit |
---|
5545 | -q, --quiet do not print progress messages |
---|
5546 | -d, --debug don't remove temporary files |
---|
5547 | --recheck update $as_me by reconfiguring in the same conditions |
---|
5548 | --file=FILE[:TEMPLATE] |
---|
5549 | instantiate the configuration file FILE |
---|
5550 | --header=FILE[:TEMPLATE] |
---|
5551 | instantiate the configuration header FILE |
---|
5552 | |
---|
5553 | Configuration files: |
---|
5554 | $config_files |
---|
5555 | |
---|
5556 | Configuration headers: |
---|
5557 | $config_headers |
---|
5558 | |
---|
5559 | Report bugs to <bug-autoconf@gnu.org>." |
---|
5560 | |
---|
5561 | _ACEOF |
---|
5562 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5563 | ac_cs_version="\\ |
---|
5564 | config.status |
---|
5565 | configured by $0, generated by GNU Autoconf 2.61, |
---|
5566 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
---|
5567 | |
---|
5568 | Copyright (C) 2006 Free Software Foundation, Inc. |
---|
5569 | This config.status script is free software; the Free Software Foundation |
---|
5570 | gives unlimited permission to copy, distribute and modify it." |
---|
5571 | |
---|
5572 | ac_pwd='$ac_pwd' |
---|
5573 | srcdir='$srcdir' |
---|
5574 | INSTALL='$INSTALL' |
---|
5575 | _ACEOF |
---|
5576 | |
---|
5577 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5578 | # If no file are specified by the user, then we need to provide default |
---|
5579 | # value. By we need to know if files were specified by the user. |
---|
5580 | ac_need_defaults=: |
---|
5581 | while test $# != 0 |
---|
5582 | do |
---|
5583 | case $1 in |
---|
5584 | --*=*) |
---|
5585 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
5586 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
5587 | ac_shift=: |
---|
5588 | ;; |
---|
5589 | *) |
---|
5590 | ac_option=$1 |
---|
5591 | ac_optarg=$2 |
---|
5592 | ac_shift=shift |
---|
5593 | ;; |
---|
5594 | esac |
---|
5595 | |
---|
5596 | case $ac_option in |
---|
5597 | # Handling of the options. |
---|
5598 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
5599 | ac_cs_recheck=: ;; |
---|
5600 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
5601 | echo "$ac_cs_version"; exit ;; |
---|
5602 | --debug | --debu | --deb | --de | --d | -d ) |
---|
5603 | debug=: ;; |
---|
5604 | --file | --fil | --fi | --f ) |
---|
5605 | $ac_shift |
---|
5606 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
---|
5607 | ac_need_defaults=false;; |
---|
5608 | --header | --heade | --head | --hea ) |
---|
5609 | $ac_shift |
---|
5610 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
---|
5611 | ac_need_defaults=false;; |
---|
5612 | --he | --h) |
---|
5613 | # Conflict between --help and --header |
---|
5614 | { 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 | 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 | -*) { 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 |
---|
5644 | if \$ac_cs_recheck; then |
---|
5645 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
---|
5646 | CONFIG_SHELL=$SHELL |
---|
5647 | export CONFIG_SHELL |
---|
5648 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
5649 | fi |
---|
5650 | |
---|
5651 | _ACEOF |
---|
5652 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5653 | exec 5>>config.log |
---|
5654 | { |
---|
5655 | echo |
---|
5656 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
5657 | ## Running $as_me. ## |
---|
5658 | _ASBOX |
---|
5659 | echo "$ac_log" |
---|
5660 | } >&5 |
---|
5661 | |
---|
5662 | _ACEOF |
---|
5663 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5664 | _ACEOF |
---|
5665 | |
---|
5666 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5667 | |
---|
5668 | # Handling of arguments. |
---|
5669 | for ac_config_target in $ac_config_targets |
---|
5670 | do |
---|
5671 | case $ac_config_target in |
---|
5672 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
5673 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
5674 | |
---|
5675 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
---|
5676 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
---|
5677 | { (exit 1); exit 1; }; };; |
---|
5678 | esac |
---|
5679 | done |
---|
5680 | |
---|
5681 | |
---|
5682 | # If the user did not use the arguments to specify the items to instantiate, |
---|
5683 | # then the envvar interface is used. Set only those that are not. |
---|
5684 | # We use the long form for the default assignment because of an extremely |
---|
5685 | # bizarre bug on SunOS 4.1.3. |
---|
5686 | if $ac_need_defaults; then |
---|
5687 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
5688 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
5689 | fi |
---|
5690 | |
---|
5691 | # Have a temporary directory for convenience. Make it in the build tree |
---|
5692 | # simply because there is no reason against having it here, and in addition, |
---|
5693 | # creating and moving files from /tmp can sometimes cause problems. |
---|
5694 | # Hook for its removal unless debugging. |
---|
5695 | # Note that there is a small window in which the directory will not be cleaned: |
---|
5696 | # after its creation but before its name has been assigned to `$tmp'. |
---|
5697 | $debug || |
---|
5698 | { |
---|
5699 | tmp= |
---|
5700 | trap 'exit_status=$? |
---|
5701 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
---|
5702 | ' 0 |
---|
5703 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
---|
5704 | } |
---|
5705 | # Create a (secure) tmp directory for tmp files. |
---|
5706 | |
---|
5707 | { |
---|
5708 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
5709 | test -n "$tmp" && test -d "$tmp" |
---|
5710 | } || |
---|
5711 | { |
---|
5712 | tmp=./conf$$-$RANDOM |
---|
5713 | (umask 077 && mkdir "$tmp") |
---|
5714 | } || |
---|
5715 | { |
---|
5716 | echo "$me: cannot create a temporary directory in ." >&2 |
---|
5717 | { (exit 1); exit 1; } |
---|
5718 | } |
---|
5719 | |
---|
5720 | # |
---|
5721 | # Set up the sed scripts for CONFIG_FILES section. |
---|
5722 | # |
---|
5723 | |
---|
5724 | # No need to generate the scripts if there are no CONFIG_FILES. |
---|
5725 | # This happens for instance when ./config.status config.h |
---|
5726 | if test -n "$CONFIG_FILES"; then |
---|
5727 | |
---|
5728 | _ACEOF |
---|
5729 | |
---|
5730 | |
---|
5731 | |
---|
5732 | ac_delim='%!_!# ' |
---|
5733 | for ac_last_try in false false false false false :; do |
---|
5734 | cat >conf$$subs.sed <<_ACEOF |
---|
5735 | SHELL!$SHELL$ac_delim |
---|
5736 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
---|
5737 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
---|
5738 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
---|
5739 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
---|
5740 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
---|
5741 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
---|
5742 | exec_prefix!$exec_prefix$ac_delim |
---|
5743 | prefix!$prefix$ac_delim |
---|
5744 | program_transform_name!$program_transform_name$ac_delim |
---|
5745 | bindir!$bindir$ac_delim |
---|
5746 | sbindir!$sbindir$ac_delim |
---|
5747 | libexecdir!$libexecdir$ac_delim |
---|
5748 | datarootdir!$datarootdir$ac_delim |
---|
5749 | datadir!$datadir$ac_delim |
---|
5750 | sysconfdir!$sysconfdir$ac_delim |
---|
5751 | sharedstatedir!$sharedstatedir$ac_delim |
---|
5752 | localstatedir!$localstatedir$ac_delim |
---|
5753 | includedir!$includedir$ac_delim |
---|
5754 | oldincludedir!$oldincludedir$ac_delim |
---|
5755 | docdir!$docdir$ac_delim |
---|
5756 | infodir!$infodir$ac_delim |
---|
5757 | htmldir!$htmldir$ac_delim |
---|
5758 | dvidir!$dvidir$ac_delim |
---|
5759 | pdfdir!$pdfdir$ac_delim |
---|
5760 | psdir!$psdir$ac_delim |
---|
5761 | libdir!$libdir$ac_delim |
---|
5762 | localedir!$localedir$ac_delim |
---|
5763 | mandir!$mandir$ac_delim |
---|
5764 | DEFS!$DEFS$ac_delim |
---|
5765 | ECHO_C!$ECHO_C$ac_delim |
---|
5766 | ECHO_N!$ECHO_N$ac_delim |
---|
5767 | ECHO_T!$ECHO_T$ac_delim |
---|
5768 | LIBS!$LIBS$ac_delim |
---|
5769 | build_alias!$build_alias$ac_delim |
---|
5770 | host_alias!$host_alias$ac_delim |
---|
5771 | target_alias!$target_alias$ac_delim |
---|
5772 | CC!$CC$ac_delim |
---|
5773 | CFLAGS!$CFLAGS$ac_delim |
---|
5774 | LDFLAGS!$LDFLAGS$ac_delim |
---|
5775 | CPPFLAGS!$CPPFLAGS$ac_delim |
---|
5776 | ac_ct_CC!$ac_ct_CC$ac_delim |
---|
5777 | EXEEXT!$EXEEXT$ac_delim |
---|
5778 | OBJEXT!$OBJEXT$ac_delim |
---|
5779 | CPP!$CPP$ac_delim |
---|
5780 | GREP!$GREP$ac_delim |
---|
5781 | EGREP!$EGREP$ac_delim |
---|
5782 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
---|
5783 | GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim |
---|
5784 | GLIB_LIBS!$GLIB_LIBS$ac_delim |
---|
5785 | XSUBPPDIR!$XSUBPPDIR$ac_delim |
---|
5786 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
---|
5787 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
---|
5788 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
---|
5789 | subdirs!$subdirs$ac_delim |
---|
5790 | LIBOBJS!$LIBOBJS$ac_delim |
---|
5791 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
---|
5792 | _ACEOF |
---|
5793 | |
---|
5794 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 57; then |
---|
5795 | break |
---|
5796 | elif $ac_last_try; then |
---|
5797 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
---|
5798 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
---|
5799 | { (exit 1); exit 1; }; } |
---|
5800 | else |
---|
5801 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
5802 | fi |
---|
5803 | done |
---|
5804 | |
---|
5805 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
---|
5806 | if test -n "$ac_eof"; then |
---|
5807 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
---|
5808 | ac_eof=`expr $ac_eof + 1` |
---|
5809 | fi |
---|
5810 | |
---|
5811 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5812 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
---|
5813 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
---|
5814 | _ACEOF |
---|
5815 | sed ' |
---|
5816 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
---|
5817 | s/^/s,@/; s/!/@,|#_!!_#|/ |
---|
5818 | :n |
---|
5819 | t n |
---|
5820 | s/'"$ac_delim"'$/,g/; t |
---|
5821 | s/$/\\/; p |
---|
5822 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
---|
5823 | ' >>$CONFIG_STATUS <conf$$subs.sed |
---|
5824 | rm -f conf$$subs.sed |
---|
5825 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
5826 | :end |
---|
5827 | s/|#_!!_#|//g |
---|
5828 | CEOF$ac_eof |
---|
5829 | _ACEOF |
---|
5830 | |
---|
5831 | |
---|
5832 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
---|
5833 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
---|
5834 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
5835 | # (actually we leave an empty line to preserve line numbers). |
---|
5836 | if test "x$srcdir" = x.; then |
---|
5837 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
---|
5838 | s/:*\$(srcdir):*/:/ |
---|
5839 | s/:*\${srcdir}:*/:/ |
---|
5840 | s/:*@srcdir@:*/:/ |
---|
5841 | s/^\([^=]*=[ ]*\):*/\1/ |
---|
5842 | s/:*$// |
---|
5843 | s/^[^=]*=[ ]*$// |
---|
5844 | }' |
---|
5845 | fi |
---|
5846 | |
---|
5847 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
5848 | fi # test -n "$CONFIG_FILES" |
---|
5849 | |
---|
5850 | |
---|
5851 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS |
---|
5852 | do |
---|
5853 | case $ac_tag in |
---|
5854 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
5855 | esac |
---|
5856 | case $ac_mode$ac_tag in |
---|
5857 | :[FHL]*:*);; |
---|
5858 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
---|
5859 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
---|
5860 | { (exit 1); exit 1; }; };; |
---|
5861 | :[FH]-) ac_tag=-:-;; |
---|
5862 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
5863 | esac |
---|
5864 | ac_save_IFS=$IFS |
---|
5865 | IFS=: |
---|
5866 | set x $ac_tag |
---|
5867 | IFS=$ac_save_IFS |
---|
5868 | shift |
---|
5869 | ac_file=$1 |
---|
5870 | shift |
---|
5871 | |
---|
5872 | case $ac_mode in |
---|
5873 | :L) ac_source=$1;; |
---|
5874 | :[FH]) |
---|
5875 | ac_file_inputs= |
---|
5876 | for ac_f |
---|
5877 | do |
---|
5878 | case $ac_f in |
---|
5879 | -) ac_f="$tmp/stdin";; |
---|
5880 | *) # Look for the file first in the build tree, then in the source tree |
---|
5881 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
5882 | # because $ac_f cannot contain `:'. |
---|
5883 | test -f "$ac_f" || |
---|
5884 | case $ac_f in |
---|
5885 | [\\/$]*) false;; |
---|
5886 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
5887 | esac || |
---|
5888 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
---|
5889 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
---|
5890 | { (exit 1); exit 1; }; };; |
---|
5891 | esac |
---|
5892 | ac_file_inputs="$ac_file_inputs $ac_f" |
---|
5893 | done |
---|
5894 | |
---|
5895 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
5896 | # use $as_me), people would be surprised to read: |
---|
5897 | # /* config.h. Generated by config.status. */ |
---|
5898 | configure_input="Generated from "`IFS=: |
---|
5899 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
---|
5900 | if test x"$ac_file" != x-; then |
---|
5901 | configure_input="$ac_file. $configure_input" |
---|
5902 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
---|
5903 | echo "$as_me: creating $ac_file" >&6;} |
---|
5904 | fi |
---|
5905 | |
---|
5906 | case $ac_tag in |
---|
5907 | *:-:* | *:-) cat >"$tmp/stdin";; |
---|
5908 | esac |
---|
5909 | ;; |
---|
5910 | esac |
---|
5911 | |
---|
5912 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
5913 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5914 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
5915 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
5916 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
5917 | echo X"$ac_file" | |
---|
5918 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5919 | s//\1/ |
---|
5920 | q |
---|
5921 | } |
---|
5922 | /^X\(\/\/\)[^/].*/{ |
---|
5923 | s//\1/ |
---|
5924 | q |
---|
5925 | } |
---|
5926 | /^X\(\/\/\)$/{ |
---|
5927 | s//\1/ |
---|
5928 | q |
---|
5929 | } |
---|
5930 | /^X\(\/\).*/{ |
---|
5931 | s//\1/ |
---|
5932 | q |
---|
5933 | } |
---|
5934 | s/.*/./; q'` |
---|
5935 | { as_dir="$ac_dir" |
---|
5936 | case $as_dir in #( |
---|
5937 | -*) as_dir=./$as_dir;; |
---|
5938 | esac |
---|
5939 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
5940 | as_dirs= |
---|
5941 | while :; do |
---|
5942 | case $as_dir in #( |
---|
5943 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
5944 | *) as_qdir=$as_dir;; |
---|
5945 | esac |
---|
5946 | as_dirs="'$as_qdir' $as_dirs" |
---|
5947 | as_dir=`$as_dirname -- "$as_dir" || |
---|
5948 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
5949 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
5950 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
5951 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
5952 | echo X"$as_dir" | |
---|
5953 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
5954 | s//\1/ |
---|
5955 | q |
---|
5956 | } |
---|
5957 | /^X\(\/\/\)[^/].*/{ |
---|
5958 | s//\1/ |
---|
5959 | q |
---|
5960 | } |
---|
5961 | /^X\(\/\/\)$/{ |
---|
5962 | s//\1/ |
---|
5963 | q |
---|
5964 | } |
---|
5965 | /^X\(\/\).*/{ |
---|
5966 | s//\1/ |
---|
5967 | q |
---|
5968 | } |
---|
5969 | s/.*/./; q'` |
---|
5970 | test -d "$as_dir" && break |
---|
5971 | done |
---|
5972 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
5973 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
5974 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
5975 | { (exit 1); exit 1; }; }; } |
---|
5976 | ac_builddir=. |
---|
5977 | |
---|
5978 | case "$ac_dir" in |
---|
5979 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5980 | *) |
---|
5981 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
5982 | # A ".." for each directory in $ac_dir_suffix. |
---|
5983 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
5984 | case $ac_top_builddir_sub in |
---|
5985 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
5986 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
5987 | esac ;; |
---|
5988 | esac |
---|
5989 | ac_abs_top_builddir=$ac_pwd |
---|
5990 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
5991 | # for backward compatibility: |
---|
5992 | ac_top_builddir=$ac_top_build_prefix |
---|
5993 | |
---|
5994 | case $srcdir in |
---|
5995 | .) # We are building in place. |
---|
5996 | ac_srcdir=. |
---|
5997 | ac_top_srcdir=$ac_top_builddir_sub |
---|
5998 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
5999 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
6000 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6001 | ac_top_srcdir=$srcdir |
---|
6002 | ac_abs_top_srcdir=$srcdir ;; |
---|
6003 | *) # Relative name. |
---|
6004 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
6005 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
6006 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
6007 | esac |
---|
6008 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
6009 | |
---|
6010 | |
---|
6011 | case $ac_mode in |
---|
6012 | :F) |
---|
6013 | # |
---|
6014 | # CONFIG_FILE |
---|
6015 | # |
---|
6016 | |
---|
6017 | case $INSTALL in |
---|
6018 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
6019 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
6020 | esac |
---|
6021 | _ACEOF |
---|
6022 | |
---|
6023 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6024 | # If the template does not know about datarootdir, expand it. |
---|
6025 | # FIXME: This hack should be removed a few years after 2.60. |
---|
6026 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
6027 | |
---|
6028 | case `sed -n '/datarootdir/ { |
---|
6029 | p |
---|
6030 | q |
---|
6031 | } |
---|
6032 | /@datadir@/p |
---|
6033 | /@docdir@/p |
---|
6034 | /@infodir@/p |
---|
6035 | /@localedir@/p |
---|
6036 | /@mandir@/p |
---|
6037 | ' $ac_file_inputs` in |
---|
6038 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
6039 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
6040 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
6041 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
6042 | _ACEOF |
---|
6043 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
6044 | ac_datarootdir_hack=' |
---|
6045 | s&@datadir@&$datadir&g |
---|
6046 | s&@docdir@&$docdir&g |
---|
6047 | s&@infodir@&$infodir&g |
---|
6048 | s&@localedir@&$localedir&g |
---|
6049 | s&@mandir@&$mandir&g |
---|
6050 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
6051 | esac |
---|
6052 | _ACEOF |
---|
6053 | |
---|
6054 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
6055 | # Shell code in configure.ac might set extrasub. |
---|
6056 | # FIXME: do we really want to maintain this feature? |
---|
6057 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
6058 | sed "$ac_vpsub |
---|
6059 | $extrasub |
---|
6060 | _ACEOF |
---|
6061 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6062 | :t |
---|
6063 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
6064 | s&@configure_input@&$configure_input&;t t |
---|
6065 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
6066 | s&@srcdir@&$ac_srcdir&;t t |
---|
6067 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
6068 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
6069 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
6070 | s&@builddir@&$ac_builddir&;t t |
---|
6071 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
6072 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
6073 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
6074 | $ac_datarootdir_hack |
---|
6075 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
---|
6076 | |
---|
6077 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
6078 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
---|
6079 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
---|
6080 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6081 | which seems to be undefined. Please make sure it is defined." >&5 |
---|
6082 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
6083 | which seems to be undefined. Please make sure it is defined." >&2;} |
---|
6084 | |
---|
6085 | rm -f "$tmp/stdin" |
---|
6086 | case $ac_file in |
---|
6087 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
---|
6088 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
---|
6089 | esac |
---|
6090 | ;; |
---|
6091 | :H) |
---|
6092 | # |
---|
6093 | # CONFIG_HEADER |
---|
6094 | # |
---|
6095 | _ACEOF |
---|
6096 | |
---|
6097 | # Transform confdefs.h into a sed script `conftest.defines', that |
---|
6098 | # substitutes the proper values into config.h.in to produce config.h. |
---|
6099 | rm -f conftest.defines conftest.tail |
---|
6100 | # First, append a space to every undef/define line, to ease matching. |
---|
6101 | echo 's/$/ /' >conftest.defines |
---|
6102 | # Then, protect against being on the right side of a sed subst, or in |
---|
6103 | # an unquoted here document, in config.status. If some macros were |
---|
6104 | # called several times there might be several #defines for the same |
---|
6105 | # symbol, which is useless. But do not sort them, since the last |
---|
6106 | # AC_DEFINE must be honored. |
---|
6107 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
6108 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
---|
6109 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
---|
6110 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
---|
6111 | # just an empty string. |
---|
6112 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
---|
6113 | ac_dB='\\)[ (].*,\\1define\\2' |
---|
6114 | ac_dC=' ' |
---|
6115 | ac_dD=' ,' |
---|
6116 | |
---|
6117 | uniq confdefs.h | |
---|
6118 | sed -n ' |
---|
6119 | t rset |
---|
6120 | :rset |
---|
6121 | s/^[ ]*#[ ]*define[ ][ ]*// |
---|
6122 | t ok |
---|
6123 | d |
---|
6124 | :ok |
---|
6125 | s/[\\&,]/\\&/g |
---|
6126 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
---|
6127 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
---|
6128 | ' >>conftest.defines |
---|
6129 | |
---|
6130 | # Remove the space that was appended to ease matching. |
---|
6131 | # Then replace #undef with comments. This is necessary, for |
---|
6132 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
6133 | # on some systems where configure will not decide to define it. |
---|
6134 | # (The regexp can be short, since the line contains either #define or #undef.) |
---|
6135 | echo 's/ $// |
---|
6136 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
---|
6137 | |
---|
6138 | # Break up conftest.defines: |
---|
6139 | ac_max_sed_lines=50 |
---|
6140 | |
---|
6141 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
---|
6142 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
---|
6143 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
---|
6144 | # et cetera. |
---|
6145 | ac_in='$ac_file_inputs' |
---|
6146 | ac_out='"$tmp/out1"' |
---|
6147 | ac_nxt='"$tmp/out2"' |
---|
6148 | |
---|
6149 | while : |
---|
6150 | do |
---|
6151 | # Write a here document: |
---|
6152 | cat >>$CONFIG_STATUS <<_ACEOF |
---|
6153 | # First, check the format of the line: |
---|
6154 | cat >"\$tmp/defines.sed" <<\\CEOF |
---|
6155 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
---|
6156 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
---|
6157 | b |
---|
6158 | :def |
---|
6159 | _ACEOF |
---|
6160 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
---|
6161 | echo 'CEOF |
---|
6162 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
---|
6163 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
---|
6164 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
---|
6165 | grep . conftest.tail >/dev/null || break |
---|
6166 | rm -f conftest.defines |
---|
6167 | mv conftest.tail conftest.defines |
---|
6168 | done |
---|
6169 | rm -f conftest.defines conftest.tail |
---|
6170 | |
---|
6171 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
---|
6172 | cat >>$CONFIG_STATUS <<\_ACEOF |
---|
6173 | if test x"$ac_file" != x-; then |
---|
6174 | echo "/* $configure_input */" >"$tmp/config.h" |
---|
6175 | cat "$ac_result" >>"$tmp/config.h" |
---|
6176 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
---|
6177 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
---|
6178 | echo "$as_me: $ac_file is unchanged" >&6;} |
---|
6179 | else |
---|
6180 | rm -f $ac_file |
---|
6181 | mv "$tmp/config.h" $ac_file |
---|
6182 | fi |
---|
6183 | else |
---|
6184 | echo "/* $configure_input */" |
---|
6185 | cat "$ac_result" |
---|
6186 | fi |
---|
6187 | rm -f "$tmp/out12" |
---|
6188 | ;; |
---|
6189 | |
---|
6190 | |
---|
6191 | esac |
---|
6192 | |
---|
6193 | done # for ac_tag |
---|
6194 | |
---|
6195 | |
---|
6196 | { (exit 0); exit 0; } |
---|
6197 | _ACEOF |
---|
6198 | chmod +x $CONFIG_STATUS |
---|
6199 | ac_clean_files=$ac_clean_files_save |
---|
6200 | |
---|
6201 | |
---|
6202 | # configure is writing to config.log, and then calls config.status. |
---|
6203 | # config.status does its own redirection, appending to config.log. |
---|
6204 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
6205 | # by configure, so config.status won't be able to write to it; its |
---|
6206 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
6207 | # effectively closing config.log, so it can be properly (re)opened and |
---|
6208 | # appended to by config.status. When coming back to configure, we |
---|
6209 | # need to make the FD available again. |
---|
6210 | if test "$no_create" != yes; then |
---|
6211 | ac_cs_success=: |
---|
6212 | ac_config_status_args= |
---|
6213 | test "$silent" = yes && |
---|
6214 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
6215 | exec 5>/dev/null |
---|
6216 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
6217 | exec 5>>config.log |
---|
6218 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
6219 | # would make configure fail if this is the last instruction. |
---|
6220 | $ac_cs_success || { (exit 1); exit 1; } |
---|
6221 | fi |
---|
6222 | |
---|
6223 | # |
---|
6224 | # CONFIG_SUBDIRS section. |
---|
6225 | # |
---|
6226 | if test "$no_recursion" != yes; then |
---|
6227 | |
---|
6228 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
6229 | ac_sub_configure_args= |
---|
6230 | ac_prev= |
---|
6231 | eval "set x $ac_configure_args" |
---|
6232 | shift |
---|
6233 | for ac_arg |
---|
6234 | do |
---|
6235 | if test -n "$ac_prev"; then |
---|
6236 | ac_prev= |
---|
6237 | continue |
---|
6238 | fi |
---|
6239 | case $ac_arg in |
---|
6240 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
6241 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
6242 | ac_prev=cache_file ;; |
---|
6243 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
6244 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
---|
6245 | | --c=*) |
---|
6246 | ;; |
---|
6247 | --config-cache | -C) |
---|
6248 | ;; |
---|
6249 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
6250 | ac_prev=srcdir ;; |
---|
6251 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
6252 | ;; |
---|
6253 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
6254 | ac_prev=prefix ;; |
---|
6255 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
6256 | ;; |
---|
6257 | *) |
---|
6258 | case $ac_arg in |
---|
6259 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6260 | esac |
---|
6261 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; |
---|
6262 | esac |
---|
6263 | done |
---|
6264 | |
---|
6265 | # Always prepend --prefix to ensure using the same prefix |
---|
6266 | # in subdir configurations. |
---|
6267 | ac_arg="--prefix=$prefix" |
---|
6268 | case $ac_arg in |
---|
6269 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
6270 | esac |
---|
6271 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" |
---|
6272 | |
---|
6273 | # Pass --silent |
---|
6274 | if test "$silent" = yes; then |
---|
6275 | ac_sub_configure_args="--silent $ac_sub_configure_args" |
---|
6276 | fi |
---|
6277 | |
---|
6278 | ac_popdir=`pwd` |
---|
6279 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
---|
6280 | |
---|
6281 | # Do not complain, so a configure script can configure whichever |
---|
6282 | # parts of a large source tree are present. |
---|
6283 | test -d "$srcdir/$ac_dir" || continue |
---|
6284 | |
---|
6285 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" |
---|
6286 | echo "$as_me:$LINENO: $ac_msg" >&5 |
---|
6287 | echo "$ac_msg" >&6 |
---|
6288 | { as_dir="$ac_dir" |
---|
6289 | case $as_dir in #( |
---|
6290 | -*) as_dir=./$as_dir;; |
---|
6291 | esac |
---|
6292 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
---|
6293 | as_dirs= |
---|
6294 | while :; do |
---|
6295 | case $as_dir in #( |
---|
6296 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
---|
6297 | *) as_qdir=$as_dir;; |
---|
6298 | esac |
---|
6299 | as_dirs="'$as_qdir' $as_dirs" |
---|
6300 | as_dir=`$as_dirname -- "$as_dir" || |
---|
6301 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
6302 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
6303 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
6304 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
6305 | echo X"$as_dir" | |
---|
6306 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
6307 | s//\1/ |
---|
6308 | q |
---|
6309 | } |
---|
6310 | /^X\(\/\/\)[^/].*/{ |
---|
6311 | s//\1/ |
---|
6312 | q |
---|
6313 | } |
---|
6314 | /^X\(\/\/\)$/{ |
---|
6315 | s//\1/ |
---|
6316 | q |
---|
6317 | } |
---|
6318 | /^X\(\/\).*/{ |
---|
6319 | s//\1/ |
---|
6320 | q |
---|
6321 | } |
---|
6322 | s/.*/./; q'` |
---|
6323 | test -d "$as_dir" && break |
---|
6324 | done |
---|
6325 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
6326 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
---|
6327 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
---|
6328 | { (exit 1); exit 1; }; }; } |
---|
6329 | ac_builddir=. |
---|
6330 | |
---|
6331 | case "$ac_dir" in |
---|
6332 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6333 | *) |
---|
6334 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
---|
6335 | # A ".." for each directory in $ac_dir_suffix. |
---|
6336 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
---|
6337 | case $ac_top_builddir_sub in |
---|
6338 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
6339 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
6340 | esac ;; |
---|
6341 | esac |
---|
6342 | ac_abs_top_builddir=$ac_pwd |
---|
6343 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
6344 | # for backward compatibility: |
---|
6345 | ac_top_builddir=$ac_top_build_prefix |
---|
6346 | |
---|
6347 | case $srcdir in |
---|
6348 | .) # We are building in place. |
---|
6349 | ac_srcdir=. |
---|
6350 | ac_top_srcdir=$ac_top_builddir_sub |
---|
6351 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
6352 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
6353 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
6354 | ac_top_srcdir=$srcdir |
---|
6355 | ac_abs_top_srcdir=$srcdir ;; |
---|
6356 | *) # Relative name. |
---|
6357 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
6358 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
6359 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
6360 | esac |
---|
6361 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
6362 | |
---|
6363 | |
---|
6364 | cd "$ac_dir" |
---|
6365 | |
---|
6366 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
6367 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
6368 | ac_sub_configure=$ac_srcdir/configure.gnu |
---|
6369 | elif test -f "$ac_srcdir/configure"; then |
---|
6370 | ac_sub_configure=$ac_srcdir/configure |
---|
6371 | elif test -f "$ac_srcdir/configure.in"; then |
---|
6372 | # This should be Cygnus configure. |
---|
6373 | ac_sub_configure=$ac_aux_dir/configure |
---|
6374 | else |
---|
6375 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
---|
6376 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
---|
6377 | ac_sub_configure= |
---|
6378 | fi |
---|
6379 | |
---|
6380 | # The recursion is here. |
---|
6381 | if test -n "$ac_sub_configure"; then |
---|
6382 | # Make the cache file name correct relative to the subdirectory. |
---|
6383 | case $cache_file in |
---|
6384 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
---|
6385 | *) # Relative name. |
---|
6386 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; |
---|
6387 | esac |
---|
6388 | |
---|
6389 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
---|
6390 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
---|
6391 | # The eval makes quoting arguments work. |
---|
6392 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ |
---|
6393 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || |
---|
6394 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
---|
6395 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
---|
6396 | { (exit 1); exit 1; }; } |
---|
6397 | fi |
---|
6398 | |
---|
6399 | cd "$ac_popdir" |
---|
6400 | done |
---|
6401 | fi |
---|
6402 | |
---|