]> git.mxchange.org Git - flightgear.git/blob - 3rdparty/hts_engine_API/configure
Merge commit 'refs/merge-requests/1577' of git://gitorious.org/fg/flightgear into...
[flightgear.git] / 3rdparty / hts_engine_API / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for hts_engine_API 1.08.
4 #
5 # Report bugs to <hts-engine-users@lists.sourceforge.net>.
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 # Copyright 2001-2013 Nagoya Institute of Technology
13 #
14 # Copyright 2001-2008 Tokyo Institute of Technology
15 ## --------------------- ##
16 ## M4sh Initialization.  ##
17 ## --------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in
30   *posix*) set -o posix ;;
31 esac
32
33 fi
34
35
36
37
38 # PATH needs CR
39 # Avoid depending upon Character Ranges.
40 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
43 as_cr_digits='0123456789'
44 as_cr_alnum=$as_cr_Letters$as_cr_digits
45
46 as_nl='
47 '
48 export as_nl
49 # Printing a long string crashes Solaris 7 /usr/bin/printf.
50 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
51 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
52 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
53 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54   as_echo='printf %s\n'
55   as_echo_n='printf %s'
56 else
57   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
58     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59     as_echo_n='/usr/ucb/echo -n'
60   else
61     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62     as_echo_n_body='eval
63       arg=$1;
64       case $arg in
65       *"$as_nl"*)
66         expr "X$arg" : "X\\(.*\\)$as_nl";
67         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68       esac;
69       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70     '
71     export as_echo_n_body
72     as_echo_n='sh -c $as_echo_n_body as_echo'
73   fi
74   export as_echo_body
75   as_echo='sh -c $as_echo_body as_echo'
76 fi
77
78 # The user is always right.
79 if test "${PATH_SEPARATOR+set}" != set; then
80   PATH_SEPARATOR=:
81   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83       PATH_SEPARATOR=';'
84   }
85 fi
86
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89   as_unset=unset
90 else
91   as_unset=false
92 fi
93
94
95 # IFS
96 # We need space, tab and new line, in precisely that order.  Quoting is
97 # there to prevent editors from complaining about space-tab.
98 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
99 # splitting by setting IFS to empty value.)
100 IFS=" ""        $as_nl"
101
102 # Find who we are.  Look in the path if we contain no directory separator.
103 case $0 in
104   *[\\/]* ) as_myself=$0 ;;
105   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 for as_dir in $PATH
107 do
108   IFS=$as_save_IFS
109   test -z "$as_dir" && as_dir=.
110   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111 done
112 IFS=$as_save_IFS
113
114      ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119   as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
123   { (exit 1); exit 1; }
124 fi
125
126 # Work around bugs in pre-3.0 UWIN ksh.
127 for as_var in ENV MAIL MAILPATH
128 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
129 done
130 PS1='$ '
131 PS2='> '
132 PS4='+ '
133
134 # NLS nuisances.
135 LC_ALL=C
136 export LC_ALL
137 LANGUAGE=C
138 export LANGUAGE
139
140 # Required to use basename.
141 if expr a : '\(a\)' >/dev/null 2>&1 &&
142    test "X`expr 00001 : '.*\(...\)'`" = X001; then
143   as_expr=expr
144 else
145   as_expr=false
146 fi
147
148 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149   as_basename=basename
150 else
151   as_basename=false
152 fi
153
154
155 # Name of the executable.
156 as_me=`$as_basename -- "$0" ||
157 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
158          X"$0" : 'X\(//\)$' \| \
159          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
160 $as_echo X/"$0" |
161     sed '/^.*\/\([^/][^/]*\)\/*$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\/\)$/{
166             s//\1/
167             q
168           }
169           /^X\/\(\/\).*/{
170             s//\1/
171             q
172           }
173           s/.*/./; q'`
174
175 # CDPATH.
176 $as_unset CDPATH
177
178
179 if test "x$CONFIG_SHELL" = x; then
180   if (eval ":") 2>/dev/null; then
181   as_have_required=yes
182 else
183   as_have_required=no
184 fi
185
186   if test $as_have_required = yes &&     (eval ":
187 (as_func_return () {
188   (exit \$1)
189 }
190 as_func_success () {
191   as_func_return 0
192 }
193 as_func_failure () {
194   as_func_return 1
195 }
196 as_func_ret_success () {
197   return 0
198 }
199 as_func_ret_failure () {
200   return 1
201 }
202
203 exitcode=0
204 if as_func_success; then
205   :
206 else
207   exitcode=1
208   echo as_func_success failed.
209 fi
210
211 if as_func_failure; then
212   exitcode=1
213   echo as_func_failure succeeded.
214 fi
215
216 if as_func_ret_success; then
217   :
218 else
219   exitcode=1
220   echo as_func_ret_success failed.
221 fi
222
223 if as_func_ret_failure; then
224   exitcode=1
225   echo as_func_ret_failure succeeded.
226 fi
227
228 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229   :
230 else
231   exitcode=1
232   echo positional parameters were not saved.
233 fi
234
235 test \$exitcode = 0) || { (exit 1); exit 1; }
236
237 (
238   as_lineno_1=\$LINENO
239   as_lineno_2=\$LINENO
240   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
241   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
242 ") 2> /dev/null; then
243   :
244 else
245   as_candidate_shells=
246     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
247 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
248 do
249   IFS=$as_save_IFS
250   test -z "$as_dir" && as_dir=.
251   case $as_dir in
252          /*)
253            for as_base in sh bash ksh sh5; do
254              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255            done;;
256        esac
257 done
258 IFS=$as_save_IFS
259
260
261       for as_shell in $as_candidate_shells $SHELL; do
262          # Try only shells that exist, to save several forks.
263          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
264                 { ("$as_shell") 2> /dev/null <<\_ASEOF
265 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266   emulate sh
267   NULLCMD=:
268   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
269   # is contrary to our usage.  Disable this feature.
270   alias -g '${1+"$@"}'='"$@"'
271   setopt NO_GLOB_SUBST
272 else
273   case `(set -o) 2>/dev/null` in
274   *posix*) set -o posix ;;
275 esac
276
277 fi
278
279
280 :
281 _ASEOF
282 }; then
283   CONFIG_SHELL=$as_shell
284                as_have_required=yes
285                if { "$as_shell" 2> /dev/null <<\_ASEOF
286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
287   emulate sh
288   NULLCMD=:
289   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
290   # is contrary to our usage.  Disable this feature.
291   alias -g '${1+"$@"}'='"$@"'
292   setopt NO_GLOB_SUBST
293 else
294   case `(set -o) 2>/dev/null` in
295   *posix*) set -o posix ;;
296 esac
297
298 fi
299
300
301 :
302 (as_func_return () {
303   (exit $1)
304 }
305 as_func_success () {
306   as_func_return 0
307 }
308 as_func_failure () {
309   as_func_return 1
310 }
311 as_func_ret_success () {
312   return 0
313 }
314 as_func_ret_failure () {
315   return 1
316 }
317
318 exitcode=0
319 if as_func_success; then
320   :
321 else
322   exitcode=1
323   echo as_func_success failed.
324 fi
325
326 if as_func_failure; then
327   exitcode=1
328   echo as_func_failure succeeded.
329 fi
330
331 if as_func_ret_success; then
332   :
333 else
334   exitcode=1
335   echo as_func_ret_success failed.
336 fi
337
338 if as_func_ret_failure; then
339   exitcode=1
340   echo as_func_ret_failure succeeded.
341 fi
342
343 if ( set x; as_func_ret_success y && test x = "$1" ); then
344   :
345 else
346   exitcode=1
347   echo positional parameters were not saved.
348 fi
349
350 test $exitcode = 0) || { (exit 1); exit 1; }
351
352 (
353   as_lineno_1=$LINENO
354   as_lineno_2=$LINENO
355   test "x$as_lineno_1" != "x$as_lineno_2" &&
356   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
357
358 _ASEOF
359 }; then
360   break
361 fi
362
363 fi
364
365       done
366
367       if test "x$CONFIG_SHELL" != x; then
368   for as_var in BASH_ENV ENV
369         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
370         done
371         export CONFIG_SHELL
372         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 fi
374
375
376     if test $as_have_required = no; then
377   echo This script requires a shell more modern than all the
378       echo shells that I found on your system.  Please install a
379       echo modern shell, or manually run the script under such a
380       echo shell if you do have one.
381       { (exit 1); exit 1; }
382 fi
383
384
385 fi
386
387 fi
388
389
390
391 (eval "as_func_return () {
392   (exit \$1)
393 }
394 as_func_success () {
395   as_func_return 0
396 }
397 as_func_failure () {
398   as_func_return 1
399 }
400 as_func_ret_success () {
401   return 0
402 }
403 as_func_ret_failure () {
404   return 1
405 }
406
407 exitcode=0
408 if as_func_success; then
409   :
410 else
411   exitcode=1
412   echo as_func_success failed.
413 fi
414
415 if as_func_failure; then
416   exitcode=1
417   echo as_func_failure succeeded.
418 fi
419
420 if as_func_ret_success; then
421   :
422 else
423   exitcode=1
424   echo as_func_ret_success failed.
425 fi
426
427 if as_func_ret_failure; then
428   exitcode=1
429   echo as_func_ret_failure succeeded.
430 fi
431
432 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433   :
434 else
435   exitcode=1
436   echo positional parameters were not saved.
437 fi
438
439 test \$exitcode = 0") || {
440   echo No shell found that supports shell functions.
441   echo Please tell bug-autoconf@gnu.org about your system,
442   echo including any error possibly output before this message.
443   echo This can help us improve future autoconf versions.
444   echo Configuration will now proceed without shell functions.
445 }
446
447
448
449   as_lineno_1=$LINENO
450   as_lineno_2=$LINENO
451   test "x$as_lineno_1" != "x$as_lineno_2" &&
452   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
453
454   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
455   # uniformly replaced by the line number.  The first 'sed' inserts a
456   # line-number line after each line using $LINENO; the second 'sed'
457   # does the real work.  The second script uses 'N' to pair each
458   # line-number line with the line containing $LINENO, and appends
459   # trailing '-' during substitution so that $LINENO is not a special
460   # case at line end.
461   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
462   # scripts with optimization help from Paolo Bonzini.  Blame Lee
463   # E. McMahon (1931-1989) for sed's syntax.  :-)
464   sed -n '
465     p
466     /[$]LINENO/=
467   ' <$as_myself |
468     sed '
469       s/[$]LINENO.*/&-/
470       t lineno
471       b
472       :lineno
473       N
474       :loop
475       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476       t loop
477       s/-\n.*//
478     ' >$as_me.lineno &&
479   chmod +x "$as_me.lineno" ||
480     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
481    { (exit 1); exit 1; }; }
482
483   # Don't try to exec as it changes $[0], causing all sort of problems
484   # (the dirname of $[0] is not the place where we might find the
485   # original and so on.  Autoconf is especially sensitive to this).
486   . "./$as_me.lineno"
487   # Exit status is that of the last command.
488   exit
489 }
490
491
492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
493   as_dirname=dirname
494 else
495   as_dirname=false
496 fi
497
498 ECHO_C= ECHO_N= ECHO_T=
499 case `echo -n x` in
500 -n*)
501   case `echo 'x\c'` in
502   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
503   *)   ECHO_C='\c';;
504   esac;;
505 *)
506   ECHO_N='-n';;
507 esac
508 if expr a : '\(a\)' >/dev/null 2>&1 &&
509    test "X`expr 00001 : '.*\(...\)'`" = X001; then
510   as_expr=expr
511 else
512   as_expr=false
513 fi
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517   rm -f conf$$.dir/conf$$.file
518 else
519   rm -f conf$$.dir
520   mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523   if ln -s conf$$.file conf$$ 2>/dev/null; then
524     as_ln_s='ln -s'
525     # ... but there are two gotchas:
526     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528     # In both cases, we have to default to `cp -p'.
529     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530       as_ln_s='cp -p'
531   elif ln conf$$.file conf$$ 2>/dev/null; then
532     as_ln_s=ln
533   else
534     as_ln_s='cp -p'
535   fi
536 else
537   as_ln_s='cp -p'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543   as_mkdir_p=:
544 else
545   test -d ./-p && rmdir ./-p
546   as_mkdir_p=false
547 fi
548
549 if test -x / >/dev/null 2>&1; then
550   as_test_x='test -x'
551 else
552   if ls -dL / >/dev/null 2>&1; then
553     as_ls_L_option=L
554   else
555     as_ls_L_option=
556   fi
557   as_test_x='
558     eval sh -c '\''
559       if test -d "$1"; then
560         test -d "$1/.";
561       else
562         case $1 in
563         -*)set "./$1";;
564         esac;
565         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
566         ???[sx]*):;;*)false;;esac;fi
567     '\'' sh
568   '
569 fi
570 as_executable_p=$as_test_x
571
572 # Sed expression to map a string onto a valid CPP name.
573 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
574
575 # Sed expression to map a string onto a valid variable name.
576 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577
578
579
580 exec 7<&0 </dev/null 6>&1
581
582 # Name of the host.
583 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
584 # so uname gets run too.
585 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586
587 #
588 # Initializations.
589 #
590 ac_default_prefix=/usr/local
591 ac_clean_files=
592 ac_config_libobj_dir=.
593 LIBOBJS=
594 cross_compiling=no
595 subdirs=
596 MFLAGS=
597 MAKEFLAGS=
598 SHELL=${CONFIG_SHELL-/bin/sh}
599
600 # Identity of this package.
601 PACKAGE_NAME='hts_engine_API'
602 PACKAGE_TARNAME='hts_engine_api'
603 PACKAGE_VERSION='1.08'
604 PACKAGE_STRING='hts_engine_API 1.08'
605 PACKAGE_BUGREPORT='hts-engine-users@lists.sourceforge.net'
606
607 # Factoring default headers for most tests.
608 ac_includes_default="\
609 #include <stdio.h>
610 #ifdef HAVE_SYS_TYPES_H
611 # include <sys/types.h>
612 #endif
613 #ifdef HAVE_SYS_STAT_H
614 # include <sys/stat.h>
615 #endif
616 #ifdef STDC_HEADERS
617 # include <stdlib.h>
618 # include <stddef.h>
619 #else
620 # ifdef HAVE_STDLIB_H
621 #  include <stdlib.h>
622 # endif
623 #endif
624 #ifdef HAVE_STRING_H
625 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #  include <memory.h>
627 # endif
628 # include <string.h>
629 #endif
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
632 #endif
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
635 #endif
636 #ifdef HAVE_STDINT_H
637 # include <stdint.h>
638 #endif
639 #ifdef HAVE_UNISTD_H
640 # include <unistd.h>
641 #endif"
642
643 ac_subst_vars='LTLIBOBJS
644 LIBOBJS
645 host_os
646 host_vendor
647 host_cpu
648 host
649 build_os
650 build_vendor
651 build_cpu
652 build
653 EGREP
654 GREP
655 CPP
656 AR
657 RANLIB
658 am__fastdepCC_FALSE
659 am__fastdepCC_TRUE
660 CCDEPMODE
661 AMDEPBACKSLASH
662 AMDEP_FALSE
663 AMDEP_TRUE
664 am__quote
665 am__include
666 DEPDIR
667 OBJEXT
668 EXEEXT
669 ac_ct_CC
670 CPPFLAGS
671 LDFLAGS
672 CFLAGS
673 CC
674 am__untar
675 am__tar
676 AMTAR
677 am__leading_dot
678 SET_MAKE
679 AWK
680 mkdir_p
681 MKDIR_P
682 INSTALL_STRIP_PROGRAM
683 STRIP
684 install_sh
685 MAKEINFO
686 AUTOHEADER
687 AUTOMAKE
688 AUTOCONF
689 ACLOCAL
690 VERSION
691 PACKAGE
692 CYGPATH_W
693 am__isrc
694 INSTALL_DATA
695 INSTALL_SCRIPT
696 INSTALL_PROGRAM
697 target_alias
698 host_alias
699 build_alias
700 LIBS
701 ECHO_T
702 ECHO_N
703 ECHO_C
704 DEFS
705 mandir
706 localedir
707 libdir
708 psdir
709 pdfdir
710 dvidir
711 htmldir
712 infodir
713 docdir
714 oldincludedir
715 includedir
716 localstatedir
717 sharedstatedir
718 sysconfdir
719 datadir
720 datarootdir
721 libexecdir
722 sbindir
723 bindir
724 program_transform_name
725 prefix
726 exec_prefix
727 PACKAGE_BUGREPORT
728 PACKAGE_STRING
729 PACKAGE_VERSION
730 PACKAGE_TARNAME
731 PACKAGE_NAME
732 PATH_SEPARATOR
733 SHELL'
734 ac_subst_files=''
735 ac_user_opts='
736 enable_option_checking
737 enable_dependency_tracking
738 enable_embedded
739 enable_festival
740 '
741       ac_precious_vars='build_alias
742 host_alias
743 target_alias
744 CC
745 CFLAGS
746 LDFLAGS
747 LIBS
748 CPPFLAGS
749 CPP'
750
751
752 # Initialize some variables set by options.
753 ac_init_help=
754 ac_init_version=false
755 ac_unrecognized_opts=
756 ac_unrecognized_sep=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
759 cache_file=/dev/null
760 exec_prefix=NONE
761 no_create=
762 no_recursion=
763 prefix=NONE
764 program_prefix=NONE
765 program_suffix=NONE
766 program_transform_name=s,x,x,
767 silent=
768 site=
769 srcdir=
770 verbose=
771 x_includes=NONE
772 x_libraries=NONE
773
774 # Installation directory options.
775 # These are left unexpanded so users can "make install exec_prefix=/foo"
776 # and all the variables that are supposed to be based on exec_prefix
777 # by default will actually change.
778 # Use braces instead of parens because sh, perl, etc. also accept them.
779 # (The list follows the same order as the GNU Coding Standards.)
780 bindir='${exec_prefix}/bin'
781 sbindir='${exec_prefix}/sbin'
782 libexecdir='${exec_prefix}/libexec'
783 datarootdir='${prefix}/share'
784 datadir='${datarootdir}'
785 sysconfdir='${prefix}/etc'
786 sharedstatedir='${prefix}/com'
787 localstatedir='${prefix}/var'
788 includedir='${prefix}/include'
789 oldincludedir='/usr/include'
790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir='${datarootdir}/info'
792 htmldir='${docdir}'
793 dvidir='${docdir}'
794 pdfdir='${docdir}'
795 psdir='${docdir}'
796 libdir='${exec_prefix}/lib'
797 localedir='${datarootdir}/locale'
798 mandir='${datarootdir}/man'
799
800 ac_prev=
801 ac_dashdash=
802 for ac_option
803 do
804   # If the previous option needs an argument, assign it.
805   if test -n "$ac_prev"; then
806     eval $ac_prev=\$ac_option
807     ac_prev=
808     continue
809   fi
810
811   case $ac_option in
812   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813   *)    ac_optarg=yes ;;
814   esac
815
816   # Accept the important Cygnus configure options, so we can diagnose typos.
817
818   case $ac_dashdash$ac_option in
819   --)
820     ac_dashdash=yes ;;
821
822   -bindir | --bindir | --bindi | --bind | --bin | --bi)
823     ac_prev=bindir ;;
824   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825     bindir=$ac_optarg ;;
826
827   -build | --build | --buil | --bui | --bu)
828     ac_prev=build_alias ;;
829   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830     build_alias=$ac_optarg ;;
831
832   -cache-file | --cache-file | --cache-fil | --cache-fi \
833   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
834     ac_prev=cache_file ;;
835   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
836   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
837     cache_file=$ac_optarg ;;
838
839   --config-cache | -C)
840     cache_file=config.cache ;;
841
842   -datadir | --datadir | --datadi | --datad)
843     ac_prev=datadir ;;
844   -datadir=* | --datadir=* | --datadi=* | --datad=*)
845     datadir=$ac_optarg ;;
846
847   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
848   | --dataroo | --dataro | --datar)
849     ac_prev=datarootdir ;;
850   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
851   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
852     datarootdir=$ac_optarg ;;
853
854   -disable-* | --disable-*)
855     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
856     # Reject names that are not valid shell variable names.
857     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
859    { (exit 1); exit 1; }; }
860     ac_useropt_orig=$ac_useropt
861     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862     case $ac_user_opts in
863       *"
864 "enable_$ac_useropt"
865 "*) ;;
866       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867          ac_unrecognized_sep=', ';;
868     esac
869     eval enable_$ac_useropt=no ;;
870
871   -docdir | --docdir | --docdi | --doc | --do)
872     ac_prev=docdir ;;
873   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874     docdir=$ac_optarg ;;
875
876   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877     ac_prev=dvidir ;;
878   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879     dvidir=$ac_optarg ;;
880
881   -enable-* | --enable-*)
882     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883     # Reject names that are not valid shell variable names.
884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
886    { (exit 1); exit 1; }; }
887     ac_useropt_orig=$ac_useropt
888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889     case $ac_user_opts in
890       *"
891 "enable_$ac_useropt"
892 "*) ;;
893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894          ac_unrecognized_sep=', ';;
895     esac
896     eval enable_$ac_useropt=\$ac_optarg ;;
897
898   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
899   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
900   | --exec | --exe | --ex)
901     ac_prev=exec_prefix ;;
902   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
903   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
904   | --exec=* | --exe=* | --ex=*)
905     exec_prefix=$ac_optarg ;;
906
907   -gas | --gas | --ga | --g)
908     # Obsolete; use --with-gas.
909     with_gas=yes ;;
910
911   -help | --help | --hel | --he | -h)
912     ac_init_help=long ;;
913   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
914     ac_init_help=recursive ;;
915   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
916     ac_init_help=short ;;
917
918   -host | --host | --hos | --ho)
919     ac_prev=host_alias ;;
920   -host=* | --host=* | --hos=* | --ho=*)
921     host_alias=$ac_optarg ;;
922
923   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
924     ac_prev=htmldir ;;
925   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
926   | --ht=*)
927     htmldir=$ac_optarg ;;
928
929   -includedir | --includedir | --includedi | --included | --include \
930   | --includ | --inclu | --incl | --inc)
931     ac_prev=includedir ;;
932   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
933   | --includ=* | --inclu=* | --incl=* | --inc=*)
934     includedir=$ac_optarg ;;
935
936   -infodir | --infodir | --infodi | --infod | --info | --inf)
937     ac_prev=infodir ;;
938   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939     infodir=$ac_optarg ;;
940
941   -libdir | --libdir | --libdi | --libd)
942     ac_prev=libdir ;;
943   -libdir=* | --libdir=* | --libdi=* | --libd=*)
944     libdir=$ac_optarg ;;
945
946   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
947   | --libexe | --libex | --libe)
948     ac_prev=libexecdir ;;
949   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
950   | --libexe=* | --libex=* | --libe=*)
951     libexecdir=$ac_optarg ;;
952
953   -localedir | --localedir | --localedi | --localed | --locale)
954     ac_prev=localedir ;;
955   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956     localedir=$ac_optarg ;;
957
958   -localstatedir | --localstatedir | --localstatedi | --localstated \
959   | --localstate | --localstat | --localsta | --localst | --locals)
960     ac_prev=localstatedir ;;
961   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
962   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
963     localstatedir=$ac_optarg ;;
964
965   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
966     ac_prev=mandir ;;
967   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968     mandir=$ac_optarg ;;
969
970   -nfp | --nfp | --nf)
971     # Obsolete; use --without-fp.
972     with_fp=no ;;
973
974   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975   | --no-cr | --no-c | -n)
976     no_create=yes ;;
977
978   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
980     no_recursion=yes ;;
981
982   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
983   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
984   | --oldin | --oldi | --old | --ol | --o)
985     ac_prev=oldincludedir ;;
986   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
987   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
988   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
989     oldincludedir=$ac_optarg ;;
990
991   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
992     ac_prev=prefix ;;
993   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
994     prefix=$ac_optarg ;;
995
996   -program-prefix | --program-prefix | --program-prefi | --program-pref \
997   | --program-pre | --program-pr | --program-p)
998     ac_prev=program_prefix ;;
999   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1000   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1001     program_prefix=$ac_optarg ;;
1002
1003   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1004   | --program-suf | --program-su | --program-s)
1005     ac_prev=program_suffix ;;
1006   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1007   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1008     program_suffix=$ac_optarg ;;
1009
1010   -program-transform-name | --program-transform-name \
1011   | --program-transform-nam | --program-transform-na \
1012   | --program-transform-n | --program-transform- \
1013   | --program-transform | --program-transfor \
1014   | --program-transfo | --program-transf \
1015   | --program-trans | --program-tran \
1016   | --progr-tra | --program-tr | --program-t)
1017     ac_prev=program_transform_name ;;
1018   -program-transform-name=* | --program-transform-name=* \
1019   | --program-transform-nam=* | --program-transform-na=* \
1020   | --program-transform-n=* | --program-transform-=* \
1021   | --program-transform=* | --program-transfor=* \
1022   | --program-transfo=* | --program-transf=* \
1023   | --program-trans=* | --program-tran=* \
1024   | --progr-tra=* | --program-tr=* | --program-t=*)
1025     program_transform_name=$ac_optarg ;;
1026
1027   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1028     ac_prev=pdfdir ;;
1029   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030     pdfdir=$ac_optarg ;;
1031
1032   -psdir | --psdir | --psdi | --psd | --ps)
1033     ac_prev=psdir ;;
1034   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1035     psdir=$ac_optarg ;;
1036
1037   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038   | -silent | --silent | --silen | --sile | --sil)
1039     silent=yes ;;
1040
1041   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1042     ac_prev=sbindir ;;
1043   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1044   | --sbi=* | --sb=*)
1045     sbindir=$ac_optarg ;;
1046
1047   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049   | --sharedst | --shareds | --shared | --share | --shar \
1050   | --sha | --sh)
1051     ac_prev=sharedstatedir ;;
1052   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1055   | --sha=* | --sh=*)
1056     sharedstatedir=$ac_optarg ;;
1057
1058   -site | --site | --sit)
1059     ac_prev=site ;;
1060   -site=* | --site=* | --sit=*)
1061     site=$ac_optarg ;;
1062
1063   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1064     ac_prev=srcdir ;;
1065   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066     srcdir=$ac_optarg ;;
1067
1068   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1069   | --syscon | --sysco | --sysc | --sys | --sy)
1070     ac_prev=sysconfdir ;;
1071   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1072   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1073     sysconfdir=$ac_optarg ;;
1074
1075   -target | --target | --targe | --targ | --tar | --ta | --t)
1076     ac_prev=target_alias ;;
1077   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1078     target_alias=$ac_optarg ;;
1079
1080   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1081     verbose=yes ;;
1082
1083   -version | --version | --versio | --versi | --vers | -V)
1084     ac_init_version=: ;;
1085
1086   -with-* | --with-*)
1087     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1088     # Reject names that are not valid shell variable names.
1089     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1091    { (exit 1); exit 1; }; }
1092     ac_useropt_orig=$ac_useropt
1093     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094     case $ac_user_opts in
1095       *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099          ac_unrecognized_sep=', ';;
1100     esac
1101     eval with_$ac_useropt=\$ac_optarg ;;
1102
1103   -without-* | --without-*)
1104     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105     # Reject names that are not valid shell variable names.
1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1108    { (exit 1); exit 1; }; }
1109     ac_useropt_orig=$ac_useropt
1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1111     case $ac_user_opts in
1112       *"
1113 "with_$ac_useropt"
1114 "*) ;;
1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116          ac_unrecognized_sep=', ';;
1117     esac
1118     eval with_$ac_useropt=no ;;
1119
1120   --x)
1121     # Obsolete; use --with-x.
1122     with_x=yes ;;
1123
1124   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1125   | --x-incl | --x-inc | --x-in | --x-i)
1126     ac_prev=x_includes ;;
1127   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1128   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1129     x_includes=$ac_optarg ;;
1130
1131   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1132   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1133     ac_prev=x_libraries ;;
1134   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1135   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1136     x_libraries=$ac_optarg ;;
1137
1138   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139 Try \`$0 --help' for more information." >&2
1140    { (exit 1); exit 1; }; }
1141     ;;
1142
1143   *=*)
1144     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1145     # Reject names that are not valid shell variable names.
1146     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1147       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1148    { (exit 1); exit 1; }; }
1149     eval $ac_envvar=\$ac_optarg
1150     export $ac_envvar ;;
1151
1152   *)
1153     # FIXME: should be removed in autoconf 3.0.
1154     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1155     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1156       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1157     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158     ;;
1159
1160   esac
1161 done
1162
1163 if test -n "$ac_prev"; then
1164   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1165   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1166    { (exit 1); exit 1; }; }
1167 fi
1168
1169 if test -n "$ac_unrecognized_opts"; then
1170   case $enable_option_checking in
1171     no) ;;
1172     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1173    { (exit 1); exit 1; }; } ;;
1174     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1175   esac
1176 fi
1177
1178 # Check all directory arguments for consistency.
1179 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180                 datadir sysconfdir sharedstatedir localstatedir includedir \
1181                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182                 libdir localedir mandir
1183 do
1184   eval ac_val=\$$ac_var
1185   # Remove trailing slashes.
1186   case $ac_val in
1187     */ )
1188       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189       eval $ac_var=\$ac_val;;
1190   esac
1191   # Be sure to have absolute directory names.
1192   case $ac_val in
1193     [\\/$]* | ?:[\\/]* )  continue;;
1194     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1195   esac
1196   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197    { (exit 1); exit 1; }; }
1198 done
1199
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1203 build=$build_alias
1204 host=$host_alias
1205 target=$target_alias
1206
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x; then
1209   if test "x$build_alias" = x; then
1210     cross_compiling=maybe
1211     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1212     If a cross compiler is detected then cross compile mode will be used." >&2
1213   elif test "x$build_alias" != "x$host_alias"; then
1214     cross_compiling=yes
1215   fi
1216 fi
1217
1218 ac_tool_prefix=
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220
1221 test "$silent" = yes && exec 6>/dev/null
1222
1223
1224 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1225 ac_ls_di=`ls -di .` &&
1226 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1227   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1228    { (exit 1); exit 1; }; }
1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1230   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1231    { (exit 1); exit 1; }; }
1232
1233
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236   ac_srcdir_defaulted=yes
1237   # Try the directory containing this script, then the parent directory.
1238   ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240          X"$as_myself" : 'X\(//\)[^/]' \| \
1241          X"$as_myself" : 'X\(//\)$' \| \
1242          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245             s//\1/
1246             q
1247           }
1248           /^X\(\/\/\)[^/].*/{
1249             s//\1/
1250             q
1251           }
1252           /^X\(\/\/\)$/{
1253             s//\1/
1254             q
1255           }
1256           /^X\(\/\).*/{
1257             s//\1/
1258             q
1259           }
1260           s/.*/./; q'`
1261   srcdir=$ac_confdir
1262   if test ! -r "$srcdir/$ac_unique_file"; then
1263     srcdir=..
1264   fi
1265 else
1266   ac_srcdir_defaulted=no
1267 fi
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1271    { (exit 1); exit 1; }; }
1272 fi
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1274 ac_abs_confdir=`(
1275         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276    { (exit 1); exit 1; }; }
1277         pwd)`
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280   srcdir=.
1281 fi
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1285 case $srcdir in
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 esac
1288 for ac_var in $ac_precious_vars; do
1289   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290   eval ac_env_${ac_var}_value=\$${ac_var}
1291   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293 done
1294
1295 #
1296 # Report the --help message.
1297 #
1298 if test "$ac_init_help" = "long"; then
1299   # Omit some internal or obsolete options to make the list less imposing.
1300   # This message is too long to be a string in the A/UX 3.1 sh.
1301   cat <<_ACEOF
1302 \`configure' configures hts_engine_API 1.08 to adapt to many kinds of systems.
1303
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE.  See below for descriptions of some of the useful variables.
1308
1309 Defaults for the options are specified in brackets.
1310
1311 Configuration:
1312   -h, --help              display this help and exit
1313       --help=short        display options specific to this package
1314       --help=recursive    display the short help of all the included packages
1315   -V, --version           display version information and exit
1316   -q, --quiet, --silent   do not print \`checking...' messages
1317       --cache-file=FILE   cache test results in FILE [disabled]
1318   -C, --config-cache      alias for \`--cache-file=config.cache'
1319   -n, --no-create         do not create output files
1320       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1321
1322 Installation directories:
1323   --prefix=PREFIX         install architecture-independent files in PREFIX
1324                           [$ac_default_prefix]
1325   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1326                           [PREFIX]
1327
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1332
1333 For better control, use the options below.
1334
1335 Fine tuning of the installation directories:
1336   --bindir=DIR            user executables [EPREFIX/bin]
1337   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1338   --libexecdir=DIR        program executables [EPREFIX/libexec]
1339   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1340   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1341   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1342   --libdir=DIR            object code libraries [EPREFIX/lib]
1343   --includedir=DIR        C header files [PREFIX/include]
1344   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1345   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1346   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1347   --infodir=DIR           info documentation [DATAROOTDIR/info]
1348   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1349   --mandir=DIR            man documentation [DATAROOTDIR/man]
1350   --docdir=DIR            documentation root [DATAROOTDIR/doc/hts_engine_api]
1351   --htmldir=DIR           html documentation [DOCDIR]
1352   --dvidir=DIR            dvi documentation [DOCDIR]
1353   --pdfdir=DIR            pdf documentation [DOCDIR]
1354   --psdir=DIR             ps documentation [DOCDIR]
1355 _ACEOF
1356
1357   cat <<\_ACEOF
1358
1359 Program names:
1360   --program-prefix=PREFIX            prepend PREFIX to installed program names
1361   --program-suffix=SUFFIX            append SUFFIX to installed program names
1362   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1363
1364 System types:
1365   --build=BUILD     configure for building on BUILD [guessed]
1366   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1367 _ACEOF
1368 fi
1369
1370 if test -n "$ac_init_help"; then
1371   case $ac_init_help in
1372      short | recursive ) echo "Configuration of hts_engine_API 1.08:";;
1373    esac
1374   cat <<\_ACEOF
1375
1376 Optional Features:
1377   --disable-option-checking  ignore unrecognized --enable/--with options
1378   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1379   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1380   --disable-dependency-tracking  speeds up one-time build
1381   --enable-dependency-tracking   do not reject slow dependency extractors
1382   --enable-embedded   turn on compiling for embedded devices (default=no)
1383   --enable-festival   use memory allocation/free functions of speech tools (default=no)
1384
1385 Some influential environment variables:
1386   CC          C compiler command
1387   CFLAGS      C compiler flags
1388   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1389               nonstandard directory <lib dir>
1390   LIBS        libraries to pass to the linker, e.g. -l<library>
1391   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1392               you have headers in a nonstandard directory <include dir>
1393   CPP         C preprocessor
1394
1395 Use these variables to override the choices made by `configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1397
1398 Report bugs to <hts-engine-users@lists.sourceforge.net>.
1399 _ACEOF
1400 ac_status=$?
1401 fi
1402
1403 if test "$ac_init_help" = "recursive"; then
1404   # If there are subdirs, report their specific --help.
1405   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406     test -d "$ac_dir" ||
1407       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1408       continue
1409     ac_builddir=.
1410
1411 case "$ac_dir" in
1412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *)
1414   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1415   # A ".." for each directory in $ac_dir_suffix.
1416   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1417   case $ac_top_builddir_sub in
1418   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1419   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1420   esac ;;
1421 esac
1422 ac_abs_top_builddir=$ac_pwd
1423 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1424 # for backward compatibility:
1425 ac_top_builddir=$ac_top_build_prefix
1426
1427 case $srcdir in
1428   .)  # We are building in place.
1429     ac_srcdir=.
1430     ac_top_srcdir=$ac_top_builddir_sub
1431     ac_abs_top_srcdir=$ac_pwd ;;
1432   [\\/]* | ?:[\\/]* )  # Absolute name.
1433     ac_srcdir=$srcdir$ac_dir_suffix;
1434     ac_top_srcdir=$srcdir
1435     ac_abs_top_srcdir=$srcdir ;;
1436   *) # Relative name.
1437     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1438     ac_top_srcdir=$ac_top_build_prefix$srcdir
1439     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1440 esac
1441 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1442
1443     cd "$ac_dir" || { ac_status=$?; continue; }
1444     # Check for guested configure.
1445     if test -f "$ac_srcdir/configure.gnu"; then
1446       echo &&
1447       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448     elif test -f "$ac_srcdir/configure"; then
1449       echo &&
1450       $SHELL "$ac_srcdir/configure" --help=recursive
1451     else
1452       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1453     fi || ac_status=$?
1454     cd "$ac_pwd" || { ac_status=$?; break; }
1455   done
1456 fi
1457
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1460   cat <<\_ACEOF
1461 hts_engine_API configure 1.08
1462 generated by GNU Autoconf 2.63
1463
1464 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1465 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1466 This configure script is free software; the Free Software Foundation
1467 gives unlimited permission to copy, distribute and modify it.
1468
1469 Copyright 2001-2013 Nagoya Institute of Technology
1470
1471 Copyright 2001-2008 Tokyo Institute of Technology
1472 _ACEOF
1473   exit
1474 fi
1475 cat >config.log <<_ACEOF
1476 This file contains any messages produced by compilers while
1477 running configure, to aid debugging if configure makes a mistake.
1478
1479 It was created by hts_engine_API $as_me 1.08, which was
1480 generated by GNU Autoconf 2.63.  Invocation command line was
1481
1482   $ $0 $@
1483
1484 _ACEOF
1485 exec 5>>config.log
1486 {
1487 cat <<_ASUNAME
1488 ## --------- ##
1489 ## Platform. ##
1490 ## --------- ##
1491
1492 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1493 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1494 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1495 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1496 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1497
1498 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1499 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1500
1501 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1502 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1503 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1504 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1505 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1506 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1507 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1508
1509 _ASUNAME
1510
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512 for as_dir in $PATH
1513 do
1514   IFS=$as_save_IFS
1515   test -z "$as_dir" && as_dir=.
1516   $as_echo "PATH: $as_dir"
1517 done
1518 IFS=$as_save_IFS
1519
1520 } >&5
1521
1522 cat >&5 <<_ACEOF
1523
1524
1525 ## ----------- ##
1526 ## Core tests. ##
1527 ## ----------- ##
1528
1529 _ACEOF
1530
1531
1532 # Keep a trace of the command line.
1533 # Strip out --no-create and --no-recursion so they do not pile up.
1534 # Strip out --silent because we don't want to record it for future runs.
1535 # Also quote any args containing shell meta-characters.
1536 # Make two passes to allow for proper duplicate-argument suppression.
1537 ac_configure_args=
1538 ac_configure_args0=
1539 ac_configure_args1=
1540 ac_must_keep_next=false
1541 for ac_pass in 1 2
1542 do
1543   for ac_arg
1544   do
1545     case $ac_arg in
1546     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1547     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1548     | -silent | --silent | --silen | --sile | --sil)
1549       continue ;;
1550     *\'*)
1551       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1552     esac
1553     case $ac_pass in
1554     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1555     2)
1556       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1557       if test $ac_must_keep_next = true; then
1558         ac_must_keep_next=false # Got value, back to normal.
1559       else
1560         case $ac_arg in
1561           *=* | --config-cache | -C | -disable-* | --disable-* \
1562           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1563           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1564           | -with-* | --with-* | -without-* | --without-* | --x)
1565             case "$ac_configure_args0 " in
1566               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1567             esac
1568             ;;
1569           -* ) ac_must_keep_next=true ;;
1570         esac
1571       fi
1572       ac_configure_args="$ac_configure_args '$ac_arg'"
1573       ;;
1574     esac
1575   done
1576 done
1577 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1578 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1579
1580 # When interrupted or exit'd, cleanup temporary files, and complete
1581 # config.log.  We remove comments because anyway the quotes in there
1582 # would cause problems or look ugly.
1583 # WARNING: Use '\'' to represent an apostrophe within the trap.
1584 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1585 trap 'exit_status=$?
1586   # Save into config.log some information that might help in debugging.
1587   {
1588     echo
1589
1590     cat <<\_ASBOX
1591 ## ---------------- ##
1592 ## Cache variables. ##
1593 ## ---------------- ##
1594 _ASBOX
1595     echo
1596     # The following way of writing the cache mishandles newlines in values,
1597 (
1598   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1599     eval ac_val=\$$ac_var
1600     case $ac_val in #(
1601     *${as_nl}*)
1602       case $ac_var in #(
1603       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1604 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1605       esac
1606       case $ac_var in #(
1607       _ | IFS | as_nl) ;; #(
1608       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1609       *) $as_unset $ac_var ;;
1610       esac ;;
1611     esac
1612   done
1613   (set) 2>&1 |
1614     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1615     *${as_nl}ac_space=\ *)
1616       sed -n \
1617         "s/'\''/'\''\\\\'\'''\''/g;
1618           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1619       ;; #(
1620     *)
1621       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1622       ;;
1623     esac |
1624     sort
1625 )
1626     echo
1627
1628     cat <<\_ASBOX
1629 ## ----------------- ##
1630 ## Output variables. ##
1631 ## ----------------- ##
1632 _ASBOX
1633     echo
1634     for ac_var in $ac_subst_vars
1635     do
1636       eval ac_val=\$$ac_var
1637       case $ac_val in
1638       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1639       esac
1640       $as_echo "$ac_var='\''$ac_val'\''"
1641     done | sort
1642     echo
1643
1644     if test -n "$ac_subst_files"; then
1645       cat <<\_ASBOX
1646 ## ------------------- ##
1647 ## File substitutions. ##
1648 ## ------------------- ##
1649 _ASBOX
1650       echo
1651       for ac_var in $ac_subst_files
1652       do
1653         eval ac_val=\$$ac_var
1654         case $ac_val in
1655         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1656         esac
1657         $as_echo "$ac_var='\''$ac_val'\''"
1658       done | sort
1659       echo
1660     fi
1661
1662     if test -s confdefs.h; then
1663       cat <<\_ASBOX
1664 ## ----------- ##
1665 ## confdefs.h. ##
1666 ## ----------- ##
1667 _ASBOX
1668       echo
1669       cat confdefs.h
1670       echo
1671     fi
1672     test "$ac_signal" != 0 &&
1673       $as_echo "$as_me: caught signal $ac_signal"
1674     $as_echo "$as_me: exit $exit_status"
1675   } >&5
1676   rm -f core *.core core.conftest.* &&
1677     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1678     exit $exit_status
1679 ' 0
1680 for ac_signal in 1 2 13 15; do
1681   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1682 done
1683 ac_signal=0
1684
1685 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1686 rm -f -r conftest* confdefs.h
1687
1688 # Predefined preprocessor variables.
1689
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_NAME "$PACKAGE_NAME"
1692 _ACEOF
1693
1694
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1697 _ACEOF
1698
1699
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1702 _ACEOF
1703
1704
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_STRING "$PACKAGE_STRING"
1707 _ACEOF
1708
1709
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1712 _ACEOF
1713
1714
1715 # Let the site file select an alternate cache file if it wants to.
1716 # Prefer an explicitly selected file to automatically selected ones.
1717 ac_site_file1=NONE
1718 ac_site_file2=NONE
1719 if test -n "$CONFIG_SITE"; then
1720   ac_site_file1=$CONFIG_SITE
1721 elif test "x$prefix" != xNONE; then
1722   ac_site_file1=$prefix/share/config.site
1723   ac_site_file2=$prefix/etc/config.site
1724 else
1725   ac_site_file1=$ac_default_prefix/share/config.site
1726   ac_site_file2=$ac_default_prefix/etc/config.site
1727 fi
1728 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1729 do
1730   test "x$ac_site_file" = xNONE && continue
1731   if test -r "$ac_site_file"; then
1732     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1733 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1734     sed 's/^/| /' "$ac_site_file" >&5
1735     . "$ac_site_file"
1736   fi
1737 done
1738
1739 if test -r "$cache_file"; then
1740   # Some versions of bash will fail to source /dev/null (special
1741   # files actually), so we avoid doing that.
1742   if test -f "$cache_file"; then
1743     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1744 $as_echo "$as_me: loading cache $cache_file" >&6;}
1745     case $cache_file in
1746       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1747       *)                      . "./$cache_file";;
1748     esac
1749   fi
1750 else
1751   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1752 $as_echo "$as_me: creating cache $cache_file" >&6;}
1753   >$cache_file
1754 fi
1755
1756 # Check that the precious variables saved in the cache have kept the same
1757 # value.
1758 ac_cache_corrupted=false
1759 for ac_var in $ac_precious_vars; do
1760   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1761   eval ac_new_set=\$ac_env_${ac_var}_set
1762   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1763   eval ac_new_val=\$ac_env_${ac_var}_value
1764   case $ac_old_set,$ac_new_set in
1765     set,)
1766       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1767 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1768       ac_cache_corrupted=: ;;
1769     ,set)
1770       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1771 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1772       ac_cache_corrupted=: ;;
1773     ,);;
1774     *)
1775       if test "x$ac_old_val" != "x$ac_new_val"; then
1776         # differences in whitespace do not lead to failure.
1777         ac_old_val_w=`echo x $ac_old_val`
1778         ac_new_val_w=`echo x $ac_new_val`
1779         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1780           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1781 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1782           ac_cache_corrupted=:
1783         else
1784           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1785 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1786           eval $ac_var=\$ac_old_val
1787         fi
1788         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1789 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1790         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1791 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1792       fi;;
1793   esac
1794   # Pass precious variables to config.status.
1795   if test "$ac_new_set" = set; then
1796     case $ac_new_val in
1797     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1798     *) ac_arg=$ac_var=$ac_new_val ;;
1799     esac
1800     case " $ac_configure_args " in
1801       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1802       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1803     esac
1804   fi
1805 done
1806 if $ac_cache_corrupted; then
1807   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1809   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1810 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1811   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1812 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1813    { (exit 1); exit 1; }; }
1814 fi
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840 ac_ext=c
1841 ac_cpp='$CPP $CPPFLAGS'
1842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1845
1846
1847 ac_aux_dir=
1848 for ac_dir in config "$srcdir"/config; do
1849   if test -f "$ac_dir/install-sh"; then
1850     ac_aux_dir=$ac_dir
1851     ac_install_sh="$ac_aux_dir/install-sh -c"
1852     break
1853   elif test -f "$ac_dir/install.sh"; then
1854     ac_aux_dir=$ac_dir
1855     ac_install_sh="$ac_aux_dir/install.sh -c"
1856     break
1857   elif test -f "$ac_dir/shtool"; then
1858     ac_aux_dir=$ac_dir
1859     ac_install_sh="$ac_aux_dir/shtool install -c"
1860     break
1861   fi
1862 done
1863 if test -z "$ac_aux_dir"; then
1864   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1865 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1866    { (exit 1); exit 1; }; }
1867 fi
1868
1869 # These three variables are undocumented and unsupported,
1870 # and are intended to be withdrawn in a future Autoconf release.
1871 # They can cause serious problems if a builder's source tree is in a directory
1872 # whose full name contains unusual characters.
1873 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1874 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1875 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1876
1877
1878
1879
1880 am__api_version='1.10'
1881
1882 # Find a good install program.  We prefer a C program (faster),
1883 # so one script is as good as another.  But avoid the broken or
1884 # incompatible versions:
1885 # SysV /etc/install, /usr/sbin/install
1886 # SunOS /usr/etc/install
1887 # IRIX /sbin/install
1888 # AIX /bin/install
1889 # AmigaOS /C/install, which installs bootblocks on floppy discs
1890 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1891 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1892 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1893 # OS/2's system install, which has a completely different semantic
1894 # ./install, which can be erroneously created by make from ./install.sh.
1895 # Reject install programs that cannot install multiple files.
1896 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1897 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1898 if test -z "$INSTALL"; then
1899 if test "${ac_cv_path_install+set}" = set; then
1900   $as_echo_n "(cached) " >&6
1901 else
1902   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 for as_dir in $PATH
1904 do
1905   IFS=$as_save_IFS
1906   test -z "$as_dir" && as_dir=.
1907   # Account for people who put trailing slashes in PATH elements.
1908 case $as_dir/ in
1909   ./ | .// | /cC/* | \
1910   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1911   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1912   /usr/ucb/* ) ;;
1913   *)
1914     # OSF1 and SCO ODT 3.0 have their own names for install.
1915     # Don't use installbsd from OSF since it installs stuff as root
1916     # by default.
1917     for ac_prog in ginstall scoinst install; do
1918       for ac_exec_ext in '' $ac_executable_extensions; do
1919         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1920           if test $ac_prog = install &&
1921             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1922             # AIX install.  It has an incompatible calling convention.
1923             :
1924           elif test $ac_prog = install &&
1925             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1926             # program-specific install script used by HP pwplus--don't use.
1927             :
1928           else
1929             rm -rf conftest.one conftest.two conftest.dir
1930             echo one > conftest.one
1931             echo two > conftest.two
1932             mkdir conftest.dir
1933             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1934               test -s conftest.one && test -s conftest.two &&
1935               test -s conftest.dir/conftest.one &&
1936               test -s conftest.dir/conftest.two
1937             then
1938               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1939               break 3
1940             fi
1941           fi
1942         fi
1943       done
1944     done
1945     ;;
1946 esac
1947
1948 done
1949 IFS=$as_save_IFS
1950
1951 rm -rf conftest.one conftest.two conftest.dir
1952
1953 fi
1954   if test "${ac_cv_path_install+set}" = set; then
1955     INSTALL=$ac_cv_path_install
1956   else
1957     # As a last resort, use the slow shell script.  Don't cache a
1958     # value for INSTALL within a source directory, because that will
1959     # break other packages using the cache if that directory is
1960     # removed, or if the value is a relative name.
1961     INSTALL=$ac_install_sh
1962   fi
1963 fi
1964 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1965 $as_echo "$INSTALL" >&6; }
1966
1967 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1968 # It thinks the first close brace ends the variable substitution.
1969 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1970
1971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1972
1973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1974
1975 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1976 $as_echo_n "checking whether build environment is sane... " >&6; }
1977 # Just in case
1978 sleep 1
1979 echo timestamp > conftest.file
1980 # Do `set' in a subshell so we don't clobber the current shell's
1981 # arguments.  Must try -L first in case configure is actually a
1982 # symlink; some systems play weird games with the mod time of symlinks
1983 # (eg FreeBSD returns the mod time of the symlink's containing
1984 # directory).
1985 if (
1986    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1987    if test "$*" = "X"; then
1988       # -L didn't work.
1989       set X `ls -t $srcdir/configure conftest.file`
1990    fi
1991    rm -f conftest.file
1992    if test "$*" != "X $srcdir/configure conftest.file" \
1993       && test "$*" != "X conftest.file $srcdir/configure"; then
1994
1995       # If neither matched, then we have a broken ls.  This can happen
1996       # if, for instance, CONFIG_SHELL is bash and it inherits a
1997       # broken ls alias from the environment.  This has actually
1998       # happened.  Such a system could not be considered "sane".
1999       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2000 alias in your environment" >&5
2001 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2002 alias in your environment" >&2;}
2003    { (exit 1); exit 1; }; }
2004    fi
2005
2006    test "$2" = conftest.file
2007    )
2008 then
2009    # Ok.
2010    :
2011 else
2012    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2013 Check your system clock" >&5
2014 $as_echo "$as_me: error: newly created file is older than distributed files!
2015 Check your system clock" >&2;}
2016    { (exit 1); exit 1; }; }
2017 fi
2018 { $as_echo "$as_me:$LINENO: result: yes" >&5
2019 $as_echo "yes" >&6; }
2020 test "$program_prefix" != NONE &&
2021   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2022 # Use a double $ so make ignores it.
2023 test "$program_suffix" != NONE &&
2024   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2025 # Double any \ or $.
2026 # By default was `s,x,x', remove it if useless.
2027 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2028 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2029
2030 # expand $ac_aux_dir to an absolute path
2031 am_aux_dir=`cd $ac_aux_dir && pwd`
2032
2033 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2034 # Use eval to expand $SHELL
2035 if eval "$MISSING --run true"; then
2036   am_missing_run="$MISSING --run "
2037 else
2038   am_missing_run=
2039   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2040 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2041 fi
2042
2043 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2044 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2045 if test -z "$MKDIR_P"; then
2046   if test "${ac_cv_path_mkdir+set}" = set; then
2047   $as_echo_n "(cached) " >&6
2048 else
2049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2051 do
2052   IFS=$as_save_IFS
2053   test -z "$as_dir" && as_dir=.
2054   for ac_prog in mkdir gmkdir; do
2055          for ac_exec_ext in '' $ac_executable_extensions; do
2056            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2057            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2058              'mkdir (GNU coreutils) '* | \
2059              'mkdir (coreutils) '* | \
2060              'mkdir (fileutils) '4.1*)
2061                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2062                break 3;;
2063            esac
2064          done
2065        done
2066 done
2067 IFS=$as_save_IFS
2068
2069 fi
2070
2071   if test "${ac_cv_path_mkdir+set}" = set; then
2072     MKDIR_P="$ac_cv_path_mkdir -p"
2073   else
2074     # As a last resort, use the slow shell script.  Don't cache a
2075     # value for MKDIR_P within a source directory, because that will
2076     # break other packages using the cache if that directory is
2077     # removed, or if the value is a relative name.
2078     test -d ./--version && rmdir ./--version
2079     MKDIR_P="$ac_install_sh -d"
2080   fi
2081 fi
2082 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2083 $as_echo "$MKDIR_P" >&6; }
2084
2085 mkdir_p="$MKDIR_P"
2086 case $mkdir_p in
2087   [\\/$]* | ?:[\\/]*) ;;
2088   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2089 esac
2090
2091 for ac_prog in gawk mawk nawk awk
2092 do
2093   # Extract the first word of "$ac_prog", so it can be a program name with args.
2094 set dummy $ac_prog; ac_word=$2
2095 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 $as_echo_n "checking for $ac_word... " >&6; }
2097 if test "${ac_cv_prog_AWK+set}" = set; then
2098   $as_echo_n "(cached) " >&6
2099 else
2100   if test -n "$AWK"; then
2101   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2102 else
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 for as_dir in $PATH
2105 do
2106   IFS=$as_save_IFS
2107   test -z "$as_dir" && as_dir=.
2108   for ac_exec_ext in '' $ac_executable_extensions; do
2109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2110     ac_cv_prog_AWK="$ac_prog"
2111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2112     break 2
2113   fi
2114 done
2115 done
2116 IFS=$as_save_IFS
2117
2118 fi
2119 fi
2120 AWK=$ac_cv_prog_AWK
2121 if test -n "$AWK"; then
2122   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2123 $as_echo "$AWK" >&6; }
2124 else
2125   { $as_echo "$as_me:$LINENO: result: no" >&5
2126 $as_echo "no" >&6; }
2127 fi
2128
2129
2130   test -n "$AWK" && break
2131 done
2132
2133 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2134 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2135 set x ${MAKE-make}
2136 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2137 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2138   $as_echo_n "(cached) " >&6
2139 else
2140   cat >conftest.make <<\_ACEOF
2141 SHELL = /bin/sh
2142 all:
2143         @echo '@@@%%%=$(MAKE)=@@@%%%'
2144 _ACEOF
2145 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2146 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2147   *@@@%%%=?*=@@@%%%*)
2148     eval ac_cv_prog_make_${ac_make}_set=yes;;
2149   *)
2150     eval ac_cv_prog_make_${ac_make}_set=no;;
2151 esac
2152 rm -f conftest.make
2153 fi
2154 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2155   { $as_echo "$as_me:$LINENO: result: yes" >&5
2156 $as_echo "yes" >&6; }
2157   SET_MAKE=
2158 else
2159   { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2161   SET_MAKE="MAKE=${MAKE-make}"
2162 fi
2163
2164 rm -rf .tst 2>/dev/null
2165 mkdir .tst 2>/dev/null
2166 if test -d .tst; then
2167   am__leading_dot=.
2168 else
2169   am__leading_dot=_
2170 fi
2171 rmdir .tst 2>/dev/null
2172
2173 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2174   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2175   # is not polluted with repeated "-I."
2176   am__isrc=' -I$(srcdir)'
2177   # test to see if srcdir already configured
2178   if test -f $srcdir/config.status; then
2179     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2180 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2181    { (exit 1); exit 1; }; }
2182   fi
2183 fi
2184
2185 # test whether we have cygpath
2186 if test -z "$CYGPATH_W"; then
2187   if (cygpath --version) >/dev/null 2>/dev/null; then
2188     CYGPATH_W='cygpath -w'
2189   else
2190     CYGPATH_W=echo
2191   fi
2192 fi
2193
2194
2195 # Define the identity of the package.
2196  PACKAGE=hts_engine_API
2197  VERSION=1.08
2198
2199
2200 # Some tools Automake needs.
2201
2202 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2203
2204
2205 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2206
2207
2208 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2209
2210
2211 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2212
2213
2214 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2215
2216 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2217
2218 # Installed binaries are usually stripped using `strip' when the user
2219 # run `make install-strip'.  However `strip' might not be the right
2220 # tool to use in cross-compilation environments, therefore Automake
2221 # will honor the `STRIP' environment variable to overrule this program.
2222 if test "$cross_compiling" != no; then
2223   if test -n "$ac_tool_prefix"; then
2224   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2225 set dummy ${ac_tool_prefix}strip; ac_word=$2
2226 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if test "${ac_cv_prog_STRIP+set}" = set; then
2229   $as_echo_n "(cached) " >&6
2230 else
2231   if test -n "$STRIP"; then
2232   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2236 do
2237   IFS=$as_save_IFS
2238   test -z "$as_dir" && as_dir=.
2239   for ac_exec_ext in '' $ac_executable_extensions; do
2240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2241     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2242     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243     break 2
2244   fi
2245 done
2246 done
2247 IFS=$as_save_IFS
2248
2249 fi
2250 fi
2251 STRIP=$ac_cv_prog_STRIP
2252 if test -n "$STRIP"; then
2253   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2254 $as_echo "$STRIP" >&6; }
2255 else
2256   { $as_echo "$as_me:$LINENO: result: no" >&5
2257 $as_echo "no" >&6; }
2258 fi
2259
2260
2261 fi
2262 if test -z "$ac_cv_prog_STRIP"; then
2263   ac_ct_STRIP=$STRIP
2264   # Extract the first word of "strip", so it can be a program name with args.
2265 set dummy strip; ac_word=$2
2266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2269   $as_echo_n "(cached) " >&6
2270 else
2271   if test -n "$ac_ct_STRIP"; then
2272   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2273 else
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2275 for as_dir in $PATH
2276 do
2277   IFS=$as_save_IFS
2278   test -z "$as_dir" && as_dir=.
2279   for ac_exec_ext in '' $ac_executable_extensions; do
2280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281     ac_cv_prog_ac_ct_STRIP="strip"
2282     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2283     break 2
2284   fi
2285 done
2286 done
2287 IFS=$as_save_IFS
2288
2289 fi
2290 fi
2291 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2292 if test -n "$ac_ct_STRIP"; then
2293   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2294 $as_echo "$ac_ct_STRIP" >&6; }
2295 else
2296   { $as_echo "$as_me:$LINENO: result: no" >&5
2297 $as_echo "no" >&6; }
2298 fi
2299
2300   if test "x$ac_ct_STRIP" = x; then
2301     STRIP=":"
2302   else
2303     case $cross_compiling:$ac_tool_warned in
2304 yes:)
2305 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2307 ac_tool_warned=yes ;;
2308 esac
2309     STRIP=$ac_ct_STRIP
2310   fi
2311 else
2312   STRIP="$ac_cv_prog_STRIP"
2313 fi
2314
2315 fi
2316 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2317
2318 # We need awk for the "check" target.  The system "awk" is bad on
2319 # some platforms.
2320 # Always define AMTAR for backward compatibility.
2321
2322 AMTAR=${AMTAR-"${am_missing_run}tar"}
2323
2324 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2325
2326
2327
2328
2329
2330
2331 # Checks for C compiler
2332 ac_ext=c
2333 ac_cpp='$CPP $CPPFLAGS'
2334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2337 if test -n "$ac_tool_prefix"; then
2338   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2339 set dummy ${ac_tool_prefix}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_CC+set}" = set; then
2343   $as_echo_n "(cached) " >&6
2344 else
2345   if test -n "$CC"; then
2346   ac_cv_prog_CC="$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_CC="${ac_tool_prefix}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 CC=$ac_cv_prog_CC
2366 if test -n "$CC"; then
2367   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2368 $as_echo "$CC" >&6; }
2369 else
2370   { $as_echo "$as_me:$LINENO: result: no" >&5
2371 $as_echo "no" >&6; }
2372 fi
2373
2374
2375 fi
2376 if test -z "$ac_cv_prog_CC"; then
2377   ac_ct_CC=$CC
2378   # Extract the first word of "gcc", so it can be a program name with args.
2379 set dummy gcc; ac_word=$2
2380 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 $as_echo_n "checking for $ac_word... " >&6; }
2382 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2383   $as_echo_n "(cached) " >&6
2384 else
2385   if test -n "$ac_ct_CC"; then
2386   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2387 else
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 for as_dir in $PATH
2390 do
2391   IFS=$as_save_IFS
2392   test -z "$as_dir" && as_dir=.
2393   for ac_exec_ext in '' $ac_executable_extensions; do
2394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395     ac_cv_prog_ac_ct_CC="gcc"
2396     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2397     break 2
2398   fi
2399 done
2400 done
2401 IFS=$as_save_IFS
2402
2403 fi
2404 fi
2405 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2406 if test -n "$ac_ct_CC"; then
2407   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2408 $as_echo "$ac_ct_CC" >&6; }
2409 else
2410   { $as_echo "$as_me:$LINENO: result: no" >&5
2411 $as_echo "no" >&6; }
2412 fi
2413
2414   if test "x$ac_ct_CC" = x; then
2415     CC=""
2416   else
2417     case $cross_compiling:$ac_tool_warned in
2418 yes:)
2419 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2421 ac_tool_warned=yes ;;
2422 esac
2423     CC=$ac_ct_CC
2424   fi
2425 else
2426   CC="$ac_cv_prog_CC"
2427 fi
2428
2429 if test -z "$CC"; then
2430           if test -n "$ac_tool_prefix"; then
2431     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2432 set dummy ${ac_tool_prefix}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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 for as_dir in $PATH
2443 do
2444   IFS=$as_save_IFS
2445   test -z "$as_dir" && as_dir=.
2446   for ac_exec_ext in '' $ac_executable_extensions; do
2447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448     ac_cv_prog_CC="${ac_tool_prefix}cc"
2449     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450     break 2
2451   fi
2452 done
2453 done
2454 IFS=$as_save_IFS
2455
2456 fi
2457 fi
2458 CC=$ac_cv_prog_CC
2459 if test -n "$CC"; then
2460   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2461 $as_echo "$CC" >&6; }
2462 else
2463   { $as_echo "$as_me:$LINENO: result: no" >&5
2464 $as_echo "no" >&6; }
2465 fi
2466
2467
2468   fi
2469 fi
2470 if test -z "$CC"; then
2471   # Extract the first word of "cc", so it can be a program name with args.
2472 set dummy cc; ac_word=$2
2473 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 $as_echo_n "checking for $ac_word... " >&6; }
2475 if test "${ac_cv_prog_CC+set}" = set; then
2476   $as_echo_n "(cached) " >&6
2477 else
2478   if test -n "$CC"; then
2479   ac_cv_prog_CC="$CC" # Let the user override the test.
2480 else
2481   ac_prog_rejected=no
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 for as_dir in $PATH
2484 do
2485   IFS=$as_save_IFS
2486   test -z "$as_dir" && as_dir=.
2487   for ac_exec_ext in '' $ac_executable_extensions; do
2488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2490        ac_prog_rejected=yes
2491        continue
2492      fi
2493     ac_cv_prog_CC="cc"
2494     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2495     break 2
2496   fi
2497 done
2498 done
2499 IFS=$as_save_IFS
2500
2501 if test $ac_prog_rejected = yes; then
2502   # We found a bogon in the path, so make sure we never use it.
2503   set dummy $ac_cv_prog_CC
2504   shift
2505   if test $# != 0; then
2506     # We chose a different compiler from the bogus one.
2507     # However, it has the same basename, so the bogon will be chosen
2508     # first if we set CC to just the basename; use the full file name.
2509     shift
2510     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2511   fi
2512 fi
2513 fi
2514 fi
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2518 $as_echo "$CC" >&6; }
2519 else
2520   { $as_echo "$as_me:$LINENO: result: no" >&5
2521 $as_echo "no" >&6; }
2522 fi
2523
2524
2525 fi
2526 if test -z "$CC"; then
2527   if test -n "$ac_tool_prefix"; then
2528   for ac_prog in cl.exe
2529   do
2530     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2532 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 $as_echo_n "checking for $ac_word... " >&6; }
2534 if test "${ac_cv_prog_CC+set}" = set; then
2535   $as_echo_n "(cached) " >&6
2536 else
2537   if test -n "$CC"; then
2538   ac_cv_prog_CC="$CC" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2542 do
2543   IFS=$as_save_IFS
2544   test -z "$as_dir" && as_dir=.
2545   for ac_exec_ext in '' $ac_executable_extensions; do
2546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2548     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549     break 2
2550   fi
2551 done
2552 done
2553 IFS=$as_save_IFS
2554
2555 fi
2556 fi
2557 CC=$ac_cv_prog_CC
2558 if test -n "$CC"; then
2559   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2560 $as_echo "$CC" >&6; }
2561 else
2562   { $as_echo "$as_me:$LINENO: result: no" >&5
2563 $as_echo "no" >&6; }
2564 fi
2565
2566
2567     test -n "$CC" && break
2568   done
2569 fi
2570 if test -z "$CC"; then
2571   ac_ct_CC=$CC
2572   for ac_prog in cl.exe
2573 do
2574   # Extract the first word of "$ac_prog", so it can be a program name with args.
2575 set dummy $ac_prog; ac_word=$2
2576 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2577 $as_echo_n "checking for $ac_word... " >&6; }
2578 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2579   $as_echo_n "(cached) " >&6
2580 else
2581   if test -n "$ac_ct_CC"; then
2582   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2583 else
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 for as_dir in $PATH
2586 do
2587   IFS=$as_save_IFS
2588   test -z "$as_dir" && as_dir=.
2589   for ac_exec_ext in '' $ac_executable_extensions; do
2590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591     ac_cv_prog_ac_ct_CC="$ac_prog"
2592     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593     break 2
2594   fi
2595 done
2596 done
2597 IFS=$as_save_IFS
2598
2599 fi
2600 fi
2601 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2602 if test -n "$ac_ct_CC"; then
2603   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2604 $as_echo "$ac_ct_CC" >&6; }
2605 else
2606   { $as_echo "$as_me:$LINENO: result: no" >&5
2607 $as_echo "no" >&6; }
2608 fi
2609
2610
2611   test -n "$ac_ct_CC" && break
2612 done
2613
2614   if test "x$ac_ct_CC" = x; then
2615     CC=""
2616   else
2617     case $cross_compiling:$ac_tool_warned in
2618 yes:)
2619 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621 ac_tool_warned=yes ;;
2622 esac
2623     CC=$ac_ct_CC
2624   fi
2625 fi
2626
2627 fi
2628
2629
2630 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2633 See \`config.log' for more details." >&5
2634 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2635 See \`config.log' for more details." >&2;}
2636    { (exit 1); exit 1; }; }; }
2637
2638 # Provide some information about the compiler.
2639 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2640 set X $ac_compile
2641 ac_compiler=$2
2642 { (ac_try="$ac_compiler --version >&5"
2643 case "(($ac_try" in
2644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645   *) ac_try_echo=$ac_try;;
2646 esac
2647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2648 $as_echo "$ac_try_echo") >&5
2649   (eval "$ac_compiler --version >&5") 2>&5
2650   ac_status=$?
2651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652   (exit $ac_status); }
2653 { (ac_try="$ac_compiler -v >&5"
2654 case "(($ac_try" in
2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656   *) ac_try_echo=$ac_try;;
2657 esac
2658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2659 $as_echo "$ac_try_echo") >&5
2660   (eval "$ac_compiler -v >&5") 2>&5
2661   ac_status=$?
2662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663   (exit $ac_status); }
2664 { (ac_try="$ac_compiler -V >&5"
2665 case "(($ac_try" in
2666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667   *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2670 $as_echo "$ac_try_echo") >&5
2671   (eval "$ac_compiler -V >&5") 2>&5
2672   ac_status=$?
2673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674   (exit $ac_status); }
2675
2676 cat >conftest.$ac_ext <<_ACEOF
2677 /* confdefs.h.  */
2678 _ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h.  */
2682
2683 int
2684 main ()
2685 {
2686
2687   ;
2688   return 0;
2689 }
2690 _ACEOF
2691 ac_clean_files_save=$ac_clean_files
2692 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2693 # Try to create an executable without -o first, disregard a.out.
2694 # It will help us diagnose broken compilers, and finding out an intuition
2695 # of exeext.
2696 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2697 $as_echo_n "checking for C compiler default output file name... " >&6; }
2698 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2699
2700 # The possible output files:
2701 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2702
2703 ac_rmfiles=
2704 for ac_file in $ac_files
2705 do
2706   case $ac_file in
2707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2708     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2709   esac
2710 done
2711 rm -f $ac_rmfiles
2712
2713 if { (ac_try="$ac_link_default"
2714 case "(($ac_try" in
2715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716   *) ac_try_echo=$ac_try;;
2717 esac
2718 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2719 $as_echo "$ac_try_echo") >&5
2720   (eval "$ac_link_default") 2>&5
2721   ac_status=$?
2722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723   (exit $ac_status); }; then
2724   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2725 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2726 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2727 # so that the user can short-circuit this test for compilers unknown to
2728 # Autoconf.
2729 for ac_file in $ac_files ''
2730 do
2731   test -f "$ac_file" || continue
2732   case $ac_file in
2733     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2734         ;;
2735     [ab].out )
2736         # We found the default executable, but exeext='' is most
2737         # certainly right.
2738         break;;
2739     *.* )
2740         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2741         then :; else
2742            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2743         fi
2744         # We set ac_cv_exeext here because the later test for it is not
2745         # safe: cross compilers may not add the suffix if given an `-o'
2746         # argument, so we may need to know it at that point already.
2747         # Even if this section looks crufty: it has the advantage of
2748         # actually working.
2749         break;;
2750     * )
2751         break;;
2752   esac
2753 done
2754 test "$ac_cv_exeext" = no && ac_cv_exeext=
2755
2756 else
2757   ac_file=''
2758 fi
2759
2760 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2761 $as_echo "$ac_file" >&6; }
2762 if test -z "$ac_file"; then
2763   $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2765
2766 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2768 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2769 See \`config.log' for more details." >&5
2770 $as_echo "$as_me: error: C compiler cannot create executables
2771 See \`config.log' for more details." >&2;}
2772    { (exit 77); exit 77; }; }; }
2773 fi
2774
2775 ac_exeext=$ac_cv_exeext
2776
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 the C compiler works" >&5
2780 $as_echo_n "checking whether the C compiler works... " >&6; }
2781 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2782 # If not cross compiling, check that we can run a simple program.
2783 if test "$cross_compiling" != yes; then
2784   if { ac_try='./$ac_file'
2785   { (case "(($ac_try" in
2786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787   *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791   (eval "$ac_try") 2>&5
2792   ac_status=$?
2793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794   (exit $ac_status); }; }; then
2795     cross_compiling=no
2796   else
2797     if test "$cross_compiling" = maybe; then
2798         cross_compiling=yes
2799     else
2800         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2802 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2803 If you meant to cross compile, use \`--host'.
2804 See \`config.log' for more details." >&5
2805 $as_echo "$as_me: error: cannot run C compiled programs.
2806 If you meant to cross compile, use \`--host'.
2807 See \`config.log' for more details." >&2;}
2808    { (exit 1); exit 1; }; }; }
2809     fi
2810   fi
2811 fi
2812 { $as_echo "$as_me:$LINENO: result: yes" >&5
2813 $as_echo "yes" >&6; }
2814
2815 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2816 ac_clean_files=$ac_clean_files_save
2817 # Check that the compiler produces executables we can run.  If not, either
2818 # the compiler is broken, or we cross compile.
2819 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2820 $as_echo_n "checking whether we are cross compiling... " >&6; }
2821 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2822 $as_echo "$cross_compiling" >&6; }
2823
2824 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2825 $as_echo_n "checking for suffix of executables... " >&6; }
2826 if { (ac_try="$ac_link"
2827 case "(($ac_try" in
2828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829   *) ac_try_echo=$ac_try;;
2830 esac
2831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2832 $as_echo "$ac_try_echo") >&5
2833   (eval "$ac_link") 2>&5
2834   ac_status=$?
2835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836   (exit $ac_status); }; then
2837   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2838 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2839 # work properly (i.e., refer to `conftest.exe'), while it won't with
2840 # `rm'.
2841 for ac_file in conftest.exe conftest conftest.*; do
2842   test -f "$ac_file" || continue
2843   case $ac_file in
2844     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2845     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2846           break;;
2847     * ) break;;
2848   esac
2849 done
2850 else
2851   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2853 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2854 See \`config.log' for more details." >&5
2855 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2856 See \`config.log' for more details." >&2;}
2857    { (exit 1); exit 1; }; }; }
2858 fi
2859
2860 rm -f conftest$ac_cv_exeext
2861 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2862 $as_echo "$ac_cv_exeext" >&6; }
2863
2864 rm -f conftest.$ac_ext
2865 EXEEXT=$ac_cv_exeext
2866 ac_exeext=$EXEEXT
2867 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2868 $as_echo_n "checking for suffix of object files... " >&6; }
2869 if test "${ac_cv_objext+set}" = set; then
2870   $as_echo_n "(cached) " >&6
2871 else
2872   cat >conftest.$ac_ext <<_ACEOF
2873 /* confdefs.h.  */
2874 _ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h.  */
2878
2879 int
2880 main ()
2881 {
2882
2883   ;
2884   return 0;
2885 }
2886 _ACEOF
2887 rm -f conftest.o conftest.obj
2888 if { (ac_try="$ac_compile"
2889 case "(($ac_try" in
2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891   *) ac_try_echo=$ac_try;;
2892 esac
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895   (eval "$ac_compile") 2>&5
2896   ac_status=$?
2897   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898   (exit $ac_status); }; then
2899   for ac_file in conftest.o conftest.obj conftest.*; do
2900   test -f "$ac_file" || continue;
2901   case $ac_file in
2902     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2903     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2904        break;;
2905   esac
2906 done
2907 else
2908   $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
2910
2911 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2913 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2914 See \`config.log' for more details." >&5
2915 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2916 See \`config.log' for more details." >&2;}
2917    { (exit 1); exit 1; }; }; }
2918 fi
2919
2920 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2921 fi
2922 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2923 $as_echo "$ac_cv_objext" >&6; }
2924 OBJEXT=$ac_cv_objext
2925 ac_objext=$OBJEXT
2926 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2927 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2928 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2929   $as_echo_n "(cached) " >&6
2930 else
2931   cat >conftest.$ac_ext <<_ACEOF
2932 /* confdefs.h.  */
2933 _ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h.  */
2937
2938 int
2939 main ()
2940 {
2941 #ifndef __GNUC__
2942        choke me
2943 #endif
2944
2945   ;
2946   return 0;
2947 }
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953   *) ac_try_echo=$ac_try;;
2954 esac
2955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2956 $as_echo "$ac_try_echo") >&5
2957   (eval "$ac_compile") 2>conftest.er1
2958   ac_status=$?
2959   grep -v '^ *+' conftest.er1 >conftest.err
2960   rm -f conftest.er1
2961   cat conftest.err >&5
2962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963   (exit $ac_status); } && {
2964          test -z "$ac_c_werror_flag" ||
2965          test ! -s conftest.err
2966        } && test -s conftest.$ac_objext; then
2967   ac_compiler_gnu=yes
2968 else
2969   $as_echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2971
2972         ac_compiler_gnu=no
2973 fi
2974
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2977
2978 fi
2979 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2980 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2981 if test $ac_compiler_gnu = yes; then
2982   GCC=yes
2983 else
2984   GCC=
2985 fi
2986 ac_test_CFLAGS=${CFLAGS+set}
2987 ac_save_CFLAGS=$CFLAGS
2988 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2989 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2990 if test "${ac_cv_prog_cc_g+set}" = set; then
2991   $as_echo_n "(cached) " >&6
2992 else
2993   ac_save_c_werror_flag=$ac_c_werror_flag
2994    ac_c_werror_flag=yes
2995    ac_cv_prog_cc_g=no
2996    CFLAGS="-g"
2997    cat >conftest.$ac_ext <<_ACEOF
2998 /* confdefs.h.  */
2999 _ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h.  */
3003
3004 int
3005 main ()
3006 {
3007
3008   ;
3009   return 0;
3010 }
3011 _ACEOF
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3014 case "(($ac_try" in
3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016   *) ac_try_echo=$ac_try;;
3017 esac
3018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3019 $as_echo "$ac_try_echo") >&5
3020   (eval "$ac_compile") 2>conftest.er1
3021   ac_status=$?
3022   grep -v '^ *+' conftest.er1 >conftest.err
3023   rm -f conftest.er1
3024   cat conftest.err >&5
3025   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026   (exit $ac_status); } && {
3027          test -z "$ac_c_werror_flag" ||
3028          test ! -s conftest.err
3029        } && test -s conftest.$ac_objext; then
3030   ac_cv_prog_cc_g=yes
3031 else
3032   $as_echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3034
3035         CFLAGS=""
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   :
3070 else
3071   $as_echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3073
3074         ac_c_werror_flag=$ac_save_c_werror_flag
3075          CFLAGS="-g"
3076          cat >conftest.$ac_ext <<_ACEOF
3077 /* confdefs.h.  */
3078 _ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h.  */
3082
3083 int
3084 main ()
3085 {
3086
3087   ;
3088   return 0;
3089 }
3090 _ACEOF
3091 rm -f conftest.$ac_objext
3092 if { (ac_try="$ac_compile"
3093 case "(($ac_try" in
3094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095   *) ac_try_echo=$ac_try;;
3096 esac
3097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3098 $as_echo "$ac_try_echo") >&5
3099   (eval "$ac_compile") 2>conftest.er1
3100   ac_status=$?
3101   grep -v '^ *+' conftest.er1 >conftest.err
3102   rm -f conftest.er1
3103   cat conftest.err >&5
3104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105   (exit $ac_status); } && {
3106          test -z "$ac_c_werror_flag" ||
3107          test ! -s conftest.err
3108        } && test -s conftest.$ac_objext; then
3109   ac_cv_prog_cc_g=yes
3110 else
3111   $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3113
3114
3115 fi
3116
3117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 fi
3119
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 fi
3122
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124    ac_c_werror_flag=$ac_save_c_werror_flag
3125 fi
3126 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3127 $as_echo "$ac_cv_prog_cc_g" >&6; }
3128 if test "$ac_test_CFLAGS" = set; then
3129   CFLAGS=$ac_save_CFLAGS
3130 elif test $ac_cv_prog_cc_g = yes; then
3131   if test "$GCC" = yes; then
3132     CFLAGS="-g -O2"
3133   else
3134     CFLAGS="-g"
3135   fi
3136 else
3137   if test "$GCC" = yes; then
3138     CFLAGS="-O2"
3139   else
3140     CFLAGS=
3141   fi
3142 fi
3143 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3144 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3145 if test "${ac_cv_prog_cc_c89+set}" = set; then
3146   $as_echo_n "(cached) " >&6
3147 else
3148   ac_cv_prog_cc_c89=no
3149 ac_save_CC=$CC
3150 cat >conftest.$ac_ext <<_ACEOF
3151 /* confdefs.h.  */
3152 _ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.h.  */
3156 #include <stdarg.h>
3157 #include <stdio.h>
3158 #include <sys/types.h>
3159 #include <sys/stat.h>
3160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3161 struct buf { int x; };
3162 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3163 static char *e (p, i)
3164      char **p;
3165      int i;
3166 {
3167   return p[i];
3168 }
3169 static char *f (char * (*g) (char **, int), char **p, ...)
3170 {
3171   char *s;
3172   va_list v;
3173   va_start (v,p);
3174   s = g (p, va_arg (v,int));
3175   va_end (v);
3176   return s;
3177 }
3178
3179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3180    function prototypes and stuff, but not '\xHH' hex character constants.
3181    These don't provoke an error unfortunately, instead are silently treated
3182    as 'x'.  The following induces an error, until -std is added to get
3183    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3184    array size at least.  It's necessary to write '\x00'==0 to get something
3185    that's true only with -std.  */
3186 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3187
3188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3189    inside strings and character constants.  */
3190 #define FOO(x) 'x'
3191 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3192
3193 int test (int i, double x);
3194 struct s1 {int (*f) (int a);};
3195 struct s2 {int (*f) (double a);};
3196 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3197 int argc;
3198 char **argv;
3199 int
3200 main ()
3201 {
3202 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3203   ;
3204   return 0;
3205 }
3206 _ACEOF
3207 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3208         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3209 do
3210   CC="$ac_save_CC $ac_arg"
3211   rm -f conftest.$ac_objext
3212 if { (ac_try="$ac_compile"
3213 case "(($ac_try" in
3214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215   *) ac_try_echo=$ac_try;;
3216 esac
3217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3218 $as_echo "$ac_try_echo") >&5
3219   (eval "$ac_compile") 2>conftest.er1
3220   ac_status=$?
3221   grep -v '^ *+' conftest.er1 >conftest.err
3222   rm -f conftest.er1
3223   cat conftest.err >&5
3224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225   (exit $ac_status); } && {
3226          test -z "$ac_c_werror_flag" ||
3227          test ! -s conftest.err
3228        } && test -s conftest.$ac_objext; then
3229   ac_cv_prog_cc_c89=$ac_arg
3230 else
3231   $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3233
3234
3235 fi
3236
3237 rm -f core conftest.err conftest.$ac_objext
3238   test "x$ac_cv_prog_cc_c89" != "xno" && break
3239 done
3240 rm -f conftest.$ac_ext
3241 CC=$ac_save_CC
3242
3243 fi
3244 # AC_CACHE_VAL
3245 case "x$ac_cv_prog_cc_c89" in
3246   x)
3247     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3248 $as_echo "none needed" >&6; } ;;
3249   xno)
3250     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3251 $as_echo "unsupported" >&6; } ;;
3252   *)
3253     CC="$CC $ac_cv_prog_cc_c89"
3254     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3255 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3256 esac
3257
3258
3259 ac_ext=c
3260 ac_cpp='$CPP $CPPFLAGS'
3261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3264 DEPDIR="${am__leading_dot}deps"
3265
3266 ac_config_commands="$ac_config_commands depfiles"
3267
3268
3269 am_make=${MAKE-make}
3270 cat > confinc << 'END'
3271 am__doit:
3272         @echo done
3273 .PHONY: am__doit
3274 END
3275 # If we don't find an include directive, just comment out the code.
3276 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3277 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3278 am__include="#"
3279 am__quote=
3280 _am_result=none
3281 # First try GNU make style include.
3282 echo "include confinc" > confmf
3283 # We grep out `Entering directory' and `Leaving directory'
3284 # messages which can occur if `w' ends up in MAKEFLAGS.
3285 # In particular we don't look at `^make:' because GNU make might
3286 # be invoked under some other name (usually "gmake"), in which
3287 # case it prints its new name instead of `make'.
3288 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3289    am__include=include
3290    am__quote=
3291    _am_result=GNU
3292 fi
3293 # Now try BSD make style include.
3294 if test "$am__include" = "#"; then
3295    echo '.include "confinc"' > confmf
3296    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3297       am__include=.include
3298       am__quote="\""
3299       _am_result=BSD
3300    fi
3301 fi
3302
3303
3304 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3305 $as_echo "$_am_result" >&6; }
3306 rm -f confinc confmf
3307
3308 # Check whether --enable-dependency-tracking was given.
3309 if test "${enable_dependency_tracking+set}" = set; then
3310   enableval=$enable_dependency_tracking;
3311 fi
3312
3313 if test "x$enable_dependency_tracking" != xno; then
3314   am_depcomp="$ac_aux_dir/depcomp"
3315   AMDEPBACKSLASH='\'
3316 fi
3317  if test "x$enable_dependency_tracking" != xno; then
3318   AMDEP_TRUE=
3319   AMDEP_FALSE='#'
3320 else
3321   AMDEP_TRUE='#'
3322   AMDEP_FALSE=
3323 fi
3324
3325
3326
3327 depcc="$CC"   am_compiler_list=
3328
3329 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330 $as_echo_n "checking dependency style of $depcc... " >&6; }
3331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3332   $as_echo_n "(cached) " >&6
3333 else
3334   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3335   # We make a subdir and do the tests there.  Otherwise we can end up
3336   # making bogus files that we don't know about and never remove.  For
3337   # instance it was reported that on HP-UX the gcc test will end up
3338   # making a dummy file named `D' -- because `-MD' means `put the output
3339   # in D'.
3340   mkdir conftest.dir
3341   # Copy depcomp to subdir because otherwise we won't find it if we're
3342   # using a relative directory.
3343   cp "$am_depcomp" conftest.dir
3344   cd conftest.dir
3345   # We will build objects and dependencies in a subdirectory because
3346   # it helps to detect inapplicable dependency modes.  For instance
3347   # both Tru64's cc and ICC support -MD to output dependencies as a
3348   # side effect of compilation, but ICC will put the dependencies in
3349   # the current directory while Tru64 will put them in the object
3350   # directory.
3351   mkdir sub
3352
3353   am_cv_CC_dependencies_compiler_type=none
3354   if test "$am_compiler_list" = ""; then
3355      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3356   fi
3357   for depmode in $am_compiler_list; do
3358     # Setup a source with many dependencies, because some compilers
3359     # like to wrap large dependency lists on column 80 (with \), and
3360     # we should not choose a depcomp mode which is confused by this.
3361     #
3362     # We need to recreate these files for each test, as the compiler may
3363     # overwrite some of them when testing with obscure command lines.
3364     # This happens at least with the AIX C compiler.
3365     : > sub/conftest.c
3366     for i in 1 2 3 4 5 6; do
3367       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3368       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3369       # Solaris 8's {/usr,}/bin/sh.
3370       touch sub/conftst$i.h
3371     done
3372     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3373
3374     case $depmode in
3375     nosideeffect)
3376       # after this tag, mechanisms are not by side-effect, so they'll
3377       # only be used when explicitly requested
3378       if test "x$enable_dependency_tracking" = xyes; then
3379         continue
3380       else
3381         break
3382       fi
3383       ;;
3384     none) break ;;
3385     esac
3386     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3387     # mode.  It turns out that the SunPro C++ compiler does not properly
3388     # handle `-M -o', and we need to detect this.
3389     if depmode=$depmode \
3390        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3391        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3392        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3393          >/dev/null 2>conftest.err &&
3394        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3395        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3396        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3397        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3398       # icc doesn't choke on unknown options, it will just issue warnings
3399       # or remarks (even with -Werror).  So we grep stderr for any message
3400       # that says an option was ignored or not supported.
3401       # When given -MP, icc 7.0 and 7.1 complain thusly:
3402       #   icc: Command line warning: ignoring option '-M'; no argument required
3403       # The diagnosis changed in icc 8.0:
3404       #   icc: Command line remark: option '-MP' not supported
3405       if (grep 'ignoring option' conftest.err ||
3406           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3407         am_cv_CC_dependencies_compiler_type=$depmode
3408         break
3409       fi
3410     fi
3411   done
3412
3413   cd ..
3414   rm -rf conftest.dir
3415 else
3416   am_cv_CC_dependencies_compiler_type=none
3417 fi
3418
3419 fi
3420 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3421 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3422 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3423
3424  if
3425   test "x$enable_dependency_tracking" != xno \
3426   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3427   am__fastdepCC_TRUE=
3428   am__fastdepCC_FALSE='#'
3429 else
3430   am__fastdepCC_TRUE='#'
3431   am__fastdepCC_FALSE=
3432 fi
3433
3434
3435 if test "x$CC" != xcc; then
3436   { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3437 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3438 else
3439   { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3440 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3441 fi
3442 set dummy $CC; ac_cc=`$as_echo "$2" |
3443                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3444 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3445   $as_echo_n "(cached) " >&6
3446 else
3447   cat >conftest.$ac_ext <<_ACEOF
3448 /* confdefs.h.  */
3449 _ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h.  */
3453
3454 int
3455 main ()
3456 {
3457
3458   ;
3459   return 0;
3460 }
3461 _ACEOF
3462 # Make sure it works both with $CC and with simple cc.
3463 # We do the test twice because some compilers refuse to overwrite an
3464 # existing .o file with -o, though they will create one.
3465 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3466 rm -f conftest2.*
3467 if { (case "(($ac_try" in
3468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469   *) ac_try_echo=$ac_try;;
3470 esac
3471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3472 $as_echo "$ac_try_echo") >&5
3473   (eval "$ac_try") 2>&5
3474   ac_status=$?
3475   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476   (exit $ac_status); } &&
3477    test -f conftest2.$ac_objext && { (case "(($ac_try" in
3478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479   *) ac_try_echo=$ac_try;;
3480 esac
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483   (eval "$ac_try") 2>&5
3484   ac_status=$?
3485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486   (exit $ac_status); };
3487 then
3488   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3489   if test "x$CC" != xcc; then
3490     # Test first that cc exists at all.
3491     if { ac_try='cc -c conftest.$ac_ext >&5'
3492   { (case "(($ac_try" in
3493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494   *) ac_try_echo=$ac_try;;
3495 esac
3496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3497 $as_echo "$ac_try_echo") >&5
3498   (eval "$ac_try") 2>&5
3499   ac_status=$?
3500   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); }; }; then
3502       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3503       rm -f conftest2.*
3504       if { (case "(($ac_try" in
3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506   *) ac_try_echo=$ac_try;;
3507 esac
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510   (eval "$ac_try") 2>&5
3511   ac_status=$?
3512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513   (exit $ac_status); } &&
3514          test -f conftest2.$ac_objext && { (case "(($ac_try" in
3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516   *) ac_try_echo=$ac_try;;
3517 esac
3518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3519 $as_echo "$ac_try_echo") >&5
3520   (eval "$ac_try") 2>&5
3521   ac_status=$?
3522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523   (exit $ac_status); };
3524       then
3525         # cc works too.
3526         :
3527       else
3528         # cc exists but doesn't like -o.
3529         eval ac_cv_prog_cc_${ac_cc}_c_o=no
3530       fi
3531     fi
3532   fi
3533 else
3534   eval ac_cv_prog_cc_${ac_cc}_c_o=no
3535 fi
3536 rm -f core conftest*
3537
3538 fi
3539 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3540   { $as_echo "$as_me:$LINENO: result: yes" >&5
3541 $as_echo "yes" >&6; }
3542 else
3543   { $as_echo "$as_me:$LINENO: result: no" >&5
3544 $as_echo "no" >&6; }
3545
3546 cat >>confdefs.h <<\_ACEOF
3547 #define NO_MINUS_C_MINUS_O 1
3548 _ACEOF
3549
3550 fi
3551
3552 # FIXME: we rely on the cache variable name because
3553 # there is no other way.
3554 set dummy $CC
3555 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3556 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3557 if test "$am_t" != yes; then
3558    # Losing compiler, so override with the script.
3559    # FIXME: It is wrong to rewrite CC.
3560    # But if we don't then we get into trouble of one sort or another.
3561    # A longer-term fix would be to have automake use am__CC in this case,
3562    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3563    CC="$am_aux_dir/compile $CC"
3564 fi
3565
3566
3567 # Find a good install program.  We prefer a C program (faster),
3568 # so one script is as good as another.  But avoid the broken or
3569 # incompatible versions:
3570 # SysV /etc/install, /usr/sbin/install
3571 # SunOS /usr/etc/install
3572 # IRIX /sbin/install
3573 # AIX /bin/install
3574 # AmigaOS /C/install, which installs bootblocks on floppy discs
3575 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3578 # OS/2's system install, which has a completely different semantic
3579 # ./install, which can be erroneously created by make from ./install.sh.
3580 # Reject install programs that cannot install multiple files.
3581 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3582 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3583 if test -z "$INSTALL"; then
3584 if test "${ac_cv_path_install+set}" = set; then
3585   $as_echo_n "(cached) " >&6
3586 else
3587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3589 do
3590   IFS=$as_save_IFS
3591   test -z "$as_dir" && as_dir=.
3592   # Account for people who put trailing slashes in PATH elements.
3593 case $as_dir/ in
3594   ./ | .// | /cC/* | \
3595   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3596   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3597   /usr/ucb/* ) ;;
3598   *)
3599     # OSF1 and SCO ODT 3.0 have their own names for install.
3600     # Don't use installbsd from OSF since it installs stuff as root
3601     # by default.
3602     for ac_prog in ginstall scoinst install; do
3603       for ac_exec_ext in '' $ac_executable_extensions; do
3604         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3605           if test $ac_prog = install &&
3606             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3607             # AIX install.  It has an incompatible calling convention.
3608             :
3609           elif test $ac_prog = install &&
3610             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3611             # program-specific install script used by HP pwplus--don't use.
3612             :
3613           else
3614             rm -rf conftest.one conftest.two conftest.dir
3615             echo one > conftest.one
3616             echo two > conftest.two
3617             mkdir conftest.dir
3618             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3619               test -s conftest.one && test -s conftest.two &&
3620               test -s conftest.dir/conftest.one &&
3621               test -s conftest.dir/conftest.two
3622             then
3623               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3624               break 3
3625             fi
3626           fi
3627         fi
3628       done
3629     done
3630     ;;
3631 esac
3632
3633 done
3634 IFS=$as_save_IFS
3635
3636 rm -rf conftest.one conftest.two conftest.dir
3637
3638 fi
3639   if test "${ac_cv_path_install+set}" = set; then
3640     INSTALL=$ac_cv_path_install
3641   else
3642     # As a last resort, use the slow shell script.  Don't cache a
3643     # value for INSTALL within a source directory, because that will
3644     # break other packages using the cache if that directory is
3645     # removed, or if the value is a relative name.
3646     INSTALL=$ac_install_sh
3647   fi
3648 fi
3649 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3650 $as_echo "$INSTALL" >&6; }
3651
3652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3653 # It thinks the first close brace ends the variable substitution.
3654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3655
3656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3657
3658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3659
3660 if test -n "$ac_tool_prefix"; then
3661   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3662 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3664 $as_echo_n "checking for $ac_word... " >&6; }
3665 if test "${ac_cv_prog_RANLIB+set}" = set; then
3666   $as_echo_n "(cached) " >&6
3667 else
3668   if test -n "$RANLIB"; then
3669   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3670 else
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3672 for as_dir in $PATH
3673 do
3674   IFS=$as_save_IFS
3675   test -z "$as_dir" && as_dir=.
3676   for ac_exec_ext in '' $ac_executable_extensions; do
3677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3679     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3680     break 2
3681   fi
3682 done
3683 done
3684 IFS=$as_save_IFS
3685
3686 fi
3687 fi
3688 RANLIB=$ac_cv_prog_RANLIB
3689 if test -n "$RANLIB"; then
3690   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3691 $as_echo "$RANLIB" >&6; }
3692 else
3693   { $as_echo "$as_me:$LINENO: result: no" >&5
3694 $as_echo "no" >&6; }
3695 fi
3696
3697
3698 fi
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700   ac_ct_RANLIB=$RANLIB
3701   # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib; ac_word=$2
3703 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 $as_echo_n "checking for $ac_word... " >&6; }
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706   $as_echo_n "(cached) " >&6
3707 else
3708   if test -n "$ac_ct_RANLIB"; then
3709   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3710 else
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 for as_dir in $PATH
3713 do
3714   IFS=$as_save_IFS
3715   test -z "$as_dir" && as_dir=.
3716   for ac_exec_ext in '' $ac_executable_extensions; do
3717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718     ac_cv_prog_ac_ct_RANLIB="ranlib"
3719     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3720     break 2
3721   fi
3722 done
3723 done
3724 IFS=$as_save_IFS
3725
3726 fi
3727 fi
3728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 $as_echo "$ac_ct_RANLIB" >&6; }
3732 else
3733   { $as_echo "$as_me:$LINENO: result: no" >&5
3734 $as_echo "no" >&6; }
3735 fi
3736
3737   if test "x$ac_ct_RANLIB" = x; then
3738     RANLIB=":"
3739   else
3740     case $cross_compiling:$ac_tool_warned in
3741 yes:)
3742 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3745 esac
3746     RANLIB=$ac_ct_RANLIB
3747   fi
3748 else
3749   RANLIB="$ac_cv_prog_RANLIB"
3750 fi
3751
3752
3753
3754
3755 if test -n "$ac_tool_prefix"; then
3756   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3757 set dummy ${ac_tool_prefix}ar; ac_word=$2
3758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_AR+set}" = set; then
3761   $as_echo_n "(cached) " >&6
3762 else
3763   if test -n "$AR"; then
3764   ac_cv_prog_AR="$AR" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769   IFS=$as_save_IFS
3770   test -z "$as_dir" && as_dir=.
3771   for ac_exec_ext in '' $ac_executable_extensions; do
3772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773     ac_cv_prog_AR="${ac_tool_prefix}ar"
3774     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3775     break 2
3776   fi
3777 done
3778 done
3779 IFS=$as_save_IFS
3780
3781 fi
3782 fi
3783 AR=$ac_cv_prog_AR
3784 if test -n "$AR"; then
3785   { $as_echo "$as_me:$LINENO: result: $AR" >&5
3786 $as_echo "$AR" >&6; }
3787 else
3788   { $as_echo "$as_me:$LINENO: result: no" >&5
3789 $as_echo "no" >&6; }
3790 fi
3791
3792
3793 fi
3794 if test -z "$ac_cv_prog_AR"; then
3795   ac_ct_AR=$AR
3796   # Extract the first word of "ar", so it can be a program name with args.
3797 set dummy ar; ac_word=$2
3798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3801   $as_echo_n "(cached) " >&6
3802 else
3803   if test -n "$ac_ct_AR"; then
3804   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3808 do
3809   IFS=$as_save_IFS
3810   test -z "$as_dir" && as_dir=.
3811   for ac_exec_ext in '' $ac_executable_extensions; do
3812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813     ac_cv_prog_ac_ct_AR="ar"
3814     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3815     break 2
3816   fi
3817 done
3818 done
3819 IFS=$as_save_IFS
3820
3821 fi
3822 fi
3823 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3824 if test -n "$ac_ct_AR"; then
3825   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3826 $as_echo "$ac_ct_AR" >&6; }
3827 else
3828   { $as_echo "$as_me:$LINENO: result: no" >&5
3829 $as_echo "no" >&6; }
3830 fi
3831
3832   if test "x$ac_ct_AR" = x; then
3833     AR=":"
3834   else
3835     case $cross_compiling:$ac_tool_warned in
3836 yes:)
3837 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3839 ac_tool_warned=yes ;;
3840 esac
3841     AR=$ac_ct_AR
3842   fi
3843 else
3844   AR="$ac_cv_prog_AR"
3845 fi
3846
3847
3848
3849 # Checks for libraries.
3850
3851
3852 { $as_echo "$as_me:$LINENO: checking for log in -lm" >&5
3853 $as_echo_n "checking for log in -lm... " >&6; }
3854 if test "${ac_cv_lib_m_log+set}" = set; then
3855   $as_echo_n "(cached) " >&6
3856 else
3857   ac_check_lib_save_LIBS=$LIBS
3858 LIBS="-lm  $LIBS"
3859 cat >conftest.$ac_ext <<_ACEOF
3860 /* confdefs.h.  */
3861 _ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h.  */
3865
3866 /* Override any GCC internal prototype to avoid an error.
3867    Use char because int might match the return type of a GCC
3868    builtin and then its argument prototype would still apply.  */
3869 #ifdef __cplusplus
3870 extern "C"
3871 #endif
3872 char log ();
3873 int
3874 main ()
3875 {
3876 return log ();
3877   ;
3878   return 0;
3879 }
3880 _ACEOF
3881 rm -f conftest.$ac_objext conftest$ac_exeext
3882 if { (ac_try="$ac_link"
3883 case "(($ac_try" in
3884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885   *) ac_try_echo=$ac_try;;
3886 esac
3887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3888 $as_echo "$ac_try_echo") >&5
3889   (eval "$ac_link") 2>conftest.er1
3890   ac_status=$?
3891   grep -v '^ *+' conftest.er1 >conftest.err
3892   rm -f conftest.er1
3893   cat conftest.err >&5
3894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895   (exit $ac_status); } && {
3896          test -z "$ac_c_werror_flag" ||
3897          test ! -s conftest.err
3898        } && test -s conftest$ac_exeext && {
3899          test "$cross_compiling" = yes ||
3900          $as_test_x conftest$ac_exeext
3901        }; then
3902   ac_cv_lib_m_log=yes
3903 else
3904   $as_echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
3906
3907         ac_cv_lib_m_log=no
3908 fi
3909
3910 rm -rf conftest.dSYM
3911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3912       conftest$ac_exeext conftest.$ac_ext
3913 LIBS=$ac_check_lib_save_LIBS
3914 fi
3915 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
3916 $as_echo "$ac_cv_lib_m_log" >&6; }
3917 if test "x$ac_cv_lib_m_log" = x""yes; then
3918   cat >>confdefs.h <<_ACEOF
3919 #define HAVE_LIBM 1
3920 _ACEOF
3921
3922   LIBS="-lm $LIBS"
3923
3924 fi
3925
3926
3927
3928 # Checks for header files.
3929 ac_ext=c
3930 ac_cpp='$CPP $CPPFLAGS'
3931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3934 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3935 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3936 # On Suns, sometimes $CPP names a directory.
3937 if test -n "$CPP" && test -d "$CPP"; then
3938   CPP=
3939 fi
3940 if test -z "$CPP"; then
3941   if test "${ac_cv_prog_CPP+set}" = set; then
3942   $as_echo_n "(cached) " >&6
3943 else
3944       # Double quotes because CPP needs to be expanded
3945     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3946     do
3947       ac_preproc_ok=false
3948 for ac_c_preproc_warn_flag in '' yes
3949 do
3950   # Use a header file that comes with gcc, so configuring glibc
3951   # with a fresh cross-compiler works.
3952   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3953   # <limits.h> exists even on freestanding compilers.
3954   # On the NeXT, cc -E runs the code through the compiler's parser,
3955   # not just through cpp. "Syntax error" is here to catch this case.
3956   cat >conftest.$ac_ext <<_ACEOF
3957 /* confdefs.h.  */
3958 _ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h.  */
3962 #ifdef __STDC__
3963 # include <limits.h>
3964 #else
3965 # include <assert.h>
3966 #endif
3967                      Syntax error
3968 _ACEOF
3969 if { (ac_try="$ac_cpp conftest.$ac_ext"
3970 case "(($ac_try" in
3971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972   *) ac_try_echo=$ac_try;;
3973 esac
3974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3975 $as_echo "$ac_try_echo") >&5
3976   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3977   ac_status=$?
3978   grep -v '^ *+' conftest.er1 >conftest.err
3979   rm -f conftest.er1
3980   cat conftest.err >&5
3981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982   (exit $ac_status); } >/dev/null && {
3983          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3984          test ! -s conftest.err
3985        }; then
3986   :
3987 else
3988   $as_echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3990
3991   # Broken: fails on valid input.
3992 continue
3993 fi
3994
3995 rm -f conftest.err conftest.$ac_ext
3996
3997   # OK, works on sane cases.  Now check whether nonexistent headers
3998   # can be detected and how.
3999   cat >conftest.$ac_ext <<_ACEOF
4000 /* confdefs.h.  */
4001 _ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h.  */
4005 #include <ac_nonexistent.h>
4006 _ACEOF
4007 if { (ac_try="$ac_cpp conftest.$ac_ext"
4008 case "(($ac_try" in
4009   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010   *) ac_try_echo=$ac_try;;
4011 esac
4012 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4013 $as_echo "$ac_try_echo") >&5
4014   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4015   ac_status=$?
4016   grep -v '^ *+' conftest.er1 >conftest.err
4017   rm -f conftest.er1
4018   cat conftest.err >&5
4019   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020   (exit $ac_status); } >/dev/null && {
4021          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4022          test ! -s conftest.err
4023        }; then
4024   # Broken: success on invalid input.
4025 continue
4026 else
4027   $as_echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4029
4030   # Passes both tests.
4031 ac_preproc_ok=:
4032 break
4033 fi
4034
4035 rm -f conftest.err conftest.$ac_ext
4036
4037 done
4038 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4039 rm -f conftest.err conftest.$ac_ext
4040 if $ac_preproc_ok; then
4041   break
4042 fi
4043
4044     done
4045     ac_cv_prog_CPP=$CPP
4046
4047 fi
4048   CPP=$ac_cv_prog_CPP
4049 else
4050   ac_cv_prog_CPP=$CPP
4051 fi
4052 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4053 $as_echo "$CPP" >&6; }
4054 ac_preproc_ok=false
4055 for ac_c_preproc_warn_flag in '' yes
4056 do
4057   # Use a header file that comes with gcc, so configuring glibc
4058   # with a fresh cross-compiler works.
4059   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060   # <limits.h> exists even on freestanding compilers.
4061   # On the NeXT, cc -E runs the code through the compiler's parser,
4062   # not just through cpp. "Syntax error" is here to catch this case.
4063   cat >conftest.$ac_ext <<_ACEOF
4064 /* confdefs.h.  */
4065 _ACEOF
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h.  */
4069 #ifdef __STDC__
4070 # include <limits.h>
4071 #else
4072 # include <assert.h>
4073 #endif
4074                      Syntax error
4075 _ACEOF
4076 if { (ac_try="$ac_cpp conftest.$ac_ext"
4077 case "(($ac_try" in
4078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079   *) ac_try_echo=$ac_try;;
4080 esac
4081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4082 $as_echo "$ac_try_echo") >&5
4083   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4084   ac_status=$?
4085   grep -v '^ *+' conftest.er1 >conftest.err
4086   rm -f conftest.er1
4087   cat conftest.err >&5
4088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089   (exit $ac_status); } >/dev/null && {
4090          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4091          test ! -s conftest.err
4092        }; then
4093   :
4094 else
4095   $as_echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4097
4098   # Broken: fails on valid input.
4099 continue
4100 fi
4101
4102 rm -f conftest.err conftest.$ac_ext
4103
4104   # OK, works on sane cases.  Now check whether nonexistent headers
4105   # can be detected and how.
4106   cat >conftest.$ac_ext <<_ACEOF
4107 /* confdefs.h.  */
4108 _ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h.  */
4112 #include <ac_nonexistent.h>
4113 _ACEOF
4114 if { (ac_try="$ac_cpp conftest.$ac_ext"
4115 case "(($ac_try" in
4116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117   *) ac_try_echo=$ac_try;;
4118 esac
4119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4120 $as_echo "$ac_try_echo") >&5
4121   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4122   ac_status=$?
4123   grep -v '^ *+' conftest.er1 >conftest.err
4124   rm -f conftest.er1
4125   cat conftest.err >&5
4126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127   (exit $ac_status); } >/dev/null && {
4128          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4129          test ! -s conftest.err
4130        }; then
4131   # Broken: success on invalid input.
4132 continue
4133 else
4134   $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4136
4137   # Passes both tests.
4138 ac_preproc_ok=:
4139 break
4140 fi
4141
4142 rm -f conftest.err conftest.$ac_ext
4143
4144 done
4145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4146 rm -f conftest.err conftest.$ac_ext
4147 if $ac_preproc_ok; then
4148   :
4149 else
4150   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4152 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4153 See \`config.log' for more details." >&5
4154 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4155 See \`config.log' for more details." >&2;}
4156    { (exit 1); exit 1; }; }; }
4157 fi
4158
4159 ac_ext=c
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164
4165
4166 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4167 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4168 if test "${ac_cv_path_GREP+set}" = set; then
4169   $as_echo_n "(cached) " >&6
4170 else
4171   if test -z "$GREP"; then
4172   ac_path_GREP_found=false
4173   # Loop through the user's path and test for each of PROGNAME-LIST
4174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4176 do
4177   IFS=$as_save_IFS
4178   test -z "$as_dir" && as_dir=.
4179   for ac_prog in grep ggrep; do
4180     for ac_exec_ext in '' $ac_executable_extensions; do
4181       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4182       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4183 # Check for GNU ac_path_GREP and select it if it is found.
4184   # Check for GNU $ac_path_GREP
4185 case `"$ac_path_GREP" --version 2>&1` in
4186 *GNU*)
4187   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4188 *)
4189   ac_count=0
4190   $as_echo_n 0123456789 >"conftest.in"
4191   while :
4192   do
4193     cat "conftest.in" "conftest.in" >"conftest.tmp"
4194     mv "conftest.tmp" "conftest.in"
4195     cp "conftest.in" "conftest.nl"
4196     $as_echo 'GREP' >> "conftest.nl"
4197     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4198     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4199     ac_count=`expr $ac_count + 1`
4200     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4201       # Best one so far, save it but keep looking for a better one
4202       ac_cv_path_GREP="$ac_path_GREP"
4203       ac_path_GREP_max=$ac_count
4204     fi
4205     # 10*(2^10) chars as input seems more than enough
4206     test $ac_count -gt 10 && break
4207   done
4208   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4209 esac
4210
4211       $ac_path_GREP_found && break 3
4212     done
4213   done
4214 done
4215 IFS=$as_save_IFS
4216   if test -z "$ac_cv_path_GREP"; then
4217     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4218 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4219    { (exit 1); exit 1; }; }
4220   fi
4221 else
4222   ac_cv_path_GREP=$GREP
4223 fi
4224
4225 fi
4226 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4227 $as_echo "$ac_cv_path_GREP" >&6; }
4228  GREP="$ac_cv_path_GREP"
4229
4230
4231 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4232 $as_echo_n "checking for egrep... " >&6; }
4233 if test "${ac_cv_path_EGREP+set}" = set; then
4234   $as_echo_n "(cached) " >&6
4235 else
4236   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4237    then ac_cv_path_EGREP="$GREP -E"
4238    else
4239      if test -z "$EGREP"; then
4240   ac_path_EGREP_found=false
4241   # Loop through the user's path and test for each of PROGNAME-LIST
4242   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4244 do
4245   IFS=$as_save_IFS
4246   test -z "$as_dir" && as_dir=.
4247   for ac_prog in egrep; do
4248     for ac_exec_ext in '' $ac_executable_extensions; do
4249       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4250       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4251 # Check for GNU ac_path_EGREP and select it if it is found.
4252   # Check for GNU $ac_path_EGREP
4253 case `"$ac_path_EGREP" --version 2>&1` in
4254 *GNU*)
4255   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4256 *)
4257   ac_count=0
4258   $as_echo_n 0123456789 >"conftest.in"
4259   while :
4260   do
4261     cat "conftest.in" "conftest.in" >"conftest.tmp"
4262     mv "conftest.tmp" "conftest.in"
4263     cp "conftest.in" "conftest.nl"
4264     $as_echo 'EGREP' >> "conftest.nl"
4265     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4266     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4267     ac_count=`expr $ac_count + 1`
4268     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4269       # Best one so far, save it but keep looking for a better one
4270       ac_cv_path_EGREP="$ac_path_EGREP"
4271       ac_path_EGREP_max=$ac_count
4272     fi
4273     # 10*(2^10) chars as input seems more than enough
4274     test $ac_count -gt 10 && break
4275   done
4276   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4277 esac
4278
4279       $ac_path_EGREP_found && break 3
4280     done
4281   done
4282 done
4283 IFS=$as_save_IFS
4284   if test -z "$ac_cv_path_EGREP"; then
4285     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4286 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4287    { (exit 1); exit 1; }; }
4288   fi
4289 else
4290   ac_cv_path_EGREP=$EGREP
4291 fi
4292
4293    fi
4294 fi
4295 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4296 $as_echo "$ac_cv_path_EGREP" >&6; }
4297  EGREP="$ac_cv_path_EGREP"
4298
4299
4300 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4301 $as_echo_n "checking for ANSI C header files... " >&6; }
4302 if test "${ac_cv_header_stdc+set}" = set; then
4303   $as_echo_n "(cached) " >&6
4304 else
4305   cat >conftest.$ac_ext <<_ACEOF
4306 /* confdefs.h.  */
4307 _ACEOF
4308 cat confdefs.h >>conftest.$ac_ext
4309 cat >>conftest.$ac_ext <<_ACEOF
4310 /* end confdefs.h.  */
4311 #include <stdlib.h>
4312 #include <stdarg.h>
4313 #include <string.h>
4314 #include <float.h>
4315
4316 int
4317 main ()
4318 {
4319
4320   ;
4321   return 0;
4322 }
4323 _ACEOF
4324 rm -f conftest.$ac_objext
4325 if { (ac_try="$ac_compile"
4326 case "(($ac_try" in
4327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328   *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4331 $as_echo "$ac_try_echo") >&5
4332   (eval "$ac_compile") 2>conftest.er1
4333   ac_status=$?
4334   grep -v '^ *+' conftest.er1 >conftest.err
4335   rm -f conftest.er1
4336   cat conftest.err >&5
4337   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338   (exit $ac_status); } && {
4339          test -z "$ac_c_werror_flag" ||
4340          test ! -s conftest.err
4341        } && test -s conftest.$ac_objext; then
4342   ac_cv_header_stdc=yes
4343 else
4344   $as_echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.$ac_ext >&5
4346
4347         ac_cv_header_stdc=no
4348 fi
4349
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351
4352 if test $ac_cv_header_stdc = yes; then
4353   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4354   cat >conftest.$ac_ext <<_ACEOF
4355 /* confdefs.h.  */
4356 _ACEOF
4357 cat confdefs.h >>conftest.$ac_ext
4358 cat >>conftest.$ac_ext <<_ACEOF
4359 /* end confdefs.h.  */
4360 #include <string.h>
4361
4362 _ACEOF
4363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4364   $EGREP "memchr" >/dev/null 2>&1; then
4365   :
4366 else
4367   ac_cv_header_stdc=no
4368 fi
4369 rm -f conftest*
4370
4371 fi
4372
4373 if test $ac_cv_header_stdc = yes; then
4374   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4375   cat >conftest.$ac_ext <<_ACEOF
4376 /* confdefs.h.  */
4377 _ACEOF
4378 cat confdefs.h >>conftest.$ac_ext
4379 cat >>conftest.$ac_ext <<_ACEOF
4380 /* end confdefs.h.  */
4381 #include <stdlib.h>
4382
4383 _ACEOF
4384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4385   $EGREP "free" >/dev/null 2>&1; then
4386   :
4387 else
4388   ac_cv_header_stdc=no
4389 fi
4390 rm -f conftest*
4391
4392 fi
4393
4394 if test $ac_cv_header_stdc = yes; then
4395   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4396   if test "$cross_compiling" = yes; then
4397   :
4398 else
4399   cat >conftest.$ac_ext <<_ACEOF
4400 /* confdefs.h.  */
4401 _ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h.  */
4405 #include <ctype.h>
4406 #include <stdlib.h>
4407 #if ((' ' & 0x0FF) == 0x020)
4408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4410 #else
4411 # define ISLOWER(c) \
4412                    (('a' <= (c) && (c) <= 'i') \
4413                      || ('j' <= (c) && (c) <= 'r') \
4414                      || ('s' <= (c) && (c) <= 'z'))
4415 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4416 #endif
4417
4418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4419 int
4420 main ()
4421 {
4422   int i;
4423   for (i = 0; i < 256; i++)
4424     if (XOR (islower (i), ISLOWER (i))
4425         || toupper (i) != TOUPPER (i))
4426       return 2;
4427   return 0;
4428 }
4429 _ACEOF
4430 rm -f conftest$ac_exeext
4431 if { (ac_try="$ac_link"
4432 case "(($ac_try" in
4433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434   *) ac_try_echo=$ac_try;;
4435 esac
4436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437 $as_echo "$ac_try_echo") >&5
4438   (eval "$ac_link") 2>&5
4439   ac_status=$?
4440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4442   { (case "(($ac_try" in
4443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444   *) ac_try_echo=$ac_try;;
4445 esac
4446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4447 $as_echo "$ac_try_echo") >&5
4448   (eval "$ac_try") 2>&5
4449   ac_status=$?
4450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451   (exit $ac_status); }; }; then
4452   :
4453 else
4454   $as_echo "$as_me: program exited with status $ac_status" >&5
4455 $as_echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4457
4458 ( exit $ac_status )
4459 ac_cv_header_stdc=no
4460 fi
4461 rm -rf conftest.dSYM
4462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4463 fi
4464
4465
4466 fi
4467 fi
4468 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4469 $as_echo "$ac_cv_header_stdc" >&6; }
4470 if test $ac_cv_header_stdc = yes; then
4471
4472 cat >>confdefs.h <<\_ACEOF
4473 #define STDC_HEADERS 1
4474 _ACEOF
4475
4476 fi
4477
4478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4489                   inttypes.h stdint.h unistd.h
4490 do
4491 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4492 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4493 $as_echo_n "checking for $ac_header... " >&6; }
4494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4495   $as_echo_n "(cached) " >&6
4496 else
4497   cat >conftest.$ac_ext <<_ACEOF
4498 /* confdefs.h.  */
4499 _ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h.  */
4503 $ac_includes_default
4504
4505 #include <$ac_header>
4506 _ACEOF
4507 rm -f conftest.$ac_objext
4508 if { (ac_try="$ac_compile"
4509 case "(($ac_try" in
4510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511   *) ac_try_echo=$ac_try;;
4512 esac
4513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4514 $as_echo "$ac_try_echo") >&5
4515   (eval "$ac_compile") 2>conftest.er1
4516   ac_status=$?
4517   grep -v '^ *+' conftest.er1 >conftest.err
4518   rm -f conftest.er1
4519   cat conftest.err >&5
4520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521   (exit $ac_status); } && {
4522          test -z "$ac_c_werror_flag" ||
4523          test ! -s conftest.err
4524        } && test -s conftest.$ac_objext; then
4525   eval "$as_ac_Header=yes"
4526 else
4527   $as_echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4529
4530         eval "$as_ac_Header=no"
4531 fi
4532
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4534 fi
4535 ac_res=`eval 'as_val=${'$as_ac_Header'}
4536                  $as_echo "$as_val"'`
4537                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4538 $as_echo "$ac_res" >&6; }
4539 as_val=`eval 'as_val=${'$as_ac_Header'}
4540                  $as_echo "$as_val"'`
4541    if test "x$as_val" = x""yes; then
4542   cat >>confdefs.h <<_ACEOF
4543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4544 _ACEOF
4545
4546 fi
4547
4548 done
4549
4550
4551
4552
4553 for ac_header in stdlib.h string.h
4554 do
4555 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4557   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4558 $as_echo_n "checking for $ac_header... " >&6; }
4559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4560   $as_echo_n "(cached) " >&6
4561 fi
4562 ac_res=`eval 'as_val=${'$as_ac_Header'}
4563                  $as_echo "$as_val"'`
4564                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4565 $as_echo "$ac_res" >&6; }
4566 else
4567   # Is the header compilable?
4568 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4569 $as_echo_n "checking $ac_header usability... " >&6; }
4570 cat >conftest.$ac_ext <<_ACEOF
4571 /* confdefs.h.  */
4572 _ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h.  */
4576 $ac_includes_default
4577 #include <$ac_header>
4578 _ACEOF
4579 rm -f conftest.$ac_objext
4580 if { (ac_try="$ac_compile"
4581 case "(($ac_try" in
4582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583   *) ac_try_echo=$ac_try;;
4584 esac
4585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4586 $as_echo "$ac_try_echo") >&5
4587   (eval "$ac_compile") 2>conftest.er1
4588   ac_status=$?
4589   grep -v '^ *+' conftest.er1 >conftest.err
4590   rm -f conftest.er1
4591   cat conftest.err >&5
4592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593   (exit $ac_status); } && {
4594          test -z "$ac_c_werror_flag" ||
4595          test ! -s conftest.err
4596        } && test -s conftest.$ac_objext; then
4597   ac_header_compiler=yes
4598 else
4599   $as_echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4601
4602         ac_header_compiler=no
4603 fi
4604
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4607 $as_echo "$ac_header_compiler" >&6; }
4608
4609 # Is the header present?
4610 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4611 $as_echo_n "checking $ac_header presence... " >&6; }
4612 cat >conftest.$ac_ext <<_ACEOF
4613 /* confdefs.h.  */
4614 _ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h.  */
4618 #include <$ac_header>
4619 _ACEOF
4620 if { (ac_try="$ac_cpp conftest.$ac_ext"
4621 case "(($ac_try" in
4622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623   *) ac_try_echo=$ac_try;;
4624 esac
4625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4626 $as_echo "$ac_try_echo") >&5
4627   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4628   ac_status=$?
4629   grep -v '^ *+' conftest.er1 >conftest.err
4630   rm -f conftest.er1
4631   cat conftest.err >&5
4632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633   (exit $ac_status); } >/dev/null && {
4634          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4635          test ! -s conftest.err
4636        }; then
4637   ac_header_preproc=yes
4638 else
4639   $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4641
4642   ac_header_preproc=no
4643 fi
4644
4645 rm -f conftest.err conftest.$ac_ext
4646 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4647 $as_echo "$ac_header_preproc" >&6; }
4648
4649 # So?  What about this header?
4650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4651   yes:no: )
4652     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4653 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4654     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4655 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4656     ac_header_preproc=yes
4657     ;;
4658   no:yes:* )
4659     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4660 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4661     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4662 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4663     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4664 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4665     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4666 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4667     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4668 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4669     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4670 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4671     ( cat <<\_ASBOX
4672 ## ----------------------------------------------------- ##
4673 ## Report this to hts-engine-users@lists.sourceforge.net ##
4674 ## ----------------------------------------------------- ##
4675 _ASBOX
4676      ) | sed "s/^/$as_me: WARNING:     /" >&2
4677     ;;
4678 esac
4679 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4680 $as_echo_n "checking for $ac_header... " >&6; }
4681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4682   $as_echo_n "(cached) " >&6
4683 else
4684   eval "$as_ac_Header=\$ac_header_preproc"
4685 fi
4686 ac_res=`eval 'as_val=${'$as_ac_Header'}
4687                  $as_echo "$as_val"'`
4688                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4689 $as_echo "$ac_res" >&6; }
4690
4691 fi
4692 as_val=`eval 'as_val=${'$as_ac_Header'}
4693                  $as_echo "$as_val"'`
4694    if test "x$as_val" = x""yes; then
4695   cat >>confdefs.h <<_ACEOF
4696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4697 _ACEOF
4698
4699 fi
4700
4701 done
4702
4703
4704
4705 # Checks for typedefs, structures, and compiler characteristics.
4706 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4707 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4708 if test "${ac_cv_c_const+set}" = set; then
4709   $as_echo_n "(cached) " >&6
4710 else
4711   cat >conftest.$ac_ext <<_ACEOF
4712 /* confdefs.h.  */
4713 _ACEOF
4714 cat confdefs.h >>conftest.$ac_ext
4715 cat >>conftest.$ac_ext <<_ACEOF
4716 /* end confdefs.h.  */
4717
4718 int
4719 main ()
4720 {
4721 /* FIXME: Include the comments suggested by Paul. */
4722 #ifndef __cplusplus
4723   /* Ultrix mips cc rejects this.  */
4724   typedef int charset[2];
4725   const charset cs;
4726   /* SunOS 4.1.1 cc rejects this.  */
4727   char const *const *pcpcc;
4728   char **ppc;
4729   /* NEC SVR4.0.2 mips cc rejects this.  */
4730   struct point {int x, y;};
4731   static struct point const zero = {0,0};
4732   /* AIX XL C 1.02.0.0 rejects this.
4733      It does not let you subtract one const X* pointer from another in
4734      an arm of an if-expression whose if-part is not a constant
4735      expression */
4736   const char *g = "string";
4737   pcpcc = &g + (g ? g-g : 0);
4738   /* HPUX 7.0 cc rejects these. */
4739   ++pcpcc;
4740   ppc = (char**) pcpcc;
4741   pcpcc = (char const *const *) ppc;
4742   { /* SCO 3.2v4 cc rejects this.  */
4743     char *t;
4744     char const *s = 0 ? (char *) 0 : (char const *) 0;
4745
4746     *t++ = 0;
4747     if (s) return 0;
4748   }
4749   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4750     int x[] = {25, 17};
4751     const int *foo = &x[0];
4752     ++foo;
4753   }
4754   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4755     typedef const int *iptr;
4756     iptr p = 0;
4757     ++p;
4758   }
4759   { /* AIX XL C 1.02.0.0 rejects this saying
4760        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4761     struct s { int j; const int *ap[3]; };
4762     struct s *b; b->j = 5;
4763   }
4764   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4765     const int foo = 10;
4766     if (!foo) return 0;
4767   }
4768   return !cs[0] && !zero.x;
4769 #endif
4770
4771   ;
4772   return 0;
4773 }
4774 _ACEOF
4775 rm -f conftest.$ac_objext
4776 if { (ac_try="$ac_compile"
4777 case "(($ac_try" in
4778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779   *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4782 $as_echo "$ac_try_echo") >&5
4783   (eval "$ac_compile") 2>conftest.er1
4784   ac_status=$?
4785   grep -v '^ *+' conftest.er1 >conftest.err
4786   rm -f conftest.er1
4787   cat conftest.err >&5
4788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789   (exit $ac_status); } && {
4790          test -z "$ac_c_werror_flag" ||
4791          test ! -s conftest.err
4792        } && test -s conftest.$ac_objext; then
4793   ac_cv_c_const=yes
4794 else
4795   $as_echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4797
4798         ac_cv_c_const=no
4799 fi
4800
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4802 fi
4803 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4804 $as_echo "$ac_cv_c_const" >&6; }
4805 if test $ac_cv_c_const = no; then
4806
4807 cat >>confdefs.h <<\_ACEOF
4808 #define const /**/
4809 _ACEOF
4810
4811 fi
4812
4813 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4814 $as_echo_n "checking for size_t... " >&6; }
4815 if test "${ac_cv_type_size_t+set}" = set; then
4816   $as_echo_n "(cached) " >&6
4817 else
4818   ac_cv_type_size_t=no
4819 cat >conftest.$ac_ext <<_ACEOF
4820 /* confdefs.h.  */
4821 _ACEOF
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h.  */
4825 $ac_includes_default
4826 int
4827 main ()
4828 {
4829 if (sizeof (size_t))
4830        return 0;
4831   ;
4832   return 0;
4833 }
4834 _ACEOF
4835 rm -f conftest.$ac_objext
4836 if { (ac_try="$ac_compile"
4837 case "(($ac_try" in
4838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839   *) ac_try_echo=$ac_try;;
4840 esac
4841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4842 $as_echo "$ac_try_echo") >&5
4843   (eval "$ac_compile") 2>conftest.er1
4844   ac_status=$?
4845   grep -v '^ *+' conftest.er1 >conftest.err
4846   rm -f conftest.er1
4847   cat conftest.err >&5
4848   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849   (exit $ac_status); } && {
4850          test -z "$ac_c_werror_flag" ||
4851          test ! -s conftest.err
4852        } && test -s conftest.$ac_objext; then
4853   cat >conftest.$ac_ext <<_ACEOF
4854 /* confdefs.h.  */
4855 _ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h.  */
4859 $ac_includes_default
4860 int
4861 main ()
4862 {
4863 if (sizeof ((size_t)))
4864           return 0;
4865   ;
4866   return 0;
4867 }
4868 _ACEOF
4869 rm -f conftest.$ac_objext
4870 if { (ac_try="$ac_compile"
4871 case "(($ac_try" in
4872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873   *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4876 $as_echo "$ac_try_echo") >&5
4877   (eval "$ac_compile") 2>conftest.er1
4878   ac_status=$?
4879   grep -v '^ *+' conftest.er1 >conftest.err
4880   rm -f conftest.er1
4881   cat conftest.err >&5
4882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883   (exit $ac_status); } && {
4884          test -z "$ac_c_werror_flag" ||
4885          test ! -s conftest.err
4886        } && test -s conftest.$ac_objext; then
4887   :
4888 else
4889   $as_echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4891
4892         ac_cv_type_size_t=yes
4893 fi
4894
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 else
4897   $as_echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4899
4900
4901 fi
4902
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 fi
4905 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4906 $as_echo "$ac_cv_type_size_t" >&6; }
4907 if test "x$ac_cv_type_size_t" = x""yes; then
4908   :
4909 else
4910
4911 cat >>confdefs.h <<_ACEOF
4912 #define size_t unsigned int
4913 _ACEOF
4914
4915 fi
4916
4917
4918 # Checks for library functions.
4919
4920 for ac_func in vprintf
4921 do
4922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4923 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4924 $as_echo_n "checking for $ac_func... " >&6; }
4925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4926   $as_echo_n "(cached) " >&6
4927 else
4928   cat >conftest.$ac_ext <<_ACEOF
4929 /* confdefs.h.  */
4930 _ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h.  */
4934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4936 #define $ac_func innocuous_$ac_func
4937
4938 /* System header to define __stub macros and hopefully few prototypes,
4939     which can conflict with char $ac_func (); below.
4940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4941     <limits.h> exists even on freestanding compilers.  */
4942
4943 #ifdef __STDC__
4944 # include <limits.h>
4945 #else
4946 # include <assert.h>
4947 #endif
4948
4949 #undef $ac_func
4950
4951 /* Override any GCC internal prototype to avoid an error.
4952    Use char because int might match the return type of a GCC
4953    builtin and then its argument prototype would still apply.  */
4954 #ifdef __cplusplus
4955 extern "C"
4956 #endif
4957 char $ac_func ();
4958 /* The GNU C library defines this for functions which it implements
4959     to always fail with ENOSYS.  Some functions are actually named
4960     something starting with __ and the normal name is an alias.  */
4961 #if defined __stub_$ac_func || defined __stub___$ac_func
4962 choke me
4963 #endif
4964
4965 int
4966 main ()
4967 {
4968 return $ac_func ();
4969   ;
4970   return 0;
4971 }
4972 _ACEOF
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (ac_try="$ac_link"
4975 case "(($ac_try" in
4976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977   *) ac_try_echo=$ac_try;;
4978 esac
4979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4980 $as_echo "$ac_try_echo") >&5
4981   (eval "$ac_link") 2>conftest.er1
4982   ac_status=$?
4983   grep -v '^ *+' conftest.er1 >conftest.err
4984   rm -f conftest.er1
4985   cat conftest.err >&5
4986   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987   (exit $ac_status); } && {
4988          test -z "$ac_c_werror_flag" ||
4989          test ! -s conftest.err
4990        } && test -s conftest$ac_exeext && {
4991          test "$cross_compiling" = yes ||
4992          $as_test_x conftest$ac_exeext
4993        }; then
4994   eval "$as_ac_var=yes"
4995 else
4996   $as_echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4998
4999         eval "$as_ac_var=no"
5000 fi
5001
5002 rm -rf conftest.dSYM
5003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5004       conftest$ac_exeext conftest.$ac_ext
5005 fi
5006 ac_res=`eval 'as_val=${'$as_ac_var'}
5007                  $as_echo "$as_val"'`
5008                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5009 $as_echo "$ac_res" >&6; }
5010 as_val=`eval 'as_val=${'$as_ac_var'}
5011                  $as_echo "$as_val"'`
5012    if test "x$as_val" = x""yes; then
5013   cat >>confdefs.h <<_ACEOF
5014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5015 _ACEOF
5016
5017 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
5018 $as_echo_n "checking for _doprnt... " >&6; }
5019 if test "${ac_cv_func__doprnt+set}" = set; then
5020   $as_echo_n "(cached) " >&6
5021 else
5022   cat >conftest.$ac_ext <<_ACEOF
5023 /* confdefs.h.  */
5024 _ACEOF
5025 cat confdefs.h >>conftest.$ac_ext
5026 cat >>conftest.$ac_ext <<_ACEOF
5027 /* end confdefs.h.  */
5028 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5030 #define _doprnt innocuous__doprnt
5031
5032 /* System header to define __stub macros and hopefully few prototypes,
5033     which can conflict with char _doprnt (); below.
5034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5035     <limits.h> exists even on freestanding compilers.  */
5036
5037 #ifdef __STDC__
5038 # include <limits.h>
5039 #else
5040 # include <assert.h>
5041 #endif
5042
5043 #undef _doprnt
5044
5045 /* Override any GCC internal prototype to avoid an error.
5046    Use char because int might match the return type of a GCC
5047    builtin and then its argument prototype would still apply.  */
5048 #ifdef __cplusplus
5049 extern "C"
5050 #endif
5051 char _doprnt ();
5052 /* The GNU C library defines this for functions which it implements
5053     to always fail with ENOSYS.  Some functions are actually named
5054     something starting with __ and the normal name is an alias.  */
5055 #if defined __stub__doprnt || defined __stub____doprnt
5056 choke me
5057 #endif
5058
5059 int
5060 main ()
5061 {
5062 return _doprnt ();
5063   ;
5064   return 0;
5065 }
5066 _ACEOF
5067 rm -f conftest.$ac_objext conftest$ac_exeext
5068 if { (ac_try="$ac_link"
5069 case "(($ac_try" in
5070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071   *) ac_try_echo=$ac_try;;
5072 esac
5073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5074 $as_echo "$ac_try_echo") >&5
5075   (eval "$ac_link") 2>conftest.er1
5076   ac_status=$?
5077   grep -v '^ *+' conftest.er1 >conftest.err
5078   rm -f conftest.er1
5079   cat conftest.err >&5
5080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081   (exit $ac_status); } && {
5082          test -z "$ac_c_werror_flag" ||
5083          test ! -s conftest.err
5084        } && test -s conftest$ac_exeext && {
5085          test "$cross_compiling" = yes ||
5086          $as_test_x conftest$ac_exeext
5087        }; then
5088   ac_cv_func__doprnt=yes
5089 else
5090   $as_echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5092
5093         ac_cv_func__doprnt=no
5094 fi
5095
5096 rm -rf conftest.dSYM
5097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5098       conftest$ac_exeext conftest.$ac_ext
5099 fi
5100 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5101 $as_echo "$ac_cv_func__doprnt" >&6; }
5102 if test "x$ac_cv_func__doprnt" = x""yes; then
5103
5104 cat >>confdefs.h <<\_ACEOF
5105 #define HAVE_DOPRNT 1
5106 _ACEOF
5107
5108 fi
5109
5110 fi
5111 done
5112
5113
5114
5115
5116
5117
5118 for ac_func in sqrt strchr strrchr strstr
5119 do
5120 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5121 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5122 $as_echo_n "checking for $ac_func... " >&6; }
5123 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5124   $as_echo_n "(cached) " >&6
5125 else
5126   cat >conftest.$ac_ext <<_ACEOF
5127 /* confdefs.h.  */
5128 _ACEOF
5129 cat confdefs.h >>conftest.$ac_ext
5130 cat >>conftest.$ac_ext <<_ACEOF
5131 /* end confdefs.h.  */
5132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5134 #define $ac_func innocuous_$ac_func
5135
5136 /* System header to define __stub macros and hopefully few prototypes,
5137     which can conflict with char $ac_func (); below.
5138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5139     <limits.h> exists even on freestanding compilers.  */
5140
5141 #ifdef __STDC__
5142 # include <limits.h>
5143 #else
5144 # include <assert.h>
5145 #endif
5146
5147 #undef $ac_func
5148
5149 /* Override any GCC internal prototype to avoid an error.
5150    Use char because int might match the return type of a GCC
5151    builtin and then its argument prototype would still apply.  */
5152 #ifdef __cplusplus
5153 extern "C"
5154 #endif
5155 char $ac_func ();
5156 /* The GNU C library defines this for functions which it implements
5157     to always fail with ENOSYS.  Some functions are actually named
5158     something starting with __ and the normal name is an alias.  */
5159 #if defined __stub_$ac_func || defined __stub___$ac_func
5160 choke me
5161 #endif
5162
5163 int
5164 main ()
5165 {
5166 return $ac_func ();
5167   ;
5168   return 0;
5169 }
5170 _ACEOF
5171 rm -f conftest.$ac_objext conftest$ac_exeext
5172 if { (ac_try="$ac_link"
5173 case "(($ac_try" in
5174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175   *) ac_try_echo=$ac_try;;
5176 esac
5177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5178 $as_echo "$ac_try_echo") >&5
5179   (eval "$ac_link") 2>conftest.er1
5180   ac_status=$?
5181   grep -v '^ *+' conftest.er1 >conftest.err
5182   rm -f conftest.er1
5183   cat conftest.err >&5
5184   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185   (exit $ac_status); } && {
5186          test -z "$ac_c_werror_flag" ||
5187          test ! -s conftest.err
5188        } && test -s conftest$ac_exeext && {
5189          test "$cross_compiling" = yes ||
5190          $as_test_x conftest$ac_exeext
5191        }; then
5192   eval "$as_ac_var=yes"
5193 else
5194   $as_echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5196
5197         eval "$as_ac_var=no"
5198 fi
5199
5200 rm -rf conftest.dSYM
5201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5202       conftest$ac_exeext conftest.$ac_ext
5203 fi
5204 ac_res=`eval 'as_val=${'$as_ac_var'}
5205                  $as_echo "$as_val"'`
5206                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5207 $as_echo "$ac_res" >&6; }
5208 as_val=`eval 'as_val=${'$as_ac_var'}
5209                  $as_echo "$as_val"'`
5210    if test "x$as_val" = x""yes; then
5211   cat >>confdefs.h <<_ACEOF
5212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5213 _ACEOF
5214
5215 fi
5216 done
5217
5218
5219
5220 # Checks for embedded device compile
5221 # Check whether --enable-embedded was given.
5222 if test "${enable_embedded+set}" = set; then
5223   enableval=$enable_embedded;
5224 else
5225   enable_embedded=no
5226 fi
5227
5228 { $as_echo "$as_me:$LINENO: checking whether to enable compiling for embedded devices" >&5
5229 $as_echo_n "checking whether to enable compiling for embedded devices... " >&6; }
5230 if test x$enable_embedded = xyes; then
5231         { $as_echo "$as_me:$LINENO: result: yes" >&5
5232 $as_echo "yes" >&6; }
5233         cat >>confdefs.h <<\_ACEOF
5234 #define HTS_EMBEDDED 1
5235 _ACEOF
5236
5237 else
5238         { $as_echo "$as_me:$LINENO: result: no" >&5
5239 $as_echo "no" >&6; }
5240 fi
5241
5242
5243 # Checks for using festival
5244 # Check whether --enable-festival was given.
5245 if test "${enable_festival+set}" = set; then
5246   enableval=$enable_festival;
5247 else
5248   enable_festival=no
5249 fi
5250
5251 { $as_echo "$as_me:$LINENO: checking whether to use memory allocation/free functions of speech tools" >&5
5252 $as_echo_n "checking whether to use memory allocation/free functions of speech tools... " >&6; }
5253 if test x$enable_festival = xyes; then
5254         { $as_echo "$as_me:$LINENO: result: yes" >&5
5255 $as_echo "yes" >&6; }
5256         cat >>confdefs.h <<\_ACEOF
5257 #define FESTIVAL 1
5258 _ACEOF
5259
5260 else
5261         { $as_echo "$as_me:$LINENO: result: no" >&5
5262 $as_echo "no" >&6; }
5263 fi
5264
5265
5266 # Make sure we can run config.sub.
5267 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5268   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5269 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5270    { (exit 1); exit 1; }; }
5271
5272 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5273 $as_echo_n "checking build system type... " >&6; }
5274 if test "${ac_cv_build+set}" = set; then
5275   $as_echo_n "(cached) " >&6
5276 else
5277   ac_build_alias=$build_alias
5278 test "x$ac_build_alias" = x &&
5279   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5280 test "x$ac_build_alias" = x &&
5281   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5282 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5283    { (exit 1); exit 1; }; }
5284 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5285   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5286 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5287    { (exit 1); exit 1; }; }
5288
5289 fi
5290 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5291 $as_echo "$ac_cv_build" >&6; }
5292 case $ac_cv_build in
5293 *-*-*) ;;
5294 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5295 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5296    { (exit 1); exit 1; }; };;
5297 esac
5298 build=$ac_cv_build
5299 ac_save_IFS=$IFS; IFS='-'
5300 set x $ac_cv_build
5301 shift
5302 build_cpu=$1
5303 build_vendor=$2
5304 shift; shift
5305 # Remember, the first character of IFS is used to create $*,
5306 # except with old shells:
5307 build_os=$*
5308 IFS=$ac_save_IFS
5309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5310
5311
5312 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5313 $as_echo_n "checking host system type... " >&6; }
5314 if test "${ac_cv_host+set}" = set; then
5315   $as_echo_n "(cached) " >&6
5316 else
5317   if test "x$host_alias" = x; then
5318   ac_cv_host=$ac_cv_build
5319 else
5320   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5321     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5322 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5323    { (exit 1); exit 1; }; }
5324 fi
5325
5326 fi
5327 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5328 $as_echo "$ac_cv_host" >&6; }
5329 case $ac_cv_host in
5330 *-*-*) ;;
5331 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5332 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5333    { (exit 1); exit 1; }; };;
5334 esac
5335 host=$ac_cv_host
5336 ac_save_IFS=$IFS; IFS='-'
5337 set x $ac_cv_host
5338 shift
5339 host_cpu=$1
5340 host_vendor=$2
5341 shift; shift
5342 # Remember, the first character of IFS is used to create $*,
5343 # except with old shells:
5344 host_os=$*
5345 IFS=$ac_save_IFS
5346 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5347
5348
5349
5350  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5351 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5352 if test "${ac_cv_c_bigendian+set}" = set; then
5353   $as_echo_n "(cached) " >&6
5354 else
5355   ac_cv_c_bigendian=unknown
5356     # See if we're dealing with a universal compiler.
5357     cat >conftest.$ac_ext <<_ACEOF
5358 /* confdefs.h.  */
5359 _ACEOF
5360 cat confdefs.h >>conftest.$ac_ext
5361 cat >>conftest.$ac_ext <<_ACEOF
5362 /* end confdefs.h.  */
5363 #ifndef __APPLE_CC__
5364                not a universal capable compiler
5365              #endif
5366              typedef int dummy;
5367
5368 _ACEOF
5369 rm -f conftest.$ac_objext
5370 if { (ac_try="$ac_compile"
5371 case "(($ac_try" in
5372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5373   *) ac_try_echo=$ac_try;;
5374 esac
5375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5376 $as_echo "$ac_try_echo") >&5
5377   (eval "$ac_compile") 2>conftest.er1
5378   ac_status=$?
5379   grep -v '^ *+' conftest.er1 >conftest.err
5380   rm -f conftest.er1
5381   cat conftest.err >&5
5382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383   (exit $ac_status); } && {
5384          test -z "$ac_c_werror_flag" ||
5385          test ! -s conftest.err
5386        } && test -s conftest.$ac_objext; then
5387
5388         # Check for potential -arch flags.  It is not universal unless
5389         # there are some -arch flags.  Note that *ppc* also matches
5390         # ppc64.  This check is also rather less than ideal.
5391         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
5392           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
5393         esac
5394 else
5395   $as_echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.$ac_ext >&5
5397
5398
5399 fi
5400
5401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402     if test $ac_cv_c_bigendian = unknown; then
5403       # See if sys/param.h defines the BYTE_ORDER macro.
5404       cat >conftest.$ac_ext <<_ACEOF
5405 /* confdefs.h.  */
5406 _ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h.  */
5410 #include <sys/types.h>
5411              #include <sys/param.h>
5412
5413 int
5414 main ()
5415 {
5416 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5417                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5418                      && LITTLE_ENDIAN)
5419               bogus endian macros
5420              #endif
5421
5422   ;
5423   return 0;
5424 }
5425 _ACEOF
5426 rm -f conftest.$ac_objext
5427 if { (ac_try="$ac_compile"
5428 case "(($ac_try" in
5429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430   *) ac_try_echo=$ac_try;;
5431 esac
5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5433 $as_echo "$ac_try_echo") >&5
5434   (eval "$ac_compile") 2>conftest.er1
5435   ac_status=$?
5436   grep -v '^ *+' conftest.er1 >conftest.err
5437   rm -f conftest.er1
5438   cat conftest.err >&5
5439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440   (exit $ac_status); } && {
5441          test -z "$ac_c_werror_flag" ||
5442          test ! -s conftest.err
5443        } && test -s conftest.$ac_objext; then
5444   # It does; now see whether it defined to BIG_ENDIAN or not.
5445          cat >conftest.$ac_ext <<_ACEOF
5446 /* confdefs.h.  */
5447 _ACEOF
5448 cat confdefs.h >>conftest.$ac_ext
5449 cat >>conftest.$ac_ext <<_ACEOF
5450 /* end confdefs.h.  */
5451 #include <sys/types.h>
5452                 #include <sys/param.h>
5453
5454 int
5455 main ()
5456 {
5457 #if BYTE_ORDER != BIG_ENDIAN
5458                  not big endian
5459                 #endif
5460
5461   ;
5462   return 0;
5463 }
5464 _ACEOF
5465 rm -f conftest.$ac_objext
5466 if { (ac_try="$ac_compile"
5467 case "(($ac_try" in
5468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469   *) ac_try_echo=$ac_try;;
5470 esac
5471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5472 $as_echo "$ac_try_echo") >&5
5473   (eval "$ac_compile") 2>conftest.er1
5474   ac_status=$?
5475   grep -v '^ *+' conftest.er1 >conftest.err
5476   rm -f conftest.er1
5477   cat conftest.err >&5
5478   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479   (exit $ac_status); } && {
5480          test -z "$ac_c_werror_flag" ||
5481          test ! -s conftest.err
5482        } && test -s conftest.$ac_objext; then
5483   ac_cv_c_bigendian=yes
5484 else
5485   $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5487
5488         ac_cv_c_bigendian=no
5489 fi
5490
5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 else
5493   $as_echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5495
5496
5497 fi
5498
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500     fi
5501     if test $ac_cv_c_bigendian = unknown; then
5502       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5503       cat >conftest.$ac_ext <<_ACEOF
5504 /* confdefs.h.  */
5505 _ACEOF
5506 cat confdefs.h >>conftest.$ac_ext
5507 cat >>conftest.$ac_ext <<_ACEOF
5508 /* end confdefs.h.  */
5509 #include <limits.h>
5510
5511 int
5512 main ()
5513 {
5514 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5515               bogus endian macros
5516              #endif
5517
5518   ;
5519   return 0;
5520 }
5521 _ACEOF
5522 rm -f conftest.$ac_objext
5523 if { (ac_try="$ac_compile"
5524 case "(($ac_try" in
5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526   *) ac_try_echo=$ac_try;;
5527 esac
5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5529 $as_echo "$ac_try_echo") >&5
5530   (eval "$ac_compile") 2>conftest.er1
5531   ac_status=$?
5532   grep -v '^ *+' conftest.er1 >conftest.err
5533   rm -f conftest.er1
5534   cat conftest.err >&5
5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536   (exit $ac_status); } && {
5537          test -z "$ac_c_werror_flag" ||
5538          test ! -s conftest.err
5539        } && test -s conftest.$ac_objext; then
5540   # It does; now see whether it defined to _BIG_ENDIAN or not.
5541          cat >conftest.$ac_ext <<_ACEOF
5542 /* confdefs.h.  */
5543 _ACEOF
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h.  */
5547 #include <limits.h>
5548
5549 int
5550 main ()
5551 {
5552 #ifndef _BIG_ENDIAN
5553                  not big endian
5554                 #endif
5555
5556   ;
5557   return 0;
5558 }
5559 _ACEOF
5560 rm -f conftest.$ac_objext
5561 if { (ac_try="$ac_compile"
5562 case "(($ac_try" in
5563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564   *) ac_try_echo=$ac_try;;
5565 esac
5566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5567 $as_echo "$ac_try_echo") >&5
5568   (eval "$ac_compile") 2>conftest.er1
5569   ac_status=$?
5570   grep -v '^ *+' conftest.er1 >conftest.err
5571   rm -f conftest.er1
5572   cat conftest.err >&5
5573   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574   (exit $ac_status); } && {
5575          test -z "$ac_c_werror_flag" ||
5576          test ! -s conftest.err
5577        } && test -s conftest.$ac_objext; then
5578   ac_cv_c_bigendian=yes
5579 else
5580   $as_echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.$ac_ext >&5
5582
5583         ac_cv_c_bigendian=no
5584 fi
5585
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587 else
5588   $as_echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5590
5591
5592 fi
5593
5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595     fi
5596     if test $ac_cv_c_bigendian = unknown; then
5597       # Compile a test program.
5598       if test "$cross_compiling" = yes; then
5599   # Try to guess by grepping values from an object file.
5600          cat >conftest.$ac_ext <<_ACEOF
5601 /* confdefs.h.  */
5602 _ACEOF
5603 cat confdefs.h >>conftest.$ac_ext
5604 cat >>conftest.$ac_ext <<_ACEOF
5605 /* end confdefs.h.  */
5606 short int ascii_mm[] =
5607                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5608                 short int ascii_ii[] =
5609                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5610                 int use_ascii (int i) {
5611                   return ascii_mm[i] + ascii_ii[i];
5612                 }
5613                 short int ebcdic_ii[] =
5614                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5615                 short int ebcdic_mm[] =
5616                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5617                 int use_ebcdic (int i) {
5618                   return ebcdic_mm[i] + ebcdic_ii[i];
5619                 }
5620                 extern int foo;
5621
5622 int
5623 main ()
5624 {
5625 return use_ascii (foo) == use_ebcdic (foo);
5626   ;
5627   return 0;
5628 }
5629 _ACEOF
5630 rm -f conftest.$ac_objext
5631 if { (ac_try="$ac_compile"
5632 case "(($ac_try" in
5633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5634   *) ac_try_echo=$ac_try;;
5635 esac
5636 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5637 $as_echo "$ac_try_echo") >&5
5638   (eval "$ac_compile") 2>conftest.er1
5639   ac_status=$?
5640   grep -v '^ *+' conftest.er1 >conftest.err
5641   rm -f conftest.er1
5642   cat conftest.err >&5
5643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644   (exit $ac_status); } && {
5645          test -z "$ac_c_werror_flag" ||
5646          test ! -s conftest.err
5647        } && test -s conftest.$ac_objext; then
5648   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5649               ac_cv_c_bigendian=yes
5650             fi
5651             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5652               if test "$ac_cv_c_bigendian" = unknown; then
5653                 ac_cv_c_bigendian=no
5654               else
5655                 # finding both strings is unlikely to happen, but who knows?
5656                 ac_cv_c_bigendian=unknown
5657               fi
5658             fi
5659 else
5660   $as_echo "$as_me: failed program was:" >&5
5661 sed 's/^/| /' conftest.$ac_ext >&5
5662
5663
5664 fi
5665
5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5667 else
5668   cat >conftest.$ac_ext <<_ACEOF
5669 /* confdefs.h.  */
5670 _ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h.  */
5674 $ac_includes_default
5675 int
5676 main ()
5677 {
5678
5679              /* Are we little or big endian?  From Harbison&Steele.  */
5680              union
5681              {
5682                long int l;
5683                char c[sizeof (long int)];
5684              } u;
5685              u.l = 1;
5686              return u.c[sizeof (long int) - 1] == 1;
5687
5688   ;
5689   return 0;
5690 }
5691 _ACEOF
5692 rm -f conftest$ac_exeext
5693 if { (ac_try="$ac_link"
5694 case "(($ac_try" in
5695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696   *) ac_try_echo=$ac_try;;
5697 esac
5698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5699 $as_echo "$ac_try_echo") >&5
5700   (eval "$ac_link") 2>&5
5701   ac_status=$?
5702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5704   { (case "(($ac_try" in
5705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5706   *) ac_try_echo=$ac_try;;
5707 esac
5708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5709 $as_echo "$ac_try_echo") >&5
5710   (eval "$ac_try") 2>&5
5711   ac_status=$?
5712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713   (exit $ac_status); }; }; then
5714   ac_cv_c_bigendian=no
5715 else
5716   $as_echo "$as_me: program exited with status $ac_status" >&5
5717 $as_echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.$ac_ext >&5
5719
5720 ( exit $ac_status )
5721 ac_cv_c_bigendian=yes
5722 fi
5723 rm -rf conftest.dSYM
5724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5725 fi
5726
5727
5728     fi
5729 fi
5730 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5731 $as_echo "$ac_cv_c_bigendian" >&6; }
5732  case $ac_cv_c_bigendian in #(
5733    yes)
5734      cat >>confdefs.h <<\_ACEOF
5735 #define WORDS_BIGENDIAN 1
5736 _ACEOF
5737 ;; #(
5738    no)
5739       ;; #(
5740    universal)
5741
5742 cat >>confdefs.h <<\_ACEOF
5743 #define AC_APPLE_UNIVERSAL_BUILD 1
5744 _ACEOF
5745
5746      ;; #(
5747    *)
5748      { { $as_echo "$as_me:$LINENO: error: unknown endianness
5749  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5750 $as_echo "$as_me: error: unknown endianness
5751  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5752    { (exit 1); exit 1; }; } ;;
5753  esac
5754
5755
5756
5757 # Checks library for windows audio devices
5758 case "$host_os" in
5759  *win32* | *wince* | *cygwin* | *mingw* )
5760
5761 { $as_echo "$as_me:$LINENO: checking for main in -lwinmm" >&5
5762 $as_echo_n "checking for main in -lwinmm... " >&6; }
5763 if test "${ac_cv_lib_winmm_main+set}" = set; then
5764   $as_echo_n "(cached) " >&6
5765 else
5766   ac_check_lib_save_LIBS=$LIBS
5767 LIBS="-lwinmm  $LIBS"
5768 cat >conftest.$ac_ext <<_ACEOF
5769 /* confdefs.h.  */
5770 _ACEOF
5771 cat confdefs.h >>conftest.$ac_ext
5772 cat >>conftest.$ac_ext <<_ACEOF
5773 /* end confdefs.h.  */
5774
5775
5776 int
5777 main ()
5778 {
5779 return main ();
5780   ;
5781   return 0;
5782 }
5783 _ACEOF
5784 rm -f conftest.$ac_objext conftest$ac_exeext
5785 if { (ac_try="$ac_link"
5786 case "(($ac_try" in
5787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5788   *) ac_try_echo=$ac_try;;
5789 esac
5790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5791 $as_echo "$ac_try_echo") >&5
5792   (eval "$ac_link") 2>conftest.er1
5793   ac_status=$?
5794   grep -v '^ *+' conftest.er1 >conftest.err
5795   rm -f conftest.er1
5796   cat conftest.err >&5
5797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798   (exit $ac_status); } && {
5799          test -z "$ac_c_werror_flag" ||
5800          test ! -s conftest.err
5801        } && test -s conftest$ac_exeext && {
5802          test "$cross_compiling" = yes ||
5803          $as_test_x conftest$ac_exeext
5804        }; then
5805   ac_cv_lib_winmm_main=yes
5806 else
5807   $as_echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.$ac_ext >&5
5809
5810         ac_cv_lib_winmm_main=no
5811 fi
5812
5813 rm -rf conftest.dSYM
5814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5815       conftest$ac_exeext conftest.$ac_ext
5816 LIBS=$ac_check_lib_save_LIBS
5817 fi
5818 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5
5819 $as_echo "$ac_cv_lib_winmm_main" >&6; }
5820 if test "x$ac_cv_lib_winmm_main" = x""yes; then
5821   cat >>confdefs.h <<_ACEOF
5822 #define HAVE_LIBWINMM 1
5823 _ACEOF
5824
5825   LIBS="-lwinmm $LIBS"
5826
5827 else
5828   { { $as_echo "$as_me:$LINENO: error: No winmm" >&5
5829 $as_echo "$as_me: error: No winmm" >&2;}
5830    { (exit 1); exit 1; }; }
5831 fi
5832 ac_cv_lib_winmm=ac_cv_lib_winmm_main
5833
5834         ;;
5835  *)
5836         ;;
5837 esac
5838
5839
5840 ac_config_files="$ac_config_files Makefile bin/Makefile lib/Makefile"
5841
5842
5843 cat >confcache <<\_ACEOF
5844 # This file is a shell script that caches the results of configure
5845 # tests run on this system so they can be shared between configure
5846 # scripts and configure runs, see configure's option --config-cache.
5847 # It is not useful on other systems.  If it contains results you don't
5848 # want to keep, you may remove or edit it.
5849 #
5850 # config.status only pays attention to the cache file if you give it
5851 # the --recheck option to rerun configure.
5852 #
5853 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5854 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5855 # following values.
5856
5857 _ACEOF
5858
5859 # The following way of writing the cache mishandles newlines in values,
5860 # but we know of no workaround that is simple, portable, and efficient.
5861 # So, we kill variables containing newlines.
5862 # Ultrix sh set writes to stderr and can't be redirected directly,
5863 # and sets the high bit in the cache file unless we assign to the vars.
5864 (
5865   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5866     eval ac_val=\$$ac_var
5867     case $ac_val in #(
5868     *${as_nl}*)
5869       case $ac_var in #(
5870       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5872       esac
5873       case $ac_var in #(
5874       _ | IFS | as_nl) ;; #(
5875       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5876       *) $as_unset $ac_var ;;
5877       esac ;;
5878     esac
5879   done
5880
5881   (set) 2>&1 |
5882     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5883     *${as_nl}ac_space=\ *)
5884       # `set' does not quote correctly, so add quotes (double-quote
5885       # substitution turns \\\\ into \\, and sed turns \\ into \).
5886       sed -n \
5887         "s/'/'\\\\''/g;
5888           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5889       ;; #(
5890     *)
5891       # `set' quotes correctly as required by POSIX, so do not add quotes.
5892       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5893       ;;
5894     esac |
5895     sort
5896 ) |
5897   sed '
5898      /^ac_cv_env_/b end
5899      t clear
5900      :clear
5901      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5902      t end
5903      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5904      :end' >>confcache
5905 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5906   if test -w "$cache_file"; then
5907     test "x$cache_file" != "x/dev/null" &&
5908       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5909 $as_echo "$as_me: updating cache $cache_file" >&6;}
5910     cat confcache >$cache_file
5911   else
5912     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5913 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5914   fi
5915 fi
5916 rm -f confcache
5917
5918 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5919 # Let make expand exec_prefix.
5920 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5921
5922 # Transform confdefs.h into DEFS.
5923 # Protect against shell expansion while executing Makefile rules.
5924 # Protect against Makefile macro expansion.
5925 #
5926 # If the first sed substitution is executed (which looks for macros that
5927 # take arguments), then branch to the quote section.  Otherwise,
5928 # look for a macro that doesn't take arguments.
5929 ac_script='
5930 :mline
5931 /\\$/{
5932  N
5933  s,\\\n,,
5934  b mline
5935 }
5936 t clear
5937 :clear
5938 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
5939 t quote
5940 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
5941 t quote
5942 b any
5943 :quote
5944 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5945 s/\[/\\&/g
5946 s/\]/\\&/g
5947 s/\$/$$/g
5948 H
5949 :any
5950 ${
5951         g
5952         s/^\n//
5953         s/\n/ /g
5954         p
5955 }
5956 '
5957 DEFS=`sed -n "$ac_script" confdefs.h`
5958
5959
5960 ac_libobjs=
5961 ac_ltlibobjs=
5962 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5963   # 1. Remove the extension, and $U if already installed.
5964   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5965   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5966   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5967   #    will be set to the directory where LIBOBJS objects are built.
5968   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5969   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5970 done
5971 LIBOBJS=$ac_libobjs
5972
5973 LTLIBOBJS=$ac_ltlibobjs
5974
5975
5976 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5977   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5978 Usually this means the macro was only invoked conditionally." >&5
5979 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
5980 Usually this means the macro was only invoked conditionally." >&2;}
5981    { (exit 1); exit 1; }; }
5982 fi
5983 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5984   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5985 Usually this means the macro was only invoked conditionally." >&5
5986 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5987 Usually this means the macro was only invoked conditionally." >&2;}
5988    { (exit 1); exit 1; }; }
5989 fi
5990
5991
5992 : ${CONFIG_STATUS=./config.status}
5993 ac_write_fail=0
5994 ac_clean_files_save=$ac_clean_files
5995 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5996 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5997 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5998 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5999 #! $SHELL
6000 # Generated by $as_me.
6001 # Run this file to recreate the current configuration.
6002 # Compiler output produced by configure, useful for debugging
6003 # configure, is in config.log if it exists.
6004
6005 debug=false
6006 ac_cs_recheck=false
6007 ac_cs_silent=false
6008 SHELL=\${CONFIG_SHELL-$SHELL}
6009 _ACEOF
6010
6011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6012 ## --------------------- ##
6013 ## M4sh Initialization.  ##
6014 ## --------------------- ##
6015
6016 # Be more Bourne compatible
6017 DUALCASE=1; export DUALCASE # for MKS sh
6018 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6019   emulate sh
6020   NULLCMD=:
6021   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6022   # is contrary to our usage.  Disable this feature.
6023   alias -g '${1+"$@"}'='"$@"'
6024   setopt NO_GLOB_SUBST
6025 else
6026   case `(set -o) 2>/dev/null` in
6027   *posix*) set -o posix ;;
6028 esac
6029
6030 fi
6031
6032
6033
6034
6035 # PATH needs CR
6036 # Avoid depending upon Character Ranges.
6037 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6038 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6039 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6040 as_cr_digits='0123456789'
6041 as_cr_alnum=$as_cr_Letters$as_cr_digits
6042
6043 as_nl='
6044 '
6045 export as_nl
6046 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6047 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6048 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6049 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6050 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6051   as_echo='printf %s\n'
6052   as_echo_n='printf %s'
6053 else
6054   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6055     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6056     as_echo_n='/usr/ucb/echo -n'
6057   else
6058     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6059     as_echo_n_body='eval
6060       arg=$1;
6061       case $arg in
6062       *"$as_nl"*)
6063         expr "X$arg" : "X\\(.*\\)$as_nl";
6064         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6065       esac;
6066       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6067     '
6068     export as_echo_n_body
6069     as_echo_n='sh -c $as_echo_n_body as_echo'
6070   fi
6071   export as_echo_body
6072   as_echo='sh -c $as_echo_body as_echo'
6073 fi
6074
6075 # The user is always right.
6076 if test "${PATH_SEPARATOR+set}" != set; then
6077   PATH_SEPARATOR=:
6078   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6079     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6080       PATH_SEPARATOR=';'
6081   }
6082 fi
6083
6084 # Support unset when possible.
6085 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6086   as_unset=unset
6087 else
6088   as_unset=false
6089 fi
6090
6091
6092 # IFS
6093 # We need space, tab and new line, in precisely that order.  Quoting is
6094 # there to prevent editors from complaining about space-tab.
6095 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6096 # splitting by setting IFS to empty value.)
6097 IFS=" ""        $as_nl"
6098
6099 # Find who we are.  Look in the path if we contain no directory separator.
6100 case $0 in
6101   *[\\/]* ) as_myself=$0 ;;
6102   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105   IFS=$as_save_IFS
6106   test -z "$as_dir" && as_dir=.
6107   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6108 done
6109 IFS=$as_save_IFS
6110
6111      ;;
6112 esac
6113 # We did not find ourselves, most probably we were run as `sh COMMAND'
6114 # in which case we are not to be found in the path.
6115 if test "x$as_myself" = x; then
6116   as_myself=$0
6117 fi
6118 if test ! -f "$as_myself"; then
6119   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6120   { (exit 1); exit 1; }
6121 fi
6122
6123 # Work around bugs in pre-3.0 UWIN ksh.
6124 for as_var in ENV MAIL MAILPATH
6125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6126 done
6127 PS1='$ '
6128 PS2='> '
6129 PS4='+ '
6130
6131 # NLS nuisances.
6132 LC_ALL=C
6133 export LC_ALL
6134 LANGUAGE=C
6135 export LANGUAGE
6136
6137 # Required to use basename.
6138 if expr a : '\(a\)' >/dev/null 2>&1 &&
6139    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6140   as_expr=expr
6141 else
6142   as_expr=false
6143 fi
6144
6145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6146   as_basename=basename
6147 else
6148   as_basename=false
6149 fi
6150
6151
6152 # Name of the executable.
6153 as_me=`$as_basename -- "$0" ||
6154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6155          X"$0" : 'X\(//\)$' \| \
6156          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6157 $as_echo X/"$0" |
6158     sed '/^.*\/\([^/][^/]*\)\/*$/{
6159             s//\1/
6160             q
6161           }
6162           /^X\/\(\/\/\)$/{
6163             s//\1/
6164             q
6165           }
6166           /^X\/\(\/\).*/{
6167             s//\1/
6168             q
6169           }
6170           s/.*/./; q'`
6171
6172 # CDPATH.
6173 $as_unset CDPATH
6174
6175
6176
6177   as_lineno_1=$LINENO
6178   as_lineno_2=$LINENO
6179   test "x$as_lineno_1" != "x$as_lineno_2" &&
6180   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6181
6182   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6183   # uniformly replaced by the line number.  The first 'sed' inserts a
6184   # line-number line after each line using $LINENO; the second 'sed'
6185   # does the real work.  The second script uses 'N' to pair each
6186   # line-number line with the line containing $LINENO, and appends
6187   # trailing '-' during substitution so that $LINENO is not a special
6188   # case at line end.
6189   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6190   # scripts with optimization help from Paolo Bonzini.  Blame Lee
6191   # E. McMahon (1931-1989) for sed's syntax.  :-)
6192   sed -n '
6193     p
6194     /[$]LINENO/=
6195   ' <$as_myself |
6196     sed '
6197       s/[$]LINENO.*/&-/
6198       t lineno
6199       b
6200       :lineno
6201       N
6202       :loop
6203       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6204       t loop
6205       s/-\n.*//
6206     ' >$as_me.lineno &&
6207   chmod +x "$as_me.lineno" ||
6208     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6209    { (exit 1); exit 1; }; }
6210
6211   # Don't try to exec as it changes $[0], causing all sort of problems
6212   # (the dirname of $[0] is not the place where we might find the
6213   # original and so on.  Autoconf is especially sensitive to this).
6214   . "./$as_me.lineno"
6215   # Exit status is that of the last command.
6216   exit
6217 }
6218
6219
6220 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6221   as_dirname=dirname
6222 else
6223   as_dirname=false
6224 fi
6225
6226 ECHO_C= ECHO_N= ECHO_T=
6227 case `echo -n x` in
6228 -n*)
6229   case `echo 'x\c'` in
6230   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6231   *)   ECHO_C='\c';;
6232   esac;;
6233 *)
6234   ECHO_N='-n';;
6235 esac
6236 if expr a : '\(a\)' >/dev/null 2>&1 &&
6237    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6238   as_expr=expr
6239 else
6240   as_expr=false
6241 fi
6242
6243 rm -f conf$$ conf$$.exe conf$$.file
6244 if test -d conf$$.dir; then
6245   rm -f conf$$.dir/conf$$.file
6246 else
6247   rm -f conf$$.dir
6248   mkdir conf$$.dir 2>/dev/null
6249 fi
6250 if (echo >conf$$.file) 2>/dev/null; then
6251   if ln -s conf$$.file conf$$ 2>/dev/null; then
6252     as_ln_s='ln -s'
6253     # ... but there are two gotchas:
6254     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6255     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6256     # In both cases, we have to default to `cp -p'.
6257     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6258       as_ln_s='cp -p'
6259   elif ln conf$$.file conf$$ 2>/dev/null; then
6260     as_ln_s=ln
6261   else
6262     as_ln_s='cp -p'
6263   fi
6264 else
6265   as_ln_s='cp -p'
6266 fi
6267 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6268 rmdir conf$$.dir 2>/dev/null
6269
6270 if mkdir -p . 2>/dev/null; then
6271   as_mkdir_p=:
6272 else
6273   test -d ./-p && rmdir ./-p
6274   as_mkdir_p=false
6275 fi
6276
6277 if test -x / >/dev/null 2>&1; then
6278   as_test_x='test -x'
6279 else
6280   if ls -dL / >/dev/null 2>&1; then
6281     as_ls_L_option=L
6282   else
6283     as_ls_L_option=
6284   fi
6285   as_test_x='
6286     eval sh -c '\''
6287       if test -d "$1"; then
6288         test -d "$1/.";
6289       else
6290         case $1 in
6291         -*)set "./$1";;
6292         esac;
6293         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6294         ???[sx]*):;;*)false;;esac;fi
6295     '\'' sh
6296   '
6297 fi
6298 as_executable_p=$as_test_x
6299
6300 # Sed expression to map a string onto a valid CPP name.
6301 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6302
6303 # Sed expression to map a string onto a valid variable name.
6304 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6305
6306
6307 exec 6>&1
6308
6309 # Save the log message, to keep $[0] and so on meaningful, and to
6310 # report actual input values of CONFIG_FILES etc. instead of their
6311 # values after options handling.
6312 ac_log="
6313 This file was extended by hts_engine_API $as_me 1.08, which was
6314 generated by GNU Autoconf 2.63.  Invocation command line was
6315
6316   CONFIG_FILES    = $CONFIG_FILES
6317   CONFIG_HEADERS  = $CONFIG_HEADERS
6318   CONFIG_LINKS    = $CONFIG_LINKS
6319   CONFIG_COMMANDS = $CONFIG_COMMANDS
6320   $ $0 $@
6321
6322 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6323 "
6324
6325 _ACEOF
6326
6327 case $ac_config_files in *"
6328 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6329 esac
6330
6331
6332
6333 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6334 # Files that config.status was made for.
6335 config_files="$ac_config_files"
6336 config_commands="$ac_config_commands"
6337
6338 _ACEOF
6339
6340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6341 ac_cs_usage="\
6342 \`$as_me' instantiates files from templates according to the
6343 current configuration.
6344
6345 Usage: $0 [OPTION]... [FILE]...
6346
6347   -h, --help       print this help, then exit
6348   -V, --version    print version number and configuration settings, then exit
6349   -q, --quiet, --silent
6350                    do not print progress messages
6351   -d, --debug      don't remove temporary files
6352       --recheck    update $as_me by reconfiguring in the same conditions
6353       --file=FILE[:TEMPLATE]
6354                    instantiate the configuration file FILE
6355
6356 Configuration files:
6357 $config_files
6358
6359 Configuration commands:
6360 $config_commands
6361
6362 Report bugs to <bug-autoconf@gnu.org>."
6363
6364 _ACEOF
6365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6366 ac_cs_version="\\
6367 hts_engine_API config.status 1.08
6368 configured by $0, generated by GNU Autoconf 2.63,
6369   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6370
6371 Copyright (C) 2008 Free Software Foundation, Inc.
6372 This config.status script is free software; the Free Software Foundation
6373 gives unlimited permission to copy, distribute and modify it."
6374
6375 ac_pwd='$ac_pwd'
6376 srcdir='$srcdir'
6377 INSTALL='$INSTALL'
6378 MKDIR_P='$MKDIR_P'
6379 AWK='$AWK'
6380 test -n "\$AWK" || AWK=awk
6381 _ACEOF
6382
6383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6384 # The default lists apply if the user does not specify any file.
6385 ac_need_defaults=:
6386 while test $# != 0
6387 do
6388   case $1 in
6389   --*=*)
6390     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6391     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6392     ac_shift=:
6393     ;;
6394   *)
6395     ac_option=$1
6396     ac_optarg=$2
6397     ac_shift=shift
6398     ;;
6399   esac
6400
6401   case $ac_option in
6402   # Handling of the options.
6403   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6404     ac_cs_recheck=: ;;
6405   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6406     $as_echo "$ac_cs_version"; exit ;;
6407   --debug | --debu | --deb | --de | --d | -d )
6408     debug=: ;;
6409   --file | --fil | --fi | --f )
6410     $ac_shift
6411     case $ac_optarg in
6412     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6413     esac
6414     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6415     ac_need_defaults=false;;
6416   --he | --h |  --help | --hel | -h )
6417     $as_echo "$ac_cs_usage"; exit ;;
6418   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6419   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6420     ac_cs_silent=: ;;
6421
6422   # This is an error.
6423   -*) { $as_echo "$as_me: error: unrecognized option: $1
6424 Try \`$0 --help' for more information." >&2
6425    { (exit 1); exit 1; }; } ;;
6426
6427   *) ac_config_targets="$ac_config_targets $1"
6428      ac_need_defaults=false ;;
6429
6430   esac
6431   shift
6432 done
6433
6434 ac_configure_extra_args=
6435
6436 if $ac_cs_silent; then
6437   exec 6>/dev/null
6438   ac_configure_extra_args="$ac_configure_extra_args --silent"
6439 fi
6440
6441 _ACEOF
6442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6443 if \$ac_cs_recheck; then
6444   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6445   shift
6446   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6447   CONFIG_SHELL='$SHELL'
6448   export CONFIG_SHELL
6449   exec "\$@"
6450 fi
6451
6452 _ACEOF
6453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6454 exec 5>>config.log
6455 {
6456   echo
6457   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6458 ## Running $as_me. ##
6459 _ASBOX
6460   $as_echo "$ac_log"
6461 } >&5
6462
6463 _ACEOF
6464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6465 #
6466 # INIT-COMMANDS
6467 #
6468 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6469
6470 _ACEOF
6471
6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6473
6474 # Handling of arguments.
6475 for ac_config_target in $ac_config_targets
6476 do
6477   case $ac_config_target in
6478     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6479     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6480     "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
6481     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6482
6483   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6484 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6485    { (exit 1); exit 1; }; };;
6486   esac
6487 done
6488
6489
6490 # If the user did not use the arguments to specify the items to instantiate,
6491 # then the envvar interface is used.  Set only those that are not.
6492 # We use the long form for the default assignment because of an extremely
6493 # bizarre bug on SunOS 4.1.3.
6494 if $ac_need_defaults; then
6495   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6496   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6497 fi
6498
6499 # Have a temporary directory for convenience.  Make it in the build tree
6500 # simply because there is no reason against having it here, and in addition,
6501 # creating and moving files from /tmp can sometimes cause problems.
6502 # Hook for its removal unless debugging.
6503 # Note that there is a small window in which the directory will not be cleaned:
6504 # after its creation but before its name has been assigned to `$tmp'.
6505 $debug ||
6506 {
6507   tmp=
6508   trap 'exit_status=$?
6509   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6510 ' 0
6511   trap '{ (exit 1); exit 1; }' 1 2 13 15
6512 }
6513 # Create a (secure) tmp directory for tmp files.
6514
6515 {
6516   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6517   test -n "$tmp" && test -d "$tmp"
6518 }  ||
6519 {
6520   tmp=./conf$$-$RANDOM
6521   (umask 077 && mkdir "$tmp")
6522 } ||
6523 {
6524    $as_echo "$as_me: cannot create a temporary directory in ." >&2
6525    { (exit 1); exit 1; }
6526 }
6527
6528 # Set up the scripts for CONFIG_FILES section.
6529 # No need to generate them if there are no CONFIG_FILES.
6530 # This happens for instance with `./config.status config.h'.
6531 if test -n "$CONFIG_FILES"; then
6532
6533
6534 ac_cr='\r'
6535 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6536 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6537   ac_cs_awk_cr='\\r'
6538 else
6539   ac_cs_awk_cr=$ac_cr
6540 fi
6541
6542 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6543 _ACEOF
6544
6545
6546 {
6547   echo "cat >conf$$subs.awk <<_ACEOF" &&
6548   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6549   echo "_ACEOF"
6550 } >conf$$subs.sh ||
6551   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6552 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6553    { (exit 1); exit 1; }; }
6554 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6555 ac_delim='%!_!# '
6556 for ac_last_try in false false false false false :; do
6557   . ./conf$$subs.sh ||
6558     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6559 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6560    { (exit 1); exit 1; }; }
6561
6562   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6563   if test $ac_delim_n = $ac_delim_num; then
6564     break
6565   elif $ac_last_try; then
6566     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6567 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6568    { (exit 1); exit 1; }; }
6569   else
6570     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6571   fi
6572 done
6573 rm -f conf$$subs.sh
6574
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6576 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6577 _ACEOF
6578 sed -n '
6579 h
6580 s/^/S["/; s/!.*/"]=/
6581 p
6582 g
6583 s/^[^!]*!//
6584 :repl
6585 t repl
6586 s/'"$ac_delim"'$//
6587 t delim
6588 :nl
6589 h
6590 s/\(.\{148\}\).*/\1/
6591 t more1
6592 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6593 p
6594 n
6595 b repl
6596 :more1
6597 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6598 p
6599 g
6600 s/.\{148\}//
6601 t nl
6602 :delim
6603 h
6604 s/\(.\{148\}\).*/\1/
6605 t more2
6606 s/["\\]/\\&/g; s/^/"/; s/$/"/
6607 p
6608 b
6609 :more2
6610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6611 p
6612 g
6613 s/.\{148\}//
6614 t delim
6615 ' <conf$$subs.awk | sed '
6616 /^[^""]/{
6617   N
6618   s/\n//
6619 }
6620 ' >>$CONFIG_STATUS || ac_write_fail=1
6621 rm -f conf$$subs.awk
6622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6623 _ACAWK
6624 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6625   for (key in S) S_is_set[key] = 1
6626   FS = "\a"
6627
6628 }
6629 {
6630   line = $ 0
6631   nfields = split(line, field, "@")
6632   substed = 0
6633   len = length(field[1])
6634   for (i = 2; i < nfields; i++) {
6635     key = field[i]
6636     keylen = length(key)
6637     if (S_is_set[key]) {
6638       value = S[key]
6639       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6640       len += length(value) + length(field[++i])
6641       substed = 1
6642     } else
6643       len += 1 + keylen
6644   }
6645
6646   print line
6647 }
6648
6649 _ACAWK
6650 _ACEOF
6651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6652 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6653   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6654 else
6655   cat
6656 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6657   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6658 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6659    { (exit 1); exit 1; }; }
6660 _ACEOF
6661
6662 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6663 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6664 # trailing colons and then remove the whole line if VPATH becomes empty
6665 # (actually we leave an empty line to preserve line numbers).
6666 if test "x$srcdir" = x.; then
6667   ac_vpsub='/^[  ]*VPATH[        ]*=/{
6668 s/:*\$(srcdir):*/:/
6669 s/:*\${srcdir}:*/:/
6670 s/:*@srcdir@:*/:/
6671 s/^\([^=]*=[     ]*\):*/\1/
6672 s/:*$//
6673 s/^[^=]*=[       ]*$//
6674 }'
6675 fi
6676
6677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6678 fi # test -n "$CONFIG_FILES"
6679
6680
6681 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
6682 shift
6683 for ac_tag
6684 do
6685   case $ac_tag in
6686   :[FHLC]) ac_mode=$ac_tag; continue;;
6687   esac
6688   case $ac_mode$ac_tag in
6689   :[FHL]*:*);;
6690   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6691 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6692    { (exit 1); exit 1; }; };;
6693   :[FH]-) ac_tag=-:-;;
6694   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6695   esac
6696   ac_save_IFS=$IFS
6697   IFS=:
6698   set x $ac_tag
6699   IFS=$ac_save_IFS
6700   shift
6701   ac_file=$1
6702   shift
6703
6704   case $ac_mode in
6705   :L) ac_source=$1;;
6706   :[FH])
6707     ac_file_inputs=
6708     for ac_f
6709     do
6710       case $ac_f in
6711       -) ac_f="$tmp/stdin";;
6712       *) # Look for the file first in the build tree, then in the source tree
6713          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6714          # because $ac_f cannot contain `:'.
6715          test -f "$ac_f" ||
6716            case $ac_f in
6717            [\\/$]*) false;;
6718            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6719            esac ||
6720            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6721 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6722    { (exit 1); exit 1; }; };;
6723       esac
6724       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6725       ac_file_inputs="$ac_file_inputs '$ac_f'"
6726     done
6727
6728     # Let's still pretend it is `configure' which instantiates (i.e., don't
6729     # use $as_me), people would be surprised to read:
6730     #    /* config.h.  Generated by config.status.  */
6731     configure_input='Generated from '`
6732           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6733         `' by configure.'
6734     if test x"$ac_file" != x-; then
6735       configure_input="$ac_file.  $configure_input"
6736       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6737 $as_echo "$as_me: creating $ac_file" >&6;}
6738     fi
6739     # Neutralize special characters interpreted by sed in replacement strings.
6740     case $configure_input in #(
6741     *\&* | *\|* | *\\* )
6742        ac_sed_conf_input=`$as_echo "$configure_input" |
6743        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6744     *) ac_sed_conf_input=$configure_input;;
6745     esac
6746
6747     case $ac_tag in
6748     *:-:* | *:-) cat >"$tmp/stdin" \
6749       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6751    { (exit 1); exit 1; }; } ;;
6752     esac
6753     ;;
6754   esac
6755
6756   ac_dir=`$as_dirname -- "$ac_file" ||
6757 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6758          X"$ac_file" : 'X\(//\)[^/]' \| \
6759          X"$ac_file" : 'X\(//\)$' \| \
6760          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6761 $as_echo X"$ac_file" |
6762     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6763             s//\1/
6764             q
6765           }
6766           /^X\(\/\/\)[^/].*/{
6767             s//\1/
6768             q
6769           }
6770           /^X\(\/\/\)$/{
6771             s//\1/
6772             q
6773           }
6774           /^X\(\/\).*/{
6775             s//\1/
6776             q
6777           }
6778           s/.*/./; q'`
6779   { as_dir="$ac_dir"
6780   case $as_dir in #(
6781   -*) as_dir=./$as_dir;;
6782   esac
6783   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6784     as_dirs=
6785     while :; do
6786       case $as_dir in #(
6787       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6788       *) as_qdir=$as_dir;;
6789       esac
6790       as_dirs="'$as_qdir' $as_dirs"
6791       as_dir=`$as_dirname -- "$as_dir" ||
6792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6793          X"$as_dir" : 'X\(//\)[^/]' \| \
6794          X"$as_dir" : 'X\(//\)$' \| \
6795          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6796 $as_echo X"$as_dir" |
6797     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6798             s//\1/
6799             q
6800           }
6801           /^X\(\/\/\)[^/].*/{
6802             s//\1/
6803             q
6804           }
6805           /^X\(\/\/\)$/{
6806             s//\1/
6807             q
6808           }
6809           /^X\(\/\).*/{
6810             s//\1/
6811             q
6812           }
6813           s/.*/./; q'`
6814       test -d "$as_dir" && break
6815     done
6816     test -z "$as_dirs" || eval "mkdir $as_dirs"
6817   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6818 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
6819    { (exit 1); exit 1; }; }; }
6820   ac_builddir=.
6821
6822 case "$ac_dir" in
6823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6824 *)
6825   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6826   # A ".." for each directory in $ac_dir_suffix.
6827   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6828   case $ac_top_builddir_sub in
6829   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6830   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6831   esac ;;
6832 esac
6833 ac_abs_top_builddir=$ac_pwd
6834 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6835 # for backward compatibility:
6836 ac_top_builddir=$ac_top_build_prefix
6837
6838 case $srcdir in
6839   .)  # We are building in place.
6840     ac_srcdir=.
6841     ac_top_srcdir=$ac_top_builddir_sub
6842     ac_abs_top_srcdir=$ac_pwd ;;
6843   [\\/]* | ?:[\\/]* )  # Absolute name.
6844     ac_srcdir=$srcdir$ac_dir_suffix;
6845     ac_top_srcdir=$srcdir
6846     ac_abs_top_srcdir=$srcdir ;;
6847   *) # Relative name.
6848     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6849     ac_top_srcdir=$ac_top_build_prefix$srcdir
6850     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6851 esac
6852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6853
6854
6855   case $ac_mode in
6856   :F)
6857   #
6858   # CONFIG_FILE
6859   #
6860
6861   case $INSTALL in
6862   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6863   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6864   esac
6865   ac_MKDIR_P=$MKDIR_P
6866   case $MKDIR_P in
6867   [\\/$]* | ?:[\\/]* ) ;;
6868   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6869   esac
6870 _ACEOF
6871
6872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6873 # If the template does not know about datarootdir, expand it.
6874 # FIXME: This hack should be removed a few years after 2.60.
6875 ac_datarootdir_hack=; ac_datarootdir_seen=
6876
6877 ac_sed_dataroot='
6878 /datarootdir/ {
6879   p
6880   q
6881 }
6882 /@datadir@/p
6883 /@docdir@/p
6884 /@infodir@/p
6885 /@localedir@/p
6886 /@mandir@/p
6887 '
6888 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6889 *datarootdir*) ac_datarootdir_seen=yes;;
6890 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6891   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6892 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6893 _ACEOF
6894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6895   ac_datarootdir_hack='
6896   s&@datadir@&$datadir&g
6897   s&@docdir@&$docdir&g
6898   s&@infodir@&$infodir&g
6899   s&@localedir@&$localedir&g
6900   s&@mandir@&$mandir&g
6901     s&\\\${datarootdir}&$datarootdir&g' ;;
6902 esac
6903 _ACEOF
6904
6905 # Neutralize VPATH when `$srcdir' = `.'.
6906 # Shell code in configure.ac might set extrasub.
6907 # FIXME: do we really want to maintain this feature?
6908 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6909 ac_sed_extra="$ac_vpsub
6910 $extrasub
6911 _ACEOF
6912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6913 :t
6914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6915 s|@configure_input@|$ac_sed_conf_input|;t t
6916 s&@top_builddir@&$ac_top_builddir_sub&;t t
6917 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6918 s&@srcdir@&$ac_srcdir&;t t
6919 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6920 s&@top_srcdir@&$ac_top_srcdir&;t t
6921 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6922 s&@builddir@&$ac_builddir&;t t
6923 s&@abs_builddir@&$ac_abs_builddir&;t t
6924 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6925 s&@INSTALL@&$ac_INSTALL&;t t
6926 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6927 $ac_datarootdir_hack
6928 "
6929 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6930   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6931 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6932    { (exit 1); exit 1; }; }
6933
6934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6935   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6936   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6937   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6938 which seems to be undefined.  Please make sure it is defined." >&5
6939 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6940 which seems to be undefined.  Please make sure it is defined." >&2;}
6941
6942   rm -f "$tmp/stdin"
6943   case $ac_file in
6944   -) cat "$tmp/out" && rm -f "$tmp/out";;
6945   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6946   esac \
6947   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6948 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6949    { (exit 1); exit 1; }; }
6950  ;;
6951
6952
6953   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6954 $as_echo "$as_me: executing $ac_file commands" >&6;}
6955  ;;
6956   esac
6957
6958
6959   case $ac_file$ac_mode in
6960     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
6961 # are listed without --file.  Let's play safe and only enable the eval
6962 # if we detect the quoting.
6963 case $CONFIG_FILES in
6964 *\'*) eval set x "$CONFIG_FILES" ;;
6965 *)   set x $CONFIG_FILES ;;
6966 esac
6967 shift
6968 for mf
6969 do
6970   # Strip MF so we end up with the name of the file.
6971   mf=`echo "$mf" | sed -e 's/:.*$//'`
6972   # Check whether this is an Automake generated Makefile or not.
6973   # We used to match only the files named `Makefile.in', but
6974   # some people rename them; so instead we look at the file content.
6975   # Grep'ing the first line is not enough: some people post-process
6976   # each Makefile.in and add a new line on top of each file to say so.
6977   # Grep'ing the whole file is not good either: AIX grep has a line
6978   # limit of 2048, but all sed's we know have understand at least 4000.
6979   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6980     dirpart=`$as_dirname -- "$mf" ||
6981 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6982          X"$mf" : 'X\(//\)[^/]' \| \
6983          X"$mf" : 'X\(//\)$' \| \
6984          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6985 $as_echo X"$mf" |
6986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6987             s//\1/
6988             q
6989           }
6990           /^X\(\/\/\)[^/].*/{
6991             s//\1/
6992             q
6993           }
6994           /^X\(\/\/\)$/{
6995             s//\1/
6996             q
6997           }
6998           /^X\(\/\).*/{
6999             s//\1/
7000             q
7001           }
7002           s/.*/./; q'`
7003   else
7004     continue
7005   fi
7006   # Extract the definition of DEPDIR, am__include, and am__quote
7007   # from the Makefile without running `make'.
7008   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7009   test -z "$DEPDIR" && continue
7010   am__include=`sed -n 's/^am__include = //p' < "$mf"`
7011   test -z "am__include" && continue
7012   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7013   # When using ansi2knr, U may be empty or an underscore; expand it
7014   U=`sed -n 's/^U = //p' < "$mf"`
7015   # Find all dependency output files, they are included files with
7016   # $(DEPDIR) in their names.  We invoke sed twice because it is the
7017   # simplest approach to changing $(DEPDIR) to its actual value in the
7018   # expansion.
7019   for file in `sed -n "
7020     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7021        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7022     # Make sure the directory exists.
7023     test -f "$dirpart/$file" && continue
7024     fdir=`$as_dirname -- "$file" ||
7025 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7026          X"$file" : 'X\(//\)[^/]' \| \
7027          X"$file" : 'X\(//\)$' \| \
7028          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7029 $as_echo X"$file" |
7030     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7031             s//\1/
7032             q
7033           }
7034           /^X\(\/\/\)[^/].*/{
7035             s//\1/
7036             q
7037           }
7038           /^X\(\/\/\)$/{
7039             s//\1/
7040             q
7041           }
7042           /^X\(\/\).*/{
7043             s//\1/
7044             q
7045           }
7046           s/.*/./; q'`
7047     { as_dir=$dirpart/$fdir
7048   case $as_dir in #(
7049   -*) as_dir=./$as_dir;;
7050   esac
7051   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7052     as_dirs=
7053     while :; do
7054       case $as_dir in #(
7055       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7056       *) as_qdir=$as_dir;;
7057       esac
7058       as_dirs="'$as_qdir' $as_dirs"
7059       as_dir=`$as_dirname -- "$as_dir" ||
7060 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7061          X"$as_dir" : 'X\(//\)[^/]' \| \
7062          X"$as_dir" : 'X\(//\)$' \| \
7063          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7064 $as_echo X"$as_dir" |
7065     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7066             s//\1/
7067             q
7068           }
7069           /^X\(\/\/\)[^/].*/{
7070             s//\1/
7071             q
7072           }
7073           /^X\(\/\/\)$/{
7074             s//\1/
7075             q
7076           }
7077           /^X\(\/\).*/{
7078             s//\1/
7079             q
7080           }
7081           s/.*/./; q'`
7082       test -d "$as_dir" && break
7083     done
7084     test -z "$as_dirs" || eval "mkdir $as_dirs"
7085   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7086 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7087    { (exit 1); exit 1; }; }; }
7088     # echo "creating $dirpart/$file"
7089     echo '# dummy' > "$dirpart/$file"
7090   done
7091 done
7092  ;;
7093
7094   esac
7095 done # for ac_tag
7096
7097
7098 { (exit 0); exit 0; }
7099 _ACEOF
7100 chmod +x $CONFIG_STATUS
7101 ac_clean_files=$ac_clean_files_save
7102
7103 test $ac_write_fail = 0 ||
7104   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7105 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7106    { (exit 1); exit 1; }; }
7107
7108
7109 # configure is writing to config.log, and then calls config.status.
7110 # config.status does its own redirection, appending to config.log.
7111 # Unfortunately, on DOS this fails, as config.log is still kept open
7112 # by configure, so config.status won't be able to write to it; its
7113 # output is simply discarded.  So we exec the FD to /dev/null,
7114 # effectively closing config.log, so it can be properly (re)opened and
7115 # appended to by config.status.  When coming back to configure, we
7116 # need to make the FD available again.
7117 if test "$no_create" != yes; then
7118   ac_cs_success=:
7119   ac_config_status_args=
7120   test "$silent" = yes &&
7121     ac_config_status_args="$ac_config_status_args --quiet"
7122   exec 5>/dev/null
7123   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7124   exec 5>>config.log
7125   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7126   # would make configure fail if this is the last instruction.
7127   $ac_cs_success || { (exit 1); exit 1; }
7128 fi
7129 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7130   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7131 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7132 fi
7133
7134