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

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

Parent Directory Parent Directory | Revision Log Revision Log


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