2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for hts_engine_API 1.08.
5 # Report bugs to <hts-engine-users@lists.sourceforge.net>.
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.
12 # Copyright 2001-2013 Nagoya Institute of Technology
14 # Copyright 2001-2008 Tokyo Institute of Technology
15 ## --------------------- ##
16 ## M4sh Initialization. ##
17 ## --------------------- ##
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
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+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in
30 *posix*) set -o posix ;;
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
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
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'
61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66 expr "X$arg" : "X\\(.*\\)$as_nl";
67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72 as_echo_n='sh -c $as_echo_n_body as_echo'
75 as_echo='sh -c $as_echo_body as_echo'
78 # The user is always right.
79 if test "${PATH_SEPARATOR+set}" != set; then
81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # Support unset when possible.
88 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
102 # Find who we are. Look in the path if we contain no directory separator.
104 *[\\/]* ) as_myself=$0 ;;
105 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
109 test -z "$as_dir" && as_dir=.
110 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
140 # Required to use basename.
141 if expr a : '\(a\)' >/dev/null 2>&1 &&
142 test "X`expr 00001 : '.*\(...\)'`" = X001; then
148 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
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 ||
161 sed '/^.*\/\([^/][^/]*\)\/*$/{
179 if test "x$CONFIG_SHELL" = x; then
180 if (eval ":") 2>/dev/null; then
186 if test $as_have_required = yes && (eval ":
196 as_func_ret_success () {
199 as_func_ret_failure () {
204 if as_func_success; then
208 echo as_func_success failed.
211 if as_func_failure; then
213 echo as_func_failure succeeded.
216 if as_func_ret_success; then
220 echo as_func_ret_success failed.
223 if as_func_ret_failure; then
225 echo as_func_ret_failure succeeded.
228 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
232 echo positional parameters were not saved.
235 test \$exitcode = 0) || { (exit 1); exit 1; }
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
246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
247 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
250 test -z "$as_dir" && as_dir=.
253 for as_base in sh bash ksh sh5; do
254 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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
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+"$@"}'='"$@"'
273 case `(set -o) 2>/dev/null` in
274 *posix*) set -o posix ;;
283 CONFIG_SHELL=$as_shell
285 if { "$as_shell" 2> /dev/null <<\_ASEOF
286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
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+"$@"}'='"$@"'
294 case `(set -o) 2>/dev/null` in
295 *posix*) set -o posix ;;
311 as_func_ret_success () {
314 as_func_ret_failure () {
319 if as_func_success; then
323 echo as_func_success failed.
326 if as_func_failure; then
328 echo as_func_failure succeeded.
331 if as_func_ret_success; then
335 echo as_func_ret_success failed.
338 if as_func_ret_failure; then
340 echo as_func_ret_failure succeeded.
343 if ( set x; as_func_ret_success y && test x = "$1" ); then
347 echo positional parameters were not saved.
350 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
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
372 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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; }
391 (eval "as_func_return () {
400 as_func_ret_success () {
403 as_func_ret_failure () {
408 if as_func_success; then
412 echo as_func_success failed.
415 if as_func_failure; then
417 echo as_func_failure succeeded.
420 if as_func_ret_success; then
424 echo as_func_ret_success failed.
427 if as_func_ret_failure; then
429 echo as_func_ret_failure succeeded.
432 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
436 echo positional parameters were not saved.
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.
451 test "x$as_lineno_1" != "x$as_lineno_2" &&
452 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
475 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
487 # Exit status is that of the last command.
492 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
498 ECHO_C= ECHO_N= ECHO_T=
502 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 if expr a : '\(a\)' >/dev/null 2>&1 &&
509 test "X`expr 00001 : '.*\(...\)'`" = X001; then
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
545 test -d ./-p && rmdir ./-p
549 if test -x / >/dev/null 2>&1; then
552 if ls -dL / >/dev/null 2>&1; then
559 if test -d "$1"; then
565 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
566 ???[sx]*):;;*)false;;esac;fi
570 as_executable_p=$as_test_x
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'"
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'"
580 exec 7<&0 </dev/null 6>&1
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`
590 ac_default_prefix=/usr/local
592 ac_config_libobj_dir=.
598 SHELL=${CONFIG_SHELL-/bin/sh}
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'
607 # Factoring default headers for most tests.
608 ac_includes_default="\
610 #ifdef HAVE_SYS_TYPES_H
611 # include <sys/types.h>
613 #ifdef HAVE_SYS_STAT_H
614 # include <sys/stat.h>
620 # ifdef HAVE_STDLIB_H
625 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
630 #ifdef HAVE_STRINGS_H
631 # include <strings.h>
633 #ifdef HAVE_INTTYPES_H
634 # include <inttypes.h>
643 ac_subst_vars='LTLIBOBJS
682 INSTALL_STRIP_PROGRAM
724 program_transform_name
736 enable_option_checking
737 enable_dependency_tracking
741 ac_precious_vars='build_alias
752 # Initialize some variables set by options.
754 ac_init_version=false
755 ac_unrecognized_opts=
757 # The variables have the same names as the options, with
758 # dashes changed to underlines.
766 program_transform_name=s,x,x,
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'
796 libdir='${exec_prefix}/lib'
797 localedir='${datarootdir}/locale'
798 mandir='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
812 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 # Accept the important Cygnus configure options, so we can diagnose typos.
818 case $ac_dashdash$ac_option in
822 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
827 -build | --build | --buil | --bui | --bu)
828 ac_prev=build_alias ;;
829 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
830 build_alias=$ac_optarg ;;
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 ;;
840 cache_file=config.cache ;;
842 -datadir | --datadir | --datadi | --datad)
844 -datadir=* | --datadir=* | --datadi=* | --datad=*)
845 datadir=$ac_optarg ;;
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 ;;
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
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
869 eval enable_$ac_useropt=no ;;
871 -docdir | --docdir | --docdi | --doc | --do)
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
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
893 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
894 ac_unrecognized_sep=', ';;
896 eval enable_$ac_useropt=\$ac_optarg ;;
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 ;;
907 -gas | --gas | --ga | --g)
908 # Obsolete; use --with-gas.
911 -help | --help | --hel | --he | -h)
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 ;;
918 -host | --host | --hos | --ho)
919 ac_prev=host_alias ;;
920 -host=* | --host=* | --hos=* | --ho=*)
921 host_alias=$ac_optarg ;;
923 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927 htmldir=$ac_optarg ;;
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 ;;
936 -infodir | --infodir | --infodi | --infod | --info | --inf)
938 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
939 infodir=$ac_optarg ;;
941 -libdir | --libdir | --libdi | --libd)
943 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
953 -localedir | --localedir | --localedi | --localed | --locale)
955 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
956 localedir=$ac_optarg ;;
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 ;;
965 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
971 # Obsolete; use --without-fp.
974 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
975 | --no-cr | --no-c | -n)
978 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
979 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
1027 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1030 pdfdir=$ac_optarg ;;
1032 -psdir | --psdir | --psdi | --psd | --ps)
1034 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1037 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1038 | -silent | --silent | --silen | --sile | --sil)
1041 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045 sbindir=$ac_optarg ;;
1047 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1048 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1049 | --sharedst | --shareds | --shared | --share | --shar \
1051 ac_prev=sharedstatedir ;;
1052 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1053 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1054 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056 sharedstatedir=$ac_optarg ;;
1058 -site | --site | --sit)
1060 -site=* | --site=* | --sit=*)
1063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1066 srcdir=$ac_optarg ;;
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 ;;
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 ;;
1080 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1083 -version | --version | --versio | --versi | --vers | -V)
1084 ac_init_version=: ;;
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
1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099 ac_unrecognized_sep=', ';;
1101 eval with_$ac_useropt=\$ac_optarg ;;
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
1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1116 ac_unrecognized_sep=', ';;
1118 eval with_$ac_useropt=no ;;
1121 # Obsolete; use --with-x.
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 ;;
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 ;;
1138 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1139 Try \`$0 --help' for more information." >&2
1140 { (exit 1); exit 1; }; }
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 ;;
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}
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; }; }
1169 if test -n "$ac_unrecognized_opts"; then
1170 case $enable_option_checking in
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 ;;
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
1184 eval ac_val=\$$ac_var
1185 # Remove trailing slashes.
1188 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1189 eval $ac_var=\$ac_val;;
1191 # Be sure to have absolute directory names.
1193 [\\/$]* | ?:[\\/]* ) continue;;
1194 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1196 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1197 { (exit 1); exit 1; }; }
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.
1205 target=$target_alias
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
1219 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1221 test "$silent" = yes && exec 6>/dev/null
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; }; }
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1266 ac_srcdir_defaulted=no
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; }; }
1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1276 { (exit 1); exit 1; }; }
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
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.
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
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}
1296 # Report the --help message.
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.
1302 \`configure' configures hts_engine_API 1.08 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
1309 Defaults for the options are specified in brackets.
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 \`..']
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
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'.
1333 For better control, use the options below.
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]
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
1365 --build=BUILD configure for building on BUILD [guessed]
1366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
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:";;
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)
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>
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.
1398 Report bugs to <hts-engine-users@lists.sourceforge.net>.
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"; } ||
1412 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
1428 .) # We are building in place.
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 ;;
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 ;;
1441 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1443 cd "$ac_dir" || { ac_status=$?; continue; }
1444 # Check for guested configure.
1445 if test -f "$ac_srcdir/configure.gnu"; then
1447 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1448 elif test -f "$ac_srcdir/configure"; then
1450 $SHELL "$ac_srcdir/configure" --help=recursive
1452 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 cd "$ac_pwd" || { ac_status=$?; break; }
1458 test -n "$ac_init_help" && exit $ac_status
1459 if $ac_init_version; then
1461 hts_engine_API configure 1.08
1462 generated by GNU Autoconf 2.63
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.
1469 Copyright 2001-2013 Nagoya Institute of Technology
1471 Copyright 2001-2008 Tokyo Institute of Technology
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.
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
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`
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`
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`
1511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1515 test -z "$as_dir" && as_dir=.
1516 $as_echo "PATH: $as_dir"
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.
1540 ac_must_keep_next=false
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)
1551 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1554 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1569 -* ) ac_must_keep_next=true ;;
1572 ac_configure_args="$ac_configure_args '$ac_arg'"
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; }
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.
1591 ## ---------------- ##
1592 ## Cache variables. ##
1593 ## ---------------- ##
1596 # The following way of writing the cache mishandles newlines in values,
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
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;} ;;
1607 _ | IFS | as_nl) ;; #(
1608 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1609 *) $as_unset $ac_var ;;
1614 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1615 *${as_nl}ac_space=\ *)
1617 "s/'\''/'\''\\\\'\'''\''/g;
1618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1621 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1629 ## ----------------- ##
1630 ## Output variables. ##
1631 ## ----------------- ##
1634 for ac_var in $ac_subst_vars
1636 eval ac_val=\$$ac_var
1638 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1640 $as_echo "$ac_var='\''$ac_val'\''"
1644 if test -n "$ac_subst_files"; then
1646 ## ------------------- ##
1647 ## File substitutions. ##
1648 ## ------------------- ##
1651 for ac_var in $ac_subst_files
1653 eval ac_val=\$$ac_var
1655 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1657 $as_echo "$ac_var='\''$ac_val'\''"
1662 if test -s confdefs.h; then
1672 test "$ac_signal" != 0 &&
1673 $as_echo "$as_me: caught signal $ac_signal"
1674 $as_echo "$as_me: exit $exit_status"
1676 rm -f core *.core core.conftest.* &&
1677 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1680 for ac_signal in 1 2 13 15; do
1681 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1685 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1686 rm -f -r conftest* confdefs.h
1688 # Predefined preprocessor variables.
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_NAME "$PACKAGE_NAME"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1705 cat >>confdefs.h <<_ACEOF
1706 #define PACKAGE_STRING "$PACKAGE_STRING"
1710 cat >>confdefs.h <<_ACEOF
1711 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1715 # Let the site file select an alternate cache file if it wants to.
1716 # Prefer an explicitly selected file to automatically selected ones.
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
1725 ac_site_file1=$ac_default_prefix/share/config.site
1726 ac_site_file2=$ac_default_prefix/etc/config.site
1728 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
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
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;}
1746 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1747 *) . "./$cache_file";;
1751 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1752 $as_echo "$as_me: creating cache $cache_file" >&6;}
1756 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
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
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;}
1794 # Pass precious variables to config.status.
1795 if test "$ac_new_set" = set; then
1797 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1798 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1848 for ac_dir in config "$srcdir"/config; do
1849 if test -f "$ac_dir/install-sh"; then
1851 ac_install_sh="$ac_aux_dir/install-sh -c"
1853 elif test -f "$ac_dir/install.sh"; then
1855 ac_install_sh="$ac_aux_dir/install.sh -c"
1857 elif test -f "$ac_dir/shtool"; then
1859 ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
1880 am__api_version='1.10'
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
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
1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1906 test -z "$as_dir" && as_dir=.
1907 # Account for people who put trailing slashes in PATH elements.
1909 ./ | .// | /cC/* | \
1910 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1911 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
1929 rm -rf conftest.one conftest.two conftest.dir
1930 echo one > conftest.one
1931 echo two > conftest.two
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
1938 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1951 rm -rf conftest.one conftest.two conftest.dir
1954 if test "${ac_cv_path_install+set}" = set; then
1955 INSTALL=$ac_cv_path_install
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
1964 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1965 $as_echo "$INSTALL" >&6; }
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}'
1971 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1973 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1975 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1976 $as_echo_n "checking whether build environment is sane... " >&6; }
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
1986 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1987 if test "$*" = "X"; then
1989 set X `ls -t $srcdir/configure conftest.file`
1992 if test "$*" != "X $srcdir/configure conftest.file" \
1993 && test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
2006 test "$2" = conftest.file
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; }; }
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"`
2030 # expand $ac_aux_dir to an absolute path
2031 am_aux_dir=`cd $ac_aux_dir && pwd`
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 "
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;}
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
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
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
2071 if test "${ac_cv_path_mkdir+set}" = set; then
2072 MKDIR_P="$ac_cv_path_mkdir -p"
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"
2082 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2083 $as_echo "$MKDIR_P" >&6; }
2087 [\\/$]* | ?:[\\/]*) ;;
2088 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2091 for ac_prog in gawk mawk nawk awk
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
2100 if test -n "$AWK"; then
2101 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2121 if test -n "$AWK"; then
2122 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2123 $as_echo "$AWK" >&6; }
2125 { $as_echo "$as_me:$LINENO: result: no" >&5
2126 $as_echo "no" >&6; }
2130 test -n "$AWK" && break
2133 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2134 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
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
2140 cat >conftest.make <<\_ACEOF
2143 @echo '@@@%%%=$(MAKE)=@@@%%%'
2145 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2146 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2148 eval ac_cv_prog_make_${ac_make}_set=yes;;
2150 eval ac_cv_prog_make_${ac_make}_set=no;;
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; }
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2161 SET_MAKE="MAKE=${MAKE-make}"
2164 rm -rf .tst 2>/dev/null
2165 mkdir .tst 2>/dev/null
2166 if test -d .tst; then
2171 rmdir .tst 2>/dev/null
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; }; }
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'
2195 # Define the identity of the package.
2196 PACKAGE=hts_engine_API
2200 # Some tools Automake needs.
2202 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2205 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2208 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2211 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2214 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2216 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
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
2231 if test -n "$STRIP"; then
2232 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2256 { $as_echo "$as_me:$LINENO: result: no" >&5
2257 $as_echo "no" >&6; }
2262 if test -z "$ac_cv_prog_STRIP"; then
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
2271 if test -n "$ac_ct_STRIP"; then
2272 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2296 { $as_echo "$as_me:$LINENO: result: no" >&5
2297 $as_echo "no" >&6; }
2300 if test "x$ac_ct_STRIP" = x; then
2303 case $cross_compiling:$ac_tool_warned in
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 ;;
2312 STRIP="$ac_cv_prog_STRIP"
2316 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2318 # We need awk for the "check" target. The system "awk" is bad on
2320 # Always define AMTAR for backward compatibility.
2322 AMTAR=${AMTAR-"${am_missing_run}tar"}
2324 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2331 # Checks for C compiler
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
2345 if test -n "$CC"; then
2346 ac_cv_prog_CC="$CC" # Let the user override the test.
2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2366 if test -n "$CC"; then
2367 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2368 $as_echo "$CC" >&6; }
2370 { $as_echo "$as_me:$LINENO: result: no" >&5
2371 $as_echo "no" >&6; }
2376 if test -z "$ac_cv_prog_CC"; then
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
2385 if test -n "$ac_ct_CC"; then
2386 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2410 { $as_echo "$as_me:$LINENO: result: no" >&5
2411 $as_echo "no" >&6; }
2414 if test "x$ac_ct_CC" = x; then
2417 case $cross_compiling:$ac_tool_warned in
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 ;;
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
2438 if test -n "$CC"; then
2439 ac_cv_prog_CC="$CC" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2459 if test -n "$CC"; then
2460 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2461 $as_echo "$CC" >&6; }
2463 { $as_echo "$as_me:$LINENO: result: no" >&5
2464 $as_echo "no" >&6; }
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
2478 if test -n "$CC"; then
2479 ac_cv_prog_CC="$CC" # Let the user override the test.
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
2510 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2516 if test -n "$CC"; then
2517 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2518 $as_echo "$CC" >&6; }
2520 { $as_echo "$as_me:$LINENO: result: no" >&5
2521 $as_echo "no" >&6; }
2526 if test -z "$CC"; then
2527 if test -n "$ac_tool_prefix"; then
2528 for ac_prog in cl.exe
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
2537 if test -n "$CC"; then
2538 ac_cv_prog_CC="$CC" # Let the user override the test.
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
2558 if test -n "$CC"; then
2559 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2560 $as_echo "$CC" >&6; }
2562 { $as_echo "$as_me:$LINENO: result: no" >&5
2563 $as_echo "no" >&6; }
2567 test -n "$CC" && break
2570 if test -z "$CC"; then
2572 for ac_prog in cl.exe
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
2581 if test -n "$ac_ct_CC"; then
2582 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
2606 { $as_echo "$as_me:$LINENO: result: no" >&5
2607 $as_echo "no" >&6; }
2611 test -n "$ac_ct_CC" && break
2614 if test "x$ac_ct_CC" = x; then
2617 case $cross_compiling:$ac_tool_warned in
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 ;;
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; }; }; }
2638 # Provide some information about the compiler.
2639 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2642 { (ac_try="$ac_compiler --version >&5"
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
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
2651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }
2653 { (ac_try="$ac_compiler -v >&5"
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
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
2662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }
2664 { (ac_try="$ac_compiler -V >&5"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
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
2673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }
2676 cat >conftest.$ac_ext <<_ACEOF
2679 cat confdefs.h >>conftest.$ac_ext
2680 cat >>conftest.$ac_ext <<_ACEOF
2681 /* end confdefs.h. */
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
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[^ ]*//'`
2700 # The possible output files:
2701 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2704 for ac_file in $ac_files
2707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2708 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2713 if { (ac_try="$ac_link_default"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
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
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
2729 for ac_file in $ac_files ''
2731 test -f "$ac_file" || continue
2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2736 # We found the default executable, but exeext='' is most
2740 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2742 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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
2754 test "$ac_cv_exeext" = no && ac_cv_exeext=
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
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; }; }; }
2775 ac_exeext=$ac_cv_exeext
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;;
2789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791 (eval "$ac_try") 2>&5
2793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }; }; then
2797 if test "$cross_compiling" = maybe; then
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; }; }; }
2812 { $as_echo "$as_me:$LINENO: result: yes" >&5
2813 $as_echo "yes" >&6; }
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; }
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"
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2832 $as_echo "$ac_try_echo") >&5
2833 (eval "$ac_link") 2>&5
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
2841 for ac_file in conftest.exe conftest conftest.*; do
2842 test -f "$ac_file" || continue
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2845 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }; }
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; }
2864 rm -f conftest.$ac_ext
2865 EXEEXT=$ac_cv_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
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 rm -f conftest.o conftest.obj
2888 if { (ac_try="$ac_compile"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compile") 2>&5
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;
2902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2903 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2908 $as_echo "$as_me: failed program was:" >&5
2909 sed 's/^/| /' conftest.$ac_ext >&5
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; }; }; }
2920 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2922 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2923 $as_echo "$ac_cv_objext" >&6; }
2924 OBJEXT=$ac_cv_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
2931 cat >conftest.$ac_ext <<_ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
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
2959 grep -v '^ *+' conftest.er1 >conftest.err
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
2969 $as_echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
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
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
2993 ac_save_c_werror_flag=$ac_c_werror_flag
2994 ac_c_werror_flag=yes
2997 cat >conftest.$ac_ext <<_ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
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
3022 grep -v '^ *+' conftest.er1 >conftest.err
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
3032 $as_echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3036 cat >conftest.$ac_ext <<_ACEOF
3039 cat confdefs.h >>conftest.$ac_ext
3040 cat >>conftest.$ac_ext <<_ACEOF
3041 /* end confdefs.h. */
3051 rm -f conftest.$ac_objext
3052 if { (ac_try="$ac_compile"
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
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
3061 grep -v '^ *+' conftest.er1 >conftest.err
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
3071 $as_echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3074 ac_c_werror_flag=$ac_save_c_werror_flag
3076 cat >conftest.$ac_ext <<_ACEOF
3079 cat confdefs.h >>conftest.$ac_ext
3080 cat >>conftest.$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3091 rm -f conftest.$ac_objext
3092 if { (ac_try="$ac_compile"
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
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
3101 grep -v '^ *+' conftest.er1 >conftest.err
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
3111 $as_echo "$as_me: failed program was:" >&5
3112 sed 's/^/| /' conftest.$ac_ext >&5
3117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3124 ac_c_werror_flag=$ac_save_c_werror_flag
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
3137 if test "$GCC" = yes; then
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
3148 ac_cv_prog_cc_c89=no
3150 cat >conftest.$ac_ext <<_ACEOF
3153 cat confdefs.h >>conftest.$ac_ext
3154 cat >>conftest.$ac_ext <<_ACEOF
3155 /* end confdefs.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)
3169 static char *f (char * (*g) (char **, int), char **p, ...)
3174 s = g (p, va_arg (v,int));
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];
3188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3189 inside strings and character constants. */
3191 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
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);
3202 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3207 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3208 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3210 CC="$ac_save_CC $ac_arg"
3211 rm -f conftest.$ac_objext
3212 if { (ac_try="$ac_compile"
3214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3215 *) ac_try_echo=$ac_try;;
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
3221 grep -v '^ *+' conftest.er1 >conftest.err
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
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3237 rm -f core conftest.err conftest.$ac_objext
3238 test "x$ac_cv_prog_cc_c89" != "xno" && break
3240 rm -f conftest.$ac_ext
3245 case "x$ac_cv_prog_cc_c89" in
3247 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3248 $as_echo "none needed" >&6; } ;;
3250 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3251 $as_echo "unsupported" >&6; } ;;
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; } ;;
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"
3266 ac_config_commands="$ac_config_commands depfiles"
3269 am_make=${MAKE-make}
3270 cat > confinc << '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; }
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
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
3304 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3305 $as_echo "$_am_result" >&6; }
3306 rm -f confinc confmf
3308 # Check whether --enable-dependency-tracking was given.
3309 if test "${enable_dependency_tracking+set}" = set; then
3310 enableval=$enable_dependency_tracking;
3313 if test "x$enable_dependency_tracking" != xno; then
3314 am_depcomp="$ac_aux_dir/depcomp"
3317 if test "x$enable_dependency_tracking" != xno; then
3327 depcc="$CC" am_compiler_list=
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
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
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
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
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`
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.
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.
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
3372 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
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
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
3416 am_cv_CC_dependencies_compiler_type=none
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
3425 test "x$enable_dependency_tracking" != xno \
3426 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3428 am__fastdepCC_FALSE='#'
3430 am__fastdepCC_TRUE='#'
3431 am__fastdepCC_FALSE=
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; }
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; }
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
3447 cat >conftest.$ac_ext <<_ACEOF
3450 cat confdefs.h >>conftest.$ac_ext
3451 cat >>conftest.$ac_ext <<_ACEOF
3452 /* end confdefs.h. */
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'
3467 if { (case "(($ac_try" in
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3472 $as_echo "$ac_try_echo") >&5
3473 (eval "$ac_try") 2>&5
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;;
3481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3482 $as_echo "$ac_try_echo") >&5
3483 (eval "$ac_try") 2>&5
3485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); };
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;;
3496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3497 $as_echo "$ac_try_echo") >&5
3498 (eval "$ac_try") 2>&5
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'
3504 if { (case "(($ac_try" in
3505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506 *) ac_try_echo=$ac_try;;
3508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509 $as_echo "$ac_try_echo") >&5
3510 (eval "$ac_try") 2>&5
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;;
3518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3519 $as_echo "$ac_try_echo") >&5
3520 (eval "$ac_try") 2>&5
3522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); };
3528 # cc exists but doesn't like -o.
3529 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3534 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3536 rm -f core conftest*
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; }
3543 { $as_echo "$as_me:$LINENO: result: no" >&5
3544 $as_echo "no" >&6; }
3546 cat >>confdefs.h <<\_ACEOF
3547 #define NO_MINUS_C_MINUS_O 1
3552 # FIXME: we rely on the cache variable name because
3553 # there is no other way.
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"
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
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
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir=.
3592 # Account for people who put trailing slashes in PATH elements.
3594 ./ | .// | /cC/* | \
3595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3596 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
3614 rm -rf conftest.one conftest.two conftest.dir
3615 echo one > conftest.one
3616 echo two > conftest.two
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
3623 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3636 rm -rf conftest.one conftest.two conftest.dir
3639 if test "${ac_cv_path_install+set}" = set; then
3640 INSTALL=$ac_cv_path_install
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
3649 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3650 $as_echo "$INSTALL" >&6; }
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}'
3656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
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
3668 if test -n "$RANLIB"; then
3669 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3693 { $as_echo "$as_me:$LINENO: result: no" >&5
3694 $as_echo "no" >&6; }
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
3708 if test -n "$ac_ct_RANLIB"; then
3709 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3733 { $as_echo "$as_me:$LINENO: result: no" >&5
3734 $as_echo "no" >&6; }
3737 if test "x$ac_ct_RANLIB" = x; then
3740 case $cross_compiling:$ac_tool_warned in
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 ;;
3746 RANLIB=$ac_ct_RANLIB
3749 RANLIB="$ac_cv_prog_RANLIB"
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
3763 if test -n "$AR"; then
3764 ac_cv_prog_AR="$AR" # Let the user override the test.
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
3784 if test -n "$AR"; then
3785 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3786 $as_echo "$AR" >&6; }
3788 { $as_echo "$as_me:$LINENO: result: no" >&5
3789 $as_echo "no" >&6; }
3794 if test -z "$ac_cv_prog_AR"; then
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
3803 if test -n "$ac_ct_AR"; then
3804 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
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; }
3828 { $as_echo "$as_me:$LINENO: result: no" >&5
3829 $as_echo "no" >&6; }
3832 if test "x$ac_ct_AR" = x; then
3835 case $cross_compiling:$ac_tool_warned in
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 ;;
3849 # Checks for libraries.
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
3857 ac_check_lib_save_LIBS=$LIBS
3859 cat >conftest.$ac_ext <<_ACEOF
3862 cat confdefs.h >>conftest.$ac_ext
3863 cat >>conftest.$ac_ext <<_ACEOF
3864 /* end confdefs.h. */
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. */
3881 rm -f conftest.$ac_objext conftest$ac_exeext
3882 if { (ac_try="$ac_link"
3884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885 *) ac_try_echo=$ac_try;;
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
3891 grep -v '^ *+' conftest.er1 >conftest.err
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
3904 $as_echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.$ac_ext >&5
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
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
3928 # Checks for header files.
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
3940 if test -z "$CPP"; then
3941 if test "${ac_cv_prog_CPP+set}" = set; then
3942 $as_echo_n "(cached) " >&6
3944 # Double quotes because CPP needs to be expanded
3945 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3948 for ac_c_preproc_warn_flag in '' yes
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
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3963 # include <limits.h>
3965 # include <assert.h>
3969 if { (ac_try="$ac_cpp conftest.$ac_ext"
3971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
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
3978 grep -v '^ *+' conftest.er1 >conftest.err
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
3988 $as_echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.$ac_ext >&5
3991 # Broken: fails on valid input.
3995 rm -f conftest.err conftest.$ac_ext
3997 # OK, works on sane cases. Now check whether nonexistent headers
3998 # can be detected and how.
3999 cat >conftest.$ac_ext <<_ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4005 #include <ac_nonexistent.h>
4007 if { (ac_try="$ac_cpp conftest.$ac_ext"
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
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
4016 grep -v '^ *+' conftest.er1 >conftest.err
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
4024 # Broken: success on invalid input.
4027 $as_echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4030 # Passes both tests.
4035 rm -f conftest.err conftest.$ac_ext
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
4052 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4053 $as_echo "$CPP" >&6; }
4055 for ac_c_preproc_warn_flag in '' yes
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
4066 cat confdefs.h >>conftest.$ac_ext
4067 cat >>conftest.$ac_ext <<_ACEOF
4068 /* end confdefs.h. */
4070 # include <limits.h>
4072 # include <assert.h>
4076 if { (ac_try="$ac_cpp conftest.$ac_ext"
4078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079 *) ac_try_echo=$ac_try;;
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
4085 grep -v '^ *+' conftest.er1 >conftest.err
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
4095 $as_echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 # Broken: fails on valid input.
4102 rm -f conftest.err conftest.$ac_ext
4104 # OK, works on sane cases. Now check whether nonexistent headers
4105 # can be detected and how.
4106 cat >conftest.$ac_ext <<_ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 #include <ac_nonexistent.h>
4114 if { (ac_try="$ac_cpp conftest.$ac_ext"
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
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
4123 grep -v '^ *+' conftest.er1 >conftest.err
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
4131 # Broken: success on invalid input.
4134 $as_echo "$as_me: failed program was:" >&5
4135 sed 's/^/| /' conftest.$ac_ext >&5
4137 # Passes both tests.
4142 rm -f conftest.err conftest.$ac_ext
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
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; }; }; }
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
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
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
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
4187 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4190 $as_echo_n 0123456789 >"conftest.in"
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
4205 # 10*(2^10) chars as input seems more than enough
4206 test $ac_count -gt 10 && break
4208 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4211 $ac_path_GREP_found && break 3
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; }; }
4222 ac_cv_path_GREP=$GREP
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"
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
4236 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4237 then ac_cv_path_EGREP="$GREP -E"
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
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
4255 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4258 $as_echo_n 0123456789 >"conftest.in"
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
4273 # 10*(2^10) chars as input seems more than enough
4274 test $ac_count -gt 10 && break
4276 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4279 $ac_path_EGREP_found && break 3
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; }; }
4290 ac_cv_path_EGREP=$EGREP
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"
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
4305 cat >conftest.$ac_ext <<_ACEOF
4308 cat confdefs.h >>conftest.$ac_ext
4309 cat >>conftest.$ac_ext <<_ACEOF
4310 /* end confdefs.h. */
4324 rm -f conftest.$ac_objext
4325 if { (ac_try="$ac_compile"
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
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
4334 grep -v '^ *+' conftest.er1 >conftest.err
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
4344 $as_echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.$ac_ext >&5
4347 ac_cv_header_stdc=no
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4357 cat confdefs.h >>conftest.$ac_ext
4358 cat >>conftest.$ac_ext <<_ACEOF
4359 /* end confdefs.h. */
4363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4364 $EGREP "memchr" >/dev/null 2>&1; then
4367 ac_cv_header_stdc=no
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
4378 cat confdefs.h >>conftest.$ac_ext
4379 cat >>conftest.$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4385 $EGREP "free" >/dev/null 2>&1; then
4388 ac_cv_header_stdc=no
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
4399 cat >conftest.$ac_ext <<_ACEOF
4402 cat confdefs.h >>conftest.$ac_ext
4403 cat >>conftest.$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4407 #if ((' ' & 0x0FF) == 0x020)
4408 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4409 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
4418 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4423 for (i = 0; i < 256; i++)
4424 if (XOR (islower (i), ISLOWER (i))
4425 || toupper (i) != TOUPPER (i))
4430 rm -f conftest$ac_exeext
4431 if { (ac_try="$ac_link"
4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4436 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4437 $as_echo "$ac_try_echo") >&5
4438 (eval "$ac_link") 2>&5
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;;
4446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4447 $as_echo "$ac_try_echo") >&5
4448 (eval "$ac_try") 2>&5
4450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); }; }; then
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
4459 ac_cv_header_stdc=no
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
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
4472 cat >>confdefs.h <<\_ACEOF
4473 #define STDC_HEADERS 1
4478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
4497 cat >conftest.$ac_ext <<_ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4503 $ac_includes_default
4505 #include <$ac_header>
4507 rm -f conftest.$ac_objext
4508 if { (ac_try="$ac_compile"
4510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4511 *) ac_try_echo=$ac_try;;
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
4517 grep -v '^ *+' conftest.er1 >conftest.err
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"
4527 $as_echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4530 eval "$as_ac_Header=no"
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4553 for ac_header in stdlib.h string.h
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
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; }
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
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>
4579 rm -f conftest.$ac_objext
4580 if { (ac_try="$ac_compile"
4582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583 *) ac_try_echo=$ac_try;;
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
4589 grep -v '^ *+' conftest.er1 >conftest.err
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
4599 $as_echo "$as_me: failed program was:" >&5
4600 sed 's/^/| /' conftest.$ac_ext >&5
4602 ac_header_compiler=no
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; }
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
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4618 #include <$ac_header>
4620 if { (ac_try="$ac_cpp conftest.$ac_ext"
4622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4623 *) ac_try_echo=$ac_try;;
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
4629 grep -v '^ *+' conftest.er1 >conftest.err
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
4637 ac_header_preproc=yes
4639 $as_echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.$ac_ext >&5
4642 ac_header_preproc=no
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; }
4649 # So? What about this header?
4650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
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
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;}
4672 ## ----------------------------------------------------- ##
4673 ## Report this to hts-engine-users@lists.sourceforge.net ##
4674 ## ----------------------------------------------------- ##
4676 ) | sed "s/^/$as_me: WARNING: /" >&2
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
4684 eval "$as_ac_Header=\$ac_header_preproc"
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; }
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
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
4711 cat >conftest.$ac_ext <<_ACEOF
4714 cat confdefs.h >>conftest.$ac_ext
4715 cat >>conftest.$ac_ext <<_ACEOF
4716 /* end confdefs.h. */
4721 /* FIXME: Include the comments suggested by Paul. */
4723 /* Ultrix mips cc rejects this. */
4724 typedef int charset[2];
4726 /* SunOS 4.1.1 cc rejects this. */
4727 char const *const *pcpcc;
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
4736 const char *g = "string";
4737 pcpcc = &g + (g ? g-g : 0);
4738 /* HPUX 7.0 cc rejects these. */
4740 ppc = (char**) pcpcc;
4741 pcpcc = (char const *const *) ppc;
4742 { /* SCO 3.2v4 cc rejects this. */
4744 char const *s = 0 ? (char *) 0 : (char const *) 0;
4749 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4751 const int *foo = &x[0];
4754 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4755 typedef const int *iptr;
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;
4764 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4768 return !cs[0] && !zero.x;
4775 rm -f conftest.$ac_objext
4776 if { (ac_try="$ac_compile"
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
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
4785 grep -v '^ *+' conftest.er1 >conftest.err
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
4795 $as_echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4807 cat >>confdefs.h <<\_ACEOF
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
4818 ac_cv_type_size_t=no
4819 cat >conftest.$ac_ext <<_ACEOF
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 $ac_includes_default
4829 if (sizeof (size_t))
4835 rm -f conftest.$ac_objext
4836 if { (ac_try="$ac_compile"
4838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4839 *) ac_try_echo=$ac_try;;
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
4845 grep -v '^ *+' conftest.er1 >conftest.err
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
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 $ac_includes_default
4863 if (sizeof ((size_t)))
4869 rm -f conftest.$ac_objext
4870 if { (ac_try="$ac_compile"
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
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
4879 grep -v '^ *+' conftest.er1 >conftest.err
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
4889 $as_echo "$as_me: failed program was:" >&5
4890 sed 's/^/| /' conftest.$ac_ext >&5
4892 ac_cv_type_size_t=yes
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 $as_echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
4911 cat >>confdefs.h <<_ACEOF
4912 #define size_t unsigned int
4918 # Checks for library functions.
4920 for ac_func in vprintf
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
4928 cat >conftest.$ac_ext <<_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
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. */
4944 # include <limits.h>
4946 # include <assert.h>
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. */
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
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (ac_try="$ac_link"
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
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
4983 grep -v '^ *+' conftest.er1 >conftest.err
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
4994 eval "$as_ac_var=yes"
4996 $as_echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 eval "$as_ac_var=no"
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
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
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
5022 cat >conftest.$ac_ext <<_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
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. */
5038 # include <limits.h>
5040 # include <assert.h>
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. */
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
5067 rm -f conftest.$ac_objext conftest$ac_exeext
5068 if { (ac_try="$ac_link"
5070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5071 *) ac_try_echo=$ac_try;;
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
5077 grep -v '^ *+' conftest.er1 >conftest.err
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
5088 ac_cv_func__doprnt=yes
5090 $as_echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5093 ac_cv_func__doprnt=no
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
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
5104 cat >>confdefs.h <<\_ACEOF
5105 #define HAVE_DOPRNT 1
5118 for ac_func in sqrt strchr strrchr strstr
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
5126 cat >conftest.$ac_ext <<_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
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. */
5142 # include <limits.h>
5144 # include <assert.h>
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. */
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
5171 rm -f conftest.$ac_objext conftest$ac_exeext
5172 if { (ac_try="$ac_link"
5174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5175 *) ac_try_echo=$ac_try;;
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
5181 grep -v '^ *+' conftest.er1 >conftest.err
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
5192 eval "$as_ac_var=yes"
5194 $as_echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 eval "$as_ac_var=no"
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
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
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;
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
5238 { $as_echo "$as_me:$LINENO: result: no" >&5
5239 $as_echo "no" >&6; }
5243 # Checks for using festival
5244 # Check whether --enable-festival was given.
5245 if test "${enable_festival+set}" = set; then
5246 enableval=$enable_festival;
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
5261 { $as_echo "$as_me:$LINENO: result: no" >&5
5262 $as_echo "no" >&6; }
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; }; }
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
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; }; }
5290 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5291 $as_echo "$ac_cv_build" >&6; }
5292 case $ac_cv_build in
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; }; };;
5299 ac_save_IFS=$IFS; IFS='-'
5305 # Remember, the first character of IFS is used to create $*,
5306 # except with old shells:
5309 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
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
5317 if test "x$host_alias" = x; then
5318 ac_cv_host=$ac_cv_build
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; }; }
5327 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5328 $as_echo "$ac_cv_host" >&6; }
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; }; };;
5336 ac_save_IFS=$IFS; IFS='-'
5342 # Remember, the first character of IFS is used to create $*,
5343 # except with old shells:
5346 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
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
5355 ac_cv_c_bigendian=unknown
5356 # See if we're dealing with a universal compiler.
5357 cat >conftest.$ac_ext <<_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
5369 rm -f conftest.$ac_objext
5370 if { (ac_try="$ac_compile"
5372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5373 *) ac_try_echo=$ac_try;;
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
5379 grep -v '^ *+' conftest.er1 >conftest.err
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
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;;
5395 $as_echo "$as_me: failed program was:" >&5
5396 sed 's/^/| /' conftest.$ac_ext >&5
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
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>
5416 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5417 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5426 rm -f conftest.$ac_objext
5427 if { (ac_try="$ac_compile"
5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
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
5436 grep -v '^ *+' conftest.er1 >conftest.err
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
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>
5457 #if BYTE_ORDER != BIG_ENDIAN
5465 rm -f conftest.$ac_objext
5466 if { (ac_try="$ac_compile"
5468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 *) ac_try_echo=$ac_try;;
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
5475 grep -v '^ *+' conftest.er1 >conftest.err
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
5485 $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5488 ac_cv_c_bigendian=no
5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5493 $as_echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
5506 cat confdefs.h >>conftest.$ac_ext
5507 cat >>conftest.$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5514 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5522 rm -f conftest.$ac_objext
5523 if { (ac_try="$ac_compile"
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526 *) ac_try_echo=$ac_try;;
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
5532 grep -v '^ *+' conftest.er1 >conftest.err
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
5544 cat confdefs.h >>conftest.$ac_ext
5545 cat >>conftest.$ac_ext <<_ACEOF
5546 /* end confdefs.h. */
5560 rm -f conftest.$ac_objext
5561 if { (ac_try="$ac_compile"
5563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
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
5570 grep -v '^ *+' conftest.er1 >conftest.err
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
5580 $as_echo "$as_me: failed program was:" >&5
5581 sed 's/^/| /' conftest.$ac_ext >&5
5583 ac_cv_c_bigendian=no
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 $as_echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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];
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];
5625 return use_ascii (foo) == use_ebcdic (foo);
5630 rm -f conftest.$ac_objext
5631 if { (ac_try="$ac_compile"
5633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5634 *) ac_try_echo=$ac_try;;
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
5640 grep -v '^ *+' conftest.er1 >conftest.err
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
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
5655 # finding both strings is unlikely to happen, but who knows?
5656 ac_cv_c_bigendian=unknown
5660 $as_echo "$as_me: failed program was:" >&5
5661 sed 's/^/| /' conftest.$ac_ext >&5
5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5668 cat >conftest.$ac_ext <<_ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 $ac_includes_default
5679 /* Are we little or big endian? From Harbison&Steele. */
5683 char c[sizeof (long int)];
5686 return u.c[sizeof (long int) - 1] == 1;
5692 rm -f conftest$ac_exeext
5693 if { (ac_try="$ac_link"
5695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5696 *) ac_try_echo=$ac_try;;
5698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5699 $as_echo "$ac_try_echo") >&5
5700 (eval "$ac_link") 2>&5
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;;
5708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5709 $as_echo "$ac_try_echo") >&5
5710 (eval "$ac_try") 2>&5
5712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 ac_cv_c_bigendian=no
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
5721 ac_cv_c_bigendian=yes
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
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 #(
5734 cat >>confdefs.h <<\_ACEOF
5735 #define WORDS_BIGENDIAN 1
5742 cat >>confdefs.h <<\_ACEOF
5743 #define AC_APPLE_UNIVERSAL_BUILD 1
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; }; } ;;
5757 # Checks library for windows audio devices
5759 *win32* | *wince* | *cygwin* | *mingw* )
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
5766 ac_check_lib_save_LIBS=$LIBS
5767 LIBS="-lwinmm $LIBS"
5768 cat >conftest.$ac_ext <<_ACEOF
5771 cat confdefs.h >>conftest.$ac_ext
5772 cat >>conftest.$ac_ext <<_ACEOF
5773 /* end confdefs.h. */
5784 rm -f conftest.$ac_objext conftest$ac_exeext
5785 if { (ac_try="$ac_link"
5787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5788 *) ac_try_echo=$ac_try;;
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
5794 grep -v '^ *+' conftest.er1 >conftest.err
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
5805 ac_cv_lib_winmm_main=yes
5807 $as_echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.$ac_ext >&5
5810 ac_cv_lib_winmm_main=no
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
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
5825 LIBS="-lwinmm $LIBS"
5828 { { $as_echo "$as_me:$LINENO: error: No winmm" >&5
5829 $as_echo "$as_me: error: No winmm" >&2;}
5830 { (exit 1); exit 1; }; }
5832 ac_cv_lib_winmm=ac_cv_lib_winmm_main
5840 ac_config_files="$ac_config_files Makefile bin/Makefile lib/Makefile"
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.
5850 # config.status only pays attention to the cache file if you give it
5851 # the --recheck option to rerun configure.
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
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.
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
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;} ;;
5874 _ | IFS | as_nl) ;; #(
5875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5876 *) $as_unset $ac_var ;;
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 \).
5888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5891 # `set' quotes correctly as required by POSIX, so do not add quotes.
5892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5903 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
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;}
5918 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5919 # Let make expand exec_prefix.
5920 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5922 # Transform confdefs.h into DEFS.
5923 # Protect against shell expansion while executing Makefile rules.
5924 # Protect against Makefile macro expansion.
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.
5938 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5940 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5944 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5957 DEFS=`sed -n "$ac_script" confdefs.h`
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'
5973 LTLIBOBJS=$ac_ltlibobjs
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; }; }
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; }; }
5992 : ${CONFIG_STATUS=./config.status}
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
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.
6008 SHELL=\${CONFIG_SHELL-$SHELL}
6011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6012 ## --------------------- ##
6013 ## M4sh Initialization. ##
6014 ## --------------------- ##
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
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
6026 case `(set -o) 2>/dev/null` in
6027 *posix*) set -o posix ;;
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
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'
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'
6058 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6059 as_echo_n_body='eval
6063 expr "X$arg" : "X\\(.*\\)$as_nl";
6064 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6066 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6068 export as_echo_n_body
6069 as_echo_n='sh -c $as_echo_n_body as_echo'
6072 as_echo='sh -c $as_echo_body as_echo'
6075 # The user is always right.
6076 if test "${PATH_SEPARATOR+set}" != set; then
6078 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6079 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6084 # Support unset when possible.
6085 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
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.)
6099 # Find who we are. Look in the path if we contain no directory separator.
6101 *[\\/]* ) as_myself=$0 ;;
6102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 test -z "$as_dir" && as_dir=.
6107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }
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
6137 # Required to use basename.
6138 if expr a : '\(a\)' >/dev/null 2>&1 &&
6139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6146 as_basename=basename
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 ||
6158 sed '/^.*\/\([^/][^/]*\)\/*$/{
6179 test "x$as_lineno_1" != "x$as_lineno_2" &&
6180 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
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
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. :-)
6203 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }; }
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).
6215 # Exit status is that of the last command.
6220 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6226 ECHO_C= ECHO_N= ECHO_T=
6229 case `echo 'x\c'` in
6230 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6236 if expr a : '\(a\)' >/dev/null 2>&1 &&
6237 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6243 rm -f conf$$ conf$$.exe conf$$.file
6244 if test -d conf$$.dir; then
6245 rm -f conf$$.dir/conf$$.file
6248 mkdir conf$$.dir 2>/dev/null
6250 if (echo >conf$$.file) 2>/dev/null; then
6251 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
6259 elif ln conf$$.file conf$$ 2>/dev/null; then
6267 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6268 rmdir conf$$.dir 2>/dev/null
6270 if mkdir -p . 2>/dev/null; then
6273 test -d ./-p && rmdir ./-p
6277 if test -x / >/dev/null 2>&1; then
6280 if ls -dL / >/dev/null 2>&1; then
6287 if test -d "$1"; then
6293 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6294 ???[sx]*):;;*)false;;esac;fi
6298 as_executable_p=$as_test_x
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'"
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'"
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.
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
6316 CONFIG_FILES = $CONFIG_FILES
6317 CONFIG_HEADERS = $CONFIG_HEADERS
6318 CONFIG_LINKS = $CONFIG_LINKS
6319 CONFIG_COMMANDS = $CONFIG_COMMANDS
6322 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6327 case $ac_config_files in *"
6328 "*) set x $ac_config_files; shift; ac_config_files=$*;;
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"
6340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6342 \`$as_me' instantiates files from templates according to the
6343 current configuration.
6345 Usage: $0 [OPTION]... [FILE]...
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
6356 Configuration files:
6359 Configuration commands:
6362 Report bugs to <bug-autoconf@gnu.org>."
6365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
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'`\\"
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."
6380 test -n "\$AWK" || AWK=awk
6383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6384 # The default lists apply if the user does not specify any file.
6390 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6391 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6402 # Handling of the options.
6403 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6405 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6406 $as_echo "$ac_cs_version"; exit ;;
6407 --debug | --debu | --deb | --de | --d | -d )
6409 --file | --fil | --fi | --f )
6412 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
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)
6423 -*) { $as_echo "$as_me: error: unrecognized option: $1
6424 Try \`$0 --help' for more information." >&2
6425 { (exit 1); exit 1; }; } ;;
6427 *) ac_config_targets="$ac_config_targets $1"
6428 ac_need_defaults=false ;;
6434 ac_configure_extra_args=
6436 if $ac_cs_silent; then
6438 ac_configure_extra_args="$ac_configure_extra_args --silent"
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
6446 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6447 CONFIG_SHELL='$SHELL'
6453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6458 ## Running $as_me. ##
6464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6468 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6474 # Handling of arguments.
6475 for ac_config_target in $ac_config_targets
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" ;;
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; }; };;
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
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'.
6508 trap 'exit_status=$?
6509 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6511 trap '{ (exit 1); exit 1; }' 1 2 13 15
6513 # Create a (secure) tmp directory for tmp files.
6516 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6517 test -n "$tmp" && test -d "$tmp"
6520 tmp=./conf$$-$RANDOM
6521 (umask 077 && mkdir "$tmp")
6524 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6525 { (exit 1); exit 1; }
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
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
6542 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6547 echo "cat >conf$$subs.awk <<_ACEOF" &&
6548 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
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 '$'`
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; }; }
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
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; }; }
6570 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6576 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6580 s/^/S["/; s/!.*/"]=/
6590 s/\(.\{148\}\).*/\1/
6592 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6597 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6604 s/\(.\{148\}\).*/\1/
6606 s/["\\]/\\&/g; s/^/"/; s/$/"/
6610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6615 ' <conf$$subs.awk | sed '
6620 ' >>$CONFIG_STATUS || ac_write_fail=1
6621 rm -f conf$$subs.awk
6622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6624 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6625 for (key in S) S_is_set[key] = 1
6631 nfields = split(line, field, "@")
6633 len = length(field[1])
6634 for (i = 2; i < nfields; i++) {
6636 keylen = length(key)
6637 if (S_is_set[key]) {
6639 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6640 len += length(value) + length(field[++i])
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"
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; }; }
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[ ]*=/{
6671 s/^\([^=]*=[ ]*\):*/\1/
6677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6678 fi # test -n "$CONFIG_FILES"
6681 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
6686 :[FHLC]) ac_mode=$ac_tag; continue;;
6688 case $ac_mode$ac_tag in
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;;
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 `:'.
6718 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
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; }; };;
6724 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6725 ac_file_inputs="$ac_file_inputs '$ac_f'"
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'
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;}
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;;
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; }; } ;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6781 -*) as_dir=./$as_dir;;
6783 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6787 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6788 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6814 test -d "$as_dir" && break
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; }; }; }
6823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
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/ ;;
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
6839 .) # We are building in place.
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 ;;
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 ;;
6852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6862 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6863 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6867 [\\/$]* | ?:[\\/]* ) ;;
6868 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
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=
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;}
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' ;;
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
6912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
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
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; }; }
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;}
6944 -) cat "$tmp/out" && rm -f "$tmp/out";;
6945 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
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; }; }
6953 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
6954 $as_echo "$as_me: executing $ac_file commands" >&6;}
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 ;;
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 ||
6986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
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
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 ||
7030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7047 { as_dir=$dirpart/$fdir
7049 -*) as_dir=./$as_dir;;
7051 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7055 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7056 *) as_qdir=$as_dir;;
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7082 test -d "$as_dir" && break
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"
7098 { (exit 0); exit 0; }
7100 chmod +x $CONFIG_STATUS
7101 ac_clean_files=$ac_clean_files_save
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; }; }
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
7119 ac_config_status_args=
7120 test "$silent" = yes &&
7121 ac_config_status_args="$ac_config_status_args --quiet"
7123 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
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; }
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;}