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

Contents of /bti/trunk/configure

Parent Directory Parent Directory | Revision Log Revision Log


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