/[debian]/bti/branches/upstream/current/configure
ViewVC logotype

Contents of /bti/branches/upstream/current/configure

Parent Directory Parent Directory | Revision Log Revision Log


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