2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tio 1.24.
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.24'
580 PACKAGE_STRING='tio 1.24'
582 PACKAGE_URL='https://tio.github.io'
584 ac_subst_vars='am__EXEEXT_FALSE
590 ENABLE_BASH_COMPLETION_FALSE
591 ENABLE_BASH_COMPLETION_TRUE
625 INSTALL_STRIP_PROGRAM
668 program_transform_name
681 enable_option_checking
683 enable_dependency_tracking
685 with_bash_completion_dir
687 ac_precious_vars='build_alias
700 # Initialize some variables set by options.
702 ac_init_version=false
703 ac_unrecognized_opts=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
714 program_transform_name=s,x,x,
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 runstatedir='${localstatedir}/run'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740 infodir='${datarootdir}/info'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
753 # If the previous option needs an argument, assign it.
754 if test -n "$ac_prev"; then
755 eval $ac_prev=\$ac_option
761 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
766 # Accept the important Cygnus configure options, so we can diagnose typos.
768 case $ac_dashdash$ac_option in
772 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
777 -build | --build | --buil | --bui | --bu)
778 ac_prev=build_alias ;;
779 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780 build_alias=$ac_optarg ;;
782 -cache-file | --cache-file | --cache-fil | --cache-fi \
783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784 ac_prev=cache_file ;;
785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787 cache_file=$ac_optarg ;;
790 cache_file=config.cache ;;
792 -datadir | --datadir | --datadi | --datad)
794 -datadir=* | --datadir=* | --datadi=* | --datad=*)
795 datadir=$ac_optarg ;;
797 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798 | --dataroo | --dataro | --datar)
799 ac_prev=datarootdir ;;
800 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802 datarootdir=$ac_optarg ;;
804 -disable-* | --disable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
818 eval enable_$ac_useropt=no ;;
820 -docdir | --docdir | --docdi | --doc | --do)
822 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
825 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
830 -enable-* | --enable-*)
831 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834 as_fn_error $? "invalid feature name: $ac_useropt"
835 ac_useropt_orig=$ac_useropt
836 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837 case $ac_user_opts in
841 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842 ac_unrecognized_sep=', ';;
844 eval enable_$ac_useropt=\$ac_optarg ;;
846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848 | --exec | --exe | --ex)
849 ac_prev=exec_prefix ;;
850 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852 | --exec=* | --exe=* | --ex=*)
853 exec_prefix=$ac_optarg ;;
855 -gas | --gas | --ga | --g)
856 # Obsolete; use --with-gas.
859 -help | --help | --hel | --he | -h)
861 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862 ac_init_help=recursive ;;
863 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864 ac_init_help=short ;;
866 -host | --host | --hos | --ho)
867 ac_prev=host_alias ;;
868 -host=* | --host=* | --hos=* | --ho=*)
869 host_alias=$ac_optarg ;;
871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 htmldir=$ac_optarg ;;
877 -includedir | --includedir | --includedi | --included | --include \
878 | --includ | --inclu | --incl | --inc)
879 ac_prev=includedir ;;
880 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881 | --includ=* | --inclu=* | --incl=* | --inc=*)
882 includedir=$ac_optarg ;;
884 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887 infodir=$ac_optarg ;;
889 -libdir | --libdir | --libdi | --libd)
891 -libdir=* | --libdir=* | --libdi=* | --libd=*)
894 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895 | --libexe | --libex | --libe)
896 ac_prev=libexecdir ;;
897 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898 | --libexe=* | --libex=* | --libe=*)
899 libexecdir=$ac_optarg ;;
901 -localedir | --localedir | --localedi | --localed | --locale)
903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904 localedir=$ac_optarg ;;
906 -localstatedir | --localstatedir | --localstatedi | --localstated \
907 | --localstate | --localstat | --localsta | --localst | --locals)
908 ac_prev=localstatedir ;;
909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911 localstatedir=$ac_optarg ;;
913 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
919 # Obsolete; use --without-fp.
922 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923 | --no-cr | --no-c | -n)
926 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
930 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932 | --oldin | --oldi | --old | --ol | --o)
933 ac_prev=oldincludedir ;;
934 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937 oldincludedir=$ac_optarg ;;
939 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
944 -program-prefix | --program-prefix | --program-prefi | --program-pref \
945 | --program-pre | --program-pr | --program-p)
946 ac_prev=program_prefix ;;
947 -program-prefix=* | --program-prefix=* | --program-prefi=* \
948 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949 program_prefix=$ac_optarg ;;
951 -program-suffix | --program-suffix | --program-suffi | --program-suff \
952 | --program-suf | --program-su | --program-s)
953 ac_prev=program_suffix ;;
954 -program-suffix=* | --program-suffix=* | --program-suffi=* \
955 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956 program_suffix=$ac_optarg ;;
958 -program-transform-name | --program-transform-name \
959 | --program-transform-nam | --program-transform-na \
960 | --program-transform-n | --program-transform- \
961 | --program-transform | --program-transfor \
962 | --program-transfo | --program-transf \
963 | --program-trans | --program-tran \
964 | --progr-tra | --program-tr | --program-t)
965 ac_prev=program_transform_name ;;
966 -program-transform-name=* | --program-transform-name=* \
967 | --program-transform-nam=* | --program-transform-na=* \
968 | --program-transform-n=* | --program-transform-=* \
969 | --program-transform=* | --program-transfor=* \
970 | --program-transfo=* | --program-transf=* \
971 | --program-trans=* | --program-tran=* \
972 | --progr-tra=* | --program-tr=* | --program-t=*)
973 program_transform_name=$ac_optarg ;;
975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
980 -psdir | --psdir | --psdi | --psd | --ps)
982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986 | -silent | --silent | --silen | --sile | --sil)
989 -runstatedir | --runstatedir | --runstatedi | --runstated \
990 | --runstate | --runstat | --runsta | --runst | --runs \
991 | --run | --ru | --r)
992 ac_prev=runstatedir ;;
993 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
994 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
995 | --run=* | --ru=* | --r=*)
996 runstatedir=$ac_optarg ;;
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 sbindir=$ac_optarg ;;
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 sharedstatedir=$ac_optarg ;;
1015 -site | --site | --sit)
1017 -site=* | --site=* | --sit=*)
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1044 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error $? "invalid package name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1057 eval with_$ac_useropt=\$ac_optarg ;;
1059 -without-* | --without-*)
1060 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061 # Reject names that are not valid shell variable names.
1062 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 as_fn_error $? "invalid package name: $ac_useropt"
1064 ac_useropt_orig=$ac_useropt
1065 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066 case $ac_user_opts in
1070 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071 ac_unrecognized_sep=', ';;
1073 eval with_$ac_useropt=no ;;
1076 # Obsolete; use --with-x.
1079 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080 | --x-incl | --x-inc | --x-in | --x-i)
1081 ac_prev=x_includes ;;
1082 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084 x_includes=$ac_optarg ;;
1086 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088 ac_prev=x_libraries ;;
1089 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries=$ac_optarg ;;
1093 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1098 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099 # Reject names that are not valid shell variable names.
1100 case $ac_envvar in #(
1101 '' | [0-9]* | *[!_$as_cr_alnum]* )
1102 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1104 eval $ac_envvar=\$ac_optarg
1105 export $ac_envvar ;;
1108 # FIXME: should be removed in autoconf 3.0.
1109 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1118 if test -n "$ac_prev"; then
1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120 as_fn_error $? "missing argument to $ac_option"
1123 if test -n "$ac_unrecognized_opts"; then
1124 case $enable_option_checking in
1126 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1127 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1131 # Check all directory arguments for consistency.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir runstatedir
1137 eval ac_val=\$$ac_var
1138 # Remove trailing slashes.
1141 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142 eval $ac_var=\$ac_val;;
1144 # Be sure to have absolute directory names.
1146 [\\/$]* | ?:[\\/]* ) continue;;
1147 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1157 target=$target_alias
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x; then
1161 if test "x$build_alias" = x; then
1162 cross_compiling=maybe
1163 elif test "x$build_alias" != "x$host_alias"; then
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1171 test "$silent" = yes && exec 6>/dev/null
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177 as_fn_error $? "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179 as_fn_error $? "pwd does not report name of working directory"
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184 ac_srcdir_defaulted=yes
1185 # Try the directory containing this script, then the parent directory.
1186 ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188 X"$as_myself" : 'X\(//\)[^/]' \| \
1189 X"$as_myself" : 'X\(//\)$' \| \
1190 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1210 if test ! -r "$srcdir/$ac_unique_file"; then
1214 ac_srcdir_defaulted=no
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1248 \`configure' configures tio 1.24 to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking ...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1289 --libdir=DIR object code libraries [EPREFIX/lib]
1290 --includedir=DIR C header files [PREFIX/include]
1291 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1294 --infodir=DIR info documentation [DATAROOTDIR/info]
1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1296 --mandir=DIR man documentation [DATAROOTDIR/man]
1297 --docdir=DIR documentation root [DATAROOTDIR/doc/tio]
1298 --htmldir=DIR html documentation [DOCDIR]
1299 --dvidir=DIR dvi documentation [DOCDIR]
1300 --pdfdir=DIR pdf documentation [DOCDIR]
1301 --psdir=DIR ps documentation [DOCDIR]
1307 --program-prefix=PREFIX prepend PREFIX to installed program names
1308 --program-suffix=SUFFIX append SUFFIX to installed program names
1309 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1313 if test -n "$ac_init_help"; then
1314 case $ac_init_help in
1315 short | recursive ) echo "Configuration of tio 1.24:";;
1320 --disable-option-checking ignore unrecognized --enable/--with options
1321 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1322 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1323 --enable-silent-rules less verbose build output (undo: "make V=1")
1324 --disable-silent-rules verbose build output (undo: "make V=0")
1325 --enable-dependency-tracking
1326 do not reject slow dependency extractors
1327 --disable-dependency-tracking
1328 speeds up one-time build
1329 --disable-largefile omit support for large files
1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1334 --with-bash-completion-dir=PATH
1335 Install the bash auto-completion script in this
1336 directory. [default=yes]
1338 Some influential environment variables:
1339 CC C compiler command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1346 PKG_CONFIG path to pkg-config utility
1348 directories to add to pkg-config's search path
1350 path overriding pkg-config's built-in search path
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1355 Report bugs to the package provider.
1356 tio home page: <https://tio.github.io>.
1361 if test "$ac_init_help" = "recursive"; then
1362 # If there are subdirs, report their specific --help.
1363 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1364 test -d "$ac_dir" ||
1365 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1372 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1373 # A ".." for each directory in $ac_dir_suffix.
1374 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1375 case $ac_top_builddir_sub in
1376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1380 ac_abs_top_builddir=$ac_pwd
1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir=$ac_top_build_prefix
1386 .) # We are building in place.
1388 ac_top_srcdir=$ac_top_builddir_sub
1389 ac_abs_top_srcdir=$ac_pwd ;;
1390 [\\/]* | ?:[\\/]* ) # Absolute name.
1391 ac_srcdir=$srcdir$ac_dir_suffix;
1392 ac_top_srcdir=$srcdir
1393 ac_abs_top_srcdir=$srcdir ;;
1395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396 ac_top_srcdir=$ac_top_build_prefix$srcdir
1397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1401 cd "$ac_dir" || { ac_status=$?; continue; }
1402 # Check for guested configure.
1403 if test -f "$ac_srcdir/configure.gnu"; then
1405 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1406 elif test -f "$ac_srcdir/configure"; then
1408 $SHELL "$ac_srcdir/configure" --help=recursive
1410 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1412 cd "$ac_pwd" || { ac_status=$?; break; }
1416 test -n "$ac_init_help" && exit $ac_status
1417 if $ac_init_version; then
1420 generated by GNU Autoconf 2.69
1422 Copyright (C) 2012 Free Software Foundation, Inc.
1423 This configure script is free software; the Free Software Foundation
1424 gives unlimited permission to copy, distribute and modify it.
1429 ## ------------------------ ##
1430 ## Autoconf initialization. ##
1431 ## ------------------------ ##
1433 # ac_fn_c_try_compile LINENO
1434 # --------------------------
1435 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1436 ac_fn_c_try_compile ()
1438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439 rm -f conftest.$ac_objext
1440 if { { ac_try="$ac_compile"
1442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443 *) ac_try_echo=$ac_try;;
1445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446 $as_echo "$ac_try_echo"; } >&5
1447 (eval "$ac_compile") 2>conftest.err
1449 if test -s conftest.err; then
1450 grep -v '^ *+' conftest.err >conftest.er1
1451 cat conftest.er1 >&5
1452 mv -f conftest.er1 conftest.err
1454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455 test $ac_status = 0; } && {
1456 test -z "$ac_c_werror_flag" ||
1457 test ! -s conftest.err
1458 } && test -s conftest.$ac_objext; then :
1461 $as_echo "$as_me: failed program was:" >&5
1462 sed 's/^/| /' conftest.$ac_ext >&5
1466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 as_fn_set_status $ac_retval
1469 } # ac_fn_c_try_compile
1471 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1472 # ---------------------------------------------
1473 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1475 ac_fn_c_check_decl ()
1477 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478 as_decl_name=`echo $2|sed 's/ *(.*//'`
1479 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1481 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1482 if eval \${$3+:} false; then :
1483 $as_echo_n "(cached) " >&6
1485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1486 /* end confdefs.h. */
1491 #ifndef $as_decl_name
1493 (void) $as_decl_use;
1495 (void) $as_decl_name;
1503 if ac_fn_c_try_compile "$LINENO"; then :
1508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1512 $as_echo "$ac_res" >&6; }
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515 } # ac_fn_c_check_decl
1516 cat >config.log <<_ACEOF
1517 This file contains any messages produced by compilers while
1518 running configure, to aid debugging if configure makes a mistake.
1520 It was created by tio $as_me 1.24, which was
1521 generated by GNU Autoconf 2.69. Invocation command line was
1533 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1534 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1535 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1536 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1537 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1539 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1540 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1542 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1543 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1545 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1546 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1547 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1548 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1556 test -z "$as_dir" && as_dir=.
1557 $as_echo "PATH: $as_dir"
1573 # Keep a trace of the command line.
1574 # Strip out --no-create and --no-recursion so they do not pile up.
1575 # Strip out --silent because we don't want to record it for future runs.
1576 # Also quote any args containing shell meta-characters.
1577 # Make two passes to allow for proper duplicate-argument suppression.
1581 ac_must_keep_next=false
1587 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1589 | -silent | --silent | --silen | --sile | --sil)
1592 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1595 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1597 as_fn_append ac_configure_args1 " '$ac_arg'"
1598 if test $ac_must_keep_next = true; then
1599 ac_must_keep_next=false # Got value, back to normal.
1602 *=* | --config-cache | -C | -disable-* | --disable-* \
1603 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1604 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1605 | -with-* | --with-* | -without-* | --without-* | --x)
1606 case "$ac_configure_args0 " in
1607 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1610 -* ) ac_must_keep_next=true ;;
1613 as_fn_append ac_configure_args " '$ac_arg'"
1618 { ac_configure_args0=; unset ac_configure_args0;}
1619 { ac_configure_args1=; unset ac_configure_args1;}
1621 # When interrupted or exit'd, cleanup temporary files, and complete
1622 # config.log. We remove comments because anyway the quotes in there
1623 # would cause problems or look ugly.
1624 # WARNING: Use '\'' to represent an apostrophe within the trap.
1625 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1626 trap 'exit_status=$?
1627 # Save into config.log some information that might help in debugging.
1631 $as_echo "## ---------------- ##
1632 ## Cache variables. ##
1633 ## ---------------- ##"
1635 # The following way of writing the cache mishandles newlines in values,
1637 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1638 eval ac_val=\$$ac_var
1642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1646 _ | IFS | as_nl) ;; #(
1647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1648 *) { eval $ac_var=; unset $ac_var;} ;;
1653 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1654 *${as_nl}ac_space=\ *)
1656 "s/'\''/'\''\\\\'\'''\''/g;
1657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1667 $as_echo "## ----------------- ##
1668 ## Output variables. ##
1669 ## ----------------- ##"
1671 for ac_var in $ac_subst_vars
1673 eval ac_val=\$$ac_var
1675 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1677 $as_echo "$ac_var='\''$ac_val'\''"
1681 if test -n "$ac_subst_files"; then
1682 $as_echo "## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##"
1686 for ac_var in $ac_subst_files
1688 eval ac_val=\$$ac_var
1690 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 $as_echo "$ac_var='\''$ac_val'\''"
1697 if test -s confdefs.h; then
1698 $as_echo "## ----------- ##
1705 test "$ac_signal" != 0 &&
1706 $as_echo "$as_me: caught signal $ac_signal"
1707 $as_echo "$as_me: exit $exit_status"
1709 rm -f core *.core core.conftest.* &&
1710 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1713 for ac_signal in 1 2 13 15; do
1714 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1719 rm -f -r conftest* confdefs.h
1721 $as_echo "/* confdefs.h */" > confdefs.h
1723 # Predefined preprocessor variables.
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_NAME "$PACKAGE_NAME"
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_STRING "$PACKAGE_STRING"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1745 cat >>confdefs.h <<_ACEOF
1746 #define PACKAGE_URL "$PACKAGE_URL"
1750 # Let the site file select an alternate cache file if it wants to.
1751 # Prefer an explicitly selected file to automatically selected ones.
1754 if test -n "$CONFIG_SITE"; then
1755 # We do not want a PATH search for config.site.
1756 case $CONFIG_SITE in #((
1757 -*) ac_site_file1=./$CONFIG_SITE;;
1758 */*) ac_site_file1=$CONFIG_SITE;;
1759 *) ac_site_file1=./$CONFIG_SITE;;
1761 elif test "x$prefix" != xNONE; then
1762 ac_site_file1=$prefix/share/config.site
1763 ac_site_file2=$prefix/etc/config.site
1765 ac_site_file1=$ac_default_prefix/share/config.site
1766 ac_site_file2=$ac_default_prefix/etc/config.site
1768 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1770 test "x$ac_site_file" = xNONE && continue
1771 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1773 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1774 sed 's/^/| /' "$ac_site_file" >&5
1776 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 as_fn_error $? "failed to load site script $ac_site_file
1779 See \`config.log' for more details" "$LINENO" 5; }
1783 if test -r "$cache_file"; then
1784 # Some versions of bash will fail to source /dev/null (special files
1785 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1786 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1788 $as_echo "$as_me: loading cache $cache_file" >&6;}
1790 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1791 *) . "./$cache_file";;
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1796 $as_echo "$as_me: creating cache $cache_file" >&6;}
1800 # Check that the precious variables saved in the cache have kept the same
1802 ac_cache_corrupted=false
1803 for ac_var in $ac_precious_vars; do
1804 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1805 eval ac_new_set=\$ac_env_${ac_var}_set
1806 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1807 eval ac_new_val=\$ac_env_${ac_var}_value
1808 case $ac_old_set,$ac_new_set in
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1811 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1812 ac_cache_corrupted=: ;;
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1815 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1816 ac_cache_corrupted=: ;;
1819 if test "x$ac_old_val" != "x$ac_new_val"; then
1820 # differences in whitespace do not lead to failure.
1821 ac_old_val_w=`echo x $ac_old_val`
1822 ac_new_val_w=`echo x $ac_new_val`
1823 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1825 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1826 ac_cache_corrupted=:
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1829 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1830 eval $ac_var=\$ac_old_val
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1833 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1835 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1838 # Pass precious variables to config.status.
1839 if test "$ac_new_set" = set; then
1841 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1842 *) ac_arg=$ac_var=$ac_new_val ;;
1844 case " $ac_configure_args " in
1845 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1846 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1850 if $ac_cache_corrupted; then
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1854 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1855 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1857 ## -------------------- ##
1858 ## Main body of script. ##
1859 ## -------------------- ##
1862 ac_cpp='$CPP $CPPFLAGS'
1863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 ac_config_headers="$ac_config_headers src/include/config.h"
1870 am__api_version='1.15'
1873 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1874 if test -f "$ac_dir/install-sh"; then
1876 ac_install_sh="$ac_aux_dir/install-sh -c"
1878 elif test -f "$ac_dir/install.sh"; then
1880 ac_install_sh="$ac_aux_dir/install.sh -c"
1882 elif test -f "$ac_dir/shtool"; then
1884 ac_install_sh="$ac_aux_dir/shtool install -c"
1888 if test -z "$ac_aux_dir"; then
1889 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1892 # These three variables are undocumented and unsupported,
1893 # and are intended to be withdrawn in a future Autoconf release.
1894 # They can cause serious problems if a builder's source tree is in a directory
1895 # whose full name contains unusual characters.
1896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1901 # Find a good install program. We prefer a C program (faster),
1902 # so one script is as good as another. But avoid the broken or
1903 # incompatible versions:
1904 # SysV /etc/install, /usr/sbin/install
1905 # SunOS /usr/etc/install
1906 # IRIX /sbin/install
1908 # AmigaOS /C/install, which installs bootblocks on floppy discs
1909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1912 # OS/2's system install, which has a completely different semantic
1913 # ./install, which can be erroneously created by make from ./install.sh.
1914 # Reject install programs that cannot install multiple files.
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1916 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1917 if test -z "$INSTALL"; then
1918 if ${ac_cv_path_install+:} false; then :
1919 $as_echo_n "(cached) " >&6
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 test -z "$as_dir" && as_dir=.
1926 # Account for people who put trailing slashes in PATH elements.
1927 case $as_dir/ in #((
1928 ./ | .// | /[cC]/* | \
1929 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1930 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1933 # OSF1 and SCO ODT 3.0 have their own names for install.
1934 # Don't use installbsd from OSF since it installs stuff as root
1936 for ac_prog in ginstall scoinst install; do
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1939 if test $ac_prog = install &&
1940 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1941 # AIX install. It has an incompatible calling convention.
1943 elif test $ac_prog = install &&
1944 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1945 # program-specific install script used by HP pwplus--don't use.
1948 rm -rf conftest.one conftest.two conftest.dir
1949 echo one > conftest.one
1950 echo two > conftest.two
1952 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1953 test -s conftest.one && test -s conftest.two &&
1954 test -s conftest.dir/conftest.one &&
1955 test -s conftest.dir/conftest.two
1957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1970 rm -rf conftest.one conftest.two conftest.dir
1973 if test "${ac_cv_path_install+set}" = set; then
1974 INSTALL=$ac_cv_path_install
1976 # As a last resort, use the slow shell script. Don't cache a
1977 # value for INSTALL within a source directory, because that will
1978 # break other packages using the cache if that directory is
1979 # removed, or if the value is a relative name.
1980 INSTALL=$ac_install_sh
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1984 $as_echo "$INSTALL" >&6; }
1986 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1987 # It thinks the first close brace ends the variable substitution.
1988 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1990 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1992 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1995 $as_echo_n "checking whether build environment is sane... " >&6; }
1996 # Reject unsafe characters in $srcdir or the absolute working directory
1997 # name. Accept space and tab only in the latter.
2001 *[\\\"\#\$\&\'\`$am_lf]*)
2002 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2005 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2006 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2009 # Do 'set' in a subshell so we don't clobber the current shell's
2010 # arguments. Must try -L first in case configure is actually a
2011 # symlink; some systems play weird games with the mod time of symlinks
2012 # (eg FreeBSD returns the mod time of the symlink's containing
2016 for am_try in 1 2; do
2017 echo "timestamp, slept: $am_has_slept" > conftest.file
2018 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2019 if test "$*" = "X"; then
2021 set X `ls -t "$srcdir/configure" conftest.file`
2023 if test "$*" != "X $srcdir/configure conftest.file" \
2024 && test "$*" != "X conftest.file $srcdir/configure"; then
2026 # If neither matched, then we have a broken ls. This can happen
2027 # if, for instance, CONFIG_SHELL is bash and it inherits a
2028 # broken ls alias from the environment. This has actually
2029 # happened. Such a system could not be considered "sane".
2030 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2031 alias in your environment" "$LINENO" 5
2033 if test "$2" = conftest.file || test $am_try -eq 2; then
2040 test "$2" = conftest.file
2046 as_fn_error $? "newly created file is older than distributed files!
2047 Check your system clock" "$LINENO" 5
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2050 $as_echo "yes" >&6; }
2051 # If we didn't sleep, we still need to ensure time stamps of config.status and
2052 # generated files are strictly newer.
2054 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2061 test "$program_prefix" != NONE &&
2062 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2063 # Use a double $ so make ignores it.
2064 test "$program_suffix" != NONE &&
2065 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2066 # Double any \ or $.
2067 # By default was `s,x,x', remove it if useless.
2068 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2069 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2071 # Expand $ac_aux_dir to an absolute path.
2072 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2074 if test x"${MISSING+set}" != xset; then
2077 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2079 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2082 # Use eval to expand $SHELL
2083 if eval "$MISSING --is-lightweight"; then
2084 am_missing_run="$MISSING "
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2088 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2091 if test x"${install_sh+set}" != xset; then
2094 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2096 install_sh="\${SHELL} $am_aux_dir/install-sh"
2100 # Installed binaries are usually stripped using 'strip' when the user
2101 # run "make install-strip". However 'strip' might not be the right
2102 # tool to use in cross-compilation environments, therefore Automake
2103 # will honor the 'STRIP' environment variable to overrule this program.
2104 if test "$cross_compiling" != no; then
2105 if test -n "$ac_tool_prefix"; then
2106 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2107 set dummy ${ac_tool_prefix}strip; ac_word=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if ${ac_cv_prog_STRIP+:} false; then :
2111 $as_echo_n "(cached) " >&6
2113 if test -n "$STRIP"; then
2114 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 STRIP=$ac_cv_prog_STRIP
2134 if test -n "$STRIP"; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2136 $as_echo "$STRIP" >&6; }
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2139 $as_echo "no" >&6; }
2144 if test -z "$ac_cv_prog_STRIP"; then
2146 # Extract the first word of "strip", so it can be a program name with args.
2147 set dummy strip; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$ac_ct_STRIP"; then
2154 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_ac_ct_STRIP="strip"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2174 if test -n "$ac_ct_STRIP"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2176 $as_echo "$ac_ct_STRIP" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2182 if test "x$ac_ct_STRIP" = x; then
2185 case $cross_compiling:$ac_tool_warned in
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned=yes ;;
2194 STRIP="$ac_cv_prog_STRIP"
2198 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2201 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2202 if test -z "$MKDIR_P"; then
2203 if ${ac_cv_path_mkdir+:} false; then :
2204 $as_echo_n "(cached) " >&6
2206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2210 test -z "$as_dir" && as_dir=.
2211 for ac_prog in mkdir gmkdir; do
2212 for ac_exec_ext in '' $ac_executable_extensions; do
2213 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2214 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2215 'mkdir (GNU coreutils) '* | \
2216 'mkdir (coreutils) '* | \
2217 'mkdir (fileutils) '4.1*)
2218 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2228 test -d ./--version && rmdir ./--version
2229 if test "${ac_cv_path_mkdir+set}" = set; then
2230 MKDIR_P="$ac_cv_path_mkdir -p"
2232 # As a last resort, use the slow shell script. Don't cache a
2233 # value for MKDIR_P within a source directory, because that will
2234 # break other packages using the cache if that directory is
2235 # removed, or if the value is a relative name.
2236 MKDIR_P="$ac_install_sh -d"
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2240 $as_echo "$MKDIR_P" >&6; }
2242 for ac_prog in gawk mawk nawk awk
2244 # Extract the first word of "$ac_prog", so it can be a program name with args.
2245 set dummy $ac_prog; ac_word=$2
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2247 $as_echo_n "checking for $ac_word... " >&6; }
2248 if ${ac_cv_prog_AWK+:} false; then :
2249 $as_echo_n "(cached) " >&6
2251 if test -n "$AWK"; then
2252 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 test -z "$as_dir" && as_dir=.
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261 ac_cv_prog_AWK="$ac_prog"
2262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 if test -n "$AWK"; then
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2274 $as_echo "$AWK" >&6; }
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277 $as_echo "no" >&6; }
2281 test -n "$AWK" && break
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2285 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2287 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2288 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2289 $as_echo_n "(cached) " >&6
2291 cat >conftest.make <<\_ACEOF
2294 @echo '@@@%%%=$(MAKE)=@@@%%%'
2296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2297 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2299 eval ac_cv_prog_make_${ac_make}_set=yes;;
2301 eval ac_cv_prog_make_${ac_make}_set=no;;
2305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2307 $as_echo "yes" >&6; }
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2312 SET_MAKE="MAKE=${MAKE-make}"
2315 rm -rf .tst 2>/dev/null
2316 mkdir .tst 2>/dev/null
2317 if test -d .tst; then
2322 rmdir .tst 2>/dev/null
2324 # Check whether --enable-silent-rules was given.
2325 if test "${enable_silent_rules+set}" = set; then :
2326 enableval=$enable_silent_rules;
2329 case $enable_silent_rules in # (((
2330 yes) AM_DEFAULT_VERBOSITY=0;;
2331 no) AM_DEFAULT_VERBOSITY=1;;
2332 *) AM_DEFAULT_VERBOSITY=1;;
2334 am_make=${MAKE-make}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2336 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2337 if ${am_cv_make_support_nested_variables+:} false; then :
2338 $as_echo_n "(cached) " >&6
2340 if $as_echo 'TRUE=$(BAR$(V))
2346 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2347 am_cv_make_support_nested_variables=yes
2349 am_cv_make_support_nested_variables=no
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2353 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2354 if test $am_cv_make_support_nested_variables = yes; then
2356 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2358 AM_V=$AM_DEFAULT_VERBOSITY
2359 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2363 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2364 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2365 # is not polluted with repeated "-I."
2366 am__isrc=' -I$(srcdir)'
2367 # test to see if srcdir already configured
2368 if test -f $srcdir/config.status; then
2369 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2373 # test whether we have cygpath
2374 if test -z "$CYGPATH_W"; then
2375 if (cygpath --version) >/dev/null 2>/dev/null; then
2376 CYGPATH_W='cygpath -w'
2383 # Define the identity of the package.
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE "$PACKAGE"
2393 cat >>confdefs.h <<_ACEOF
2394 #define VERSION "$VERSION"
2397 # Some tools Automake needs.
2399 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2402 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2405 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2408 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2411 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2413 # For better backward compatibility. To be removed once Automake 1.9.x
2414 # dies out for good. For more background, see:
2415 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2416 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2417 mkdir_p='$(MKDIR_P)'
2419 # We need awk for the "check" target (and possibly the TAP driver). The
2420 # system "awk" is bad on some platforms.
2421 # Always define AMTAR for backward compatibility. Yes, it's still used
2422 # in the wild :-( We should find a proper way to deprecate it ...
2426 # We'll loop over all known methods to create a tar archive until one works.
2427 _am_tools='gnutar pax cpio none'
2429 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2436 # POSIX will say in a future version that running "rm -f" with no argument
2437 # is OK; and we want to be able to make that assumption in our Makefile
2438 # recipes. So use an aggressive probe to check that the usage we want is
2439 # actually supported "in the wild" to an acceptable degree.
2440 # See automake bug#10828.
2441 # To make any issue more visible, cause the running configure to be aborted
2442 # by default if the 'rm' program in use doesn't match our expectations; the
2443 # user can still override this though.
2444 if rm -f && rm -fr && rm -rf; then : OK; else
2448 Your 'rm' program seems unable to run without file operands specified
2449 on the command line, even when the '-f' option is present. This is contrary
2450 to the behaviour of most rm programs out there, and not conforming with
2451 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2453 Please tell bug-automake@gnu.org about your system, including the value
2454 of your $PATH and any error possibly output before this message. This
2455 can help us improve future automake versions.
2458 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2459 echo 'Configuration will proceed anyway, since you have set the' >&2
2460 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2464 Aborting the configuration process, to ensure you take notice of the issue.
2466 You can download and install GNU coreutils to get an 'rm' implementation
2467 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2469 If you want to complete the configuration process using your problematic
2470 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2471 to "yes", and re-run configure.
2474 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2478 # Check whether --enable-silent-rules was given.
2479 if test "${enable_silent_rules+set}" = set; then :
2480 enableval=$enable_silent_rules;
2483 case $enable_silent_rules in # (((
2484 yes) AM_DEFAULT_VERBOSITY=0;;
2485 no) AM_DEFAULT_VERBOSITY=1;;
2486 *) AM_DEFAULT_VERBOSITY=0;;
2488 am_make=${MAKE-make}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2490 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2491 if ${am_cv_make_support_nested_variables+:} false; then :
2492 $as_echo_n "(cached) " >&6
2494 if $as_echo 'TRUE=$(BAR$(V))
2500 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2501 am_cv_make_support_nested_variables=yes
2503 am_cv_make_support_nested_variables=no
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2507 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2508 if test $am_cv_make_support_nested_variables = yes; then
2510 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2512 AM_V=$AM_DEFAULT_VERBOSITY
2513 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_CC+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC="$CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2561 if test -z "$ac_cv_prog_CC"; then
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2568 $as_echo_n "(cached) " >&6
2570 if test -n "$ac_ct_CC"; then
2571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580 ac_cv_prog_ac_ct_CC="gcc"
2581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2591 if test -n "$ac_ct_CC"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2593 $as_echo "$ac_ct_CC" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2599 if test "x$ac_ct_CC" = x; then
2602 case $cross_compiling:$ac_tool_warned in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2614 if test -z "$CC"; then
2615 if test -n "$ac_tool_prefix"; then
2616 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}cc; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621 $as_echo_n "(cached) " >&6
2623 if test -n "$CC"; then
2624 ac_cv_prog_CC="$CC" # Let the user override the test.
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630 test -z "$as_dir" && as_dir=.
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_CC="${ac_tool_prefix}cc"
2634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 if test -n "$CC"; then
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2646 $as_echo "$CC" >&6; }
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2655 if test -z "$CC"; then
2656 # Extract the first word of "cc", so it can be a program name with args.
2657 set dummy cc; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_CC+:} false; then :
2661 $as_echo_n "(cached) " >&6
2663 if test -n "$CC"; then
2664 ac_cv_prog_CC="$CC" # Let the user override the test.
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2671 test -z "$as_dir" && as_dir=.
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2675 ac_prog_rejected=yes
2679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 if test $ac_prog_rejected = yes; then
2687 # We found a bogon in the path, so make sure we never use it.
2688 set dummy $ac_cv_prog_CC
2690 if test $# != 0; then
2691 # We chose a different compiler from the bogus one.
2692 # However, it has the same basename, so the bogon will be chosen
2693 # first if we set CC to just the basename; use the full file name.
2695 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2701 if test -n "$CC"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2703 $as_echo "$CC" >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2711 if test -z "$CC"; then
2712 if test -n "$ac_tool_prefix"; then
2713 for ac_prog in cl.exe
2715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_CC+:} false; then :
2720 $as_echo_n "(cached) " >&6
2722 if test -n "$CC"; then
2723 ac_cv_prog_CC="$CC" # Let the user override the test.
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 test -z "$as_dir" && as_dir=.
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 if test -n "$CC"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 $as_echo "$CC" >&6; }
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2752 test -n "$CC" && break
2755 if test -z "$CC"; then
2757 for ac_prog in cl.exe
2759 # Extract the first word of "$ac_prog", so it can be a program name with args.
2760 set dummy $ac_prog; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_CC"; then
2767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 ac_cv_prog_ac_ct_CC="$ac_prog"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2796 test -n "$ac_ct_CC" && break
2799 if test "x$ac_ct_CC" = x; then
2802 case $cross_compiling:$ac_tool_warned in
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806 ac_tool_warned=yes ;;
2815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 as_fn_error $? "no acceptable C compiler found in \$PATH
2818 See \`config.log' for more details" "$LINENO" 5; }
2820 # Provide some information about the compiler.
2821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2824 for ac_option in --version -v -V -qversion; do
2825 { { ac_try="$ac_compiler $ac_option >&5"
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2834 if test -s conftest.err; then
2836 ... rest of stderr output deleted ...
2837 10q' conftest.err >conftest.er1
2838 cat conftest.er1 >&5
2840 rm -f conftest.er1 conftest.err
2841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842 test $ac_status = 0; }
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2856 ac_clean_files_save=$ac_clean_files
2857 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2858 # Try to create an executable without -o first, disregard a.out.
2859 # It will help us diagnose broken compilers, and finding out an intuition
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2862 $as_echo_n "checking whether the C compiler works... " >&6; }
2863 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2865 # The possible output files:
2866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2869 for ac_file in $ac_files
2872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2873 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2878 if { { ac_try="$ac_link_default"
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885 (eval "$ac_link_default") 2>&5
2887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888 test $ac_status = 0; }; then :
2889 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2890 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2891 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2892 # so that the user can short-circuit this test for compilers unknown to
2894 for ac_file in $ac_files ''
2896 test -f "$ac_file" || continue
2898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2901 # We found the default executable, but exeext='' is most
2905 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2907 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2909 # We set ac_cv_exeext here because the later test for it is not
2910 # safe: cross compilers may not add the suffix if given an `-o'
2911 # argument, so we may need to know it at that point already.
2912 # Even if this section looks crufty: it has the advantage of
2919 test "$ac_cv_exeext" = no && ac_cv_exeext=
2924 if test -z "$ac_file"; then :
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 as_fn_error 77 "C compiler cannot create executables
2933 See \`config.log' for more details" "$LINENO" 5; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2936 $as_echo "yes" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2939 $as_echo_n "checking for C compiler default output file name... " >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2941 $as_echo "$ac_file" >&6; }
2942 ac_exeext=$ac_cv_exeext
2944 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2945 ac_clean_files=$ac_clean_files_save
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2947 $as_echo_n "checking for suffix of executables... " >&6; }
2948 if { { ac_try="$ac_link"
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_link") 2>&5
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; }; then :
2959 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
2963 for ac_file in conftest.exe conftest conftest.*; do
2964 test -f "$ac_file" || continue
2966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2973 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details" "$LINENO" 5; }
2978 rm -f conftest conftest$ac_cv_exeext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2980 $as_echo "$ac_cv_exeext" >&6; }
2982 rm -f conftest.$ac_ext
2983 EXEEXT=$ac_cv_exeext
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h. */
2991 FILE *f = fopen ("conftest.out", "w");
2992 return ferror (f) || fclose (f) != 0;
2998 ac_clean_files="$ac_clean_files conftest.out"
2999 # Check that the compiler produces executables we can run. If not, either
3000 # the compiler is broken, or we cross compile.
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3002 $as_echo_n "checking whether we are cross compiling... " >&6; }
3003 if test "$cross_compiling" != yes; then
3004 { { ac_try="$ac_link"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link") 2>&5
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }
3015 if { ac_try='./conftest$ac_cv_exeext'
3016 { { case "(($ac_try" in
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_try") 2>&5
3024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025 test $ac_status = 0; }; }; then
3028 if test "$cross_compiling" = maybe; then
3031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error $? "cannot run C compiled programs.
3034 If you meant to cross compile, use \`--host'.
3035 See \`config.log' for more details" "$LINENO" 5; }
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3040 $as_echo "$cross_compiling" >&6; }
3042 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3043 ac_clean_files=$ac_clean_files_save
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3045 $as_echo_n "checking for suffix of object files... " >&6; }
3046 if ${ac_cv_objext+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3060 rm -f conftest.o conftest.obj
3061 if { { ac_try="$ac_compile"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068 (eval "$ac_compile") 2>&5
3070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071 test $ac_status = 0; }; then :
3072 for ac_file in conftest.o conftest.obj conftest.*; do
3073 test -f "$ac_file" || continue;
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3076 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3081 $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error $? "cannot compute suffix of object files: cannot compile
3087 See \`config.log' for more details" "$LINENO" 5; }
3089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3092 $as_echo "$ac_cv_objext" >&6; }
3093 OBJEXT=$ac_cv_objext
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3096 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3097 if ${ac_cv_c_compiler_gnu+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3114 if ac_fn_c_try_compile "$LINENO"; then :
3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3124 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3125 if test $ac_compiler_gnu = yes; then
3130 ac_test_CFLAGS=${CFLAGS+set}
3131 ac_save_CFLAGS=$CFLAGS
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3133 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3134 if ${ac_cv_prog_cc_g+:} false; then :
3135 $as_echo_n "(cached) " >&6
3137 ac_save_c_werror_flag=$ac_c_werror_flag
3138 ac_c_werror_flag=yes
3141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3152 if ac_fn_c_try_compile "$LINENO"; then :
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3167 if ac_fn_c_try_compile "$LINENO"; then :
3170 ac_c_werror_flag=$ac_save_c_werror_flag
3172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h. */
3183 if ac_fn_c_try_compile "$LINENO"; then :
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 ac_c_werror_flag=$ac_save_c_werror_flag
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3194 $as_echo "$ac_cv_prog_cc_g" >&6; }
3195 if test "$ac_test_CFLAGS" = set; then
3196 CFLAGS=$ac_save_CFLAGS
3197 elif test $ac_cv_prog_cc_g = yes; then
3198 if test "$GCC" = yes; then
3204 if test "$GCC" = yes; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3211 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3212 if ${ac_cv_prog_cc_c89+:} false; then :
3213 $as_echo_n "(cached) " >&6
3215 ac_cv_prog_cc_c89=no
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3236 s = g (p, va_arg (v,int));
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251 inside strings and character constants. */
3253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3255 int test (int i, double x);
3256 struct s1 {int (*f) (int a);};
3257 struct s2 {int (*f) (double a);};
3258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3272 CC="$ac_save_CC $ac_arg"
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274 ac_cv_prog_cc_c89=$ac_arg
3276 rm -f core conftest.err conftest.$ac_objext
3277 test "x$ac_cv_prog_cc_c89" != "xno" && break
3279 rm -f conftest.$ac_ext
3284 case "x$ac_cv_prog_cc_c89" in
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3287 $as_echo "none needed" >&6; } ;;
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3290 $as_echo "unsupported" >&6; } ;;
3292 CC="$CC $ac_cv_prog_cc_c89"
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3294 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3296 if test "x$ac_cv_prog_cc_c89" != xno; then :
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3312 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3313 if ${am_cv_prog_cc_c_o+:} false; then :
3314 $as_echo_n "(cached) " >&6
3316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h. */
3327 # Make sure it works both with $CC and with simple cc.
3328 # Following AC_PROG_CC_C_O, we do the test twice because some
3329 # compilers refuse to overwrite an existing .o file with -o,
3330 # though they will create one.
3331 am_cv_prog_cc_c_o=yes
3333 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3334 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } \
3338 && test -f conftest2.$ac_objext; then
3341 am_cv_prog_cc_c_o=no
3345 rm -f core conftest*
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3349 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3350 if test "$am_cv_prog_cc_c_o" != yes; then
3351 # Losing compiler, so override with the script.
3352 # FIXME: It is wrong to rewrite CC.
3353 # But if we don't then we get into trouble of one sort or another.
3354 # A longer-term fix would be to have automake use am__CC in this case,
3355 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3356 CC="$am_aux_dir/compile $CC"
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3364 DEPDIR="${am__leading_dot}deps"
3366 ac_config_commands="$ac_config_commands depfiles"
3369 am_make=${MAKE-make}
3370 cat > confinc << 'END'
3372 @echo this is the am__doit target
3375 # If we don't find an include directive, just comment out the code.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3381 # First try GNU make style include.
3382 echo "include confinc" > confmf
3383 # Ignore all kinds of additional output from 'make'.
3384 case `$am_make -s -f confmf 2> /dev/null` in #(
3385 *the\ am__doit\ target*)
3391 # Now try BSD make style include.
3392 if test "$am__include" = "#"; then
3393 echo '.include "confinc"' > confmf
3394 case `$am_make -s -f confmf 2> /dev/null` in #(
3395 *the\ am__doit\ target*)
3396 am__include=.include
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3405 $as_echo "$_am_result" >&6; }
3406 rm -f confinc confmf
3408 # Check whether --enable-dependency-tracking was given.
3409 if test "${enable_dependency_tracking+set}" = set; then :
3410 enableval=$enable_dependency_tracking;
3413 if test "x$enable_dependency_tracking" != xno; then
3414 am_depcomp="$ac_aux_dir/depcomp"
3418 if test "x$enable_dependency_tracking" != xno; then
3428 depcc="$CC" am_compiler_list=
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3431 $as_echo_n "checking dependency style of $depcc... " >&6; }
3432 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3436 # We make a subdir and do the tests there. Otherwise we can end up
3437 # making bogus files that we don't know about and never remove. For
3438 # instance it was reported that on HP-UX the gcc test will end up
3439 # making a dummy file named 'D' -- because '-MD' means "put the output
3443 # Copy depcomp to subdir because otherwise we won't find it if we're
3444 # using a relative directory.
3445 cp "$am_depcomp" conftest.dir
3447 # We will build objects and dependencies in a subdirectory because
3448 # it helps to detect inapplicable dependency modes. For instance
3449 # both Tru64's cc and ICC support -MD to output dependencies as a
3450 # side effect of compilation, but ICC will put the dependencies in
3451 # the current directory while Tru64 will put them in the object
3455 am_cv_CC_dependencies_compiler_type=none
3456 if test "$am_compiler_list" = ""; then
3457 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3460 case " $depcc " in #(
3461 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3464 for depmode in $am_compiler_list; do
3465 # Setup a source with many dependencies, because some compilers
3466 # like to wrap large dependency lists on column 80 (with \), and
3467 # we should not choose a depcomp mode which is confused by this.
3469 # We need to recreate these files for each test, as the compiler may
3470 # overwrite some of them when testing with obscure command lines.
3471 # This happens at least with the AIX C compiler.
3473 for i in 1 2 3 4 5 6; do
3474 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3475 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3476 # Solaris 10 /bin/sh.
3477 echo '/* dummy */' > sub/conftst$i.h
3479 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3481 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3482 # mode. It turns out that the SunPro C++ compiler does not properly
3483 # handle '-M -o', and we need to detect this. Also, some Intel
3484 # versions had trouble with output in subdirs.
3485 am__obj=sub/conftest.${OBJEXT-o}
3486 am__minus_obj="-o $am__obj"
3489 # This depmode causes a compiler race in universal mode.
3490 test "$am__universal" = false || continue
3493 # After this tag, mechanisms are not by side-effect, so they'll
3494 # only be used when explicitly requested.
3495 if test "x$enable_dependency_tracking" = xyes; then
3501 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3502 # This compiler won't grok '-c -o', but also, the minuso test has
3503 # not run yet. These depmodes are late enough in the game, and
3504 # so weak that their functioning should not be impacted.
3505 am__obj=conftest.${OBJEXT-o}
3510 if depmode=$depmode \
3511 source=sub/conftest.c object=$am__obj \
3512 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3513 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3514 >/dev/null 2>conftest.err &&
3515 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3516 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3517 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3518 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3519 # icc doesn't choke on unknown options, it will just issue warnings
3520 # or remarks (even with -Werror). So we grep stderr for any message
3521 # that says an option was ignored or not supported.
3522 # When given -MP, icc 7.0 and 7.1 complain thusly:
3523 # icc: Command line warning: ignoring option '-M'; no argument required
3524 # The diagnosis changed in icc 8.0:
3525 # icc: Command line remark: option '-MP' not supported
3526 if (grep 'ignoring option' conftest.err ||
3527 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3528 am_cv_CC_dependencies_compiler_type=$depmode
3537 am_cv_CC_dependencies_compiler_type=none
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3542 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3543 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3546 test "x$enable_dependency_tracking" != xno \
3547 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3549 am__fastdepCC_FALSE='#'
3551 am__fastdepCC_TRUE='#'
3552 am__fastdepCC_FALSE=
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3564 # Check whether --enable-largefile was given.
3565 if test "${enable_largefile+set}" = set; then :
3566 enableval=$enable_largefile;
3569 if test "$enable_largefile" != no; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3572 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3573 if ${ac_cv_sys_largefile_CC+:} false; then :
3574 $as_echo_n "(cached) " >&6
3576 ac_cv_sys_largefile_CC=no
3577 if test "$GCC" != yes; then
3580 # IRIX 6.2 and later do not support large files by default,
3581 # so use the C compiler's -n32 option if that helps.
3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h. */
3584 #include <sys/types.h>
3585 /* Check that off_t can represent 2**63 - 1 correctly.
3586 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3587 since some C++ compilers masquerading as C compilers
3588 incorrectly reject 9223372036854775807. */
3589 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3590 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3591 && LARGE_OFF_T % 2147483647 == 1)
3601 if ac_fn_c_try_compile "$LINENO"; then :
3604 rm -f core conftest.err conftest.$ac_objext
3606 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_cv_sys_largefile_CC=' -n32'; break
3609 rm -f core conftest.err conftest.$ac_objext
3613 rm -f conftest.$ac_ext
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3617 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3618 if test "$ac_cv_sys_largefile_CC" != no; then
3619 CC=$CC$ac_cv_sys_largefile_CC
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3623 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3624 if ${ac_cv_sys_file_offset_bits+:} false; then :
3625 $as_echo_n "(cached) " >&6
3628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h. */
3630 #include <sys/types.h>
3631 /* Check that off_t can represent 2**63 - 1 correctly.
3632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3633 since some C++ compilers masquerading as C compilers
3634 incorrectly reject 9223372036854775807. */
3635 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3637 && LARGE_OFF_T % 2147483647 == 1)
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648 ac_cv_sys_file_offset_bits=no; break
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h. */
3653 #define _FILE_OFFSET_BITS 64
3654 #include <sys/types.h>
3655 /* Check that off_t can represent 2**63 - 1 correctly.
3656 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3657 since some C++ compilers masquerading as C compilers
3658 incorrectly reject 9223372036854775807. */
3659 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3660 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3661 && LARGE_OFF_T % 2147483647 == 1)
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672 ac_cv_sys_file_offset_bits=64; break
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675 ac_cv_sys_file_offset_bits=unknown
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3680 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3681 case $ac_cv_sys_file_offset_bits in #(
3684 cat >>confdefs.h <<_ACEOF
3685 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3690 if test $ac_cv_sys_file_offset_bits = unknown; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3692 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3693 if ${ac_cv_sys_large_files+:} false; then :
3694 $as_echo_n "(cached) " >&6
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699 #include <sys/types.h>
3700 /* Check that off_t can represent 2**63 - 1 correctly.
3701 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3702 since some C++ compilers masquerading as C compilers
3703 incorrectly reject 9223372036854775807. */
3704 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3705 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3706 && LARGE_OFF_T % 2147483647 == 1)
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717 ac_cv_sys_large_files=no; break
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3722 #define _LARGE_FILES 1
3723 #include <sys/types.h>
3724 /* Check that off_t can represent 2**63 - 1 correctly.
3725 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3726 since some C++ compilers masquerading as C compilers
3727 incorrectly reject 9223372036854775807. */
3728 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3729 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3730 && LARGE_OFF_T % 2147483647 == 1)
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741 ac_cv_sys_large_files=1; break
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 ac_cv_sys_large_files=unknown
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3749 $as_echo "$ac_cv_sys_large_files" >&6; }
3750 case $ac_cv_sys_large_files in #(
3753 cat >>confdefs.h <<_ACEOF
3754 #define _LARGE_FILES $ac_cv_sys_large_files
3771 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3772 if test -n "$ac_tool_prefix"; then
3773 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3778 $as_echo_n "(cached) " >&6
3782 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir=.
3790 for ac_exec_ext in '' $ac_executable_extensions; do
3791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3804 if test -n "$PKG_CONFIG"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3806 $as_echo "$PKG_CONFIG" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3814 if test -z "$ac_cv_path_PKG_CONFIG"; then
3815 ac_pt_PKG_CONFIG=$PKG_CONFIG
3816 # Extract the first word of "pkg-config", so it can be a program name with args.
3817 set dummy pkg-config; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3821 $as_echo_n "(cached) " >&6
3823 case $ac_pt_PKG_CONFIG in
3825 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3832 test -z "$as_dir" && as_dir=.
3833 for ac_exec_ext in '' $ac_executable_extensions; do
3834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3847 if test -n "$ac_pt_PKG_CONFIG"; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3849 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3855 if test "x$ac_pt_PKG_CONFIG" = x; then
3858 case $cross_compiling:$ac_tool_warned in
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3864 PKG_CONFIG=$ac_pt_PKG_CONFIG
3867 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3871 if test -n "$PKG_CONFIG"; then
3872 _pkg_min_version=0.9.0
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3874 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3875 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877 $as_echo "yes" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3885 # Handle bash completion
3887 # Check whether --with-bash-completion-dir was given.
3888 if test "${with_bash_completion_dir+set}" = set; then :
3889 withval=$with_bash_completion_dir;
3891 with_bash_completion_dir=yes
3895 if test "x$with_bash_completion_dir" = "xyes"; then
3896 BASH_COMPLETION_DIR="${datadir}/bash-completion/completions"
3898 BASH_COMPLETION_DIR="$with_bash_completion_dir"
3901 if test "x$with_bash_completion_dir" != "xno"; then
3902 ENABLE_BASH_COMPLETION_TRUE=
3903 ENABLE_BASH_COMPLETION_FALSE='#'
3905 ENABLE_BASH_COMPLETION_TRUE='#'
3906 ENABLE_BASH_COMPLETION_FALSE=
3910 # TIO_CHECK_BAUDRATE(N)
3913 # TIO_CHECK_BAUDRATES(N1, N2, ...)
3916 # Check for available terminal I/O speeds
3920 ac_fn_c_check_decl "$LINENO" "B0" "ac_cv_have_decl_B0" "#include <termios.h>
3922 if test "x$ac_cv_have_decl_B0" = xyes; then :
3928 if test $tio_have_decl = 1; then :
3930 BAUDRATES="$BAUDRATES 0"
3932 BAUDRATE_CASES="$BAUDRATE_CASES case 0: baudrate = B0; break;"
3938 ac_fn_c_check_decl "$LINENO" "B50" "ac_cv_have_decl_B50" "#include <termios.h>
3940 if test "x$ac_cv_have_decl_B50" = xyes; then :
3946 if test $tio_have_decl = 1; then :
3948 BAUDRATES="$BAUDRATES 50"
3950 BAUDRATE_CASES="$BAUDRATE_CASES case 50: baudrate = B50; break;"
3956 ac_fn_c_check_decl "$LINENO" "B75" "ac_cv_have_decl_B75" "#include <termios.h>
3958 if test "x$ac_cv_have_decl_B75" = xyes; then :
3964 if test $tio_have_decl = 1; then :
3966 BAUDRATES="$BAUDRATES 75"
3968 BAUDRATE_CASES="$BAUDRATE_CASES case 75: baudrate = B75; break;"
3974 ac_fn_c_check_decl "$LINENO" "B110" "ac_cv_have_decl_B110" "#include <termios.h>
3976 if test "x$ac_cv_have_decl_B110" = xyes; then :
3982 if test $tio_have_decl = 1; then :
3984 BAUDRATES="$BAUDRATES 110"
3986 BAUDRATE_CASES="$BAUDRATE_CASES case 110: baudrate = B110; break;"
3992 ac_fn_c_check_decl "$LINENO" "B134" "ac_cv_have_decl_B134" "#include <termios.h>
3994 if test "x$ac_cv_have_decl_B134" = xyes; then :
4000 if test $tio_have_decl = 1; then :
4002 BAUDRATES="$BAUDRATES 134"
4004 BAUDRATE_CASES="$BAUDRATE_CASES case 134: baudrate = B134; break;"
4010 ac_fn_c_check_decl "$LINENO" "B150" "ac_cv_have_decl_B150" "#include <termios.h>
4012 if test "x$ac_cv_have_decl_B150" = xyes; then :
4018 if test $tio_have_decl = 1; then :
4020 BAUDRATES="$BAUDRATES 150"
4022 BAUDRATE_CASES="$BAUDRATE_CASES case 150: baudrate = B150; break;"
4028 ac_fn_c_check_decl "$LINENO" "B200" "ac_cv_have_decl_B200" "#include <termios.h>
4030 if test "x$ac_cv_have_decl_B200" = xyes; then :
4036 if test $tio_have_decl = 1; then :
4038 BAUDRATES="$BAUDRATES 200"
4040 BAUDRATE_CASES="$BAUDRATE_CASES case 200: baudrate = B200; break;"
4046 ac_fn_c_check_decl "$LINENO" "B300" "ac_cv_have_decl_B300" "#include <termios.h>
4048 if test "x$ac_cv_have_decl_B300" = xyes; then :
4054 if test $tio_have_decl = 1; then :
4056 BAUDRATES="$BAUDRATES 300"
4058 BAUDRATE_CASES="$BAUDRATE_CASES case 300: baudrate = B300; break;"
4064 ac_fn_c_check_decl "$LINENO" "B600" "ac_cv_have_decl_B600" "#include <termios.h>
4066 if test "x$ac_cv_have_decl_B600" = xyes; then :
4072 if test $tio_have_decl = 1; then :
4074 BAUDRATES="$BAUDRATES 600"
4076 BAUDRATE_CASES="$BAUDRATE_CASES case 600: baudrate = B600; break;"
4082 ac_fn_c_check_decl "$LINENO" "B1200" "ac_cv_have_decl_B1200" "#include <termios.h>
4084 if test "x$ac_cv_have_decl_B1200" = xyes; then :
4090 if test $tio_have_decl = 1; then :
4092 BAUDRATES="$BAUDRATES 1200"
4094 BAUDRATE_CASES="$BAUDRATE_CASES case 1200: baudrate = B1200; break;"
4100 ac_fn_c_check_decl "$LINENO" "B1800" "ac_cv_have_decl_B1800" "#include <termios.h>
4102 if test "x$ac_cv_have_decl_B1800" = xyes; then :
4108 if test $tio_have_decl = 1; then :
4110 BAUDRATES="$BAUDRATES 1800"
4112 BAUDRATE_CASES="$BAUDRATE_CASES case 1800: baudrate = B1800; break;"
4118 ac_fn_c_check_decl "$LINENO" "B2400" "ac_cv_have_decl_B2400" "#include <termios.h>
4120 if test "x$ac_cv_have_decl_B2400" = xyes; then :
4126 if test $tio_have_decl = 1; then :
4128 BAUDRATES="$BAUDRATES 2400"
4130 BAUDRATE_CASES="$BAUDRATE_CASES case 2400: baudrate = B2400; break;"
4136 ac_fn_c_check_decl "$LINENO" "B4800" "ac_cv_have_decl_B4800" "#include <termios.h>
4138 if test "x$ac_cv_have_decl_B4800" = xyes; then :
4144 if test $tio_have_decl = 1; then :
4146 BAUDRATES="$BAUDRATES 4800"
4148 BAUDRATE_CASES="$BAUDRATE_CASES case 4800: baudrate = B4800; break;"
4154 ac_fn_c_check_decl "$LINENO" "B7200" "ac_cv_have_decl_B7200" "#include <termios.h>
4156 if test "x$ac_cv_have_decl_B7200" = xyes; then :
4162 if test $tio_have_decl = 1; then :
4164 BAUDRATES="$BAUDRATES 7200"
4166 BAUDRATE_CASES="$BAUDRATE_CASES case 7200: baudrate = B7200; break;"
4172 ac_fn_c_check_decl "$LINENO" "B9600" "ac_cv_have_decl_B9600" "#include <termios.h>
4174 if test "x$ac_cv_have_decl_B9600" = xyes; then :
4180 if test $tio_have_decl = 1; then :
4182 BAUDRATES="$BAUDRATES 9600"
4184 BAUDRATE_CASES="$BAUDRATE_CASES case 9600: baudrate = B9600; break;"
4190 ac_fn_c_check_decl "$LINENO" "B14400" "ac_cv_have_decl_B14400" "#include <termios.h>
4192 if test "x$ac_cv_have_decl_B14400" = xyes; then :
4198 if test $tio_have_decl = 1; then :
4200 BAUDRATES="$BAUDRATES 14400"
4202 BAUDRATE_CASES="$BAUDRATE_CASES case 14400: baudrate = B14400; break;"
4208 ac_fn_c_check_decl "$LINENO" "B19200" "ac_cv_have_decl_B19200" "#include <termios.h>
4210 if test "x$ac_cv_have_decl_B19200" = xyes; then :
4216 if test $tio_have_decl = 1; then :
4218 BAUDRATES="$BAUDRATES 19200"
4220 BAUDRATE_CASES="$BAUDRATE_CASES case 19200: baudrate = B19200; break;"
4226 ac_fn_c_check_decl "$LINENO" "B28800" "ac_cv_have_decl_B28800" "#include <termios.h>
4228 if test "x$ac_cv_have_decl_B28800" = xyes; then :
4234 if test $tio_have_decl = 1; then :
4236 BAUDRATES="$BAUDRATES 28800"
4238 BAUDRATE_CASES="$BAUDRATE_CASES case 28800: baudrate = B28800; break;"
4244 ac_fn_c_check_decl "$LINENO" "B38400" "ac_cv_have_decl_B38400" "#include <termios.h>
4246 if test "x$ac_cv_have_decl_B38400" = xyes; then :
4252 if test $tio_have_decl = 1; then :
4254 BAUDRATES="$BAUDRATES 38400"
4256 BAUDRATE_CASES="$BAUDRATE_CASES case 38400: baudrate = B38400; break;"
4262 ac_fn_c_check_decl "$LINENO" "B57600" "ac_cv_have_decl_B57600" "#include <termios.h>
4264 if test "x$ac_cv_have_decl_B57600" = xyes; then :
4270 if test $tio_have_decl = 1; then :
4272 BAUDRATES="$BAUDRATES 57600"
4274 BAUDRATE_CASES="$BAUDRATE_CASES case 57600: baudrate = B57600; break;"
4280 ac_fn_c_check_decl "$LINENO" "B76800" "ac_cv_have_decl_B76800" "#include <termios.h>
4282 if test "x$ac_cv_have_decl_B76800" = xyes; then :
4288 if test $tio_have_decl = 1; then :
4290 BAUDRATES="$BAUDRATES 76800"
4292 BAUDRATE_CASES="$BAUDRATE_CASES case 76800: baudrate = B76800; break;"
4298 ac_fn_c_check_decl "$LINENO" "B115200" "ac_cv_have_decl_B115200" "#include <termios.h>
4300 if test "x$ac_cv_have_decl_B115200" = xyes; then :
4306 if test $tio_have_decl = 1; then :
4308 BAUDRATES="$BAUDRATES 115200"
4310 BAUDRATE_CASES="$BAUDRATE_CASES case 115200: baudrate = B115200; break;"
4316 ac_fn_c_check_decl "$LINENO" "B230400" "ac_cv_have_decl_B230400" "#include <termios.h>
4318 if test "x$ac_cv_have_decl_B230400" = xyes; then :
4324 if test $tio_have_decl = 1; then :
4326 BAUDRATES="$BAUDRATES 230400"
4328 BAUDRATE_CASES="$BAUDRATE_CASES case 230400: baudrate = B230400; break;"
4334 ac_fn_c_check_decl "$LINENO" "B460800" "ac_cv_have_decl_B460800" "#include <termios.h>
4336 if test "x$ac_cv_have_decl_B460800" = xyes; then :
4342 if test $tio_have_decl = 1; then :
4344 BAUDRATES="$BAUDRATES 460800"
4346 BAUDRATE_CASES="$BAUDRATE_CASES case 460800: baudrate = B460800; break;"
4352 ac_fn_c_check_decl "$LINENO" "B500000" "ac_cv_have_decl_B500000" "#include <termios.h>
4354 if test "x$ac_cv_have_decl_B500000" = xyes; then :
4360 if test $tio_have_decl = 1; then :
4362 BAUDRATES="$BAUDRATES 500000"
4364 BAUDRATE_CASES="$BAUDRATE_CASES case 500000: baudrate = B500000; break;"
4370 ac_fn_c_check_decl "$LINENO" "B576000" "ac_cv_have_decl_B576000" "#include <termios.h>
4372 if test "x$ac_cv_have_decl_B576000" = xyes; then :
4378 if test $tio_have_decl = 1; then :
4380 BAUDRATES="$BAUDRATES 576000"
4382 BAUDRATE_CASES="$BAUDRATE_CASES case 576000: baudrate = B576000; break;"
4388 ac_fn_c_check_decl "$LINENO" "B921600" "ac_cv_have_decl_B921600" "#include <termios.h>
4390 if test "x$ac_cv_have_decl_B921600" = xyes; then :
4396 if test $tio_have_decl = 1; then :
4398 BAUDRATES="$BAUDRATES 921600"
4400 BAUDRATE_CASES="$BAUDRATE_CASES case 921600: baudrate = B921600; break;"
4406 ac_fn_c_check_decl "$LINENO" "B1000000" "ac_cv_have_decl_B1000000" "#include <termios.h>
4408 if test "x$ac_cv_have_decl_B1000000" = xyes; then :
4414 if test $tio_have_decl = 1; then :
4416 BAUDRATES="$BAUDRATES 1000000"
4418 BAUDRATE_CASES="$BAUDRATE_CASES case 1000000: baudrate = B1000000; break;"
4424 ac_fn_c_check_decl "$LINENO" "B1152000" "ac_cv_have_decl_B1152000" "#include <termios.h>
4426 if test "x$ac_cv_have_decl_B1152000" = xyes; then :
4432 if test $tio_have_decl = 1; then :
4434 BAUDRATES="$BAUDRATES 1152000"
4436 BAUDRATE_CASES="$BAUDRATE_CASES case 1152000: baudrate = B1152000; break;"
4442 ac_fn_c_check_decl "$LINENO" "B1500000" "ac_cv_have_decl_B1500000" "#include <termios.h>
4444 if test "x$ac_cv_have_decl_B1500000" = xyes; then :
4450 if test $tio_have_decl = 1; then :
4452 BAUDRATES="$BAUDRATES 1500000"
4454 BAUDRATE_CASES="$BAUDRATE_CASES case 1500000: baudrate = B1500000; break;"
4460 ac_fn_c_check_decl "$LINENO" "B2000000" "ac_cv_have_decl_B2000000" "#include <termios.h>
4462 if test "x$ac_cv_have_decl_B2000000" = xyes; then :
4468 if test $tio_have_decl = 1; then :
4470 BAUDRATES="$BAUDRATES 2000000"
4472 BAUDRATE_CASES="$BAUDRATE_CASES case 2000000: baudrate = B2000000; break;"
4478 ac_fn_c_check_decl "$LINENO" "B2500000" "ac_cv_have_decl_B2500000" "#include <termios.h>
4480 if test "x$ac_cv_have_decl_B2500000" = xyes; then :
4486 if test $tio_have_decl = 1; then :
4488 BAUDRATES="$BAUDRATES 2500000"
4490 BAUDRATE_CASES="$BAUDRATE_CASES case 2500000: baudrate = B2500000; break;"
4496 ac_fn_c_check_decl "$LINENO" "B3000000" "ac_cv_have_decl_B3000000" "#include <termios.h>
4498 if test "x$ac_cv_have_decl_B3000000" = xyes; then :
4504 if test $tio_have_decl = 1; then :
4506 BAUDRATES="$BAUDRATES 3000000"
4508 BAUDRATE_CASES="$BAUDRATE_CASES case 3000000: baudrate = B3000000; break;"
4514 ac_fn_c_check_decl "$LINENO" "B3500000" "ac_cv_have_decl_B3500000" "#include <termios.h>
4516 if test "x$ac_cv_have_decl_B3500000" = xyes; then :
4522 if test $tio_have_decl = 1; then :
4524 BAUDRATES="$BAUDRATES 3500000"
4526 BAUDRATE_CASES="$BAUDRATE_CASES case 3500000: baudrate = B3500000; break;"
4532 ac_fn_c_check_decl "$LINENO" "B4000000" "ac_cv_have_decl_B4000000" "#include <termios.h>
4534 if test "x$ac_cv_have_decl_B4000000" = xyes; then :
4540 if test $tio_have_decl = 1; then :
4542 BAUDRATES="$BAUDRATES 4000000"
4544 BAUDRATE_CASES="$BAUDRATE_CASES case 4000000: baudrate = B4000000; break;"
4553 cat >>confdefs.h <<_ACEOF
4554 #define AUTOCONF_BAUDRATE_CASES $BAUDRATE_CASES
4558 ac_config_files="$ac_config_files Makefile"
4560 ac_config_files="$ac_config_files src/Makefile"
4562 ac_config_files="$ac_config_files src/bash-completion/tio"
4564 ac_config_files="$ac_config_files man/Makefile"
4566 cat >confcache <<\_ACEOF
4567 # This file is a shell script that caches the results of configure
4568 # tests run on this system so they can be shared between configure
4569 # scripts and configure runs, see configure's option --config-cache.
4570 # It is not useful on other systems. If it contains results you don't
4571 # want to keep, you may remove or edit it.
4573 # config.status only pays attention to the cache file if you give it
4574 # the --recheck option to rerun configure.
4576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4582 # The following way of writing the cache mishandles newlines in values,
4583 # but we know of no workaround that is simple, portable, and efficient.
4584 # So, we kill variables containing newlines.
4585 # Ultrix sh set writes to stderr and can't be redirected directly,
4586 # and sets the high bit in the cache file unless we assign to the vars.
4588 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4589 eval ac_val=\$$ac_var
4593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4597 _ | IFS | as_nl) ;; #(
4598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4599 *) { eval $ac_var=; unset $ac_var;} ;;
4605 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4606 *${as_nl}ac_space=\ *)
4607 # `set' does not quote correctly, so add quotes: double-quote
4608 # substitution turns \\\\ into \\, and sed turns \\ into \.
4611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4614 # `set' quotes correctly as required by POSIX, so do not add quotes.
4615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4626 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4629 if test -w "$cache_file"; then
4630 if test "x$cache_file" != "x/dev/null"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4632 $as_echo "$as_me: updating cache $cache_file" >&6;}
4633 if test ! -f "$cache_file" || test -h "$cache_file"; then
4634 cat confcache >"$cache_file"
4636 case $cache_file in #(
4638 mv -f confcache "$cache_file"$$ &&
4639 mv -f "$cache_file"$$ "$cache_file" ;; #(
4641 mv -f confcache "$cache_file" ;;
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4647 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4652 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4653 # Let make expand exec_prefix.
4654 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4656 DEFS=-DHAVE_CONFIG_H
4661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4662 # 1. Remove the extension, and $U if already installed.
4663 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4664 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4665 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4666 # will be set to the directory where LIBOBJS objects are built.
4667 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4668 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4672 LTLIBOBJS=$ac_ltlibobjs
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4676 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4677 if test -n "$am_sleep_pid"; then
4678 # Hide warnings about reused PIDs.
4679 wait $am_sleep_pid 2>/dev/null
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4682 $as_echo "done" >&6; }
4683 if test -n "$EXEEXT"; then
4685 am__EXEEXT_FALSE='#'
4691 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4692 as_fn_error $? "conditional \"AMDEP\" was never defined.
4693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4695 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4696 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4699 if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then
4700 as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined.
4701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4704 : "${CONFIG_STATUS=./config.status}"
4706 ac_clean_files_save=$ac_clean_files
4707 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4709 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4711 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4713 # Generated by $as_me.
4714 # Run this file to recreate the current configuration.
4715 # Compiler output produced by configure, useful for debugging
4716 # configure, is in config.log if it exists.
4722 SHELL=\${CONFIG_SHELL-$SHELL}
4725 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4726 ## -------------------- ##
4727 ## M4sh Initialization. ##
4728 ## -------------------- ##
4730 # Be more Bourne compatible
4731 DUALCASE=1; export DUALCASE # for MKS sh
4732 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4735 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4736 # is contrary to our usage. Disable this feature.
4737 alias -g '${1+"$@"}'='"$@"'
4738 setopt NO_GLOB_SUBST
4740 case `(set -o) 2>/dev/null` in #(
4752 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4753 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4754 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4756 # Prefer a ksh shell builtin over an external printf program on Solaris,
4757 # but without wasting forks for bash or zsh.
4758 if test -z "$BASH_VERSION$ZSH_VERSION" \
4759 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4760 as_echo='print -r --'
4761 as_echo_n='print -rn --'
4762 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4763 as_echo='printf %s\n'
4764 as_echo_n='printf %s'
4766 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4767 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4768 as_echo_n='/usr/ucb/echo -n'
4770 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4771 as_echo_n_body='eval
4775 expr "X$arg" : "X\\(.*\\)$as_nl";
4776 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4778 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4780 export as_echo_n_body
4781 as_echo_n='sh -c $as_echo_n_body as_echo'
4784 as_echo='sh -c $as_echo_body as_echo'
4787 # The user is always right.
4788 if test "${PATH_SEPARATOR+set}" != set; then
4790 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4791 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4798 # We need space, tab and new line, in precisely that order. Quoting is
4799 # there to prevent editors from complaining about space-tab.
4800 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4801 # splitting by setting IFS to empty value.)
4804 # Find who we are. Look in the path if we contain no directory separator.
4807 *[\\/]* ) as_myself=$0 ;;
4808 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4819 # We did not find ourselves, most probably we were run as `sh COMMAND'
4820 # in which case we are not to be found in the path.
4821 if test "x$as_myself" = x; then
4824 if test ! -f "$as_myself"; then
4825 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4829 # Unset variables that we do not need and which cause bugs (e.g. in
4830 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4831 # suppresses any "Segmentation fault" message there. '((' could
4832 # trigger a bug in pdksh 5.2.14.
4833 for as_var in BASH_ENV ENV MAIL MAILPATH
4834 do eval test x\${$as_var+set} = xset \
4835 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4851 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4852 # ----------------------------------------
4853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4855 # script with STATUS, using 1 if that was 0.
4858 as_status=$1; test $as_status -eq 0 && as_status=1
4860 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4861 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4863 $as_echo "$as_me: error: $2" >&2
4864 as_fn_exit $as_status
4868 # as_fn_set_status STATUS
4869 # -----------------------
4870 # Set $? to STATUS, without forking.
4874 } # as_fn_set_status
4878 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4888 # Portably unset VAR.
4891 { eval $1=; unset $1;}
4893 as_unset=as_fn_unset
4894 # as_fn_append VAR VALUE
4895 # ----------------------
4896 # Append the text in VALUE to the end of the definition contained in VAR. Take
4897 # advantage of any shell optimizations that allow amortized linear growth over
4898 # repeated appends, instead of the typical quadratic growth present in naive
4900 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4901 eval 'as_fn_append ()
4912 # as_fn_arith ARG...
4913 # ------------------
4914 # Perform arithmetic evaluation on the ARGs, and store the result in the
4915 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4916 # must be portable across $(()) and expr.
4917 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4918 eval 'as_fn_arith ()
4925 as_val=`expr "$@" || test $? -eq 1`
4930 if expr a : '\(a\)' >/dev/null 2>&1 &&
4931 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4937 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4938 as_basename=basename
4943 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4949 as_me=`$as_basename -- "$0" ||
4950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4951 X"$0" : 'X\(//\)$' \| \
4952 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4954 sed '/^.*\/\([^/][^/]*\)\/*$/{
4968 # Avoid depending upon Character Ranges.
4969 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4970 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4971 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4972 as_cr_digits='0123456789'
4973 as_cr_alnum=$as_cr_Letters$as_cr_digits
4975 ECHO_C= ECHO_N= ECHO_T=
4976 case `echo -n x` in #(((((
4978 case `echo 'xy\c'` in
4979 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4981 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4988 rm -f conf$$ conf$$.exe conf$$.file
4989 if test -d conf$$.dir; then
4990 rm -f conf$$.dir/conf$$.file
4993 mkdir conf$$.dir 2>/dev/null
4995 if (echo >conf$$.file) 2>/dev/null; then
4996 if ln -s conf$$.file conf$$ 2>/dev/null; then
4998 # ... but there are two gotchas:
4999 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5000 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5001 # In both cases, we have to default to `cp -pR'.
5002 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5004 elif ln conf$$.file conf$$ 2>/dev/null; then
5012 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5013 rmdir conf$$.dir 2>/dev/null
5018 # Create "$as_dir" as a directory, including parents if necessary.
5023 -*) as_dir=./$as_dir;;
5025 test -d "$as_dir" || eval $as_mkdir_p || {
5029 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5030 *) as_qdir=$as_dir;;
5032 as_dirs="'$as_qdir' $as_dirs"
5033 as_dir=`$as_dirname -- "$as_dir" ||
5034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5035 X"$as_dir" : 'X\(//\)[^/]' \| \
5036 X"$as_dir" : 'X\(//\)$' \| \
5037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5038 $as_echo X"$as_dir" |
5039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5056 test -d "$as_dir" && break
5058 test -z "$as_dirs" || eval "mkdir $as_dirs"
5059 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5063 if mkdir -p . 2>/dev/null; then
5064 as_mkdir_p='mkdir -p "$as_dir"'
5066 test -d ./-p && rmdir ./-p
5071 # as_fn_executable_p FILE
5072 # -----------------------
5073 # Test if FILE is an executable regular file.
5074 as_fn_executable_p ()
5076 test -f "$1" && test -x "$1"
5077 } # as_fn_executable_p
5079 as_executable_p=as_fn_executable_p
5081 # Sed expression to map a string onto a valid CPP name.
5082 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5084 # Sed expression to map a string onto a valid variable name.
5085 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5089 ## ----------------------------------- ##
5090 ## Main body of $CONFIG_STATUS script. ##
5091 ## ----------------------------------- ##
5093 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5096 # Save the log message, to keep $0 and so on meaningful, and to
5097 # report actual input values of CONFIG_FILES etc. instead of their
5098 # values after options handling.
5100 This file was extended by tio $as_me 1.24, which was
5101 generated by GNU Autoconf 2.69. Invocation command line was
5103 CONFIG_FILES = $CONFIG_FILES
5104 CONFIG_HEADERS = $CONFIG_HEADERS
5105 CONFIG_LINKS = $CONFIG_LINKS
5106 CONFIG_COMMANDS = $CONFIG_COMMANDS
5109 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5114 case $ac_config_files in *"
5115 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5118 case $ac_config_headers in *"
5119 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5124 # Files that config.status was made for.
5125 config_files="$ac_config_files"
5126 config_headers="$ac_config_headers"
5127 config_commands="$ac_config_commands"
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5133 \`$as_me' instantiates files and other configuration actions
5134 from templates according to the current configuration. Unless the files
5135 and actions are specified as TAGs, all are instantiated by default.
5137 Usage: $0 [OPTION]... [TAG]...
5139 -h, --help print this help, then exit
5140 -V, --version print version number and configuration settings, then exit
5141 --config print configuration, then exit
5142 -q, --quiet, --silent
5143 do not print progress messages
5144 -d, --debug don't remove temporary files
5145 --recheck update $as_me by reconfiguring in the same conditions
5146 --file=FILE[:TEMPLATE]
5147 instantiate the configuration file FILE
5148 --header=FILE[:TEMPLATE]
5149 instantiate the configuration header FILE
5151 Configuration files:
5154 Configuration headers:
5157 Configuration commands:
5160 Report bugs to the package provider.
5161 tio home page: <https://tio.github.io>."
5164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5167 tio config.status 1.24
5168 configured by $0, generated by GNU Autoconf 2.69,
5169 with options \\"\$ac_cs_config\\"
5171 Copyright (C) 2012 Free Software Foundation, Inc.
5172 This config.status script is free software; the Free Software Foundation
5173 gives unlimited permission to copy, distribute and modify it."
5180 test -n "\$AWK" || AWK=awk
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184 # The default lists apply if the user does not specify any file.
5190 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5191 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5195 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5207 # Handling of the options.
5208 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5210 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5211 $as_echo "$ac_cs_version"; exit ;;
5212 --config | --confi | --conf | --con | --co | --c )
5213 $as_echo "$ac_cs_config"; exit ;;
5214 --debug | --debu | --deb | --de | --d | -d )
5216 --file | --fil | --fi | --f )
5219 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5220 '') as_fn_error $? "missing file argument" ;;
5222 as_fn_append CONFIG_FILES " '$ac_optarg'"
5223 ac_need_defaults=false;;
5224 --header | --heade | --head | --hea )
5227 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5229 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5230 ac_need_defaults=false;;
5232 # Conflict between --help and --header
5233 as_fn_error $? "ambiguous option: \`$1'
5234 Try \`$0 --help' for more information.";;
5235 --help | --hel | -h )
5236 $as_echo "$ac_cs_usage"; exit ;;
5237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5238 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5242 -*) as_fn_error $? "unrecognized option: \`$1'
5243 Try \`$0 --help' for more information." ;;
5245 *) as_fn_append ac_config_targets " $1"
5246 ac_need_defaults=false ;;
5252 ac_configure_extra_args=
5254 if $ac_cs_silent; then
5256 ac_configure_extra_args="$ac_configure_extra_args --silent"
5260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5261 if \$ac_cs_recheck; then
5262 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5264 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5265 CONFIG_SHELL='$SHELL'
5271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5275 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5276 ## Running $as_me. ##
5282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5286 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5292 # Handling of arguments.
5293 for ac_config_target in $ac_config_targets
5295 case $ac_config_target in
5296 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
5297 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5298 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5299 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5300 "src/bash-completion/tio") CONFIG_FILES="$CONFIG_FILES src/bash-completion/tio" ;;
5301 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5303 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5308 # If the user did not use the arguments to specify the items to instantiate,
5309 # then the envvar interface is used. Set only those that are not.
5310 # We use the long form for the default assignment because of an extremely
5311 # bizarre bug on SunOS 4.1.3.
5312 if $ac_need_defaults; then
5313 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5314 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5315 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5318 # Have a temporary directory for convenience. Make it in the build tree
5319 # simply because there is no reason against having it here, and in addition,
5320 # creating and moving files from /tmp can sometimes cause problems.
5321 # Hook for its removal unless debugging.
5322 # Note that there is a small window in which the directory will not be cleaned:
5323 # after its creation but before its name has been assigned to `$tmp'.
5327 trap 'exit_status=$?
5329 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5331 trap 'as_fn_exit 1' 1 2 13 15
5333 # Create a (secure) tmp directory for tmp files.
5336 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5340 tmp=./conf$$-$RANDOM
5341 (umask 077 && mkdir "$tmp")
5342 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5345 # Set up the scripts for CONFIG_FILES section.
5346 # No need to generate them if there are no CONFIG_FILES.
5347 # This happens for instance with `./config.status config.h'.
5348 if test -n "$CONFIG_FILES"; then
5351 ac_cr=`echo X | tr X '\015'`
5352 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5353 # But we know of no other shell where ac_cr would be empty at this
5354 # point, so we can use a bashism as a fallback.
5355 if test "x$ac_cr" = x; then
5356 eval ac_cr=\$\'\\r\'
5358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5365 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5370 echo "cat >conf$$subs.awk <<_ACEOF" &&
5371 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5374 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5377 for ac_last_try in false false false false false :; do
5378 . ./conf$$subs.sh ||
5379 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5381 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5382 if test $ac_delim_n = $ac_delim_num; then
5384 elif $ac_last_try; then
5385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5387 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5393 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5397 s/^/S["/; s/!.*/"]=/
5407 s/\(.\{148\}\)..*/\1/
5409 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5421 s/\(.\{148\}\)..*/\1/
5423 s/["\\]/\\&/g; s/^/"/; s/$/"/
5427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5432 ' <conf$$subs.awk | sed '
5437 ' >>$CONFIG_STATUS || ac_write_fail=1
5438 rm -f conf$$subs.awk
5439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5441 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5442 for (key in S) S_is_set[key] = 1
5448 nfields = split(line, field, "@")
5450 len = length(field[1])
5451 for (i = 2; i < nfields; i++) {
5453 keylen = length(key)
5454 if (S_is_set[key]) {
5456 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5457 len += length(value) + length(field[++i])
5468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5469 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5470 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5473 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5474 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5477 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5478 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5479 # trailing colons and then remove the whole line if VPATH becomes empty
5480 # (actually we leave an empty line to preserve line numbers).
5481 if test "x$srcdir" = x.; then
5482 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 fi # test -n "$CONFIG_FILES"
5503 # Set up the scripts for CONFIG_HEADERS section.
5504 # No need to generate them if there are no CONFIG_HEADERS.
5505 # This happens for instance with `./config.status Makefile'.
5506 if test -n "$CONFIG_HEADERS"; then
5507 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5511 # Transform confdefs.h into an awk script `defines.awk', embedded as
5512 # here-document in config.status, that substitutes the proper values into
5513 # config.h.in to produce config.h.
5515 # Create a delimiter string that does not exist in confdefs.h, to ease
5516 # handling of long lines.
5518 for ac_last_try in false false :; do
5519 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5520 if test -z "$ac_tt"; then
5522 elif $ac_last_try; then
5523 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5525 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5529 # For the awk script, D is an array of macro values keyed by name,
5530 # likewise P contains macro parameters if any. Preserve backslash
5531 # newline sequences.
5533 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5535 s/.\{148\}/&'"$ac_delim"'/g
5538 s/^[ ]*#[ ]*define[ ][ ]*/ /
5545 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5547 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5551 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5552 D["\1"]=" \3\\\\\\n"\\/p
5554 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5559 s/.\{148\}/&'"$ac_delim"'/g
5564 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5567 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5569 ' <confdefs.h | sed '
5570 s/'"$ac_delim"'/"\\\
5571 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5574 for (key in D) D_is_set[key] = 1
5577 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5579 split(line, arg, " ")
5580 if (arg[1] == "#") {
5584 defundef = substr(arg[1], 2)
5587 split(mac1, mac2, "(") #)
5589 prefix = substr(line, 1, index(line, defundef) - 1)
5590 if (D_is_set[macro]) {
5591 # Preserve the white space surrounding the "#".
5592 print prefix "define", macro P[macro] D[macro]
5595 # Replace #undef with comments. This is necessary, for example,
5596 # in the case of _POSIX_SOURCE, which is predefined and required
5597 # on some systems where configure will not decide to define it.
5598 if (defundef == "undef") {
5599 print "/*", prefix defundef, macro, "*/"
5607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5608 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5609 fi # test -n "$CONFIG_HEADERS"
5612 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5617 :[FHLC]) ac_mode=$ac_tag; continue;;
5619 case $ac_mode$ac_tag in
5621 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5622 :[FH]-) ac_tag=-:-;;
5623 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5640 -) ac_f="$ac_tmp/stdin";;
5641 *) # Look for the file first in the build tree, then in the source tree
5642 # (if the path is not absolute). The absolute path cannot be DOS-style,
5643 # because $ac_f cannot contain `:'.
5647 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5649 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5651 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5652 as_fn_append ac_file_inputs " '$ac_f'"
5655 # Let's still pretend it is `configure' which instantiates (i.e., don't
5656 # use $as_me), people would be surprised to read:
5657 # /* config.h. Generated by config.status. */
5658 configure_input='Generated from '`
5659 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5661 if test x"$ac_file" != x-; then
5662 configure_input="$ac_file. $configure_input"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5664 $as_echo "$as_me: creating $ac_file" >&6;}
5666 # Neutralize special characters interpreted by sed in replacement strings.
5667 case $configure_input in #(
5668 *\&* | *\|* | *\\* )
5669 ac_sed_conf_input=`$as_echo "$configure_input" |
5670 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5671 *) ac_sed_conf_input=$configure_input;;
5675 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5681 ac_dir=`$as_dirname -- "$ac_file" ||
5682 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5683 X"$ac_file" : 'X\(//\)[^/]' \| \
5684 X"$ac_file" : 'X\(//\)$' \| \
5685 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5686 $as_echo X"$ac_file" |
5687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5704 as_dir="$ac_dir"; as_fn_mkdir_p
5708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5710 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5711 # A ".." for each directory in $ac_dir_suffix.
5712 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5713 case $ac_top_builddir_sub in
5714 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5715 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5718 ac_abs_top_builddir=$ac_pwd
5719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5720 # for backward compatibility:
5721 ac_top_builddir=$ac_top_build_prefix
5724 .) # We are building in place.
5726 ac_top_srcdir=$ac_top_builddir_sub
5727 ac_abs_top_srcdir=$ac_pwd ;;
5728 [\\/]* | ?:[\\/]* ) # Absolute name.
5729 ac_srcdir=$srcdir$ac_dir_suffix;
5730 ac_top_srcdir=$srcdir
5731 ac_abs_top_srcdir=$srcdir ;;
5733 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5734 ac_top_srcdir=$ac_top_build_prefix$srcdir
5735 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5747 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5748 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5752 [\\/$]* | ?:[\\/]* ) ;;
5753 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5758 # If the template does not know about datarootdir, expand it.
5759 # FIXME: This hack should be removed a few years after 2.60.
5760 ac_datarootdir_hack=; ac_datarootdir_seen=
5771 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5772 *datarootdir*) ac_datarootdir_seen=yes;;
5773 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5775 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778 ac_datarootdir_hack='
5779 s&@datadir@&$datadir&g
5780 s&@docdir@&$docdir&g
5781 s&@infodir@&$infodir&g
5782 s&@localedir@&$localedir&g
5783 s&@mandir@&$mandir&g
5784 s&\\\${datarootdir}&$datarootdir&g' ;;
5788 # Neutralize VPATH when `$srcdir' = `.'.
5789 # Shell code in configure.ac might set extrasub.
5790 # FIXME: do we really want to maintain this feature?
5791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5792 ac_sed_extra="$ac_vpsub
5795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5798 s|@configure_input@|$ac_sed_conf_input|;t t
5799 s&@top_builddir@&$ac_top_builddir_sub&;t t
5800 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5801 s&@srcdir@&$ac_srcdir&;t t
5802 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5803 s&@top_srcdir@&$ac_top_srcdir&;t t
5804 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5805 s&@builddir@&$ac_builddir&;t t
5806 s&@abs_builddir@&$ac_abs_builddir&;t t
5807 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5808 s&@INSTALL@&$ac_INSTALL&;t t
5809 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5810 $ac_datarootdir_hack
5812 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5813 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5815 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5816 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5817 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5818 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5820 which seems to be undefined. Please make sure it is defined" >&5
5821 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5822 which seems to be undefined. Please make sure it is defined" >&2;}
5824 rm -f "$ac_tmp/stdin"
5826 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5827 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5829 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5835 if test x"$ac_file" != x-; then
5837 $as_echo "/* $configure_input */" \
5838 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5839 } >"$ac_tmp/config.h" \
5840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5841 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5843 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5846 mv "$ac_tmp/config.h" "$ac_file" \
5847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5850 $as_echo "/* $configure_input */" \
5851 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5852 || as_fn_error $? "could not create -" "$LINENO" 5
5854 # Compute "$ac_file"'s index in $config_headers.
5857 for _am_header in $config_headers :; do
5859 $_am_arg | $_am_arg:* )
5862 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5865 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5866 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5867 X"$_am_arg" : 'X\(//\)[^/]' \| \
5868 X"$_am_arg" : 'X\(//\)$' \| \
5869 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5870 $as_echo X"$_am_arg" |
5871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5887 s/.*/./; q'`/stamp-h$_am_stamp_count
5890 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5891 $as_echo "$as_me: executing $ac_file commands" >&6;}
5896 case $ac_file$ac_mode in
5897 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5898 # Older Autoconf quotes --file arguments for eval, but not when files
5899 # are listed without --file. Let's play safe and only enable the eval
5900 # if we detect the quoting.
5901 case $CONFIG_FILES in
5902 *\'*) eval set x "$CONFIG_FILES" ;;
5903 *) set x $CONFIG_FILES ;;
5908 # Strip MF so we end up with the name of the file.
5909 mf=`echo "$mf" | sed -e 's/:.*$//'`
5910 # Check whether this is an Automake generated Makefile or not.
5911 # We used to match only the files named 'Makefile.in', but
5912 # some people rename them; so instead we look at the file content.
5913 # Grep'ing the first line is not enough: some people post-process
5914 # each Makefile.in and add a new line on top of each file to say so.
5915 # Grep'ing the whole file is not good either: AIX grep has a line
5916 # limit of 2048, but all sed's we know have understand at least 4000.
5917 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5918 dirpart=`$as_dirname -- "$mf" ||
5919 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5920 X"$mf" : 'X\(//\)[^/]' \| \
5921 X"$mf" : 'X\(//\)$' \| \
5922 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5944 # Extract the definition of DEPDIR, am__include, and am__quote
5945 # from the Makefile without running 'make'.
5946 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5947 test -z "$DEPDIR" && continue
5948 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5949 test -z "$am__include" && continue
5950 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5951 # Find all dependency output files, they are included files with
5952 # $(DEPDIR) in their names. We invoke sed twice because it is the
5953 # simplest approach to changing $(DEPDIR) to its actual value in the
5955 for file in `sed -n "
5956 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5957 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5958 # Make sure the directory exists.
5959 test -f "$dirpart/$file" && continue
5960 fdir=`$as_dirname -- "$file" ||
5961 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5962 X"$file" : 'X\(//\)[^/]' \| \
5963 X"$file" : 'X\(//\)$' \| \
5964 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5983 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5984 # echo "creating $dirpart/$file"
5985 echo '# dummy' > "$dirpart/$file"
5997 ac_clean_files=$ac_clean_files_save
5999 test $ac_write_fail = 0 ||
6000 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6003 # configure is writing to config.log, and then calls config.status.
6004 # config.status does its own redirection, appending to config.log.
6005 # Unfortunately, on DOS this fails, as config.log is still kept open
6006 # by configure, so config.status won't be able to write to it; its
6007 # output is simply discarded. So we exec the FD to /dev/null,
6008 # effectively closing config.log, so it can be properly (re)opened and
6009 # appended to by config.status. When coming back to configure, we
6010 # need to make the FD available again.
6011 if test "$no_create" != yes; then
6013 ac_config_status_args=
6014 test "$silent" = yes &&
6015 ac_config_status_args="$ac_config_status_args --quiet"
6017 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6019 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6020 # would make configure fail if this is the last instruction.
6021 $ac_cs_success || as_fn_exit 1
6023 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6025 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}