2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tio 1.18.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir=.
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
237 if test "x$CONFIG_SHELL" != x; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 *v*x* | *x*v* ) as_opts=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir=./$as_dir;;
320 test -d "$as_dir" || eval $as_mkdir_p || {
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
397 as_val=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status=$1; test $as_status -eq 0 && as_status=1
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
542 test -d ./-p && rmdir ./-p
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
576 # Identity of this package.
578 PACKAGE_TARNAME='tio'
579 PACKAGE_VERSION='1.18'
580 PACKAGE_STRING='tio 1.18'
582 PACKAGE_URL='https://tio.github.io'
584 ac_subst_vars='am__EXEEXT_FALSE
590 ENABLE_BASH_COMPLETION_FALSE
591 ENABLE_BASH_COMPLETION_TRUE
594 BASH_COMPLETION_CFLAGS
627 INSTALL_STRIP_PROGRAM
670 program_transform_name
683 enable_option_checking
685 enable_dependency_tracking
687 with_bash_completion_dir
689 ac_precious_vars='build_alias
700 BASH_COMPLETION_CFLAGS
701 BASH_COMPLETION_LIBS'
704 # Initialize some variables set by options.
706 ac_init_version=false
707 ac_unrecognized_opts=
709 # The variables have the same names as the options, with
710 # dashes changed to underlines.
718 program_transform_name=s,x,x,
726 # Installation directory options.
727 # These are left unexpanded so users can "make install exec_prefix=/foo"
728 # and all the variables that are supposed to be based on exec_prefix
729 # by default will actually change.
730 # Use braces instead of parens because sh, perl, etc. also accept them.
731 # (The list follows the same order as the GNU Coding Standards.)
732 bindir='${exec_prefix}/bin'
733 sbindir='${exec_prefix}/sbin'
734 libexecdir='${exec_prefix}/libexec'
735 datarootdir='${prefix}/share'
736 datadir='${datarootdir}'
737 sysconfdir='${prefix}/etc'
738 sharedstatedir='${prefix}/com'
739 localstatedir='${prefix}/var'
740 runstatedir='${localstatedir}/run'
741 includedir='${prefix}/include'
742 oldincludedir='/usr/include'
743 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
744 infodir='${datarootdir}/info'
749 libdir='${exec_prefix}/lib'
750 localedir='${datarootdir}/locale'
751 mandir='${datarootdir}/man'
757 # If the previous option needs an argument, assign it.
758 if test -n "$ac_prev"; then
759 eval $ac_prev=\$ac_option
765 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
770 # Accept the important Cygnus configure options, so we can diagnose typos.
772 case $ac_dashdash$ac_option in
776 -bindir | --bindir | --bindi | --bind | --bin | --bi)
778 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781 -build | --build | --buil | --bui | --bu)
782 ac_prev=build_alias ;;
783 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
784 build_alias=$ac_optarg ;;
786 -cache-file | --cache-file | --cache-fil | --cache-fi \
787 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
788 ac_prev=cache_file ;;
789 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
790 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
791 cache_file=$ac_optarg ;;
794 cache_file=config.cache ;;
796 -datadir | --datadir | --datadi | --datad)
798 -datadir=* | --datadir=* | --datadi=* | --datad=*)
799 datadir=$ac_optarg ;;
801 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
802 | --dataroo | --dataro | --datar)
803 ac_prev=datarootdir ;;
804 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
805 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
806 datarootdir=$ac_optarg ;;
808 -disable-* | --disable-*)
809 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
810 # Reject names that are not valid shell variable names.
811 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
812 as_fn_error $? "invalid feature name: $ac_useropt"
813 ac_useropt_orig=$ac_useropt
814 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
815 case $ac_user_opts in
819 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
820 ac_unrecognized_sep=', ';;
822 eval enable_$ac_useropt=no ;;
824 -docdir | --docdir | --docdi | --doc | --do)
826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834 -enable-* | --enable-*)
835 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
836 # Reject names that are not valid shell variable names.
837 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
838 as_fn_error $? "invalid feature name: $ac_useropt"
839 ac_useropt_orig=$ac_useropt
840 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
841 case $ac_user_opts in
845 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
846 ac_unrecognized_sep=', ';;
848 eval enable_$ac_useropt=\$ac_optarg ;;
850 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
851 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
852 | --exec | --exe | --ex)
853 ac_prev=exec_prefix ;;
854 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
855 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
856 | --exec=* | --exe=* | --ex=*)
857 exec_prefix=$ac_optarg ;;
859 -gas | --gas | --ga | --g)
860 # Obsolete; use --with-gas.
863 -help | --help | --hel | --he | -h)
865 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
866 ac_init_help=recursive ;;
867 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
868 ac_init_help=short ;;
870 -host | --host | --hos | --ho)
871 ac_prev=host_alias ;;
872 -host=* | --host=* | --hos=* | --ho=*)
873 host_alias=$ac_optarg ;;
875 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
877 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
879 htmldir=$ac_optarg ;;
881 -includedir | --includedir | --includedi | --included | --include \
882 | --includ | --inclu | --incl | --inc)
883 ac_prev=includedir ;;
884 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
885 | --includ=* | --inclu=* | --incl=* | --inc=*)
886 includedir=$ac_optarg ;;
888 -infodir | --infodir | --infodi | --infod | --info | --inf)
890 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
891 infodir=$ac_optarg ;;
893 -libdir | --libdir | --libdi | --libd)
895 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
899 | --libexe | --libex | --libe)
900 ac_prev=libexecdir ;;
901 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
902 | --libexe=* | --libex=* | --libe=*)
903 libexecdir=$ac_optarg ;;
905 -localedir | --localedir | --localedi | --localed | --locale)
907 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
908 localedir=$ac_optarg ;;
910 -localstatedir | --localstatedir | --localstatedi | --localstated \
911 | --localstate | --localstat | --localsta | --localst | --locals)
912 ac_prev=localstatedir ;;
913 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
914 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
915 localstatedir=$ac_optarg ;;
917 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
919 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
923 # Obsolete; use --without-fp.
926 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
927 | --no-cr | --no-c | -n)
930 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
931 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
935 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
936 | --oldin | --oldi | --old | --ol | --o)
937 ac_prev=oldincludedir ;;
938 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
939 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
940 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
941 oldincludedir=$ac_optarg ;;
943 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
945 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 -program-prefix | --program-prefix | --program-prefi | --program-pref \
949 | --program-pre | --program-pr | --program-p)
950 ac_prev=program_prefix ;;
951 -program-prefix=* | --program-prefix=* | --program-prefi=* \
952 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
953 program_prefix=$ac_optarg ;;
955 -program-suffix | --program-suffix | --program-suffi | --program-suff \
956 | --program-suf | --program-su | --program-s)
957 ac_prev=program_suffix ;;
958 -program-suffix=* | --program-suffix=* | --program-suffi=* \
959 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
960 program_suffix=$ac_optarg ;;
962 -program-transform-name | --program-transform-name \
963 | --program-transform-nam | --program-transform-na \
964 | --program-transform-n | --program-transform- \
965 | --program-transform | --program-transfor \
966 | --program-transfo | --program-transf \
967 | --program-trans | --program-tran \
968 | --progr-tra | --program-tr | --program-t)
969 ac_prev=program_transform_name ;;
970 -program-transform-name=* | --program-transform-name=* \
971 | --program-transform-nam=* | --program-transform-na=* \
972 | --program-transform-n=* | --program-transform-=* \
973 | --program-transform=* | --program-transfor=* \
974 | --program-transfo=* | --program-transf=* \
975 | --program-trans=* | --program-tran=* \
976 | --progr-tra=* | --program-tr=* | --program-t=*)
977 program_transform_name=$ac_optarg ;;
979 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
981 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 -psdir | --psdir | --psdi | --psd | --ps)
986 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
990 | -silent | --silent | --silen | --sile | --sil)
993 -runstatedir | --runstatedir | --runstatedi | --runstated \
994 | --runstate | --runstat | --runsta | --runst | --runs \
995 | --run | --ru | --r)
996 ac_prev=runstatedir ;;
997 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
998 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
999 | --run=* | --ru=* | --r=*)
1000 runstatedir=$ac_optarg ;;
1002 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1004 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1006 sbindir=$ac_optarg ;;
1008 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1009 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1010 | --sharedst | --shareds | --shared | --share | --shar \
1012 ac_prev=sharedstatedir ;;
1013 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1014 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1015 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1017 sharedstatedir=$ac_optarg ;;
1019 -site | --site | --sit)
1021 -site=* | --site=* | --sit=*)
1024 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1026 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1027 srcdir=$ac_optarg ;;
1029 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1030 | --syscon | --sysco | --sysc | --sys | --sy)
1031 ac_prev=sysconfdir ;;
1032 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1033 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1034 sysconfdir=$ac_optarg ;;
1036 -target | --target | --targe | --targ | --tar | --ta | --t)
1037 ac_prev=target_alias ;;
1038 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1039 target_alias=$ac_optarg ;;
1041 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1044 -version | --version | --versio | --versi | --vers | -V)
1045 ac_init_version=: ;;
1048 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051 as_fn_error $? "invalid package name: $ac_useropt"
1052 ac_useropt_orig=$ac_useropt
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1059 ac_unrecognized_sep=', ';;
1061 eval with_$ac_useropt=\$ac_optarg ;;
1063 -without-* | --without-*)
1064 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1065 # Reject names that are not valid shell variable names.
1066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067 as_fn_error $? "invalid package name: $ac_useropt"
1068 ac_useropt_orig=$ac_useropt
1069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1075 ac_unrecognized_sep=', ';;
1077 eval with_$ac_useropt=no ;;
1080 # Obsolete; use --with-x.
1083 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1084 | --x-incl | --x-inc | --x-in | --x-i)
1085 ac_prev=x_includes ;;
1086 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1087 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1088 x_includes=$ac_optarg ;;
1090 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1091 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1092 ac_prev=x_libraries ;;
1093 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1094 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1095 x_libraries=$ac_optarg ;;
1097 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1098 Try \`$0 --help' for more information"
1102 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1103 # Reject names that are not valid shell variable names.
1104 case $ac_envvar in #(
1105 '' | [0-9]* | *[!_$as_cr_alnum]* )
1106 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1108 eval $ac_envvar=\$ac_optarg
1109 export $ac_envvar ;;
1112 # FIXME: should be removed in autoconf 3.0.
1113 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1114 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1116 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1122 if test -n "$ac_prev"; then
1123 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1124 as_fn_error $? "missing argument to $ac_option"
1127 if test -n "$ac_unrecognized_opts"; then
1128 case $enable_option_checking in
1130 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1131 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1135 # Check all directory arguments for consistency.
1136 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1137 datadir sysconfdir sharedstatedir localstatedir includedir \
1138 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1139 libdir localedir mandir runstatedir
1141 eval ac_val=\$$ac_var
1142 # Remove trailing slashes.
1145 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1146 eval $ac_var=\$ac_val;;
1148 # Be sure to have absolute directory names.
1150 [\\/$]* | ?:[\\/]* ) continue;;
1151 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1153 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1156 # There might be people who depend on the old broken behavior: `$host'
1157 # used to hold the argument of --host etc.
1158 # FIXME: To remove some day.
1161 target=$target_alias
1163 # FIXME: To remove some day.
1164 if test "x$host_alias" != x; then
1165 if test "x$build_alias" = x; then
1166 cross_compiling=maybe
1167 elif test "x$build_alias" != "x$host_alias"; then
1173 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1175 test "$silent" = yes && exec 6>/dev/null
1178 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1179 ac_ls_di=`ls -di .` &&
1180 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1181 as_fn_error $? "working directory cannot be determined"
1182 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1183 as_fn_error $? "pwd does not report name of working directory"
1186 # Find the source files, if location was not specified.
1187 if test -z "$srcdir"; then
1188 ac_srcdir_defaulted=yes
1189 # Try the directory containing this script, then the parent directory.
1190 ac_confdir=`$as_dirname -- "$as_myself" ||
1191 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1192 X"$as_myself" : 'X\(//\)[^/]' \| \
1193 X"$as_myself" : 'X\(//\)$' \| \
1194 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1195 $as_echo X"$as_myself" |
1196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1218 ac_srcdir_defaulted=no
1220 if test ! -r "$srcdir/$ac_unique_file"; then
1221 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1222 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1224 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1226 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1228 # When building in place, set srcdir=.
1229 if test "$ac_abs_confdir" = "$ac_pwd"; then
1232 # Remove unnecessary trailing slashes from srcdir.
1233 # Double slashes in file names in object file debugging info
1234 # mess up M-x gdb in Emacs.
1236 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1238 for ac_var in $ac_precious_vars; do
1239 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_env_${ac_var}_value=\$${ac_var}
1241 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1242 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1246 # Report the --help message.
1248 if test "$ac_init_help" = "long"; then
1249 # Omit some internal or obsolete options to make the list less imposing.
1250 # This message is too long to be a string in the A/UX 3.1 sh.
1252 \`configure' configures tio 1.18 to adapt to many kinds of systems.
1254 Usage: $0 [OPTION]... [VAR=VALUE]...
1256 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1257 VAR=VALUE. See below for descriptions of some of the useful variables.
1259 Defaults for the options are specified in brackets.
1262 -h, --help display this help and exit
1263 --help=short display options specific to this package
1264 --help=recursive display the short help of all the included packages
1265 -V, --version display version information and exit
1266 -q, --quiet, --silent do not print \`checking ...' messages
1267 --cache-file=FILE cache test results in FILE [disabled]
1268 -C, --config-cache alias for \`--cache-file=config.cache'
1269 -n, --no-create do not create output files
1270 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1272 Installation directories:
1273 --prefix=PREFIX install architecture-independent files in PREFIX
1274 [$ac_default_prefix]
1275 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1278 By default, \`make install' will install all the files in
1279 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1280 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1281 for instance \`--prefix=\$HOME'.
1283 For better control, use the options below.
1285 Fine tuning of the installation directories:
1286 --bindir=DIR user executables [EPREFIX/bin]
1287 --sbindir=DIR system admin executables [EPREFIX/sbin]
1288 --libexecdir=DIR program executables [EPREFIX/libexec]
1289 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1290 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1291 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1292 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1293 --libdir=DIR object code libraries [EPREFIX/lib]
1294 --includedir=DIR C header files [PREFIX/include]
1295 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1296 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1297 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1298 --infodir=DIR info documentation [DATAROOTDIR/info]
1299 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1300 --mandir=DIR man documentation [DATAROOTDIR/man]
1301 --docdir=DIR documentation root [DATAROOTDIR/doc/tio]
1302 --htmldir=DIR html documentation [DOCDIR]
1303 --dvidir=DIR dvi documentation [DOCDIR]
1304 --pdfdir=DIR pdf documentation [DOCDIR]
1305 --psdir=DIR ps documentation [DOCDIR]
1311 --program-prefix=PREFIX prepend PREFIX to installed program names
1312 --program-suffix=SUFFIX append SUFFIX to installed program names
1313 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1317 if test -n "$ac_init_help"; then
1318 case $ac_init_help in
1319 short | recursive ) echo "Configuration of tio 1.18:";;
1324 --disable-option-checking ignore unrecognized --enable/--with options
1325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1327 --enable-silent-rules less verbose build output (undo: "make V=1")
1328 --disable-silent-rules verbose build output (undo: "make V=0")
1329 --enable-dependency-tracking
1330 do not reject slow dependency extractors
1331 --disable-dependency-tracking
1332 speeds up one-time build
1333 --disable-largefile omit support for large files
1336 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1337 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1338 --with-bash-completion-dir=PATH
1339 Install the bash auto-completion script in this
1340 directory. [default=yes]
1342 Some influential environment variables:
1343 CC C compiler command
1344 CFLAGS C compiler flags
1345 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1346 nonstandard directory <lib dir>
1347 LIBS libraries to pass to the linker, e.g. -l<library>
1348 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1349 you have headers in a nonstandard directory <include dir>
1350 PKG_CONFIG path to pkg-config utility
1352 directories to add to pkg-config's search path
1354 path overriding pkg-config's built-in search path
1355 BASH_COMPLETION_CFLAGS
1356 C compiler flags for BASH_COMPLETION, overriding pkg-config
1357 BASH_COMPLETION_LIBS
1358 linker flags for BASH_COMPLETION, overriding pkg-config
1360 Use these variables to override the choices made by `configure' or to help
1361 it to find libraries and programs with nonstandard names/locations.
1363 Report bugs to the package provider.
1364 tio home page: <https://tio.github.io>.
1369 if test "$ac_init_help" = "recursive"; then
1370 # If there are subdirs, report their specific --help.
1371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1372 test -d "$ac_dir" ||
1373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1388 ac_abs_top_builddir=$ac_pwd
1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir=$ac_top_build_prefix
1394 .) # We are building in place.
1396 ac_top_srcdir=$ac_top_builddir_sub
1397 ac_abs_top_srcdir=$ac_pwd ;;
1398 [\\/]* | ?:[\\/]* ) # Absolute name.
1399 ac_srcdir=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir=$srcdir
1401 ac_abs_top_srcdir=$srcdir ;;
1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1409 cd "$ac_dir" || { ac_status=$?; continue; }
1410 # Check for guested configure.
1411 if test -f "$ac_srcdir/configure.gnu"; then
1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1414 elif test -f "$ac_srcdir/configure"; then
1416 $SHELL "$ac_srcdir/configure" --help=recursive
1418 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 cd "$ac_pwd" || { ac_status=$?; break; }
1424 test -n "$ac_init_help" && exit $ac_status
1425 if $ac_init_version; then
1428 generated by GNU Autoconf 2.69
1430 Copyright (C) 2012 Free Software Foundation, Inc.
1431 This configure script is free software; the Free Software Foundation
1432 gives unlimited permission to copy, distribute and modify it.
1437 ## ------------------------ ##
1438 ## Autoconf initialization. ##
1439 ## ------------------------ ##
1441 # ac_fn_c_try_compile LINENO
1442 # --------------------------
1443 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1444 ac_fn_c_try_compile ()
1446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1447 rm -f conftest.$ac_objext
1448 if { { ac_try="$ac_compile"
1450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1451 *) ac_try_echo=$ac_try;;
1453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1454 $as_echo "$ac_try_echo"; } >&5
1455 (eval "$ac_compile") 2>conftest.err
1457 if test -s conftest.err; then
1458 grep -v '^ *+' conftest.err >conftest.er1
1459 cat conftest.er1 >&5
1460 mv -f conftest.er1 conftest.err
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && {
1464 test -z "$ac_c_werror_flag" ||
1465 test ! -s conftest.err
1466 } && test -s conftest.$ac_objext; then :
1469 $as_echo "$as_me: failed program was:" >&5
1470 sed 's/^/| /' conftest.$ac_ext >&5
1474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1475 as_fn_set_status $ac_retval
1477 } # ac_fn_c_try_compile
1479 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1480 # ---------------------------------------------
1481 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1483 ac_fn_c_check_decl ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 as_decl_name=`echo $2|sed 's/ *(.*//'`
1487 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1489 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1490 if eval \${$3+:} false; then :
1491 $as_echo_n "(cached) " >&6
1493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1494 /* end confdefs.h. */
1499 #ifndef $as_decl_name
1501 (void) $as_decl_use;
1503 (void) $as_decl_name;
1511 if ac_fn_c_try_compile "$LINENO"; then :
1516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1520 $as_echo "$ac_res" >&6; }
1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1523 } # ac_fn_c_check_decl
1524 cat >config.log <<_ACEOF
1525 This file contains any messages produced by compilers while
1526 running configure, to aid debugging if configure makes a mistake.
1528 It was created by tio $as_me 1.18, which was
1529 generated by GNU Autoconf 2.69. Invocation command line was
1541 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1542 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1543 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1544 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1545 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1547 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1548 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1550 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1551 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1552 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1553 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1554 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1555 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1556 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 $as_echo "PATH: $as_dir"
1581 # Keep a trace of the command line.
1582 # Strip out --no-create and --no-recursion so they do not pile up.
1583 # Strip out --silent because we don't want to record it for future runs.
1584 # Also quote any args containing shell meta-characters.
1585 # Make two passes to allow for proper duplicate-argument suppression.
1589 ac_must_keep_next=false
1595 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1596 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1597 | -silent | --silent | --silen | --sile | --sil)
1600 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1603 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1605 as_fn_append ac_configure_args1 " '$ac_arg'"
1606 if test $ac_must_keep_next = true; then
1607 ac_must_keep_next=false # Got value, back to normal.
1610 *=* | --config-cache | -C | -disable-* | --disable-* \
1611 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1612 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1613 | -with-* | --with-* | -without-* | --without-* | --x)
1614 case "$ac_configure_args0 " in
1615 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1618 -* ) ac_must_keep_next=true ;;
1621 as_fn_append ac_configure_args " '$ac_arg'"
1626 { ac_configure_args0=; unset ac_configure_args0;}
1627 { ac_configure_args1=; unset ac_configure_args1;}
1629 # When interrupted or exit'd, cleanup temporary files, and complete
1630 # config.log. We remove comments because anyway the quotes in there
1631 # would cause problems or look ugly.
1632 # WARNING: Use '\'' to represent an apostrophe within the trap.
1633 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1634 trap 'exit_status=$?
1635 # Save into config.log some information that might help in debugging.
1639 $as_echo "## ---------------- ##
1640 ## Cache variables. ##
1641 ## ---------------- ##"
1643 # The following way of writing the cache mishandles newlines in values,
1645 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1646 eval ac_val=\$$ac_var
1650 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1651 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1654 _ | IFS | as_nl) ;; #(
1655 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1656 *) { eval $ac_var=; unset $ac_var;} ;;
1661 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1662 *${as_nl}ac_space=\ *)
1664 "s/'\''/'\''\\\\'\'''\''/g;
1665 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1668 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1675 $as_echo "## ----------------- ##
1676 ## Output variables. ##
1677 ## ----------------- ##"
1679 for ac_var in $ac_subst_vars
1681 eval ac_val=\$$ac_var
1683 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 $as_echo "$ac_var='\''$ac_val'\''"
1689 if test -n "$ac_subst_files"; then
1690 $as_echo "## ------------------- ##
1691 ## File substitutions. ##
1692 ## ------------------- ##"
1694 for ac_var in $ac_subst_files
1696 eval ac_val=\$$ac_var
1698 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1700 $as_echo "$ac_var='\''$ac_val'\''"
1705 if test -s confdefs.h; then
1706 $as_echo "## ----------- ##
1713 test "$ac_signal" != 0 &&
1714 $as_echo "$as_me: caught signal $ac_signal"
1715 $as_echo "$as_me: exit $exit_status"
1717 rm -f core *.core core.conftest.* &&
1718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1721 for ac_signal in 1 2 13 15; do
1722 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1726 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1727 rm -f -r conftest* confdefs.h
1729 $as_echo "/* confdefs.h */" > confdefs.h
1731 # Predefined preprocessor variables.
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_NAME "$PACKAGE_NAME"
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1745 cat >>confdefs.h <<_ACEOF
1746 #define PACKAGE_STRING "$PACKAGE_STRING"
1749 cat >>confdefs.h <<_ACEOF
1750 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1753 cat >>confdefs.h <<_ACEOF
1754 #define PACKAGE_URL "$PACKAGE_URL"
1758 # Let the site file select an alternate cache file if it wants to.
1759 # Prefer an explicitly selected file to automatically selected ones.
1762 if test -n "$CONFIG_SITE"; then
1763 # We do not want a PATH search for config.site.
1764 case $CONFIG_SITE in #((
1765 -*) ac_site_file1=./$CONFIG_SITE;;
1766 */*) ac_site_file1=$CONFIG_SITE;;
1767 *) ac_site_file1=./$CONFIG_SITE;;
1769 elif test "x$prefix" != xNONE; then
1770 ac_site_file1=$prefix/share/config.site
1771 ac_site_file2=$prefix/etc/config.site
1773 ac_site_file1=$ac_default_prefix/share/config.site
1774 ac_site_file2=$ac_default_prefix/etc/config.site
1776 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1778 test "x$ac_site_file" = xNONE && continue
1779 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1781 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1782 sed 's/^/| /' "$ac_site_file" >&5
1784 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1786 as_fn_error $? "failed to load site script $ac_site_file
1787 See \`config.log' for more details" "$LINENO" 5; }
1791 if test -r "$cache_file"; then
1792 # Some versions of bash will fail to source /dev/null (special files
1793 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1794 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1796 $as_echo "$as_me: loading cache $cache_file" >&6;}
1798 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1799 *) . "./$cache_file";;
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1804 $as_echo "$as_me: creating cache $cache_file" >&6;}
1808 # Check that the precious variables saved in the cache have kept the same
1810 ac_cache_corrupted=false
1811 for ac_var in $ac_precious_vars; do
1812 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1813 eval ac_new_set=\$ac_env_${ac_var}_set
1814 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1815 eval ac_new_val=\$ac_env_${ac_var}_value
1816 case $ac_old_set,$ac_new_set in
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1819 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1820 ac_cache_corrupted=: ;;
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1823 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1824 ac_cache_corrupted=: ;;
1827 if test "x$ac_old_val" != "x$ac_new_val"; then
1828 # differences in whitespace do not lead to failure.
1829 ac_old_val_w=`echo x $ac_old_val`
1830 ac_new_val_w=`echo x $ac_new_val`
1831 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1833 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1834 ac_cache_corrupted=:
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1837 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1838 eval $ac_var=\$ac_old_val
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1841 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1843 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1846 # Pass precious variables to config.status.
1847 if test "$ac_new_set" = set; then
1849 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1850 *) ac_arg=$ac_var=$ac_new_val ;;
1852 case " $ac_configure_args " in
1853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1854 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1858 if $ac_cache_corrupted; then
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1862 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1863 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1865 ## -------------------- ##
1866 ## Main body of script. ##
1867 ## -------------------- ##
1870 ac_cpp='$CPP $CPPFLAGS'
1871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1876 ac_config_headers="$ac_config_headers src/include/config.h"
1878 am__api_version='1.15'
1881 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1882 if test -f "$ac_dir/install-sh"; then
1884 ac_install_sh="$ac_aux_dir/install-sh -c"
1886 elif test -f "$ac_dir/install.sh"; then
1888 ac_install_sh="$ac_aux_dir/install.sh -c"
1890 elif test -f "$ac_dir/shtool"; then
1892 ac_install_sh="$ac_aux_dir/shtool install -c"
1896 if test -z "$ac_aux_dir"; then
1897 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1900 # These three variables are undocumented and unsupported,
1901 # and are intended to be withdrawn in a future Autoconf release.
1902 # They can cause serious problems if a builder's source tree is in a directory
1903 # whose full name contains unusual characters.
1904 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1905 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1906 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1909 # Find a good install program. We prefer a C program (faster),
1910 # so one script is as good as another. But avoid the broken or
1911 # incompatible versions:
1912 # SysV /etc/install, /usr/sbin/install
1913 # SunOS /usr/etc/install
1914 # IRIX /sbin/install
1916 # AmigaOS /C/install, which installs bootblocks on floppy discs
1917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1920 # OS/2's system install, which has a completely different semantic
1921 # ./install, which can be erroneously created by make from ./install.sh.
1922 # Reject install programs that cannot install multiple files.
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1924 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1925 if test -z "$INSTALL"; then
1926 if ${ac_cv_path_install+:} false; then :
1927 $as_echo_n "(cached) " >&6
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir=.
1934 # Account for people who put trailing slashes in PATH elements.
1935 case $as_dir/ in #((
1936 ./ | .// | /[cC]/* | \
1937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1938 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1941 # OSF1 and SCO ODT 3.0 have their own names for install.
1942 # Don't use installbsd from OSF since it installs stuff as root
1944 for ac_prog in ginstall scoinst install; do
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1947 if test $ac_prog = install &&
1948 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1949 # AIX install. It has an incompatible calling convention.
1951 elif test $ac_prog = install &&
1952 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1953 # program-specific install script used by HP pwplus--don't use.
1956 rm -rf conftest.one conftest.two conftest.dir
1957 echo one > conftest.one
1958 echo two > conftest.two
1960 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1961 test -s conftest.one && test -s conftest.two &&
1962 test -s conftest.dir/conftest.one &&
1963 test -s conftest.dir/conftest.two
1965 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1978 rm -rf conftest.one conftest.two conftest.dir
1981 if test "${ac_cv_path_install+set}" = set; then
1982 INSTALL=$ac_cv_path_install
1984 # As a last resort, use the slow shell script. Don't cache a
1985 # value for INSTALL within a source directory, because that will
1986 # break other packages using the cache if that directory is
1987 # removed, or if the value is a relative name.
1988 INSTALL=$ac_install_sh
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1992 $as_echo "$INSTALL" >&6; }
1994 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1995 # It thinks the first close brace ends the variable substitution.
1996 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1998 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2000 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2003 $as_echo_n "checking whether build environment is sane... " >&6; }
2004 # Reject unsafe characters in $srcdir or the absolute working directory
2005 # name. Accept space and tab only in the latter.
2009 *[\\\"\#\$\&\'\`$am_lf]*)
2010 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2013 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2014 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2017 # Do 'set' in a subshell so we don't clobber the current shell's
2018 # arguments. Must try -L first in case configure is actually a
2019 # symlink; some systems play weird games with the mod time of symlinks
2020 # (eg FreeBSD returns the mod time of the symlink's containing
2024 for am_try in 1 2; do
2025 echo "timestamp, slept: $am_has_slept" > conftest.file
2026 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2027 if test "$*" = "X"; then
2029 set X `ls -t "$srcdir/configure" conftest.file`
2031 if test "$*" != "X $srcdir/configure conftest.file" \
2032 && test "$*" != "X conftest.file $srcdir/configure"; then
2034 # If neither matched, then we have a broken ls. This can happen
2035 # if, for instance, CONFIG_SHELL is bash and it inherits a
2036 # broken ls alias from the environment. This has actually
2037 # happened. Such a system could not be considered "sane".
2038 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2039 alias in your environment" "$LINENO" 5
2041 if test "$2" = conftest.file || test $am_try -eq 2; then
2048 test "$2" = conftest.file
2054 as_fn_error $? "newly created file is older than distributed files!
2055 Check your system clock" "$LINENO" 5
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2058 $as_echo "yes" >&6; }
2059 # If we didn't sleep, we still need to ensure time stamps of config.status and
2060 # generated files are strictly newer.
2062 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2069 test "$program_prefix" != NONE &&
2070 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2071 # Use a double $ so make ignores it.
2072 test "$program_suffix" != NONE &&
2073 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2074 # Double any \ or $.
2075 # By default was `s,x,x', remove it if useless.
2076 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2077 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2079 # Expand $ac_aux_dir to an absolute path.
2080 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2082 if test x"${MISSING+set}" != xset; then
2085 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2087 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2090 # Use eval to expand $SHELL
2091 if eval "$MISSING --is-lightweight"; then
2092 am_missing_run="$MISSING "
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2096 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2099 if test x"${install_sh+set}" != xset; then
2102 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2104 install_sh="\${SHELL} $am_aux_dir/install-sh"
2108 # Installed binaries are usually stripped using 'strip' when the user
2109 # run "make install-strip". However 'strip' might not be the right
2110 # tool to use in cross-compilation environments, therefore Automake
2111 # will honor the 'STRIP' environment variable to overrule this program.
2112 if test "$cross_compiling" != no; then
2113 if test -n "$ac_tool_prefix"; then
2114 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2115 set dummy ${ac_tool_prefix}strip; ac_word=$2
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2117 $as_echo_n "checking for $ac_word... " >&6; }
2118 if ${ac_cv_prog_STRIP+:} false; then :
2119 $as_echo_n "(cached) " >&6
2121 if test -n "$STRIP"; then
2122 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 test -z "$as_dir" && as_dir=.
2129 for ac_exec_ext in '' $ac_executable_extensions; do
2130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2131 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2141 STRIP=$ac_cv_prog_STRIP
2142 if test -n "$STRIP"; then
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2144 $as_echo "$STRIP" >&6; }
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2147 $as_echo "no" >&6; }
2152 if test -z "$ac_cv_prog_STRIP"; then
2154 # Extract the first word of "strip", so it can be a program name with args.
2155 set dummy strip; ac_word=$2
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2157 $as_echo_n "checking for $ac_word... " >&6; }
2158 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2159 $as_echo_n "(cached) " >&6
2161 if test -n "$ac_ct_STRIP"; then
2162 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2168 test -z "$as_dir" && as_dir=.
2169 for ac_exec_ext in '' $ac_executable_extensions; do
2170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2171 ac_cv_prog_ac_ct_STRIP="strip"
2172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2182 if test -n "$ac_ct_STRIP"; then
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2184 $as_echo "$ac_ct_STRIP" >&6; }
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2187 $as_echo "no" >&6; }
2190 if test "x$ac_ct_STRIP" = x; then
2193 case $cross_compiling:$ac_tool_warned in
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2197 ac_tool_warned=yes ;;
2202 STRIP="$ac_cv_prog_STRIP"
2206 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2209 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2210 if test -z "$MKDIR_P"; then
2211 if ${ac_cv_path_mkdir+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2218 test -z "$as_dir" && as_dir=.
2219 for ac_prog in mkdir gmkdir; do
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2222 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2223 'mkdir (GNU coreutils) '* | \
2224 'mkdir (coreutils) '* | \
2225 'mkdir (fileutils) '4.1*)
2226 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2236 test -d ./--version && rmdir ./--version
2237 if test "${ac_cv_path_mkdir+set}" = set; then
2238 MKDIR_P="$ac_cv_path_mkdir -p"
2240 # As a last resort, use the slow shell script. Don't cache a
2241 # value for MKDIR_P within a source directory, because that will
2242 # break other packages using the cache if that directory is
2243 # removed, or if the value is a relative name.
2244 MKDIR_P="$ac_install_sh -d"
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2248 $as_echo "$MKDIR_P" >&6; }
2250 for ac_prog in gawk mawk nawk awk
2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253 set dummy $ac_prog; ac_word=$2
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2255 $as_echo_n "checking for $ac_word... " >&6; }
2256 if ${ac_cv_prog_AWK+:} false; then :
2257 $as_echo_n "(cached) " >&6
2259 if test -n "$AWK"; then
2260 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2269 ac_cv_prog_AWK="$ac_prog"
2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 if test -n "$AWK"; then
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2282 $as_echo "$AWK" >&6; }
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2285 $as_echo "no" >&6; }
2289 test -n "$AWK" && break
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2293 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2295 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2296 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2297 $as_echo_n "(cached) " >&6
2299 cat >conftest.make <<\_ACEOF
2302 @echo '@@@%%%=$(MAKE)=@@@%%%'
2304 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2305 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2307 eval ac_cv_prog_make_${ac_make}_set=yes;;
2309 eval ac_cv_prog_make_${ac_make}_set=no;;
2313 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2315 $as_echo "yes" >&6; }
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2319 $as_echo "no" >&6; }
2320 SET_MAKE="MAKE=${MAKE-make}"
2323 rm -rf .tst 2>/dev/null
2324 mkdir .tst 2>/dev/null
2325 if test -d .tst; then
2330 rmdir .tst 2>/dev/null
2332 # Check whether --enable-silent-rules was given.
2333 if test "${enable_silent_rules+set}" = set; then :
2334 enableval=$enable_silent_rules;
2337 case $enable_silent_rules in # (((
2338 yes) AM_DEFAULT_VERBOSITY=0;;
2339 no) AM_DEFAULT_VERBOSITY=1;;
2340 *) AM_DEFAULT_VERBOSITY=1;;
2342 am_make=${MAKE-make}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2344 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2345 if ${am_cv_make_support_nested_variables+:} false; then :
2346 $as_echo_n "(cached) " >&6
2348 if $as_echo 'TRUE=$(BAR$(V))
2354 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2355 am_cv_make_support_nested_variables=yes
2357 am_cv_make_support_nested_variables=no
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2361 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2362 if test $am_cv_make_support_nested_variables = yes; then
2364 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2366 AM_V=$AM_DEFAULT_VERBOSITY
2367 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2371 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2372 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2373 # is not polluted with repeated "-I."
2374 am__isrc=' -I$(srcdir)'
2375 # test to see if srcdir already configured
2376 if test -f $srcdir/config.status; then
2377 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2381 # test whether we have cygpath
2382 if test -z "$CYGPATH_W"; then
2383 if (cygpath --version) >/dev/null 2>/dev/null; then
2384 CYGPATH_W='cygpath -w'
2391 # Define the identity of the package.
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE "$PACKAGE"
2401 cat >>confdefs.h <<_ACEOF
2402 #define VERSION "$VERSION"
2405 # Some tools Automake needs.
2407 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2410 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2413 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2416 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2419 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2421 # For better backward compatibility. To be removed once Automake 1.9.x
2422 # dies out for good. For more background, see:
2423 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2424 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2425 mkdir_p='$(MKDIR_P)'
2427 # We need awk for the "check" target (and possibly the TAP driver). The
2428 # system "awk" is bad on some platforms.
2429 # Always define AMTAR for backward compatibility. Yes, it's still used
2430 # in the wild :-( We should find a proper way to deprecate it ...
2434 # We'll loop over all known methods to create a tar archive until one works.
2435 _am_tools='gnutar pax cpio none'
2437 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2444 # POSIX will say in a future version that running "rm -f" with no argument
2445 # is OK; and we want to be able to make that assumption in our Makefile
2446 # recipes. So use an aggressive probe to check that the usage we want is
2447 # actually supported "in the wild" to an acceptable degree.
2448 # See automake bug#10828.
2449 # To make any issue more visible, cause the running configure to be aborted
2450 # by default if the 'rm' program in use doesn't match our expectations; the
2451 # user can still override this though.
2452 if rm -f && rm -fr && rm -rf; then : OK; else
2456 Your 'rm' program seems unable to run without file operands specified
2457 on the command line, even when the '-f' option is present. This is contrary
2458 to the behaviour of most rm programs out there, and not conforming with
2459 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2461 Please tell bug-automake@gnu.org about your system, including the value
2462 of your $PATH and any error possibly output before this message. This
2463 can help us improve future automake versions.
2466 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2467 echo 'Configuration will proceed anyway, since you have set the' >&2
2468 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2472 Aborting the configuration process, to ensure you take notice of the issue.
2474 You can download and install GNU coreutils to get an 'rm' implementation
2475 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2477 If you want to complete the configuration process using your problematic
2478 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2479 to "yes", and re-run configure.
2482 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2486 # Check whether --enable-silent-rules was given.
2487 if test "${enable_silent_rules+set}" = set; then :
2488 enableval=$enable_silent_rules;
2491 case $enable_silent_rules in # (((
2492 yes) AM_DEFAULT_VERBOSITY=0;;
2493 no) AM_DEFAULT_VERBOSITY=1;;
2494 *) AM_DEFAULT_VERBOSITY=0;;
2496 am_make=${MAKE-make}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2498 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2499 if ${am_cv_make_support_nested_variables+:} false; then :
2500 $as_echo_n "(cached) " >&6
2502 if $as_echo 'TRUE=$(BAR$(V))
2508 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2509 am_cv_make_support_nested_variables=yes
2511 am_cv_make_support_nested_variables=no
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2515 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2516 if test $am_cv_make_support_nested_variables = yes; then
2518 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2520 AM_V=$AM_DEFAULT_VERBOSITY
2521 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2526 ac_cpp='$CPP $CPPFLAGS'
2527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2530 if test -n "$ac_tool_prefix"; then
2531 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2532 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2534 $as_echo_n "checking for $ac_word... " >&6; }
2535 if ${ac_cv_prog_CC+:} false; then :
2536 $as_echo_n "(cached) " >&6
2538 if test -n "$CC"; then
2539 ac_cv_prog_CC="$CC" # Let the user override the test.
2541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545 test -z "$as_dir" && as_dir=.
2546 for ac_exec_ext in '' $ac_executable_extensions; do
2547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2548 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 if test -n "$CC"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2561 $as_echo "$CC" >&6; }
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2564 $as_echo "no" >&6; }
2569 if test -z "$ac_cv_prog_CC"; then
2571 # Extract the first word of "gcc", so it can be a program name with args.
2572 set dummy gcc; ac_word=$2
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 $as_echo_n "checking for $ac_word... " >&6; }
2575 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2576 $as_echo_n "(cached) " >&6
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_CC="gcc"
2589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2599 if test -n "$ac_ct_CC"; then
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2601 $as_echo "$ac_ct_CC" >&6; }
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 $as_echo "no" >&6; }
2607 if test "x$ac_ct_CC" = x; then
2610 case $cross_compiling:$ac_tool_warned in
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2614 ac_tool_warned=yes ;;
2622 if test -z "$CC"; then
2623 if test -n "$ac_tool_prefix"; then
2624 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2625 set dummy ${ac_tool_prefix}cc; ac_word=$2
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2627 $as_echo_n "checking for $ac_word... " >&6; }
2628 if ${ac_cv_prog_CC+:} false; then :
2629 $as_echo_n "(cached) " >&6
2631 if test -n "$CC"; then
2632 ac_cv_prog_CC="$CC" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641 ac_cv_prog_CC="${ac_tool_prefix}cc"
2642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 if test -n "$CC"; then
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2654 $as_echo "$CC" >&6; }
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 $as_echo "no" >&6; }
2663 if test -z "$CC"; then
2664 # Extract the first word of "cc", so it can be a program name with args.
2665 set dummy cc; ac_word=$2
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2667 $as_echo_n "checking for $ac_word... " >&6; }
2668 if ${ac_cv_prog_CC+:} false; then :
2669 $as_echo_n "(cached) " >&6
2671 if test -n "$CC"; then
2672 ac_cv_prog_CC="$CC" # Let the user override the test.
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2682 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2683 ac_prog_rejected=yes
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2694 if test $ac_prog_rejected = yes; then
2695 # We found a bogon in the path, so make sure we never use it.
2696 set dummy $ac_cv_prog_CC
2698 if test $# != 0; then
2699 # We chose a different compiler from the bogus one.
2700 # However, it has the same basename, so the bogon will be chosen
2701 # first if we set CC to just the basename; use the full file name.
2703 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2709 if test -n "$CC"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2719 if test -z "$CC"; then
2720 if test -n "$ac_tool_prefix"; then
2721 for ac_prog in cl.exe
2723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if ${ac_cv_prog_CC+:} false; then :
2728 $as_echo_n "(cached) " >&6
2730 if test -n "$CC"; then
2731 ac_cv_prog_CC="$CC" # Let the user override the test.
2733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir=.
2738 for ac_exec_ext in '' $ac_executable_extensions; do
2739 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2740 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 if test -n "$CC"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2753 $as_echo "$CC" >&6; }
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756 $as_echo "no" >&6; }
2760 test -n "$CC" && break
2763 if test -z "$CC"; then
2765 for ac_prog in cl.exe
2767 # Extract the first word of "$ac_prog", so it can be a program name with args.
2768 set dummy $ac_prog; ac_word=$2
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770 $as_echo_n "checking for $ac_word... " >&6; }
2771 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2772 $as_echo_n "(cached) " >&6
2774 if test -n "$ac_ct_CC"; then
2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 test -z "$as_dir" && as_dir=.
2782 for ac_exec_ext in '' $ac_executable_extensions; do
2783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2784 ac_cv_prog_ac_ct_CC="$ac_prog"
2785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2795 if test -n "$ac_ct_CC"; then
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2797 $as_echo "$ac_ct_CC" >&6; }
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800 $as_echo "no" >&6; }
2804 test -n "$ac_ct_CC" && break
2807 if test "x$ac_ct_CC" = x; then
2810 case $cross_compiling:$ac_tool_warned in
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2814 ac_tool_warned=yes ;;
2823 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2825 as_fn_error $? "no acceptable C compiler found in \$PATH
2826 See \`config.log' for more details" "$LINENO" 5; }
2828 # Provide some information about the compiler.
2829 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2832 for ac_option in --version -v -V -qversion; do
2833 { { ac_try="$ac_compiler $ac_option >&5"
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2842 if test -s conftest.err; then
2844 ... rest of stderr output deleted ...
2845 10q' conftest.err >conftest.er1
2846 cat conftest.er1 >&5
2848 rm -f conftest.er1 conftest.err
2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2850 test $ac_status = 0; }
2853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2854 /* end confdefs.h. */
2864 ac_clean_files_save=$ac_clean_files
2865 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2866 # Try to create an executable without -o first, disregard a.out.
2867 # It will help us diagnose broken compilers, and finding out an intuition
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2870 $as_echo_n "checking whether the C compiler works... " >&6; }
2871 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 # The possible output files:
2874 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2877 for ac_file in $ac_files
2880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2881 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2886 if { { ac_try="$ac_link_default"
2888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2889 *) ac_try_echo=$ac_try;;
2891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2892 $as_echo "$ac_try_echo"; } >&5
2893 (eval "$ac_link_default") 2>&5
2895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2896 test $ac_status = 0; }; then :
2897 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2898 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2899 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2900 # so that the user can short-circuit this test for compilers unknown to
2902 for ac_file in $ac_files ''
2904 test -f "$ac_file" || continue
2906 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2909 # We found the default executable, but exeext='' is most
2913 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2915 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2917 # We set ac_cv_exeext here because the later test for it is not
2918 # safe: cross compilers may not add the suffix if given an `-o'
2919 # argument, so we may need to know it at that point already.
2920 # Even if this section looks crufty: it has the advantage of
2927 test "$ac_cv_exeext" = no && ac_cv_exeext=
2932 if test -z "$ac_file"; then :
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.$ac_ext >&5
2938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error 77 "C compiler cannot create executables
2941 See \`config.log' for more details" "$LINENO" 5; }
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2944 $as_echo "yes" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2947 $as_echo_n "checking for C compiler default output file name... " >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2949 $as_echo "$ac_file" >&6; }
2950 ac_exeext=$ac_cv_exeext
2952 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2953 ac_clean_files=$ac_clean_files_save
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2955 $as_echo_n "checking for suffix of executables... " >&6; }
2956 if { { ac_try="$ac_link"
2958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2962 $as_echo "$ac_try_echo"; } >&5
2963 (eval "$ac_link") 2>&5
2965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2966 test $ac_status = 0; }; then :
2967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2969 # work properly (i.e., refer to `conftest.exe'), while it won't with
2971 for ac_file in conftest.exe conftest conftest.*; do
2972 test -f "$ac_file" || continue
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2984 See \`config.log' for more details" "$LINENO" 5; }
2986 rm -f conftest conftest$ac_cv_exeext
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2988 $as_echo "$ac_cv_exeext" >&6; }
2990 rm -f conftest.$ac_ext
2991 EXEEXT=$ac_cv_exeext
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2999 FILE *f = fopen ("conftest.out", "w");
3000 return ferror (f) || fclose (f) != 0;
3006 ac_clean_files="$ac_clean_files conftest.out"
3007 # Check that the compiler produces executables we can run. If not, either
3008 # the compiler is broken, or we cross compile.
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3010 $as_echo_n "checking whether we are cross compiling... " >&6; }
3011 if test "$cross_compiling" != yes; then
3012 { { ac_try="$ac_link"
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3018 $as_echo "$ac_try_echo"; } >&5
3019 (eval "$ac_link") 2>&5
3021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3022 test $ac_status = 0; }
3023 if { ac_try='./conftest$ac_cv_exeext'
3024 { { case "(($ac_try" in
3025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026 *) ac_try_echo=$ac_try;;
3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029 $as_echo "$ac_try_echo"; } >&5
3030 (eval "$ac_try") 2>&5
3032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033 test $ac_status = 0; }; }; then
3036 if test "$cross_compiling" = maybe; then
3039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041 as_fn_error $? "cannot run C compiled programs.
3042 If you meant to cross compile, use \`--host'.
3043 See \`config.log' for more details" "$LINENO" 5; }
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3048 $as_echo "$cross_compiling" >&6; }
3050 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3051 ac_clean_files=$ac_clean_files_save
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3053 $as_echo_n "checking for suffix of object files... " >&6; }
3054 if ${ac_cv_objext+:} false; then :
3055 $as_echo_n "(cached) " >&6
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3068 rm -f conftest.o conftest.obj
3069 if { { ac_try="$ac_compile"
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_compile") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; then :
3080 for ac_file in conftest.o conftest.obj conftest.*; do
3081 test -f "$ac_file" || continue;
3083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3084 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.$ac_ext >&5
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error $? "cannot compute suffix of object files: cannot compile
3095 See \`config.log' for more details" "$LINENO" 5; }
3097 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3100 $as_echo "$ac_cv_objext" >&6; }
3101 OBJEXT=$ac_cv_objext
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3104 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3105 if ${ac_cv_c_compiler_gnu+:} false; then :
3106 $as_echo_n "(cached) " >&6
3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3109 /* end confdefs.h. */
3122 if ac_fn_c_try_compile "$LINENO"; then :
3127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3128 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3132 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3133 if test $ac_compiler_gnu = yes; then
3138 ac_test_CFLAGS=${CFLAGS+set}
3139 ac_save_CFLAGS=$CFLAGS
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3141 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3142 if ${ac_cv_prog_cc_g+:} false; then :
3143 $as_echo_n "(cached) " >&6
3145 ac_save_c_werror_flag=$ac_c_werror_flag
3146 ac_c_werror_flag=yes
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 if ac_fn_c_try_compile "$LINENO"; then :
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165 /* end confdefs.h. */
3175 if ac_fn_c_try_compile "$LINENO"; then :
3178 ac_c_werror_flag=$ac_save_c_werror_flag
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3191 if ac_fn_c_try_compile "$LINENO"; then :
3194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 ac_c_werror_flag=$ac_save_c_werror_flag
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3202 $as_echo "$ac_cv_prog_cc_g" >&6; }
3203 if test "$ac_test_CFLAGS" = set; then
3204 CFLAGS=$ac_save_CFLAGS
3205 elif test $ac_cv_prog_cc_g = yes; then
3206 if test "$GCC" = yes; then
3212 if test "$GCC" = yes; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3219 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3220 if ${ac_cv_prog_cc_c89+:} false; then :
3221 $as_echo_n "(cached) " >&6
3223 ac_cv_prog_cc_c89=no
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3230 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3231 struct buf { int x; };
3232 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3233 static char *e (p, i)
3239 static char *f (char * (*g) (char **, int), char **p, ...)
3244 s = g (p, va_arg (v,int));
3249 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3250 function prototypes and stuff, but not '\xHH' hex character constants.
3251 These don't provoke an error unfortunately, instead are silently treated
3252 as 'x'. The following induces an error, until -std is added to get
3253 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3254 array size at least. It's necessary to write '\x00'==0 to get something
3255 that's true only with -std. */
3256 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3258 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3259 inside strings and character constants. */
3261 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3263 int test (int i, double x);
3264 struct s1 {int (*f) (int a);};
3265 struct s2 {int (*f) (double a);};
3266 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3272 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3277 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3278 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3280 CC="$ac_save_CC $ac_arg"
3281 if ac_fn_c_try_compile "$LINENO"; then :
3282 ac_cv_prog_cc_c89=$ac_arg
3284 rm -f core conftest.err conftest.$ac_objext
3285 test "x$ac_cv_prog_cc_c89" != "xno" && break
3287 rm -f conftest.$ac_ext
3292 case "x$ac_cv_prog_cc_c89" in
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3295 $as_echo "none needed" >&6; } ;;
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3298 $as_echo "unsupported" >&6; } ;;
3300 CC="$CC $ac_cv_prog_cc_c89"
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3302 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3304 if test "x$ac_cv_prog_cc_c89" != xno; then :
3309 ac_cpp='$CPP $CPPFLAGS'
3310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3315 ac_cpp='$CPP $CPPFLAGS'
3316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3320 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3321 if ${am_cv_prog_cc_c_o+:} false; then :
3322 $as_echo_n "(cached) " >&6
3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3325 /* end confdefs.h. */
3335 # Make sure it works both with $CC and with simple cc.
3336 # Following AC_PROG_CC_C_O, we do the test twice because some
3337 # compilers refuse to overwrite an existing .o file with -o,
3338 # though they will create one.
3339 am_cv_prog_cc_c_o=yes
3341 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3342 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } \
3346 && test -f conftest2.$ac_objext; then
3349 am_cv_prog_cc_c_o=no
3353 rm -f core conftest*
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3357 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3358 if test "$am_cv_prog_cc_c_o" != yes; then
3359 # Losing compiler, so override with the script.
3360 # FIXME: It is wrong to rewrite CC.
3361 # But if we don't then we get into trouble of one sort or another.
3362 # A longer-term fix would be to have automake use am__CC in this case,
3363 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3364 CC="$am_aux_dir/compile $CC"
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3372 DEPDIR="${am__leading_dot}deps"
3374 ac_config_commands="$ac_config_commands depfiles"
3377 am_make=${MAKE-make}
3378 cat > confinc << 'END'
3380 @echo this is the am__doit target
3383 # If we don't find an include directive, just comment out the code.
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3385 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3389 # First try GNU make style include.
3390 echo "include confinc" > confmf
3391 # Ignore all kinds of additional output from 'make'.
3392 case `$am_make -s -f confmf 2> /dev/null` in #(
3393 *the\ am__doit\ target*)
3399 # Now try BSD make style include.
3400 if test "$am__include" = "#"; then
3401 echo '.include "confinc"' > confmf
3402 case `$am_make -s -f confmf 2> /dev/null` in #(
3403 *the\ am__doit\ target*)
3404 am__include=.include
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3413 $as_echo "$_am_result" >&6; }
3414 rm -f confinc confmf
3416 # Check whether --enable-dependency-tracking was given.
3417 if test "${enable_dependency_tracking+set}" = set; then :
3418 enableval=$enable_dependency_tracking;
3421 if test "x$enable_dependency_tracking" != xno; then
3422 am_depcomp="$ac_aux_dir/depcomp"
3426 if test "x$enable_dependency_tracking" != xno; then
3436 depcc="$CC" am_compiler_list=
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3439 $as_echo_n "checking dependency style of $depcc... " >&6; }
3440 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3444 # We make a subdir and do the tests there. Otherwise we can end up
3445 # making bogus files that we don't know about and never remove. For
3446 # instance it was reported that on HP-UX the gcc test will end up
3447 # making a dummy file named 'D' -- because '-MD' means "put the output
3451 # Copy depcomp to subdir because otherwise we won't find it if we're
3452 # using a relative directory.
3453 cp "$am_depcomp" conftest.dir
3455 # We will build objects and dependencies in a subdirectory because
3456 # it helps to detect inapplicable dependency modes. For instance
3457 # both Tru64's cc and ICC support -MD to output dependencies as a
3458 # side effect of compilation, but ICC will put the dependencies in
3459 # the current directory while Tru64 will put them in the object
3463 am_cv_CC_dependencies_compiler_type=none
3464 if test "$am_compiler_list" = ""; then
3465 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3468 case " $depcc " in #(
3469 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3472 for depmode in $am_compiler_list; do
3473 # Setup a source with many dependencies, because some compilers
3474 # like to wrap large dependency lists on column 80 (with \), and
3475 # we should not choose a depcomp mode which is confused by this.
3477 # We need to recreate these files for each test, as the compiler may
3478 # overwrite some of them when testing with obscure command lines.
3479 # This happens at least with the AIX C compiler.
3481 for i in 1 2 3 4 5 6; do
3482 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3483 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3484 # Solaris 10 /bin/sh.
3485 echo '/* dummy */' > sub/conftst$i.h
3487 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3489 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3490 # mode. It turns out that the SunPro C++ compiler does not properly
3491 # handle '-M -o', and we need to detect this. Also, some Intel
3492 # versions had trouble with output in subdirs.
3493 am__obj=sub/conftest.${OBJEXT-o}
3494 am__minus_obj="-o $am__obj"
3497 # This depmode causes a compiler race in universal mode.
3498 test "$am__universal" = false || continue
3501 # After this tag, mechanisms are not by side-effect, so they'll
3502 # only be used when explicitly requested.
3503 if test "x$enable_dependency_tracking" = xyes; then
3509 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3510 # This compiler won't grok '-c -o', but also, the minuso test has
3511 # not run yet. These depmodes are late enough in the game, and
3512 # so weak that their functioning should not be impacted.
3513 am__obj=conftest.${OBJEXT-o}
3518 if depmode=$depmode \
3519 source=sub/conftest.c object=$am__obj \
3520 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3521 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3522 >/dev/null 2>conftest.err &&
3523 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3524 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3525 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3526 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3527 # icc doesn't choke on unknown options, it will just issue warnings
3528 # or remarks (even with -Werror). So we grep stderr for any message
3529 # that says an option was ignored or not supported.
3530 # When given -MP, icc 7.0 and 7.1 complain thusly:
3531 # icc: Command line warning: ignoring option '-M'; no argument required
3532 # The diagnosis changed in icc 8.0:
3533 # icc: Command line remark: option '-MP' not supported
3534 if (grep 'ignoring option' conftest.err ||
3535 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3536 am_cv_CC_dependencies_compiler_type=$depmode
3545 am_cv_CC_dependencies_compiler_type=none
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3550 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3551 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3554 test "x$enable_dependency_tracking" != xno \
3555 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3557 am__fastdepCC_FALSE='#'
3559 am__fastdepCC_TRUE='#'
3560 am__fastdepCC_FALSE=
3565 ac_cpp='$CPP $CPPFLAGS'
3566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3572 # Check whether --enable-largefile was given.
3573 if test "${enable_largefile+set}" = set; then :
3574 enableval=$enable_largefile;
3577 if test "$enable_largefile" != no; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3580 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3581 if ${ac_cv_sys_largefile_CC+:} false; then :
3582 $as_echo_n "(cached) " >&6
3584 ac_cv_sys_largefile_CC=no
3585 if test "$GCC" != yes; then
3588 # IRIX 6.2 and later do not support large files by default,
3589 # so use the C compiler's -n32 option if that helps.
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3592 #include <sys/types.h>
3593 /* Check that off_t can represent 2**63 - 1 correctly.
3594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3595 since some C++ compilers masquerading as C compilers
3596 incorrectly reject 9223372036854775807. */
3597 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3599 && LARGE_OFF_T % 2147483647 == 1)
3609 if ac_fn_c_try_compile "$LINENO"; then :
3612 rm -f core conftest.err conftest.$ac_objext
3614 if ac_fn_c_try_compile "$LINENO"; then :
3615 ac_cv_sys_largefile_CC=' -n32'; break
3617 rm -f core conftest.err conftest.$ac_objext
3621 rm -f conftest.$ac_ext
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3625 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3626 if test "$ac_cv_sys_largefile_CC" != no; then
3627 CC=$CC$ac_cv_sys_largefile_CC
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3631 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3632 if ${ac_cv_sys_file_offset_bits+:} false; then :
3633 $as_echo_n "(cached) " >&6
3636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637 /* end confdefs.h. */
3638 #include <sys/types.h>
3639 /* Check that off_t can represent 2**63 - 1 correctly.
3640 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3641 since some C++ compilers masquerading as C compilers
3642 incorrectly reject 9223372036854775807. */
3643 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3644 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3645 && LARGE_OFF_T % 2147483647 == 1)
3655 if ac_fn_c_try_compile "$LINENO"; then :
3656 ac_cv_sys_file_offset_bits=no; break
3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3660 /* end confdefs.h. */
3661 #define _FILE_OFFSET_BITS 64
3662 #include <sys/types.h>
3663 /* Check that off_t can represent 2**63 - 1 correctly.
3664 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3665 since some C++ compilers masquerading as C compilers
3666 incorrectly reject 9223372036854775807. */
3667 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3668 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3669 && LARGE_OFF_T % 2147483647 == 1)
3679 if ac_fn_c_try_compile "$LINENO"; then :
3680 ac_cv_sys_file_offset_bits=64; break
3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683 ac_cv_sys_file_offset_bits=unknown
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3688 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3689 case $ac_cv_sys_file_offset_bits in #(
3692 cat >>confdefs.h <<_ACEOF
3693 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3698 if test $ac_cv_sys_file_offset_bits = unknown; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3700 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3701 if ${ac_cv_sys_large_files+:} false; then :
3702 $as_echo_n "(cached) " >&6
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3707 #include <sys/types.h>
3708 /* Check that off_t can represent 2**63 - 1 correctly.
3709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3710 since some C++ compilers masquerading as C compilers
3711 incorrectly reject 9223372036854775807. */
3712 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3714 && LARGE_OFF_T % 2147483647 == 1)
3724 if ac_fn_c_try_compile "$LINENO"; then :
3725 ac_cv_sys_large_files=no; break
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3730 #define _LARGE_FILES 1
3731 #include <sys/types.h>
3732 /* Check that off_t can represent 2**63 - 1 correctly.
3733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3734 since some C++ compilers masquerading as C compilers
3735 incorrectly reject 9223372036854775807. */
3736 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3738 && LARGE_OFF_T % 2147483647 == 1)
3748 if ac_fn_c_try_compile "$LINENO"; then :
3749 ac_cv_sys_large_files=1; break
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 ac_cv_sys_large_files=unknown
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3757 $as_echo "$ac_cv_sys_large_files" >&6; }
3758 case $ac_cv_sys_large_files in #(
3761 cat >>confdefs.h <<_ACEOF
3762 #define _LARGE_FILES $ac_cv_sys_large_files
3779 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3780 if test -n "$ac_tool_prefix"; then
3781 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3782 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3784 $as_echo_n "checking for $ac_word... " >&6; }
3785 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3786 $as_echo_n "(cached) " >&6
3790 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3812 if test -n "$PKG_CONFIG"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3814 $as_echo "$PKG_CONFIG" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$ac_cv_path_PKG_CONFIG"; then
3823 ac_pt_PKG_CONFIG=$PKG_CONFIG
3824 # Extract the first word of "pkg-config", so it can be a program name with args.
3825 set dummy pkg-config; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3829 $as_echo_n "(cached) " >&6
3831 case $ac_pt_PKG_CONFIG in
3833 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3843 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3855 if test -n "$ac_pt_PKG_CONFIG"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3857 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3863 if test "x$ac_pt_PKG_CONFIG" = x; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned=yes ;;
3872 PKG_CONFIG=$ac_pt_PKG_CONFIG
3875 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3879 if test -n "$PKG_CONFIG"; then
3880 _pkg_min_version=0.9.0
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3882 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3883 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3885 $as_echo "yes" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3893 # Handle bash completion
3895 # Check whether --with-bash-completion-dir was given.
3896 if test "${with_bash_completion_dir+set}" = set; then :
3897 withval=$with_bash_completion_dir;
3899 with_bash_completion_dir=yes
3903 if test "x$with_bash_completion_dir" = "xyes"; then
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASH_COMPLETION" >&5
3907 $as_echo_n "checking for BASH_COMPLETION... " >&6; }
3909 if test -n "$BASH_COMPLETION_CFLAGS"; then
3910 pkg_cv_BASH_COMPLETION_CFLAGS="$BASH_COMPLETION_CFLAGS"
3911 elif test -n "$PKG_CONFIG"; then
3912 if test -n "$PKG_CONFIG" && \
3913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion >= 2.0\""; } >&5
3914 ($PKG_CONFIG --exists --print-errors "bash-completion >= 2.0") 2>&5
3916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917 test $ac_status = 0; }; then
3918 pkg_cv_BASH_COMPLETION_CFLAGS=`$PKG_CONFIG --cflags "bash-completion >= 2.0" 2>/dev/null`
3919 test "x$?" != "x0" && pkg_failed=yes
3926 if test -n "$BASH_COMPLETION_LIBS"; then
3927 pkg_cv_BASH_COMPLETION_LIBS="$BASH_COMPLETION_LIBS"
3928 elif test -n "$PKG_CONFIG"; then
3929 if test -n "$PKG_CONFIG" && \
3930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"bash-completion >= 2.0\""; } >&5
3931 ($PKG_CONFIG --exists --print-errors "bash-completion >= 2.0") 2>&5
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; then
3935 pkg_cv_BASH_COMPLETION_LIBS=`$PKG_CONFIG --libs "bash-completion >= 2.0" 2>/dev/null`
3936 test "x$?" != "x0" && pkg_failed=yes
3946 if test $pkg_failed = yes; then
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3951 _pkg_short_errors_supported=yes
3953 _pkg_short_errors_supported=no
3955 if test $_pkg_short_errors_supported = yes; then
3956 BASH_COMPLETION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "bash-completion >= 2.0" 2>&1`
3958 BASH_COMPLETION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "bash-completion >= 2.0" 2>&1`
3960 # Put the nasty error message in config.log where it belongs
3961 echo "$BASH_COMPLETION_PKG_ERRORS" >&5
3963 BASH_COMPLETION_DIR="${sysconfdir}/bash_completion.d"
3964 elif test $pkg_failed = untried; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967 BASH_COMPLETION_DIR="${sysconfdir}/bash_completion.d"
3969 BASH_COMPLETION_CFLAGS=$pkg_cv_BASH_COMPLETION_CFLAGS
3970 BASH_COMPLETION_LIBS=$pkg_cv_BASH_COMPLETION_LIBS
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3972 $as_echo "yes" >&6; }
3973 BASH_COMPLETION_DIR="`pkg-config --variable=completionsdir bash-completion`"
3976 BASH_COMPLETION_DIR="$with_bash_completion_dir"
3979 if test "x$with_bash_completion_dir" != "xno"; then
3980 ENABLE_BASH_COMPLETION_TRUE=
3981 ENABLE_BASH_COMPLETION_FALSE='#'
3983 ENABLE_BASH_COMPLETION_TRUE='#'
3984 ENABLE_BASH_COMPLETION_FALSE=
3988 # TIO_CHECK_BAUDRATE(N)
3991 # TIO_CHECK_BAUDRATES(N1, N2, ...)
3994 # Check for available terminal I/O speeds
3998 ac_fn_c_check_decl "$LINENO" "B0" "ac_cv_have_decl_B0" "#include <termios.h>
4000 if test "x$ac_cv_have_decl_B0" = xyes; then :
4006 if test $tio_have_decl = 1; then :
4008 BAUDRATES="$BAUDRATES 0"
4010 BAUDRATE_CASES="$BAUDRATE_CASES case 0: baudrate = B0; break;"
4016 ac_fn_c_check_decl "$LINENO" "B50" "ac_cv_have_decl_B50" "#include <termios.h>
4018 if test "x$ac_cv_have_decl_B50" = xyes; then :
4024 if test $tio_have_decl = 1; then :
4026 BAUDRATES="$BAUDRATES 50"
4028 BAUDRATE_CASES="$BAUDRATE_CASES case 50: baudrate = B50; break;"
4034 ac_fn_c_check_decl "$LINENO" "B75" "ac_cv_have_decl_B75" "#include <termios.h>
4036 if test "x$ac_cv_have_decl_B75" = xyes; then :
4042 if test $tio_have_decl = 1; then :
4044 BAUDRATES="$BAUDRATES 75"
4046 BAUDRATE_CASES="$BAUDRATE_CASES case 75: baudrate = B75; break;"
4052 ac_fn_c_check_decl "$LINENO" "B110" "ac_cv_have_decl_B110" "#include <termios.h>
4054 if test "x$ac_cv_have_decl_B110" = xyes; then :
4060 if test $tio_have_decl = 1; then :
4062 BAUDRATES="$BAUDRATES 110"
4064 BAUDRATE_CASES="$BAUDRATE_CASES case 110: baudrate = B110; break;"
4070 ac_fn_c_check_decl "$LINENO" "B134" "ac_cv_have_decl_B134" "#include <termios.h>
4072 if test "x$ac_cv_have_decl_B134" = xyes; then :
4078 if test $tio_have_decl = 1; then :
4080 BAUDRATES="$BAUDRATES 134"
4082 BAUDRATE_CASES="$BAUDRATE_CASES case 134: baudrate = B134; break;"
4088 ac_fn_c_check_decl "$LINENO" "B150" "ac_cv_have_decl_B150" "#include <termios.h>
4090 if test "x$ac_cv_have_decl_B150" = xyes; then :
4096 if test $tio_have_decl = 1; then :
4098 BAUDRATES="$BAUDRATES 150"
4100 BAUDRATE_CASES="$BAUDRATE_CASES case 150: baudrate = B150; break;"
4106 ac_fn_c_check_decl "$LINENO" "B200" "ac_cv_have_decl_B200" "#include <termios.h>
4108 if test "x$ac_cv_have_decl_B200" = xyes; then :
4114 if test $tio_have_decl = 1; then :
4116 BAUDRATES="$BAUDRATES 200"
4118 BAUDRATE_CASES="$BAUDRATE_CASES case 200: baudrate = B200; break;"
4124 ac_fn_c_check_decl "$LINENO" "B300" "ac_cv_have_decl_B300" "#include <termios.h>
4126 if test "x$ac_cv_have_decl_B300" = xyes; then :
4132 if test $tio_have_decl = 1; then :
4134 BAUDRATES="$BAUDRATES 300"
4136 BAUDRATE_CASES="$BAUDRATE_CASES case 300: baudrate = B300; break;"
4142 ac_fn_c_check_decl "$LINENO" "B600" "ac_cv_have_decl_B600" "#include <termios.h>
4144 if test "x$ac_cv_have_decl_B600" = xyes; then :
4150 if test $tio_have_decl = 1; then :
4152 BAUDRATES="$BAUDRATES 600"
4154 BAUDRATE_CASES="$BAUDRATE_CASES case 600: baudrate = B600; break;"
4160 ac_fn_c_check_decl "$LINENO" "B1200" "ac_cv_have_decl_B1200" "#include <termios.h>
4162 if test "x$ac_cv_have_decl_B1200" = xyes; then :
4168 if test $tio_have_decl = 1; then :
4170 BAUDRATES="$BAUDRATES 1200"
4172 BAUDRATE_CASES="$BAUDRATE_CASES case 1200: baudrate = B1200; break;"
4178 ac_fn_c_check_decl "$LINENO" "B1800" "ac_cv_have_decl_B1800" "#include <termios.h>
4180 if test "x$ac_cv_have_decl_B1800" = xyes; then :
4186 if test $tio_have_decl = 1; then :
4188 BAUDRATES="$BAUDRATES 1800"
4190 BAUDRATE_CASES="$BAUDRATE_CASES case 1800: baudrate = B1800; break;"
4196 ac_fn_c_check_decl "$LINENO" "B2400" "ac_cv_have_decl_B2400" "#include <termios.h>
4198 if test "x$ac_cv_have_decl_B2400" = xyes; then :
4204 if test $tio_have_decl = 1; then :
4206 BAUDRATES="$BAUDRATES 2400"
4208 BAUDRATE_CASES="$BAUDRATE_CASES case 2400: baudrate = B2400; break;"
4214 ac_fn_c_check_decl "$LINENO" "B4800" "ac_cv_have_decl_B4800" "#include <termios.h>
4216 if test "x$ac_cv_have_decl_B4800" = xyes; then :
4222 if test $tio_have_decl = 1; then :
4224 BAUDRATES="$BAUDRATES 4800"
4226 BAUDRATE_CASES="$BAUDRATE_CASES case 4800: baudrate = B4800; break;"
4232 ac_fn_c_check_decl "$LINENO" "B7200" "ac_cv_have_decl_B7200" "#include <termios.h>
4234 if test "x$ac_cv_have_decl_B7200" = xyes; then :
4240 if test $tio_have_decl = 1; then :
4242 BAUDRATES="$BAUDRATES 7200"
4244 BAUDRATE_CASES="$BAUDRATE_CASES case 7200: baudrate = B7200; break;"
4250 ac_fn_c_check_decl "$LINENO" "B9600" "ac_cv_have_decl_B9600" "#include <termios.h>
4252 if test "x$ac_cv_have_decl_B9600" = xyes; then :
4258 if test $tio_have_decl = 1; then :
4260 BAUDRATES="$BAUDRATES 9600"
4262 BAUDRATE_CASES="$BAUDRATE_CASES case 9600: baudrate = B9600; break;"
4268 ac_fn_c_check_decl "$LINENO" "B14400" "ac_cv_have_decl_B14400" "#include <termios.h>
4270 if test "x$ac_cv_have_decl_B14400" = xyes; then :
4276 if test $tio_have_decl = 1; then :
4278 BAUDRATES="$BAUDRATES 14400"
4280 BAUDRATE_CASES="$BAUDRATE_CASES case 14400: baudrate = B14400; break;"
4286 ac_fn_c_check_decl "$LINENO" "B19200" "ac_cv_have_decl_B19200" "#include <termios.h>
4288 if test "x$ac_cv_have_decl_B19200" = xyes; then :
4294 if test $tio_have_decl = 1; then :
4296 BAUDRATES="$BAUDRATES 19200"
4298 BAUDRATE_CASES="$BAUDRATE_CASES case 19200: baudrate = B19200; break;"
4304 ac_fn_c_check_decl "$LINENO" "B28800" "ac_cv_have_decl_B28800" "#include <termios.h>
4306 if test "x$ac_cv_have_decl_B28800" = xyes; then :
4312 if test $tio_have_decl = 1; then :
4314 BAUDRATES="$BAUDRATES 28800"
4316 BAUDRATE_CASES="$BAUDRATE_CASES case 28800: baudrate = B28800; break;"
4322 ac_fn_c_check_decl "$LINENO" "B38400" "ac_cv_have_decl_B38400" "#include <termios.h>
4324 if test "x$ac_cv_have_decl_B38400" = xyes; then :
4330 if test $tio_have_decl = 1; then :
4332 BAUDRATES="$BAUDRATES 38400"
4334 BAUDRATE_CASES="$BAUDRATE_CASES case 38400: baudrate = B38400; break;"
4340 ac_fn_c_check_decl "$LINENO" "B57600" "ac_cv_have_decl_B57600" "#include <termios.h>
4342 if test "x$ac_cv_have_decl_B57600" = xyes; then :
4348 if test $tio_have_decl = 1; then :
4350 BAUDRATES="$BAUDRATES 57600"
4352 BAUDRATE_CASES="$BAUDRATE_CASES case 57600: baudrate = B57600; break;"
4358 ac_fn_c_check_decl "$LINENO" "B76800" "ac_cv_have_decl_B76800" "#include <termios.h>
4360 if test "x$ac_cv_have_decl_B76800" = xyes; then :
4366 if test $tio_have_decl = 1; then :
4368 BAUDRATES="$BAUDRATES 76800"
4370 BAUDRATE_CASES="$BAUDRATE_CASES case 76800: baudrate = B76800; break;"
4376 ac_fn_c_check_decl "$LINENO" "B115200" "ac_cv_have_decl_B115200" "#include <termios.h>
4378 if test "x$ac_cv_have_decl_B115200" = xyes; then :
4384 if test $tio_have_decl = 1; then :
4386 BAUDRATES="$BAUDRATES 115200"
4388 BAUDRATE_CASES="$BAUDRATE_CASES case 115200: baudrate = B115200; break;"
4394 ac_fn_c_check_decl "$LINENO" "B230400" "ac_cv_have_decl_B230400" "#include <termios.h>
4396 if test "x$ac_cv_have_decl_B230400" = xyes; then :
4402 if test $tio_have_decl = 1; then :
4404 BAUDRATES="$BAUDRATES 230400"
4406 BAUDRATE_CASES="$BAUDRATE_CASES case 230400: baudrate = B230400; break;"
4412 ac_fn_c_check_decl "$LINENO" "B460800" "ac_cv_have_decl_B460800" "#include <termios.h>
4414 if test "x$ac_cv_have_decl_B460800" = xyes; then :
4420 if test $tio_have_decl = 1; then :
4422 BAUDRATES="$BAUDRATES 460800"
4424 BAUDRATE_CASES="$BAUDRATE_CASES case 460800: baudrate = B460800; break;"
4430 ac_fn_c_check_decl "$LINENO" "B500000" "ac_cv_have_decl_B500000" "#include <termios.h>
4432 if test "x$ac_cv_have_decl_B500000" = xyes; then :
4438 if test $tio_have_decl = 1; then :
4440 BAUDRATES="$BAUDRATES 500000"
4442 BAUDRATE_CASES="$BAUDRATE_CASES case 500000: baudrate = B500000; break;"
4448 ac_fn_c_check_decl "$LINENO" "B576000" "ac_cv_have_decl_B576000" "#include <termios.h>
4450 if test "x$ac_cv_have_decl_B576000" = xyes; then :
4456 if test $tio_have_decl = 1; then :
4458 BAUDRATES="$BAUDRATES 576000"
4460 BAUDRATE_CASES="$BAUDRATE_CASES case 576000: baudrate = B576000; break;"
4466 ac_fn_c_check_decl "$LINENO" "B921600" "ac_cv_have_decl_B921600" "#include <termios.h>
4468 if test "x$ac_cv_have_decl_B921600" = xyes; then :
4474 if test $tio_have_decl = 1; then :
4476 BAUDRATES="$BAUDRATES 921600"
4478 BAUDRATE_CASES="$BAUDRATE_CASES case 921600: baudrate = B921600; break;"
4484 ac_fn_c_check_decl "$LINENO" "B1000000" "ac_cv_have_decl_B1000000" "#include <termios.h>
4486 if test "x$ac_cv_have_decl_B1000000" = xyes; then :
4492 if test $tio_have_decl = 1; then :
4494 BAUDRATES="$BAUDRATES 1000000"
4496 BAUDRATE_CASES="$BAUDRATE_CASES case 1000000: baudrate = B1000000; break;"
4502 ac_fn_c_check_decl "$LINENO" "B1152000" "ac_cv_have_decl_B1152000" "#include <termios.h>
4504 if test "x$ac_cv_have_decl_B1152000" = xyes; then :
4510 if test $tio_have_decl = 1; then :
4512 BAUDRATES="$BAUDRATES 1152000"
4514 BAUDRATE_CASES="$BAUDRATE_CASES case 1152000: baudrate = B1152000; break;"
4520 ac_fn_c_check_decl "$LINENO" "B1500000" "ac_cv_have_decl_B1500000" "#include <termios.h>
4522 if test "x$ac_cv_have_decl_B1500000" = xyes; then :
4528 if test $tio_have_decl = 1; then :
4530 BAUDRATES="$BAUDRATES 1500000"
4532 BAUDRATE_CASES="$BAUDRATE_CASES case 1500000: baudrate = B1500000; break;"
4538 ac_fn_c_check_decl "$LINENO" "B2000000" "ac_cv_have_decl_B2000000" "#include <termios.h>
4540 if test "x$ac_cv_have_decl_B2000000" = xyes; then :
4546 if test $tio_have_decl = 1; then :
4548 BAUDRATES="$BAUDRATES 2000000"
4550 BAUDRATE_CASES="$BAUDRATE_CASES case 2000000: baudrate = B2000000; break;"
4556 ac_fn_c_check_decl "$LINENO" "B2500000" "ac_cv_have_decl_B2500000" "#include <termios.h>
4558 if test "x$ac_cv_have_decl_B2500000" = xyes; then :
4564 if test $tio_have_decl = 1; then :
4566 BAUDRATES="$BAUDRATES 2500000"
4568 BAUDRATE_CASES="$BAUDRATE_CASES case 2500000: baudrate = B2500000; break;"
4574 ac_fn_c_check_decl "$LINENO" "B3000000" "ac_cv_have_decl_B3000000" "#include <termios.h>
4576 if test "x$ac_cv_have_decl_B3000000" = xyes; then :
4582 if test $tio_have_decl = 1; then :
4584 BAUDRATES="$BAUDRATES 3000000"
4586 BAUDRATE_CASES="$BAUDRATE_CASES case 3000000: baudrate = B3000000; break;"
4592 ac_fn_c_check_decl "$LINENO" "B3500000" "ac_cv_have_decl_B3500000" "#include <termios.h>
4594 if test "x$ac_cv_have_decl_B3500000" = xyes; then :
4600 if test $tio_have_decl = 1; then :
4602 BAUDRATES="$BAUDRATES 3500000"
4604 BAUDRATE_CASES="$BAUDRATE_CASES case 3500000: baudrate = B3500000; break;"
4610 ac_fn_c_check_decl "$LINENO" "B4000000" "ac_cv_have_decl_B4000000" "#include <termios.h>
4612 if test "x$ac_cv_have_decl_B4000000" = xyes; then :
4618 if test $tio_have_decl = 1; then :
4620 BAUDRATES="$BAUDRATES 4000000"
4622 BAUDRATE_CASES="$BAUDRATE_CASES case 4000000: baudrate = B4000000; break;"
4631 cat >>confdefs.h <<_ACEOF
4632 #define AUTOCONF_BAUDRATE_CASES $BAUDRATE_CASES
4636 # Check that it is possible to set arbitrary baud rates using BOTHER
4637 ac_fn_c_check_decl "$LINENO" "BOTHER" "ac_cv_have_decl_BOTHER" "#include <asm/termios.h>
4639 if test "x$ac_cv_have_decl_BOTHER" = xyes; then :
4645 cat >>confdefs.h <<_ACEOF
4646 #define HAVE_DECL_BOTHER $ac_have_decl
4650 ac_config_files="$ac_config_files Makefile"
4652 ac_config_files="$ac_config_files src/Makefile"
4654 ac_config_files="$ac_config_files src/bash-completion/tio"
4656 ac_config_files="$ac_config_files man/Makefile"
4658 cat >confcache <<\_ACEOF
4659 # This file is a shell script that caches the results of configure
4660 # tests run on this system so they can be shared between configure
4661 # scripts and configure runs, see configure's option --config-cache.
4662 # It is not useful on other systems. If it contains results you don't
4663 # want to keep, you may remove or edit it.
4665 # config.status only pays attention to the cache file if you give it
4666 # the --recheck option to rerun configure.
4668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4674 # The following way of writing the cache mishandles newlines in values,
4675 # but we know of no workaround that is simple, portable, and efficient.
4676 # So, we kill variables containing newlines.
4677 # Ultrix sh set writes to stderr and can't be redirected directly,
4678 # and sets the high bit in the cache file unless we assign to the vars.
4680 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4681 eval ac_val=\$$ac_var
4685 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4686 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4689 _ | IFS | as_nl) ;; #(
4690 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4691 *) { eval $ac_var=; unset $ac_var;} ;;
4697 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4698 *${as_nl}ac_space=\ *)
4699 # `set' does not quote correctly, so add quotes: double-quote
4700 # substitution turns \\\\ into \\, and sed turns \\ into \.
4703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4706 # `set' quotes correctly as required by POSIX, so do not add quotes.
4707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4716 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4718 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4720 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4721 if test -w "$cache_file"; then
4722 if test "x$cache_file" != "x/dev/null"; then
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4724 $as_echo "$as_me: updating cache $cache_file" >&6;}
4725 if test ! -f "$cache_file" || test -h "$cache_file"; then
4726 cat confcache >"$cache_file"
4728 case $cache_file in #(
4730 mv -f confcache "$cache_file"$$ &&
4731 mv -f "$cache_file"$$ "$cache_file" ;; #(
4733 mv -f confcache "$cache_file" ;;
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4739 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4744 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4745 # Let make expand exec_prefix.
4746 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4748 DEFS=-DHAVE_CONFIG_H
4753 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4754 # 1. Remove the extension, and $U if already installed.
4755 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4756 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4758 # will be set to the directory where LIBOBJS objects are built.
4759 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4760 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4764 LTLIBOBJS=$ac_ltlibobjs
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4768 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4769 if test -n "$am_sleep_pid"; then
4770 # Hide warnings about reused PIDs.
4771 wait $am_sleep_pid 2>/dev/null
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4774 $as_echo "done" >&6; }
4775 if test -n "$EXEEXT"; then
4777 am__EXEEXT_FALSE='#'
4783 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4784 as_fn_error $? "conditional \"AMDEP\" was never defined.
4785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4787 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4788 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4791 if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then
4792 as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined.
4793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4796 : "${CONFIG_STATUS=./config.status}"
4798 ac_clean_files_save=$ac_clean_files
4799 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4801 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4803 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4805 # Generated by $as_me.
4806 # Run this file to recreate the current configuration.
4807 # Compiler output produced by configure, useful for debugging
4808 # configure, is in config.log if it exists.
4814 SHELL=\${CONFIG_SHELL-$SHELL}
4817 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4818 ## -------------------- ##
4819 ## M4sh Initialization. ##
4820 ## -------------------- ##
4822 # Be more Bourne compatible
4823 DUALCASE=1; export DUALCASE # for MKS sh
4824 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4827 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4828 # is contrary to our usage. Disable this feature.
4829 alias -g '${1+"$@"}'='"$@"'
4830 setopt NO_GLOB_SUBST
4832 case `(set -o) 2>/dev/null` in #(
4844 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4845 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4847 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4848 # Prefer a ksh shell builtin over an external printf program on Solaris,
4849 # but without wasting forks for bash or zsh.
4850 if test -z "$BASH_VERSION$ZSH_VERSION" \
4851 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4852 as_echo='print -r --'
4853 as_echo_n='print -rn --'
4854 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4855 as_echo='printf %s\n'
4856 as_echo_n='printf %s'
4858 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4859 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4860 as_echo_n='/usr/ucb/echo -n'
4862 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4863 as_echo_n_body='eval
4867 expr "X$arg" : "X\\(.*\\)$as_nl";
4868 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4870 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4872 export as_echo_n_body
4873 as_echo_n='sh -c $as_echo_n_body as_echo'
4876 as_echo='sh -c $as_echo_body as_echo'
4879 # The user is always right.
4880 if test "${PATH_SEPARATOR+set}" != set; then
4882 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4883 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4890 # We need space, tab and new line, in precisely that order. Quoting is
4891 # there to prevent editors from complaining about space-tab.
4892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4893 # splitting by setting IFS to empty value.)
4896 # Find who we are. Look in the path if we contain no directory separator.
4899 *[\\/]* ) as_myself=$0 ;;
4900 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir=.
4905 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4911 # We did not find ourselves, most probably we were run as `sh COMMAND'
4912 # in which case we are not to be found in the path.
4913 if test "x$as_myself" = x; then
4916 if test ! -f "$as_myself"; then
4917 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4921 # Unset variables that we do not need and which cause bugs (e.g. in
4922 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4923 # suppresses any "Segmentation fault" message there. '((' could
4924 # trigger a bug in pdksh 5.2.14.
4925 for as_var in BASH_ENV ENV MAIL MAILPATH
4926 do eval test x\${$as_var+set} = xset \
4927 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4940 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4943 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4944 # ----------------------------------------
4945 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4946 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4947 # script with STATUS, using 1 if that was 0.
4950 as_status=$1; test $as_status -eq 0 && as_status=1
4952 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4953 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4955 $as_echo "$as_me: error: $2" >&2
4956 as_fn_exit $as_status
4960 # as_fn_set_status STATUS
4961 # -----------------------
4962 # Set $? to STATUS, without forking.
4966 } # as_fn_set_status
4970 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4980 # Portably unset VAR.
4983 { eval $1=; unset $1;}
4985 as_unset=as_fn_unset
4986 # as_fn_append VAR VALUE
4987 # ----------------------
4988 # Append the text in VALUE to the end of the definition contained in VAR. Take
4989 # advantage of any shell optimizations that allow amortized linear growth over
4990 # repeated appends, instead of the typical quadratic growth present in naive
4992 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4993 eval 'as_fn_append ()
5004 # as_fn_arith ARG...
5005 # ------------------
5006 # Perform arithmetic evaluation on the ARGs, and store the result in the
5007 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5008 # must be portable across $(()) and expr.
5009 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5010 eval 'as_fn_arith ()
5017 as_val=`expr "$@" || test $? -eq 1`
5022 if expr a : '\(a\)' >/dev/null 2>&1 &&
5023 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5029 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5030 as_basename=basename
5035 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5041 as_me=`$as_basename -- "$0" ||
5042 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5043 X"$0" : 'X\(//\)$' \| \
5044 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5046 sed '/^.*\/\([^/][^/]*\)\/*$/{
5060 # Avoid depending upon Character Ranges.
5061 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5062 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5063 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5064 as_cr_digits='0123456789'
5065 as_cr_alnum=$as_cr_Letters$as_cr_digits
5067 ECHO_C= ECHO_N= ECHO_T=
5068 case `echo -n x` in #(((((
5070 case `echo 'xy\c'` in
5071 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5073 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5080 rm -f conf$$ conf$$.exe conf$$.file
5081 if test -d conf$$.dir; then
5082 rm -f conf$$.dir/conf$$.file
5085 mkdir conf$$.dir 2>/dev/null
5087 if (echo >conf$$.file) 2>/dev/null; then
5088 if ln -s conf$$.file conf$$ 2>/dev/null; then
5090 # ... but there are two gotchas:
5091 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5092 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5093 # In both cases, we have to default to `cp -pR'.
5094 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5096 elif ln conf$$.file conf$$ 2>/dev/null; then
5104 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5105 rmdir conf$$.dir 2>/dev/null
5110 # Create "$as_dir" as a directory, including parents if necessary.
5115 -*) as_dir=./$as_dir;;
5117 test -d "$as_dir" || eval $as_mkdir_p || {
5121 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5122 *) as_qdir=$as_dir;;
5124 as_dirs="'$as_qdir' $as_dirs"
5125 as_dir=`$as_dirname -- "$as_dir" ||
5126 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5127 X"$as_dir" : 'X\(//\)[^/]' \| \
5128 X"$as_dir" : 'X\(//\)$' \| \
5129 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5130 $as_echo X"$as_dir" |
5131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5148 test -d "$as_dir" && break
5150 test -z "$as_dirs" || eval "mkdir $as_dirs"
5151 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5155 if mkdir -p . 2>/dev/null; then
5156 as_mkdir_p='mkdir -p "$as_dir"'
5158 test -d ./-p && rmdir ./-p
5163 # as_fn_executable_p FILE
5164 # -----------------------
5165 # Test if FILE is an executable regular file.
5166 as_fn_executable_p ()
5168 test -f "$1" && test -x "$1"
5169 } # as_fn_executable_p
5171 as_executable_p=as_fn_executable_p
5173 # Sed expression to map a string onto a valid CPP name.
5174 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5176 # Sed expression to map a string onto a valid variable name.
5177 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5181 ## ----------------------------------- ##
5182 ## Main body of $CONFIG_STATUS script. ##
5183 ## ----------------------------------- ##
5185 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5188 # Save the log message, to keep $0 and so on meaningful, and to
5189 # report actual input values of CONFIG_FILES etc. instead of their
5190 # values after options handling.
5192 This file was extended by tio $as_me 1.18, which was
5193 generated by GNU Autoconf 2.69. Invocation command line was
5195 CONFIG_FILES = $CONFIG_FILES
5196 CONFIG_HEADERS = $CONFIG_HEADERS
5197 CONFIG_LINKS = $CONFIG_LINKS
5198 CONFIG_COMMANDS = $CONFIG_COMMANDS
5201 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5206 case $ac_config_files in *"
5207 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5210 case $ac_config_headers in *"
5211 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5216 # Files that config.status was made for.
5217 config_files="$ac_config_files"
5218 config_headers="$ac_config_headers"
5219 config_commands="$ac_config_commands"
5223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5225 \`$as_me' instantiates files and other configuration actions
5226 from templates according to the current configuration. Unless the files
5227 and actions are specified as TAGs, all are instantiated by default.
5229 Usage: $0 [OPTION]... [TAG]...
5231 -h, --help print this help, then exit
5232 -V, --version print version number and configuration settings, then exit
5233 --config print configuration, then exit
5234 -q, --quiet, --silent
5235 do not print progress messages
5236 -d, --debug don't remove temporary files
5237 --recheck update $as_me by reconfiguring in the same conditions
5238 --file=FILE[:TEMPLATE]
5239 instantiate the configuration file FILE
5240 --header=FILE[:TEMPLATE]
5241 instantiate the configuration header FILE
5243 Configuration files:
5246 Configuration headers:
5249 Configuration commands:
5252 Report bugs to the package provider.
5253 tio home page: <https://tio.github.io>."
5256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5257 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5259 tio config.status 1.18
5260 configured by $0, generated by GNU Autoconf 2.69,
5261 with options \\"\$ac_cs_config\\"
5263 Copyright (C) 2012 Free Software Foundation, Inc.
5264 This config.status script is free software; the Free Software Foundation
5265 gives unlimited permission to copy, distribute and modify it."
5272 test -n "\$AWK" || AWK=awk
5275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5276 # The default lists apply if the user does not specify any file.
5282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5283 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5287 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5299 # Handling of the options.
5300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5302 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5303 $as_echo "$ac_cs_version"; exit ;;
5304 --config | --confi | --conf | --con | --co | --c )
5305 $as_echo "$ac_cs_config"; exit ;;
5306 --debug | --debu | --deb | --de | --d | -d )
5308 --file | --fil | --fi | --f )
5311 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5312 '') as_fn_error $? "missing file argument" ;;
5314 as_fn_append CONFIG_FILES " '$ac_optarg'"
5315 ac_need_defaults=false;;
5316 --header | --heade | --head | --hea )
5319 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5321 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5322 ac_need_defaults=false;;
5324 # Conflict between --help and --header
5325 as_fn_error $? "ambiguous option: \`$1'
5326 Try \`$0 --help' for more information.";;
5327 --help | --hel | -h )
5328 $as_echo "$ac_cs_usage"; exit ;;
5329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5330 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5334 -*) as_fn_error $? "unrecognized option: \`$1'
5335 Try \`$0 --help' for more information." ;;
5337 *) as_fn_append ac_config_targets " $1"
5338 ac_need_defaults=false ;;
5344 ac_configure_extra_args=
5346 if $ac_cs_silent; then
5348 ac_configure_extra_args="$ac_configure_extra_args --silent"
5352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5353 if \$ac_cs_recheck; then
5354 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5357 CONFIG_SHELL='$SHELL'
5363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5368 ## Running $as_me. ##
5374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5378 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5384 # Handling of arguments.
5385 for ac_config_target in $ac_config_targets
5387 case $ac_config_target in
5388 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
5389 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5390 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5391 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5392 "src/bash-completion/tio") CONFIG_FILES="$CONFIG_FILES src/bash-completion/tio" ;;
5393 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5395 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5400 # If the user did not use the arguments to specify the items to instantiate,
5401 # then the envvar interface is used. Set only those that are not.
5402 # We use the long form for the default assignment because of an extremely
5403 # bizarre bug on SunOS 4.1.3.
5404 if $ac_need_defaults; then
5405 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5406 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5407 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5410 # Have a temporary directory for convenience. Make it in the build tree
5411 # simply because there is no reason against having it here, and in addition,
5412 # creating and moving files from /tmp can sometimes cause problems.
5413 # Hook for its removal unless debugging.
5414 # Note that there is a small window in which the directory will not be cleaned:
5415 # after its creation but before its name has been assigned to `$tmp'.
5419 trap 'exit_status=$?
5421 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5423 trap 'as_fn_exit 1' 1 2 13 15
5425 # Create a (secure) tmp directory for tmp files.
5428 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5432 tmp=./conf$$-$RANDOM
5433 (umask 077 && mkdir "$tmp")
5434 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5437 # Set up the scripts for CONFIG_FILES section.
5438 # No need to generate them if there are no CONFIG_FILES.
5439 # This happens for instance with `./config.status config.h'.
5440 if test -n "$CONFIG_FILES"; then
5443 ac_cr=`echo X | tr X '\015'`
5444 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5445 # But we know of no other shell where ac_cr would be empty at this
5446 # point, so we can use a bashism as a fallback.
5447 if test "x$ac_cr" = x; then
5448 eval ac_cr=\$\'\\r\'
5450 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5451 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5457 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5462 echo "cat >conf$$subs.awk <<_ACEOF" &&
5463 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5466 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5467 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5469 for ac_last_try in false false false false false :; do
5470 . ./conf$$subs.sh ||
5471 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5473 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5474 if test $ac_delim_n = $ac_delim_num; then
5476 elif $ac_last_try; then
5477 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5479 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5485 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5489 s/^/S["/; s/!.*/"]=/
5499 s/\(.\{148\}\)..*/\1/
5501 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5506 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5513 s/\(.\{148\}\)..*/\1/
5515 s/["\\]/\\&/g; s/^/"/; s/$/"/
5519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5524 ' <conf$$subs.awk | sed '
5529 ' >>$CONFIG_STATUS || ac_write_fail=1
5530 rm -f conf$$subs.awk
5531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5533 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5534 for (key in S) S_is_set[key] = 1
5540 nfields = split(line, field, "@")
5542 len = length(field[1])
5543 for (i = 2; i < nfields; i++) {
5545 keylen = length(key)
5546 if (S_is_set[key]) {
5548 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5549 len += length(value) + length(field[++i])
5560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5561 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5562 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5565 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5566 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5569 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5570 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5571 # trailing colons and then remove the whole line if VPATH becomes empty
5572 # (actually we leave an empty line to preserve line numbers).
5573 if test "x$srcdir" = x.; then
5574 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5593 fi # test -n "$CONFIG_FILES"
5595 # Set up the scripts for CONFIG_HEADERS section.
5596 # No need to generate them if there are no CONFIG_HEADERS.
5597 # This happens for instance with `./config.status Makefile'.
5598 if test -n "$CONFIG_HEADERS"; then
5599 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5603 # Transform confdefs.h into an awk script `defines.awk', embedded as
5604 # here-document in config.status, that substitutes the proper values into
5605 # config.h.in to produce config.h.
5607 # Create a delimiter string that does not exist in confdefs.h, to ease
5608 # handling of long lines.
5610 for ac_last_try in false false :; do
5611 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5612 if test -z "$ac_tt"; then
5614 elif $ac_last_try; then
5615 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5621 # For the awk script, D is an array of macro values keyed by name,
5622 # likewise P contains macro parameters if any. Preserve backslash
5623 # newline sequences.
5625 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5627 s/.\{148\}/&'"$ac_delim"'/g
5630 s/^[ ]*#[ ]*define[ ][ ]*/ /
5637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5644 D["\1"]=" \3\\\\\\n"\\/p
5646 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5651 s/.\{148\}/&'"$ac_delim"'/g
5656 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5659 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5661 ' <confdefs.h | sed '
5662 s/'"$ac_delim"'/"\\\
5663 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5666 for (key in D) D_is_set[key] = 1
5669 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5671 split(line, arg, " ")
5672 if (arg[1] == "#") {
5676 defundef = substr(arg[1], 2)
5679 split(mac1, mac2, "(") #)
5681 prefix = substr(line, 1, index(line, defundef) - 1)
5682 if (D_is_set[macro]) {
5683 # Preserve the white space surrounding the "#".
5684 print prefix "define", macro P[macro] D[macro]
5687 # Replace #undef with comments. This is necessary, for example,
5688 # in the case of _POSIX_SOURCE, which is predefined and required
5689 # on some systems where configure will not decide to define it.
5690 if (defundef == "undef") {
5691 print "/*", prefix defundef, macro, "*/"
5699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5700 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5701 fi # test -n "$CONFIG_HEADERS"
5704 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5709 :[FHLC]) ac_mode=$ac_tag; continue;;
5711 case $ac_mode$ac_tag in
5713 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5714 :[FH]-) ac_tag=-:-;;
5715 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5732 -) ac_f="$ac_tmp/stdin";;
5733 *) # Look for the file first in the build tree, then in the source tree
5734 # (if the path is not absolute). The absolute path cannot be DOS-style,
5735 # because $ac_f cannot contain `:'.
5739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5741 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5743 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5744 as_fn_append ac_file_inputs " '$ac_f'"
5747 # Let's still pretend it is `configure' which instantiates (i.e., don't
5748 # use $as_me), people would be surprised to read:
5749 # /* config.h. Generated by config.status. */
5750 configure_input='Generated from '`
5751 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5753 if test x"$ac_file" != x-; then
5754 configure_input="$ac_file. $configure_input"
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5756 $as_echo "$as_me: creating $ac_file" >&6;}
5758 # Neutralize special characters interpreted by sed in replacement strings.
5759 case $configure_input in #(
5760 *\&* | *\|* | *\\* )
5761 ac_sed_conf_input=`$as_echo "$configure_input" |
5762 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5763 *) ac_sed_conf_input=$configure_input;;
5767 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5768 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5773 ac_dir=`$as_dirname -- "$ac_file" ||
5774 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5775 X"$ac_file" : 'X\(//\)[^/]' \| \
5776 X"$ac_file" : 'X\(//\)$' \| \
5777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5778 $as_echo X"$ac_file" |
5779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5796 as_dir="$ac_dir"; as_fn_mkdir_p
5800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5803 # A ".." for each directory in $ac_dir_suffix.
5804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5805 case $ac_top_builddir_sub in
5806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5810 ac_abs_top_builddir=$ac_pwd
5811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5812 # for backward compatibility:
5813 ac_top_builddir=$ac_top_build_prefix
5816 .) # We are building in place.
5818 ac_top_srcdir=$ac_top_builddir_sub
5819 ac_abs_top_srcdir=$ac_pwd ;;
5820 [\\/]* | ?:[\\/]* ) # Absolute name.
5821 ac_srcdir=$srcdir$ac_dir_suffix;
5822 ac_top_srcdir=$srcdir
5823 ac_abs_top_srcdir=$srcdir ;;
5825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5826 ac_top_srcdir=$ac_top_build_prefix$srcdir
5827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5839 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5840 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5844 [\\/$]* | ?:[\\/]* ) ;;
5845 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5850 # If the template does not know about datarootdir, expand it.
5851 # FIXME: This hack should be removed a few years after 2.60.
5852 ac_datarootdir_hack=; ac_datarootdir_seen=
5863 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5864 *datarootdir*) ac_datarootdir_seen=yes;;
5865 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5867 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5870 ac_datarootdir_hack='
5871 s&@datadir@&$datadir&g
5872 s&@docdir@&$docdir&g
5873 s&@infodir@&$infodir&g
5874 s&@localedir@&$localedir&g
5875 s&@mandir@&$mandir&g
5876 s&\\\${datarootdir}&$datarootdir&g' ;;
5880 # Neutralize VPATH when `$srcdir' = `.'.
5881 # Shell code in configure.ac might set extrasub.
5882 # FIXME: do we really want to maintain this feature?
5883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5884 ac_sed_extra="$ac_vpsub
5887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5889 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5890 s|@configure_input@|$ac_sed_conf_input|;t t
5891 s&@top_builddir@&$ac_top_builddir_sub&;t t
5892 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5893 s&@srcdir@&$ac_srcdir&;t t
5894 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5895 s&@top_srcdir@&$ac_top_srcdir&;t t
5896 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5897 s&@builddir@&$ac_builddir&;t t
5898 s&@abs_builddir@&$ac_abs_builddir&;t t
5899 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5900 s&@INSTALL@&$ac_INSTALL&;t t
5901 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5902 $ac_datarootdir_hack
5904 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5905 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5907 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5908 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5910 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5912 which seems to be undefined. Please make sure it is defined" >&5
5913 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5914 which seems to be undefined. Please make sure it is defined" >&2;}
5916 rm -f "$ac_tmp/stdin"
5918 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5919 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5921 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5927 if test x"$ac_file" != x-; then
5929 $as_echo "/* $configure_input */" \
5930 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5931 } >"$ac_tmp/config.h" \
5932 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5933 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5935 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5938 mv "$ac_tmp/config.h" "$ac_file" \
5939 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5942 $as_echo "/* $configure_input */" \
5943 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5944 || as_fn_error $? "could not create -" "$LINENO" 5
5946 # Compute "$ac_file"'s index in $config_headers.
5949 for _am_header in $config_headers :; do
5951 $_am_arg | $_am_arg:* )
5954 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5957 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5958 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5959 X"$_am_arg" : 'X\(//\)[^/]' \| \
5960 X"$_am_arg" : 'X\(//\)$' \| \
5961 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5962 $as_echo X"$_am_arg" |
5963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5979 s/.*/./; q'`/stamp-h$_am_stamp_count
5982 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5983 $as_echo "$as_me: executing $ac_file commands" >&6;}
5988 case $ac_file$ac_mode in
5989 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5990 # Older Autoconf quotes --file arguments for eval, but not when files
5991 # are listed without --file. Let's play safe and only enable the eval
5992 # if we detect the quoting.
5993 case $CONFIG_FILES in
5994 *\'*) eval set x "$CONFIG_FILES" ;;
5995 *) set x $CONFIG_FILES ;;
6000 # Strip MF so we end up with the name of the file.
6001 mf=`echo "$mf" | sed -e 's/:.*$//'`
6002 # Check whether this is an Automake generated Makefile or not.
6003 # We used to match only the files named 'Makefile.in', but
6004 # some people rename them; so instead we look at the file content.
6005 # Grep'ing the first line is not enough: some people post-process
6006 # each Makefile.in and add a new line on top of each file to say so.
6007 # Grep'ing the whole file is not good either: AIX grep has a line
6008 # limit of 2048, but all sed's we know have understand at least 4000.
6009 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6010 dirpart=`$as_dirname -- "$mf" ||
6011 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6012 X"$mf" : 'X\(//\)[^/]' \| \
6013 X"$mf" : 'X\(//\)$' \| \
6014 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6016 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6036 # Extract the definition of DEPDIR, am__include, and am__quote
6037 # from the Makefile without running 'make'.
6038 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6039 test -z "$DEPDIR" && continue
6040 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6041 test -z "$am__include" && continue
6042 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6043 # Find all dependency output files, they are included files with
6044 # $(DEPDIR) in their names. We invoke sed twice because it is the
6045 # simplest approach to changing $(DEPDIR) to its actual value in the
6047 for file in `sed -n "
6048 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6049 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
6050 # Make sure the directory exists.
6051 test -f "$dirpart/$file" && continue
6052 fdir=`$as_dirname -- "$file" ||
6053 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6054 X"$file" : 'X\(//\)[^/]' \| \
6055 X"$file" : 'X\(//\)$' \| \
6056 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6075 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6076 # echo "creating $dirpart/$file"
6077 echo '# dummy' > "$dirpart/$file"
6089 ac_clean_files=$ac_clean_files_save
6091 test $ac_write_fail = 0 ||
6092 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6095 # configure is writing to config.log, and then calls config.status.
6096 # config.status does its own redirection, appending to config.log.
6097 # Unfortunately, on DOS this fails, as config.log is still kept open
6098 # by configure, so config.status won't be able to write to it; its
6099 # output is simply discarded. So we exec the FD to /dev/null,
6100 # effectively closing config.log, so it can be properly (re)opened and
6101 # appended to by config.status. When coming back to configure, we
6102 # need to make the FD available again.
6103 if test "$no_create" != yes; then
6105 ac_config_status_args=
6106 test "$silent" = yes &&
6107 ac_config_status_args="$ac_config_status_args --quiet"
6109 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6111 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6112 # would make configure fail if this is the last instruction.
6113 $ac_cs_success || as_fn_exit 1
6115 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6117 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}