2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for tsparser 20110219.
5 # Report bugs to <koukou@users.sourceforge.jp>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
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 #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: koukou@users.sourceforge.jp about your system,
235 $0: including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
243 SHELL=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir=./$as_dir;;
288 test -d "$as_dir" || eval $as_mkdir_p || {
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs="'$as_qdir' $as_dirs"
296 as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357 as_val=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status=$?; test $as_status -eq 0 && as_status=1
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
473 mkdir conf$$.dir 2>/dev/null
475 if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 elif ln conf$$.file conf$$ 2>/dev/null; then
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
495 if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
498 test -d ./-p && rmdir ./-p
502 if test -x / >/dev/null 2>&1; then
505 if ls -dL / >/dev/null 2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" || exec 7<&0 </dev/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix=/usr/local
545 ac_config_libobj_dir=.
552 # Identity of this package.
553 PACKAGE_NAME='tsparser'
554 PACKAGE_TARNAME='tsparser'
555 PACKAGE_VERSION='20110219'
556 PACKAGE_STRING='tsparser 20110219'
557 PACKAGE_BUGREPORT='koukou@users.sourceforge.jp'
560 ac_unique_file="src/tsparser.cpp"
561 # Factoring default headers for most tests.
562 ac_includes_default="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
599 ac_subst_vars='am__EXEEXT_FALSE
637 INSTALL_STRIP_PROGRAM
679 program_transform_name
692 enable_option_checking
693 enable_dependency_tracking
695 ac_precious_vars='build_alias
709 # Initialize some variables set by options.
711 ac_init_version=false
712 ac_unrecognized_opts=
714 # The variables have the same names as the options, with
715 # dashes changed to underlines.
723 program_transform_name=s,x,x,
731 # Installation directory options.
732 # These are left unexpanded so users can "make install exec_prefix=/foo"
733 # and all the variables that are supposed to be based on exec_prefix
734 # by default will actually change.
735 # Use braces instead of parens because sh, perl, etc. also accept them.
736 # (The list follows the same order as the GNU Coding Standards.)
737 bindir='${exec_prefix}/bin'
738 sbindir='${exec_prefix}/sbin'
739 libexecdir='${exec_prefix}/libexec'
740 datarootdir='${prefix}/share'
741 datadir='${datarootdir}'
742 sysconfdir='${prefix}/etc'
743 sharedstatedir='${prefix}/com'
744 localstatedir='${prefix}/var'
745 includedir='${prefix}/include'
746 oldincludedir='/usr/include'
747 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
748 infodir='${datarootdir}/info'
753 libdir='${exec_prefix}/lib'
754 localedir='${datarootdir}/locale'
755 mandir='${datarootdir}/man'
761 # If the previous option needs an argument, assign it.
762 if test -n "$ac_prev"; then
763 eval $ac_prev=\$ac_option
769 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773 # Accept the important Cygnus configure options, so we can diagnose typos.
775 case $ac_dashdash$ac_option in
779 -bindir | --bindir | --bindi | --bind | --bin | --bi)
781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
784 -build | --build | --buil | --bui | --bu)
785 ac_prev=build_alias ;;
786 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
787 build_alias=$ac_optarg ;;
789 -cache-file | --cache-file | --cache-fil | --cache-fi \
790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
791 ac_prev=cache_file ;;
792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
794 cache_file=$ac_optarg ;;
797 cache_file=config.cache ;;
799 -datadir | --datadir | --datadi | --datad)
801 -datadir=* | --datadir=* | --datadi=* | --datad=*)
802 datadir=$ac_optarg ;;
804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
805 | --dataroo | --dataro | --datar)
806 ac_prev=datarootdir ;;
807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
809 datarootdir=$ac_optarg ;;
811 -disable-* | --disable-*)
812 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
813 # Reject names that are not valid shell variable names.
814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815 as_fn_error "invalid feature name: $ac_useropt"
816 ac_useropt_orig=$ac_useropt
817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818 case $ac_user_opts in
822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
823 ac_unrecognized_sep=', ';;
825 eval enable_$ac_useropt=no ;;
827 -docdir | --docdir | --docdi | --doc | --do)
829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
837 -enable-* | --enable-*)
838 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
839 # Reject names that are not valid shell variable names.
840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
841 as_fn_error "invalid feature name: $ac_useropt"
842 ac_useropt_orig=$ac_useropt
843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
844 case $ac_user_opts in
848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
849 ac_unrecognized_sep=', ';;
851 eval enable_$ac_useropt=\$ac_optarg ;;
853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
855 | --exec | --exe | --ex)
856 ac_prev=exec_prefix ;;
857 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
858 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
859 | --exec=* | --exe=* | --ex=*)
860 exec_prefix=$ac_optarg ;;
862 -gas | --gas | --ga | --g)
863 # Obsolete; use --with-gas.
866 -help | --help | --hel | --he | -h)
868 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
869 ac_init_help=recursive ;;
870 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
871 ac_init_help=short ;;
873 -host | --host | --hos | --ho)
874 ac_prev=host_alias ;;
875 -host=* | --host=* | --hos=* | --ho=*)
876 host_alias=$ac_optarg ;;
878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
882 htmldir=$ac_optarg ;;
884 -includedir | --includedir | --includedi | --included | --include \
885 | --includ | --inclu | --incl | --inc)
886 ac_prev=includedir ;;
887 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
888 | --includ=* | --inclu=* | --incl=* | --inc=*)
889 includedir=$ac_optarg ;;
891 -infodir | --infodir | --infodi | --infod | --info | --inf)
893 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
894 infodir=$ac_optarg ;;
896 -libdir | --libdir | --libdi | --libd)
898 -libdir=* | --libdir=* | --libdi=* | --libd=*)
901 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
902 | --libexe | --libex | --libe)
903 ac_prev=libexecdir ;;
904 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
905 | --libexe=* | --libex=* | --libe=*)
906 libexecdir=$ac_optarg ;;
908 -localedir | --localedir | --localedi | --localed | --locale)
910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
911 localedir=$ac_optarg ;;
913 -localstatedir | --localstatedir | --localstatedi | --localstated \
914 | --localstate | --localstat | --localsta | --localst | --locals)
915 ac_prev=localstatedir ;;
916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
918 localstatedir=$ac_optarg ;;
920 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
922 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
926 # Obsolete; use --without-fp.
929 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
930 | --no-cr | --no-c | -n)
933 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
934 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
937 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
938 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
939 | --oldin | --oldi | --old | --ol | --o)
940 ac_prev=oldincludedir ;;
941 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
942 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
943 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
944 oldincludedir=$ac_optarg ;;
946 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
948 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
951 -program-prefix | --program-prefix | --program-prefi | --program-pref \
952 | --program-pre | --program-pr | --program-p)
953 ac_prev=program_prefix ;;
954 -program-prefix=* | --program-prefix=* | --program-prefi=* \
955 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
956 program_prefix=$ac_optarg ;;
958 -program-suffix | --program-suffix | --program-suffi | --program-suff \
959 | --program-suf | --program-su | --program-s)
960 ac_prev=program_suffix ;;
961 -program-suffix=* | --program-suffix=* | --program-suffi=* \
962 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
963 program_suffix=$ac_optarg ;;
965 -program-transform-name | --program-transform-name \
966 | --program-transform-nam | --program-transform-na \
967 | --program-transform-n | --program-transform- \
968 | --program-transform | --program-transfor \
969 | --program-transfo | --program-transf \
970 | --program-trans | --program-tran \
971 | --progr-tra | --program-tr | --program-t)
972 ac_prev=program_transform_name ;;
973 -program-transform-name=* | --program-transform-name=* \
974 | --program-transform-nam=* | --program-transform-na=* \
975 | --program-transform-n=* | --program-transform-=* \
976 | --program-transform=* | --program-transfor=* \
977 | --program-transfo=* | --program-transf=* \
978 | --program-trans=* | --program-tran=* \
979 | --progr-tra=* | --program-tr=* | --program-t=*)
980 program_transform_name=$ac_optarg ;;
982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
987 -psdir | --psdir | --psdi | --psd | --ps)
989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
993 | -silent | --silent | --silen | --sile | --sil)
996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1000 sbindir=$ac_optarg ;;
1002 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1003 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1004 | --sharedst | --shareds | --shared | --share | --shar \
1006 ac_prev=sharedstatedir ;;
1007 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1008 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1009 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1011 sharedstatedir=$ac_optarg ;;
1013 -site | --site | --sit)
1015 -site=* | --site=* | --sit=*)
1018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1021 srcdir=$ac_optarg ;;
1023 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1024 | --syscon | --sysco | --sysc | --sys | --sy)
1025 ac_prev=sysconfdir ;;
1026 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1027 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1028 sysconfdir=$ac_optarg ;;
1030 -target | --target | --targe | --targ | --tar | --ta | --t)
1031 ac_prev=target_alias ;;
1032 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1033 target_alias=$ac_optarg ;;
1035 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038 -version | --version | --versio | --versi | --vers | -V)
1039 ac_init_version=: ;;
1042 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error "invalid package name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval with_$ac_useropt=\$ac_optarg ;;
1057 -without-* | --without-*)
1058 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1059 # Reject names that are not valid shell variable names.
1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 as_fn_error "invalid package name: $ac_useropt"
1062 ac_useropt_orig=$ac_useropt
1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064 case $ac_user_opts in
1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1069 ac_unrecognized_sep=', ';;
1071 eval with_$ac_useropt=no ;;
1074 # Obsolete; use --with-x.
1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1078 | --x-incl | --x-inc | --x-in | --x-i)
1079 ac_prev=x_includes ;;
1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1082 x_includes=$ac_optarg ;;
1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1086 ac_prev=x_libraries ;;
1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1089 x_libraries=$ac_optarg ;;
1091 -*) as_fn_error "unrecognized option: \`$ac_option'
1092 Try \`$0 --help' for more information."
1096 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1097 # Reject names that are not valid shell variable names.
1098 case $ac_envvar in #(
1099 '' | [0-9]* | *[!_$as_cr_alnum]* )
1100 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1102 eval $ac_envvar=\$ac_optarg
1103 export $ac_envvar ;;
1106 # FIXME: should be removed in autoconf 3.0.
1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1110 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1116 if test -n "$ac_prev"; then
1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1118 as_fn_error "missing argument to $ac_option"
1121 if test -n "$ac_unrecognized_opts"; then
1122 case $enable_option_checking in
1124 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 # Check all directory arguments for consistency.
1130 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1131 datadir sysconfdir sharedstatedir localstatedir includedir \
1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1133 libdir localedir mandir
1135 eval ac_val=\$$ac_var
1136 # Remove trailing slashes.
1139 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1140 eval $ac_var=\$ac_val;;
1142 # Be sure to have absolute directory names.
1144 [\\/$]* | ?:[\\/]* ) continue;;
1145 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1147 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1150 # There might be people who depend on the old broken behavior: `$host'
1151 # used to hold the argument of --host etc.
1152 # FIXME: To remove some day.
1155 target=$target_alias
1157 # FIXME: To remove some day.
1158 if test "x$host_alias" != x; then
1159 if test "x$build_alias" = x; then
1160 cross_compiling=maybe
1161 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1162 If a cross compiler is detected then cross compile mode will be used." >&2
1163 elif test "x$build_alias" != "x$host_alias"; then
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error "pwd does not report name of working directory"
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1214 ac_srcdir_defaulted=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1248 \`configure' configures tsparser 20110219 to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --libdir=DIR object code libraries [EPREFIX/lib]
1289 --includedir=DIR C header files [PREFIX/include]
1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1293 --infodir=DIR info documentation [DATAROOTDIR/info]
1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1295 --mandir=DIR man documentation [DATAROOTDIR/man]
1296 --docdir=DIR documentation root [DATAROOTDIR/doc/tsparser]
1297 --htmldir=DIR html documentation [DOCDIR]
1298 --dvidir=DIR dvi documentation [DOCDIR]
1299 --pdfdir=DIR pdf documentation [DOCDIR]
1300 --psdir=DIR ps documentation [DOCDIR]
1306 --program-prefix=PREFIX prepend PREFIX to installed program names
1307 --program-suffix=SUFFIX append SUFFIX to installed program names
1308 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1312 if test -n "$ac_init_help"; then
1313 case $ac_init_help in
1314 short | recursive ) echo "Configuration of tsparser 20110219:";;
1319 --disable-option-checking ignore unrecognized --enable/--with options
1320 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1321 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1322 --disable-dependency-tracking speeds up one-time build
1323 --enable-dependency-tracking do not reject slow dependency extractors
1325 Some influential environment variables:
1326 CXX C++ compiler command
1327 CXXFLAGS C++ compiler flags
1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1329 nonstandard directory <lib dir>
1330 LIBS libraries to pass to the linker, e.g. -l<library>
1331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1332 you have headers in a nonstandard directory <include dir>
1333 CC C compiler command
1334 CFLAGS C compiler flags
1337 Use these variables to override the choices made by `configure' or to help
1338 it to find libraries and programs with nonstandard names/locations.
1340 Report bugs to <koukou@users.sourceforge.jp>.
1345 if test "$ac_init_help" = "recursive"; then
1346 # If there are subdirs, report their specific --help.
1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1348 test -d "$ac_dir" ||
1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1357 # A ".." for each directory in $ac_dir_suffix.
1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1359 case $ac_top_builddir_sub in
1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1364 ac_abs_top_builddir=$ac_pwd
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1366 # for backward compatibility:
1367 ac_top_builddir=$ac_top_build_prefix
1370 .) # We are building in place.
1372 ac_top_srcdir=$ac_top_builddir_sub
1373 ac_abs_top_srcdir=$ac_pwd ;;
1374 [\\/]* | ?:[\\/]* ) # Absolute name.
1375 ac_srcdir=$srcdir$ac_dir_suffix;
1376 ac_top_srcdir=$srcdir
1377 ac_abs_top_srcdir=$srcdir ;;
1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1380 ac_top_srcdir=$ac_top_build_prefix$srcdir
1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1385 cd "$ac_dir" || { ac_status=$?; continue; }
1386 # Check for guested configure.
1387 if test -f "$ac_srcdir/configure.gnu"; then
1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1390 elif test -f "$ac_srcdir/configure"; then
1392 $SHELL "$ac_srcdir/configure" --help=recursive
1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1396 cd "$ac_pwd" || { ac_status=$?; break; }
1400 test -n "$ac_init_help" && exit $ac_status
1401 if $ac_init_version; then
1403 tsparser configure 20110219
1404 generated by GNU Autoconf 2.65
1406 Copyright (C) 2009 Free Software Foundation, Inc.
1407 This configure script is free software; the Free Software Foundation
1408 gives unlimited permission to copy, distribute and modify it.
1413 ## ------------------------ ##
1414 ## Autoconf initialization. ##
1415 ## ------------------------ ##
1417 # ac_fn_cxx_try_compile LINENO
1418 # ----------------------------
1419 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1420 ac_fn_cxx_try_compile ()
1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1423 rm -f conftest.$ac_objext
1424 if { { ac_try="$ac_compile"
1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1427 *) ac_try_echo=$ac_try;;
1429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1430 $as_echo "$ac_try_echo"; } >&5
1431 (eval "$ac_compile") 2>conftest.err
1433 if test -s conftest.err; then
1434 grep -v '^ *+' conftest.err >conftest.er1
1435 cat conftest.er1 >&5
1436 mv -f conftest.er1 conftest.err
1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1439 test $ac_status = 0; } && {
1440 test -z "$ac_cxx_werror_flag" ||
1441 test ! -s conftest.err
1442 } && test -s conftest.$ac_objext; then :
1445 $as_echo "$as_me: failed program was:" >&5
1446 sed 's/^/| /' conftest.$ac_ext >&5
1450 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1451 as_fn_set_status $ac_retval
1453 } # ac_fn_cxx_try_compile
1455 # ac_fn_c_try_compile LINENO
1456 # --------------------------
1457 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1458 ac_fn_c_try_compile ()
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 rm -f conftest.$ac_objext
1462 if { { ac_try="$ac_compile"
1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_compile") 2>conftest.err
1471 if test -s conftest.err; then
1472 grep -v '^ *+' conftest.err >conftest.er1
1473 cat conftest.er1 >&5
1474 mv -f conftest.er1 conftest.err
1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1477 test $ac_status = 0; } && {
1478 test -z "$ac_c_werror_flag" ||
1479 test ! -s conftest.err
1480 } && test -s conftest.$ac_objext; then :
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1488 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1489 as_fn_set_status $ac_retval
1491 } # ac_fn_c_try_compile
1493 # ac_fn_c_try_cpp LINENO
1494 # ----------------------
1495 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 if { { ac_try="$ac_cpp conftest.$ac_ext"
1501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1502 *) ac_try_echo=$ac_try;;
1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1505 $as_echo "$ac_try_echo"; } >&5
1506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1508 if test -s conftest.err; then
1509 grep -v '^ *+' conftest.err >conftest.er1
1510 cat conftest.er1 >&5
1511 mv -f conftest.er1 conftest.err
1513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1514 test $ac_status = 0; } >/dev/null && {
1515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1516 test ! -s conftest.err
1520 $as_echo "$as_me: failed program was:" >&5
1521 sed 's/^/| /' conftest.$ac_ext >&5
1525 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1526 as_fn_set_status $ac_retval
1530 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1531 # -------------------------------------------------------
1532 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1533 # the include files in INCLUDES and setting the cache variable VAR
1535 ac_fn_c_check_header_mongrel ()
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1540 $as_echo_n "checking for $2... " >&6; }
1541 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1542 $as_echo_n "(cached) " >&6
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1546 $as_echo "$ac_res" >&6; }
1548 # Is the header compilable?
1549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1550 $as_echo_n "checking $2 usability... " >&6; }
1551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552 /* end confdefs.h. */
1556 if ac_fn_c_try_compile "$LINENO"; then :
1557 ac_header_compiler=yes
1559 ac_header_compiler=no
1561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1563 $as_echo "$ac_header_compiler" >&6; }
1565 # Is the header present?
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1567 $as_echo_n "checking $2 presence... " >&6; }
1568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1569 /* end confdefs.h. */
1572 if ac_fn_c_try_cpp "$LINENO"; then :
1573 ac_header_preproc=yes
1575 ac_header_preproc=no
1577 rm -f conftest.err conftest.$ac_ext
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1579 $as_echo "$ac_header_preproc" >&6; }
1581 # So? What about this header?
1582 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1585 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1587 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1591 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1593 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1595 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1597 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1599 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1601 ## ------------------------------------------ ##
1602 ## Report this to koukou@users.sourceforge.jp ##
1603 ## ------------------------------------------ ##
1605 ) | sed "s/^/$as_me: WARNING: /" >&2
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1609 $as_echo_n "checking for $2... " >&6; }
1610 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611 $as_echo_n "(cached) " >&6
1613 eval "$3=\$ac_header_compiler"
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1621 } # ac_fn_c_check_header_mongrel
1623 # ac_fn_c_try_run LINENO
1624 # ----------------------
1625 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1626 # that executables *can* be run.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 if { { ac_try="$ac_link"
1632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633 *) ac_try_echo=$ac_try;;
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637 (eval "$ac_link") 2>&5
1639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1640 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1641 { { case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_try") 2>&5
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; }; }; then :
1653 $as_echo "$as_me: program exited with status $ac_status" >&5
1654 $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1657 ac_retval=$ac_status
1659 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661 as_fn_set_status $ac_retval
1665 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1666 # -------------------------------------------------------
1667 # Tests whether HEADER exists and can be compiled using the include files in
1668 # INCLUDES, setting the cache variable VAR accordingly.
1669 ac_fn_c_check_header_compile ()
1671 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1673 $as_echo_n "checking for $2... " >&6; }
1674 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1675 $as_echo_n "(cached) " >&6
1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678 /* end confdefs.h. */
1682 if ac_fn_c_try_compile "$LINENO"; then :
1687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1694 } # ac_fn_c_check_header_compile
1696 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1697 # -------------------------------------------
1698 # Tests whether TYPE exists after having included INCLUDES, setting cache
1699 # variable VAR accordingly.
1700 ac_fn_c_check_type ()
1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1706 $as_echo_n "(cached) " >&6
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h. */
1721 if ac_fn_c_try_compile "$LINENO"; then :
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1734 if ac_fn_c_try_compile "$LINENO"; then :
1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_check_type
1750 # ac_fn_c_find_intX_t LINENO BITS VAR
1751 # -----------------------------------
1752 # Finds a signed integer type with width BITS, setting cache variable VAR
1754 ac_fn_c_find_intX_t ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
1758 $as_echo_n "checking for int$2_t... " >&6; }
1759 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1760 $as_echo_n "(cached) " >&6
1763 # Order is important - never check a type that is potentially smaller
1764 # than half of the expected target width.
1765 for ac_type in int$2_t 'int' 'long int' \
1766 'long long int' 'short int' 'signed char'; do
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1769 $ac_includes_default
1770 enum { N = $2 / 2 - 1 };
1774 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1781 if ac_fn_c_try_compile "$LINENO"; then :
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h. */
1784 $ac_includes_default
1785 enum { N = $2 / 2 - 1 };
1789 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
1790 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1797 if ac_fn_c_try_compile "$LINENO"; then :
1804 eval "$3=\$ac_type" ;;
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811 if test "x$as_val" = x""no; then :
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_find_intX_t
1825 # ac_fn_c_find_uintX_t LINENO BITS VAR
1826 # ------------------------------------
1827 # Finds an unsigned integer type with width BITS, setting cache variable VAR
1829 ac_fn_c_find_uintX_t ()
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
1833 $as_echo_n "checking for uint$2_t... " >&6; }
1834 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1835 $as_echo_n "(cached) " >&6
1838 # Order is important - never check a type that is potentially smaller
1839 # than half of the expected target width.
1840 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
1841 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 $ac_includes_default
1848 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1855 if ac_fn_c_try_compile "$LINENO"; then :
1860 eval "$3=\$ac_type" ;;
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 if test "x$as_val" = x""no; then :
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874 $as_echo "$ac_res" >&6; }
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_c_find_uintX_t
1879 # ac_fn_c_try_link LINENO
1880 # -----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 rm -f conftest.$ac_objext conftest$ac_exeext
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1889 *) ac_try_echo=$ac_try;;
1891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>conftest.err
1895 if test -s conftest.err; then
1896 grep -v '^ *+' conftest.err >conftest.er1
1897 cat conftest.er1 >&5
1898 mv -f conftest.er1 conftest.err
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; } && {
1902 test -z "$ac_c_werror_flag" ||
1903 test ! -s conftest.err
1904 } && test -s conftest$ac_exeext && {
1905 test "$cross_compiling" = yes ||
1906 $as_test_x conftest$ac_exeext
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1915 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1916 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1917 # interfere with the next link command; also delete a directory that is
1918 # left behind by Apple's compiler. We do this before executing the actions.
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1921 as_fn_set_status $ac_retval
1923 } # ac_fn_c_try_link
1925 # ac_fn_c_check_func LINENO FUNC VAR
1926 # ----------------------------------
1927 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1928 ac_fn_c_check_func ()
1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1934 $as_echo_n "(cached) " >&6
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1938 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1940 #define $2 innocuous_$2
1942 /* System header to define __stub macros and hopefully few prototypes,
1943 which can conflict with char $2 (); below.
1944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1945 <limits.h> exists even on freestanding compilers. */
1948 # include <limits.h>
1950 # include <assert.h>
1955 /* Override any GCC internal prototype to avoid an error.
1956 Use char because int might match the return type of a GCC
1957 builtin and then its argument prototype would still apply. */
1962 /* The GNU C library defines this for functions which it implements
1963 to always fail with ENOSYS. Some functions are actually named
1964 something starting with __ and the normal name is an alias. */
1965 #if defined __stub_$2 || defined __stub___$2
1977 if ac_fn_c_try_link "$LINENO"; then :
1982 rm -f core conftest.err conftest.$ac_objext \
1983 conftest$ac_exeext conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990 } # ac_fn_c_check_func
1991 cat >config.log <<_ACEOF
1992 This file contains any messages produced by compilers while
1993 running configure, to aid debugging if configure makes a mistake.
1995 It was created by tsparser $as_me 20110219, which was
1996 generated by GNU Autoconf 2.65. Invocation command line was
2008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2009 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2010 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2011 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2012 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2020 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2031 test -z "$as_dir" && as_dir=.
2032 $as_echo "PATH: $as_dir"
2048 # Keep a trace of the command line.
2049 # Strip out --no-create and --no-recursion so they do not pile up.
2050 # Strip out --silent because we don't want to record it for future runs.
2051 # Also quote any args containing shell meta-characters.
2052 # Make two passes to allow for proper duplicate-argument suppression.
2056 ac_must_keep_next=false
2062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2064 | -silent | --silent | --silen | --sile | --sil)
2067 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2070 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2072 as_fn_append ac_configure_args1 " '$ac_arg'"
2073 if test $ac_must_keep_next = true; then
2074 ac_must_keep_next=false # Got value, back to normal.
2077 *=* | --config-cache | -C | -disable-* | --disable-* \
2078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2080 | -with-* | --with-* | -without-* | --without-* | --x)
2081 case "$ac_configure_args0 " in
2082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2085 -* ) ac_must_keep_next=true ;;
2088 as_fn_append ac_configure_args " '$ac_arg'"
2093 { ac_configure_args0=; unset ac_configure_args0;}
2094 { ac_configure_args1=; unset ac_configure_args1;}
2096 # When interrupted or exit'd, cleanup temporary files, and complete
2097 # config.log. We remove comments because anyway the quotes in there
2098 # would cause problems or look ugly.
2099 # WARNING: Use '\'' to represent an apostrophe within the trap.
2100 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2101 trap 'exit_status=$?
2102 # Save into config.log some information that might help in debugging.
2107 ## ---------------- ##
2108 ## Cache variables. ##
2109 ## ---------------- ##
2112 # The following way of writing the cache mishandles newlines in values,
2114 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2115 eval ac_val=\$$ac_var
2119 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2120 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2123 _ | IFS | as_nl) ;; #(
2124 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2125 *) { eval $ac_var=; unset $ac_var;} ;;
2130 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2131 *${as_nl}ac_space=\ *)
2133 "s/'\''/'\''\\\\'\'''\''/g;
2134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2145 ## ----------------- ##
2146 ## Output variables. ##
2147 ## ----------------- ##
2150 for ac_var in $ac_subst_vars
2152 eval ac_val=\$$ac_var
2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 $as_echo "$ac_var='\''$ac_val'\''"
2160 if test -n "$ac_subst_files"; then
2162 ## ------------------- ##
2163 ## File substitutions. ##
2164 ## ------------------- ##
2167 for ac_var in $ac_subst_files
2169 eval ac_val=\$$ac_var
2171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 $as_echo "$ac_var='\''$ac_val'\''"
2178 if test -s confdefs.h; then
2188 test "$ac_signal" != 0 &&
2189 $as_echo "$as_me: caught signal $ac_signal"
2190 $as_echo "$as_me: exit $exit_status"
2192 rm -f core *.core core.conftest.* &&
2193 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2196 for ac_signal in 1 2 13 15; do
2197 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2202 rm -f -r conftest* confdefs.h
2204 $as_echo "/* confdefs.h */" > confdefs.h
2206 # Predefined preprocessor variables.
2208 cat >>confdefs.h <<_ACEOF
2209 #define PACKAGE_NAME "$PACKAGE_NAME"
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2220 cat >>confdefs.h <<_ACEOF
2221 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_URL "$PACKAGE_URL"
2233 # Let the site file select an alternate cache file if it wants to.
2234 # Prefer an explicitly selected file to automatically selected ones.
2237 if test -n "$CONFIG_SITE"; then
2238 ac_site_file1=$CONFIG_SITE
2239 elif test "x$prefix" != xNONE; then
2240 ac_site_file1=$prefix/share/config.site
2241 ac_site_file2=$prefix/etc/config.site
2243 ac_site_file1=$ac_default_prefix/share/config.site
2244 ac_site_file2=$ac_default_prefix/etc/config.site
2246 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2248 test "x$ac_site_file" = xNONE && continue
2249 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2251 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2252 sed 's/^/| /' "$ac_site_file" >&5
2257 if test -r "$cache_file"; then
2258 # Some versions of bash will fail to source /dev/null (special files
2259 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2260 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2262 $as_echo "$as_me: loading cache $cache_file" >&6;}
2264 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2265 *) . "./$cache_file";;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2270 $as_echo "$as_me: creating cache $cache_file" >&6;}
2274 as_fn_append ac_header_list " sys/time.h"
2275 as_fn_append ac_header_list " unistd.h"
2276 as_fn_append ac_func_list " alarm"
2277 # Check that the precious variables saved in the cache have kept the same
2279 ac_cache_corrupted=false
2280 for ac_var in $ac_precious_vars; do
2281 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2282 eval ac_new_set=\$ac_env_${ac_var}_set
2283 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2284 eval ac_new_val=\$ac_env_${ac_var}_value
2285 case $ac_old_set,$ac_new_set in
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2288 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2289 ac_cache_corrupted=: ;;
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2292 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2293 ac_cache_corrupted=: ;;
2296 if test "x$ac_old_val" != "x$ac_new_val"; then
2297 # differences in whitespace do not lead to failure.
2298 ac_old_val_w=`echo x $ac_old_val`
2299 ac_new_val_w=`echo x $ac_new_val`
2300 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2302 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2303 ac_cache_corrupted=:
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2306 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2307 eval $ac_var=\$ac_old_val
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2310 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2312 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2315 # Pass precious variables to config.status.
2316 if test "$ac_new_set" = set; then
2318 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2319 *) ac_arg=$ac_var=$ac_new_val ;;
2321 case " $ac_configure_args " in
2322 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2323 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2327 if $ac_cache_corrupted; then
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2331 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2332 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2334 ## -------------------- ##
2335 ## Main body of script. ##
2336 ## -------------------- ##
2339 ac_cpp='$CPP $CPPFLAGS'
2340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345 am__api_version='1.11'
2348 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2349 for ac_t in install-sh install.sh shtool; do
2350 if test -f "$ac_dir/$ac_t"; then
2352 ac_install_sh="$ac_aux_dir/$ac_t -c"
2357 if test -z "$ac_aux_dir"; then
2358 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2361 # These three variables are undocumented and unsupported,
2362 # and are intended to be withdrawn in a future Autoconf release.
2363 # They can cause serious problems if a builder's source tree is in a directory
2364 # whose full name contains unusual characters.
2365 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2366 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2367 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2370 # Find a good install program. We prefer a C program (faster),
2371 # so one script is as good as another. But avoid the broken or
2372 # incompatible versions:
2373 # SysV /etc/install, /usr/sbin/install
2374 # SunOS /usr/etc/install
2375 # IRIX /sbin/install
2377 # AmigaOS /C/install, which installs bootblocks on floppy discs
2378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2381 # OS/2's system install, which has a completely different semantic
2382 # ./install, which can be erroneously created by make from ./install.sh.
2383 # Reject install programs that cannot install multiple files.
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2385 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2386 if test -z "$INSTALL"; then
2387 if test "${ac_cv_path_install+set}" = set; then :
2388 $as_echo_n "(cached) " >&6
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 # Account for people who put trailing slashes in PATH elements.
2396 case $as_dir/ in #((
2397 ./ | .// | /[cC]/* | \
2398 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2399 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2402 # OSF1 and SCO ODT 3.0 have their own names for install.
2403 # Don't use installbsd from OSF since it installs stuff as root
2405 for ac_prog in ginstall scoinst install; do
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2408 if test $ac_prog = install &&
2409 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2410 # AIX install. It has an incompatible calling convention.
2412 elif test $ac_prog = install &&
2413 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2414 # program-specific install script used by HP pwplus--don't use.
2417 rm -rf conftest.one conftest.two conftest.dir
2418 echo one > conftest.one
2419 echo two > conftest.two
2421 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2422 test -s conftest.one && test -s conftest.two &&
2423 test -s conftest.dir/conftest.one &&
2424 test -s conftest.dir/conftest.two
2426 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2439 rm -rf conftest.one conftest.two conftest.dir
2442 if test "${ac_cv_path_install+set}" = set; then
2443 INSTALL=$ac_cv_path_install
2445 # As a last resort, use the slow shell script. Don't cache a
2446 # value for INSTALL within a source directory, because that will
2447 # break other packages using the cache if that directory is
2448 # removed, or if the value is a relative name.
2449 INSTALL=$ac_install_sh
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2453 $as_echo "$INSTALL" >&6; }
2455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2456 # It thinks the first close brace ends the variable substitution.
2457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2464 $as_echo_n "checking whether build environment is sane... " >&6; }
2467 echo timestamp > conftest.file
2468 # Reject unsafe characters in $srcdir or the absolute working directory
2469 # name. Accept space and tab only in the latter.
2473 *[\\\"\#\$\&\'\`$am_lf]*)
2474 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2477 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2478 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2481 # Do `set' in a subshell so we don't clobber the current shell's
2482 # arguments. Must try -L first in case configure is actually a
2483 # symlink; some systems play weird games with the mod time of symlinks
2484 # (eg FreeBSD returns the mod time of the symlink's containing
2487 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2488 if test "$*" = "X"; then
2490 set X `ls -t "$srcdir/configure" conftest.file`
2493 if test "$*" != "X $srcdir/configure conftest.file" \
2494 && test "$*" != "X conftest.file $srcdir/configure"; then
2496 # If neither matched, then we have a broken ls. This can happen
2497 # if, for instance, CONFIG_SHELL is bash and it inherits a
2498 # broken ls alias from the environment. This has actually
2499 # happened. Such a system could not be considered "sane".
2500 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2501 alias in your environment" "$LINENO" 5
2504 test "$2" = conftest.file
2510 as_fn_error "newly created file is older than distributed files!
2511 Check your system clock" "$LINENO" 5
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2514 $as_echo "yes" >&6; }
2515 test "$program_prefix" != NONE &&
2516 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2517 # Use a double $ so make ignores it.
2518 test "$program_suffix" != NONE &&
2519 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2520 # Double any \ or $.
2521 # By default was `s,x,x', remove it if useless.
2522 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2523 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2525 # expand $ac_aux_dir to an absolute path
2526 am_aux_dir=`cd $ac_aux_dir && pwd`
2528 if test x"${MISSING+set}" != xset; then
2531 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2533 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2536 # Use eval to expand $SHELL
2537 if eval "$MISSING --run true"; then
2538 am_missing_run="$MISSING --run "
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2542 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2545 if test x"${install_sh}" != xset; then
2548 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2550 install_sh="\${SHELL} $am_aux_dir/install-sh"
2554 # Installed binaries are usually stripped using `strip' when the user
2555 # run `make install-strip'. However `strip' might not be the right
2556 # tool to use in cross-compilation environments, therefore Automake
2557 # will honor the `STRIP' environment variable to overrule this program.
2558 if test "$cross_compiling" != no; then
2559 if test -n "$ac_tool_prefix"; then
2560 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2561 set dummy ${ac_tool_prefix}strip; ac_word=$2
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2563 $as_echo_n "checking for $ac_word... " >&6; }
2564 if test "${ac_cv_prog_STRIP+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 if test -n "$STRIP"; then
2568 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2577 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587 STRIP=$ac_cv_prog_STRIP
2588 if test -n "$STRIP"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2590 $as_echo "$STRIP" >&6; }
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2598 if test -z "$ac_cv_prog_STRIP"; then
2600 # Extract the first word of "strip", so it can be a program name with args.
2601 set dummy strip; ac_word=$2
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$ac_ct_STRIP"; then
2608 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_ac_ct_STRIP="strip"
2618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2628 if test -n "$ac_ct_STRIP"; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2630 $as_echo "$ac_ct_STRIP" >&6; }
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2633 $as_echo "no" >&6; }
2636 if test "x$ac_ct_STRIP" = x; then
2639 case $cross_compiling:$ac_tool_warned in
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2643 ac_tool_warned=yes ;;
2648 STRIP="$ac_cv_prog_STRIP"
2652 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2655 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2656 if test -z "$MKDIR_P"; then
2657 if test "${ac_cv_path_mkdir+set}" = set; then :
2658 $as_echo_n "(cached) " >&6
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2664 test -z "$as_dir" && as_dir=.
2665 for ac_prog in mkdir gmkdir; do
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2668 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2669 'mkdir (GNU coreutils) '* | \
2670 'mkdir (coreutils) '* | \
2671 'mkdir (fileutils) '4.1*)
2672 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2682 test -d ./--version && rmdir ./--version
2683 if test "${ac_cv_path_mkdir+set}" = set; then
2684 MKDIR_P="$ac_cv_path_mkdir -p"
2686 # As a last resort, use the slow shell script. Don't cache a
2687 # value for MKDIR_P within a source directory, because that will
2688 # break other packages using the cache if that directory is
2689 # removed, or if the value is a relative name.
2690 MKDIR_P="$ac_install_sh -d"
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2694 $as_echo "$MKDIR_P" >&6; }
2698 [\\/$]* | ?:[\\/]*) ;;
2699 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2702 for ac_prog in gawk mawk nawk awk
2704 # Extract the first word of "$ac_prog", so it can be a program name with args.
2705 set dummy $ac_prog; ac_word=$2
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2707 $as_echo_n "checking for $ac_word... " >&6; }
2708 if test "${ac_cv_prog_AWK+set}" = set; then :
2709 $as_echo_n "(cached) " >&6
2711 if test -n "$AWK"; then
2712 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 test -z "$as_dir" && as_dir=.
2719 for ac_exec_ext in '' $ac_executable_extensions; do
2720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721 ac_cv_prog_AWK="$ac_prog"
2722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 if test -n "$AWK"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2734 $as_echo "$AWK" >&6; }
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2737 $as_echo "no" >&6; }
2741 test -n "$AWK" && break
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2745 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2747 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2748 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2749 $as_echo_n "(cached) " >&6
2751 cat >conftest.make <<\_ACEOF
2754 @echo '@@@%%%=$(MAKE)=@@@%%%'
2756 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2757 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2759 eval ac_cv_prog_make_${ac_make}_set=yes;;
2761 eval ac_cv_prog_make_${ac_make}_set=no;;
2765 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2767 $as_echo "yes" >&6; }
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 SET_MAKE="MAKE=${MAKE-make}"
2775 rm -rf .tst 2>/dev/null
2776 mkdir .tst 2>/dev/null
2777 if test -d .tst; then
2782 rmdir .tst 2>/dev/null
2784 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2785 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2786 # is not polluted with repeated "-I."
2787 am__isrc=' -I$(srcdir)'
2788 # test to see if srcdir already configured
2789 if test -f $srcdir/config.status; then
2790 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2794 # test whether we have cygpath
2795 if test -z "$CYGPATH_W"; then
2796 if (cygpath --version) >/dev/null 2>/dev/null; then
2797 CYGPATH_W='cygpath -w'
2804 # Define the identity of the package.
2809 cat >>confdefs.h <<_ACEOF
2810 #define PACKAGE "$PACKAGE"
2814 cat >>confdefs.h <<_ACEOF
2815 #define VERSION "$VERSION"
2818 # Some tools Automake needs.
2820 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2823 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2826 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2829 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2832 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2834 # We need awk for the "check" target. The system "awk" is bad on
2836 # Always define AMTAR for backward compatibility.
2838 AMTAR=${AMTAR-"${am_missing_run}tar"}
2840 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2847 ac_config_headers="$ac_config_headers config.h"
2850 # Checks for programs.
2852 ac_cpp='$CXXCPP $CPPFLAGS'
2853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2856 if test -z "$CXX"; then
2857 if test -n "$CCC"; then
2860 if test -n "$ac_tool_prefix"; then
2861 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2863 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2864 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if test "${ac_cv_prog_CXX+set}" = set; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$CXX"; then
2871 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir=.
2878 for ac_exec_ext in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test -n "$CXX"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2893 $as_echo "$CXX" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2900 test -n "$CXX" && break
2903 if test -z "$CXX"; then
2905 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2907 # Extract the first word of "$ac_prog", so it can be a program name with args.
2908 set dummy $ac_prog; ac_word=$2
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910 $as_echo_n "checking for $ac_word... " >&6; }
2911 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2914 if test -n "$ac_ct_CXX"; then
2915 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921 test -z "$as_dir" && as_dir=.
2922 for ac_exec_ext in '' $ac_executable_extensions; do
2923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924 ac_cv_prog_ac_ct_CXX="$ac_prog"
2925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2935 if test -n "$ac_ct_CXX"; then
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2937 $as_echo "$ac_ct_CXX" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940 $as_echo "no" >&6; }
2944 test -n "$ac_ct_CXX" && break
2947 if test "x$ac_ct_CXX" = x; then
2950 case $cross_compiling:$ac_tool_warned in
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2953 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2954 ac_tool_warned=yes ;;
2962 # Provide some information about the compiler.
2963 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2966 for ac_option in --version -v -V -qversion; do
2967 { { ac_try="$ac_compiler $ac_option >&5"
2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2970 *) ac_try_echo=$ac_try;;
2972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2973 $as_echo "$ac_try_echo"; } >&5
2974 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2976 if test -s conftest.err; then
2978 ... rest of stderr output deleted ...
2979 10q' conftest.err >conftest.er1
2980 cat conftest.er1 >&5
2982 rm -f conftest.er1 conftest.err
2983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2984 test $ac_status = 0; }
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2998 ac_clean_files_save=$ac_clean_files
2999 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3000 # Try to create an executable without -o first, disregard a.out.
3001 # It will help us diagnose broken compilers, and finding out an intuition
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3004 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3005 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3007 # The possible output files:
3008 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3011 for ac_file in $ac_files
3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3015 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3020 if { { ac_try="$ac_link_default"
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_link_default") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; then :
3031 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3033 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3034 # so that the user can short-circuit this test for compilers unknown to
3036 for ac_file in $ac_files ''
3038 test -f "$ac_file" || continue
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3043 # We found the default executable, but exeext='' is most
3047 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3049 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3051 # We set ac_cv_exeext here because the later test for it is not
3052 # safe: cross compilers may not add the suffix if given an `-o'
3053 # argument, so we may need to know it at that point already.
3054 # Even if this section looks crufty: it has the advantage of
3061 test "$ac_cv_exeext" = no && ac_cv_exeext=
3066 if test -z "$ac_file"; then :
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3069 $as_echo "$as_me: failed program was:" >&5
3070 sed 's/^/| /' conftest.$ac_ext >&5
3072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3074 { as_fn_set_status 77
3075 as_fn_error "C++ compiler cannot create executables
3076 See \`config.log' for more details." "$LINENO" 5; }; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3079 $as_echo "yes" >&6; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3082 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3084 $as_echo "$ac_file" >&6; }
3085 ac_exeext=$ac_cv_exeext
3087 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3088 ac_clean_files=$ac_clean_files_save
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3090 $as_echo_n "checking for suffix of executables... " >&6; }
3091 if { { ac_try="$ac_link"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3097 $as_echo "$ac_try_echo"; } >&5
3098 (eval "$ac_link") 2>&5
3100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3101 test $ac_status = 0; }; then :
3102 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3103 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3104 # work properly (i.e., refer to `conftest.exe'), while it won't with
3106 for ac_file in conftest.exe conftest conftest.*; do
3107 test -f "$ac_file" || continue
3109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3110 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error "cannot compute suffix of executables: cannot compile and link
3119 See \`config.log' for more details." "$LINENO" 5; }
3121 rm -f conftest conftest$ac_cv_exeext
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3123 $as_echo "$ac_cv_exeext" >&6; }
3125 rm -f conftest.$ac_ext
3126 EXEEXT=$ac_cv_exeext
3128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h. */
3134 FILE *f = fopen ("conftest.out", "w");
3135 return ferror (f) || fclose (f) != 0;
3141 ac_clean_files="$ac_clean_files conftest.out"
3142 # Check that the compiler produces executables we can run. If not, either
3143 # the compiler is broken, or we cross compile.
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3145 $as_echo_n "checking whether we are cross compiling... " >&6; }
3146 if test "$cross_compiling" != yes; then
3147 { { ac_try="$ac_link"
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 $as_echo "$ac_try_echo"; } >&5
3154 (eval "$ac_link") 2>&5
3156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }
3158 if { ac_try='./conftest$ac_cv_exeext'
3159 { { case "(($ac_try" in
3160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_try") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }; }; then
3171 if test "$cross_compiling" = maybe; then
3174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3176 as_fn_error "cannot run C++ compiled programs.
3177 If you meant to cross compile, use \`--host'.
3178 See \`config.log' for more details." "$LINENO" 5; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3183 $as_echo "$cross_compiling" >&6; }
3185 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3186 ac_clean_files=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3188 $as_echo_n "checking for suffix of object files... " >&6; }
3189 if test "${ac_cv_objext+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3203 rm -f conftest.o conftest.obj
3204 if { { ac_try="$ac_compile"
3206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_compile") 2>&5
3213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214 test $ac_status = 0; }; then :
3215 for ac_file in conftest.o conftest.obj conftest.*; do
3216 test -f "$ac_file" || continue;
3218 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3219 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3224 $as_echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.$ac_ext >&5
3227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3229 as_fn_error "cannot compute suffix of object files: cannot compile
3230 See \`config.log' for more details." "$LINENO" 5; }
3232 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3235 $as_echo "$ac_cv_objext" >&6; }
3236 OBJEXT=$ac_cv_objext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3239 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3240 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3241 $as_echo_n "(cached) " >&6
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3257 if ac_fn_cxx_try_compile "$LINENO"; then :
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3263 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3267 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3268 if test $ac_compiler_gnu = yes; then
3273 ac_test_CXXFLAGS=${CXXFLAGS+set}
3274 ac_save_CXXFLAGS=$CXXFLAGS
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3276 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3277 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3280 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3281 ac_cxx_werror_flag=yes
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3295 if ac_fn_cxx_try_compile "$LINENO"; then :
3296 ac_cv_prog_cxx_g=yes
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3310 if ac_fn_cxx_try_compile "$LINENO"; then :
3313 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316 /* end confdefs.h. */
3326 if ac_fn_cxx_try_compile "$LINENO"; then :
3327 ac_cv_prog_cxx_g=yes
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3337 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3338 if test "$ac_test_CXXFLAGS" = set; then
3339 CXXFLAGS=$ac_save_CXXFLAGS
3340 elif test $ac_cv_prog_cxx_g = yes; then
3341 if test "$GXX" = yes; then
3347 if test "$GXX" = yes; then
3354 ac_cpp='$CPP $CPPFLAGS'
3355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3358 DEPDIR="${am__leading_dot}deps"
3360 ac_config_commands="$ac_config_commands depfiles"
3363 am_make=${MAKE-make}
3364 cat > confinc << 'END'
3366 @echo this is the am__doit target
3369 # If we don't find an include directive, just comment out the code.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3371 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3375 # First try GNU make style include.
3376 echo "include confinc" > confmf
3377 # Ignore all kinds of additional output from `make'.
3378 case `$am_make -s -f confmf 2> /dev/null` in #(
3379 *the\ am__doit\ target*)
3385 # Now try BSD make style include.
3386 if test "$am__include" = "#"; then
3387 echo '.include "confinc"' > confmf
3388 case `$am_make -s -f confmf 2> /dev/null` in #(
3389 *the\ am__doit\ target*)
3390 am__include=.include
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3399 $as_echo "$_am_result" >&6; }
3400 rm -f confinc confmf
3402 # Check whether --enable-dependency-tracking was given.
3403 if test "${enable_dependency_tracking+set}" = set; then :
3404 enableval=$enable_dependency_tracking;
3407 if test "x$enable_dependency_tracking" != xno; then
3408 am_depcomp="$ac_aux_dir/depcomp"
3411 if test "x$enable_dependency_tracking" != xno; then
3421 depcc="$CXX" am_compiler_list=
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3424 $as_echo_n "checking dependency style of $depcc... " >&6; }
3425 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3429 # We make a subdir and do the tests there. Otherwise we can end up
3430 # making bogus files that we don't know about and never remove. For
3431 # instance it was reported that on HP-UX the gcc test will end up
3432 # making a dummy file named `D' -- because `-MD' means `put the output
3435 # Copy depcomp to subdir because otherwise we won't find it if we're
3436 # using a relative directory.
3437 cp "$am_depcomp" conftest.dir
3439 # We will build objects and dependencies in a subdirectory because
3440 # it helps to detect inapplicable dependency modes. For instance
3441 # both Tru64's cc and ICC support -MD to output dependencies as a
3442 # side effect of compilation, but ICC will put the dependencies in
3443 # the current directory while Tru64 will put them in the object
3447 am_cv_CXX_dependencies_compiler_type=none
3448 if test "$am_compiler_list" = ""; then
3449 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3452 case " $depcc " in #(
3453 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3456 for depmode in $am_compiler_list; do
3457 # Setup a source with many dependencies, because some compilers
3458 # like to wrap large dependency lists on column 80 (with \), and
3459 # we should not choose a depcomp mode which is confused by this.
3461 # We need to recreate these files for each test, as the compiler may
3462 # overwrite some of them when testing with obscure command lines.
3463 # This happens at least with the AIX C compiler.
3465 for i in 1 2 3 4 5 6; do
3466 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3467 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3468 # Solaris 8's {/usr,}/bin/sh.
3469 touch sub/conftst$i.h
3471 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3473 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3474 # mode. It turns out that the SunPro C++ compiler does not properly
3475 # handle `-M -o', and we need to detect this. Also, some Intel
3476 # versions had trouble with output in subdirs
3477 am__obj=sub/conftest.${OBJEXT-o}
3478 am__minus_obj="-o $am__obj"
3481 # This depmode causes a compiler race in universal mode.
3482 test "$am__universal" = false || continue
3485 # after this tag, mechanisms are not by side-effect, so they'll
3486 # only be used when explicitly requested
3487 if test "x$enable_dependency_tracking" = xyes; then
3493 msvisualcpp | msvcmsys)
3494 # This compiler won't grok `-c -o', but also, the minuso test has
3495 # not run yet. These depmodes are late enough in the game, and
3496 # so weak that their functioning should not be impacted.
3497 am__obj=conftest.${OBJEXT-o}
3502 if depmode=$depmode \
3503 source=sub/conftest.c object=$am__obj \
3504 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3505 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3506 >/dev/null 2>conftest.err &&
3507 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3508 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3509 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3510 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3511 # icc doesn't choke on unknown options, it will just issue warnings
3512 # or remarks (even with -Werror). So we grep stderr for any message
3513 # that says an option was ignored or not supported.
3514 # When given -MP, icc 7.0 and 7.1 complain thusly:
3515 # icc: Command line warning: ignoring option '-M'; no argument required
3516 # The diagnosis changed in icc 8.0:
3517 # icc: Command line remark: option '-MP' not supported
3518 if (grep 'ignoring option' conftest.err ||
3519 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3520 am_cv_CXX_dependencies_compiler_type=$depmode
3529 am_cv_CXX_dependencies_compiler_type=none
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3534 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3535 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3538 test "x$enable_dependency_tracking" != xno \
3539 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3540 am__fastdepCXX_TRUE=
3541 am__fastdepCXX_FALSE='#'
3543 am__fastdepCXX_TRUE='#'
3544 am__fastdepCXX_FALSE=
3549 ac_cpp='$CPP $CPPFLAGS'
3550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3553 if test -n "$ac_tool_prefix"; then
3554 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3555 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3557 $as_echo_n "checking for $ac_word... " >&6; }
3558 if test "${ac_cv_prog_CC+set}" = set; then :
3559 $as_echo_n "(cached) " >&6
3561 if test -n "$CC"; then
3562 ac_cv_prog_CC="$CC" # Let the user override the test.
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir=.
3569 for ac_exec_ext in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$CC"; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3584 $as_echo "$CC" >&6; }
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3587 $as_echo "no" >&6; }
3592 if test -z "$ac_cv_prog_CC"; then
3594 # Extract the first word of "gcc", so it can be a program name with args.
3595 set dummy gcc; ac_word=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$ac_ct_CC"; then
3602 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 ac_cv_prog_ac_ct_CC="gcc"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3622 if test -n "$ac_ct_CC"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3624 $as_echo "$ac_ct_CC" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3630 if test "x$ac_ct_CC" = x; then
3633 case $cross_compiling:$ac_tool_warned in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3637 ac_tool_warned=yes ;;
3645 if test -z "$CC"; then
3646 if test -n "$ac_tool_prefix"; then
3647 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3648 set dummy ${ac_tool_prefix}cc; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if test "${ac_cv_prog_CC+set}" = set; then :
3652 $as_echo_n "(cached) " >&6
3654 if test -n "$CC"; then
3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 ac_cv_prog_CC="${ac_tool_prefix}cc"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test -n "$CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 $as_echo "$CC" >&6; }
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3686 if test -z "$CC"; then
3687 # Extract the first word of "cc", so it can be a program name with args.
3688 set dummy cc; ac_word=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if test "${ac_cv_prog_CC+set}" = set; then :
3692 $as_echo_n "(cached) " >&6
3694 if test -n "$CC"; then
3695 ac_cv_prog_CC="$CC" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3706 ac_prog_rejected=yes
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test $ac_prog_rejected = yes; then
3718 # We found a bogon in the path, so make sure we never use it.
3719 set dummy $ac_cv_prog_CC
3721 if test $# != 0; then
3722 # We chose a different compiler from the bogus one.
3723 # However, it has the same basename, so the bogon will be chosen
3724 # first if we set CC to just the basename; use the full file name.
3726 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3732 if test -n "$CC"; then
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3734 $as_echo "$CC" >&6; }
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3737 $as_echo "no" >&6; }
3742 if test -z "$CC"; then
3743 if test -n "$ac_tool_prefix"; then
3744 for ac_prog in cl.exe
3746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if test "${ac_cv_prog_CC+set}" = set; then :
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$CC"; then
3754 ac_cv_prog_CC="$CC" # Let the user override the test.
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir=.
3761 for ac_exec_ext in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3774 if test -n "$CC"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3783 test -n "$CC" && break
3786 if test -z "$CC"; then
3788 for ac_prog in cl.exe
3790 # Extract the first word of "$ac_prog", so it can be a program name with args.
3791 set dummy $ac_prog; ac_word=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$ac_ct_CC"; then
3798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3807 ac_cv_prog_ac_ct_CC="$ac_prog"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3818 if test -n "$ac_ct_CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3820 $as_echo "$ac_ct_CC" >&6; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3827 test -n "$ac_ct_CC" && break
3830 if test "x$ac_ct_CC" = x; then
3833 case $cross_compiling:$ac_tool_warned in
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3837 ac_tool_warned=yes ;;
3846 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error "no acceptable C compiler found in \$PATH
3849 See \`config.log' for more details." "$LINENO" 5; }
3851 # Provide some information about the compiler.
3852 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3855 for ac_option in --version -v -V -qversion; do
3856 { { ac_try="$ac_compiler $ac_option >&5"
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3862 $as_echo "$ac_try_echo"; } >&5
3863 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3865 if test -s conftest.err; then
3867 ... rest of stderr output deleted ...
3868 10q' conftest.err >conftest.er1
3869 cat conftest.er1 >&5
3871 rm -f conftest.er1 conftest.err
3872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873 test $ac_status = 0; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3877 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3878 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h. */
3895 if ac_fn_c_try_compile "$LINENO"; then :
3900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3905 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3906 if test $ac_compiler_gnu = yes; then
3911 ac_test_CFLAGS=${CFLAGS+set}
3912 ac_save_CFLAGS=$CFLAGS
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3914 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3915 if test "${ac_cv_prog_cc_g+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 ac_save_c_werror_flag=$ac_c_werror_flag
3919 ac_c_werror_flag=yes
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3933 if ac_fn_c_try_compile "$LINENO"; then :
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3948 if ac_fn_c_try_compile "$LINENO"; then :
3951 ac_c_werror_flag=$ac_save_c_werror_flag
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3964 if ac_fn_c_try_compile "$LINENO"; then :
3967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3972 ac_c_werror_flag=$ac_save_c_werror_flag
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3975 $as_echo "$ac_cv_prog_cc_g" >&6; }
3976 if test "$ac_test_CFLAGS" = set; then
3977 CFLAGS=$ac_save_CFLAGS
3978 elif test $ac_cv_prog_cc_g = yes; then
3979 if test "$GCC" = yes; then
3985 if test "$GCC" = yes; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3993 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_cv_prog_cc_c89=no
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4002 #include <sys/types.h>
4003 #include <sys/stat.h>
4004 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4005 struct buf { int x; };
4006 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4007 static char *e (p, i)
4013 static char *f (char * (*g) (char **, int), char **p, ...)
4018 s = g (p, va_arg (v,int));
4023 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4024 function prototypes and stuff, but not '\xHH' hex character constants.
4025 These don't provoke an error unfortunately, instead are silently treated
4026 as 'x'. The following induces an error, until -std is added to get
4027 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4028 array size at least. It's necessary to write '\x00'==0 to get something
4029 that's true only with -std. */
4030 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4032 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4033 inside strings and character constants. */
4035 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4037 int test (int i, double x);
4038 struct s1 {int (*f) (int a);};
4039 struct s2 {int (*f) (double a);};
4040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4051 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4052 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4054 CC="$ac_save_CC $ac_arg"
4055 if ac_fn_c_try_compile "$LINENO"; then :
4056 ac_cv_prog_cc_c89=$ac_arg
4058 rm -f core conftest.err conftest.$ac_objext
4059 test "x$ac_cv_prog_cc_c89" != "xno" && break
4061 rm -f conftest.$ac_ext
4066 case "x$ac_cv_prog_cc_c89" in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069 $as_echo "none needed" >&6; } ;;
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072 $as_echo "unsupported" >&6; } ;;
4074 CC="$CC $ac_cv_prog_cc_c89"
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4076 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4078 if test "x$ac_cv_prog_cc_c89" != xno; then :
4083 ac_cpp='$CPP $CPPFLAGS'
4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4088 depcc="$CC" am_compiler_list=
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4091 $as_echo_n "checking dependency style of $depcc... " >&6; }
4092 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4093 $as_echo_n "(cached) " >&6
4095 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4096 # We make a subdir and do the tests there. Otherwise we can end up
4097 # making bogus files that we don't know about and never remove. For
4098 # instance it was reported that on HP-UX the gcc test will end up
4099 # making a dummy file named `D' -- because `-MD' means `put the output
4102 # Copy depcomp to subdir because otherwise we won't find it if we're
4103 # using a relative directory.
4104 cp "$am_depcomp" conftest.dir
4106 # We will build objects and dependencies in a subdirectory because
4107 # it helps to detect inapplicable dependency modes. For instance
4108 # both Tru64's cc and ICC support -MD to output dependencies as a
4109 # side effect of compilation, but ICC will put the dependencies in
4110 # the current directory while Tru64 will put them in the object
4114 am_cv_CC_dependencies_compiler_type=none
4115 if test "$am_compiler_list" = ""; then
4116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4119 case " $depcc " in #(
4120 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4123 for depmode in $am_compiler_list; do
4124 # Setup a source with many dependencies, because some compilers
4125 # like to wrap large dependency lists on column 80 (with \), and
4126 # we should not choose a depcomp mode which is confused by this.
4128 # We need to recreate these files for each test, as the compiler may
4129 # overwrite some of them when testing with obscure command lines.
4130 # This happens at least with the AIX C compiler.
4132 for i in 1 2 3 4 5 6; do
4133 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4135 # Solaris 8's {/usr,}/bin/sh.
4136 touch sub/conftst$i.h
4138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4141 # mode. It turns out that the SunPro C++ compiler does not properly
4142 # handle `-M -o', and we need to detect this. Also, some Intel
4143 # versions had trouble with output in subdirs
4144 am__obj=sub/conftest.${OBJEXT-o}
4145 am__minus_obj="-o $am__obj"
4148 # This depmode causes a compiler race in universal mode.
4149 test "$am__universal" = false || continue
4152 # after this tag, mechanisms are not by side-effect, so they'll
4153 # only be used when explicitly requested
4154 if test "x$enable_dependency_tracking" = xyes; then
4160 msvisualcpp | msvcmsys)
4161 # This compiler won't grok `-c -o', but also, the minuso test has
4162 # not run yet. These depmodes are late enough in the game, and
4163 # so weak that their functioning should not be impacted.
4164 am__obj=conftest.${OBJEXT-o}
4169 if depmode=$depmode \
4170 source=sub/conftest.c object=$am__obj \
4171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4173 >/dev/null 2>conftest.err &&
4174 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4178 # icc doesn't choke on unknown options, it will just issue warnings
4179 # or remarks (even with -Werror). So we grep stderr for any message
4180 # that says an option was ignored or not supported.
4181 # When given -MP, icc 7.0 and 7.1 complain thusly:
4182 # icc: Command line warning: ignoring option '-M'; no argument required
4183 # The diagnosis changed in icc 8.0:
4184 # icc: Command line remark: option '-MP' not supported
4185 if (grep 'ignoring option' conftest.err ||
4186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4187 am_cv_CC_dependencies_compiler_type=$depmode
4196 am_cv_CC_dependencies_compiler_type=none
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4205 test "x$enable_dependency_tracking" != xno \
4206 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4208 am__fastdepCC_FALSE='#'
4210 am__fastdepCC_TRUE='#'
4211 am__fastdepCC_FALSE=
4215 if test -n "$ac_tool_prefix"; then
4216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$RANLIB"; then
4224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 RANLIB=$ac_cv_prog_RANLIB
4244 if test -n "$RANLIB"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4246 $as_echo "$RANLIB" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4254 if test -z "$ac_cv_prog_RANLIB"; then
4255 ac_ct_RANLIB=$RANLIB
4256 # Extract the first word of "ranlib", so it can be a program name with args.
4257 set dummy ranlib; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$ac_ct_RANLIB"; then
4264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_ac_ct_RANLIB="ranlib"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4284 if test -n "$ac_ct_RANLIB"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4286 $as_echo "$ac_ct_RANLIB" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4292 if test "x$ac_ct_RANLIB" = x; then
4295 case $cross_compiling:$ac_tool_warned in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4299 ac_tool_warned=yes ;;
4301 RANLIB=$ac_ct_RANLIB
4304 RANLIB="$ac_cv_prog_RANLIB"
4308 # Checks for libraries.
4310 # Checks for header files.
4313 ac_cpp='$CPP $CPPFLAGS'
4314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4318 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4319 # On Suns, sometimes $CPP names a directory.
4320 if test -n "$CPP" && test -d "$CPP"; then
4323 if test -z "$CPP"; then
4324 if test "${ac_cv_prog_CPP+set}" = set; then :
4325 $as_echo_n "(cached) " >&6
4327 # Double quotes because CPP needs to be expanded
4328 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4331 for ac_c_preproc_warn_flag in '' yes
4333 # Use a header file that comes with gcc, so configuring glibc
4334 # with a fresh cross-compiler works.
4335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4336 # <limits.h> exists even on freestanding compilers.
4337 # On the NeXT, cc -E runs the code through the compiler's parser,
4338 # not just through cpp. "Syntax error" is here to catch this case.
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4342 # include <limits.h>
4344 # include <assert.h>
4348 if ac_fn_c_try_cpp "$LINENO"; then :
4351 # Broken: fails on valid input.
4354 rm -f conftest.err conftest.$ac_ext
4356 # OK, works on sane cases. Now check whether nonexistent headers
4357 # can be detected and how.
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4360 #include <ac_nonexistent.h>
4362 if ac_fn_c_try_cpp "$LINENO"; then :
4363 # Broken: success on invalid input.
4366 # Passes both tests.
4370 rm -f conftest.err conftest.$ac_ext
4373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4374 rm -f conftest.err conftest.$ac_ext
4375 if $ac_preproc_ok; then :
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4388 $as_echo "$CPP" >&6; }
4390 for ac_c_preproc_warn_flag in '' yes
4392 # Use a header file that comes with gcc, so configuring glibc
4393 # with a fresh cross-compiler works.
4394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4395 # <limits.h> exists even on freestanding compilers.
4396 # On the NeXT, cc -E runs the code through the compiler's parser,
4397 # not just through cpp. "Syntax error" is here to catch this case.
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4401 # include <limits.h>
4403 # include <assert.h>
4407 if ac_fn_c_try_cpp "$LINENO"; then :
4410 # Broken: fails on valid input.
4413 rm -f conftest.err conftest.$ac_ext
4415 # OK, works on sane cases. Now check whether nonexistent headers
4416 # can be detected and how.
4417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4418 /* end confdefs.h. */
4419 #include <ac_nonexistent.h>
4421 if ac_fn_c_try_cpp "$LINENO"; then :
4422 # Broken: success on invalid input.
4425 # Passes both tests.
4429 rm -f conftest.err conftest.$ac_ext
4432 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4433 rm -f conftest.err conftest.$ac_ext
4434 if $ac_preproc_ok; then :
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4440 See \`config.log' for more details." "$LINENO" 5; }
4444 ac_cpp='$CPP $CPPFLAGS'
4445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4452 if test "${ac_cv_path_GREP+set}" = set; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -z "$GREP"; then
4456 ac_path_GREP_found=false
4457 # Loop through the user's path and test for each of PROGNAME-LIST
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4462 test -z "$as_dir" && as_dir=.
4463 for ac_prog in grep ggrep; do
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4466 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4467 # Check for GNU ac_path_GREP and select it if it is found.
4468 # Check for GNU $ac_path_GREP
4469 case `"$ac_path_GREP" --version 2>&1` in
4471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4474 $as_echo_n 0123456789 >"conftest.in"
4477 cat "conftest.in" "conftest.in" >"conftest.tmp"
4478 mv "conftest.tmp" "conftest.in"
4479 cp "conftest.in" "conftest.nl"
4480 $as_echo 'GREP' >> "conftest.nl"
4481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4483 as_fn_arith $ac_count + 1 && ac_count=$as_val
4484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4485 # Best one so far, save it but keep looking for a better one
4486 ac_cv_path_GREP="$ac_path_GREP"
4487 ac_path_GREP_max=$ac_count
4489 # 10*(2^10) chars as input seems more than enough
4490 test $ac_count -gt 10 && break
4492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4495 $ac_path_GREP_found && break 3
4500 if test -z "$ac_cv_path_GREP"; then
4501 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4504 ac_cv_path_GREP=$GREP
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4509 $as_echo "$ac_cv_path_GREP" >&6; }
4510 GREP="$ac_cv_path_GREP"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4514 $as_echo_n "checking for egrep... " >&6; }
4515 if test "${ac_cv_path_EGREP+set}" = set; then :
4516 $as_echo_n "(cached) " >&6
4518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4519 then ac_cv_path_EGREP="$GREP -E"
4521 if test -z "$EGREP"; then
4522 ac_path_EGREP_found=false
4523 # Loop through the user's path and test for each of PROGNAME-LIST
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 test -z "$as_dir" && as_dir=.
4529 for ac_prog in egrep; do
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4532 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4533 # Check for GNU ac_path_EGREP and select it if it is found.
4534 # Check for GNU $ac_path_EGREP
4535 case `"$ac_path_EGREP" --version 2>&1` in
4537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4540 $as_echo_n 0123456789 >"conftest.in"
4543 cat "conftest.in" "conftest.in" >"conftest.tmp"
4544 mv "conftest.tmp" "conftest.in"
4545 cp "conftest.in" "conftest.nl"
4546 $as_echo 'EGREP' >> "conftest.nl"
4547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4549 as_fn_arith $ac_count + 1 && ac_count=$as_val
4550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4551 # Best one so far, save it but keep looking for a better one
4552 ac_cv_path_EGREP="$ac_path_EGREP"
4553 ac_path_EGREP_max=$ac_count
4555 # 10*(2^10) chars as input seems more than enough
4556 test $ac_count -gt 10 && break
4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 $ac_path_EGREP_found && break 3
4566 if test -z "$ac_cv_path_EGREP"; then
4567 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 ac_cv_path_EGREP=$EGREP
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4576 $as_echo "$ac_cv_path_EGREP" >&6; }
4577 EGREP="$ac_cv_path_EGREP"
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4581 $as_echo_n "checking for ANSI C header files... " >&6; }
4582 if test "${ac_cv_header_stdc+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4601 ac_cv_header_stdc=yes
4603 ac_cv_header_stdc=no
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 if test $ac_cv_header_stdc = yes; then
4608 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4615 $EGREP "memchr" >/dev/null 2>&1; then :
4618 ac_cv_header_stdc=no
4624 if test $ac_cv_header_stdc = yes; then
4625 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4627 /* end confdefs.h. */
4631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4632 $EGREP "free" >/dev/null 2>&1; then :
4635 ac_cv_header_stdc=no
4641 if test $ac_cv_header_stdc = yes; then
4642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4643 if test "$cross_compiling" = yes; then :
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4650 #if ((' ' & 0x0FF) == 0x020)
4651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4654 # define ISLOWER(c) \
4655 (('a' <= (c) && (c) <= 'i') \
4656 || ('j' <= (c) && (c) <= 'r') \
4657 || ('s' <= (c) && (c) <= 'z'))
4658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4666 for (i = 0; i < 256; i++)
4667 if (XOR (islower (i), ISLOWER (i))
4668 || toupper (i) != TOUPPER (i))
4673 if ac_fn_c_try_run "$LINENO"; then :
4676 ac_cv_header_stdc=no
4678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4679 conftest.$ac_objext conftest.beam conftest.$ac_ext
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4685 $as_echo "$ac_cv_header_stdc" >&6; }
4686 if test $ac_cv_header_stdc = yes; then
4688 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4693 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4694 inttypes.h stdint.h unistd.h
4696 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4697 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4699 eval as_val=\$$as_ac_Header
4700 if test "x$as_val" = x""yes; then :
4701 cat >>confdefs.h <<_ACEOF
4702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4710 for ac_header in fcntl.h inttypes.h stdlib.h string.h unistd.h
4712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4714 eval as_val=\$$as_ac_Header
4715 if test "x$as_val" = x""yes; then :
4716 cat >>confdefs.h <<_ACEOF
4717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4725 # Checks for typedefs, structures, and compiler characteristics.
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
4727 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4728 if test "${ac_cv_header_stdbool_h+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4734 #include <stdbool.h>
4736 "error: bool is not defined"
4739 "error: false is not defined"
4742 "error: false is not 0"
4745 "error: true is not defined"
4748 "error: true is not 1"
4750 #ifndef __bool_true_false_are_defined
4751 "error: __bool_true_false_are_defined is not defined"
4754 struct s { _Bool s: 1; _Bool t; } s;
4756 char a[true == 1 ? 1 : -1];
4757 char b[false == 0 ? 1 : -1];
4758 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4759 char d[(bool) 0.5 == true ? 1 : -1];
4761 char f[(_Bool) 0.0 == false ? 1 : -1];
4763 char h[sizeof (_Bool)];
4765 enum { j = false, k = true, l = false * true, m = true * 256 };
4766 /* The following fails for
4767 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
4769 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4770 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4771 # if defined __xlc__ || defined __GNUC__
4772 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4773 reported by James Lemley on 2005-10-05; see
4774 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4775 This test is not quite right, since xlc is allowed to
4776 reject this program, as the initializer for xlcbug is
4777 not one of the forms that C requires support for.
4778 However, doing the test right would require a runtime
4779 test, and that would make cross-compilation harder.
4780 Let us hope that IBM fixes the xlc bug, and also adds
4781 support for this kind of constant expression. In the
4782 meantime, this test will reject xlc, which is OK, since
4783 our stdbool.h substitute should suffice. We also test
4784 this with GCC, where it should work, to detect more
4785 quickly whether someone messes up the test in the
4787 char digs[] = "0123456789";
4788 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4790 /* Catch a bug in an HP-UX C compiler. See
4791 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4792 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4803 /* Refer to every declared value, to avoid compiler optimizations. */
4804 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4805 + !m + !n + !o + !p + !q + !pq);
4811 if ac_fn_c_try_compile "$LINENO"; then :
4812 ac_cv_header_stdbool_h=yes
4814 ac_cv_header_stdbool_h=no
4816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
4819 $as_echo "$ac_cv_header_stdbool_h" >&6; }
4820 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
4821 if test "x$ac_cv_type__Bool" = x""yes; then :
4823 cat >>confdefs.h <<_ACEOF
4824 #define HAVE__BOOL 1
4830 if test $ac_cv_header_stdbool_h = yes; then
4832 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4837 $as_echo_n "checking for inline... " >&6; }
4838 if test "${ac_cv_c_inline+set}" = set; then :
4839 $as_echo_n "(cached) " >&6
4842 for ac_kw in inline __inline__ __inline; do
4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4844 /* end confdefs.h. */
4847 static $ac_kw foo_t static_foo () {return 0; }
4848 $ac_kw foo_t foo () {return 0; }
4852 if ac_fn_c_try_compile "$LINENO"; then :
4853 ac_cv_c_inline=$ac_kw
4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 test "$ac_cv_c_inline" != no && break
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4861 $as_echo "$ac_cv_c_inline" >&6; }
4863 case $ac_cv_c_inline in
4866 case $ac_cv_c_inline in
4868 *) ac_val=$ac_cv_c_inline;;
4870 cat >>confdefs.h <<_ACEOF
4872 #define inline $ac_val
4878 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
4879 case $ac_cv_c_int16_t in #(
4883 cat >>confdefs.h <<_ACEOF
4884 #define int16_t $ac_cv_c_int16_t
4889 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
4890 case $ac_cv_c_int32_t in #(
4894 cat >>confdefs.h <<_ACEOF
4895 #define int32_t $ac_cv_c_int32_t
4900 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4901 if test "x$ac_cv_type_size_t" = x""yes; then :
4905 cat >>confdefs.h <<_ACEOF
4906 #define size_t unsigned int
4911 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4912 if test "x$ac_cv_type_ssize_t" = x""yes; then :
4916 cat >>confdefs.h <<_ACEOF
4922 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
4923 case $ac_cv_c_uint16_t in #(
4928 cat >>confdefs.h <<_ACEOF
4929 #define uint16_t $ac_cv_c_uint16_t
4934 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
4935 case $ac_cv_c_uint32_t in #(
4939 $as_echo "#define _UINT32_T 1" >>confdefs.h
4942 cat >>confdefs.h <<_ACEOF
4943 #define uint32_t $ac_cv_c_uint32_t
4948 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
4949 case $ac_cv_c_uint8_t in #(
4953 $as_echo "#define _UINT8_T 1" >>confdefs.h
4956 cat >>confdefs.h <<_ACEOF
4957 #define uint8_t $ac_cv_c_uint8_t
4963 # Checks for library functions.
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
4965 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
4966 if test "${ac_cv_header_time+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4970 /* end confdefs.h. */
4971 #include <sys/types.h>
4972 #include <sys/time.h>
4978 if ((struct tm *) 0)
4984 if ac_fn_c_try_compile "$LINENO"; then :
4985 ac_cv_header_time=yes
4987 ac_cv_header_time=no
4989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
4992 $as_echo "$ac_cv_header_time" >&6; }
4993 if test $ac_cv_header_time = yes; then
4995 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
5002 for ac_header in $ac_header_list
5004 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5005 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5007 eval as_val=\$$as_ac_Header
5008 if test "x$as_val" = x""yes; then :
5009 cat >>confdefs.h <<_ACEOF
5010 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5024 for ac_func in $ac_func_list
5026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5028 eval as_val=\$$as_ac_var
5029 if test "x$as_val" = x""yes; then :
5030 cat >>confdefs.h <<_ACEOF
5031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
5042 $as_echo_n "checking for working mktime... " >&6; }
5043 if test "${ac_cv_func_working_mktime+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 if test "$cross_compiling" = yes; then :
5047 ac_cv_func_working_mktime=no
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5051 /* Test program from Paul Eggert and Tony Leneis. */
5052 #ifdef TIME_WITH_SYS_TIME
5053 # include <sys/time.h>
5056 # ifdef HAVE_SYS_TIME_H
5057 # include <sys/time.h>
5066 #ifdef HAVE_UNISTD_H
5067 # include <unistd.h>
5071 # define alarm(X) /* empty */
5074 /* Work around redefinition to rpl_putenv by other config tests. */
5077 static time_t time_t_max;
5078 static time_t time_t_min;
5080 /* Values we'll use to set the TZ environment variable. */
5081 static char *tz_strings[] = {
5082 (char *) 0, "TZ=GMT0", "TZ=JST-9",
5083 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
5085 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
5087 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
5088 Based on a problem report from Andreas Jaeger. */
5090 spring_forward_gap ()
5092 /* glibc (up to about 1998-10-07) failed this test. */
5095 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
5096 instead of "TZ=America/Vancouver" in order to detect the bug even
5097 on systems that don't support the Olson extension, or don't have the
5098 full zoneinfo tables installed. */
5099 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
5108 return mktime (&tm) != (time_t) -1;
5116 return ! (lt = localtime (&now)) || mktime (lt) == now;
5123 return (mktime_test1 (now)
5124 && mktime_test1 ((time_t) (time_t_max - now))
5125 && mktime_test1 ((time_t) (time_t_min + now)));
5131 /* Based on code from Ariel Faigon. */
5141 return tm.tm_mon == 2 && tm.tm_mday == 31;
5150 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
5152 if (now != (time_t) -1)
5154 struct tm *lt = localtime (&now);
5156 && lt->tm_year == tm.tm_year
5157 && lt->tm_mon == tm.tm_mon
5158 && lt->tm_mday == tm.tm_mday
5159 && lt->tm_hour == tm.tm_hour
5160 && lt->tm_min == tm.tm_min
5161 && lt->tm_sec == tm.tm_sec
5162 && lt->tm_yday == tm.tm_yday
5163 && lt->tm_wday == tm.tm_wday
5164 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
5165 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
5174 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
5175 ignoring leap seconds. */
5176 unsigned long int answer = 2527315200UL;
5180 tm.tm_year = 2050 - 1900;
5183 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
5186 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
5187 instead of "TZ=America/Vancouver" in order to detect the bug even
5188 on systems that don't support the Olson extension, or don't have the
5189 full zoneinfo tables installed. */
5190 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
5194 /* Check that the result is either a failure, or close enough
5195 to the correct answer that we can assume the discrepancy is
5196 due to leap seconds. */
5197 return (t == (time_t) -1
5198 || (0 < t && answer - 120 <= t && t <= answer + 120));
5207 /* This test makes some buggy mktime implementations loop.
5208 Give up after 60 seconds; a mktime slower than that
5209 isn't worth using anyway. */
5214 t = (time_t_max << 1) + 1;
5215 if (t <= time_t_max)
5219 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
5221 delta = time_t_max / 997; /* a suitable prime number */
5222 for (i = 0; i < N_STRINGS; i++)
5225 putenv (tz_strings[i]);
5227 for (t = 0; t <= time_t_max - delta; t += delta)
5228 if (! mktime_test (t))
5230 if (! (mktime_test ((time_t) 1)
5231 && mktime_test ((time_t) (60 * 60))
5232 && mktime_test ((time_t) (60 * 60 * 24))))
5235 for (j = 1; ; j <<= 1)
5236 if (! bigtime_test (j))
5238 else if (INT_MAX / 2 < j)
5240 if (! bigtime_test (INT_MAX))
5243 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
5246 if ac_fn_c_try_run "$LINENO"; then :
5247 ac_cv_func_working_mktime=yes
5249 ac_cv_func_working_mktime=no
5251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5252 conftest.$ac_objext conftest.beam conftest.$ac_ext
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
5257 $as_echo "$ac_cv_func_working_mktime" >&6; }
5258 if test $ac_cv_func_working_mktime = no; then
5259 case " $LIBOBJS " in
5260 *" mktime.$ac_objext "* ) ;;
5261 *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
5267 for ac_func in memmove memset
5269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5270 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5271 eval as_val=\$$as_ac_var
5272 if test "x$as_val" = x""yes; then :
5273 cat >>confdefs.h <<_ACEOF
5274 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5281 ac_config_files="$ac_config_files Makefile src/ARIB/Makefile src/Makefile src/TS/Makefile"
5283 cat >confcache <<\_ACEOF
5284 # This file is a shell script that caches the results of configure
5285 # tests run on this system so they can be shared between configure
5286 # scripts and configure runs, see configure's option --config-cache.
5287 # It is not useful on other systems. If it contains results you don't
5288 # want to keep, you may remove or edit it.
5290 # config.status only pays attention to the cache file if you give it
5291 # the --recheck option to rerun configure.
5293 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5294 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5299 # The following way of writing the cache mishandles newlines in values,
5300 # but we know of no workaround that is simple, portable, and efficient.
5301 # So, we kill variables containing newlines.
5302 # Ultrix sh set writes to stderr and can't be redirected directly,
5303 # and sets the high bit in the cache file unless we assign to the vars.
5305 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5306 eval ac_val=\$$ac_var
5310 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5311 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5314 _ | IFS | as_nl) ;; #(
5315 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5316 *) { eval $ac_var=; unset $ac_var;} ;;
5322 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5323 *${as_nl}ac_space=\ *)
5324 # `set' does not quote correctly, so add quotes: double-quote
5325 # substitution turns \\\\ into \\, and sed turns \\ into \.
5328 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5331 # `set' quotes correctly as required by POSIX, so do not add quotes.
5332 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5343 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5345 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5346 if test -w "$cache_file"; then
5347 test "x$cache_file" != "x/dev/null" &&
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5349 $as_echo "$as_me: updating cache $cache_file" >&6;}
5350 cat confcache >$cache_file
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5353 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5358 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5359 # Let make expand exec_prefix.
5360 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5362 DEFS=-DHAVE_CONFIG_H
5366 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5367 # 1. Remove the extension, and $U if already installed.
5368 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5369 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5370 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5371 # will be set to the directory where LIBOBJS objects are built.
5372 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5373 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5377 LTLIBOBJS=$ac_ltlibobjs
5380 if test -n "$EXEEXT"; then
5382 am__EXEEXT_FALSE='#'
5388 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5389 as_fn_error "conditional \"AMDEP\" was never defined.
5390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5392 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5393 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
5394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5396 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5397 as_fn_error "conditional \"am__fastdepCC\" was never defined.
5398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5401 : ${CONFIG_STATUS=./config.status}
5403 ac_clean_files_save=$ac_clean_files
5404 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5406 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5408 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5410 # Generated by $as_me.
5411 # Run this file to recreate the current configuration.
5412 # Compiler output produced by configure, useful for debugging
5413 # configure, is in config.log if it exists.
5419 SHELL=\${CONFIG_SHELL-$SHELL}
5422 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5423 ## -------------------- ##
5424 ## M4sh Initialization. ##
5425 ## -------------------- ##
5427 # Be more Bourne compatible
5428 DUALCASE=1; export DUALCASE # for MKS sh
5429 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5432 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5433 # is contrary to our usage. Disable this feature.
5434 alias -g '${1+"$@"}'='"$@"'
5435 setopt NO_GLOB_SUBST
5437 case `(set -o) 2>/dev/null` in #(
5449 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5450 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5453 # Prefer a ksh shell builtin over an external printf program on Solaris,
5454 # but without wasting forks for bash or zsh.
5455 if test -z "$BASH_VERSION$ZSH_VERSION" \
5456 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5457 as_echo='print -r --'
5458 as_echo_n='print -rn --'
5459 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5460 as_echo='printf %s\n'
5461 as_echo_n='printf %s'
5463 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5464 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5465 as_echo_n='/usr/ucb/echo -n'
5467 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5468 as_echo_n_body='eval
5472 expr "X$arg" : "X\\(.*\\)$as_nl";
5473 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5475 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5477 export as_echo_n_body
5478 as_echo_n='sh -c $as_echo_n_body as_echo'
5481 as_echo='sh -c $as_echo_body as_echo'
5484 # The user is always right.
5485 if test "${PATH_SEPARATOR+set}" != set; then
5487 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5488 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5495 # We need space, tab and new line, in precisely that order. Quoting is
5496 # there to prevent editors from complaining about space-tab.
5497 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5498 # splitting by setting IFS to empty value.)
5501 # Find who we are. Look in the path if we contain no directory separator.
5503 *[\\/]* ) as_myself=$0 ;;
5504 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 test -z "$as_dir" && as_dir=.
5509 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5515 # We did not find ourselves, most probably we were run as `sh COMMAND'
5516 # in which case we are not to be found in the path.
5517 if test "x$as_myself" = x; then
5520 if test ! -f "$as_myself"; then
5521 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5525 # Unset variables that we do not need and which cause bugs (e.g. in
5526 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5527 # suppresses any "Segmentation fault" message there. '((' could
5528 # trigger a bug in pdksh 5.2.14.
5529 for as_var in BASH_ENV ENV MAIL MAILPATH
5530 do eval test x\${$as_var+set} = xset \
5531 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5544 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5547 # as_fn_error ERROR [LINENO LOG_FD]
5548 # ---------------------------------
5549 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5550 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5551 # script with status $?, using 1 if that was 0.
5554 as_status=$?; test $as_status -eq 0 && as_status=1
5556 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5557 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5559 $as_echo "$as_me: error: $1" >&2
5560 as_fn_exit $as_status
5564 # as_fn_set_status STATUS
5565 # -----------------------
5566 # Set $? to STATUS, without forking.
5570 } # as_fn_set_status
5574 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5584 # Portably unset VAR.
5587 { eval $1=; unset $1;}
5589 as_unset=as_fn_unset
5590 # as_fn_append VAR VALUE
5591 # ----------------------
5592 # Append the text in VALUE to the end of the definition contained in VAR. Take
5593 # advantage of any shell optimizations that allow amortized linear growth over
5594 # repeated appends, instead of the typical quadratic growth present in naive
5596 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5597 eval 'as_fn_append ()
5608 # as_fn_arith ARG...
5609 # ------------------
5610 # Perform arithmetic evaluation on the ARGs, and store the result in the
5611 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5612 # must be portable across $(()) and expr.
5613 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5614 eval 'as_fn_arith ()
5621 as_val=`expr "$@" || test $? -eq 1`
5626 if expr a : '\(a\)' >/dev/null 2>&1 &&
5627 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5633 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5634 as_basename=basename
5639 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5645 as_me=`$as_basename -- "$0" ||
5646 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5647 X"$0" : 'X\(//\)$' \| \
5648 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5650 sed '/^.*\/\([^/][^/]*\)\/*$/{
5664 # Avoid depending upon Character Ranges.
5665 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5666 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5667 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5668 as_cr_digits='0123456789'
5669 as_cr_alnum=$as_cr_Letters$as_cr_digits
5671 ECHO_C= ECHO_N= ECHO_T=
5672 case `echo -n x` in #(((((
5674 case `echo 'xy\c'` in
5675 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5677 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5684 rm -f conf$$ conf$$.exe conf$$.file
5685 if test -d conf$$.dir; then
5686 rm -f conf$$.dir/conf$$.file
5689 mkdir conf$$.dir 2>/dev/null
5691 if (echo >conf$$.file) 2>/dev/null; then
5692 if ln -s conf$$.file conf$$ 2>/dev/null; then
5694 # ... but there are two gotchas:
5695 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5696 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5697 # In both cases, we have to default to `cp -p'.
5698 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5700 elif ln conf$$.file conf$$ 2>/dev/null; then
5708 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5709 rmdir conf$$.dir 2>/dev/null
5714 # Create "$as_dir" as a directory, including parents if necessary.
5719 -*) as_dir=./$as_dir;;
5721 test -d "$as_dir" || eval $as_mkdir_p || {
5725 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5726 *) as_qdir=$as_dir;;
5728 as_dirs="'$as_qdir' $as_dirs"
5729 as_dir=`$as_dirname -- "$as_dir" ||
5730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5731 X"$as_dir" : 'X\(//\)[^/]' \| \
5732 X"$as_dir" : 'X\(//\)$' \| \
5733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5734 $as_echo X"$as_dir" |
5735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5752 test -d "$as_dir" && break
5754 test -z "$as_dirs" || eval "mkdir $as_dirs"
5755 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5759 if mkdir -p . 2>/dev/null; then
5760 as_mkdir_p='mkdir -p "$as_dir"'
5762 test -d ./-p && rmdir ./-p
5766 if test -x / >/dev/null 2>&1; then
5769 if ls -dL / >/dev/null 2>&1; then
5776 if test -d "$1"; then
5782 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5783 ???[sx]*):;;*)false;;esac;fi
5787 as_executable_p=$as_test_x
5789 # Sed expression to map a string onto a valid CPP name.
5790 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5792 # Sed expression to map a string onto a valid variable name.
5793 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5797 ## ----------------------------------- ##
5798 ## Main body of $CONFIG_STATUS script. ##
5799 ## ----------------------------------- ##
5801 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5804 # Save the log message, to keep $0 and so on meaningful, and to
5805 # report actual input values of CONFIG_FILES etc. instead of their
5806 # values after options handling.
5808 This file was extended by tsparser $as_me 20110219, which was
5809 generated by GNU Autoconf 2.65. Invocation command line was
5811 CONFIG_FILES = $CONFIG_FILES
5812 CONFIG_HEADERS = $CONFIG_HEADERS
5813 CONFIG_LINKS = $CONFIG_LINKS
5814 CONFIG_COMMANDS = $CONFIG_COMMANDS
5817 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5822 case $ac_config_files in *"
5823 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5826 case $ac_config_headers in *"
5827 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5832 # Files that config.status was made for.
5833 config_files="$ac_config_files"
5834 config_headers="$ac_config_headers"
5835 config_commands="$ac_config_commands"
5839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5841 \`$as_me' instantiates files and other configuration actions
5842 from templates according to the current configuration. Unless the files
5843 and actions are specified as TAGs, all are instantiated by default.
5845 Usage: $0 [OPTION]... [TAG]...
5847 -h, --help print this help, then exit
5848 -V, --version print version number and configuration settings, then exit
5849 --config print configuration, then exit
5850 -q, --quiet, --silent
5851 do not print progress messages
5852 -d, --debug don't remove temporary files
5853 --recheck update $as_me by reconfiguring in the same conditions
5854 --file=FILE[:TEMPLATE]
5855 instantiate the configuration file FILE
5856 --header=FILE[:TEMPLATE]
5857 instantiate the configuration header FILE
5859 Configuration files:
5862 Configuration headers:
5865 Configuration commands:
5868 Report bugs to <koukou@users.sourceforge.jp>."
5871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5872 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5874 tsparser config.status 20110219
5875 configured by $0, generated by GNU Autoconf 2.65,
5876 with options \\"\$ac_cs_config\\"
5878 Copyright (C) 2009 Free Software Foundation, Inc.
5879 This config.status script is free software; the Free Software Foundation
5880 gives unlimited permission to copy, distribute and modify it."
5887 test -n "\$AWK" || AWK=awk
5890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5891 # The default lists apply if the user does not specify any file.
5897 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5898 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5909 # Handling of the options.
5910 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5912 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5913 $as_echo "$ac_cs_version"; exit ;;
5914 --config | --confi | --conf | --con | --co | --c )
5915 $as_echo "$ac_cs_config"; exit ;;
5916 --debug | --debu | --deb | --de | --d | -d )
5918 --file | --fil | --fi | --f )
5921 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5923 as_fn_append CONFIG_FILES " '$ac_optarg'"
5924 ac_need_defaults=false;;
5925 --header | --heade | --head | --hea )
5928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5930 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5931 ac_need_defaults=false;;
5933 # Conflict between --help and --header
5934 as_fn_error "ambiguous option: \`$1'
5935 Try \`$0 --help' for more information.";;
5936 --help | --hel | -h )
5937 $as_echo "$ac_cs_usage"; exit ;;
5938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5943 -*) as_fn_error "unrecognized option: \`$1'
5944 Try \`$0 --help' for more information." ;;
5946 *) as_fn_append ac_config_targets " $1"
5947 ac_need_defaults=false ;;
5953 ac_configure_extra_args=
5955 if $ac_cs_silent; then
5957 ac_configure_extra_args="$ac_configure_extra_args --silent"
5961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5962 if \$ac_cs_recheck; then
5963 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5965 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5966 CONFIG_SHELL='$SHELL'
5972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5977 ## Running $as_me. ##
5983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5987 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5993 # Handling of arguments.
5994 for ac_config_target in $ac_config_targets
5996 case $ac_config_target in
5997 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5998 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5999 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6000 "src/ARIB/Makefile") CONFIG_FILES="$CONFIG_FILES src/ARIB/Makefile" ;;
6001 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6002 "src/TS/Makefile") CONFIG_FILES="$CONFIG_FILES src/TS/Makefile" ;;
6004 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6009 # If the user did not use the arguments to specify the items to instantiate,
6010 # then the envvar interface is used. Set only those that are not.
6011 # We use the long form for the default assignment because of an extremely
6012 # bizarre bug on SunOS 4.1.3.
6013 if $ac_need_defaults; then
6014 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6015 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6016 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6019 # Have a temporary directory for convenience. Make it in the build tree
6020 # simply because there is no reason against having it here, and in addition,
6021 # creating and moving files from /tmp can sometimes cause problems.
6022 # Hook for its removal unless debugging.
6023 # Note that there is a small window in which the directory will not be cleaned:
6024 # after its creation but before its name has been assigned to `$tmp'.
6028 trap 'exit_status=$?
6029 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6031 trap 'as_fn_exit 1' 1 2 13 15
6033 # Create a (secure) tmp directory for tmp files.
6036 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6037 test -n "$tmp" && test -d "$tmp"
6040 tmp=./conf$$-$RANDOM
6041 (umask 077 && mkdir "$tmp")
6042 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
6044 # Set up the scripts for CONFIG_FILES section.
6045 # No need to generate them if there are no CONFIG_FILES.
6046 # This happens for instance with `./config.status config.h'.
6047 if test -n "$CONFIG_FILES"; then
6050 ac_cr=`echo X | tr X '\015'`
6051 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6052 # But we know of no other shell where ac_cr would be empty at this
6053 # point, so we can use a bashism as a fallback.
6054 if test "x$ac_cr" = x; then
6055 eval ac_cr=\$\'\\r\'
6057 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6058 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6064 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6069 echo "cat >conf$$subs.awk <<_ACEOF" &&
6070 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6073 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6074 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6076 for ac_last_try in false false false false false :; do
6077 . ./conf$$subs.sh ||
6078 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6080 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6081 if test $ac_delim_n = $ac_delim_num; then
6083 elif $ac_last_try; then
6084 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
6086 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6092 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6096 s/^/S["/; s/!.*/"]=/
6106 s/\(.\{148\}\)..*/\1/
6108 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6113 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6120 s/\(.\{148\}\)..*/\1/
6122 s/["\\]/\\&/g; s/^/"/; s/$/"/
6126 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6131 ' <conf$$subs.awk | sed '
6136 ' >>$CONFIG_STATUS || ac_write_fail=1
6137 rm -f conf$$subs.awk
6138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6140 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6141 for (key in S) S_is_set[key] = 1
6147 nfields = split(line, field, "@")
6149 len = length(field[1])
6150 for (i = 2; i < nfields; i++) {
6152 keylen = length(key)
6153 if (S_is_set[key]) {
6155 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6156 len += length(value) + length(field[++i])
6167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6168 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6169 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6172 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6173 || as_fn_error "could not setup config files machinery" "$LINENO" 5
6176 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6177 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6178 # trailing colons and then remove the whole line if VPATH becomes empty
6179 # (actually we leave an empty line to preserve line numbers).
6180 if test "x$srcdir" = x.; then
6181 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6185 s/^\([^=]*=[ ]*\):*/\1/
6191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6192 fi # test -n "$CONFIG_FILES"
6194 # Set up the scripts for CONFIG_HEADERS section.
6195 # No need to generate them if there are no CONFIG_HEADERS.
6196 # This happens for instance with `./config.status Makefile'.
6197 if test -n "$CONFIG_HEADERS"; then
6198 cat >"$tmp/defines.awk" <<\_ACAWK ||
6202 # Transform confdefs.h into an awk script `defines.awk', embedded as
6203 # here-document in config.status, that substitutes the proper values into
6204 # config.h.in to produce config.h.
6206 # Create a delimiter string that does not exist in confdefs.h, to ease
6207 # handling of long lines.
6209 for ac_last_try in false false :; do
6210 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6211 if test -z "$ac_t"; then
6213 elif $ac_last_try; then
6214 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
6216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6220 # For the awk script, D is an array of macro values keyed by name,
6221 # likewise P contains macro parameters if any. Preserve backslash
6222 # newline sequences.
6224 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6226 s/.\{148\}/&'"$ac_delim"'/g
6229 s/^[ ]*#[ ]*define[ ][ ]*/ /
6236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6238 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6243 D["\1"]=" \3\\\\\\n"\\/p
6245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6250 s/.\{148\}/&'"$ac_delim"'/g
6255 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6258 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6260 ' <confdefs.h | sed '
6261 s/'"$ac_delim"'/"\\\
6262 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6265 for (key in D) D_is_set[key] = 1
6268 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6270 split(line, arg, " ")
6271 if (arg[1] == "#") {
6275 defundef = substr(arg[1], 2)
6278 split(mac1, mac2, "(") #)
6280 prefix = substr(line, 1, index(line, defundef) - 1)
6281 if (D_is_set[macro]) {
6282 # Preserve the white space surrounding the "#".
6283 print prefix "define", macro P[macro] D[macro]
6286 # Replace #undef with comments. This is necessary, for example,
6287 # in the case of _POSIX_SOURCE, which is predefined and required
6288 # on some systems where configure will not decide to define it.
6289 if (defundef == "undef") {
6290 print "/*", prefix defundef, macro, "*/"
6298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6299 as_fn_error "could not setup config headers machinery" "$LINENO" 5
6300 fi # test -n "$CONFIG_HEADERS"
6303 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6308 :[FHLC]) ac_mode=$ac_tag; continue;;
6310 case $ac_mode$ac_tag in
6312 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6313 :[FH]-) ac_tag=-:-;;
6314 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6331 -) ac_f="$tmp/stdin";;
6332 *) # Look for the file first in the build tree, then in the source tree
6333 # (if the path is not absolute). The absolute path cannot be DOS-style,
6334 # because $ac_f cannot contain `:'.
6338 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6340 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6342 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6343 as_fn_append ac_file_inputs " '$ac_f'"
6346 # Let's still pretend it is `configure' which instantiates (i.e., don't
6347 # use $as_me), people would be surprised to read:
6348 # /* config.h. Generated by config.status. */
6349 configure_input='Generated from '`
6350 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6352 if test x"$ac_file" != x-; then
6353 configure_input="$ac_file. $configure_input"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6355 $as_echo "$as_me: creating $ac_file" >&6;}
6357 # Neutralize special characters interpreted by sed in replacement strings.
6358 case $configure_input in #(
6359 *\&* | *\|* | *\\* )
6360 ac_sed_conf_input=`$as_echo "$configure_input" |
6361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6362 *) ac_sed_conf_input=$configure_input;;
6366 *:-:* | *:-) cat >"$tmp/stdin" \
6367 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6372 ac_dir=`$as_dirname -- "$ac_file" ||
6373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6374 X"$ac_file" : 'X\(//\)[^/]' \| \
6375 X"$ac_file" : 'X\(//\)$' \| \
6376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6377 $as_echo X"$ac_file" |
6378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6395 as_dir="$ac_dir"; as_fn_mkdir_p
6399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6402 # A ".." for each directory in $ac_dir_suffix.
6403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6404 case $ac_top_builddir_sub in
6405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6409 ac_abs_top_builddir=$ac_pwd
6410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6411 # for backward compatibility:
6412 ac_top_builddir=$ac_top_build_prefix
6415 .) # We are building in place.
6417 ac_top_srcdir=$ac_top_builddir_sub
6418 ac_abs_top_srcdir=$ac_pwd ;;
6419 [\\/]* | ?:[\\/]* ) # Absolute name.
6420 ac_srcdir=$srcdir$ac_dir_suffix;
6421 ac_top_srcdir=$srcdir
6422 ac_abs_top_srcdir=$srcdir ;;
6424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6425 ac_top_srcdir=$ac_top_build_prefix$srcdir
6426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6438 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6439 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6443 [\\/$]* | ?:[\\/]* ) ;;
6444 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6449 # If the template does not know about datarootdir, expand it.
6450 # FIXME: This hack should be removed a few years after 2.60.
6451 ac_datarootdir_hack=; ac_datarootdir_seen=
6462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6463 *datarootdir*) ac_datarootdir_seen=yes;;
6464 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6469 ac_datarootdir_hack='
6470 s&@datadir@&$datadir&g
6471 s&@docdir@&$docdir&g
6472 s&@infodir@&$infodir&g
6473 s&@localedir@&$localedir&g
6474 s&@mandir@&$mandir&g
6475 s&\\\${datarootdir}&$datarootdir&g' ;;
6479 # Neutralize VPATH when `$srcdir' = `.'.
6480 # Shell code in configure.ac might set extrasub.
6481 # FIXME: do we really want to maintain this feature?
6482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6483 ac_sed_extra="$ac_vpsub
6486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6489 s|@configure_input@|$ac_sed_conf_input|;t t
6490 s&@top_builddir@&$ac_top_builddir_sub&;t t
6491 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6492 s&@srcdir@&$ac_srcdir&;t t
6493 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6494 s&@top_srcdir@&$ac_top_srcdir&;t t
6495 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6496 s&@builddir@&$ac_builddir&;t t
6497 s&@abs_builddir@&$ac_abs_builddir&;t t
6498 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6499 s&@INSTALL@&$ac_INSTALL&;t t
6500 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6501 $ac_datarootdir_hack
6503 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6504 || as_fn_error "could not create $ac_file" "$LINENO" 5
6506 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6507 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6510 which seems to be undefined. Please make sure it is defined." >&5
6511 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6512 which seems to be undefined. Please make sure it is defined." >&2;}
6516 -) cat "$tmp/out" && rm -f "$tmp/out";;
6517 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6519 || as_fn_error "could not create $ac_file" "$LINENO" 5
6525 if test x"$ac_file" != x-; then
6527 $as_echo "/* $configure_input */" \
6528 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6529 } >"$tmp/config.h" \
6530 || as_fn_error "could not create $ac_file" "$LINENO" 5
6531 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6533 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6536 mv "$tmp/config.h" "$ac_file" \
6537 || as_fn_error "could not create $ac_file" "$LINENO" 5
6540 $as_echo "/* $configure_input */" \
6541 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6542 || as_fn_error "could not create -" "$LINENO" 5
6544 # Compute "$ac_file"'s index in $config_headers.
6547 for _am_header in $config_headers :; do
6549 $_am_arg | $_am_arg:* )
6552 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6555 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6556 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6557 X"$_am_arg" : 'X\(//\)[^/]' \| \
6558 X"$_am_arg" : 'X\(//\)$' \| \
6559 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6560 $as_echo X"$_am_arg" |
6561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6577 s/.*/./; q'`/stamp-h$_am_stamp_count
6580 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6581 $as_echo "$as_me: executing $ac_file commands" >&6;}
6586 case $ac_file$ac_mode in
6587 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6588 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6589 # are listed without --file. Let's play safe and only enable the eval
6590 # if we detect the quoting.
6591 case $CONFIG_FILES in
6592 *\'*) eval set x "$CONFIG_FILES" ;;
6593 *) set x $CONFIG_FILES ;;
6598 # Strip MF so we end up with the name of the file.
6599 mf=`echo "$mf" | sed -e 's/:.*$//'`
6600 # Check whether this is an Automake generated Makefile or not.
6601 # We used to match only the files named `Makefile.in', but
6602 # some people rename them; so instead we look at the file content.
6603 # Grep'ing the first line is not enough: some people post-process
6604 # each Makefile.in and add a new line on top of each file to say so.
6605 # Grep'ing the whole file is not good either: AIX grep has a line
6606 # limit of 2048, but all sed's we know have understand at least 4000.
6607 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6608 dirpart=`$as_dirname -- "$mf" ||
6609 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6610 X"$mf" : 'X\(//\)[^/]' \| \
6611 X"$mf" : 'X\(//\)$' \| \
6612 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6634 # Extract the definition of DEPDIR, am__include, and am__quote
6635 # from the Makefile without running `make'.
6636 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6637 test -z "$DEPDIR" && continue
6638 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6639 test -z "am__include" && continue
6640 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6641 # When using ansi2knr, U may be empty or an underscore; expand it
6642 U=`sed -n 's/^U = //p' < "$mf"`
6643 # Find all dependency output files, they are included files with
6644 # $(DEPDIR) in their names. We invoke sed twice because it is the
6645 # simplest approach to changing $(DEPDIR) to its actual value in the
6647 for file in `sed -n "
6648 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6649 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6650 # Make sure the directory exists.
6651 test -f "$dirpart/$file" && continue
6652 fdir=`$as_dirname -- "$file" ||
6653 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6654 X"$file" : 'X\(//\)[^/]' \| \
6655 X"$file" : 'X\(//\)$' \| \
6656 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6675 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6676 # echo "creating $dirpart/$file"
6677 echo '# dummy' > "$dirpart/$file"
6689 ac_clean_files=$ac_clean_files_save
6691 test $ac_write_fail = 0 ||
6692 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6695 # configure is writing to config.log, and then calls config.status.
6696 # config.status does its own redirection, appending to config.log.
6697 # Unfortunately, on DOS this fails, as config.log is still kept open
6698 # by configure, so config.status won't be able to write to it; its
6699 # output is simply discarded. So we exec the FD to /dev/null,
6700 # effectively closing config.log, so it can be properly (re)opened and
6701 # appended to by config.status. When coming back to configure, we
6702 # need to make the FD available again.
6703 if test "$no_create" != yes; then
6705 ac_config_status_args=
6706 test "$silent" = yes &&
6707 ac_config_status_args="$ac_config_status_args --quiet"
6709 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6711 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6712 # would make configure fail if this is the last instruction.
6713 $ac_cs_success || as_fn_exit $?
6715 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6717 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}