Parent Directory
|
Revision Log
New upstream release.
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.63 for bti 026. |
4 | # |
5 | # Report bugs to <greg@kroah.com>. |
6 | # |
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
9 | # This configure script is free software; the Free Software Foundation |
10 | # gives unlimited permission to copy, distribute and modify it. |
11 | ## --------------------- ## |
12 | ## M4sh Initialization. ## |
13 | ## --------------------- ## |
14 | |
15 | # Be more Bourne compatible |
16 | DUALCASE=1; export DUALCASE # for MKS sh |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18 | emulate sh |
19 | NULLCMD=: |
20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
21 | # is contrary to our usage. Disable this feature. |
22 | alias -g '${1+"$@"}'='"$@"' |
23 | setopt NO_GLOB_SUBST |
24 | else |
25 | case `(set -o) 2>/dev/null` in |
26 | *posix*) set -o posix ;; |
27 | esac |
28 | |
29 | fi |
30 | |
31 | |
32 | |
33 | |
34 | # PATH needs CR |
35 | # Avoid depending upon Character Ranges. |
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
39 | as_cr_digits='0123456789' |
40 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
41 | |
42 | as_nl=' |
43 | ' |
44 | export as_nl |
45 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
50 | as_echo='printf %s\n' |
51 | as_echo_n='printf %s' |
52 | else |
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
55 | as_echo_n='/usr/ucb/echo -n' |
56 | else |
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 | as_echo_n_body='eval |
59 | arg=$1; |
60 | case $arg in |
61 | *"$as_nl"*) |
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
64 | esac; |
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
66 | ' |
67 | export as_echo_n_body |
68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
69 | fi |
70 | export as_echo_body |
71 | as_echo='sh -c $as_echo_body as_echo' |
72 | fi |
73 | |
74 | # The user is always right. |
75 | if test "${PATH_SEPARATOR+set}" != set; then |
76 | PATH_SEPARATOR=: |
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 | PATH_SEPARATOR=';' |
80 | } |
81 | fi |
82 | |
83 | # Support unset when possible. |
84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
85 | as_unset=unset |
86 | else |
87 | as_unset=false |
88 | fi |
89 | |
90 | |
91 | # IFS |
92 | # We need space, tab and new line, in precisely that order. Quoting is |
93 | # there to prevent editors from complaining about space-tab. |
94 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
95 | # splitting by setting IFS to empty value.) |
96 | IFS=" "" $as_nl" |
97 | |
98 | # Find who we are. Look in the path if we contain no directory separator. |
99 | case $0 in |
100 | *[\\/]* ) as_myself=$0 ;; |
101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
102 | for as_dir in $PATH |
103 | do |
104 | IFS=$as_save_IFS |
105 | test -z "$as_dir" && as_dir=. |
106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
107 | done |
108 | IFS=$as_save_IFS |
109 | |
110 | ;; |
111 | esac |
112 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
113 | # in which case we are not to be found in the path. |
114 | if test "x$as_myself" = x; then |
115 | as_myself=$0 |
116 | fi |
117 | if test ! -f "$as_myself"; then |
118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
119 | { (exit 1); exit 1; } |
120 | fi |
121 | |
122 | # Work around bugs in pre-3.0 UWIN ksh. |
123 | for as_var in ENV MAIL MAILPATH |
124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
125 | done |
126 | PS1='$ ' |
127 | PS2='> ' |
128 | PS4='+ ' |
129 | |
130 | # NLS nuisances. |
131 | LC_ALL=C |
132 | export LC_ALL |
133 | LANGUAGE=C |
134 | export LANGUAGE |
135 | |
136 | # Required to use basename. |
137 | if expr a : '\(a\)' >/dev/null 2>&1 && |
138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
139 | as_expr=expr |
140 | else |
141 | as_expr=false |
142 | fi |
143 | |
144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
145 | as_basename=basename |
146 | else |
147 | as_basename=false |
148 | fi |
149 | |
150 | |
151 | # Name of the executable. |
152 | as_me=`$as_basename -- "$0" || |
153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
154 | X"$0" : 'X\(//\)$' \| \ |
155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
156 | $as_echo X/"$0" | |
157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
158 | s//\1/ |
159 | q |
160 | } |
161 | /^X\/\(\/\/\)$/{ |
162 | s//\1/ |
163 | q |
164 | } |
165 | /^X\/\(\/\).*/{ |
166 | s//\1/ |
167 | q |
168 | } |
169 | s/.*/./; q'` |
170 | |
171 | # CDPATH. |
172 | $as_unset CDPATH |
173 | |
174 | |
175 | if test "x$CONFIG_SHELL" = x; then |
176 | if (eval ":") 2>/dev/null; then |
177 | as_have_required=yes |
178 | else |
179 | as_have_required=no |
180 | fi |
181 | |
182 | if test $as_have_required = yes && (eval ": |
183 | (as_func_return () { |
184 | (exit \$1) |
185 | } |
186 | as_func_success () { |
187 | as_func_return 0 |
188 | } |
189 | as_func_failure () { |
190 | as_func_return 1 |
191 | } |
192 | as_func_ret_success () { |
193 | return 0 |
194 | } |
195 | as_func_ret_failure () { |
196 | return 1 |
197 | } |
198 | |
199 | exitcode=0 |
200 | if as_func_success; then |
201 | : |
202 | else |
203 | exitcode=1 |
204 | echo as_func_success failed. |
205 | fi |
206 | |
207 | if as_func_failure; then |
208 | exitcode=1 |
209 | echo as_func_failure succeeded. |
210 | fi |
211 | |
212 | if as_func_ret_success; then |
213 | : |
214 | else |
215 | exitcode=1 |
216 | echo as_func_ret_success failed. |
217 | fi |
218 | |
219 | if as_func_ret_failure; then |
220 | exitcode=1 |
221 | echo as_func_ret_failure succeeded. |
222 | fi |
223 | |
224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
225 | : |
226 | else |
227 | exitcode=1 |
228 | echo positional parameters were not saved. |
229 | fi |
230 | |
231 | test \$exitcode = 0) || { (exit 1); exit 1; } |
232 | |
233 | ( |
234 | as_lineno_1=\$LINENO |
235 | as_lineno_2=\$LINENO |
236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
238 | ") 2> /dev/null; then |
239 | : |
240 | else |
241 | as_candidate_shells= |
242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
244 | do |
245 | IFS=$as_save_IFS |
246 | test -z "$as_dir" && as_dir=. |
247 | case $as_dir in |
248 | /*) |
249 | for as_base in sh bash ksh sh5; do |
250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
251 | done;; |
252 | esac |
253 | done |
254 | IFS=$as_save_IFS |
255 | |
256 | |
257 | for as_shell in $as_candidate_shells $SHELL; do |
258 | # Try only shells that exist, to save several forks. |
259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
260 | { ("$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 | # Pre-4.2 versions of Zsh do 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 | _ASEOF |
278 | }; then |
279 | CONFIG_SHELL=$as_shell |
280 | as_have_required=yes |
281 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
283 | emulate sh |
284 | NULLCMD=: |
285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
286 | # is contrary to our usage. Disable this feature. |
287 | alias -g '${1+"$@"}'='"$@"' |
288 | setopt NO_GLOB_SUBST |
289 | else |
290 | case `(set -o) 2>/dev/null` in |
291 | *posix*) set -o posix ;; |
292 | esac |
293 | |
294 | fi |
295 | |
296 | |
297 | : |
298 | (as_func_return () { |
299 | (exit $1) |
300 | } |
301 | as_func_success () { |
302 | as_func_return 0 |
303 | } |
304 | as_func_failure () { |
305 | as_func_return 1 |
306 | } |
307 | as_func_ret_success () { |
308 | return 0 |
309 | } |
310 | as_func_ret_failure () { |
311 | return 1 |
312 | } |
313 | |
314 | exitcode=0 |
315 | if as_func_success; then |
316 | : |
317 | else |
318 | exitcode=1 |
319 | echo as_func_success failed. |
320 | fi |
321 | |
322 | if as_func_failure; then |
323 | exitcode=1 |
324 | echo as_func_failure succeeded. |
325 | fi |
326 | |
327 | if as_func_ret_success; then |
328 | : |
329 | else |
330 | exitcode=1 |
331 | echo as_func_ret_success failed. |
332 | fi |
333 | |
334 | if as_func_ret_failure; then |
335 | exitcode=1 |
336 | echo as_func_ret_failure succeeded. |
337 | fi |
338 | |
339 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
340 | : |
341 | else |
342 | exitcode=1 |
343 | echo positional parameters were not saved. |
344 | fi |
345 | |
346 | test $exitcode = 0) || { (exit 1); exit 1; } |
347 | |
348 | ( |
349 | as_lineno_1=$LINENO |
350 | as_lineno_2=$LINENO |
351 | test "x$as_lineno_1" != "x$as_lineno_2" && |
352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
353 | |
354 | _ASEOF |
355 | }; then |
356 | break |
357 | fi |
358 | |
359 | fi |
360 | |
361 | done |
362 | |
363 | if test "x$CONFIG_SHELL" != x; then |
364 | for as_var in BASH_ENV ENV |
365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
366 | done |
367 | export CONFIG_SHELL |
368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
369 | fi |
370 | |
371 | |
372 | if test $as_have_required = no; then |
373 | echo This script requires a shell more modern than all the |
374 | echo shells that I found on your system. Please install a |
375 | echo modern shell, or manually run the script under such a |
376 | echo shell if you do have one. |
377 | { (exit 1); exit 1; } |
378 | fi |
379 | |
380 | |
381 | fi |
382 | |
383 | fi |
384 | |
385 | |
386 | |
387 | (eval "as_func_return () { |
388 | (exit \$1) |
389 | } |
390 | as_func_success () { |
391 | as_func_return 0 |
392 | } |
393 | as_func_failure () { |
394 | as_func_return 1 |
395 | } |
396 | as_func_ret_success () { |
397 | return 0 |
398 | } |
399 | as_func_ret_failure () { |
400 | return 1 |
401 | } |
402 | |
403 | exitcode=0 |
404 | if as_func_success; then |
405 | : |
406 | else |
407 | exitcode=1 |
408 | echo as_func_success failed. |
409 | fi |
410 | |
411 | if as_func_failure; then |
412 | exitcode=1 |
413 | echo as_func_failure succeeded. |
414 | fi |
415 | |
416 | if as_func_ret_success; then |
417 | : |
418 | else |
419 | exitcode=1 |
420 | echo as_func_ret_success failed. |
421 | fi |
422 | |
423 | if as_func_ret_failure; then |
424 | exitcode=1 |
425 | echo as_func_ret_failure succeeded. |
426 | fi |
427 | |
428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
429 | : |
430 | else |
431 | exitcode=1 |
432 | echo positional parameters were not saved. |
433 | fi |
434 | |
435 | test \$exitcode = 0") || { |
436 | echo No shell found that supports shell functions. |
437 | echo Please tell bug-autoconf@gnu.org about your system, |
438 | echo including any error possibly output before this message. |
439 | echo This can help us improve future autoconf versions. |
440 | echo Configuration will now proceed without shell functions. |
441 | } |
442 | |
443 | |
444 | |
445 | as_lineno_1=$LINENO |
446 | as_lineno_2=$LINENO |
447 | test "x$as_lineno_1" != "x$as_lineno_2" && |
448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
449 | |
450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
451 | # uniformly replaced by the line number. The first 'sed' inserts a |
452 | # line-number line after each line using $LINENO; the second 'sed' |
453 | # does the real work. The second script uses 'N' to pair each |
454 | # line-number line with the line containing $LINENO, and appends |
455 | # trailing '-' during substitution so that $LINENO is not a special |
456 | # case at line end. |
457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
459 | # E. McMahon (1931-1989) for sed's syntax. :-) |
460 | sed -n ' |
461 | p |
462 | /[$]LINENO/= |
463 | ' <$as_myself | |
464 | sed ' |
465 | s/[$]LINENO.*/&-/ |
466 | t lineno |
467 | b |
468 | :lineno |
469 | N |
470 | :loop |
471 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
472 | t loop |
473 | s/-\n.*// |
474 | ' >$as_me.lineno && |
475 | chmod +x "$as_me.lineno" || |
476 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
477 | { (exit 1); exit 1; }; } |
478 | |
479 | # Don't try to exec as it changes $[0], causing all sort of problems |
480 | # (the dirname of $[0] is not the place where we might find the |
481 | # original and so on. Autoconf is especially sensitive to this). |
482 | . "./$as_me.lineno" |
483 | # Exit status is that of the last command. |
484 | exit |
485 | } |
486 | |
487 | |
488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
489 | as_dirname=dirname |
490 | else |
491 | as_dirname=false |
492 | fi |
493 | |
494 | ECHO_C= ECHO_N= ECHO_T= |
495 | case `echo -n x` in |
496 | -n*) |
497 | case `echo 'x\c'` in |
498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
499 | *) ECHO_C='\c';; |
500 | esac;; |
501 | *) |
502 | ECHO_N='-n';; |
503 | esac |
504 | if expr a : '\(a\)' >/dev/null 2>&1 && |
505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
506 | as_expr=expr |
507 | else |
508 | as_expr=false |
509 | fi |
510 | |
511 | rm -f conf$$ conf$$.exe conf$$.file |
512 | if test -d conf$$.dir; then |
513 | rm -f conf$$.dir/conf$$.file |
514 | else |
515 | rm -f conf$$.dir |
516 | mkdir conf$$.dir 2>/dev/null |
517 | fi |
518 | if (echo >conf$$.file) 2>/dev/null; then |
519 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
520 | as_ln_s='ln -s' |
521 | # ... but there are two gotchas: |
522 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
523 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
524 | # In both cases, we have to default to `cp -p'. |
525 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
526 | as_ln_s='cp -p' |
527 | elif ln conf$$.file conf$$ 2>/dev/null; then |
528 | as_ln_s=ln |
529 | else |
530 | as_ln_s='cp -p' |
531 | fi |
532 | else |
533 | as_ln_s='cp -p' |
534 | fi |
535 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
536 | rmdir conf$$.dir 2>/dev/null |
537 | |
538 | if mkdir -p . 2>/dev/null; then |
539 | as_mkdir_p=: |
540 | else |
541 | test -d ./-p && rmdir ./-p |
542 | as_mkdir_p=false |
543 | fi |
544 | |
545 | if test -x / >/dev/null 2>&1; then |
546 | as_test_x='test -x' |
547 | else |
548 | if ls -dL / >/dev/null 2>&1; then |
549 | as_ls_L_option=L |
550 | else |
551 | as_ls_L_option= |
552 | fi |
553 | as_test_x=' |
554 | eval sh -c '\'' |
555 | if test -d "$1"; then |
556 | test -d "$1/."; |
557 | else |
558 | case $1 in |
559 | -*)set "./$1";; |
560 | esac; |
561 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
562 | ???[sx]*):;;*)false;;esac;fi |
563 | '\'' sh |
564 | ' |
565 | fi |
566 | as_executable_p=$as_test_x |
567 | |
568 | # Sed expression to map a string onto a valid CPP name. |
569 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
570 | |
571 | # Sed expression to map a string onto a valid variable name. |
572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
573 | |
574 | |
575 | |
576 | exec 7<&0 </dev/null 6>&1 |
577 | |
578 | # Name of the host. |
579 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
580 | # so uname gets run too. |
581 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
582 | |
583 | # |
584 | # Initializations. |
585 | # |
586 | ac_default_prefix=/usr/local |
587 | ac_clean_files= |
588 | ac_config_libobj_dir=. |
589 | LIBOBJS= |
590 | cross_compiling=no |
591 | subdirs= |
592 | MFLAGS= |
593 | MAKEFLAGS= |
594 | SHELL=${CONFIG_SHELL-/bin/sh} |
595 | |
596 | # Identity of this package. |
597 | PACKAGE_NAME='bti' |
598 | PACKAGE_TARNAME='bti' |
599 | PACKAGE_VERSION='026' |
600 | PACKAGE_STRING='bti 026' |
601 | PACKAGE_BUGREPORT='greg@kroah.com' |
602 | |
603 | ac_subst_vars='am__EXEEXT_FALSE |
604 | am__EXEEXT_TRUE |
605 | LTLIBOBJS |
606 | LIBOBJS |
607 | XML_LIBS |
608 | XML_CPPFLAGS |
609 | XML2_CONFIG |
610 | LIBCURL |
611 | LIBCURL_CPPFLAGS |
612 | _libcurl_config |
613 | XSLTPROC |
614 | am__fastdepCC_FALSE |
615 | am__fastdepCC_TRUE |
616 | CCDEPMODE |
617 | AMDEPBACKSLASH |
618 | AMDEP_FALSE |
619 | AMDEP_TRUE |
620 | am__quote |
621 | am__include |
622 | DEPDIR |
623 | OBJEXT |
624 | EXEEXT |
625 | ac_ct_CC |
626 | CPPFLAGS |
627 | LDFLAGS |
628 | CFLAGS |
629 | CC |
630 | AM_BACKSLASH |
631 | AM_DEFAULT_VERBOSITY |
632 | am__untar |
633 | am__tar |
634 | AMTAR |
635 | am__leading_dot |
636 | SET_MAKE |
637 | AWK |
638 | mkdir_p |
639 | MKDIR_P |
640 | INSTALL_STRIP_PROGRAM |
641 | STRIP |
642 | install_sh |
643 | MAKEINFO |
644 | AUTOHEADER |
645 | AUTOMAKE |
646 | AUTOCONF |
647 | ACLOCAL |
648 | VERSION |
649 | PACKAGE |
650 | CYGPATH_W |
651 | am__isrc |
652 | INSTALL_DATA |
653 | INSTALL_SCRIPT |
654 | INSTALL_PROGRAM |
655 | target_alias |
656 | host_alias |
657 | build_alias |
658 | LIBS |
659 | ECHO_T |
660 | ECHO_N |
661 | ECHO_C |
662 | DEFS |
663 | mandir |
664 | localedir |
665 | libdir |
666 | psdir |
667 | pdfdir |
668 | dvidir |
669 | htmldir |
670 | infodir |
671 | docdir |
672 | oldincludedir |
673 | includedir |
674 | localstatedir |
675 | sharedstatedir |
676 | sysconfdir |
677 | datadir |
678 | datarootdir |
679 | libexecdir |
680 | sbindir |
681 | bindir |
682 | program_transform_name |
683 | prefix |
684 | exec_prefix |
685 | PACKAGE_BUGREPORT |
686 | PACKAGE_STRING |
687 | PACKAGE_VERSION |
688 | PACKAGE_TARNAME |
689 | PACKAGE_NAME |
690 | PATH_SEPARATOR |
691 | SHELL' |
692 | ac_subst_files='' |
693 | ac_user_opts=' |
694 | enable_option_checking |
695 | enable_silent_rules |
696 | enable_dependency_tracking |
697 | with_libcurl |
698 | with_xml_prefix |
699 | with_xml_exec_prefix |
700 | enable_xmltest |
701 | ' |
702 | ac_precious_vars='build_alias |
703 | host_alias |
704 | target_alias |
705 | CC |
706 | CFLAGS |
707 | LDFLAGS |
708 | LIBS |
709 | CPPFLAGS' |
710 | |
711 | |
712 | # Initialize some variables set by options. |
713 | ac_init_help= |
714 | ac_init_version=false |
715 | ac_unrecognized_opts= |
716 | ac_unrecognized_sep= |
717 | # The variables have the same names as the options, with |
718 | # dashes changed to underlines. |
719 | cache_file=/dev/null |
720 | exec_prefix=NONE |
721 | no_create= |
722 | no_recursion= |
723 | prefix=NONE |
724 | program_prefix=NONE |
725 | program_suffix=NONE |
726 | program_transform_name=s,x,x, |
727 | silent= |
728 | site= |
729 | srcdir= |
730 | verbose= |
731 | x_includes=NONE |
732 | x_libraries=NONE |
733 | |
734 | # Installation directory options. |
735 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
736 | # and all the variables that are supposed to be based on exec_prefix |
737 | # by default will actually change. |
738 | # Use braces instead of parens because sh, perl, etc. also accept them. |
739 | # (The list follows the same order as the GNU Coding Standards.) |
740 | bindir='${exec_prefix}/bin' |
741 | sbindir='${exec_prefix}/sbin' |
742 | libexecdir='${exec_prefix}/libexec' |
743 | datarootdir='${prefix}/share' |
744 | datadir='${datarootdir}' |
745 | sysconfdir='${prefix}/etc' |
746 | sharedstatedir='${prefix}/com' |
747 | localstatedir='${prefix}/var' |
748 | includedir='${prefix}/include' |
749 | oldincludedir='/usr/include' |
750 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
751 | infodir='${datarootdir}/info' |
752 | htmldir='${docdir}' |
753 | dvidir='${docdir}' |
754 | pdfdir='${docdir}' |
755 | psdir='${docdir}' |
756 | libdir='${exec_prefix}/lib' |
757 | localedir='${datarootdir}/locale' |
758 | mandir='${datarootdir}/man' |
759 | |
760 | ac_prev= |
761 | ac_dashdash= |
762 | for ac_option |
763 | do |
764 | # If the previous option needs an argument, assign it. |
765 | if test -n "$ac_prev"; then |
766 | eval $ac_prev=\$ac_option |
767 | ac_prev= |
768 | continue |
769 | fi |
770 | |
771 | case $ac_option in |
772 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
773 | *) ac_optarg=yes ;; |
774 | esac |
775 | |
776 | # Accept the important Cygnus configure options, so we can diagnose typos. |
777 | |
778 | case $ac_dashdash$ac_option in |
779 | --) |
780 | ac_dashdash=yes ;; |
781 | |
782 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
783 | ac_prev=bindir ;; |
784 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
785 | bindir=$ac_optarg ;; |
786 | |
787 | -build | --build | --buil | --bui | --bu) |
788 | ac_prev=build_alias ;; |
789 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
790 | build_alias=$ac_optarg ;; |
791 | |
792 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
793 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
794 | ac_prev=cache_file ;; |
795 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
796 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
797 | cache_file=$ac_optarg ;; |
798 | |
799 | --config-cache | -C) |
800 | cache_file=config.cache ;; |
801 | |
802 | -datadir | --datadir | --datadi | --datad) |
803 | ac_prev=datadir ;; |
804 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
805 | datadir=$ac_optarg ;; |
806 | |
807 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
808 | | --dataroo | --dataro | --datar) |
809 | ac_prev=datarootdir ;; |
810 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
811 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
812 | datarootdir=$ac_optarg ;; |
813 | |
814 | -disable-* | --disable-*) |
815 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
816 | # Reject names that are not valid shell variable names. |
817 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
818 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
819 | { (exit 1); exit 1; }; } |
820 | ac_useropt_orig=$ac_useropt |
821 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
822 | case $ac_user_opts in |
823 | *" |
824 | "enable_$ac_useropt" |
825 | "*) ;; |
826 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
827 | ac_unrecognized_sep=', ';; |
828 | esac |
829 | eval enable_$ac_useropt=no ;; |
830 | |
831 | -docdir | --docdir | --docdi | --doc | --do) |
832 | ac_prev=docdir ;; |
833 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
834 | docdir=$ac_optarg ;; |
835 | |
836 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
837 | ac_prev=dvidir ;; |
838 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
839 | dvidir=$ac_optarg ;; |
840 | |
841 | -enable-* | --enable-*) |
842 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
843 | # Reject names that are not valid shell variable names. |
844 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
845 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
846 | { (exit 1); exit 1; }; } |
847 | ac_useropt_orig=$ac_useropt |
848 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
849 | case $ac_user_opts in |
850 | *" |
851 | "enable_$ac_useropt" |
852 | "*) ;; |
853 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
854 | ac_unrecognized_sep=', ';; |
855 | esac |
856 | eval enable_$ac_useropt=\$ac_optarg ;; |
857 | |
858 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
859 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
860 | | --exec | --exe | --ex) |
861 | ac_prev=exec_prefix ;; |
862 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
863 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
864 | | --exec=* | --exe=* | --ex=*) |
865 | exec_prefix=$ac_optarg ;; |
866 | |
867 | -gas | --gas | --ga | --g) |
868 | # Obsolete; use --with-gas. |
869 | with_gas=yes ;; |
870 | |
871 | -help | --help | --hel | --he | -h) |
872 | ac_init_help=long ;; |
873 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
874 | ac_init_help=recursive ;; |
875 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
876 | ac_init_help=short ;; |
877 | |
878 | -host | --host | --hos | --ho) |
879 | ac_prev=host_alias ;; |
880 | -host=* | --host=* | --hos=* | --ho=*) |
881 | host_alias=$ac_optarg ;; |
882 | |
883 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
884 | ac_prev=htmldir ;; |
885 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
886 | | --ht=*) |
887 | htmldir=$ac_optarg ;; |
888 | |
889 | -includedir | --includedir | --includedi | --included | --include \ |
890 | | --includ | --inclu | --incl | --inc) |
891 | ac_prev=includedir ;; |
892 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
893 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
894 | includedir=$ac_optarg ;; |
895 | |
896 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
897 | ac_prev=infodir ;; |
898 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
899 | infodir=$ac_optarg ;; |
900 | |
901 | -libdir | --libdir | --libdi | --libd) |
902 | ac_prev=libdir ;; |
903 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
904 | libdir=$ac_optarg ;; |
905 | |
906 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
907 | | --libexe | --libex | --libe) |
908 | ac_prev=libexecdir ;; |
909 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
910 | | --libexe=* | --libex=* | --libe=*) |
911 | libexecdir=$ac_optarg ;; |
912 | |
913 | -localedir | --localedir | --localedi | --localed | --locale) |
914 | ac_prev=localedir ;; |
915 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
916 | localedir=$ac_optarg ;; |
917 | |
918 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
919 | | --localstate | --localstat | --localsta | --localst | --locals) |
920 | ac_prev=localstatedir ;; |
921 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
922 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
923 | localstatedir=$ac_optarg ;; |
924 | |
925 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
926 | ac_prev=mandir ;; |
927 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
928 | mandir=$ac_optarg ;; |
929 | |
930 | -nfp | --nfp | --nf) |
931 | # Obsolete; use --without-fp. |
932 | with_fp=no ;; |
933 | |
934 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
935 | | --no-cr | --no-c | -n) |
936 | no_create=yes ;; |
937 | |
938 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
939 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
940 | no_recursion=yes ;; |
941 | |
942 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
943 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
944 | | --oldin | --oldi | --old | --ol | --o) |
945 | ac_prev=oldincludedir ;; |
946 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
947 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
948 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
949 | oldincludedir=$ac_optarg ;; |
950 | |
951 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
952 | ac_prev=prefix ;; |
953 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
954 | prefix=$ac_optarg ;; |
955 | |
956 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
957 | | --program-pre | --program-pr | --program-p) |
958 | ac_prev=program_prefix ;; |
959 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
960 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
961 | program_prefix=$ac_optarg ;; |
962 | |
963 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
964 | | --program-suf | --program-su | --program-s) |
965 | ac_prev=program_suffix ;; |
966 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
967 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
968 | program_suffix=$ac_optarg ;; |
969 | |
970 | -program-transform-name | --program-transform-name \ |
971 | | --program-transform-nam | --program-transform-na \ |
972 | | --program-transform-n | --program-transform- \ |
973 | | --program-transform | --program-transfor \ |
974 | | --program-transfo | --program-transf \ |
975 | | --program-trans | --program-tran \ |
976 | | --progr-tra | --program-tr | --program-t) |
977 | ac_prev=program_transform_name ;; |
978 | -program-transform-name=* | --program-transform-name=* \ |
979 | | --program-transform-nam=* | --program-transform-na=* \ |
980 | | --program-transform-n=* | --program-transform-=* \ |
981 | | --program-transform=* | --program-transfor=* \ |
982 | | --program-transfo=* | --program-transf=* \ |
983 | | --program-trans=* | --program-tran=* \ |
984 | | --progr-tra=* | --program-tr=* | --program-t=*) |
985 | program_transform_name=$ac_optarg ;; |
986 | |
987 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
988 | ac_prev=pdfdir ;; |
989 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
990 | pdfdir=$ac_optarg ;; |
991 | |
992 | -psdir | --psdir | --psdi | --psd | --ps) |
993 | ac_prev=psdir ;; |
994 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
995 | psdir=$ac_optarg ;; |
996 | |
997 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
998 | | -silent | --silent | --silen | --sile | --sil) |
999 | silent=yes ;; |
1000 | |
1001 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1002 | ac_prev=sbindir ;; |
1003 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1004 | | --sbi=* | --sb=*) |
1005 | sbindir=$ac_optarg ;; |
1006 | |
1007 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1008 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1009 | | --sharedst | --shareds | --shared | --share | --shar \ |
1010 | | --sha | --sh) |
1011 | ac_prev=sharedstatedir ;; |
1012 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1013 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1014 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1015 | | --sha=* | --sh=*) |
1016 | sharedstatedir=$ac_optarg ;; |
1017 | |
1018 | -site | --site | --sit) |
1019 | ac_prev=site ;; |
1020 | -site=* | --site=* | --sit=*) |
1021 | site=$ac_optarg ;; |
1022 | |
1023 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1024 | ac_prev=srcdir ;; |
1025 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1026 | srcdir=$ac_optarg ;; |
1027 | |
1028 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1029 | | --syscon | --sysco | --sysc | --sys | --sy) |
1030 | ac_prev=sysconfdir ;; |
1031 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1032 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1033 | sysconfdir=$ac_optarg ;; |
1034 | |
1035 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1036 | ac_prev=target_alias ;; |
1037 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1038 | target_alias=$ac_optarg ;; |
1039 | |
1040 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1041 | verbose=yes ;; |
1042 | |
1043 | -version | --version | --versio | --versi | --vers | -V) |
1044 | ac_init_version=: ;; |
1045 | |
1046 | -with-* | --with-*) |
1047 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1048 | # Reject names that are not valid shell variable names. |
1049 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1050 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1051 | { (exit 1); exit 1; }; } |
1052 | ac_useropt_orig=$ac_useropt |
1053 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1054 | case $ac_user_opts in |
1055 | *" |
1056 | "with_$ac_useropt" |
1057 | "*) ;; |
1058 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1059 | ac_unrecognized_sep=', ';; |
1060 | esac |
1061 | eval with_$ac_useropt=\$ac_optarg ;; |
1062 | |
1063 | -without-* | --without-*) |
1064 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1065 | # Reject names that are not valid shell variable names. |
1066 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1067 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
1068 | { (exit 1); exit 1; }; } |
1069 | ac_useropt_orig=$ac_useropt |
1070 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1071 | case $ac_user_opts in |
1072 | *" |
1073 | "with_$ac_useropt" |
1074 | "*) ;; |
1075 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1076 | ac_unrecognized_sep=', ';; |
1077 | esac |
1078 | eval with_$ac_useropt=no ;; |
1079 | |
1080 | --x) |
1081 | # Obsolete; use --with-x. |
1082 | with_x=yes ;; |
1083 | |
1084 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1085 | | --x-incl | --x-inc | --x-in | --x-i) |
1086 | ac_prev=x_includes ;; |
1087 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1088 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1089 | x_includes=$ac_optarg ;; |
1090 | |
1091 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1092 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1093 | ac_prev=x_libraries ;; |
1094 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1095 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1096 | x_libraries=$ac_optarg ;; |
1097 | |
1098 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
1099 | Try \`$0 --help' for more information." >&2 |
1100 | { (exit 1); exit 1; }; } |
1101 | ;; |
1102 | |
1103 | *=*) |
1104 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1105 | # Reject names that are not valid shell variable names. |
1106 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1107 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1108 | { (exit 1); exit 1; }; } |
1109 | eval $ac_envvar=\$ac_optarg |
1110 | export $ac_envvar ;; |
1111 | |
1112 | *) |
1113 | # FIXME: should be removed in autoconf 3.0. |
1114 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1115 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1116 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1117 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1118 | ;; |
1119 | |
1120 | esac |
1121 | done |
1122 | |
1123 | if test -n "$ac_prev"; then |
1124 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1125 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
1126 | { (exit 1); exit 1; }; } |
1127 | fi |
1128 | |
1129 | if test -n "$ac_unrecognized_opts"; then |
1130 | case $enable_option_checking in |
1131 | no) ;; |
1132 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
1133 | { (exit 1); exit 1; }; } ;; |
1134 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1135 | esac |
1136 | fi |
1137 | |
1138 | # Check all directory arguments for consistency. |
1139 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1140 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1141 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1142 | libdir localedir mandir |
1143 | do |
1144 | eval ac_val=\$$ac_var |
1145 | # Remove trailing slashes. |
1146 | case $ac_val in |
1147 | */ ) |
1148 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1149 | eval $ac_var=\$ac_val;; |
1150 | esac |
1151 | # Be sure to have absolute directory names. |
1152 | case $ac_val in |
1153 | [\\/$]* | ?:[\\/]* ) continue;; |
1154 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1155 | esac |
1156 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1157 | { (exit 1); exit 1; }; } |
1158 | done |
1159 | |
1160 | # There might be people who depend on the old broken behavior: `$host' |
1161 | # used to hold the argument of --host etc. |
1162 | # FIXME: To remove some day. |
1163 | build=$build_alias |
1164 | host=$host_alias |
1165 | target=$target_alias |
1166 | |
1167 | # FIXME: To remove some day. |
1168 | if test "x$host_alias" != x; then |
1169 | if test "x$build_alias" = x; then |
1170 | cross_compiling=maybe |
1171 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1172 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1173 | elif test "x$build_alias" != "x$host_alias"; then |
1174 | cross_compiling=yes |
1175 | fi |
1176 | fi |
1177 | |
1178 | ac_tool_prefix= |
1179 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1180 | |
1181 | test "$silent" = yes && exec 6>/dev/null |
1182 | |
1183 | |
1184 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1185 | ac_ls_di=`ls -di .` && |
1186 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1187 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
1188 | { (exit 1); exit 1; }; } |
1189 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1190 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 |
1191 | { (exit 1); exit 1; }; } |
1192 | |
1193 | |
1194 | # Find the source files, if location was not specified. |
1195 | if test -z "$srcdir"; then |
1196 | ac_srcdir_defaulted=yes |
1197 | # Try the directory containing this script, then the parent directory. |
1198 | ac_confdir=`$as_dirname -- "$as_myself" || |
1199 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1200 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1201 | X"$as_myself" : 'X\(//\)$' \| \ |
1202 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1203 | $as_echo X"$as_myself" | |
1204 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1205 | s//\1/ |
1206 | q |
1207 | } |
1208 | /^X\(\/\/\)[^/].*/{ |
1209 | s//\1/ |
1210 | q |
1211 | } |
1212 | /^X\(\/\/\)$/{ |
1213 | s//\1/ |
1214 | q |
1215 | } |
1216 | /^X\(\/\).*/{ |
1217 | s//\1/ |
1218 | q |
1219 | } |
1220 | s/.*/./; q'` |
1221 | srcdir=$ac_confdir |
1222 | if test ! -r "$srcdir/$ac_unique_file"; then |
1223 | srcdir=.. |
1224 | fi |
1225 | else |
1226 | ac_srcdir_defaulted=no |
1227 | fi |
1228 | if test ! -r "$srcdir/$ac_unique_file"; then |
1229 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1230 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1231 | { (exit 1); exit 1; }; } |
1232 | fi |
1233 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1234 | ac_abs_confdir=`( |
1235 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 |
1236 | { (exit 1); exit 1; }; } |
1237 | pwd)` |
1238 | # When building in place, set srcdir=. |
1239 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1240 | srcdir=. |
1241 | fi |
1242 | # Remove unnecessary trailing slashes from srcdir. |
1243 | # Double slashes in file names in object file debugging info |
1244 | # mess up M-x gdb in Emacs. |
1245 | case $srcdir in |
1246 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1247 | esac |
1248 | for ac_var in $ac_precious_vars; do |
1249 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1250 | eval ac_env_${ac_var}_value=\$${ac_var} |
1251 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1252 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1253 | done |
1254 | |
1255 | # |
1256 | # Report the --help message. |
1257 | # |
1258 | if test "$ac_init_help" = "long"; then |
1259 | # Omit some internal or obsolete options to make the list less imposing. |
1260 | # This message is too long to be a string in the A/UX 3.1 sh. |
1261 | cat <<_ACEOF |
1262 | \`configure' configures bti 026 to adapt to many kinds of systems. |
1263 | |
1264 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1265 | |
1266 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1267 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1268 | |
1269 | Defaults for the options are specified in brackets. |
1270 | |
1271 | Configuration: |
1272 | -h, --help display this help and exit |
1273 | --help=short display options specific to this package |
1274 | --help=recursive display the short help of all the included packages |
1275 | -V, --version display version information and exit |
1276 | -q, --quiet, --silent do not print \`checking...' messages |
1277 | --cache-file=FILE cache test results in FILE [disabled] |
1278 | -C, --config-cache alias for \`--cache-file=config.cache' |
1279 | -n, --no-create do not create output files |
1280 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1281 | |
1282 | Installation directories: |
1283 | --prefix=PREFIX install architecture-independent files in PREFIX |
1284 | [$ac_default_prefix] |
1285 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1286 | [PREFIX] |
1287 | |
1288 | By default, \`make install' will install all the files in |
1289 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1290 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1291 | for instance \`--prefix=\$HOME'. |
1292 | |
1293 | For better control, use the options below. |
1294 | |
1295 | Fine tuning of the installation directories: |
1296 | --bindir=DIR user executables [EPREFIX/bin] |
1297 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1298 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1299 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1300 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1301 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1302 | --libdir=DIR object code libraries [EPREFIX/lib] |
1303 | --includedir=DIR C header files [PREFIX/include] |
1304 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1305 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1306 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1307 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1308 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1309 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1310 | --docdir=DIR documentation root [DATAROOTDIR/doc/bti] |
1311 | --htmldir=DIR html documentation [DOCDIR] |
1312 | --dvidir=DIR dvi documentation [DOCDIR] |
1313 | --pdfdir=DIR pdf documentation [DOCDIR] |
1314 | --psdir=DIR ps documentation [DOCDIR] |
1315 | _ACEOF |
1316 | |
1317 | cat <<\_ACEOF |
1318 | |
1319 | Program names: |
1320 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1321 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1322 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1323 | _ACEOF |
1324 | fi |
1325 | |
1326 | if test -n "$ac_init_help"; then |
1327 | case $ac_init_help in |
1328 | short | recursive ) echo "Configuration of bti 026:";; |
1329 | esac |
1330 | cat <<\_ACEOF |
1331 | |
1332 | Optional Features: |
1333 | --disable-option-checking ignore unrecognized --enable/--with options |
1334 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1335 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1336 | --enable-silent-rules less verbose build output (undo: `make V=1') |
1337 | --disable-silent-rules verbose build output (undo: `make V=0') |
1338 | --disable-dependency-tracking speeds up one-time build |
1339 | --enable-dependency-tracking do not reject slow dependency extractors |
1340 | --disable-xmltest Do not try to compile and run a test LIBXML program |
1341 | |
1342 | Optional Packages: |
1343 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1344 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1345 | --with-libcurl=DIR look for the curl library in DIR |
1346 | --with-xml-prefix=PFX Prefix where libxml is installed (optional) |
1347 | --with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional) |
1348 | |
1349 | Some influential environment variables: |
1350 | CC C compiler command |
1351 | CFLAGS C compiler flags |
1352 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1353 | nonstandard directory <lib dir> |
1354 | LIBS libraries to pass to the linker, e.g. -l<library> |
1355 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1356 | you have headers in a nonstandard directory <include dir> |
1357 | |
1358 | Use these variables to override the choices made by `configure' or to help |
1359 | it to find libraries and programs with nonstandard names/locations. |
1360 | |
1361 | Report bugs to <greg@kroah.com>. |
1362 | _ACEOF |
1363 | ac_status=$? |
1364 | fi |
1365 | |
1366 | if test "$ac_init_help" = "recursive"; then |
1367 | # If there are subdirs, report their specific --help. |
1368 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1369 | test -d "$ac_dir" || |
1370 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1371 | continue |
1372 | ac_builddir=. |
1373 | |
1374 | case "$ac_dir" in |
1375 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1376 | *) |
1377 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1378 | # A ".." for each directory in $ac_dir_suffix. |
1379 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1380 | case $ac_top_builddir_sub in |
1381 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1382 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1383 | esac ;; |
1384 | esac |
1385 | ac_abs_top_builddir=$ac_pwd |
1386 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1387 | # for backward compatibility: |
1388 | ac_top_builddir=$ac_top_build_prefix |
1389 | |
1390 | case $srcdir in |
1391 | .) # We are building in place. |
1392 | ac_srcdir=. |
1393 | ac_top_srcdir=$ac_top_builddir_sub |
1394 | ac_abs_top_srcdir=$ac_pwd ;; |
1395 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1396 | ac_srcdir=$srcdir$ac_dir_suffix; |
1397 | ac_top_srcdir=$srcdir |
1398 | ac_abs_top_srcdir=$srcdir ;; |
1399 | *) # Relative name. |
1400 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1401 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1402 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1403 | esac |
1404 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1405 | |
1406 | cd "$ac_dir" || { ac_status=$?; continue; } |
1407 | # Check for guested configure. |
1408 | if test -f "$ac_srcdir/configure.gnu"; then |
1409 | echo && |
1410 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1411 | elif test -f "$ac_srcdir/configure"; then |
1412 | echo && |
1413 | $SHELL "$ac_srcdir/configure" --help=recursive |
1414 | else |
1415 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1416 | fi || ac_status=$? |
1417 | cd "$ac_pwd" || { ac_status=$?; break; } |
1418 | done |
1419 | fi |
1420 | |
1421 | test -n "$ac_init_help" && exit $ac_status |
1422 | if $ac_init_version; then |
1423 | cat <<\_ACEOF |
1424 | bti configure 026 |
1425 | generated by GNU Autoconf 2.63 |
1426 | |
1427 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1428 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1429 | This configure script is free software; the Free Software Foundation |
1430 | gives unlimited permission to copy, distribute and modify it. |
1431 | _ACEOF |
1432 | exit |
1433 | fi |
1434 | cat >config.log <<_ACEOF |
1435 | This file contains any messages produced by compilers while |
1436 | running configure, to aid debugging if configure makes a mistake. |
1437 | |
1438 | It was created by bti $as_me 026, which was |
1439 | generated by GNU Autoconf 2.63. Invocation command line was |
1440 | |
1441 | $ $0 $@ |
1442 | |
1443 | _ACEOF |
1444 | exec 5>>config.log |
1445 | { |
1446 | cat <<_ASUNAME |
1447 | ## --------- ## |
1448 | ## Platform. ## |
1449 | ## --------- ## |
1450 | |
1451 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1452 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1453 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1454 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1455 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1456 | |
1457 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1458 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1459 | |
1460 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1461 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1462 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1463 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1464 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1465 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1466 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1467 | |
1468 | _ASUNAME |
1469 | |
1470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1471 | for as_dir in $PATH |
1472 | do |
1473 | IFS=$as_save_IFS |
1474 | test -z "$as_dir" && as_dir=. |
1475 | $as_echo "PATH: $as_dir" |
1476 | done |
1477 | IFS=$as_save_IFS |
1478 | |
1479 | } >&5 |
1480 | |
1481 | cat >&5 <<_ACEOF |
1482 | |
1483 | |
1484 | ## ----------- ## |
1485 | ## Core tests. ## |
1486 | ## ----------- ## |
1487 | |
1488 | _ACEOF |
1489 | |
1490 | |
1491 | # Keep a trace of the command line. |
1492 | # Strip out --no-create and --no-recursion so they do not pile up. |
1493 | # Strip out --silent because we don't want to record it for future runs. |
1494 | # Also quote any args containing shell meta-characters. |
1495 | # Make two passes to allow for proper duplicate-argument suppression. |
1496 | ac_configure_args= |
1497 | ac_configure_args0= |
1498 | ac_configure_args1= |
1499 | ac_must_keep_next=false |
1500 | for ac_pass in 1 2 |
1501 | do |
1502 | for ac_arg |
1503 | do |
1504 | case $ac_arg in |
1505 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1506 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1507 | | -silent | --silent | --silen | --sile | --sil) |
1508 | continue ;; |
1509 | *\'*) |
1510 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1511 | esac |
1512 | case $ac_pass in |
1513 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1514 | 2) |
1515 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
1516 | if test $ac_must_keep_next = true; then |
1517 | ac_must_keep_next=false # Got value, back to normal. |
1518 | else |
1519 | case $ac_arg in |
1520 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1521 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1522 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1523 | | -with-* | --with-* | -without-* | --without-* | --x) |
1524 | case "$ac_configure_args0 " in |
1525 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1526 | esac |
1527 | ;; |
1528 | -* ) ac_must_keep_next=true ;; |
1529 | esac |
1530 | fi |
1531 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1532 | ;; |
1533 | esac |
1534 | done |
1535 | done |
1536 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1537 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1538 | |
1539 | # When interrupted or exit'd, cleanup temporary files, and complete |
1540 | # config.log. We remove comments because anyway the quotes in there |
1541 | # would cause problems or look ugly. |
1542 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1543 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1544 | trap 'exit_status=$? |
1545 | # Save into config.log some information that might help in debugging. |
1546 | { |
1547 | echo |
1548 | |
1549 | cat <<\_ASBOX |
1550 | ## ---------------- ## |
1551 | ## Cache variables. ## |
1552 | ## ---------------- ## |
1553 | _ASBOX |
1554 | echo |
1555 | # The following way of writing the cache mishandles newlines in values, |
1556 | ( |
1557 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1558 | eval ac_val=\$$ac_var |
1559 | case $ac_val in #( |
1560 | *${as_nl}*) |
1561 | case $ac_var in #( |
1562 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
1563 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1564 | esac |
1565 | case $ac_var in #( |
1566 | _ | IFS | as_nl) ;; #( |
1567 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1568 | *) $as_unset $ac_var ;; |
1569 | esac ;; |
1570 | esac |
1571 | done |
1572 | (set) 2>&1 | |
1573 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1574 | *${as_nl}ac_space=\ *) |
1575 | sed -n \ |
1576 | "s/'\''/'\''\\\\'\'''\''/g; |
1577 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1578 | ;; #( |
1579 | *) |
1580 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1581 | ;; |
1582 | esac | |
1583 | sort |
1584 | ) |
1585 | echo |
1586 | |
1587 | cat <<\_ASBOX |
1588 | ## ----------------- ## |
1589 | ## Output variables. ## |
1590 | ## ----------------- ## |
1591 | _ASBOX |
1592 | echo |
1593 | for ac_var in $ac_subst_vars |
1594 | do |
1595 | eval ac_val=\$$ac_var |
1596 | case $ac_val in |
1597 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1598 | esac |
1599 | $as_echo "$ac_var='\''$ac_val'\''" |
1600 | done | sort |
1601 | echo |
1602 | |
1603 | if test -n "$ac_subst_files"; then |
1604 | cat <<\_ASBOX |
1605 | ## ------------------- ## |
1606 | ## File substitutions. ## |
1607 | ## ------------------- ## |
1608 | _ASBOX |
1609 | echo |
1610 | for ac_var in $ac_subst_files |
1611 | do |
1612 | eval ac_val=\$$ac_var |
1613 | case $ac_val in |
1614 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1615 | esac |
1616 | $as_echo "$ac_var='\''$ac_val'\''" |
1617 | done | sort |
1618 | echo |
1619 | fi |
1620 | |
1621 | if test -s confdefs.h; then |
1622 | cat <<\_ASBOX |
1623 | ## ----------- ## |
1624 | ## confdefs.h. ## |
1625 | ## ----------- ## |
1626 | _ASBOX |
1627 | echo |
1628 | cat confdefs.h |
1629 | echo |
1630 | fi |
1631 | test "$ac_signal" != 0 && |
1632 | $as_echo "$as_me: caught signal $ac_signal" |
1633 | $as_echo "$as_me: exit $exit_status" |
1634 | } >&5 |
1635 | rm -f core *.core core.conftest.* && |
1636 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1637 | exit $exit_status |
1638 | ' 0 |
1639 | for ac_signal in 1 2 13 15; do |
1640 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1641 | done |
1642 | ac_signal=0 |
1643 | |
1644 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1645 | rm -f -r conftest* confdefs.h |
1646 | |
1647 | # Predefined preprocessor variables. |
1648 | |
1649 | cat >>confdefs.h <<_ACEOF |
1650 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1651 | _ACEOF |
1652 | |
1653 | |
1654 | cat >>confdefs.h <<_ACEOF |
1655 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1656 | _ACEOF |
1657 | |
1658 | |
1659 | cat >>confdefs.h <<_ACEOF |
1660 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1661 | _ACEOF |
1662 | |
1663 | |
1664 | cat >>confdefs.h <<_ACEOF |
1665 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1666 | _ACEOF |
1667 | |
1668 | |
1669 | cat >>confdefs.h <<_ACEOF |
1670 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1671 | _ACEOF |
1672 | |
1673 | |
1674 | # Let the site file select an alternate cache file if it wants to. |
1675 | # Prefer an explicitly selected file to automatically selected ones. |
1676 | ac_site_file1=NONE |
1677 | ac_site_file2=NONE |
1678 | if test -n "$CONFIG_SITE"; then |
1679 | ac_site_file1=$CONFIG_SITE |
1680 | elif test "x$prefix" != xNONE; then |
1681 | ac_site_file1=$prefix/share/config.site |
1682 | ac_site_file2=$prefix/etc/config.site |
1683 | else |
1684 | ac_site_file1=$ac_default_prefix/share/config.site |
1685 | ac_site_file2=$ac_default_prefix/etc/config.site |
1686 | fi |
1687 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1688 | do |
1689 | test "x$ac_site_file" = xNONE && continue |
1690 | if test -r "$ac_site_file"; then |
1691 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1692 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
1693 | sed 's/^/| /' "$ac_site_file" >&5 |
1694 | . "$ac_site_file" |
1695 | fi |
1696 | done |
1697 | |
1698 | if test -r "$cache_file"; then |
1699 | # Some versions of bash will fail to source /dev/null (special |
1700 | # files actually), so we avoid doing that. |
1701 | if test -f "$cache_file"; then |
1702 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1703 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1704 | case $cache_file in |
1705 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1706 | *) . "./$cache_file";; |
1707 | esac |
1708 | fi |
1709 | else |
1710 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1711 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1712 | >$cache_file |
1713 | fi |
1714 | |
1715 | # Check that the precious variables saved in the cache have kept the same |
1716 | # value. |
1717 | ac_cache_corrupted=false |
1718 | for ac_var in $ac_precious_vars; do |
1719 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1720 | eval ac_new_set=\$ac_env_${ac_var}_set |
1721 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1722 | eval ac_new_val=\$ac_env_${ac_var}_value |
1723 | case $ac_old_set,$ac_new_set in |
1724 | set,) |
1725 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1726 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1727 | ac_cache_corrupted=: ;; |
1728 | ,set) |
1729 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1730 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1731 | ac_cache_corrupted=: ;; |
1732 | ,);; |
1733 | *) |
1734 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1735 | # differences in whitespace do not lead to failure. |
1736 | ac_old_val_w=`echo x $ac_old_val` |
1737 | ac_new_val_w=`echo x $ac_new_val` |
1738 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1739 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1740 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1741 | ac_cache_corrupted=: |
1742 | else |
1743 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
1744 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
1745 | eval $ac_var=\$ac_old_val |
1746 | fi |
1747 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
1748 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
1749 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
1750 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
1751 | fi;; |
1752 | esac |
1753 | # Pass precious variables to config.status. |
1754 | if test "$ac_new_set" = set; then |
1755 | case $ac_new_val in |
1756 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1757 | *) ac_arg=$ac_var=$ac_new_val ;; |
1758 | esac |
1759 | case " $ac_configure_args " in |
1760 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1761 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1762 | esac |
1763 | fi |
1764 | done |
1765 | if $ac_cache_corrupted; then |
1766 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
1767 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1768 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1769 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1770 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1771 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1772 | { (exit 1); exit 1; }; } |
1773 | fi |
1774 | |
1775 | |
1776 | |
1777 | |
1778 | |
1779 | |
1780 | |
1781 | |
1782 | |
1783 | |
1784 | |
1785 | |
1786 | |
1787 | |
1788 | |
1789 | |
1790 | |
1791 | |
1792 | |
1793 | |
1794 | |
1795 | |
1796 | |
1797 | |
1798 | |
1799 | ac_ext=c |
1800 | ac_cpp='$CPP $CPPFLAGS' |
1801 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1802 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1803 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1804 | |
1805 | |
1806 | |
1807 | |
1808 | am__api_version='1.11' |
1809 | |
1810 | ac_aux_dir= |
1811 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1812 | if test -f "$ac_dir/install-sh"; then |
1813 | ac_aux_dir=$ac_dir |
1814 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1815 | break |
1816 | elif test -f "$ac_dir/install.sh"; then |
1817 | ac_aux_dir=$ac_dir |
1818 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1819 | break |
1820 | elif test -f "$ac_dir/shtool"; then |
1821 | ac_aux_dir=$ac_dir |
1822 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1823 | break |
1824 | fi |
1825 | done |
1826 | if test -z "$ac_aux_dir"; then |
1827 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
1828 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
1829 | { (exit 1); exit 1; }; } |
1830 | fi |
1831 | |
1832 | # These three variables are undocumented and unsupported, |
1833 | # and are intended to be withdrawn in a future Autoconf release. |
1834 | # They can cause serious problems if a builder's source tree is in a directory |
1835 | # whose full name contains unusual characters. |
1836 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1837 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1838 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
1839 | |
1840 | |
1841 | # Find a good install program. We prefer a C program (faster), |
1842 | # so one script is as good as another. But avoid the broken or |
1843 | # incompatible versions: |
1844 | # SysV /etc/install, /usr/sbin/install |
1845 | # SunOS /usr/etc/install |
1846 | # IRIX /sbin/install |
1847 | # AIX /bin/install |
1848 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
1849 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1850 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1851 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1852 | # OS/2's system install, which has a completely different semantic |
1853 | # ./install, which can be erroneously created by make from ./install.sh. |
1854 | # Reject install programs that cannot install multiple files. |
1855 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1856 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
1857 | if test -z "$INSTALL"; then |
1858 | if test "${ac_cv_path_install+set}" = set; then |
1859 | $as_echo_n "(cached) " >&6 |
1860 | else |
1861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1862 | for as_dir in $PATH |
1863 | do |
1864 | IFS=$as_save_IFS |
1865 | test -z "$as_dir" && as_dir=. |
1866 | # Account for people who put trailing slashes in PATH elements. |
1867 | case $as_dir/ in |
1868 | ./ | .// | /cC/* | \ |
1869 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
1870 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
1871 | /usr/ucb/* ) ;; |
1872 | *) |
1873 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1874 | # Don't use installbsd from OSF since it installs stuff as root |
1875 | # by default. |
1876 | for ac_prog in ginstall scoinst install; do |
1877 | for ac_exec_ext in '' $ac_executable_extensions; do |
1878 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1879 | if test $ac_prog = install && |
1880 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1881 | # AIX install. It has an incompatible calling convention. |
1882 | : |
1883 | elif test $ac_prog = install && |
1884 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1885 | # program-specific install script used by HP pwplus--don't use. |
1886 | : |
1887 | else |
1888 | rm -rf conftest.one conftest.two conftest.dir |
1889 | echo one > conftest.one |
1890 | echo two > conftest.two |
1891 | mkdir conftest.dir |
1892 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
1893 | test -s conftest.one && test -s conftest.two && |
1894 | test -s conftest.dir/conftest.one && |
1895 | test -s conftest.dir/conftest.two |
1896 | then |
1897 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
1898 | break 3 |
1899 | fi |
1900 | fi |
1901 | fi |
1902 | done |
1903 | done |
1904 | ;; |
1905 | esac |
1906 | |
1907 | done |
1908 | IFS=$as_save_IFS |
1909 | |
1910 | rm -rf conftest.one conftest.two conftest.dir |
1911 | |
1912 | fi |
1913 | if test "${ac_cv_path_install+set}" = set; then |
1914 | INSTALL=$ac_cv_path_install |
1915 | else |
1916 | # As a last resort, use the slow shell script. Don't cache a |
1917 | # value for INSTALL within a source directory, because that will |
1918 | # break other packages using the cache if that directory is |
1919 | # removed, or if the value is a relative name. |
1920 | INSTALL=$ac_install_sh |
1921 | fi |
1922 | fi |
1923 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1924 | $as_echo "$INSTALL" >&6; } |
1925 | |
1926 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1927 | # It thinks the first close brace ends the variable substitution. |
1928 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1929 | |
1930 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1931 | |
1932 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1933 | |
1934 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1935 | $as_echo_n "checking whether build environment is sane... " >&6; } |
1936 | # Just in case |
1937 | sleep 1 |
1938 | echo timestamp > conftest.file |
1939 | # Reject unsafe characters in $srcdir or the absolute working directory |
1940 | # name. Accept space and tab only in the latter. |
1941 | am_lf=' |
1942 | ' |
1943 | case `pwd` in |
1944 | *[\\\"\#\$\&\'\`$am_lf]*) |
1945 | { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 |
1946 | $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} |
1947 | { (exit 1); exit 1; }; };; |
1948 | esac |
1949 | case $srcdir in |
1950 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
1951 | { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 |
1952 | $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} |
1953 | { (exit 1); exit 1; }; };; |
1954 | esac |
1955 | |
1956 | # Do `set' in a subshell so we don't clobber the current shell's |
1957 | # arguments. Must try -L first in case configure is actually a |
1958 | # symlink; some systems play weird games with the mod time of symlinks |
1959 | # (eg FreeBSD returns the mod time of the symlink's containing |
1960 | # directory). |
1961 | if ( |
1962 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
1963 | if test "$*" = "X"; then |
1964 | # -L didn't work. |
1965 | set X `ls -t "$srcdir/configure" conftest.file` |
1966 | fi |
1967 | rm -f conftest.file |
1968 | if test "$*" != "X $srcdir/configure conftest.file" \ |
1969 | && test "$*" != "X conftest.file $srcdir/configure"; then |
1970 | |
1971 | # If neither matched, then we have a broken ls. This can happen |
1972 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
1973 | # broken ls alias from the environment. This has actually |
1974 | # happened. Such a system could not be considered "sane". |
1975 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
1976 | alias in your environment" >&5 |
1977 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken |
1978 | alias in your environment" >&2;} |
1979 | { (exit 1); exit 1; }; } |
1980 | fi |
1981 | |
1982 | test "$2" = conftest.file |
1983 | ) |
1984 | then |
1985 | # Ok. |
1986 | : |
1987 | else |
1988 | { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! |
1989 | Check your system clock" >&5 |
1990 | $as_echo "$as_me: error: newly created file is older than distributed files! |
1991 | Check your system clock" >&2;} |
1992 | { (exit 1); exit 1; }; } |
1993 | fi |
1994 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
1995 | $as_echo "yes" >&6; } |
1996 | test "$program_prefix" != NONE && |
1997 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1998 | # Use a double $ so make ignores it. |
1999 | test "$program_suffix" != NONE && |
2000 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2001 | # Double any \ or $. |
2002 | # By default was `s,x,x', remove it if useless. |
2003 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2004 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2005 | |
2006 | # expand $ac_aux_dir to an absolute path |
2007 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2008 | |
2009 | if test x"${MISSING+set}" != xset; then |
2010 | case $am_aux_dir in |
2011 | *\ * | *\ *) |
2012 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2013 | *) |
2014 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2015 | esac |
2016 | fi |
2017 | # Use eval to expand $SHELL |
2018 | if eval "$MISSING --run true"; then |
2019 | am_missing_run="$MISSING --run " |
2020 | else |
2021 | am_missing_run= |
2022 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
2023 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2024 | fi |
2025 | |
2026 | if test x"${install_sh}" != xset; then |
2027 | case $am_aux_dir in |
2028 | *\ * | *\ *) |
2029 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2030 | *) |
2031 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
2032 | esac |
2033 | fi |
2034 | |
2035 | # Installed binaries are usually stripped using `strip' when the user |
2036 | # run `make install-strip'. However `strip' might not be the right |
2037 | # tool to use in cross-compilation environments, therefore Automake |
2038 | # will honor the `STRIP' environment variable to overrule this program. |
2039 | if test "$cross_compiling" != no; then |
2040 | if test -n "$ac_tool_prefix"; then |
2041 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2042 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2043 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2044 | $as_echo_n "checking for $ac_word... " >&6; } |
2045 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2046 | $as_echo_n "(cached) " >&6 |
2047 | else |
2048 | if test -n "$STRIP"; then |
2049 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2050 | else |
2051 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2052 | for as_dir in $PATH |
2053 | do |
2054 | IFS=$as_save_IFS |
2055 | test -z "$as_dir" && as_dir=. |
2056 | for ac_exec_ext in '' $ac_executable_extensions; do |
2057 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2058 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2059 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2060 | break 2 |
2061 | fi |
2062 | done |
2063 | done |
2064 | IFS=$as_save_IFS |
2065 | |
2066 | fi |
2067 | fi |
2068 | STRIP=$ac_cv_prog_STRIP |
2069 | if test -n "$STRIP"; then |
2070 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
2071 | $as_echo "$STRIP" >&6; } |
2072 | else |
2073 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2074 | $as_echo "no" >&6; } |
2075 | fi |
2076 | |
2077 | |
2078 | fi |
2079 | if test -z "$ac_cv_prog_STRIP"; then |
2080 | ac_ct_STRIP=$STRIP |
2081 | # Extract the first word of "strip", so it can be a program name with args. |
2082 | set dummy strip; ac_word=$2 |
2083 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2084 | $as_echo_n "checking for $ac_word... " >&6; } |
2085 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2086 | $as_echo_n "(cached) " >&6 |
2087 | else |
2088 | if test -n "$ac_ct_STRIP"; then |
2089 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2090 | else |
2091 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2092 | for as_dir in $PATH |
2093 | do |
2094 | IFS=$as_save_IFS |
2095 | test -z "$as_dir" && as_dir=. |
2096 | for ac_exec_ext in '' $ac_executable_extensions; do |
2097 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2098 | ac_cv_prog_ac_ct_STRIP="strip" |
2099 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2100 | break 2 |
2101 | fi |
2102 | done |
2103 | done |
2104 | IFS=$as_save_IFS |
2105 | |
2106 | fi |
2107 | fi |
2108 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2109 | if test -n "$ac_ct_STRIP"; then |
2110 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2111 | $as_echo "$ac_ct_STRIP" >&6; } |
2112 | else |
2113 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2114 | $as_echo "no" >&6; } |
2115 | fi |
2116 | |
2117 | if test "x$ac_ct_STRIP" = x; then |
2118 | STRIP=":" |
2119 | else |
2120 | case $cross_compiling:$ac_tool_warned in |
2121 | yes:) |
2122 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2123 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2124 | ac_tool_warned=yes ;; |
2125 | esac |
2126 | STRIP=$ac_ct_STRIP |
2127 | fi |
2128 | else |
2129 | STRIP="$ac_cv_prog_STRIP" |
2130 | fi |
2131 | |
2132 | fi |
2133 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2134 | |
2135 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
2136 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2137 | if test -z "$MKDIR_P"; then |
2138 | if test "${ac_cv_path_mkdir+set}" = set; then |
2139 | $as_echo_n "(cached) " >&6 |
2140 | else |
2141 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2142 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2143 | do |
2144 | IFS=$as_save_IFS |
2145 | test -z "$as_dir" && as_dir=. |
2146 | for ac_prog in mkdir gmkdir; do |
2147 | for ac_exec_ext in '' $ac_executable_extensions; do |
2148 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2149 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2150 | 'mkdir (GNU coreutils) '* | \ |
2151 | 'mkdir (coreutils) '* | \ |
2152 | 'mkdir (fileutils) '4.1*) |
2153 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2154 | break 3;; |
2155 | esac |
2156 | done |
2157 | done |
2158 | done |
2159 | IFS=$as_save_IFS |
2160 | |
2161 | fi |
2162 | |
2163 | if test "${ac_cv_path_mkdir+set}" = set; then |
2164 | MKDIR_P="$ac_cv_path_mkdir -p" |
2165 | else |
2166 | # As a last resort, use the slow shell script. Don't cache a |
2167 | # value for MKDIR_P within a source directory, because that will |
2168 | # break other packages using the cache if that directory is |
2169 | # removed, or if the value is a relative name. |
2170 | test -d ./--version && rmdir ./--version |
2171 | MKDIR_P="$ac_install_sh -d" |
2172 | fi |
2173 | fi |
2174 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
2175 | $as_echo "$MKDIR_P" >&6; } |
2176 | |
2177 | mkdir_p="$MKDIR_P" |
2178 | case $mkdir_p in |
2179 | [\\/$]* | ?:[\\/]*) ;; |
2180 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2181 | esac |
2182 | |
2183 | for ac_prog in gawk mawk nawk awk |
2184 | do |
2185 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2186 | set dummy $ac_prog; ac_word=$2 |
2187 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2188 | $as_echo_n "checking for $ac_word... " >&6; } |
2189 | if test "${ac_cv_prog_AWK+set}" = set; then |
2190 | $as_echo_n "(cached) " >&6 |
2191 | else |
2192 | if test -n "$AWK"; then |
2193 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2194 | else |
2195 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2196 | for as_dir in $PATH |
2197 | do |
2198 | IFS=$as_save_IFS |
2199 | test -z "$as_dir" && as_dir=. |
2200 | for ac_exec_ext in '' $ac_executable_extensions; do |
2201 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2202 | ac_cv_prog_AWK="$ac_prog" |
2203 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2204 | break 2 |
2205 | fi |
2206 | done |
2207 | done |
2208 | IFS=$as_save_IFS |
2209 | |
2210 | fi |
2211 | fi |
2212 | AWK=$ac_cv_prog_AWK |
2213 | if test -n "$AWK"; then |
2214 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
2215 | $as_echo "$AWK" >&6; } |
2216 | else |
2217 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2218 | $as_echo "no" >&6; } |
2219 | fi |
2220 | |
2221 | |
2222 | test -n "$AWK" && break |
2223 | done |
2224 | |
2225 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2226 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2227 | set x ${MAKE-make} |
2228 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2229 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
2230 | $as_echo_n "(cached) " >&6 |
2231 | else |
2232 | cat >conftest.make <<\_ACEOF |
2233 | SHELL = /bin/sh |
2234 | all: |
2235 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2236 | _ACEOF |
2237 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2238 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2239 | *@@@%%%=?*=@@@%%%*) |
2240 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2241 | *) |
2242 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2243 | esac |
2244 | rm -f conftest.make |
2245 | fi |
2246 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2247 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2248 | $as_echo "yes" >&6; } |
2249 | SET_MAKE= |
2250 | else |
2251 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2252 | $as_echo "no" >&6; } |
2253 | SET_MAKE="MAKE=${MAKE-make}" |
2254 | fi |
2255 | |
2256 | rm -rf .tst 2>/dev/null |
2257 | mkdir .tst 2>/dev/null |
2258 | if test -d .tst; then |
2259 | am__leading_dot=. |
2260 | else |
2261 | am__leading_dot=_ |
2262 | fi |
2263 | rmdir .tst 2>/dev/null |
2264 | |
2265 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2266 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2267 | # is not polluted with repeated "-I." |
2268 | am__isrc=' -I$(srcdir)' |
2269 | # test to see if srcdir already configured |
2270 | if test -f $srcdir/config.status; then |
2271 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
2272 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} |
2273 | { (exit 1); exit 1; }; } |
2274 | fi |
2275 | fi |
2276 | |
2277 | # test whether we have cygpath |
2278 | if test -z "$CYGPATH_W"; then |
2279 | if (cygpath --version) >/dev/null 2>/dev/null; then |
2280 | CYGPATH_W='cygpath -w' |
2281 | else |
2282 | CYGPATH_W=echo |
2283 | fi |
2284 | fi |
2285 | |
2286 | |
2287 | # Define the identity of the package. |
2288 | PACKAGE=bti |
2289 | VERSION=026 |
2290 | |
2291 | |
2292 | cat >>confdefs.h <<_ACEOF |
2293 | #define PACKAGE "$PACKAGE" |
2294 | _ACEOF |
2295 | |
2296 | |
2297 | cat >>confdefs.h <<_ACEOF |
2298 | #define VERSION "$VERSION" |
2299 | _ACEOF |
2300 | |
2301 | # Some tools Automake needs. |
2302 | |
2303 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2304 | |
2305 | |
2306 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2307 | |
2308 | |
2309 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2310 | |
2311 | |
2312 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2313 | |
2314 | |
2315 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2316 | |
2317 | # We need awk for the "check" target. The system "awk" is bad on |
2318 | # some platforms. |
2319 | # Always define AMTAR for backward compatibility. |
2320 | |
2321 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
2322 | |
2323 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2324 | |
2325 | |
2326 | |
2327 | |
2328 | |
2329 | |
2330 | # Check whether --enable-silent-rules was given. |
2331 | if test "${enable_silent_rules+set}" = set; then |
2332 | enableval=$enable_silent_rules; |
2333 | fi |
2334 | |
2335 | case $enable_silent_rules in |
2336 | yes) AM_DEFAULT_VERBOSITY=0;; |
2337 | no) AM_DEFAULT_VERBOSITY=1;; |
2338 | *) AM_DEFAULT_VERBOSITY=0;; |
2339 | esac |
2340 | AM_BACKSLASH='\' |
2341 | |
2342 | |
2343 | ac_ext=c |
2344 | ac_cpp='$CPP $CPPFLAGS' |
2345 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2346 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2347 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2348 | if test -n "$ac_tool_prefix"; then |
2349 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2350 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2351 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2352 | $as_echo_n "checking for $ac_word... " >&6; } |
2353 | if test "${ac_cv_prog_CC+set}" = set; then |
2354 | $as_echo_n "(cached) " >&6 |
2355 | else |
2356 | if test -n "$CC"; then |
2357 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2358 | else |
2359 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2360 | for as_dir in $PATH |
2361 | do |
2362 | IFS=$as_save_IFS |
2363 | test -z "$as_dir" && as_dir=. |
2364 | for ac_exec_ext in '' $ac_executable_extensions; do |
2365 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2366 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2367 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2368 | break 2 |
2369 | fi |
2370 | done |
2371 | done |
2372 | IFS=$as_save_IFS |
2373 | |
2374 | fi |
2375 | fi |
2376 | CC=$ac_cv_prog_CC |
2377 | if test -n "$CC"; then |
2378 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2379 | $as_echo "$CC" >&6; } |
2380 | else |
2381 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2382 | $as_echo "no" >&6; } |
2383 | fi |
2384 | |
2385 | |
2386 | fi |
2387 | if test -z "$ac_cv_prog_CC"; then |
2388 | ac_ct_CC=$CC |
2389 | # Extract the first word of "gcc", so it can be a program name with args. |
2390 | set dummy gcc; ac_word=$2 |
2391 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2392 | $as_echo_n "checking for $ac_word... " >&6; } |
2393 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2394 | $as_echo_n "(cached) " >&6 |
2395 | else |
2396 | if test -n "$ac_ct_CC"; then |
2397 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2398 | else |
2399 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2400 | for as_dir in $PATH |
2401 | do |
2402 | IFS=$as_save_IFS |
2403 | test -z "$as_dir" && as_dir=. |
2404 | for ac_exec_ext in '' $ac_executable_extensions; do |
2405 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2406 | ac_cv_prog_ac_ct_CC="gcc" |
2407 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2408 | break 2 |
2409 | fi |
2410 | done |
2411 | done |
2412 | IFS=$as_save_IFS |
2413 | |
2414 | fi |
2415 | fi |
2416 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2417 | if test -n "$ac_ct_CC"; then |
2418 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2419 | $as_echo "$ac_ct_CC" >&6; } |
2420 | else |
2421 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2422 | $as_echo "no" >&6; } |
2423 | fi |
2424 | |
2425 | if test "x$ac_ct_CC" = x; then |
2426 | CC="" |
2427 | else |
2428 | case $cross_compiling:$ac_tool_warned in |
2429 | yes:) |
2430 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2431 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2432 | ac_tool_warned=yes ;; |
2433 | esac |
2434 | CC=$ac_ct_CC |
2435 | fi |
2436 | else |
2437 | CC="$ac_cv_prog_CC" |
2438 | fi |
2439 | |
2440 | if test -z "$CC"; then |
2441 | if test -n "$ac_tool_prefix"; then |
2442 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2443 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2444 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2445 | $as_echo_n "checking for $ac_word... " >&6; } |
2446 | if test "${ac_cv_prog_CC+set}" = set; then |
2447 | $as_echo_n "(cached) " >&6 |
2448 | else |
2449 | if test -n "$CC"; then |
2450 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2451 | else |
2452 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2453 | for as_dir in $PATH |
2454 | do |
2455 | IFS=$as_save_IFS |
2456 | test -z "$as_dir" && as_dir=. |
2457 | for ac_exec_ext in '' $ac_executable_extensions; do |
2458 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2459 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2460 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2461 | break 2 |
2462 | fi |
2463 | done |
2464 | done |
2465 | IFS=$as_save_IFS |
2466 | |
2467 | fi |
2468 | fi |
2469 | CC=$ac_cv_prog_CC |
2470 | if test -n "$CC"; then |
2471 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2472 | $as_echo "$CC" >&6; } |
2473 | else |
2474 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2475 | $as_echo "no" >&6; } |
2476 | fi |
2477 | |
2478 | |
2479 | fi |
2480 | fi |
2481 | if test -z "$CC"; then |
2482 | # Extract the first word of "cc", so it can be a program name with args. |
2483 | set dummy cc; ac_word=$2 |
2484 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2485 | $as_echo_n "checking for $ac_word... " >&6; } |
2486 | if test "${ac_cv_prog_CC+set}" = set; then |
2487 | $as_echo_n "(cached) " >&6 |
2488 | else |
2489 | if test -n "$CC"; then |
2490 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2491 | else |
2492 | ac_prog_rejected=no |
2493 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2494 | for as_dir in $PATH |
2495 | do |
2496 | IFS=$as_save_IFS |
2497 | test -z "$as_dir" && as_dir=. |
2498 | for ac_exec_ext in '' $ac_executable_extensions; do |
2499 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2500 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2501 | ac_prog_rejected=yes |
2502 | continue |
2503 | fi |
2504 | ac_cv_prog_CC="cc" |
2505 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2506 | break 2 |
2507 | fi |
2508 | done |
2509 | done |
2510 | IFS=$as_save_IFS |
2511 | |
2512 | if test $ac_prog_rejected = yes; then |
2513 | # We found a bogon in the path, so make sure we never use it. |
2514 | set dummy $ac_cv_prog_CC |
2515 | shift |
2516 | if test $# != 0; then |
2517 | # We chose a different compiler from the bogus one. |
2518 | # However, it has the same basename, so the bogon will be chosen |
2519 | # first if we set CC to just the basename; use the full file name. |
2520 | shift |
2521 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
2522 | fi |
2523 | fi |
2524 | fi |
2525 | fi |
2526 | CC=$ac_cv_prog_CC |
2527 | if test -n "$CC"; then |
2528 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2529 | $as_echo "$CC" >&6; } |
2530 | else |
2531 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2532 | $as_echo "no" >&6; } |
2533 | fi |
2534 | |
2535 | |
2536 | fi |
2537 | if test -z "$CC"; then |
2538 | if test -n "$ac_tool_prefix"; then |
2539 | for ac_prog in cl.exe |
2540 | do |
2541 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2542 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2543 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2544 | $as_echo_n "checking for $ac_word... " >&6; } |
2545 | if test "${ac_cv_prog_CC+set}" = set; then |
2546 | $as_echo_n "(cached) " >&6 |
2547 | else |
2548 | if test -n "$CC"; then |
2549 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2550 | else |
2551 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2552 | for as_dir in $PATH |
2553 | do |
2554 | IFS=$as_save_IFS |
2555 | test -z "$as_dir" && as_dir=. |
2556 | for ac_exec_ext in '' $ac_executable_extensions; do |
2557 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2558 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2559 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2560 | break 2 |
2561 | fi |
2562 | done |
2563 | done |
2564 | IFS=$as_save_IFS |
2565 | |
2566 | fi |
2567 | fi |
2568 | CC=$ac_cv_prog_CC |
2569 | if test -n "$CC"; then |
2570 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
2571 | $as_echo "$CC" >&6; } |
2572 | else |
2573 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2574 | $as_echo "no" >&6; } |
2575 | fi |
2576 | |
2577 | |
2578 | test -n "$CC" && break |
2579 | done |
2580 | fi |
2581 | if test -z "$CC"; then |
2582 | ac_ct_CC=$CC |
2583 | for ac_prog in cl.exe |
2584 | do |
2585 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2586 | set dummy $ac_prog; ac_word=$2 |
2587 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2588 | $as_echo_n "checking for $ac_word... " >&6; } |
2589 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2590 | $as_echo_n "(cached) " >&6 |
2591 | else |
2592 | if test -n "$ac_ct_CC"; then |
2593 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2594 | else |
2595 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2596 | for as_dir in $PATH |
2597 | do |
2598 | IFS=$as_save_IFS |
2599 | test -z "$as_dir" && as_dir=. |
2600 | for ac_exec_ext in '' $ac_executable_extensions; do |
2601 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2602 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2603 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2604 | break 2 |
2605 | fi |
2606 | done |
2607 | done |
2608 | IFS=$as_save_IFS |
2609 | |
2610 | fi |
2611 | fi |
2612 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2613 | if test -n "$ac_ct_CC"; then |
2614 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2615 | $as_echo "$ac_ct_CC" >&6; } |
2616 | else |
2617 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
2618 | $as_echo "no" >&6; } |
2619 | fi |
2620 | |
2621 | |
2622 | test -n "$ac_ct_CC" && break |
2623 | done |
2624 | |
2625 | if test "x$ac_ct_CC" = x; then |
2626 | CC="" |
2627 | else |
2628 | case $cross_compiling:$ac_tool_warned in |
2629 | yes:) |
2630 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
2631 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2632 | ac_tool_warned=yes ;; |
2633 | esac |
2634 | CC=$ac_ct_CC |
2635 | fi |
2636 | fi |
2637 | |
2638 | fi |
2639 | |
2640 | |
2641 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2642 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2643 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2644 | See \`config.log' for more details." >&5 |
2645 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH |
2646 | See \`config.log' for more details." >&2;} |
2647 | { (exit 1); exit 1; }; }; } |
2648 | |
2649 | # Provide some information about the compiler. |
2650 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2651 | set X $ac_compile |
2652 | ac_compiler=$2 |
2653 | { (ac_try="$ac_compiler --version >&5" |
2654 | case "(($ac_try" in |
2655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2656 | *) ac_try_echo=$ac_try;; |
2657 | esac |
2658 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2659 | $as_echo "$ac_try_echo") >&5 |
2660 | (eval "$ac_compiler --version >&5") 2>&5 |
2661 | ac_status=$? |
2662 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2663 | (exit $ac_status); } |
2664 | { (ac_try="$ac_compiler -v >&5" |
2665 | case "(($ac_try" in |
2666 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2667 | *) ac_try_echo=$ac_try;; |
2668 | esac |
2669 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2670 | $as_echo "$ac_try_echo") >&5 |
2671 | (eval "$ac_compiler -v >&5") 2>&5 |
2672 | ac_status=$? |
2673 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2674 | (exit $ac_status); } |
2675 | { (ac_try="$ac_compiler -V >&5" |
2676 | case "(($ac_try" in |
2677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2678 | *) ac_try_echo=$ac_try;; |
2679 | esac |
2680 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2681 | $as_echo "$ac_try_echo") >&5 |
2682 | (eval "$ac_compiler -V >&5") 2>&5 |
2683 | ac_status=$? |
2684 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2685 | (exit $ac_status); } |
2686 | |
2687 | cat >conftest.$ac_ext <<_ACEOF |
2688 | /* confdefs.h. */ |
2689 | _ACEOF |
2690 | cat confdefs.h >>conftest.$ac_ext |
2691 | cat >>conftest.$ac_ext <<_ACEOF |
2692 | /* end confdefs.h. */ |
2693 | |
2694 | int |
2695 | main () |
2696 | { |
2697 | |
2698 | ; |
2699 | return 0; |
2700 | } |
2701 | _ACEOF |
2702 | ac_clean_files_save=$ac_clean_files |
2703 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2704 | # Try to create an executable without -o first, disregard a.out. |
2705 | # It will help us diagnose broken compilers, and finding out an intuition |
2706 | # of exeext. |
2707 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2708 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
2709 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2710 | |
2711 | # The possible output files: |
2712 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2713 | |
2714 | ac_rmfiles= |
2715 | for ac_file in $ac_files |
2716 | do |
2717 | case $ac_file in |
2718 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2719 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2720 | esac |
2721 | done |
2722 | rm -f $ac_rmfiles |
2723 | |
2724 | if { (ac_try="$ac_link_default" |
2725 | case "(($ac_try" in |
2726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2727 | *) ac_try_echo=$ac_try;; |
2728 | esac |
2729 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2730 | $as_echo "$ac_try_echo") >&5 |
2731 | (eval "$ac_link_default") 2>&5 |
2732 | ac_status=$? |
2733 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2734 | (exit $ac_status); }; then |
2735 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2736 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2737 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2738 | # so that the user can short-circuit this test for compilers unknown to |
2739 | # Autoconf. |
2740 | for ac_file in $ac_files '' |
2741 | do |
2742 | test -f "$ac_file" || continue |
2743 | case $ac_file in |
2744 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2745 | ;; |
2746 | [ab].out ) |
2747 | # We found the default executable, but exeext='' is most |
2748 | # certainly right. |
2749 | break;; |
2750 | *.* ) |
2751 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2752 | then :; else |
2753 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2754 | fi |
2755 | # We set ac_cv_exeext here because the later test for it is not |
2756 | # safe: cross compilers may not add the suffix if given an `-o' |
2757 | # argument, so we may need to know it at that point already. |
2758 | # Even if this section looks crufty: it has the advantage of |
2759 | # actually working. |
2760 | break;; |
2761 | * ) |
2762 | break;; |
2763 | esac |
2764 | done |
2765 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
2766 | |
2767 | else |
2768 | ac_file='' |
2769 | fi |
2770 | |
2771 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
2772 | $as_echo "$ac_file" >&6; } |
2773 | if test -z "$ac_file"; then |
2774 | $as_echo "$as_me: failed program was:" >&5 |
2775 | sed 's/^/| /' conftest.$ac_ext >&5 |
2776 | |
2777 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2778 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2779 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables |
2780 | See \`config.log' for more details." >&5 |
2781 | $as_echo "$as_me: error: C compiler cannot create executables |
2782 | See \`config.log' for more details." >&2;} |
2783 | { (exit 77); exit 77; }; }; } |
2784 | fi |
2785 | |
2786 | ac_exeext=$ac_cv_exeext |
2787 | |
2788 | # Check that the compiler produces executables we can run. If not, either |
2789 | # the compiler is broken, or we cross compile. |
2790 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2791 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2792 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2793 | # If not cross compiling, check that we can run a simple program. |
2794 | if test "$cross_compiling" != yes; then |
2795 | if { ac_try='./$ac_file' |
2796 | { (case "(($ac_try" in |
2797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2798 | *) ac_try_echo=$ac_try;; |
2799 | esac |
2800 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2801 | $as_echo "$ac_try_echo") >&5 |
2802 | (eval "$ac_try") 2>&5 |
2803 | ac_status=$? |
2804 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2805 | (exit $ac_status); }; }; then |
2806 | cross_compiling=no |
2807 | else |
2808 | if test "$cross_compiling" = maybe; then |
2809 | cross_compiling=yes |
2810 | else |
2811 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2812 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2813 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2814 | If you meant to cross compile, use \`--host'. |
2815 | See \`config.log' for more details." >&5 |
2816 | $as_echo "$as_me: error: cannot run C compiled programs. |
2817 | If you meant to cross compile, use \`--host'. |
2818 | See \`config.log' for more details." >&2;} |
2819 | { (exit 1); exit 1; }; }; } |
2820 | fi |
2821 | fi |
2822 | fi |
2823 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
2824 | $as_echo "yes" >&6; } |
2825 | |
2826 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2827 | ac_clean_files=$ac_clean_files_save |
2828 | # Check that the compiler produces executables we can run. If not, either |
2829 | # the compiler is broken, or we cross compile. |
2830 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2831 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
2832 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2833 | $as_echo "$cross_compiling" >&6; } |
2834 | |
2835 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2836 | $as_echo_n "checking for suffix of executables... " >&6; } |
2837 | if { (ac_try="$ac_link" |
2838 | case "(($ac_try" in |
2839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2840 | *) ac_try_echo=$ac_try;; |
2841 | esac |
2842 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2843 | $as_echo "$ac_try_echo") >&5 |
2844 | (eval "$ac_link") 2>&5 |
2845 | ac_status=$? |
2846 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2847 | (exit $ac_status); }; then |
2848 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2849 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2850 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2851 | # `rm'. |
2852 | for ac_file in conftest.exe conftest conftest.*; do |
2853 | test -f "$ac_file" || continue |
2854 | case $ac_file in |
2855 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2856 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2857 | break;; |
2858 | * ) break;; |
2859 | esac |
2860 | done |
2861 | else |
2862 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2863 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2864 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
2865 | See \`config.log' for more details." >&5 |
2866 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
2867 | See \`config.log' for more details." >&2;} |
2868 | { (exit 1); exit 1; }; }; } |
2869 | fi |
2870 | |
2871 | rm -f conftest$ac_cv_exeext |
2872 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2873 | $as_echo "$ac_cv_exeext" >&6; } |
2874 | |
2875 | rm -f conftest.$ac_ext |
2876 | EXEEXT=$ac_cv_exeext |
2877 | ac_exeext=$EXEEXT |
2878 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2879 | $as_echo_n "checking for suffix of object files... " >&6; } |
2880 | if test "${ac_cv_objext+set}" = set; then |
2881 | $as_echo_n "(cached) " >&6 |
2882 | else |
2883 | cat >conftest.$ac_ext <<_ACEOF |
2884 | /* confdefs.h. */ |
2885 | _ACEOF |
2886 | cat confdefs.h >>conftest.$ac_ext |
2887 | cat >>conftest.$ac_ext <<_ACEOF |
2888 | /* end confdefs.h. */ |
2889 | |
2890 | int |
2891 | main () |
2892 | { |
2893 | |
2894 | ; |
2895 | return 0; |
2896 | } |
2897 | _ACEOF |
2898 | rm -f conftest.o conftest.obj |
2899 | if { (ac_try="$ac_compile" |
2900 | case "(($ac_try" in |
2901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2902 | *) ac_try_echo=$ac_try;; |
2903 | esac |
2904 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2905 | $as_echo "$ac_try_echo") >&5 |
2906 | (eval "$ac_compile") 2>&5 |
2907 | ac_status=$? |
2908 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2909 | (exit $ac_status); }; then |
2910 | for ac_file in conftest.o conftest.obj conftest.*; do |
2911 | test -f "$ac_file" || continue; |
2912 | case $ac_file in |
2913 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2914 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2915 | break;; |
2916 | esac |
2917 | done |
2918 | else |
2919 | $as_echo "$as_me: failed program was:" >&5 |
2920 | sed 's/^/| /' conftest.$ac_ext >&5 |
2921 | |
2922 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
2923 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2924 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
2925 | See \`config.log' for more details." >&5 |
2926 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile |
2927 | See \`config.log' for more details." >&2;} |
2928 | { (exit 1); exit 1; }; }; } |
2929 | fi |
2930 | |
2931 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2932 | fi |
2933 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2934 | $as_echo "$ac_cv_objext" >&6; } |
2935 | OBJEXT=$ac_cv_objext |
2936 | ac_objext=$OBJEXT |
2937 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2938 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2939 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2940 | $as_echo_n "(cached) " >&6 |
2941 | else |
2942 | cat >conftest.$ac_ext <<_ACEOF |
2943 | /* confdefs.h. */ |
2944 | _ACEOF |
2945 | cat confdefs.h >>conftest.$ac_ext |
2946 | cat >>conftest.$ac_ext <<_ACEOF |
2947 | /* end confdefs.h. */ |
2948 | |
2949 | int |
2950 | main () |
2951 | { |
2952 | #ifndef __GNUC__ |
2953 | choke me |
2954 | #endif |
2955 | |
2956 | ; |
2957 | return 0; |
2958 | } |
2959 | _ACEOF |
2960 | rm -f conftest.$ac_objext |
2961 | if { (ac_try="$ac_compile" |
2962 | case "(($ac_try" in |
2963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2964 | *) ac_try_echo=$ac_try;; |
2965 | esac |
2966 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
2967 | $as_echo "$ac_try_echo") >&5 |
2968 | (eval "$ac_compile") 2>conftest.er1 |
2969 | ac_status=$? |
2970 | grep -v '^ *+' conftest.er1 >conftest.err |
2971 | rm -f conftest.er1 |
2972 | cat conftest.err >&5 |
2973 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2974 | (exit $ac_status); } && { |
2975 | test -z "$ac_c_werror_flag" || |
2976 | test ! -s conftest.err |
2977 | } && test -s conftest.$ac_objext; then |
2978 | ac_compiler_gnu=yes |
2979 | else |
2980 | $as_echo "$as_me: failed program was:" >&5 |
2981 | sed 's/^/| /' conftest.$ac_ext >&5 |
2982 | |
2983 | ac_compiler_gnu=no |
2984 | fi |
2985 | |
2986 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2987 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2988 | |
2989 | fi |
2990 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2991 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2992 | if test $ac_compiler_gnu = yes; then |
2993 | GCC=yes |
2994 | else |
2995 | GCC= |
2996 | fi |
2997 | ac_test_CFLAGS=${CFLAGS+set} |
2998 | ac_save_CFLAGS=$CFLAGS |
2999 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3000 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3001 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3002 | $as_echo_n "(cached) " >&6 |
3003 | else |
3004 | ac_save_c_werror_flag=$ac_c_werror_flag |
3005 | ac_c_werror_flag=yes |
3006 | ac_cv_prog_cc_g=no |
3007 | CFLAGS="-g" |
3008 | cat >conftest.$ac_ext <<_ACEOF |
3009 | /* confdefs.h. */ |
3010 | _ACEOF |
3011 | cat confdefs.h >>conftest.$ac_ext |
3012 | cat >>conftest.$ac_ext <<_ACEOF |
3013 | /* end confdefs.h. */ |
3014 | |
3015 | int |
3016 | main () |
3017 | { |
3018 | |
3019 | ; |
3020 | return 0; |
3021 | } |
3022 | _ACEOF |
3023 | rm -f conftest.$ac_objext |
3024 | if { (ac_try="$ac_compile" |
3025 | case "(($ac_try" in |
3026 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3027 | *) ac_try_echo=$ac_try;; |
3028 | esac |
3029 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3030 | $as_echo "$ac_try_echo") >&5 |
3031 | (eval "$ac_compile") 2>conftest.er1 |
3032 | ac_status=$? |
3033 | grep -v '^ *+' conftest.er1 >conftest.err |
3034 | rm -f conftest.er1 |
3035 | cat conftest.err >&5 |
3036 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3037 | (exit $ac_status); } && { |
3038 | test -z "$ac_c_werror_flag" || |
3039 | test ! -s conftest.err |
3040 | } && test -s conftest.$ac_objext; then |
3041 | ac_cv_prog_cc_g=yes |
3042 | else |
3043 | $as_echo "$as_me: failed program was:" >&5 |
3044 | sed 's/^/| /' conftest.$ac_ext >&5 |
3045 | |
3046 | CFLAGS="" |
3047 | cat >conftest.$ac_ext <<_ACEOF |
3048 | /* confdefs.h. */ |
3049 | _ACEOF |
3050 | cat confdefs.h >>conftest.$ac_ext |
3051 | cat >>conftest.$ac_ext <<_ACEOF |
3052 | /* end confdefs.h. */ |
3053 | |
3054 | int |
3055 | main () |
3056 | { |
3057 | |
3058 | ; |
3059 | return 0; |
3060 | } |
3061 | _ACEOF |
3062 | rm -f conftest.$ac_objext |
3063 | if { (ac_try="$ac_compile" |
3064 | case "(($ac_try" in |
3065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3066 | *) ac_try_echo=$ac_try;; |
3067 | esac |
3068 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3069 | $as_echo "$ac_try_echo") >&5 |
3070 | (eval "$ac_compile") 2>conftest.er1 |
3071 | ac_status=$? |
3072 | grep -v '^ *+' conftest.er1 >conftest.err |
3073 | rm -f conftest.er1 |
3074 | cat conftest.err >&5 |
3075 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3076 | (exit $ac_status); } && { |
3077 | test -z "$ac_c_werror_flag" || |
3078 | test ! -s conftest.err |
3079 | } && test -s conftest.$ac_objext; then |
3080 | : |
3081 | else |
3082 | $as_echo "$as_me: failed program was:" >&5 |
3083 | sed 's/^/| /' conftest.$ac_ext >&5 |
3084 | |
3085 | ac_c_werror_flag=$ac_save_c_werror_flag |
3086 | CFLAGS="-g" |
3087 | cat >conftest.$ac_ext <<_ACEOF |
3088 | /* confdefs.h. */ |
3089 | _ACEOF |
3090 | cat confdefs.h >>conftest.$ac_ext |
3091 | cat >>conftest.$ac_ext <<_ACEOF |
3092 | /* end confdefs.h. */ |
3093 | |
3094 | int |
3095 | main () |
3096 | { |
3097 | |
3098 | ; |
3099 | return 0; |
3100 | } |
3101 | _ACEOF |
3102 | rm -f conftest.$ac_objext |
3103 | if { (ac_try="$ac_compile" |
3104 | case "(($ac_try" in |
3105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3106 | *) ac_try_echo=$ac_try;; |
3107 | esac |
3108 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3109 | $as_echo "$ac_try_echo") >&5 |
3110 | (eval "$ac_compile") 2>conftest.er1 |
3111 | ac_status=$? |
3112 | grep -v '^ *+' conftest.er1 >conftest.err |
3113 | rm -f conftest.er1 |
3114 | cat conftest.err >&5 |
3115 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3116 | (exit $ac_status); } && { |
3117 | test -z "$ac_c_werror_flag" || |
3118 | test ! -s conftest.err |
3119 | } && test -s conftest.$ac_objext; then |
3120 | ac_cv_prog_cc_g=yes |
3121 | else |
3122 | $as_echo "$as_me: failed program was:" >&5 |
3123 | sed 's/^/| /' conftest.$ac_ext >&5 |
3124 | |
3125 | |
3126 | fi |
3127 | |
3128 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3129 | fi |
3130 | |
3131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3132 | fi |
3133 | |
3134 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3135 | ac_c_werror_flag=$ac_save_c_werror_flag |
3136 | fi |
3137 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3138 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3139 | if test "$ac_test_CFLAGS" = set; then |
3140 | CFLAGS=$ac_save_CFLAGS |
3141 | elif test $ac_cv_prog_cc_g = yes; then |
3142 | if test "$GCC" = yes; then |
3143 | CFLAGS="-g -O2" |
3144 | else |
3145 | CFLAGS="-g" |
3146 | fi |
3147 | else |
3148 | if test "$GCC" = yes; then |
3149 | CFLAGS="-O2" |
3150 | else |
3151 | CFLAGS= |
3152 | fi |
3153 | fi |
3154 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3155 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3156 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
3157 | $as_echo_n "(cached) " >&6 |
3158 | else |
3159 | ac_cv_prog_cc_c89=no |
3160 | ac_save_CC=$CC |
3161 | cat >conftest.$ac_ext <<_ACEOF |
3162 | /* confdefs.h. */ |
3163 | _ACEOF |
3164 | cat confdefs.h >>conftest.$ac_ext |
3165 | cat >>conftest.$ac_ext <<_ACEOF |
3166 | /* end confdefs.h. */ |
3167 | #include <stdarg.h> |
3168 | #include <stdio.h> |
3169 | #include <sys/types.h> |
3170 | #include <sys/stat.h> |
3171 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3172 | struct buf { int x; }; |
3173 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3174 | static char *e (p, i) |
3175 | char **p; |
3176 | int i; |
3177 | { |
3178 | return p[i]; |
3179 | } |
3180 | static char *f (char * (*g) (char **, int), char **p, ...) |
3181 | { |
3182 | char *s; |
3183 | va_list v; |
3184 | va_start (v,p); |
3185 | s = g (p, va_arg (v,int)); |
3186 | va_end (v); |
3187 | return s; |
3188 | } |
3189 | |
3190 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3191 | function prototypes and stuff, but not '\xHH' hex character constants. |
3192 | These don't provoke an error unfortunately, instead are silently treated |
3193 | as 'x'. The following induces an error, until -std is added to get |
3194 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3195 | array size at least. It's necessary to write '\x00'==0 to get something |
3196 | that's true only with -std. */ |
3197 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3198 | |
3199 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3200 | inside strings and character constants. */ |
3201 | #define FOO(x) 'x' |
3202 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
3203 | |
3204 | int test (int i, double x); |
3205 | struct s1 {int (*f) (int a);}; |
3206 | struct s2 {int (*f) (double a);}; |
3207 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3208 | int argc; |
3209 | char **argv; |
3210 | int |
3211 | main () |
3212 | { |
3213 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3214 | ; |
3215 | return 0; |
3216 | } |
3217 | _ACEOF |
3218 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3219 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3220 | do |
3221 | CC="$ac_save_CC $ac_arg" |
3222 | rm -f conftest.$ac_objext |
3223 | if { (ac_try="$ac_compile" |
3224 | case "(($ac_try" in |
3225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3226 | *) ac_try_echo=$ac_try;; |
3227 | esac |
3228 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3229 | $as_echo "$ac_try_echo") >&5 |
3230 | (eval "$ac_compile") 2>conftest.er1 |
3231 | ac_status=$? |
3232 | grep -v '^ *+' conftest.er1 >conftest.err |
3233 | rm -f conftest.er1 |
3234 | cat conftest.err >&5 |
3235 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3236 | (exit $ac_status); } && { |
3237 | test -z "$ac_c_werror_flag" || |
3238 | test ! -s conftest.err |
3239 | } && test -s conftest.$ac_objext; then |
3240 | ac_cv_prog_cc_c89=$ac_arg |
3241 | else |
3242 | $as_echo "$as_me: failed program was:" >&5 |
3243 | sed 's/^/| /' conftest.$ac_ext >&5 |
3244 | |
3245 | |
3246 | fi |
3247 | |
3248 | rm -f core conftest.err conftest.$ac_objext |
3249 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3250 | done |
3251 | rm -f conftest.$ac_ext |
3252 | CC=$ac_save_CC |
3253 | |
3254 | fi |
3255 | # AC_CACHE_VAL |
3256 | case "x$ac_cv_prog_cc_c89" in |
3257 | x) |
3258 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
3259 | $as_echo "none needed" >&6; } ;; |
3260 | xno) |
3261 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
3262 | $as_echo "unsupported" >&6; } ;; |
3263 | *) |
3264 | CC="$CC $ac_cv_prog_cc_c89" |
3265 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3266 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3267 | esac |
3268 | |
3269 | |
3270 | ac_ext=c |
3271 | ac_cpp='$CPP $CPPFLAGS' |
3272 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3273 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3274 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3275 | DEPDIR="${am__leading_dot}deps" |
3276 | |
3277 | ac_config_commands="$ac_config_commands depfiles" |
3278 | |
3279 | |
3280 | am_make=${MAKE-make} |
3281 | cat > confinc << 'END' |
3282 | am__doit: |
3283 | @echo this is the am__doit target |
3284 | .PHONY: am__doit |
3285 | END |
3286 | # If we don't find an include directive, just comment out the code. |
3287 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3288 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
3289 | am__include="#" |
3290 | am__quote= |
3291 | _am_result=none |
3292 | # First try GNU make style include. |
3293 | echo "include confinc" > confmf |
3294 | # Ignore all kinds of additional output from `make'. |
3295 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3296 | *the\ am__doit\ target*) |
3297 | am__include=include |
3298 | am__quote= |
3299 | _am_result=GNU |
3300 | ;; |
3301 | esac |
3302 | # Now try BSD make style include. |
3303 | if test "$am__include" = "#"; then |
3304 | echo '.include "confinc"' > confmf |
3305 | case `$am_make -s -f confmf 2> /dev/null` in #( |
3306 | *the\ am__doit\ target*) |
3307 | am__include=.include |
3308 | am__quote="\"" |
3309 | _am_result=BSD |
3310 | ;; |
3311 | esac |
3312 | fi |
3313 | |
3314 | |
3315 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
3316 | $as_echo "$_am_result" >&6; } |
3317 | rm -f confinc confmf |
3318 | |
3319 | # Check whether --enable-dependency-tracking was given. |
3320 | if test "${enable_dependency_tracking+set}" = set; then |
3321 | enableval=$enable_dependency_tracking; |
3322 | fi |
3323 | |
3324 | if test "x$enable_dependency_tracking" != xno; then |
3325 | am_depcomp="$ac_aux_dir/depcomp" |
3326 | AMDEPBACKSLASH='\' |
3327 | fi |
3328 | if test "x$enable_dependency_tracking" != xno; then |
3329 | AMDEP_TRUE= |
3330 | AMDEP_FALSE='#' |
3331 | else |
3332 | AMDEP_TRUE='#' |
3333 | AMDEP_FALSE= |
3334 | fi |
3335 | |
3336 | |
3337 | |
3338 | depcc="$CC" am_compiler_list= |
3339 | |
3340 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3341 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3342 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3343 | $as_echo_n "(cached) " >&6 |
3344 | else |
3345 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3346 | # We make a subdir and do the tests there. Otherwise we can end up |
3347 | # making bogus files that we don't know about and never remove. For |
3348 | # instance it was reported that on HP-UX the gcc test will end up |
3349 | # making a dummy file named `D' -- because `-MD' means `put the output |
3350 | # in D'. |
3351 | mkdir conftest.dir |
3352 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3353 | # using a relative directory. |
3354 | cp "$am_depcomp" conftest.dir |
3355 | cd conftest.dir |
3356 | # We will build objects and dependencies in a subdirectory because |
3357 | # it helps to detect inapplicable dependency modes. For instance |
3358 | # both Tru64's cc and ICC support -MD to output dependencies as a |
3359 | # side effect of compilation, but ICC will put the dependencies in |
3360 | # the current directory while Tru64 will put them in the object |
3361 | # directory. |
3362 | mkdir sub |
3363 | |
3364 | am_cv_CC_dependencies_compiler_type=none |
3365 | if test "$am_compiler_list" = ""; then |
3366 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3367 | fi |
3368 | am__universal=false |
3369 | case " $depcc " in #( |
3370 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
3371 | esac |
3372 | |
3373 | for depmode in $am_compiler_list; do |
3374 | # Setup a source with many dependencies, because some compilers |
3375 | # like to wrap large dependency lists on column 80 (with \), and |
3376 | # we should not choose a depcomp mode which is confused by this. |
3377 | # |
3378 | # We need to recreate these files for each test, as the compiler may |
3379 | # overwrite some of them when testing with obscure command lines. |
3380 | # This happens at least with the AIX C compiler. |
3381 | : > sub/conftest.c |
3382 | for i in 1 2 3 4 5 6; do |
3383 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3384 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3385 | # Solaris 8's {/usr,}/bin/sh. |
3386 | touch sub/conftst$i.h |
3387 | done |
3388 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3389 | |
3390 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
3391 | # mode. It turns out that the SunPro C++ compiler does not properly |
3392 | # handle `-M -o', and we need to detect this. Also, some Intel |
3393 | # versions had trouble with output in subdirs |
3394 | am__obj=sub/conftest.${OBJEXT-o} |
3395 | am__minus_obj="-o $am__obj" |
3396 | case $depmode in |
3397 | gcc) |
3398 | # This depmode causes a compiler race in universal mode. |
3399 | test "$am__universal" = false || continue |
3400 | ;; |
3401 | nosideeffect) |
3402 | # after this tag, mechanisms are not by side-effect, so they'll |
3403 | # only be used when explicitly requested |
3404 | if test "x$enable_dependency_tracking" = xyes; then |
3405 | continue |
3406 | else |
3407 | break |
3408 | fi |
3409 | ;; |
3410 | msvisualcpp | msvcmsys) |
3411 | # This compiler won't grok `-c -o', but also, the minuso test has |
3412 | # not run yet. These depmodes are late enough in the game, and |
3413 | # so weak that their functioning should not be impacted. |
3414 | am__obj=conftest.${OBJEXT-o} |
3415 | am__minus_obj= |
3416 | ;; |
3417 | none) break ;; |
3418 | esac |
3419 | if depmode=$depmode \ |
3420 | source=sub/conftest.c object=$am__obj \ |
3421 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3422 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
3423 | >/dev/null 2>conftest.err && |
3424 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3425 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3426 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
3427 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3428 | # icc doesn't choke on unknown options, it will just issue warnings |
3429 | # or remarks (even with -Werror). So we grep stderr for any message |
3430 | # that says an option was ignored or not supported. |
3431 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
3432 | # icc: Command line warning: ignoring option '-M'; no argument required |
3433 | # The diagnosis changed in icc 8.0: |
3434 | # icc: Command line remark: option '-MP' not supported |
3435 | if (grep 'ignoring option' conftest.err || |
3436 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3437 | am_cv_CC_dependencies_compiler_type=$depmode |
3438 | break |
3439 | fi |
3440 | fi |
3441 | done |
3442 | |
3443 | cd .. |
3444 | rm -rf conftest.dir |
3445 | else |
3446 | am_cv_CC_dependencies_compiler_type=none |
3447 | fi |
3448 | |
3449 | fi |
3450 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3451 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
3452 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3453 | |
3454 | if |
3455 | test "x$enable_dependency_tracking" != xno \ |
3456 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3457 | am__fastdepCC_TRUE= |
3458 | am__fastdepCC_FALSE='#' |
3459 | else |
3460 | am__fastdepCC_TRUE='#' |
3461 | am__fastdepCC_FALSE= |
3462 | fi |
3463 | |
3464 | |
3465 | # Find a good install program. We prefer a C program (faster), |
3466 | # so one script is as good as another. But avoid the broken or |
3467 | # incompatible versions: |
3468 | # SysV /etc/install, /usr/sbin/install |
3469 | # SunOS /usr/etc/install |
3470 | # IRIX /sbin/install |
3471 | # AIX /bin/install |
3472 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
3473 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3474 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3475 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3476 | # OS/2's system install, which has a completely different semantic |
3477 | # ./install, which can be erroneously created by make from ./install.sh. |
3478 | # Reject install programs that cannot install multiple files. |
3479 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3480 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3481 | if test -z "$INSTALL"; then |
3482 | if test "${ac_cv_path_install+set}" = set; then |
3483 | $as_echo_n "(cached) " >&6 |
3484 | else |
3485 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3486 | for as_dir in $PATH |
3487 | do |
3488 | IFS=$as_save_IFS |
3489 | test -z "$as_dir" && as_dir=. |
3490 | # Account for people who put trailing slashes in PATH elements. |
3491 | case $as_dir/ in |
3492 | ./ | .// | /cC/* | \ |
3493 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3494 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3495 | /usr/ucb/* ) ;; |
3496 | *) |
3497 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3498 | # Don't use installbsd from OSF since it installs stuff as root |
3499 | # by default. |
3500 | for ac_prog in ginstall scoinst install; do |
3501 | for ac_exec_ext in '' $ac_executable_extensions; do |
3502 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3503 | if test $ac_prog = install && |
3504 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3505 | # AIX install. It has an incompatible calling convention. |
3506 | : |
3507 | elif test $ac_prog = install && |
3508 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3509 | # program-specific install script used by HP pwplus--don't use. |
3510 | : |
3511 | else |
3512 | rm -rf conftest.one conftest.two conftest.dir |
3513 | echo one > conftest.one |
3514 | echo two > conftest.two |
3515 | mkdir conftest.dir |
3516 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
3517 | test -s conftest.one && test -s conftest.two && |
3518 | test -s conftest.dir/conftest.one && |
3519 | test -s conftest.dir/conftest.two |
3520 | then |
3521 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3522 | break 3 |
3523 | fi |
3524 | fi |
3525 | fi |
3526 | done |
3527 | done |
3528 | ;; |
3529 | esac |
3530 | |
3531 | done |
3532 | IFS=$as_save_IFS |
3533 | |
3534 | rm -rf conftest.one conftest.two conftest.dir |
3535 | |
3536 | fi |
3537 | if test "${ac_cv_path_install+set}" = set; then |
3538 | INSTALL=$ac_cv_path_install |
3539 | else |
3540 | # As a last resort, use the slow shell script. Don't cache a |
3541 | # value for INSTALL within a source directory, because that will |
3542 | # break other packages using the cache if that directory is |
3543 | # removed, or if the value is a relative name. |
3544 | INSTALL=$ac_install_sh |
3545 | fi |
3546 | fi |
3547 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3548 | $as_echo "$INSTALL" >&6; } |
3549 | |
3550 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3551 | # It thinks the first close brace ends the variable substitution. |
3552 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3553 | |
3554 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
3555 | |
3556 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3557 | |
3558 | |
3559 | |
3560 | |
3561 | # Extract the first word of "xsltproc", so it can be a program name with args. |
3562 | set dummy xsltproc; ac_word=$2 |
3563 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3564 | $as_echo_n "checking for $ac_word... " >&6; } |
3565 | if test "${ac_cv_path_XSLTPROC+set}" = set; then |
3566 | $as_echo_n "(cached) " >&6 |
3567 | else |
3568 | case $XSLTPROC in |
3569 | [\\/]* | ?:[\\/]*) |
3570 | ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path. |
3571 | ;; |
3572 | *) |
3573 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3574 | for as_dir in $PATH |
3575 | do |
3576 | IFS=$as_save_IFS |
3577 | test -z "$as_dir" && as_dir=. |
3578 | for ac_exec_ext in '' $ac_executable_extensions; do |
3579 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3580 | ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext" |
3581 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3582 | break 2 |
3583 | fi |
3584 | done |
3585 | done |
3586 | IFS=$as_save_IFS |
3587 | |
3588 | ;; |
3589 | esac |
3590 | fi |
3591 | XSLTPROC=$ac_cv_path_XSLTPROC |
3592 | if test -n "$XSLTPROC"; then |
3593 | { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5 |
3594 | $as_echo "$XSLTPROC" >&6; } |
3595 | else |
3596 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3597 | $as_echo "no" >&6; } |
3598 | fi |
3599 | |
3600 | |
3601 | |
3602 | |
3603 | |
3604 | { $as_echo "$as_me:$LINENO: checking for main in -lnsl" >&5 |
3605 | $as_echo_n "checking for main in -lnsl... " >&6; } |
3606 | if test "${ac_cv_lib_nsl_main+set}" = set; then |
3607 | $as_echo_n "(cached) " >&6 |
3608 | else |
3609 | ac_check_lib_save_LIBS=$LIBS |
3610 | LIBS="-lnsl $LIBS" |
3611 | cat >conftest.$ac_ext <<_ACEOF |
3612 | /* confdefs.h. */ |
3613 | _ACEOF |
3614 | cat confdefs.h >>conftest.$ac_ext |
3615 | cat >>conftest.$ac_ext <<_ACEOF |
3616 | /* end confdefs.h. */ |
3617 | |
3618 | |
3619 | int |
3620 | main () |
3621 | { |
3622 | return main (); |
3623 | ; |
3624 | return 0; |
3625 | } |
3626 | _ACEOF |
3627 | rm -f conftest.$ac_objext conftest$ac_exeext |
3628 | if { (ac_try="$ac_link" |
3629 | case "(($ac_try" in |
3630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3631 | *) ac_try_echo=$ac_try;; |
3632 | esac |
3633 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3634 | $as_echo "$ac_try_echo") >&5 |
3635 | (eval "$ac_link") 2>conftest.er1 |
3636 | ac_status=$? |
3637 | grep -v '^ *+' conftest.er1 >conftest.err |
3638 | rm -f conftest.er1 |
3639 | cat conftest.err >&5 |
3640 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3641 | (exit $ac_status); } && { |
3642 | test -z "$ac_c_werror_flag" || |
3643 | test ! -s conftest.err |
3644 | } && test -s conftest$ac_exeext && { |
3645 | test "$cross_compiling" = yes || |
3646 | $as_test_x conftest$ac_exeext |
3647 | }; then |
3648 | ac_cv_lib_nsl_main=yes |
3649 | else |
3650 | $as_echo "$as_me: failed program was:" >&5 |
3651 | sed 's/^/| /' conftest.$ac_ext >&5 |
3652 | |
3653 | ac_cv_lib_nsl_main=no |
3654 | fi |
3655 | |
3656 | rm -rf conftest.dSYM |
3657 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3658 | conftest$ac_exeext conftest.$ac_ext |
3659 | LIBS=$ac_check_lib_save_LIBS |
3660 | fi |
3661 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5 |
3662 | $as_echo "$ac_cv_lib_nsl_main" >&6; } |
3663 | if test "x$ac_cv_lib_nsl_main" = x""yes; then |
3664 | cat >>confdefs.h <<_ACEOF |
3665 | #define HAVE_LIBNSL 1 |
3666 | _ACEOF |
3667 | |
3668 | LIBS="-lnsl $LIBS" |
3669 | |
3670 | fi |
3671 | |
3672 | |
3673 | |
3674 | { $as_echo "$as_me:$LINENO: checking for main in -lpcre" >&5 |
3675 | $as_echo_n "checking for main in -lpcre... " >&6; } |
3676 | if test "${ac_cv_lib_pcre_main+set}" = set; then |
3677 | $as_echo_n "(cached) " >&6 |
3678 | else |
3679 | ac_check_lib_save_LIBS=$LIBS |
3680 | LIBS="-lpcre $LIBS" |
3681 | cat >conftest.$ac_ext <<_ACEOF |
3682 | /* confdefs.h. */ |
3683 | _ACEOF |
3684 | cat confdefs.h >>conftest.$ac_ext |
3685 | cat >>conftest.$ac_ext <<_ACEOF |
3686 | /* end confdefs.h. */ |
3687 | |
3688 | |
3689 | int |
3690 | main () |
3691 | { |
3692 | return main (); |
3693 | ; |
3694 | return 0; |
3695 | } |
3696 | _ACEOF |
3697 | rm -f conftest.$ac_objext conftest$ac_exeext |
3698 | if { (ac_try="$ac_link" |
3699 | case "(($ac_try" in |
3700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3701 | *) ac_try_echo=$ac_try;; |
3702 | esac |
3703 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
3704 | $as_echo "$ac_try_echo") >&5 |
3705 | (eval "$ac_link") 2>conftest.er1 |
3706 | ac_status=$? |
3707 | grep -v '^ *+' conftest.er1 >conftest.err |
3708 | rm -f conftest.er1 |
3709 | cat conftest.err >&5 |
3710 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3711 | (exit $ac_status); } && { |
3712 | test -z "$ac_c_werror_flag" || |
3713 | test ! -s conftest.err |
3714 | } && test -s conftest$ac_exeext && { |
3715 | test "$cross_compiling" = yes || |
3716 | $as_test_x conftest$ac_exeext |
3717 | }; then |
3718 | ac_cv_lib_pcre_main=yes |
3719 | else |
3720 | $as_echo "$as_me: failed program was:" >&5 |
3721 | sed 's/^/| /' conftest.$ac_ext >&5 |
3722 | |
3723 | ac_cv_lib_pcre_main=no |
3724 | fi |
3725 | |
3726 | rm -rf conftest.dSYM |
3727 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
3728 | conftest$ac_exeext conftest.$ac_ext |
3729 | LIBS=$ac_check_lib_save_LIBS |
3730 | fi |
3731 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pcre_main" >&5 |
3732 | $as_echo "$ac_cv_lib_pcre_main" >&6; } |
3733 | if test "x$ac_cv_lib_pcre_main" = x""yes |