2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for flite+hts_engine 1.05.
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 2005-2013 Nagoya Institute of Technology
14 # Copyright 2005-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='flite+hts_engine'
602 PACKAGE_TARNAME='flite-hts_engine'
603 PACKAGE_VERSION='1.05'
604 PACKAGE_STRING='flite+hts_engine 1.05'
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
645 HTS_ENGINE_LIBRARY_DIR
647 HTS_ENGINE_HEADER_DIR
686 INSTALL_STRIP_PROGRAM
728 program_transform_name
740 enable_option_checking
741 enable_dependency_tracking
743 with_hts_engine_header_path
744 with_hts_engine_library_path
746 ac_precious_vars='build_alias
756 HTS_ENGINE_HEADER_DIR
758 HTS_ENGINE_LIBRARY_DIR'
761 # Initialize some variables set by options.
763 ac_init_version=false
764 ac_unrecognized_opts=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
775 program_transform_name=s,x,x,
783 # Installation directory options.
784 # These are left unexpanded so users can "make install exec_prefix=/foo"
785 # and all the variables that are supposed to be based on exec_prefix
786 # by default will actually change.
787 # Use braces instead of parens because sh, perl, etc. also accept them.
788 # (The list follows the same order as the GNU Coding Standards.)
789 bindir='${exec_prefix}/bin'
790 sbindir='${exec_prefix}/sbin'
791 libexecdir='${exec_prefix}/libexec'
792 datarootdir='${prefix}/share'
793 datadir='${datarootdir}'
794 sysconfdir='${prefix}/etc'
795 sharedstatedir='${prefix}/com'
796 localstatedir='${prefix}/var'
797 includedir='${prefix}/include'
798 oldincludedir='/usr/include'
799 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
800 infodir='${datarootdir}/info'
805 libdir='${exec_prefix}/lib'
806 localedir='${datarootdir}/locale'
807 mandir='${datarootdir}/man'
813 # If the previous option needs an argument, assign it.
814 if test -n "$ac_prev"; then
815 eval $ac_prev=\$ac_option
821 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir | --bindir | --bindi | --bind | --bin | --bi)
833 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836 -build | --build | --buil | --bui | --bu)
837 ac_prev=build_alias ;;
838 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839 build_alias=$ac_optarg ;;
841 -cache-file | --cache-file | --cache-fil | --cache-fi \
842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843 ac_prev=cache_file ;;
844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846 cache_file=$ac_optarg ;;
849 cache_file=config.cache ;;
851 -datadir | --datadir | --datadi | --datad)
853 -datadir=* | --datadir=* | --datadi=* | --datad=*)
854 datadir=$ac_optarg ;;
856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857 | --dataroo | --dataro | --datar)
858 ac_prev=datarootdir ;;
859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861 datarootdir=$ac_optarg ;;
863 -disable-* | --disable-*)
864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
868 { (exit 1); exit 1; }; }
869 ac_useropt_orig=$ac_useropt
870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep=', ';;
878 eval enable_$ac_useropt=no ;;
880 -docdir | --docdir | --docdi | --doc | --do)
882 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890 -enable-* | --enable-*)
891 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
895 { (exit 1); exit 1; }; }
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
905 eval enable_$ac_useropt=\$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev=exec_prefix ;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923 ac_init_help=recursive ;;
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925 ac_init_help=short ;;
927 -host | --host | --hos | --ho)
928 ac_prev=host_alias ;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev=includedir ;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev=libexecdir ;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev=localstatedir ;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev=oldincludedir ;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev=program_prefix ;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev=program_suffix ;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev=program_transform_name ;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval with_$ac_useropt=no ;;
1130 # Obsolete; use --with-x.
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1147 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1156 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1182 { (exit 1); exit 1; }; } ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val=\$$ac_var
1194 # Remove trailing slashes.
1197 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$]* | ?:[\\/]* ) continue;;
1203 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1206 { (exit 1); exit 1; }; }
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x; then
1218 if test "x$build_alias" = x; then
1219 cross_compiling=maybe
1220 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used." >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1237 { (exit 1); exit 1; }; }
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1240 { (exit 1); exit 1; }; }
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1280 { (exit 1); exit 1; }; }
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1284 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1285 { (exit 1); exit 1; }; }
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var in $ac_precious_vars; do
1298 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_${ac_var}_value=\$${ac_var}
1300 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures flite+hts_engine 1.05 to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root
1360 [DATAROOTDIR/doc/flite-hts_engine]
1361 --htmldir=DIR html documentation [DOCDIR]
1362 --dvidir=DIR dvi documentation [DOCDIR]
1363 --pdfdir=DIR pdf documentation [DOCDIR]
1364 --psdir=DIR ps documentation [DOCDIR]
1370 --program-prefix=PREFIX prepend PREFIX to installed program names
1371 --program-suffix=SUFFIX append SUFFIX to installed program names
1372 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1375 --build=BUILD configure for building on BUILD [guessed]
1376 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive ) echo "Configuration of flite+hts_engine 1.05:";;
1387 --disable-option-checking ignore unrecognized --enable/--with options
1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1392 --enable-embedded turn on compiling for embedded devices (default=no)
1395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1397 --with-hts-engine-header-path
1398 specify the hts_engine_API header path
1399 --with-hts-engine-library-path
1400 specify the hts_engine_API library path
1402 Some influential environment variables:
1403 CC C compiler command
1404 CFLAGS C compiler flags
1405 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1406 nonstandard directory <lib dir>
1407 LIBS libraries to pass to the linker, e.g. -l<library>
1408 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1409 you have headers in a nonstandard directory <include dir>
1413 HTS_ENGINE_HEADER_DIR
1417 HTS_ENGINE_LIBRARY_DIR
1420 Use these variables to override the choices made by `configure' or to help
1421 it to find libraries and programs with nonstandard names/locations.
1423 Report bugs to <hts-engine-users@lists.sourceforge.net>.
1428 if test "$ac_init_help" = "recursive"; then
1429 # If there are subdirs, report their specific --help.
1430 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1431 test -d "$ac_dir" ||
1432 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1440 # A ".." for each directory in $ac_dir_suffix.
1441 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1442 case $ac_top_builddir_sub in
1443 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 ac_abs_top_builddir=$ac_pwd
1448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1449 # for backward compatibility:
1450 ac_top_builddir=$ac_top_build_prefix
1453 .) # We are building in place.
1455 ac_top_srcdir=$ac_top_builddir_sub
1456 ac_abs_top_srcdir=$ac_pwd ;;
1457 [\\/]* | ?:[\\/]* ) # Absolute name.
1458 ac_srcdir=$srcdir$ac_dir_suffix;
1459 ac_top_srcdir=$srcdir
1460 ac_abs_top_srcdir=$srcdir ;;
1462 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1463 ac_top_srcdir=$ac_top_build_prefix$srcdir
1464 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468 cd "$ac_dir" || { ac_status=$?; continue; }
1469 # Check for guested configure.
1470 if test -f "$ac_srcdir/configure.gnu"; then
1472 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1473 elif test -f "$ac_srcdir/configure"; then
1475 $SHELL "$ac_srcdir/configure" --help=recursive
1477 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479 cd "$ac_pwd" || { ac_status=$?; break; }
1483 test -n "$ac_init_help" && exit $ac_status
1484 if $ac_init_version; then
1486 flite+hts_engine configure 1.05
1487 generated by GNU Autoconf 2.63
1489 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1490 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1494 Copyright 2005-2013 Nagoya Institute of Technology
1496 Copyright 2005-2008 Tokyo Institute of Technology
1500 cat >config.log <<_ACEOF
1501 This file contains any messages produced by compilers while
1502 running configure, to aid debugging if configure makes a mistake.
1504 It was created by flite+hts_engine $as_me 1.05, which was
1505 generated by GNU Autoconf 2.63. Invocation command line was
1517 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1518 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1519 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1520 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1521 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1523 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1524 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1526 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1527 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1528 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1529 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1530 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1531 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1532 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir=.
1541 $as_echo "PATH: $as_dir"
1557 # Keep a trace of the command line.
1558 # Strip out --no-create and --no-recursion so they do not pile up.
1559 # Strip out --silent because we don't want to record it for future runs.
1560 # Also quote any args containing shell meta-characters.
1561 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_must_keep_next=false
1571 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1572 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1573 | -silent | --silent | --silen | --sile | --sil)
1576 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1581 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1582 if test $ac_must_keep_next = true; then
1583 ac_must_keep_next=false # Got value, back to normal.
1586 *=* | --config-cache | -C | -disable-* | --disable-* \
1587 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1588 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1589 | -with-* | --with-* | -without-* | --without-* | --x)
1590 case "$ac_configure_args0 " in
1591 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 -* ) ac_must_keep_next=true ;;
1597 ac_configure_args="$ac_configure_args '$ac_arg'"
1602 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1603 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1605 # When interrupted or exit'd, cleanup temporary files, and complete
1606 # config.log. We remove comments because anyway the quotes in there
1607 # would cause problems or look ugly.
1608 # WARNING: Use '\'' to represent an apostrophe within the trap.
1609 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1610 trap 'exit_status=$?
1611 # Save into config.log some information that might help in debugging.
1616 ## ---------------- ##
1617 ## Cache variables. ##
1618 ## ---------------- ##
1621 # The following way of writing the cache mishandles newlines in values,
1623 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1624 eval ac_val=\$$ac_var
1628 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1629 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1632 _ | IFS | as_nl) ;; #(
1633 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1634 *) $as_unset $ac_var ;;
1639 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1640 *${as_nl}ac_space=\ *)
1642 "s/'\''/'\''\\\\'\'''\''/g;
1643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1654 ## ----------------- ##
1655 ## Output variables. ##
1656 ## ----------------- ##
1659 for ac_var in $ac_subst_vars
1661 eval ac_val=\$$ac_var
1663 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665 $as_echo "$ac_var='\''$ac_val'\''"
1669 if test -n "$ac_subst_files"; then
1671 ## ------------------- ##
1672 ## File substitutions. ##
1673 ## ------------------- ##
1676 for ac_var in $ac_subst_files
1678 eval ac_val=\$$ac_var
1680 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 $as_echo "$ac_var='\''$ac_val'\''"
1687 if test -s confdefs.h; then
1697 test "$ac_signal" != 0 &&
1698 $as_echo "$as_me: caught signal $ac_signal"
1699 $as_echo "$as_me: exit $exit_status"
1701 rm -f core *.core core.conftest.* &&
1702 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1705 for ac_signal in 1 2 13 15; do
1706 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1711 rm -f -r conftest* confdefs.h
1713 # Predefined preprocessor variables.
1715 cat >>confdefs.h <<_ACEOF
1716 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 cat >>confdefs.h <<_ACEOF
1731 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 cat >>confdefs.h <<_ACEOF
1736 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 # Let the site file select an alternate cache file if it wants to.
1741 # Prefer an explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 ac_site_file1=$CONFIG_SITE
1746 elif test "x$prefix" != xNONE; then
1747 ac_site_file1=$prefix/share/config.site
1748 ac_site_file2=$prefix/etc/config.site
1750 ac_site_file1=$ac_default_prefix/share/config.site
1751 ac_site_file2=$ac_default_prefix/etc/config.site
1753 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1755 test "x$ac_site_file" = xNONE && continue
1756 if test -r "$ac_site_file"; then
1757 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 $as_echo "$as_me: loading cache $cache_file" >&6;}
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1776 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 $as_echo "$as_me: creating cache $cache_file" >&6;}
1781 # Check that the precious variables saved in the cache have kept the same
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1795 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 # differences in whitespace do not lead to failure.
1802 ac_old_val_w=`echo x $ac_old_val`
1803 ac_new_val_w=`echo x $ac_new_val`
1804 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1805 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1806 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1807 ac_cache_corrupted=:
1809 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1810 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1811 eval $ac_var=\$ac_old_val
1813 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1814 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1815 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1816 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1819 # Pass precious variables to config.status.
1820 if test "$ac_new_set" = set; then
1822 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1823 *) ac_arg=$ac_var=$ac_new_val ;;
1825 case " $ac_configure_args " in
1826 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1827 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1831 if $ac_cache_corrupted; then
1832 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1834 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1835 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1836 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1837 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1838 { (exit 1); exit 1; }; }
1866 ac_cpp='$CPP $CPPFLAGS'
1867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1873 for ac_dir in config "$srcdir"/config; do
1874 if test -f "$ac_dir/install-sh"; then
1876 ac_install_sh="$ac_aux_dir/install-sh -c"
1878 elif test -f "$ac_dir/install.sh"; then
1880 ac_install_sh="$ac_aux_dir/install.sh -c"
1882 elif test -f "$ac_dir/shtool"; then
1884 ac_install_sh="$ac_aux_dir/shtool install -c"
1888 if test -z "$ac_aux_dir"; then
1889 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
1890 $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
1891 { (exit 1); exit 1; }; }
1894 # These three variables are undocumented and unsupported,
1895 # and are intended to be withdrawn in a future Autoconf release.
1896 # They can cause serious problems if a builder's source tree is in a directory
1897 # whose full name contains unusual characters.
1898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905 am__api_version='1.10'
1907 # Find a good install program. We prefer a C program (faster),
1908 # so one script is as good as another. But avoid the broken or
1909 # incompatible versions:
1910 # SysV /etc/install, /usr/sbin/install
1911 # SunOS /usr/etc/install
1912 # IRIX /sbin/install
1914 # AmigaOS /C/install, which installs bootblocks on floppy discs
1915 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1916 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1917 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1918 # OS/2's system install, which has a completely different semantic
1919 # ./install, which can be erroneously created by make from ./install.sh.
1920 # Reject install programs that cannot install multiple files.
1921 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1922 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1923 if test -z "$INSTALL"; then
1924 if test "${ac_cv_path_install+set}" = set; then
1925 $as_echo_n "(cached) " >&6
1927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1931 test -z "$as_dir" && as_dir=.
1932 # Account for people who put trailing slashes in PATH elements.
1934 ./ | .// | /cC/* | \
1935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1939 # OSF1 and SCO ODT 3.0 have their own names for install.
1940 # Don't use installbsd from OSF since it installs stuff as root
1942 for ac_prog in ginstall scoinst install; do
1943 for ac_exec_ext in '' $ac_executable_extensions; do
1944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1945 if test $ac_prog = install &&
1946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1947 # AIX install. It has an incompatible calling convention.
1949 elif test $ac_prog = install &&
1950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1951 # program-specific install script used by HP pwplus--don't use.
1954 rm -rf conftest.one conftest.two conftest.dir
1955 echo one > conftest.one
1956 echo two > conftest.two
1958 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1959 test -s conftest.one && test -s conftest.two &&
1960 test -s conftest.dir/conftest.one &&
1961 test -s conftest.dir/conftest.two
1963 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1976 rm -rf conftest.one conftest.two conftest.dir
1979 if test "${ac_cv_path_install+set}" = set; then
1980 INSTALL=$ac_cv_path_install
1982 # As a last resort, use the slow shell script. Don't cache a
1983 # value for INSTALL within a source directory, because that will
1984 # break other packages using the cache if that directory is
1985 # removed, or if the value is a relative name.
1986 INSTALL=$ac_install_sh
1989 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1990 $as_echo "$INSTALL" >&6; }
1992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1993 # It thinks the first close brace ends the variable substitution.
1994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2000 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2001 $as_echo_n "checking whether build environment is sane... " >&6; }
2004 echo timestamp > conftest.file
2005 # Do `set' in a subshell so we don't clobber the current shell's
2006 # arguments. Must try -L first in case configure is actually a
2007 # symlink; some systems play weird games with the mod time of symlinks
2008 # (eg FreeBSD returns the mod time of the symlink's containing
2011 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2012 if test "$*" = "X"; then
2014 set X `ls -t $srcdir/configure conftest.file`
2017 if test "$*" != "X $srcdir/configure conftest.file" \
2018 && test "$*" != "X conftest.file $srcdir/configure"; then
2020 # If neither matched, then we have a broken ls. This can happen
2021 # if, for instance, CONFIG_SHELL is bash and it inherits a
2022 # broken ls alias from the environment. This has actually
2023 # happened. Such a system could not be considered "sane".
2024 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2025 alias in your environment" >&5
2026 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2027 alias in your environment" >&2;}
2028 { (exit 1); exit 1; }; }
2031 test "$2" = conftest.file
2037 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2038 Check your system clock" >&5
2039 $as_echo "$as_me: error: newly created file is older than distributed files!
2040 Check your system clock" >&2;}
2041 { (exit 1); exit 1; }; }
2043 { $as_echo "$as_me:$LINENO: result: yes" >&5
2044 $as_echo "yes" >&6; }
2045 test "$program_prefix" != NONE &&
2046 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2047 # Use a double $ so make ignores it.
2048 test "$program_suffix" != NONE &&
2049 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2050 # Double any \ or $.
2051 # By default was `s,x,x', remove it if useless.
2052 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2053 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2055 # expand $ac_aux_dir to an absolute path
2056 am_aux_dir=`cd $ac_aux_dir && pwd`
2058 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2059 # Use eval to expand $SHELL
2060 if eval "$MISSING --run true"; then
2061 am_missing_run="$MISSING --run "
2064 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2065 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2068 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2069 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2070 if test -z "$MKDIR_P"; then
2071 if test "${ac_cv_path_mkdir+set}" = set; then
2072 $as_echo_n "(cached) " >&6
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2078 test -z "$as_dir" && as_dir=.
2079 for ac_prog in mkdir gmkdir; do
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2082 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2083 'mkdir (GNU coreutils) '* | \
2084 'mkdir (coreutils) '* | \
2085 'mkdir (fileutils) '4.1*)
2086 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2096 if test "${ac_cv_path_mkdir+set}" = set; then
2097 MKDIR_P="$ac_cv_path_mkdir -p"
2099 # As a last resort, use the slow shell script. Don't cache a
2100 # value for MKDIR_P within a source directory, because that will
2101 # break other packages using the cache if that directory is
2102 # removed, or if the value is a relative name.
2103 test -d ./--version && rmdir ./--version
2104 MKDIR_P="$ac_install_sh -d"
2107 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2108 $as_echo "$MKDIR_P" >&6; }
2112 [\\/$]* | ?:[\\/]*) ;;
2113 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2116 for ac_prog in gawk mawk nawk awk
2118 # Extract the first word of "$ac_prog", so it can be a program name with args.
2119 set dummy $ac_prog; ac_word=$2
2120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 $as_echo_n "checking for $ac_word... " >&6; }
2122 if test "${ac_cv_prog_AWK+set}" = set; then
2123 $as_echo_n "(cached) " >&6
2125 if test -n "$AWK"; then
2126 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_AWK="$ac_prog"
2136 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$AWK"; then
2147 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2148 $as_echo "$AWK" >&6; }
2150 { $as_echo "$as_me:$LINENO: result: no" >&5
2151 $as_echo "no" >&6; }
2155 test -n "$AWK" && break
2158 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2159 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2161 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2162 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2163 $as_echo_n "(cached) " >&6
2165 cat >conftest.make <<\_ACEOF
2168 @echo '@@@%%%=$(MAKE)=@@@%%%'
2170 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2171 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2173 eval ac_cv_prog_make_${ac_make}_set=yes;;
2175 eval ac_cv_prog_make_${ac_make}_set=no;;
2179 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2180 { $as_echo "$as_me:$LINENO: result: yes" >&5
2181 $as_echo "yes" >&6; }
2184 { $as_echo "$as_me:$LINENO: result: no" >&5
2185 $as_echo "no" >&6; }
2186 SET_MAKE="MAKE=${MAKE-make}"
2189 rm -rf .tst 2>/dev/null
2190 mkdir .tst 2>/dev/null
2191 if test -d .tst; then
2196 rmdir .tst 2>/dev/null
2198 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2199 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2200 # is not polluted with repeated "-I."
2201 am__isrc=' -I$(srcdir)'
2202 # test to see if srcdir already configured
2203 if test -f $srcdir/config.status; then
2204 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2205 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2206 { (exit 1); exit 1; }; }
2210 # test whether we have cygpath
2211 if test -z "$CYGPATH_W"; then
2212 if (cygpath --version) >/dev/null 2>/dev/null; then
2213 CYGPATH_W='cygpath -w'
2220 # Define the identity of the package.
2221 PACKAGE=flite+hts_engine
2225 # Some tools Automake needs.
2227 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2230 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2233 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2236 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2239 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2241 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2243 # Installed binaries are usually stripped using `strip' when the user
2244 # run `make install-strip'. However `strip' might not be the right
2245 # tool to use in cross-compilation environments, therefore Automake
2246 # will honor the `STRIP' environment variable to overrule this program.
2247 if test "$cross_compiling" != no; then
2248 if test -n "$ac_tool_prefix"; then
2249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2250 set dummy ${ac_tool_prefix}strip; ac_word=$2
2251 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2252 $as_echo_n "checking for $ac_word... " >&6; }
2253 if test "${ac_cv_prog_STRIP+set}" = set; then
2254 $as_echo_n "(cached) " >&6
2256 if test -n "$STRIP"; then
2257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2267 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276 STRIP=$ac_cv_prog_STRIP
2277 if test -n "$STRIP"; then
2278 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2279 $as_echo "$STRIP" >&6; }
2281 { $as_echo "$as_me:$LINENO: result: no" >&5
2282 $as_echo "no" >&6; }
2287 if test -z "$ac_cv_prog_STRIP"; then
2289 # Extract the first word of "strip", so it can be a program name with args.
2290 set dummy strip; ac_word=$2
2291 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 $as_echo_n "checking for $ac_word... " >&6; }
2293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2294 $as_echo_n "(cached) " >&6
2296 if test -n "$ac_ct_STRIP"; then
2297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2306 ac_cv_prog_ac_ct_STRIP="strip"
2307 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2317 if test -n "$ac_ct_STRIP"; then
2318 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2319 $as_echo "$ac_ct_STRIP" >&6; }
2321 { $as_echo "$as_me:$LINENO: result: no" >&5
2322 $as_echo "no" >&6; }
2325 if test "x$ac_ct_STRIP" = x; then
2328 case $cross_compiling:$ac_tool_warned in
2330 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2332 ac_tool_warned=yes ;;
2337 STRIP="$ac_cv_prog_STRIP"
2341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2343 # We need awk for the "check" target. The system "awk" is bad on
2345 # Always define AMTAR for backward compatibility.
2347 AMTAR=${AMTAR-"${am_missing_run}tar"}
2349 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2356 # Checks for C compiler
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362 if test -n "$ac_tool_prefix"; then
2363 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2364 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2365 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then
2368 $as_echo_n "(cached) " >&6
2370 if test -n "$CC"; then
2371 ac_cv_prog_CC="$CC" # Let the user override the test.
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2377 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
2379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2380 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2381 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2391 if test -n "$CC"; then
2392 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2393 $as_echo "$CC" >&6; }
2395 { $as_echo "$as_me:$LINENO: result: no" >&5
2396 $as_echo "no" >&6; }
2401 if test -z "$ac_cv_prog_CC"; then
2403 # Extract the first word of "gcc", so it can be a program name with args.
2404 set dummy gcc; ac_word=$2
2405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 $as_echo_n "checking for $ac_word... " >&6; }
2407 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2408 $as_echo_n "(cached) " >&6
2410 if test -n "$ac_ct_CC"; then
2411 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_ac_ct_CC="gcc"
2421 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2431 if test -n "$ac_ct_CC"; then
2432 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2433 $as_echo "$ac_ct_CC" >&6; }
2435 { $as_echo "$as_me:$LINENO: result: no" >&5
2436 $as_echo "no" >&6; }
2439 if test "x$ac_ct_CC" = x; then
2442 case $cross_compiling:$ac_tool_warned in
2444 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2446 ac_tool_warned=yes ;;
2454 if test -z "$CC"; then
2455 if test -n "$ac_tool_prefix"; then
2456 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2457 set dummy ${ac_tool_prefix}cc; ac_word=$2
2458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2459 $as_echo_n "checking for $ac_word... " >&6; }
2460 if test "${ac_cv_prog_CC+set}" = set; then
2461 $as_echo_n "(cached) " >&6
2463 if test -n "$CC"; then
2464 ac_cv_prog_CC="$CC" # Let the user override the test.
2466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2470 test -z "$as_dir" && as_dir=.
2471 for ac_exec_ext in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2473 ac_cv_prog_CC="${ac_tool_prefix}cc"
2474 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 if test -n "$CC"; then
2485 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2486 $as_echo "$CC" >&6; }
2488 { $as_echo "$as_me:$LINENO: result: no" >&5
2489 $as_echo "no" >&6; }
2495 if test -z "$CC"; then
2496 # Extract the first word of "cc", so it can be a program name with args.
2497 set dummy cc; ac_word=$2
2498 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2499 $as_echo_n "checking for $ac_word... " >&6; }
2500 if test "${ac_cv_prog_CC+set}" = set; then
2501 $as_echo_n "(cached) " >&6
2503 if test -n "$CC"; then
2504 ac_cv_prog_CC="$CC" # Let the user override the test.
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 test -z "$as_dir" && as_dir=.
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2514 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2515 ac_prog_rejected=yes
2519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 if test $ac_prog_rejected = yes; then
2527 # We found a bogon in the path, so make sure we never use it.
2528 set dummy $ac_cv_prog_CC
2530 if test $# != 0; then
2531 # We chose a different compiler from the bogus one.
2532 # However, it has the same basename, so the bogon will be chosen
2533 # first if we set CC to just the basename; use the full file name.
2535 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2541 if test -n "$CC"; then
2542 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2543 $as_echo "$CC" >&6; }
2545 { $as_echo "$as_me:$LINENO: result: no" >&5
2546 $as_echo "no" >&6; }
2551 if test -z "$CC"; then
2552 if test -n "$ac_tool_prefix"; then
2553 for ac_prog in cl.exe
2555 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_CC+set}" = set; then
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$CC"; then
2563 ac_cv_prog_CC="$CC" # Let the user override the test.
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir=.
2570 for ac_exec_ext in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2573 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2583 if test -n "$CC"; then
2584 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2585 $as_echo "$CC" >&6; }
2587 { $as_echo "$as_me:$LINENO: result: no" >&5
2588 $as_echo "no" >&6; }
2592 test -n "$CC" && break
2595 if test -z "$CC"; then
2597 for ac_prog in cl.exe
2599 # Extract the first word of "$ac_prog", so it can be a program name with args.
2600 set dummy $ac_prog; ac_word=$2
2601 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 $as_echo_n "checking for $ac_word... " >&6; }
2603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2604 $as_echo_n "(cached) " >&6
2606 if test -n "$ac_ct_CC"; then
2607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2616 ac_cv_prog_ac_ct_CC="$ac_prog"
2617 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2627 if test -n "$ac_ct_CC"; then
2628 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2629 $as_echo "$ac_ct_CC" >&6; }
2631 { $as_echo "$as_me:$LINENO: result: no" >&5
2632 $as_echo "no" >&6; }
2636 test -n "$ac_ct_CC" && break
2639 if test "x$ac_ct_CC" = x; then
2642 case $cross_compiling:$ac_tool_warned in
2644 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2655 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2657 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2658 See \`config.log' for more details." >&5
2659 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2660 See \`config.log' for more details." >&2;}
2661 { (exit 1); exit 1; }; }; }
2663 # Provide some information about the compiler.
2664 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2667 { (ac_try="$ac_compiler --version >&5"
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2673 $as_echo "$ac_try_echo") >&5
2674 (eval "$ac_compiler --version >&5") 2>&5
2676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }
2678 { (ac_try="$ac_compiler -v >&5"
2680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2681 *) ac_try_echo=$ac_try;;
2683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2684 $as_echo "$ac_try_echo") >&5
2685 (eval "$ac_compiler -v >&5") 2>&5
2687 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); }
2689 { (ac_try="$ac_compiler -V >&5"
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2695 $as_echo "$ac_try_echo") >&5
2696 (eval "$ac_compiler -V >&5") 2>&5
2698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }
2701 cat >conftest.$ac_ext <<_ACEOF
2704 cat confdefs.h >>conftest.$ac_ext
2705 cat >>conftest.$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2716 ac_clean_files_save=$ac_clean_files
2717 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2718 # Try to create an executable without -o first, disregard a.out.
2719 # It will help us diagnose broken compilers, and finding out an intuition
2721 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2722 $as_echo_n "checking for C compiler default output file name... " >&6; }
2723 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2725 # The possible output files:
2726 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2729 for ac_file in $ac_files
2732 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2733 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2738 if { (ac_try="$ac_link_default"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2744 $as_echo "$ac_try_echo") >&5
2745 (eval "$ac_link_default") 2>&5
2747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; then
2749 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2750 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2751 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2752 # so that the user can short-circuit this test for compilers unknown to
2754 for ac_file in $ac_files ''
2756 test -f "$ac_file" || continue
2758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2761 # We found the default executable, but exeext='' is most
2765 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2767 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2769 # We set ac_cv_exeext here because the later test for it is not
2770 # safe: cross compilers may not add the suffix if given an `-o'
2771 # argument, so we may need to know it at that point already.
2772 # Even if this section looks crufty: it has the advantage of
2779 test "$ac_cv_exeext" = no && ac_cv_exeext=
2785 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2786 $as_echo "$ac_file" >&6; }
2787 if test -z "$ac_file"; then
2788 $as_echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2793 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2794 See \`config.log' for more details." >&5
2795 $as_echo "$as_me: error: C compiler cannot create executables
2796 See \`config.log' for more details." >&2;}
2797 { (exit 77); exit 77; }; }; }
2800 ac_exeext=$ac_cv_exeext
2802 # Check that the compiler produces executables we can run. If not, either
2803 # the compiler is broken, or we cross compile.
2804 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2805 $as_echo_n "checking whether the C compiler works... " >&6; }
2806 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2807 # If not cross compiling, check that we can run a simple program.
2808 if test "$cross_compiling" != yes; then
2809 if { ac_try='./$ac_file'
2810 { (case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2815 $as_echo "$ac_try_echo") >&5
2816 (eval "$ac_try") 2>&5
2818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }; }; then
2822 if test "$cross_compiling" = maybe; then
2825 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2828 If you meant to cross compile, use \`--host'.
2829 See \`config.log' for more details." >&5
2830 $as_echo "$as_me: error: cannot run C compiled programs.
2831 If you meant to cross compile, use \`--host'.
2832 See \`config.log' for more details." >&2;}
2833 { (exit 1); exit 1; }; }; }
2837 { $as_echo "$as_me:$LINENO: result: yes" >&5
2838 $as_echo "yes" >&6; }
2840 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2841 ac_clean_files=$ac_clean_files_save
2842 # Check that the compiler produces executables we can run. If not, either
2843 # the compiler is broken, or we cross compile.
2844 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2845 $as_echo_n "checking whether we are cross compiling... " >&6; }
2846 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2847 $as_echo "$cross_compiling" >&6; }
2849 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2850 $as_echo_n "checking for suffix of executables... " >&6; }
2851 if { (ac_try="$ac_link"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2857 $as_echo "$ac_try_echo") >&5
2858 (eval "$ac_link") 2>&5
2860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }; then
2862 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2863 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2864 # work properly (i.e., refer to `conftest.exe'), while it won't with
2866 for ac_file in conftest.exe conftest conftest.*; do
2867 test -f "$ac_file" || continue
2869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2870 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2876 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2879 See \`config.log' for more details." >&5
2880 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2881 See \`config.log' for more details." >&2;}
2882 { (exit 1); exit 1; }; }; }
2885 rm -f conftest$ac_cv_exeext
2886 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2887 $as_echo "$ac_cv_exeext" >&6; }
2889 rm -f conftest.$ac_ext
2890 EXEEXT=$ac_cv_exeext
2892 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2893 $as_echo_n "checking for suffix of object files... " >&6; }
2894 if test "${ac_cv_objext+set}" = set; then
2895 $as_echo_n "(cached) " >&6
2897 cat >conftest.$ac_ext <<_ACEOF
2900 cat confdefs.h >>conftest.$ac_ext
2901 cat >>conftest.$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2912 rm -f conftest.o conftest.obj
2913 if { (ac_try="$ac_compile"
2915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916 *) ac_try_echo=$ac_try;;
2918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2919 $as_echo "$ac_try_echo") >&5
2920 (eval "$ac_compile") 2>&5
2922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; then
2924 for ac_file in conftest.o conftest.obj conftest.*; do
2925 test -f "$ac_file" || continue;
2927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2928 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2938 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2939 See \`config.log' for more details." >&5
2940 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2941 See \`config.log' for more details." >&2;}
2942 { (exit 1); exit 1; }; }; }
2945 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2947 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2948 $as_echo "$ac_cv_objext" >&6; }
2949 OBJEXT=$ac_cv_objext
2951 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2953 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2954 $as_echo_n "(cached) " >&6
2956 cat >conftest.$ac_ext <<_ACEOF
2959 cat confdefs.h >>conftest.$ac_ext
2960 cat >>conftest.$ac_ext <<_ACEOF
2961 /* end confdefs.h. */
2974 rm -f conftest.$ac_objext
2975 if { (ac_try="$ac_compile"
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2984 grep -v '^ *+' conftest.er1 >conftest.err
2986 cat conftest.err >&5
2987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2994 $as_echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3004 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3005 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3006 if test $ac_compiler_gnu = yes; then
3011 ac_test_CFLAGS=${CFLAGS+set}
3012 ac_save_CFLAGS=$CFLAGS
3013 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3014 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3015 if test "${ac_cv_prog_cc_g+set}" = set; then
3016 $as_echo_n "(cached) " >&6
3018 ac_save_c_werror_flag=$ac_c_werror_flag
3019 ac_c_werror_flag=yes
3022 cat >conftest.$ac_ext <<_ACEOF
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3037 rm -f conftest.$ac_objext
3038 if { (ac_try="$ac_compile"
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3044 $as_echo "$ac_try_echo") >&5
3045 (eval "$ac_compile") 2>conftest.er1
3047 grep -v '^ *+' conftest.er1 >conftest.err
3049 cat conftest.err >&5
3050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } && {
3052 test -z "$ac_c_werror_flag" ||
3053 test ! -s conftest.err
3054 } && test -s conftest.$ac_objext; then
3057 $as_echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3076 rm -f conftest.$ac_objext
3077 if { (ac_try="$ac_compile"
3079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_compile") 2>conftest.er1
3086 grep -v '^ *+' conftest.er1 >conftest.err
3088 cat conftest.err >&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } && {
3091 test -z "$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3093 } && test -s conftest.$ac_objext; then
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 ac_c_werror_flag=$ac_save_c_werror_flag
3101 cat >conftest.$ac_ext <<_ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3116 rm -f conftest.$ac_objext
3117 if { (ac_try="$ac_compile"
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3123 $as_echo "$ac_try_echo") >&5
3124 (eval "$ac_compile") 2>conftest.er1
3126 grep -v '^ *+' conftest.er1 >conftest.err
3128 cat conftest.err >&5
3129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } && {
3131 test -z "$ac_c_werror_flag" ||
3132 test ! -s conftest.err
3133 } && test -s conftest.$ac_objext; then
3136 $as_echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_c_werror_flag=$ac_save_c_werror_flag
3151 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3152 $as_echo "$ac_cv_prog_cc_g" >&6; }
3153 if test "$ac_test_CFLAGS" = set; then
3154 CFLAGS=$ac_save_CFLAGS
3155 elif test $ac_cv_prog_cc_g = yes; then
3156 if test "$GCC" = yes; then
3162 if test "$GCC" = yes; then
3168 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3169 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3170 if test "${ac_cv_prog_cc_c89+set}" = set; then
3171 $as_echo_n "(cached) " >&6
3173 ac_cv_prog_cc_c89=no
3175 cat >conftest.$ac_ext <<_ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3186 struct buf { int x; };
3187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3188 static char *e (p, i)
3194 static char *f (char * (*g) (char **, int), char **p, ...)
3199 s = g (p, va_arg (v,int));
3204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3205 function prototypes and stuff, but not '\xHH' hex character constants.
3206 These don't provoke an error unfortunately, instead are silently treated
3207 as 'x'. The following induces an error, until -std is added to get
3208 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3209 array size at least. It's necessary to write '\x00'==0 to get something
3210 that's true only with -std. */
3211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3214 inside strings and character constants. */
3216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3218 int test (int i, double x);
3219 struct s1 {int (*f) (int a);};
3220 struct s2 {int (*f) (double a);};
3221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3233 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3235 CC="$ac_save_CC $ac_arg"
3236 rm -f conftest.$ac_objext
3237 if { (ac_try="$ac_compile"
3239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240 *) ac_try_echo=$ac_try;;
3242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3243 $as_echo "$ac_try_echo") >&5
3244 (eval "$ac_compile") 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } && {
3251 test -z "$ac_c_werror_flag" ||
3252 test ! -s conftest.err
3253 } && test -s conftest.$ac_objext; then
3254 ac_cv_prog_cc_c89=$ac_arg
3256 $as_echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.$ac_ext >&5
3262 rm -f core conftest.err conftest.$ac_objext
3263 test "x$ac_cv_prog_cc_c89" != "xno" && break
3265 rm -f conftest.$ac_ext
3270 case "x$ac_cv_prog_cc_c89" in
3272 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3273 $as_echo "none needed" >&6; } ;;
3275 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3276 $as_echo "unsupported" >&6; } ;;
3278 CC="$CC $ac_cv_prog_cc_c89"
3279 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3280 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3285 ac_cpp='$CPP $CPPFLAGS'
3286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3289 DEPDIR="${am__leading_dot}deps"
3291 ac_config_commands="$ac_config_commands depfiles"
3294 am_make=${MAKE-make}
3295 cat > confinc << 'END'
3300 # If we don't find an include directive, just comment out the code.
3301 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3302 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3306 # First try GNU make style include.
3307 echo "include confinc" > confmf
3308 # We grep out `Entering directory' and `Leaving directory'
3309 # messages which can occur if `w' ends up in MAKEFLAGS.
3310 # In particular we don't look at `^make:' because GNU make might
3311 # be invoked under some other name (usually "gmake"), in which
3312 # case it prints its new name instead of `make'.
3313 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3318 # Now try BSD make style include.
3319 if test "$am__include" = "#"; then
3320 echo '.include "confinc"' > confmf
3321 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3322 am__include=.include
3329 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3330 $as_echo "$_am_result" >&6; }
3331 rm -f confinc confmf
3333 # Check whether --enable-dependency-tracking was given.
3334 if test "${enable_dependency_tracking+set}" = set; then
3335 enableval=$enable_dependency_tracking;
3338 if test "x$enable_dependency_tracking" != xno; then
3339 am_depcomp="$ac_aux_dir/depcomp"
3342 if test "x$enable_dependency_tracking" != xno; then
3352 depcc="$CC" am_compiler_list=
3354 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3355 $as_echo_n "checking dependency style of $depcc... " >&6; }
3356 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3357 $as_echo_n "(cached) " >&6
3359 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3360 # We make a subdir and do the tests there. Otherwise we can end up
3361 # making bogus files that we don't know about and never remove. For
3362 # instance it was reported that on HP-UX the gcc test will end up
3363 # making a dummy file named `D' -- because `-MD' means `put the output
3366 # Copy depcomp to subdir because otherwise we won't find it if we're
3367 # using a relative directory.
3368 cp "$am_depcomp" conftest.dir
3370 # We will build objects and dependencies in a subdirectory because
3371 # it helps to detect inapplicable dependency modes. For instance
3372 # both Tru64's cc and ICC support -MD to output dependencies as a
3373 # side effect of compilation, but ICC will put the dependencies in
3374 # the current directory while Tru64 will put them in the object
3378 am_cv_CC_dependencies_compiler_type=none
3379 if test "$am_compiler_list" = ""; then
3380 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3382 for depmode in $am_compiler_list; do
3383 # Setup a source with many dependencies, because some compilers
3384 # like to wrap large dependency lists on column 80 (with \), and
3385 # we should not choose a depcomp mode which is confused by this.
3387 # We need to recreate these files for each test, as the compiler may
3388 # overwrite some of them when testing with obscure command lines.
3389 # This happens at least with the AIX C compiler.
3391 for i in 1 2 3 4 5 6; do
3392 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3393 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3394 # Solaris 8's {/usr,}/bin/sh.
3395 touch sub/conftst$i.h
3397 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3401 # after this tag, mechanisms are not by side-effect, so they'll
3402 # only be used when explicitly requested
3403 if test "x$enable_dependency_tracking" = xyes; then
3411 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3412 # mode. It turns out that the SunPro C++ compiler does not properly
3413 # handle `-M -o', and we need to detect this.
3414 if depmode=$depmode \
3415 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3416 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3417 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3418 >/dev/null 2>conftest.err &&
3419 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3420 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3421 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3422 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3423 # icc doesn't choke on unknown options, it will just issue warnings
3424 # or remarks (even with -Werror). So we grep stderr for any message
3425 # that says an option was ignored or not supported.
3426 # When given -MP, icc 7.0 and 7.1 complain thusly:
3427 # icc: Command line warning: ignoring option '-M'; no argument required
3428 # The diagnosis changed in icc 8.0:
3429 # icc: Command line remark: option '-MP' not supported
3430 if (grep 'ignoring option' conftest.err ||
3431 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3432 am_cv_CC_dependencies_compiler_type=$depmode
3441 am_cv_CC_dependencies_compiler_type=none
3445 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3446 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3447 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3450 test "x$enable_dependency_tracking" != xno \
3451 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3453 am__fastdepCC_FALSE='#'
3455 am__fastdepCC_TRUE='#'
3456 am__fastdepCC_FALSE=
3460 if test "x$CC" != xcc; then
3461 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3462 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3464 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3465 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3467 set dummy $CC; ac_cc=`$as_echo "$2" |
3468 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3469 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3470 $as_echo_n "(cached) " >&6
3472 cat >conftest.$ac_ext <<_ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3487 # Make sure it works both with $CC and with simple cc.
3488 # We do the test twice because some compilers refuse to overwrite an
3489 # existing .o file with -o, though they will create one.
3490 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3492 if { (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); } &&
3502 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3504 *) ac_try_echo=$ac_try;;
3506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3507 $as_echo "$ac_try_echo") >&5
3508 (eval "$ac_try") 2>&5
3510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); };
3513 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3514 if test "x$CC" != xcc; then
3515 # Test first that cc exists at all.
3516 if { ac_try='cc -c conftest.$ac_ext >&5'
3517 { (case "(($ac_try" in
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3522 $as_echo "$ac_try_echo") >&5
3523 (eval "$ac_try") 2>&5
3525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; }; then
3527 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3529 if { (case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3534 $as_echo "$ac_try_echo") >&5
3535 (eval "$ac_try") 2>&5
3537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541 *) ac_try_echo=$ac_try;;
3543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3544 $as_echo "$ac_try_echo") >&5
3545 (eval "$ac_try") 2>&5
3547 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); };
3553 # cc exists but doesn't like -o.
3554 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3559 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3561 rm -f core conftest*
3564 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3565 { $as_echo "$as_me:$LINENO: result: yes" >&5
3566 $as_echo "yes" >&6; }
3568 { $as_echo "$as_me:$LINENO: result: no" >&5
3569 $as_echo "no" >&6; }
3571 cat >>confdefs.h <<\_ACEOF
3572 #define NO_MINUS_C_MINUS_O 1
3577 # FIXME: we rely on the cache variable name because
3578 # there is no other way.
3580 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3581 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3582 if test "$am_t" != yes; then
3583 # Losing compiler, so override with the script.
3584 # FIXME: It is wrong to rewrite CC.
3585 # But if we don't then we get into trouble of one sort or another.
3586 # A longer-term fix would be to have automake use am__CC in this case,
3587 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3588 CC="$am_aux_dir/compile $CC"
3592 # Find a good install program. We prefer a C program (faster),
3593 # so one script is as good as another. But avoid the broken or
3594 # incompatible versions:
3595 # SysV /etc/install, /usr/sbin/install
3596 # SunOS /usr/etc/install
3597 # IRIX /sbin/install
3599 # AmigaOS /C/install, which installs bootblocks on floppy discs
3600 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3601 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3602 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3603 # OS/2's system install, which has a completely different semantic
3604 # ./install, which can be erroneously created by make from ./install.sh.
3605 # Reject install programs that cannot install multiple files.
3606 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3607 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3608 if test -z "$INSTALL"; then
3609 if test "${ac_cv_path_install+set}" = set; then
3610 $as_echo_n "(cached) " >&6
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir=.
3617 # Account for people who put trailing slashes in PATH elements.
3619 ./ | .// | /cC/* | \
3620 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3621 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3624 # OSF1 and SCO ODT 3.0 have their own names for install.
3625 # Don't use installbsd from OSF since it installs stuff as root
3627 for ac_prog in ginstall scoinst install; do
3628 for ac_exec_ext in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3630 if test $ac_prog = install &&
3631 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3632 # AIX install. It has an incompatible calling convention.
3634 elif test $ac_prog = install &&
3635 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3636 # program-specific install script used by HP pwplus--don't use.
3639 rm -rf conftest.one conftest.two conftest.dir
3640 echo one > conftest.one
3641 echo two > conftest.two
3643 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3644 test -s conftest.one && test -s conftest.two &&
3645 test -s conftest.dir/conftest.one &&
3646 test -s conftest.dir/conftest.two
3648 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3661 rm -rf conftest.one conftest.two conftest.dir
3664 if test "${ac_cv_path_install+set}" = set; then
3665 INSTALL=$ac_cv_path_install
3667 # As a last resort, use the slow shell script. Don't cache a
3668 # value for INSTALL within a source directory, because that will
3669 # break other packages using the cache if that directory is
3670 # removed, or if the value is a relative name.
3671 INSTALL=$ac_install_sh
3674 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3675 $as_echo "$INSTALL" >&6; }
3677 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3678 # It thinks the first close brace ends the variable substitution.
3679 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3681 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3683 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3685 if test -n "$ac_tool_prefix"; then
3686 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3687 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3688 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if test "${ac_cv_prog_RANLIB+set}" = set; then
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$RANLIB"; then
3694 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir=.
3701 for ac_exec_ext in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3704 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 RANLIB=$ac_cv_prog_RANLIB
3714 if test -n "$RANLIB"; then
3715 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3716 $as_echo "$RANLIB" >&6; }
3718 { $as_echo "$as_me:$LINENO: result: no" >&5
3719 $as_echo "no" >&6; }
3724 if test -z "$ac_cv_prog_RANLIB"; then
3725 ac_ct_RANLIB=$RANLIB
3726 # Extract the first word of "ranlib", so it can be a program name with args.
3727 set dummy ranlib; ac_word=$2
3728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$ac_ct_RANLIB"; then
3734 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3743 ac_cv_prog_ac_ct_RANLIB="ranlib"
3744 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3754 if test -n "$ac_ct_RANLIB"; then
3755 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3756 $as_echo "$ac_ct_RANLIB" >&6; }
3758 { $as_echo "$as_me:$LINENO: result: no" >&5
3759 $as_echo "no" >&6; }
3762 if test "x$ac_ct_RANLIB" = x; then
3765 case $cross_compiling:$ac_tool_warned in
3767 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3769 ac_tool_warned=yes ;;
3771 RANLIB=$ac_ct_RANLIB
3774 RANLIB="$ac_cv_prog_RANLIB"
3780 if test -n "$ac_tool_prefix"; then
3781 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3782 set dummy ${ac_tool_prefix}ar; ac_word=$2
3783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if test "${ac_cv_prog_AR+set}" = set; then
3786 $as_echo_n "(cached) " >&6
3788 if test -n "$AR"; then
3789 ac_cv_prog_AR="$AR" # Let the user override the test.
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 for ac_exec_ext in '' $ac_executable_extensions; do
3797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3798 ac_cv_prog_AR="${ac_tool_prefix}ar"
3799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 if test -n "$AR"; then
3810 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3811 $as_echo "$AR" >&6; }
3813 { $as_echo "$as_me:$LINENO: result: no" >&5
3814 $as_echo "no" >&6; }
3819 if test -z "$ac_cv_prog_AR"; then
3821 # Extract the first word of "ar", so it can be a program name with args.
3822 set dummy ar; ac_word=$2
3823 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3826 $as_echo_n "(cached) " >&6
3828 if test -n "$ac_ct_AR"; then
3829 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 test -z "$as_dir" && as_dir=.
3836 for ac_exec_ext in '' $ac_executable_extensions; do
3837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3838 ac_cv_prog_ac_ct_AR="ar"
3839 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3848 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3849 if test -n "$ac_ct_AR"; then
3850 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3851 $as_echo "$ac_ct_AR" >&6; }
3853 { $as_echo "$as_me:$LINENO: result: no" >&5
3854 $as_echo "no" >&6; }
3857 if test "x$ac_ct_AR" = x; then
3860 case $cross_compiling:$ac_tool_warned in
3862 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3864 ac_tool_warned=yes ;;
3874 # Checks for libraries.
3877 { $as_echo "$as_me:$LINENO: checking for log in -lm" >&5
3878 $as_echo_n "checking for log in -lm... " >&6; }
3879 if test "${ac_cv_lib_m_log+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3882 ac_check_lib_save_LIBS=$LIBS
3884 cat >conftest.$ac_ext <<_ACEOF
3887 cat confdefs.h >>conftest.$ac_ext
3888 cat >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3891 /* Override any GCC internal prototype to avoid an error.
3892 Use char because int might match the return type of a GCC
3893 builtin and then its argument prototype would still apply. */
3906 rm -f conftest.$ac_objext conftest$ac_exeext
3907 if { (ac_try="$ac_link"
3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910 *) ac_try_echo=$ac_try;;
3912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3913 $as_echo "$ac_try_echo") >&5
3914 (eval "$ac_link") 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } && {
3921 test -z "$ac_c_werror_flag" ||
3922 test ! -s conftest.err
3923 } && test -s conftest$ac_exeext && {
3924 test "$cross_compiling" = yes ||
3925 $as_test_x conftest$ac_exeext
3929 $as_echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3935 rm -rf conftest.dSYM
3936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3937 conftest$ac_exeext conftest.$ac_ext
3938 LIBS=$ac_check_lib_save_LIBS
3940 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
3941 $as_echo "$ac_cv_lib_m_log" >&6; }
3942 if test "x$ac_cv_lib_m_log" = x""yes; then
3943 cat >>confdefs.h <<_ACEOF
3953 # Checks for header files.
3955 ac_cpp='$CPP $CPPFLAGS'
3956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3959 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3960 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3961 # On Suns, sometimes $CPP names a directory.
3962 if test -n "$CPP" && test -d "$CPP"; then
3965 if test -z "$CPP"; then
3966 if test "${ac_cv_prog_CPP+set}" = set; then
3967 $as_echo_n "(cached) " >&6
3969 # Double quotes because CPP needs to be expanded
3970 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3973 for ac_c_preproc_warn_flag in '' yes
3975 # Use a header file that comes with gcc, so configuring glibc
3976 # with a fresh cross-compiler works.
3977 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3978 # <limits.h> exists even on freestanding compilers.
3979 # On the NeXT, cc -E runs the code through the compiler's parser,
3980 # not just through cpp. "Syntax error" is here to catch this case.
3981 cat >conftest.$ac_ext <<_ACEOF
3984 cat confdefs.h >>conftest.$ac_ext
3985 cat >>conftest.$ac_ext <<_ACEOF
3986 /* end confdefs.h. */
3988 # include <limits.h>
3990 # include <assert.h>
3994 if { (ac_try="$ac_cpp conftest.$ac_ext"
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4000 $as_echo "$ac_try_echo") >&5
4001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4003 grep -v '^ *+' conftest.er1 >conftest.err
4005 cat conftest.err >&5
4006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } >/dev/null && {
4008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4009 test ! -s conftest.err
4013 $as_echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 # Broken: fails on valid input.
4020 rm -f conftest.err conftest.$ac_ext
4022 # OK, works on sane cases. Now check whether nonexistent headers
4023 # can be detected and how.
4024 cat >conftest.$ac_ext <<_ACEOF
4027 cat confdefs.h >>conftest.$ac_ext
4028 cat >>conftest.$ac_ext <<_ACEOF
4029 /* end confdefs.h. */
4030 #include <ac_nonexistent.h>
4032 if { (ac_try="$ac_cpp conftest.$ac_ext"
4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4038 $as_echo "$ac_try_echo") >&5
4039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } >/dev/null && {
4046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4047 test ! -s conftest.err
4049 # Broken: success on invalid input.
4052 $as_echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.$ac_ext >&5
4055 # Passes both tests.
4060 rm -f conftest.err conftest.$ac_ext
4063 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4064 rm -f conftest.err conftest.$ac_ext
4065 if $ac_preproc_ok; then
4077 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4078 $as_echo "$CPP" >&6; }
4080 for ac_c_preproc_warn_flag in '' yes
4082 # Use a header file that comes with gcc, so configuring glibc
4083 # with a fresh cross-compiler works.
4084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4085 # <limits.h> exists even on freestanding compilers.
4086 # On the NeXT, cc -E runs the code through the compiler's parser,
4087 # not just through cpp. "Syntax error" is here to catch this case.
4088 cat >conftest.$ac_ext <<_ACEOF
4091 cat confdefs.h >>conftest.$ac_ext
4092 cat >>conftest.$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4095 # include <limits.h>
4097 # include <assert.h>
4101 if { (ac_try="$ac_cpp conftest.$ac_ext"
4103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4107 $as_echo "$ac_try_echo") >&5
4108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4110 grep -v '^ *+' conftest.er1 >conftest.err
4112 cat conftest.err >&5
4113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); } >/dev/null && {
4115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4116 test ! -s conftest.err
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4123 # Broken: fails on valid input.
4127 rm -f conftest.err conftest.$ac_ext
4129 # OK, works on sane cases. Now check whether nonexistent headers
4130 # can be detected and how.
4131 cat >conftest.$ac_ext <<_ACEOF
4134 cat confdefs.h >>conftest.$ac_ext
4135 cat >>conftest.$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4137 #include <ac_nonexistent.h>
4139 if { (ac_try="$ac_cpp conftest.$ac_ext"
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4145 $as_echo "$ac_try_echo") >&5
4146 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4148 grep -v '^ *+' conftest.er1 >conftest.err
4150 cat conftest.err >&5
4151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } >/dev/null && {
4153 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4154 test ! -s conftest.err
4156 # Broken: success on invalid input.
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 # Passes both tests.
4167 rm -f conftest.err conftest.$ac_ext
4170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4171 rm -f conftest.err conftest.$ac_ext
4172 if $ac_preproc_ok; then
4175 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4177 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4178 See \`config.log' for more details." >&5
4179 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4180 See \`config.log' for more details." >&2;}
4181 { (exit 1); exit 1; }; }; }
4185 ac_cpp='$CPP $CPPFLAGS'
4186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4191 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4192 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4193 if test "${ac_cv_path_GREP+set}" = set; then
4194 $as_echo_n "(cached) " >&6
4196 if test -z "$GREP"; then
4197 ac_path_GREP_found=false
4198 # Loop through the user's path and test for each of PROGNAME-LIST
4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4203 test -z "$as_dir" && as_dir=.
4204 for ac_prog in grep ggrep; do
4205 for ac_exec_ext in '' $ac_executable_extensions; do
4206 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4207 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4208 # Check for GNU ac_path_GREP and select it if it is found.
4209 # Check for GNU $ac_path_GREP
4210 case `"$ac_path_GREP" --version 2>&1` in
4212 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4215 $as_echo_n 0123456789 >"conftest.in"
4218 cat "conftest.in" "conftest.in" >"conftest.tmp"
4219 mv "conftest.tmp" "conftest.in"
4220 cp "conftest.in" "conftest.nl"
4221 $as_echo 'GREP' >> "conftest.nl"
4222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4224 ac_count=`expr $ac_count + 1`
4225 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4226 # Best one so far, save it but keep looking for a better one
4227 ac_cv_path_GREP="$ac_path_GREP"
4228 ac_path_GREP_max=$ac_count
4230 # 10*(2^10) chars as input seems more than enough
4231 test $ac_count -gt 10 && break
4233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4236 $ac_path_GREP_found && break 3
4241 if test -z "$ac_cv_path_GREP"; then
4242 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4243 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4244 { (exit 1); exit 1; }; }
4247 ac_cv_path_GREP=$GREP
4251 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4252 $as_echo "$ac_cv_path_GREP" >&6; }
4253 GREP="$ac_cv_path_GREP"
4256 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4257 $as_echo_n "checking for egrep... " >&6; }
4258 if test "${ac_cv_path_EGREP+set}" = set; then
4259 $as_echo_n "(cached) " >&6
4261 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4262 then ac_cv_path_EGREP="$GREP -E"
4264 if test -z "$EGREP"; then
4265 ac_path_EGREP_found=false
4266 # Loop through the user's path and test for each of PROGNAME-LIST
4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4271 test -z "$as_dir" && as_dir=.
4272 for ac_prog in egrep; do
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4275 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4276 # Check for GNU ac_path_EGREP and select it if it is found.
4277 # Check for GNU $ac_path_EGREP
4278 case `"$ac_path_EGREP" --version 2>&1` in
4280 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4283 $as_echo_n 0123456789 >"conftest.in"
4286 cat "conftest.in" "conftest.in" >"conftest.tmp"
4287 mv "conftest.tmp" "conftest.in"
4288 cp "conftest.in" "conftest.nl"
4289 $as_echo 'EGREP' >> "conftest.nl"
4290 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4291 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4292 ac_count=`expr $ac_count + 1`
4293 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4294 # Best one so far, save it but keep looking for a better one
4295 ac_cv_path_EGREP="$ac_path_EGREP"
4296 ac_path_EGREP_max=$ac_count
4298 # 10*(2^10) chars as input seems more than enough
4299 test $ac_count -gt 10 && break
4301 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4304 $ac_path_EGREP_found && break 3
4309 if test -z "$ac_cv_path_EGREP"; then
4310 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4311 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4312 { (exit 1); exit 1; }; }
4315 ac_cv_path_EGREP=$EGREP
4320 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4321 $as_echo "$ac_cv_path_EGREP" >&6; }
4322 EGREP="$ac_cv_path_EGREP"
4325 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4326 $as_echo_n "checking for ANSI C header files... " >&6; }
4327 if test "${ac_cv_header_stdc+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4349 rm -f conftest.$ac_objext
4350 if { (ac_try="$ac_compile"
4352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4353 *) ac_try_echo=$ac_try;;
4355 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4356 $as_echo "$ac_try_echo") >&5
4357 (eval "$ac_compile") 2>conftest.er1
4359 grep -v '^ *+' conftest.er1 >conftest.err
4361 cat conftest.err >&5
4362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest.$ac_objext; then
4367 ac_cv_header_stdc=yes
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.$ac_ext >&5
4372 ac_cv_header_stdc=no
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4377 if test $ac_cv_header_stdc = yes; then
4378 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4379 cat >conftest.$ac_ext <<_ACEOF
4382 cat confdefs.h >>conftest.$ac_ext
4383 cat >>conftest.$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4389 $EGREP "memchr" >/dev/null 2>&1; then
4392 ac_cv_header_stdc=no
4398 if test $ac_cv_header_stdc = yes; then
4399 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4400 cat >conftest.$ac_ext <<_ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4410 $EGREP "free" >/dev/null 2>&1; then
4413 ac_cv_header_stdc=no
4419 if test $ac_cv_header_stdc = yes; then
4420 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4421 if test "$cross_compiling" = yes; then
4424 cat >conftest.$ac_ext <<_ACEOF
4427 cat confdefs.h >>conftest.$ac_ext
4428 cat >>conftest.$ac_ext <<_ACEOF
4429 /* end confdefs.h. */
4432 #if ((' ' & 0x0FF) == 0x020)
4433 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4434 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4436 # define ISLOWER(c) \
4437 (('a' <= (c) && (c) <= 'i') \
4438 || ('j' <= (c) && (c) <= 'r') \
4439 || ('s' <= (c) && (c) <= 'z'))
4440 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4443 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4448 for (i = 0; i < 256; i++)
4449 if (XOR (islower (i), ISLOWER (i))
4450 || toupper (i) != TOUPPER (i))
4455 rm -f conftest$ac_exeext
4456 if { (ac_try="$ac_link"
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4462 $as_echo "$ac_try_echo") >&5
4463 (eval "$ac_link") 2>&5
4465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4467 { (case "(($ac_try" in
4468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4469 *) ac_try_echo=$ac_try;;
4471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4472 $as_echo "$ac_try_echo") >&5
4473 (eval "$ac_try") 2>&5
4475 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4479 $as_echo "$as_me: program exited with status $ac_status" >&5
4480 $as_echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.$ac_ext >&5
4484 ac_cv_header_stdc=no
4486 rm -rf conftest.dSYM
4487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4493 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4494 $as_echo "$ac_cv_header_stdc" >&6; }
4495 if test $ac_cv_header_stdc = yes; then
4497 cat >>confdefs.h <<\_ACEOF
4498 #define STDC_HEADERS 1
4503 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4513 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4514 inttypes.h stdint.h unistd.h
4516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4517 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4518 $as_echo_n "checking for $ac_header... " >&6; }
4519 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4520 $as_echo_n "(cached) " >&6
4522 cat >conftest.$ac_ext <<_ACEOF
4525 cat confdefs.h >>conftest.$ac_ext
4526 cat >>conftest.$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4528 $ac_includes_default
4530 #include <$ac_header>
4532 rm -f conftest.$ac_objext
4533 if { (ac_try="$ac_compile"
4535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4536 *) ac_try_echo=$ac_try;;
4538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4539 $as_echo "$ac_try_echo") >&5
4540 (eval "$ac_compile") 2>conftest.er1
4542 grep -v '^ *+' conftest.er1 >conftest.err
4544 cat conftest.err >&5
4545 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } && {
4547 test -z "$ac_c_werror_flag" ||
4548 test ! -s conftest.err
4549 } && test -s conftest.$ac_objext; then
4550 eval "$as_ac_Header=yes"
4552 $as_echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.$ac_ext >&5
4555 eval "$as_ac_Header=no"
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_res=`eval 'as_val=${'$as_ac_Header'}
4561 $as_echo "$as_val"'`
4562 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4563 $as_echo "$ac_res" >&6; }
4564 as_val=`eval 'as_val=${'$as_ac_Header'}
4565 $as_echo "$as_val"'`
4566 if test "x$as_val" = x""yes; then
4567 cat >>confdefs.h <<_ACEOF
4568 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4578 for ac_header in stdlib.h string.h
4580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4582 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4583 $as_echo_n "checking for $ac_header... " >&6; }
4584 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4585 $as_echo_n "(cached) " >&6
4587 ac_res=`eval 'as_val=${'$as_ac_Header'}
4588 $as_echo "$as_val"'`
4589 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4590 $as_echo "$ac_res" >&6; }
4592 # Is the header compilable?
4593 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4594 $as_echo_n "checking $ac_header usability... " >&6; }
4595 cat >conftest.$ac_ext <<_ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4601 $ac_includes_default
4602 #include <$ac_header>
4604 rm -f conftest.$ac_objext
4605 if { (ac_try="$ac_compile"
4607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4611 $as_echo "$ac_try_echo") >&5
4612 (eval "$ac_compile") 2>conftest.er1
4614 grep -v '^ *+' conftest.er1 >conftest.err
4616 cat conftest.err >&5
4617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); } && {
4619 test -z "$ac_c_werror_flag" ||
4620 test ! -s conftest.err
4621 } && test -s conftest.$ac_objext; then
4622 ac_header_compiler=yes
4624 $as_echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4627 ac_header_compiler=no
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4632 $as_echo "$ac_header_compiler" >&6; }
4634 # Is the header present?
4635 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4636 $as_echo_n "checking $ac_header presence... " >&6; }
4637 cat >conftest.$ac_ext <<_ACEOF
4640 cat confdefs.h >>conftest.$ac_ext
4641 cat >>conftest.$ac_ext <<_ACEOF
4642 /* end confdefs.h. */
4643 #include <$ac_header>
4645 if { (ac_try="$ac_cpp conftest.$ac_ext"
4647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4648 *) ac_try_echo=$ac_try;;
4650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4651 $as_echo "$ac_try_echo") >&5
4652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4654 grep -v '^ *+' conftest.er1 >conftest.err
4656 cat conftest.err >&5
4657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } >/dev/null && {
4659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4660 test ! -s conftest.err
4662 ac_header_preproc=yes
4664 $as_echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.$ac_ext >&5
4667 ac_header_preproc=no
4670 rm -f conftest.err conftest.$ac_ext
4671 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4672 $as_echo "$ac_header_preproc" >&6; }
4674 # So? What about this header?
4675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4677 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4678 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4679 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4680 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4681 ac_header_preproc=yes
4684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4685 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4687 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4689 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4691 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4693 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4695 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4697 ## ----------------------------------------------------- ##
4698 ## Report this to hts-engine-users@lists.sourceforge.net ##
4699 ## ----------------------------------------------------- ##
4701 ) | sed "s/^/$as_me: WARNING: /" >&2
4704 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4705 $as_echo_n "checking for $ac_header... " >&6; }
4706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4707 $as_echo_n "(cached) " >&6
4709 eval "$as_ac_Header=\$ac_header_preproc"
4711 ac_res=`eval 'as_val=${'$as_ac_Header'}
4712 $as_echo "$as_val"'`
4713 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4714 $as_echo "$ac_res" >&6; }
4717 as_val=`eval 'as_val=${'$as_ac_Header'}
4718 $as_echo "$as_val"'`
4719 if test "x$as_val" = x""yes; then
4720 cat >>confdefs.h <<_ACEOF
4721 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4729 # Checks for typedefs, structures, and compiler characteristics.
4730 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4731 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4732 if test "${ac_cv_c_const+set}" = set; then
4733 $as_echo_n "(cached) " >&6
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4745 /* FIXME: Include the comments suggested by Paul. */
4747 /* Ultrix mips cc rejects this. */
4748 typedef int charset[2];
4750 /* SunOS 4.1.1 cc rejects this. */
4751 char const *const *pcpcc;
4753 /* NEC SVR4.0.2 mips cc rejects this. */
4754 struct point {int x, y;};
4755 static struct point const zero = {0,0};
4756 /* AIX XL C 1.02.0.0 rejects this.
4757 It does not let you subtract one const X* pointer from another in
4758 an arm of an if-expression whose if-part is not a constant
4760 const char *g = "string";
4761 pcpcc = &g + (g ? g-g : 0);
4762 /* HPUX 7.0 cc rejects these. */
4764 ppc = (char**) pcpcc;
4765 pcpcc = (char const *const *) ppc;
4766 { /* SCO 3.2v4 cc rejects this. */
4768 char const *s = 0 ? (char *) 0 : (char const *) 0;
4773 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4775 const int *foo = &x[0];
4778 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4779 typedef const int *iptr;
4783 { /* AIX XL C 1.02.0.0 rejects this saying
4784 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4785 struct s { int j; const int *ap[3]; };
4786 struct s *b; b->j = 5;
4788 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4792 return !cs[0] && !zero.x;
4799 rm -f conftest.$ac_objext
4800 if { (ac_try="$ac_compile"
4802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4803 *) ac_try_echo=$ac_try;;
4805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4806 $as_echo "$ac_try_echo") >&5
4807 (eval "$ac_compile") 2>conftest.er1
4809 grep -v '^ *+' conftest.er1 >conftest.err
4811 cat conftest.err >&5
4812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } && {
4814 test -z "$ac_c_werror_flag" ||
4815 test ! -s conftest.err
4816 } && test -s conftest.$ac_objext; then
4819 $as_echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4827 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4828 $as_echo "$ac_cv_c_const" >&6; }
4829 if test $ac_cv_c_const = no; then
4831 cat >>confdefs.h <<\_ACEOF
4837 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
4838 $as_echo_n "checking for size_t... " >&6; }
4839 if test "${ac_cv_type_size_t+set}" = set; then
4840 $as_echo_n "(cached) " >&6
4842 ac_cv_type_size_t=no
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 $ac_includes_default
4853 if (sizeof (size_t))
4859 rm -f conftest.$ac_objext
4860 if { (ac_try="$ac_compile"
4862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4866 $as_echo "$ac_try_echo") >&5
4867 (eval "$ac_compile") 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } && {
4874 test -z "$ac_c_werror_flag" ||
4875 test ! -s conftest.err
4876 } && test -s conftest.$ac_objext; then
4877 cat >conftest.$ac_ext <<_ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 $ac_includes_default
4887 if (sizeof ((size_t)))
4893 rm -f conftest.$ac_objext
4894 if { (ac_try="$ac_compile"
4896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4897 *) ac_try_echo=$ac_try;;
4899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4900 $as_echo "$ac_try_echo") >&5
4901 (eval "$ac_compile") 2>conftest.er1
4903 grep -v '^ *+' conftest.er1 >conftest.err
4905 cat conftest.err >&5
4906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } && {
4908 test -z "$ac_c_werror_flag" ||
4909 test ! -s conftest.err
4910 } && test -s conftest.$ac_objext; then
4913 $as_echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.$ac_ext >&5
4916 ac_cv_type_size_t=yes
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4921 $as_echo "$as_me: failed program was:" >&5
4922 sed 's/^/| /' conftest.$ac_ext >&5
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4930 $as_echo "$ac_cv_type_size_t" >&6; }
4931 if test "x$ac_cv_type_size_t" = x""yes; then
4935 cat >>confdefs.h <<_ACEOF
4936 #define size_t unsigned int
4942 # Checks for library functions.
4944 for ac_func in vprintf
4946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4947 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
4948 $as_echo_n "checking for $ac_func... " >&6; }
4949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4950 $as_echo_n "(cached) " >&6
4952 cat >conftest.$ac_ext <<_ACEOF
4955 cat confdefs.h >>conftest.$ac_ext
4956 cat >>conftest.$ac_ext <<_ACEOF
4957 /* end confdefs.h. */
4958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4960 #define $ac_func innocuous_$ac_func
4962 /* System header to define __stub macros and hopefully few prototypes,
4963 which can conflict with char $ac_func (); below.
4964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4965 <limits.h> exists even on freestanding compilers. */
4968 # include <limits.h>
4970 # include <assert.h>
4975 /* Override any GCC internal prototype to avoid an error.
4976 Use char because int might match the return type of a GCC
4977 builtin and then its argument prototype would still apply. */
4982 /* The GNU C library defines this for functions which it implements
4983 to always fail with ENOSYS. Some functions are actually named
4984 something starting with __ and the normal name is an alias. */
4985 #if defined __stub_$ac_func || defined __stub___$ac_func
4997 rm -f conftest.$ac_objext conftest$ac_exeext
4998 if { (ac_try="$ac_link"
5000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001 *) ac_try_echo=$ac_try;;
5003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5004 $as_echo "$ac_try_echo") >&5
5005 (eval "$ac_link") 2>conftest.er1
5007 grep -v '^ *+' conftest.er1 >conftest.err
5009 cat conftest.err >&5
5010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); } && {
5012 test -z "$ac_c_werror_flag" ||
5013 test ! -s conftest.err
5014 } && test -s conftest$ac_exeext && {
5015 test "$cross_compiling" = yes ||
5016 $as_test_x conftest$ac_exeext
5018 eval "$as_ac_var=yes"
5020 $as_echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.$ac_ext >&5
5023 eval "$as_ac_var=no"
5026 rm -rf conftest.dSYM
5027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5028 conftest$ac_exeext conftest.$ac_ext
5030 ac_res=`eval 'as_val=${'$as_ac_var'}
5031 $as_echo "$as_val"'`
5032 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5033 $as_echo "$ac_res" >&6; }
5034 as_val=`eval 'as_val=${'$as_ac_var'}
5035 $as_echo "$as_val"'`
5036 if test "x$as_val" = x""yes; then
5037 cat >>confdefs.h <<_ACEOF
5038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5041 { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
5042 $as_echo_n "checking for _doprnt... " >&6; }
5043 if test "${ac_cv_func__doprnt+set}" = set; then
5044 $as_echo_n "(cached) " >&6
5046 cat >conftest.$ac_ext <<_ACEOF
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5052 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5054 #define _doprnt innocuous__doprnt
5056 /* System header to define __stub macros and hopefully few prototypes,
5057 which can conflict with char _doprnt (); below.
5058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059 <limits.h> exists even on freestanding compilers. */
5062 # include <limits.h>
5064 # include <assert.h>
5069 /* Override any GCC internal prototype to avoid an error.
5070 Use char because int might match the return type of a GCC
5071 builtin and then its argument prototype would still apply. */
5076 /* The GNU C library defines this for functions which it implements
5077 to always fail with ENOSYS. Some functions are actually named
5078 something starting with __ and the normal name is an alias. */
5079 #if defined __stub__doprnt || defined __stub____doprnt
5091 rm -f conftest.$ac_objext conftest$ac_exeext
5092 if { (ac_try="$ac_link"
5094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5095 *) ac_try_echo=$ac_try;;
5097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5098 $as_echo "$ac_try_echo") >&5
5099 (eval "$ac_link") 2>conftest.er1
5101 grep -v '^ *+' conftest.er1 >conftest.err
5103 cat conftest.err >&5
5104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); } && {
5106 test -z "$ac_c_werror_flag" ||
5107 test ! -s conftest.err
5108 } && test -s conftest$ac_exeext && {
5109 test "$cross_compiling" = yes ||
5110 $as_test_x conftest$ac_exeext
5112 ac_cv_func__doprnt=yes
5114 $as_echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5117 ac_cv_func__doprnt=no
5120 rm -rf conftest.dSYM
5121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5122 conftest$ac_exeext conftest.$ac_ext
5124 { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5125 $as_echo "$ac_cv_func__doprnt" >&6; }
5126 if test "x$ac_cv_func__doprnt" = x""yes; then
5128 cat >>confdefs.h <<\_ACEOF
5129 #define HAVE_DOPRNT 1
5142 for ac_func in sqrt strchr strrchr strstr
5144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5145 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5146 $as_echo_n "checking for $ac_func... " >&6; }
5147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5148 $as_echo_n "(cached) " >&6
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define $ac_func innocuous_$ac_func
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char $ac_func (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined __stub_$ac_func || defined __stub___$ac_func
5195 rm -f conftest.$ac_objext conftest$ac_exeext
5196 if { (ac_try="$ac_link"
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5202 $as_echo "$ac_try_echo") >&5
5203 (eval "$ac_link") 2>conftest.er1
5205 grep -v '^ *+' conftest.er1 >conftest.err
5207 cat conftest.err >&5
5208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); } && {
5210 test -z "$ac_c_werror_flag" ||
5211 test ! -s conftest.err
5212 } && test -s conftest$ac_exeext && {
5213 test "$cross_compiling" = yes ||
5214 $as_test_x conftest$ac_exeext
5216 eval "$as_ac_var=yes"
5218 $as_echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.$ac_ext >&5
5221 eval "$as_ac_var=no"
5224 rm -rf conftest.dSYM
5225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5226 conftest$ac_exeext conftest.$ac_ext
5228 ac_res=`eval 'as_val=${'$as_ac_var'}
5229 $as_echo "$as_val"'`
5230 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5231 $as_echo "$ac_res" >&6; }
5232 as_val=`eval 'as_val=${'$as_ac_var'}
5233 $as_echo "$as_val"'`
5234 if test "x$as_val" = x""yes; then
5235 cat >>confdefs.h <<_ACEOF
5236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5244 # Make sure we can run config.sub.
5245 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5246 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5247 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5248 { (exit 1); exit 1; }; }
5250 { $as_echo "$as_me:$LINENO: checking build system type" >&5
5251 $as_echo_n "checking build system type... " >&6; }
5252 if test "${ac_cv_build+set}" = set; then
5253 $as_echo_n "(cached) " >&6
5255 ac_build_alias=$build_alias
5256 test "x$ac_build_alias" = x &&
5257 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5258 test "x$ac_build_alias" = x &&
5259 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5260 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5261 { (exit 1); exit 1; }; }
5262 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5263 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5264 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5265 { (exit 1); exit 1; }; }
5268 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5269 $as_echo "$ac_cv_build" >&6; }
5270 case $ac_cv_build in
5272 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5273 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
5274 { (exit 1); exit 1; }; };;
5277 ac_save_IFS=$IFS; IFS='-'
5283 # Remember, the first character of IFS is used to create $*,
5284 # except with old shells:
5287 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5290 { $as_echo "$as_me:$LINENO: checking host system type" >&5
5291 $as_echo_n "checking host system type... " >&6; }
5292 if test "${ac_cv_host+set}" = set; then
5293 $as_echo_n "(cached) " >&6
5295 if test "x$host_alias" = x; then
5296 ac_cv_host=$ac_cv_build
5298 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5299 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5300 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5301 { (exit 1); exit 1; }; }
5305 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5306 $as_echo "$ac_cv_host" >&6; }
5309 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5310 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
5311 { (exit 1); exit 1; }; };;
5314 ac_save_IFS=$IFS; IFS='-'
5320 # Remember, the first character of IFS is used to create $*,
5321 # except with old shells:
5324 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5328 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
5329 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5330 if test "${ac_cv_c_bigendian+set}" = set; then
5331 $as_echo_n "(cached) " >&6
5333 ac_cv_c_bigendian=unknown
5334 # See if we're dealing with a universal compiler.
5335 cat >conftest.$ac_ext <<_ACEOF
5338 cat confdefs.h >>conftest.$ac_ext
5339 cat >>conftest.$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 #ifndef __APPLE_CC__
5342 not a universal capable compiler
5347 rm -f conftest.$ac_objext
5348 if { (ac_try="$ac_compile"
5350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5351 *) ac_try_echo=$ac_try;;
5353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5354 $as_echo "$ac_try_echo") >&5
5355 (eval "$ac_compile") 2>conftest.er1
5357 grep -v '^ *+' conftest.er1 >conftest.err
5359 cat conftest.err >&5
5360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); } && {
5362 test -z "$ac_c_werror_flag" ||
5363 test ! -s conftest.err
5364 } && test -s conftest.$ac_objext; then
5366 # Check for potential -arch flags. It is not universal unless
5367 # there are some -arch flags. Note that *ppc* also matches
5368 # ppc64. This check is also rather less than ideal.
5369 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
5370 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
5373 $as_echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 if test $ac_cv_c_bigendian = unknown; then
5381 # See if sys/param.h defines the BYTE_ORDER macro.
5382 cat >conftest.$ac_ext <<_ACEOF
5385 cat confdefs.h >>conftest.$ac_ext
5386 cat >>conftest.$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5388 #include <sys/types.h>
5389 #include <sys/param.h>
5394 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5395 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5404 rm -f conftest.$ac_objext
5405 if { (ac_try="$ac_compile"
5407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5408 *) ac_try_echo=$ac_try;;
5410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5411 $as_echo "$ac_try_echo") >&5
5412 (eval "$ac_compile") 2>conftest.er1
5414 grep -v '^ *+' conftest.er1 >conftest.err
5416 cat conftest.err >&5
5417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } && {
5419 test -z "$ac_c_werror_flag" ||
5420 test ! -s conftest.err
5421 } && test -s conftest.$ac_objext; then
5422 # It does; now see whether it defined to BIG_ENDIAN or not.
5423 cat >conftest.$ac_ext <<_ACEOF
5426 cat confdefs.h >>conftest.$ac_ext
5427 cat >>conftest.$ac_ext <<_ACEOF
5428 /* end confdefs.h. */
5429 #include <sys/types.h>
5430 #include <sys/param.h>
5435 #if BYTE_ORDER != BIG_ENDIAN
5443 rm -f conftest.$ac_objext
5444 if { (ac_try="$ac_compile"
5446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5447 *) ac_try_echo=$ac_try;;
5449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5450 $as_echo "$ac_try_echo") >&5
5451 (eval "$ac_compile") 2>conftest.er1
5453 grep -v '^ *+' conftest.er1 >conftest.err
5455 cat conftest.err >&5
5456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); } && {
5458 test -z "$ac_c_werror_flag" ||
5459 test ! -s conftest.err
5460 } && test -s conftest.$ac_objext; then
5461 ac_cv_c_bigendian=yes
5463 $as_echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.$ac_ext >&5
5466 ac_cv_c_bigendian=no
5469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5471 $as_echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 if test $ac_cv_c_bigendian = unknown; then
5480 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5481 cat >conftest.$ac_ext <<_ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5492 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5500 rm -f conftest.$ac_objext
5501 if { (ac_try="$ac_compile"
5503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5507 $as_echo "$ac_try_echo") >&5
5508 (eval "$ac_compile") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1 >conftest.err
5512 cat conftest.err >&5
5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } && {
5515 test -z "$ac_c_werror_flag" ||
5516 test ! -s conftest.err
5517 } && test -s conftest.$ac_objext; then
5518 # It does; now see whether it defined to _BIG_ENDIAN or not.
5519 cat >conftest.$ac_ext <<_ACEOF
5522 cat confdefs.h >>conftest.$ac_ext
5523 cat >>conftest.$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5538 rm -f conftest.$ac_objext
5539 if { (ac_try="$ac_compile"
5541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5542 *) ac_try_echo=$ac_try;;
5544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5545 $as_echo "$ac_try_echo") >&5
5546 (eval "$ac_compile") 2>conftest.er1
5548 grep -v '^ *+' conftest.er1 >conftest.err
5550 cat conftest.err >&5
5551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } && {
5553 test -z "$ac_c_werror_flag" ||
5554 test ! -s conftest.err
5555 } && test -s conftest.$ac_objext; then
5556 ac_cv_c_bigendian=yes
5558 $as_echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.$ac_ext >&5
5561 ac_cv_c_bigendian=no
5564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5566 $as_echo "$as_me: failed program was:" >&5
5567 sed 's/^/| /' conftest.$ac_ext >&5
5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5574 if test $ac_cv_c_bigendian = unknown; then
5575 # Compile a test program.
5576 if test "$cross_compiling" = yes; then
5577 # Try to guess by grepping values from an object file.
5578 cat >conftest.$ac_ext <<_ACEOF
5581 cat confdefs.h >>conftest.$ac_ext
5582 cat >>conftest.$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 short int ascii_mm[] =
5585 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5586 short int ascii_ii[] =
5587 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5588 int use_ascii (int i) {
5589 return ascii_mm[i] + ascii_ii[i];
5591 short int ebcdic_ii[] =
5592 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5593 short int ebcdic_mm[] =
5594 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5595 int use_ebcdic (int i) {
5596 return ebcdic_mm[i] + ebcdic_ii[i];
5603 return use_ascii (foo) == use_ebcdic (foo);
5608 rm -f conftest.$ac_objext
5609 if { (ac_try="$ac_compile"
5611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;;
5614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5615 $as_echo "$ac_try_echo") >&5
5616 (eval "$ac_compile") 2>conftest.er1
5618 grep -v '^ *+' conftest.er1 >conftest.err
5620 cat conftest.err >&5
5621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && {
5623 test -z "$ac_c_werror_flag" ||
5624 test ! -s conftest.err
5625 } && test -s conftest.$ac_objext; then
5626 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
5627 ac_cv_c_bigendian=yes
5629 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5630 if test "$ac_cv_c_bigendian" = unknown; then
5631 ac_cv_c_bigendian=no
5633 # finding both strings is unlikely to happen, but who knows?
5634 ac_cv_c_bigendian=unknown
5638 $as_echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.$ac_ext >&5
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 cat >conftest.$ac_ext <<_ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 $ac_includes_default
5657 /* Are we little or big endian? From Harbison&Steele. */
5661 char c[sizeof (long int)];
5664 return u.c[sizeof (long int) - 1] == 1;
5670 rm -f conftest$ac_exeext
5671 if { (ac_try="$ac_link"
5673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674 *) ac_try_echo=$ac_try;;
5676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5677 $as_echo "$ac_try_echo") >&5
5678 (eval "$ac_link") 2>&5
5680 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5682 { (case "(($ac_try" in
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5687 $as_echo "$ac_try_echo") >&5
5688 (eval "$ac_try") 2>&5
5690 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5692 ac_cv_c_bigendian=no
5694 $as_echo "$as_me: program exited with status $ac_status" >&5
5695 $as_echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.$ac_ext >&5
5699 ac_cv_c_bigendian=yes
5701 rm -rf conftest.dSYM
5702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5708 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5709 $as_echo "$ac_cv_c_bigendian" >&6; }
5710 case $ac_cv_c_bigendian in #(
5712 cat >>confdefs.h <<\_ACEOF
5713 #define WORDS_BIGENDIAN 1
5720 cat >>confdefs.h <<\_ACEOF
5721 #define AC_APPLE_UNIVERSAL_BUILD 1
5726 { { $as_echo "$as_me:$LINENO: error: unknown endianness
5727 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5728 $as_echo "$as_me: error: unknown endianness
5729 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5730 { (exit 1); exit 1; }; } ;;
5733 # The cast to long int works around a bug in the HP C Compiler
5734 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5735 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5736 # This bug is HP SR number 8606223364.
5737 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
5738 $as_echo_n "checking size of void *... " >&6; }
5739 if test "${ac_cv_sizeof_void_p+set}" = set; then
5740 $as_echo_n "(cached) " >&6
5742 if test "$cross_compiling" = yes; then
5743 # Depending upon the size, compute the lo and hi bounds.
5744 cat >conftest.$ac_ext <<_ACEOF
5747 cat confdefs.h >>conftest.$ac_ext
5748 cat >>conftest.$ac_ext <<_ACEOF
5749 /* end confdefs.h. */
5750 $ac_includes_default
5754 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
5761 rm -f conftest.$ac_objext
5762 if { (ac_try="$ac_compile"
5764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5765 *) ac_try_echo=$ac_try;;
5767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5768 $as_echo "$ac_try_echo") >&5
5769 (eval "$ac_compile") 2>conftest.er1
5771 grep -v '^ *+' conftest.er1 >conftest.err
5773 cat conftest.err >&5
5774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } && {
5776 test -z "$ac_c_werror_flag" ||
5777 test ! -s conftest.err
5778 } && test -s conftest.$ac_objext; then
5781 cat >conftest.$ac_ext <<_ACEOF
5784 cat confdefs.h >>conftest.$ac_ext
5785 cat >>conftest.$ac_ext <<_ACEOF
5786 /* end confdefs.h. */
5787 $ac_includes_default
5791 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
5798 rm -f conftest.$ac_objext
5799 if { (ac_try="$ac_compile"
5801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5802 *) ac_try_echo=$ac_try;;
5804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5805 $as_echo "$ac_try_echo") >&5
5806 (eval "$ac_compile") 2>conftest.er1
5808 grep -v '^ *+' conftest.er1 >conftest.err
5810 cat conftest.err >&5
5811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812 (exit $ac_status); } && {
5813 test -z "$ac_c_werror_flag" ||
5814 test ! -s conftest.err
5815 } && test -s conftest.$ac_objext; then
5816 ac_hi=$ac_mid; break
5818 $as_echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.$ac_ext >&5
5821 ac_lo=`expr $ac_mid + 1`
5822 if test $ac_lo -le $ac_mid; then
5826 ac_mid=`expr 2 '*' $ac_mid + 1`
5829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5832 $as_echo "$as_me: failed program was:" >&5
5833 sed 's/^/| /' conftest.$ac_ext >&5
5835 cat >conftest.$ac_ext <<_ACEOF
5838 cat confdefs.h >>conftest.$ac_ext
5839 cat >>conftest.$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5841 $ac_includes_default
5845 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
5852 rm -f conftest.$ac_objext
5853 if { (ac_try="$ac_compile"
5855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5856 *) ac_try_echo=$ac_try;;
5858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5859 $as_echo "$ac_try_echo") >&5
5860 (eval "$ac_compile") 2>conftest.er1
5862 grep -v '^ *+' conftest.er1 >conftest.err
5864 cat conftest.err >&5
5865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } && {
5867 test -z "$ac_c_werror_flag" ||
5868 test ! -s conftest.err
5869 } && test -s conftest.$ac_objext; then
5872 cat >conftest.$ac_ext <<_ACEOF
5875 cat confdefs.h >>conftest.$ac_ext
5876 cat >>conftest.$ac_ext <<_ACEOF
5877 /* end confdefs.h. */
5878 $ac_includes_default
5882 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
5889 rm -f conftest.$ac_objext
5890 if { (ac_try="$ac_compile"
5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893 *) ac_try_echo=$ac_try;;
5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5896 $as_echo "$ac_try_echo") >&5
5897 (eval "$ac_compile") 2>conftest.er1
5899 grep -v '^ *+' conftest.er1 >conftest.err
5901 cat conftest.err >&5
5902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903 (exit $ac_status); } && {
5904 test -z "$ac_c_werror_flag" ||
5905 test ! -s conftest.err
5906 } && test -s conftest.$ac_objext; then
5907 ac_lo=$ac_mid; break
5909 $as_echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.$ac_ext >&5
5912 ac_hi=`expr '(' $ac_mid ')' - 1`
5913 if test $ac_mid -le $ac_hi; then
5917 ac_mid=`expr 2 '*' $ac_mid`
5920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5923 $as_echo "$as_me: failed program was:" >&5
5924 sed 's/^/| /' conftest.$ac_ext >&5
5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5933 # Binary search between lo and hi bounds.
5934 while test "x$ac_lo" != "x$ac_hi"; do
5935 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5936 cat >conftest.$ac_ext <<_ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 $ac_includes_default
5946 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
5953 rm -f conftest.$ac_objext
5954 if { (ac_try="$ac_compile"
5956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5957 *) ac_try_echo=$ac_try;;
5959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5960 $as_echo "$ac_try_echo") >&5
5961 (eval "$ac_compile") 2>conftest.er1
5963 grep -v '^ *+' conftest.er1 >conftest.err
5965 cat conftest.err >&5
5966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); } && {
5968 test -z "$ac_c_werror_flag" ||
5969 test ! -s conftest.err
5970 } && test -s conftest.$ac_objext; then
5973 $as_echo "$as_me: failed program was:" >&5
5974 sed 's/^/| /' conftest.$ac_ext >&5
5976 ac_lo=`expr '(' $ac_mid ')' + 1`
5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5982 ?*) ac_cv_sizeof_void_p=$ac_lo;;
5983 '') if test "$ac_cv_type_void_p" = yes; then
5984 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5986 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
5987 See \`config.log' for more details." >&5
5988 $as_echo "$as_me: error: cannot compute sizeof (void *)
5989 See \`config.log' for more details." >&2;}
5990 { (exit 77); exit 77; }; }; }
5992 ac_cv_sizeof_void_p=0
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6002 $ac_includes_default
6003 static long int longval () { return (long int) (sizeof (void *)); }
6004 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
6011 FILE *f = fopen ("conftest.val", "w");
6014 if (((long int) (sizeof (void *))) < 0)
6016 long int i = longval ();
6017 if (i != ((long int) (sizeof (void *))))
6019 fprintf (f, "%ld", i);
6023 unsigned long int i = ulongval ();
6024 if (i != ((long int) (sizeof (void *))))
6026 fprintf (f, "%lu", i);
6028 /* Do not output a trailing newline, as this causes \r\n confusion
6029 on some platforms. */
6030 return ferror (f) || fclose (f) != 0;
6036 rm -f conftest$ac_exeext
6037 if { (ac_try="$ac_link"
6039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040 *) ac_try_echo=$ac_try;;
6042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6043 $as_echo "$ac_try_echo") >&5
6044 (eval "$ac_link") 2>&5
6046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6048 { (case "(($ac_try" in
6049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6050 *) ac_try_echo=$ac_try;;
6052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6053 $as_echo "$ac_try_echo") >&5
6054 (eval "$ac_try") 2>&5
6056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6057 (exit $ac_status); }; }; then
6058 ac_cv_sizeof_void_p=`cat conftest.val`
6060 $as_echo "$as_me: program exited with status $ac_status" >&5
6061 $as_echo "$as_me: failed program was:" >&5
6062 sed 's/^/| /' conftest.$ac_ext >&5
6065 if test "$ac_cv_type_void_p" = yes; then
6066 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6068 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
6069 See \`config.log' for more details." >&5
6070 $as_echo "$as_me: error: cannot compute sizeof (void *)
6071 See \`config.log' for more details." >&2;}
6072 { (exit 77); exit 77; }; }; }
6074 ac_cv_sizeof_void_p=0
6077 rm -rf conftest.dSYM
6078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6082 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
6083 $as_echo "$ac_cv_sizeof_void_p" >&6; }
6087 cat >>confdefs.h <<_ACEOF
6088 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
6093 # Checks library for windows audio devices
6095 *win32* | *wince* | *cygwin* | *mingw* )
6097 { $as_echo "$as_me:$LINENO: checking for main in -lwinmm" >&5
6098 $as_echo_n "checking for main in -lwinmm... " >&6; }
6099 if test "${ac_cv_lib_winmm_main+set}" = set; then
6100 $as_echo_n "(cached) " >&6
6102 ac_check_lib_save_LIBS=$LIBS
6103 LIBS="-lwinmm $LIBS"
6104 cat >conftest.$ac_ext <<_ACEOF
6107 cat confdefs.h >>conftest.$ac_ext
6108 cat >>conftest.$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6120 rm -f conftest.$ac_objext conftest$ac_exeext
6121 if { (ac_try="$ac_link"
6123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6124 *) ac_try_echo=$ac_try;;
6126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6127 $as_echo "$ac_try_echo") >&5
6128 (eval "$ac_link") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1 >conftest.err
6132 cat conftest.err >&5
6133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } && {
6135 test -z "$ac_c_werror_flag" ||
6136 test ! -s conftest.err
6137 } && test -s conftest$ac_exeext && {
6138 test "$cross_compiling" = yes ||
6139 $as_test_x conftest$ac_exeext
6141 ac_cv_lib_winmm_main=yes
6143 $as_echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.$ac_ext >&5
6146 ac_cv_lib_winmm_main=no
6149 rm -rf conftest.dSYM
6150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6151 conftest$ac_exeext conftest.$ac_ext
6152 LIBS=$ac_check_lib_save_LIBS
6154 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_main" >&5
6155 $as_echo "$ac_cv_lib_winmm_main" >&6; }
6156 if test "x$ac_cv_lib_winmm_main" = x""yes; then
6157 cat >>confdefs.h <<_ACEOF
6158 #define HAVE_LIBWINMM 1
6161 LIBS="-lwinmm $LIBS"
6164 { { $as_echo "$as_me:$LINENO: error: No winmm" >&5
6165 $as_echo "$as_me: error: No winmm" >&2;}
6166 { (exit 1); exit 1; }; }
6168 ac_cv_lib_winmm=ac_cv_lib_winmm_main
6176 ac_config_files="$ac_config_files Makefile bin/Makefile lib/Makefile"
6180 # Checks for embedded device compile
6181 # Check whether --enable-embedded was given.
6182 if test "${enable_embedded+set}" = set; then
6183 enableval=$enable_embedded;
6188 { $as_echo "$as_me:$LINENO: checking whether to enable compiling for embedded devices" >&5
6189 $as_echo_n "checking whether to enable compiling for embedded devices... " >&6; }
6190 if test x$enable_embedded = xyes; then
6191 { $as_echo "$as_me:$LINENO: result: yes" >&5
6192 $as_echo "yes" >&6; }
6193 cat >>confdefs.h <<\_ACEOF
6194 #define HTS_EMBEDDED 1
6198 { $as_echo "$as_me:$LINENO: result: no" >&5
6199 $as_echo "no" >&6; }
6202 # Define HTS_ENGINE_HEADER
6204 # Check whether --with-hts-engine-header-path was given.
6205 if test "${with_hts_engine_header_path+set}" = set; then
6206 withval=$with_hts_engine_header_path; hts_engine_header_path=$withval
6208 hts_engine_header_path=/usr/local/include
6211 if test ! -f "${hts_engine_header_path}/HTS_engine.h"; then
6212 { { $as_echo "$as_me:$LINENO: error: Cannot find HTS_engine.h" >&5
6213 $as_echo "$as_me: error: Cannot find HTS_engine.h" >&2;}
6214 { (exit 1); exit 1; }; }
6216 { $as_echo "$as_me:$LINENO: checking for HTS_engine.h" >&5
6217 $as_echo_n "checking for HTS_engine.h... " >&6; }
6218 { $as_echo "$as_me:$LINENO: result: $hts_engine_header_path/HTS_engine.h" >&5
6219 $as_echo "$hts_engine_header_path/HTS_engine.h" >&6; }
6221 HTS_ENGINE_HEADER=${hts_engine_header_path}/HTS_engine.h
6223 # Define HTS_ENGINE_HEADER_DIR
6225 HTS_ENGINE_HEADER_DIR=${hts_engine_header_path}
6227 # Define HTS_ENGINE_LIBRARY
6229 # Check whether --with-hts-engine-library-path was given.
6230 if test "${with_hts_engine_library_path+set}" = set; then
6231 withval=$with_hts_engine_library_path; hts_engine_library_path=$withval
6233 hts_engine_library_path=/usr/local/lib
6236 if test ! -f "${hts_engine_library_path}/libHTSEngine.a"; then
6237 { { $as_echo "$as_me:$LINENO: error: Cannot find libHTSEngine.a" >&5
6238 $as_echo "$as_me: error: Cannot find libHTSEngine.a" >&2;}
6239 { (exit 1); exit 1; }; }
6241 { $as_echo "$as_me:$LINENO: checking for libHTSEngine.a" >&5
6242 $as_echo_n "checking for libHTSEngine.a... " >&6; }
6243 { $as_echo "$as_me:$LINENO: result: $hts_engine_library_path/libHTSEngine.a" >&5
6244 $as_echo "$hts_engine_library_path/libHTSEngine.a" >&6; }
6246 HTS_ENGINE_LIBRARY=${hts_engine_library_path}/libHTSEngine.a
6248 # Define HTS_ENGINE_LIBRARY_DIR
6250 HTS_ENGINE_LIBRARY_DIR=${hts_engine_library_path}
6252 # Define compile option
6253 cat >>confdefs.h <<\_ACEOF
6254 #define FLITE_PLUS_HTS_ENGINE 1
6259 cat >confcache <<\_ACEOF
6260 # This file is a shell script that caches the results of configure
6261 # tests run on this system so they can be shared between configure
6262 # scripts and configure runs, see configure's option --config-cache.
6263 # It is not useful on other systems. If it contains results you don't
6264 # want to keep, you may remove or edit it.
6266 # config.status only pays attention to the cache file if you give it
6267 # the --recheck option to rerun configure.
6269 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6275 # The following way of writing the cache mishandles newlines in values,
6276 # but we know of no workaround that is simple, portable, and efficient.
6277 # So, we kill variables containing newlines.
6278 # Ultrix sh set writes to stderr and can't be redirected directly,
6279 # and sets the high bit in the cache file unless we assign to the vars.
6281 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6282 eval ac_val=\$$ac_var
6286 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
6287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6290 _ | IFS | as_nl) ;; #(
6291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6292 *) $as_unset $ac_var ;;
6298 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6299 *${as_nl}ac_space=\ *)
6300 # `set' does not quote correctly, so add quotes (double-quote
6301 # substitution turns \\\\ into \\, and sed turns \\ into \).
6304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6307 # `set' quotes correctly as required by POSIX, so do not add quotes.
6308 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6319 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6321 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6322 if test -w "$cache_file"; then
6323 test "x$cache_file" != "x/dev/null" &&
6324 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6325 $as_echo "$as_me: updating cache $cache_file" >&6;}
6326 cat confcache >$cache_file
6328 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6329 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6334 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6335 # Let make expand exec_prefix.
6336 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6338 # Transform confdefs.h into DEFS.
6339 # Protect against shell expansion while executing Makefile rules.
6340 # Protect against Makefile macro expansion.
6342 # If the first sed substitution is executed (which looks for macros that
6343 # take arguments), then branch to the quote section. Otherwise,
6344 # look for a macro that doesn't take arguments.
6354 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
6356 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
6360 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
6373 DEFS=`sed -n "$ac_script" confdefs.h`
6378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6379 # 1. Remove the extension, and $U if already installed.
6380 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6381 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6382 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6383 # will be set to the directory where LIBOBJS objects are built.
6384 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6385 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6389 LTLIBOBJS=$ac_ltlibobjs
6392 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6393 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6394 Usually this means the macro was only invoked conditionally." >&5
6395 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6396 Usually this means the macro was only invoked conditionally." >&2;}
6397 { (exit 1); exit 1; }; }
6399 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6400 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6401 Usually this means the macro was only invoked conditionally." >&5
6402 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6403 Usually this means the macro was only invoked conditionally." >&2;}
6404 { (exit 1); exit 1; }; }
6408 : ${CONFIG_STATUS=./config.status}
6410 ac_clean_files_save=$ac_clean_files
6411 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6412 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6413 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6414 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6416 # Generated by $as_me.
6417 # Run this file to recreate the current configuration.
6418 # Compiler output produced by configure, useful for debugging
6419 # configure, is in config.log if it exists.
6424 SHELL=\${CONFIG_SHELL-$SHELL}
6427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6428 ## --------------------- ##
6429 ## M4sh Initialization. ##
6430 ## --------------------- ##
6432 # Be more Bourne compatible
6433 DUALCASE=1; export DUALCASE # for MKS sh
6434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6437 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6438 # is contrary to our usage. Disable this feature.
6439 alias -g '${1+"$@"}'='"$@"'
6440 setopt NO_GLOB_SUBST
6442 case `(set -o) 2>/dev/null` in
6443 *posix*) set -o posix ;;
6452 # Avoid depending upon Character Ranges.
6453 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6454 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6455 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6456 as_cr_digits='0123456789'
6457 as_cr_alnum=$as_cr_Letters$as_cr_digits
6462 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6463 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6465 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6466 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6467 as_echo='printf %s\n'
6468 as_echo_n='printf %s'
6470 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6471 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6472 as_echo_n='/usr/ucb/echo -n'
6474 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6475 as_echo_n_body='eval
6479 expr "X$arg" : "X\\(.*\\)$as_nl";
6480 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6482 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6484 export as_echo_n_body
6485 as_echo_n='sh -c $as_echo_n_body as_echo'
6488 as_echo='sh -c $as_echo_body as_echo'
6491 # The user is always right.
6492 if test "${PATH_SEPARATOR+set}" != set; then
6494 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6495 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6500 # Support unset when possible.
6501 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6509 # We need space, tab and new line, in precisely that order. Quoting is
6510 # there to prevent editors from complaining about space-tab.
6511 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6512 # splitting by setting IFS to empty value.)
6515 # Find who we are. Look in the path if we contain no directory separator.
6517 *[\\/]* ) as_myself=$0 ;;
6518 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 test -z "$as_dir" && as_dir=.
6523 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6529 # We did not find ourselves, most probably we were run as `sh COMMAND'
6530 # in which case we are not to be found in the path.
6531 if test "x$as_myself" = x; then
6534 if test ! -f "$as_myself"; then
6535 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6536 { (exit 1); exit 1; }
6539 # Work around bugs in pre-3.0 UWIN ksh.
6540 for as_var in ENV MAIL MAILPATH
6541 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6553 # Required to use basename.
6554 if expr a : '\(a\)' >/dev/null 2>&1 &&
6555 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6561 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6562 as_basename=basename
6568 # Name of the executable.
6569 as_me=`$as_basename -- "$0" ||
6570 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6571 X"$0" : 'X\(//\)$' \| \
6572 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6574 sed '/^.*\/\([^/][^/]*\)\/*$/{
6595 test "x$as_lineno_1" != "x$as_lineno_2" &&
6596 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6598 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6599 # uniformly replaced by the line number. The first 'sed' inserts a
6600 # line-number line after each line using $LINENO; the second 'sed'
6601 # does the real work. The second script uses 'N' to pair each
6602 # line-number line with the line containing $LINENO, and appends
6603 # trailing '-' during substitution so that $LINENO is not a special
6605 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6606 # scripts with optimization help from Paolo Bonzini. Blame Lee
6607 # E. McMahon (1931-1989) for sed's syntax. :-)
6619 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6623 chmod +x "$as_me.lineno" ||
6624 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6625 { (exit 1); exit 1; }; }
6627 # Don't try to exec as it changes $[0], causing all sort of problems
6628 # (the dirname of $[0] is not the place where we might find the
6629 # original and so on. Autoconf is especially sensitive to this).
6631 # Exit status is that of the last command.
6636 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6642 ECHO_C= ECHO_N= ECHO_T=
6645 case `echo 'x\c'` in
6646 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6652 if expr a : '\(a\)' >/dev/null 2>&1 &&
6653 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6659 rm -f conf$$ conf$$.exe conf$$.file
6660 if test -d conf$$.dir; then
6661 rm -f conf$$.dir/conf$$.file
6664 mkdir conf$$.dir 2>/dev/null
6666 if (echo >conf$$.file) 2>/dev/null; then
6667 if ln -s conf$$.file conf$$ 2>/dev/null; then
6669 # ... but there are two gotchas:
6670 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6671 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6672 # In both cases, we have to default to `cp -p'.
6673 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6675 elif ln conf$$.file conf$$ 2>/dev/null; then
6683 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6684 rmdir conf$$.dir 2>/dev/null
6686 if mkdir -p . 2>/dev/null; then
6689 test -d ./-p && rmdir ./-p
6693 if test -x / >/dev/null 2>&1; then
6696 if ls -dL / >/dev/null 2>&1; then
6703 if test -d "$1"; then
6709 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6710 ???[sx]*):;;*)false;;esac;fi
6714 as_executable_p=$as_test_x
6716 # Sed expression to map a string onto a valid CPP name.
6717 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6719 # Sed expression to map a string onto a valid variable name.
6720 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6725 # Save the log message, to keep $[0] and so on meaningful, and to
6726 # report actual input values of CONFIG_FILES etc. instead of their
6727 # values after options handling.
6729 This file was extended by flite+hts_engine $as_me 1.05, which was
6730 generated by GNU Autoconf 2.63. Invocation command line was
6732 CONFIG_FILES = $CONFIG_FILES
6733 CONFIG_HEADERS = $CONFIG_HEADERS
6734 CONFIG_LINKS = $CONFIG_LINKS
6735 CONFIG_COMMANDS = $CONFIG_COMMANDS
6738 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6743 case $ac_config_files in *"
6744 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6750 # Files that config.status was made for.
6751 config_files="$ac_config_files"
6752 config_commands="$ac_config_commands"
6756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6758 \`$as_me' instantiates files from templates according to the
6759 current configuration.
6761 Usage: $0 [OPTION]... [FILE]...
6763 -h, --help print this help, then exit
6764 -V, --version print version number and configuration settings, then exit
6765 -q, --quiet, --silent
6766 do not print progress messages
6767 -d, --debug don't remove temporary files
6768 --recheck update $as_me by reconfiguring in the same conditions
6769 --file=FILE[:TEMPLATE]
6770 instantiate the configuration file FILE
6772 Configuration files:
6775 Configuration commands:
6778 Report bugs to <bug-autoconf@gnu.org>."
6781 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6783 flite+hts_engine config.status 1.05
6784 configured by $0, generated by GNU Autoconf 2.63,
6785 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6787 Copyright (C) 2008 Free Software Foundation, Inc.
6788 This config.status script is free software; the Free Software Foundation
6789 gives unlimited permission to copy, distribute and modify it."
6796 test -n "\$AWK" || AWK=awk
6799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6800 # The default lists apply if the user does not specify any file.
6806 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6807 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6818 # Handling of the options.
6819 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6821 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6822 $as_echo "$ac_cs_version"; exit ;;
6823 --debug | --debu | --deb | --de | --d | -d )
6825 --file | --fil | --fi | --f )
6828 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6830 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6831 ac_need_defaults=false;;
6832 --he | --h | --help | --hel | -h )
6833 $as_echo "$ac_cs_usage"; exit ;;
6834 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6835 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6839 -*) { $as_echo "$as_me: error: unrecognized option: $1
6840 Try \`$0 --help' for more information." >&2
6841 { (exit 1); exit 1; }; } ;;
6843 *) ac_config_targets="$ac_config_targets $1"
6844 ac_need_defaults=false ;;
6850 ac_configure_extra_args=
6852 if $ac_cs_silent; then
6854 ac_configure_extra_args="$ac_configure_extra_args --silent"
6858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6859 if \$ac_cs_recheck; then
6860 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6862 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6863 CONFIG_SHELL='$SHELL'
6869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6874 ## Running $as_me. ##
6880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6888 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6890 # Handling of arguments.
6891 for ac_config_target in $ac_config_targets
6893 case $ac_config_target in
6894 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6895 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6896 "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
6897 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6899 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6900 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6901 { (exit 1); exit 1; }; };;
6906 # If the user did not use the arguments to specify the items to instantiate,
6907 # then the envvar interface is used. Set only those that are not.
6908 # We use the long form for the default assignment because of an extremely
6909 # bizarre bug on SunOS 4.1.3.
6910 if $ac_need_defaults; then
6911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6912 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6915 # Have a temporary directory for convenience. Make it in the build tree
6916 # simply because there is no reason against having it here, and in addition,
6917 # creating and moving files from /tmp can sometimes cause problems.
6918 # Hook for its removal unless debugging.
6919 # Note that there is a small window in which the directory will not be cleaned:
6920 # after its creation but before its name has been assigned to `$tmp'.
6924 trap 'exit_status=$?
6925 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6927 trap '{ (exit 1); exit 1; }' 1 2 13 15
6929 # Create a (secure) tmp directory for tmp files.
6932 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6933 test -n "$tmp" && test -d "$tmp"
6936 tmp=./conf$$-$RANDOM
6937 (umask 077 && mkdir "$tmp")
6940 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6941 { (exit 1); exit 1; }
6944 # Set up the scripts for CONFIG_FILES section.
6945 # No need to generate them if there are no CONFIG_FILES.
6946 # This happens for instance with `./config.status config.h'.
6947 if test -n "$CONFIG_FILES"; then
6951 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6952 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6958 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6963 echo "cat >conf$$subs.awk <<_ACEOF" &&
6964 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6967 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6968 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6969 { (exit 1); exit 1; }; }
6970 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6972 for ac_last_try in false false false false false :; do
6973 . ./conf$$subs.sh ||
6974 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6975 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6976 { (exit 1); exit 1; }; }
6978 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6979 if test $ac_delim_n = $ac_delim_num; then
6981 elif $ac_last_try; then
6982 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6983 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6984 { (exit 1); exit 1; }; }
6986 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6992 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6996 s/^/S["/; s/!.*/"]=/
7006 s/\(.\{148\}\).*/\1/
7008 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7013 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7020 s/\(.\{148\}\).*/\1/
7022 s/["\\]/\\&/g; s/^/"/; s/$/"/
7026 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7031 ' <conf$$subs.awk | sed '
7036 ' >>$CONFIG_STATUS || ac_write_fail=1
7037 rm -f conf$$subs.awk
7038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7040 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7041 for (key in S) S_is_set[key] = 1
7047 nfields = split(line, field, "@")
7049 len = length(field[1])
7050 for (i = 2; i < nfields; i++) {
7052 keylen = length(key)
7053 if (S_is_set[key]) {
7055 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7056 len += length(value) + length(field[++i])
7067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7068 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7069 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7072 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7073 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
7074 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
7075 { (exit 1); exit 1; }; }
7078 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7079 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7080 # trailing colons and then remove the whole line if VPATH becomes empty
7081 # (actually we leave an empty line to preserve line numbers).
7082 if test "x$srcdir" = x.; then
7083 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7087 s/^\([^=]*=[ ]*\):*/\1/
7093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7094 fi # test -n "$CONFIG_FILES"
7097 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
7102 :[FHLC]) ac_mode=$ac_tag; continue;;
7104 case $ac_mode$ac_tag in
7106 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
7107 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
7108 { (exit 1); exit 1; }; };;
7109 :[FH]-) ac_tag=-:-;;
7110 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7127 -) ac_f="$tmp/stdin";;
7128 *) # Look for the file first in the build tree, then in the source tree
7129 # (if the path is not absolute). The absolute path cannot be DOS-style,
7130 # because $ac_f cannot contain `:'.
7134 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7136 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7137 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7138 { (exit 1); exit 1; }; };;
7140 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7141 ac_file_inputs="$ac_file_inputs '$ac_f'"
7144 # Let's still pretend it is `configure' which instantiates (i.e., don't
7145 # use $as_me), people would be surprised to read:
7146 # /* config.h. Generated by config.status. */
7147 configure_input='Generated from '`
7148 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7150 if test x"$ac_file" != x-; then
7151 configure_input="$ac_file. $configure_input"
7152 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
7153 $as_echo "$as_me: creating $ac_file" >&6;}
7155 # Neutralize special characters interpreted by sed in replacement strings.
7156 case $configure_input in #(
7157 *\&* | *\|* | *\\* )
7158 ac_sed_conf_input=`$as_echo "$configure_input" |
7159 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7160 *) ac_sed_conf_input=$configure_input;;
7164 *:-:* | *:-) cat >"$tmp/stdin" \
7165 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7166 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7167 { (exit 1); exit 1; }; } ;;
7172 ac_dir=`$as_dirname -- "$ac_file" ||
7173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7174 X"$ac_file" : 'X\(//\)[^/]' \| \
7175 X"$ac_file" : 'X\(//\)$' \| \
7176 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7177 $as_echo X"$ac_file" |
7178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7197 -*) as_dir=./$as_dir;;
7199 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7203 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7204 *) as_qdir=$as_dir;;
7206 as_dirs="'$as_qdir' $as_dirs"
7207 as_dir=`$as_dirname -- "$as_dir" ||
7208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7209 X"$as_dir" : 'X\(//\)[^/]' \| \
7210 X"$as_dir" : 'X\(//\)$' \| \
7211 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7212 $as_echo X"$as_dir" |
7213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7230 test -d "$as_dir" && break
7232 test -z "$as_dirs" || eval "mkdir $as_dirs"
7233 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7234 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7235 { (exit 1); exit 1; }; }; }
7239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7241 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7242 # A ".." for each directory in $ac_dir_suffix.
7243 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7244 case $ac_top_builddir_sub in
7245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7249 ac_abs_top_builddir=$ac_pwd
7250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7251 # for backward compatibility:
7252 ac_top_builddir=$ac_top_build_prefix
7255 .) # We are building in place.
7257 ac_top_srcdir=$ac_top_builddir_sub
7258 ac_abs_top_srcdir=$ac_pwd ;;
7259 [\\/]* | ?:[\\/]* ) # Absolute name.
7260 ac_srcdir=$srcdir$ac_dir_suffix;
7261 ac_top_srcdir=$srcdir
7262 ac_abs_top_srcdir=$srcdir ;;
7264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7265 ac_top_srcdir=$ac_top_build_prefix$srcdir
7266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7279 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7283 [\\/$]* | ?:[\\/]* ) ;;
7284 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7289 # If the template does not know about datarootdir, expand it.
7290 # FIXME: This hack should be removed a few years after 2.60.
7291 ac_datarootdir_hack=; ac_datarootdir_seen=
7304 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7305 *datarootdir*) ac_datarootdir_seen=yes;;
7306 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7307 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7308 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7311 ac_datarootdir_hack='
7312 s&@datadir@&$datadir&g
7313 s&@docdir@&$docdir&g
7314 s&@infodir@&$infodir&g
7315 s&@localedir@&$localedir&g
7316 s&@mandir@&$mandir&g
7317 s&\\\${datarootdir}&$datarootdir&g' ;;
7321 # Neutralize VPATH when `$srcdir' = `.'.
7322 # Shell code in configure.ac might set extrasub.
7323 # FIXME: do we really want to maintain this feature?
7324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7325 ac_sed_extra="$ac_vpsub
7328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7331 s|@configure_input@|$ac_sed_conf_input|;t t
7332 s&@top_builddir@&$ac_top_builddir_sub&;t t
7333 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7334 s&@srcdir@&$ac_srcdir&;t t
7335 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7336 s&@top_srcdir@&$ac_top_srcdir&;t t
7337 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7338 s&@builddir@&$ac_builddir&;t t
7339 s&@abs_builddir@&$ac_abs_builddir&;t t
7340 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7341 s&@INSTALL@&$ac_INSTALL&;t t
7342 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7343 $ac_datarootdir_hack
7345 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7346 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7347 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7348 { (exit 1); exit 1; }; }
7350 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7351 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7352 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7353 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7354 which seems to be undefined. Please make sure it is defined." >&5
7355 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7356 which seems to be undefined. Please make sure it is defined." >&2;}
7360 -) cat "$tmp/out" && rm -f "$tmp/out";;
7361 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7363 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7364 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7365 { (exit 1); exit 1; }; }
7369 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7370 $as_echo "$as_me: executing $ac_file commands" >&6;}
7375 case $ac_file$ac_mode in
7376 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
7377 # are listed without --file. Let's play safe and only enable the eval
7378 # if we detect the quoting.
7379 case $CONFIG_FILES in
7380 *\'*) eval set x "$CONFIG_FILES" ;;
7381 *) set x $CONFIG_FILES ;;
7386 # Strip MF so we end up with the name of the file.
7387 mf=`echo "$mf" | sed -e 's/:.*$//'`
7388 # Check whether this is an Automake generated Makefile or not.
7389 # We used to match only the files named `Makefile.in', but
7390 # some people rename them; so instead we look at the file content.
7391 # Grep'ing the first line is not enough: some people post-process
7392 # each Makefile.in and add a new line on top of each file to say so.
7393 # Grep'ing the whole file is not good either: AIX grep has a line
7394 # limit of 2048, but all sed's we know have understand at least 4000.
7395 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7396 dirpart=`$as_dirname -- "$mf" ||
7397 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7398 X"$mf" : 'X\(//\)[^/]' \| \
7399 X"$mf" : 'X\(//\)$' \| \
7400 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7422 # Extract the definition of DEPDIR, am__include, and am__quote
7423 # from the Makefile without running `make'.
7424 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7425 test -z "$DEPDIR" && continue
7426 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7427 test -z "am__include" && continue
7428 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7429 # When using ansi2knr, U may be empty or an underscore; expand it
7430 U=`sed -n 's/^U = //p' < "$mf"`
7431 # Find all dependency output files, they are included files with
7432 # $(DEPDIR) in their names. We invoke sed twice because it is the
7433 # simplest approach to changing $(DEPDIR) to its actual value in the
7435 for file in `sed -n "
7436 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7437 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7438 # Make sure the directory exists.
7439 test -f "$dirpart/$file" && continue
7440 fdir=`$as_dirname -- "$file" ||
7441 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7442 X"$file" : 'X\(//\)[^/]' \| \
7443 X"$file" : 'X\(//\)$' \| \
7444 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7463 { as_dir=$dirpart/$fdir
7465 -*) as_dir=./$as_dir;;
7467 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7471 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7472 *) as_qdir=$as_dir;;
7474 as_dirs="'$as_qdir' $as_dirs"
7475 as_dir=`$as_dirname -- "$as_dir" ||
7476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7477 X"$as_dir" : 'X\(//\)[^/]' \| \
7478 X"$as_dir" : 'X\(//\)$' \| \
7479 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7480 $as_echo X"$as_dir" |
7481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7498 test -d "$as_dir" && break
7500 test -z "$as_dirs" || eval "mkdir $as_dirs"
7501 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7502 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7503 { (exit 1); exit 1; }; }; }
7504 # echo "creating $dirpart/$file"
7505 echo '# dummy' > "$dirpart/$file"
7514 { (exit 0); exit 0; }
7516 chmod +x $CONFIG_STATUS
7517 ac_clean_files=$ac_clean_files_save
7519 test $ac_write_fail = 0 ||
7520 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7521 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7522 { (exit 1); exit 1; }; }
7525 # configure is writing to config.log, and then calls config.status.
7526 # config.status does its own redirection, appending to config.log.
7527 # Unfortunately, on DOS this fails, as config.log is still kept open
7528 # by configure, so config.status won't be able to write to it; its
7529 # output is simply discarded. So we exec the FD to /dev/null,
7530 # effectively closing config.log, so it can be properly (re)opened and
7531 # appended to by config.status. When coming back to configure, we
7532 # need to make the FD available again.
7533 if test "$no_create" != yes; then
7535 ac_config_status_args=
7536 test "$silent" = yes &&
7537 ac_config_status_args="$ac_config_status_args --quiet"
7539 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7541 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7542 # would make configure fail if this is the last instruction.
7543 $ac_cs_success || { (exit 1); exit 1; }
7545 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7546 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7547 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}