/[debian]/bti/trunk/configure
ViewVC logotype

Contents of /bti/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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