2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tio 1.32.
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.32'
580 PACKAGE_STRING='tio 1.32'
582 PACKAGE_URL='https://tio.github.io'
584 ac_subst_vars='am__EXEEXT_FALSE
592 ENABLE_BASH_COMPLETION_FALSE
593 ENABLE_BASH_COMPLETION_TRUE
623 INSTALL_STRIP_PROGRAM
666 program_transform_name
680 enable_option_checking
682 enable_dependency_tracking
684 with_bash_completion_dir
686 ac_precious_vars='build_alias
696 # Initialize some variables set by options.
698 ac_init_version=false
699 ac_unrecognized_opts=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
710 program_transform_name=s,x,x,
718 # Installation directory options.
719 # These are left unexpanded so users can "make install exec_prefix=/foo"
720 # and all the variables that are supposed to be based on exec_prefix
721 # by default will actually change.
722 # Use braces instead of parens because sh, perl, etc. also accept them.
723 # (The list follows the same order as the GNU Coding Standards.)
724 bindir='${exec_prefix}/bin'
725 sbindir='${exec_prefix}/sbin'
726 libexecdir='${exec_prefix}/libexec'
727 datarootdir='${prefix}/share'
728 datadir='${datarootdir}'
729 sysconfdir='${prefix}/etc'
730 sharedstatedir='${prefix}/com'
731 localstatedir='${prefix}/var'
732 runstatedir='${localstatedir}/run'
733 includedir='${prefix}/include'
734 oldincludedir='/usr/include'
735 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
736 infodir='${datarootdir}/info'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
749 # If the previous option needs an argument, assign it.
750 if test -n "$ac_prev"; then
751 eval $ac_prev=\$ac_option
757 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762 # Accept the important Cygnus configure options, so we can diagnose typos.
764 case $ac_dashdash$ac_option in
768 -bindir | --bindir | --bindi | --bind | --bin | --bi)
770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
773 -build | --build | --buil | --bui | --bu)
774 ac_prev=build_alias ;;
775 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
776 build_alias=$ac_optarg ;;
778 -cache-file | --cache-file | --cache-fil | --cache-fi \
779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
780 ac_prev=cache_file ;;
781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
783 cache_file=$ac_optarg ;;
786 cache_file=config.cache ;;
788 -datadir | --datadir | --datadi | --datad)
790 -datadir=* | --datadir=* | --datadi=* | --datad=*)
791 datadir=$ac_optarg ;;
793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
794 | --dataroo | --dataro | --datar)
795 ac_prev=datarootdir ;;
796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
798 datarootdir=$ac_optarg ;;
800 -disable-* | --disable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804 as_fn_error $? "invalid feature name: $ac_useropt"
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
814 eval enable_$ac_useropt=no ;;
816 -docdir | --docdir | --docdi | --doc | --do)
818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
826 -enable-* | --enable-*)
827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
828 # Reject names that are not valid shell variable names.
829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
830 as_fn_error $? "invalid feature name: $ac_useropt"
831 ac_useropt_orig=$ac_useropt
832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 case $ac_user_opts in
837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838 ac_unrecognized_sep=', ';;
840 eval enable_$ac_useropt=\$ac_optarg ;;
842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844 | --exec | --exe | --ex)
845 ac_prev=exec_prefix ;;
846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848 | --exec=* | --exe=* | --ex=*)
849 exec_prefix=$ac_optarg ;;
851 -gas | --gas | --ga | --g)
852 # Obsolete; use --with-gas.
855 -help | --help | --hel | --he | -h)
857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858 ac_init_help=recursive ;;
859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860 ac_init_help=short ;;
862 -host | --host | --hos | --ho)
863 ac_prev=host_alias ;;
864 -host=* | --host=* | --hos=* | --ho=*)
865 host_alias=$ac_optarg ;;
867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
871 htmldir=$ac_optarg ;;
873 -includedir | --includedir | --includedi | --included | --include \
874 | --includ | --inclu | --incl | --inc)
875 ac_prev=includedir ;;
876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877 | --includ=* | --inclu=* | --incl=* | --inc=*)
878 includedir=$ac_optarg ;;
880 -infodir | --infodir | --infodi | --infod | --info | --inf)
882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883 infodir=$ac_optarg ;;
885 -libdir | --libdir | --libdi | --libd)
887 -libdir=* | --libdir=* | --libdi=* | --libd=*)
890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891 | --libexe | --libex | --libe)
892 ac_prev=libexecdir ;;
893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894 | --libexe=* | --libex=* | --libe=*)
895 libexecdir=$ac_optarg ;;
897 -localedir | --localedir | --localedi | --localed | --locale)
899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900 localedir=$ac_optarg ;;
902 -localstatedir | --localstatedir | --localstatedi | --localstated \
903 | --localstate | --localstat | --localsta | --localst | --locals)
904 ac_prev=localstatedir ;;
905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907 localstatedir=$ac_optarg ;;
909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
915 # Obsolete; use --without-fp.
918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919 | --no-cr | --no-c | -n)
922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928 | --oldin | --oldi | --old | --ol | --o)
929 ac_prev=oldincludedir ;;
930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933 oldincludedir=$ac_optarg ;;
935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
940 -program-prefix | --program-prefix | --program-prefi | --program-pref \
941 | --program-pre | --program-pr | --program-p)
942 ac_prev=program_prefix ;;
943 -program-prefix=* | --program-prefix=* | --program-prefi=* \
944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945 program_prefix=$ac_optarg ;;
947 -program-suffix | --program-suffix | --program-suffi | --program-suff \
948 | --program-suf | --program-su | --program-s)
949 ac_prev=program_suffix ;;
950 -program-suffix=* | --program-suffix=* | --program-suffi=* \
951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952 program_suffix=$ac_optarg ;;
954 -program-transform-name | --program-transform-name \
955 | --program-transform-nam | --program-transform-na \
956 | --program-transform-n | --program-transform- \
957 | --program-transform | --program-transfor \
958 | --program-transfo | --program-transf \
959 | --program-trans | --program-tran \
960 | --progr-tra | --program-tr | --program-t)
961 ac_prev=program_transform_name ;;
962 -program-transform-name=* | --program-transform-name=* \
963 | --program-transform-nam=* | --program-transform-na=* \
964 | --program-transform-n=* | --program-transform-=* \
965 | --program-transform=* | --program-transfor=* \
966 | --program-transfo=* | --program-transf=* \
967 | --program-trans=* | --program-tran=* \
968 | --progr-tra=* | --program-tr=* | --program-t=*)
969 program_transform_name=$ac_optarg ;;
971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
976 -psdir | --psdir | --psdi | --psd | --ps)
978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982 | -silent | --silent | --silen | --sile | --sil)
985 -runstatedir | --runstatedir | --runstatedi | --runstated \
986 | --runstate | --runstat | --runsta | --runst | --runs \
987 | --run | --ru | --r)
988 ac_prev=runstatedir ;;
989 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
990 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
991 | --run=* | --ru=* | --r=*)
992 runstatedir=$ac_optarg ;;
994 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 sbindir=$ac_optarg ;;
1000 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002 | --sharedst | --shareds | --shared | --share | --shar \
1004 ac_prev=sharedstatedir ;;
1005 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 sharedstatedir=$ac_optarg ;;
1011 -site | --site | --sit)
1013 -site=* | --site=* | --sit=*)
1016 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019 srcdir=$ac_optarg ;;
1021 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1022 | --syscon | --sysco | --sysc | --sys | --sy)
1023 ac_prev=sysconfdir ;;
1024 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1025 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1026 sysconfdir=$ac_optarg ;;
1028 -target | --target | --targe | --targ | --tar | --ta | --t)
1029 ac_prev=target_alias ;;
1030 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1031 target_alias=$ac_optarg ;;
1033 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1036 -version | --version | --versio | --versi | --vers | -V)
1037 ac_init_version=: ;;
1040 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval with_$ac_useropt=\$ac_optarg ;;
1055 -without-* | --without-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid package name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval with_$ac_useropt=no ;;
1072 # Obsolete; use --with-x.
1075 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1076 | --x-incl | --x-inc | --x-in | --x-i)
1077 ac_prev=x_includes ;;
1078 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1079 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1080 x_includes=$ac_optarg ;;
1082 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1083 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1084 ac_prev=x_libraries ;;
1085 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1086 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1087 x_libraries=$ac_optarg ;;
1089 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 case $ac_envvar in #(
1097 '' | [0-9]* | *[!_$as_cr_alnum]* )
1098 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100 eval $ac_envvar=\$ac_optarg
1101 export $ac_envvar ;;
1104 # FIXME: should be removed in autoconf 3.0.
1105 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1107 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1114 if test -n "$ac_prev"; then
1115 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1116 as_fn_error $? "missing argument to $ac_option"
1119 if test -n "$ac_unrecognized_opts"; then
1120 case $enable_option_checking in
1122 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1123 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1127 # Check all directory arguments for consistency.
1128 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1129 datadir sysconfdir sharedstatedir localstatedir includedir \
1130 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1131 libdir localedir mandir runstatedir
1133 eval ac_val=\$$ac_var
1134 # Remove trailing slashes.
1137 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138 eval $ac_var=\$ac_val;;
1140 # Be sure to have absolute directory names.
1142 [\\/$]* | ?:[\\/]* ) continue;;
1143 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1148 # There might be people who depend on the old broken behavior: `$host'
1149 # used to hold the argument of --host etc.
1150 # FIXME: To remove some day.
1153 target=$target_alias
1155 # FIXME: To remove some day.
1156 if test "x$host_alias" != x; then
1157 if test "x$build_alias" = x; then
1158 cross_compiling=maybe
1159 elif test "x$build_alias" != "x$host_alias"; then
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167 test "$silent" = yes && exec 6>/dev/null
1170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di=`ls -di .` &&
1172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1173 as_fn_error $? "working directory cannot be determined"
1174 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1175 as_fn_error $? "pwd does not report name of working directory"
1178 # Find the source files, if location was not specified.
1179 if test -z "$srcdir"; then
1180 ac_srcdir_defaulted=yes
1181 # Try the directory containing this script, then the parent directory.
1182 ac_confdir=`$as_dirname -- "$as_myself" ||
1183 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1184 X"$as_myself" : 'X\(//\)[^/]' \| \
1185 X"$as_myself" : 'X\(//\)$' \| \
1186 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1187 $as_echo X"$as_myself" |
1188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1206 if test ! -r "$srcdir/$ac_unique_file"; then
1210 ac_srcdir_defaulted=no
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1213 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1214 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1224 # Remove unnecessary trailing slashes from srcdir.
1225 # Double slashes in file names in object file debugging info
1226 # mess up M-x gdb in Emacs.
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230 for ac_var in $ac_precious_vars; do
1231 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1232 eval ac_env_${ac_var}_value=\$${ac_var}
1233 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1234 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1238 # Report the --help message.
1240 if test "$ac_init_help" = "long"; then
1241 # Omit some internal or obsolete options to make the list less imposing.
1242 # This message is too long to be a string in the A/UX 3.1 sh.
1244 \`configure' configures tio 1.32 to adapt to many kinds of systems.
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1248 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1249 VAR=VALUE. See below for descriptions of some of the useful variables.
1251 Defaults for the options are specified in brackets.
1254 -h, --help display this help and exit
1255 --help=short display options specific to this package
1256 --help=recursive display the short help of all the included packages
1257 -V, --version display version information and exit
1258 -q, --quiet, --silent do not print \`checking ...' messages
1259 --cache-file=FILE cache test results in FILE [disabled]
1260 -C, --config-cache alias for \`--cache-file=config.cache'
1261 -n, --no-create do not create output files
1262 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1264 Installation directories:
1265 --prefix=PREFIX install architecture-independent files in PREFIX
1266 [$ac_default_prefix]
1267 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1270 By default, \`make install' will install all the files in
1271 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1272 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1273 for instance \`--prefix=\$HOME'.
1275 For better control, use the options below.
1277 Fine tuning of the installation directories:
1278 --bindir=DIR user executables [EPREFIX/bin]
1279 --sbindir=DIR system admin executables [EPREFIX/sbin]
1280 --libexecdir=DIR program executables [EPREFIX/libexec]
1281 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1282 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1283 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1284 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1285 --libdir=DIR object code libraries [EPREFIX/lib]
1286 --includedir=DIR C header files [PREFIX/include]
1287 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1288 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1289 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1290 --infodir=DIR info documentation [DATAROOTDIR/info]
1291 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1292 --mandir=DIR man documentation [DATAROOTDIR/man]
1293 --docdir=DIR documentation root [DATAROOTDIR/doc/tio]
1294 --htmldir=DIR html documentation [DOCDIR]
1295 --dvidir=DIR dvi documentation [DOCDIR]
1296 --pdfdir=DIR pdf documentation [DOCDIR]
1297 --psdir=DIR ps documentation [DOCDIR]
1303 --program-prefix=PREFIX prepend PREFIX to installed program names
1304 --program-suffix=SUFFIX append SUFFIX to installed program names
1305 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1309 if test -n "$ac_init_help"; then
1310 case $ac_init_help in
1311 short | recursive ) echo "Configuration of tio 1.32:";;
1316 --disable-option-checking ignore unrecognized --enable/--with options
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-silent-rules less verbose build output (undo: "make V=1")
1320 --disable-silent-rules verbose build output (undo: "make V=0")
1321 --enable-dependency-tracking
1322 do not reject slow dependency extractors
1323 --disable-dependency-tracking
1324 speeds up one-time build
1325 --disable-largefile omit support for large files
1328 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1329 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1330 --with-bash-completion-dir=PATH
1331 Install the bash auto-completion script in this
1332 directory. [default=yes]
1334 Some influential environment variables:
1335 CC C compiler command
1336 CFLAGS C compiler flags
1337 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1338 nonstandard directory <lib dir>
1339 LIBS libraries to pass to the linker, e.g. -l<library>
1340 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1341 you have headers in a nonstandard directory <include dir>
1343 Use these variables to override the choices made by `configure' or to help
1344 it to find libraries and programs with nonstandard names/locations.
1346 Report bugs to the package provider.
1347 tio home page: <https://tio.github.io>.
1352 if test "$ac_init_help" = "recursive"; then
1353 # If there are subdirs, report their specific --help.
1354 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1355 test -d "$ac_dir" ||
1356 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1363 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1364 # A ".." for each directory in $ac_dir_suffix.
1365 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1366 case $ac_top_builddir_sub in
1367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1371 ac_abs_top_builddir=$ac_pwd
1372 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1373 # for backward compatibility:
1374 ac_top_builddir=$ac_top_build_prefix
1377 .) # We are building in place.
1379 ac_top_srcdir=$ac_top_builddir_sub
1380 ac_abs_top_srcdir=$ac_pwd ;;
1381 [\\/]* | ?:[\\/]* ) # Absolute name.
1382 ac_srcdir=$srcdir$ac_dir_suffix;
1383 ac_top_srcdir=$srcdir
1384 ac_abs_top_srcdir=$srcdir ;;
1386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1387 ac_top_srcdir=$ac_top_build_prefix$srcdir
1388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1392 cd "$ac_dir" || { ac_status=$?; continue; }
1393 # Check for guested configure.
1394 if test -f "$ac_srcdir/configure.gnu"; then
1396 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397 elif test -f "$ac_srcdir/configure"; then
1399 $SHELL "$ac_srcdir/configure" --help=recursive
1401 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1403 cd "$ac_pwd" || { ac_status=$?; break; }
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1411 generated by GNU Autoconf 2.69
1413 Copyright (C) 2012 Free Software Foundation, Inc.
1414 This configure script is free software; the Free Software Foundation
1415 gives unlimited permission to copy, distribute and modify it.
1420 ## ------------------------ ##
1421 ## Autoconf initialization. ##
1422 ## ------------------------ ##
1424 # ac_fn_c_try_compile LINENO
1425 # --------------------------
1426 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1427 ac_fn_c_try_compile ()
1429 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1430 rm -f conftest.$ac_objext
1431 if { { ac_try="$ac_compile"
1433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1434 *) ac_try_echo=$ac_try;;
1436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1437 $as_echo "$ac_try_echo"; } >&5
1438 (eval "$ac_compile") 2>conftest.err
1440 if test -s conftest.err; then
1441 grep -v '^ *+' conftest.err >conftest.er1
1442 cat conftest.er1 >&5
1443 mv -f conftest.er1 conftest.err
1445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1446 test $ac_status = 0; } && {
1447 test -z "$ac_c_werror_flag" ||
1448 test ! -s conftest.err
1449 } && test -s conftest.$ac_objext; then :
1452 $as_echo "$as_me: failed program was:" >&5
1453 sed 's/^/| /' conftest.$ac_ext >&5
1457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1458 as_fn_set_status $ac_retval
1460 } # ac_fn_c_try_compile
1462 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1463 # ---------------------------------------------
1464 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1466 ac_fn_c_check_decl ()
1468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1469 as_decl_name=`echo $2|sed 's/ *(.*//'`
1470 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1472 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1473 if eval \${$3+:} false; then :
1474 $as_echo_n "(cached) " >&6
1476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1477 /* end confdefs.h. */
1482 #ifndef $as_decl_name
1484 (void) $as_decl_use;
1486 (void) $as_decl_name;
1494 if ac_fn_c_try_compile "$LINENO"; then :
1499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1503 $as_echo "$ac_res" >&6; }
1504 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1506 } # ac_fn_c_check_decl
1507 cat >config.log <<_ACEOF
1508 This file contains any messages produced by compilers while
1509 running configure, to aid debugging if configure makes a mistake.
1511 It was created by tio $as_me 1.32, which was
1512 generated by GNU Autoconf 2.69. Invocation command line was
1524 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1525 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1526 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1527 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1528 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1530 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1531 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1533 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1534 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1535 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1536 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1537 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1538 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1539 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir=.
1548 $as_echo "PATH: $as_dir"
1564 # Keep a trace of the command line.
1565 # Strip out --no-create and --no-recursion so they do not pile up.
1566 # Strip out --silent because we don't want to record it for future runs.
1567 # Also quote any args containing shell meta-characters.
1568 # Make two passes to allow for proper duplicate-argument suppression.
1572 ac_must_keep_next=false
1578 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1579 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1580 | -silent | --silent | --silen | --sile | --sil)
1583 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1586 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1588 as_fn_append ac_configure_args1 " '$ac_arg'"
1589 if test $ac_must_keep_next = true; then
1590 ac_must_keep_next=false # Got value, back to normal.
1593 *=* | --config-cache | -C | -disable-* | --disable-* \
1594 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1595 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1596 | -with-* | --with-* | -without-* | --without-* | --x)
1597 case "$ac_configure_args0 " in
1598 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1601 -* ) ac_must_keep_next=true ;;
1604 as_fn_append ac_configure_args " '$ac_arg'"
1609 { ac_configure_args0=; unset ac_configure_args0;}
1610 { ac_configure_args1=; unset ac_configure_args1;}
1612 # When interrupted or exit'd, cleanup temporary files, and complete
1613 # config.log. We remove comments because anyway the quotes in there
1614 # would cause problems or look ugly.
1615 # WARNING: Use '\'' to represent an apostrophe within the trap.
1616 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1617 trap 'exit_status=$?
1618 # Save into config.log some information that might help in debugging.
1622 $as_echo "## ---------------- ##
1623 ## Cache variables. ##
1624 ## ---------------- ##"
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1633 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1637 _ | IFS | as_nl) ;; #(
1638 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1639 *) { eval $ac_var=; unset $ac_var;} ;;
1644 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1645 *${as_nl}ac_space=\ *)
1647 "s/'\''/'\''\\\\'\'''\''/g;
1648 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1651 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1658 $as_echo "## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##"
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1666 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 $as_echo "$ac_var='\''$ac_val'\''"
1672 if test -n "$ac_subst_files"; then
1673 $as_echo "## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##"
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 $as_echo "$ac_var='\''$ac_val'\''"
1688 if test -s confdefs.h; then
1689 $as_echo "## ----------- ##
1696 test "$ac_signal" != 0 &&
1697 $as_echo "$as_me: caught signal $ac_signal"
1698 $as_echo "$as_me: exit $exit_status"
1700 rm -f core *.core core.conftest.* &&
1701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 for ac_signal in 1 2 13 15; do
1705 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest* confdefs.h
1712 $as_echo "/* confdefs.h */" > confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_STRING "$PACKAGE_STRING"
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_URL "$PACKAGE_URL"
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer an explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 # We do not want a PATH search for config.site.
1747 case $CONFIG_SITE in #((
1748 -*) ac_site_file1=./$CONFIG_SITE;;
1749 */*) ac_site_file1=$CONFIG_SITE;;
1750 *) ac_site_file1=./$CONFIG_SITE;;
1752 elif test "x$prefix" != xNONE; then
1753 ac_site_file1=$prefix/share/config.site
1754 ac_site_file2=$prefix/etc/config.site
1756 ac_site_file1=$ac_default_prefix/share/config.site
1757 ac_site_file2=$ac_default_prefix/etc/config.site
1759 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1761 test "x$ac_site_file" = xNONE && continue
1762 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1764 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1765 sed 's/^/| /' "$ac_site_file" >&5
1767 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1769 as_fn_error $? "failed to load site script $ac_site_file
1770 See \`config.log' for more details" "$LINENO" 5; }
1774 if test -r "$cache_file"; then
1775 # Some versions of bash will fail to source /dev/null (special files
1776 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1777 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1779 $as_echo "$as_me: loading cache $cache_file" >&6;}
1781 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1782 *) . "./$cache_file";;
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1787 $as_echo "$as_me: creating cache $cache_file" >&6;}
1791 # Check that the precious variables saved in the cache have kept the same
1793 ac_cache_corrupted=false
1794 for ac_var in $ac_precious_vars; do
1795 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1796 eval ac_new_set=\$ac_env_${ac_var}_set
1797 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1798 eval ac_new_val=\$ac_env_${ac_var}_value
1799 case $ac_old_set,$ac_new_set in
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1802 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1803 ac_cache_corrupted=: ;;
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1806 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1807 ac_cache_corrupted=: ;;
1810 if test "x$ac_old_val" != "x$ac_new_val"; then
1811 # differences in whitespace do not lead to failure.
1812 ac_old_val_w=`echo x $ac_old_val`
1813 ac_new_val_w=`echo x $ac_new_val`
1814 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1816 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1817 ac_cache_corrupted=:
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1820 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1821 eval $ac_var=\$ac_old_val
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1824 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1826 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1829 # Pass precious variables to config.status.
1830 if test "$ac_new_set" = set; then
1832 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1833 *) ac_arg=$ac_var=$ac_new_val ;;
1835 case " $ac_configure_args " in
1836 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1837 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1841 if $ac_cache_corrupted; then
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1845 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1846 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1848 ## -------------------- ##
1849 ## Main body of script. ##
1850 ## -------------------- ##
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1859 ac_config_headers="$ac_config_headers src/include/config.h"
1861 am__api_version='1.16'
1864 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1865 if test -f "$ac_dir/install-sh"; then
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 elif test -f "$ac_dir/install.sh"; then
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 elif test -f "$ac_dir/shtool"; then
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1879 if test -z "$ac_aux_dir"; then
1880 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1883 # These three variables are undocumented and unsupported,
1884 # and are intended to be withdrawn in a future Autoconf release.
1885 # They can cause serious problems if a builder's source tree is in a directory
1886 # whose full name contains unusual characters.
1887 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1888 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1889 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1892 # Find a good install program. We prefer a C program (faster),
1893 # so one script is as good as another. But avoid the broken or
1894 # incompatible versions:
1895 # SysV /etc/install, /usr/sbin/install
1896 # SunOS /usr/etc/install
1897 # IRIX /sbin/install
1899 # AmigaOS /C/install, which installs bootblocks on floppy discs
1900 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1901 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1902 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1903 # OS/2's system install, which has a completely different semantic
1904 # ./install, which can be erroneously created by make from ./install.sh.
1905 # Reject install programs that cannot install multiple files.
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1907 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1908 if test -z "$INSTALL"; then
1909 if ${ac_cv_path_install+:} false; then :
1910 $as_echo_n "(cached) " >&6
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 # Account for people who put trailing slashes in PATH elements.
1918 case $as_dir/ in #((
1919 ./ | .// | /[cC]/* | \
1920 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1921 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1924 # OSF1 and SCO ODT 3.0 have their own names for install.
1925 # Don't use installbsd from OSF since it installs stuff as root
1927 for ac_prog in ginstall scoinst install; do
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1930 if test $ac_prog = install &&
1931 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1932 # AIX install. It has an incompatible calling convention.
1934 elif test $ac_prog = install &&
1935 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1936 # program-specific install script used by HP pwplus--don't use.
1939 rm -rf conftest.one conftest.two conftest.dir
1940 echo one > conftest.one
1941 echo two > conftest.two
1943 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1944 test -s conftest.one && test -s conftest.two &&
1945 test -s conftest.dir/conftest.one &&
1946 test -s conftest.dir/conftest.two
1948 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1961 rm -rf conftest.one conftest.two conftest.dir
1964 if test "${ac_cv_path_install+set}" = set; then
1965 INSTALL=$ac_cv_path_install
1967 # As a last resort, use the slow shell script. Don't cache a
1968 # value for INSTALL within a source directory, because that will
1969 # break other packages using the cache if that directory is
1970 # removed, or if the value is a relative name.
1971 INSTALL=$ac_install_sh
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1975 $as_echo "$INSTALL" >&6; }
1977 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1978 # It thinks the first close brace ends the variable substitution.
1979 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1986 $as_echo_n "checking whether build environment is sane... " >&6; }
1987 # Reject unsafe characters in $srcdir or the absolute working directory
1988 # name. Accept space and tab only in the latter.
1992 *[\\\"\#\$\&\'\`$am_lf]*)
1993 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1996 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1997 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2000 # Do 'set' in a subshell so we don't clobber the current shell's
2001 # arguments. Must try -L first in case configure is actually a
2002 # symlink; some systems play weird games with the mod time of symlinks
2003 # (eg FreeBSD returns the mod time of the symlink's containing
2007 for am_try in 1 2; do
2008 echo "timestamp, slept: $am_has_slept" > conftest.file
2009 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2010 if test "$*" = "X"; then
2012 set X `ls -t "$srcdir/configure" conftest.file`
2014 if test "$*" != "X $srcdir/configure conftest.file" \
2015 && test "$*" != "X conftest.file $srcdir/configure"; then
2017 # If neither matched, then we have a broken ls. This can happen
2018 # if, for instance, CONFIG_SHELL is bash and it inherits a
2019 # broken ls alias from the environment. This has actually
2020 # happened. Such a system could not be considered "sane".
2021 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2022 alias in your environment" "$LINENO" 5
2024 if test "$2" = conftest.file || test $am_try -eq 2; then
2031 test "$2" = conftest.file
2037 as_fn_error $? "newly created file is older than distributed files!
2038 Check your system clock" "$LINENO" 5
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2041 $as_echo "yes" >&6; }
2042 # If we didn't sleep, we still need to ensure time stamps of config.status and
2043 # generated files are strictly newer.
2045 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2052 test "$program_prefix" != NONE &&
2053 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2054 # Use a double $ so make ignores it.
2055 test "$program_suffix" != NONE &&
2056 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2057 # Double any \ or $.
2058 # By default was `s,x,x', remove it if useless.
2059 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2060 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2062 # Expand $ac_aux_dir to an absolute path.
2063 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2065 if test x"${MISSING+set}" != xset; then
2068 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2070 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2073 # Use eval to expand $SHELL
2074 if eval "$MISSING --is-lightweight"; then
2075 am_missing_run="$MISSING "
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2079 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2082 if test x"${install_sh+set}" != xset; then
2085 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2087 install_sh="\${SHELL} $am_aux_dir/install-sh"
2091 # Installed binaries are usually stripped using 'strip' when the user
2092 # run "make install-strip". However 'strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the 'STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2100 $as_echo_n "checking for $ac_word... " >&6; }
2101 if ${ac_cv_prog_STRIP+:} false; then :
2102 $as_echo_n "(cached) " >&6
2104 if test -n "$STRIP"; then
2105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2124 STRIP=$ac_cv_prog_STRIP
2125 if test -n "$STRIP"; then
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2127 $as_echo "$STRIP" >&6; }
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2130 $as_echo "no" >&6; }
2135 if test -z "$ac_cv_prog_STRIP"; then
2137 # Extract the first word of "strip", so it can be a program name with args.
2138 set dummy strip; ac_word=$2
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2140 $as_echo_n "checking for $ac_word... " >&6; }
2141 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2142 $as_echo_n "(cached) " >&6
2144 if test -n "$ac_ct_STRIP"; then
2145 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 for ac_exec_ext in '' $ac_executable_extensions; do
2153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2154 ac_cv_prog_ac_ct_STRIP="strip"
2155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2165 if test -n "$ac_ct_STRIP"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2167 $as_echo "$ac_ct_STRIP" >&6; }
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2173 if test "x$ac_ct_STRIP" = x; then
2176 case $cross_compiling:$ac_tool_warned in
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2180 ac_tool_warned=yes ;;
2185 STRIP="$ac_cv_prog_STRIP"
2189 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2192 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2193 if test -z "$MKDIR_P"; then
2194 if ${ac_cv_path_mkdir+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2201 test -z "$as_dir" && as_dir=.
2202 for ac_prog in mkdir gmkdir; do
2203 for ac_exec_ext in '' $ac_executable_extensions; do
2204 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2205 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2206 'mkdir (GNU coreutils) '* | \
2207 'mkdir (coreutils) '* | \
2208 'mkdir (fileutils) '4.1*)
2209 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2219 test -d ./--version && rmdir ./--version
2220 if test "${ac_cv_path_mkdir+set}" = set; then
2221 MKDIR_P="$ac_cv_path_mkdir -p"
2223 # As a last resort, use the slow shell script. Don't cache a
2224 # value for MKDIR_P within a source directory, because that will
2225 # break other packages using the cache if that directory is
2226 # removed, or if the value is a relative name.
2227 MKDIR_P="$ac_install_sh -d"
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2231 $as_echo "$MKDIR_P" >&6; }
2233 for ac_prog in gawk mawk nawk awk
2235 # Extract the first word of "$ac_prog", so it can be a program name with args.
2236 set dummy $ac_prog; ac_word=$2
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2238 $as_echo_n "checking for $ac_word... " >&6; }
2239 if ${ac_cv_prog_AWK+:} false; then :
2240 $as_echo_n "(cached) " >&6
2242 if test -n "$AWK"; then
2243 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 ac_cv_prog_AWK="$ac_prog"
2253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 if test -n "$AWK"; then
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2265 $as_echo "$AWK" >&6; }
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2272 test -n "$AWK" && break
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2276 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2278 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2279 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2280 $as_echo_n "(cached) " >&6
2282 cat >conftest.make <<\_ACEOF
2285 @echo '@@@%%%=$(MAKE)=@@@%%%'
2287 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2288 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2290 eval ac_cv_prog_make_${ac_make}_set=yes;;
2292 eval ac_cv_prog_make_${ac_make}_set=no;;
2296 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2298 $as_echo "yes" >&6; }
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302 $as_echo "no" >&6; }
2303 SET_MAKE="MAKE=${MAKE-make}"
2306 rm -rf .tst 2>/dev/null
2307 mkdir .tst 2>/dev/null
2308 if test -d .tst; then
2313 rmdir .tst 2>/dev/null
2315 # Check whether --enable-silent-rules was given.
2316 if test "${enable_silent_rules+set}" = set; then :
2317 enableval=$enable_silent_rules;
2320 case $enable_silent_rules in # (((
2321 yes) AM_DEFAULT_VERBOSITY=0;;
2322 no) AM_DEFAULT_VERBOSITY=1;;
2323 *) AM_DEFAULT_VERBOSITY=1;;
2325 am_make=${MAKE-make}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2327 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2328 if ${am_cv_make_support_nested_variables+:} false; then :
2329 $as_echo_n "(cached) " >&6
2331 if $as_echo 'TRUE=$(BAR$(V))
2337 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2338 am_cv_make_support_nested_variables=yes
2340 am_cv_make_support_nested_variables=no
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2344 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2345 if test $am_cv_make_support_nested_variables = yes; then
2347 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2349 AM_V=$AM_DEFAULT_VERBOSITY
2350 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2354 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2355 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2356 # is not polluted with repeated "-I."
2357 am__isrc=' -I$(srcdir)'
2358 # test to see if srcdir already configured
2359 if test -f $srcdir/config.status; then
2360 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2364 # test whether we have cygpath
2365 if test -z "$CYGPATH_W"; then
2366 if (cygpath --version) >/dev/null 2>/dev/null; then
2367 CYGPATH_W='cygpath -w'
2374 # Define the identity of the package.
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE "$PACKAGE"
2384 cat >>confdefs.h <<_ACEOF
2385 #define VERSION "$VERSION"
2388 # Some tools Automake needs.
2390 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2393 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2396 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2399 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2402 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2404 # For better backward compatibility. To be removed once Automake 1.9.x
2405 # dies out for good. For more background, see:
2406 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2407 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2408 mkdir_p='$(MKDIR_P)'
2410 # We need awk for the "check" target (and possibly the TAP driver). The
2411 # system "awk" is bad on some platforms.
2412 # Always define AMTAR for backward compatibility. Yes, it's still used
2413 # in the wild :-( We should find a proper way to deprecate it ...
2417 # We'll loop over all known methods to create a tar archive until one works.
2418 _am_tools='gnutar pax cpio none'
2420 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2427 # POSIX will say in a future version that running "rm -f" with no argument
2428 # is OK; and we want to be able to make that assumption in our Makefile
2429 # recipes. So use an aggressive probe to check that the usage we want is
2430 # actually supported "in the wild" to an acceptable degree.
2431 # See automake bug#10828.
2432 # To make any issue more visible, cause the running configure to be aborted
2433 # by default if the 'rm' program in use doesn't match our expectations; the
2434 # user can still override this though.
2435 if rm -f && rm -fr && rm -rf; then : OK; else
2439 Your 'rm' program seems unable to run without file operands specified
2440 on the command line, even when the '-f' option is present. This is contrary
2441 to the behaviour of most rm programs out there, and not conforming with
2442 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2444 Please tell bug-automake@gnu.org about your system, including the value
2445 of your $PATH and any error possibly output before this message. This
2446 can help us improve future automake versions.
2449 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2450 echo 'Configuration will proceed anyway, since you have set the' >&2
2451 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2455 Aborting the configuration process, to ensure you take notice of the issue.
2457 You can download and install GNU coreutils to get an 'rm' implementation
2458 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2460 If you want to complete the configuration process using your problematic
2461 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2462 to "yes", and re-run configure.
2465 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2469 # Check whether --enable-silent-rules was given.
2470 if test "${enable_silent_rules+set}" = set; then :
2471 enableval=$enable_silent_rules;
2474 case $enable_silent_rules in # (((
2475 yes) AM_DEFAULT_VERBOSITY=0;;
2476 no) AM_DEFAULT_VERBOSITY=1;;
2477 *) AM_DEFAULT_VERBOSITY=0;;
2479 am_make=${MAKE-make}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2481 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2482 if ${am_cv_make_support_nested_variables+:} false; then :
2483 $as_echo_n "(cached) " >&6
2485 if $as_echo 'TRUE=$(BAR$(V))
2491 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2492 am_cv_make_support_nested_variables=yes
2494 am_cv_make_support_nested_variables=no
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2498 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2499 if test $am_cv_make_support_nested_variables = yes; then
2501 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2503 AM_V=$AM_DEFAULT_VERBOSITY
2504 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2509 ac_cpp='$CPP $CPPFLAGS'
2510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2513 if test -n "$ac_tool_prefix"; then
2514 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2515 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2517 $as_echo_n "checking for $ac_word... " >&6; }
2518 if ${ac_cv_prog_CC+:} false; then :
2519 $as_echo_n "(cached) " >&6
2521 if test -n "$CC"; then
2522 ac_cv_prog_CC="$CC" # Let the user override the test.
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2528 test -z "$as_dir" && as_dir=.
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 if test -n "$CC"; then
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2544 $as_echo "$CC" >&6; }
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2552 if test -z "$ac_cv_prog_CC"; then
2554 # Extract the first word of "gcc", so it can be a program name with args.
2555 set dummy gcc; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2559 $as_echo_n "(cached) " >&6
2561 if test -n "$ac_ct_CC"; then
2562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 test -z "$as_dir" && as_dir=.
2569 for ac_exec_ext in '' $ac_executable_extensions; do
2570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571 ac_cv_prog_ac_ct_CC="gcc"
2572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2582 if test -n "$ac_ct_CC"; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2584 $as_echo "$ac_ct_CC" >&6; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2590 if test "x$ac_ct_CC" = x; then
2593 case $cross_compiling:$ac_tool_warned in
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2597 ac_tool_warned=yes ;;
2605 if test -z "$CC"; then
2606 if test -n "$ac_tool_prefix"; then
2607 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2608 set dummy ${ac_tool_prefix}cc; ac_word=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_CC+:} false; then :
2612 $as_echo_n "(cached) " >&6
2614 if test -n "$CC"; then
2615 ac_cv_prog_CC="$CC" # Let the user override the test.
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621 test -z "$as_dir" && as_dir=.
2622 for ac_exec_ext in '' $ac_executable_extensions; do
2623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2624 ac_cv_prog_CC="${ac_tool_prefix}cc"
2625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 if test -n "$CC"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2637 $as_echo "$CC" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2646 if test -z "$CC"; then
2647 # Extract the first word of "cc", so it can be a program name with args.
2648 set dummy cc; ac_word=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if ${ac_cv_prog_CC+:} false; then :
2652 $as_echo_n "(cached) " >&6
2654 if test -n "$CC"; then
2655 ac_cv_prog_CC="$CC" # Let the user override the test.
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 test -z "$as_dir" && as_dir=.
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2665 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2666 ac_prog_rejected=yes
2670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test $ac_prog_rejected = yes; then
2678 # We found a bogon in the path, so make sure we never use it.
2679 set dummy $ac_cv_prog_CC
2681 if test $# != 0; then
2682 # We chose a different compiler from the bogus one.
2683 # However, it has the same basename, so the bogon will be chosen
2684 # first if we set CC to just the basename; use the full file name.
2686 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2692 if test -n "$CC"; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2694 $as_echo "$CC" >&6; }
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2702 if test -z "$CC"; then
2703 if test -n "$ac_tool_prefix"; then
2704 for ac_prog in cl.exe
2706 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2707 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709 $as_echo_n "checking for $ac_word... " >&6; }
2710 if ${ac_cv_prog_CC+:} false; then :
2711 $as_echo_n "(cached) " >&6
2713 if test -n "$CC"; then
2714 ac_cv_prog_CC="$CC" # Let the user override the test.
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720 test -z "$as_dir" && as_dir=.
2721 for ac_exec_ext in '' $ac_executable_extensions; do
2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 if test -n "$CC"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2743 test -n "$CC" && break
2746 if test -z "$CC"; then
2748 for ac_prog in cl.exe
2750 # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2753 $as_echo_n "checking for $ac_word... " >&6; }
2754 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 if test -n "$ac_ct_CC"; then
2758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_ac_ct_CC="$ac_prog"
2768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2778 if test -n "$ac_ct_CC"; then
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2780 $as_echo "$ac_ct_CC" >&6; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2787 test -n "$ac_ct_CC" && break
2790 if test "x$ac_ct_CC" = x; then
2793 case $cross_compiling:$ac_tool_warned in
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2797 ac_tool_warned=yes ;;
2806 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2808 as_fn_error $? "no acceptable C compiler found in \$PATH
2809 See \`config.log' for more details" "$LINENO" 5; }
2811 # Provide some information about the compiler.
2812 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2815 for ac_option in --version -v -V -qversion; do
2816 { { ac_try="$ac_compiler $ac_option >&5"
2818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819 *) ac_try_echo=$ac_try;;
2821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2822 $as_echo "$ac_try_echo"; } >&5
2823 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2825 if test -s conftest.err; then
2827 ... rest of stderr output deleted ...
2828 10q' conftest.err >conftest.er1
2829 cat conftest.er1 >&5
2831 rm -f conftest.er1 conftest.err
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; }
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h. */
2847 ac_clean_files_save=$ac_clean_files
2848 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2849 # Try to create an executable without -o first, disregard a.out.
2850 # It will help us diagnose broken compilers, and finding out an intuition
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2853 $as_echo_n "checking whether the C compiler works... " >&6; }
2854 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2856 # The possible output files:
2857 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2860 for ac_file in $ac_files
2863 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2864 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2869 if { { ac_try="$ac_link_default"
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 $as_echo "$ac_try_echo"; } >&5
2876 (eval "$ac_link_default") 2>&5
2878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2879 test $ac_status = 0; }; then :
2880 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2881 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2882 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2883 # so that the user can short-circuit this test for compilers unknown to
2885 for ac_file in $ac_files ''
2887 test -f "$ac_file" || continue
2889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2892 # We found the default executable, but exeext='' is most
2896 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2898 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2900 # We set ac_cv_exeext here because the later test for it is not
2901 # safe: cross compilers may not add the suffix if given an `-o'
2902 # argument, so we may need to know it at that point already.
2903 # Even if this section looks crufty: it has the advantage of
2910 test "$ac_cv_exeext" = no && ac_cv_exeext=
2915 if test -z "$ac_file"; then :
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2918 $as_echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2923 as_fn_error 77 "C compiler cannot create executables
2924 See \`config.log' for more details" "$LINENO" 5; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2927 $as_echo "yes" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2930 $as_echo_n "checking for C compiler default output file name... " >&6; }
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2932 $as_echo "$ac_file" >&6; }
2933 ac_exeext=$ac_cv_exeext
2935 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2936 ac_clean_files=$ac_clean_files_save
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2938 $as_echo_n "checking for suffix of executables... " >&6; }
2939 if { { ac_try="$ac_link"
2941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942 *) ac_try_echo=$ac_try;;
2944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2945 $as_echo "$ac_try_echo"; } >&5
2946 (eval "$ac_link") 2>&5
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; }; then :
2950 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2951 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2952 # work properly (i.e., refer to `conftest.exe'), while it won't with
2954 for ac_file in conftest.exe conftest conftest.*; do
2955 test -f "$ac_file" || continue
2957 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2958 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2967 See \`config.log' for more details" "$LINENO" 5; }
2969 rm -f conftest conftest$ac_cv_exeext
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2971 $as_echo "$ac_cv_exeext" >&6; }
2973 rm -f conftest.$ac_ext
2974 EXEEXT=$ac_cv_exeext
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2982 FILE *f = fopen ("conftest.out", "w");
2983 return ferror (f) || fclose (f) != 0;
2989 ac_clean_files="$ac_clean_files conftest.out"
2990 # Check that the compiler produces executables we can run. If not, either
2991 # the compiler is broken, or we cross compile.
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2993 $as_echo_n "checking whether we are cross compiling... " >&6; }
2994 if test "$cross_compiling" != yes; then
2995 { { ac_try="$ac_link"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3001 $as_echo "$ac_try_echo"; } >&5
3002 (eval "$ac_link") 2>&5
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; }
3006 if { ac_try='./conftest$ac_cv_exeext'
3007 { { case "(($ac_try" in
3008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009 *) ac_try_echo=$ac_try;;
3011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012 $as_echo "$ac_try_echo"; } >&5
3013 (eval "$ac_try") 2>&5
3015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016 test $ac_status = 0; }; }; then
3019 if test "$cross_compiling" = maybe; then
3022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3024 as_fn_error $? "cannot run C compiled programs.
3025 If you meant to cross compile, use \`--host'.
3026 See \`config.log' for more details" "$LINENO" 5; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3031 $as_echo "$cross_compiling" >&6; }
3033 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3034 ac_clean_files=$ac_clean_files_save
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3036 $as_echo_n "checking for suffix of object files... " >&6; }
3037 if ${ac_cv_objext+:} false; then :
3038 $as_echo_n "(cached) " >&6
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3051 rm -f conftest.o conftest.obj
3052 if { { ac_try="$ac_compile"
3054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055 *) ac_try_echo=$ac_try;;
3057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3058 $as_echo "$ac_try_echo"; } >&5
3059 (eval "$ac_compile") 2>&5
3061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3062 test $ac_status = 0; }; then :
3063 for ac_file in conftest.o conftest.obj conftest.*; do
3064 test -f "$ac_file" || continue;
3066 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3067 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3072 $as_echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error $? "cannot compute suffix of object files: cannot compile
3078 See \`config.log' for more details" "$LINENO" 5; }
3080 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3083 $as_echo "$ac_cv_objext" >&6; }
3084 OBJEXT=$ac_cv_objext
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3087 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3088 if ${ac_cv_c_compiler_gnu+:} false; then :
3089 $as_echo_n "(cached) " >&6
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3105 if ac_fn_c_try_compile "$LINENO"; then :
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3115 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3116 if test $ac_compiler_gnu = yes; then
3121 ac_test_CFLAGS=${CFLAGS+set}
3122 ac_save_CFLAGS=$CFLAGS
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3124 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3125 if ${ac_cv_prog_cc_g+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 ac_save_c_werror_flag=$ac_c_werror_flag
3129 ac_c_werror_flag=yes
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3143 if ac_fn_c_try_compile "$LINENO"; then :
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3158 if ac_fn_c_try_compile "$LINENO"; then :
3161 ac_c_werror_flag=$ac_save_c_werror_flag
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3174 if ac_fn_c_try_compile "$LINENO"; then :
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 ac_c_werror_flag=$ac_save_c_werror_flag
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3185 $as_echo "$ac_cv_prog_cc_g" >&6; }
3186 if test "$ac_test_CFLAGS" = set; then
3187 CFLAGS=$ac_save_CFLAGS
3188 elif test $ac_cv_prog_cc_g = yes; then
3189 if test "$GCC" = yes; then
3195 if test "$GCC" = yes; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3202 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3203 if ${ac_cv_prog_cc_c89+:} false; then :
3204 $as_echo_n "(cached) " >&6
3206 ac_cv_prog_cc_c89=no
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3214 struct buf { int x; };
3215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3216 static char *e (p, i)
3222 static char *f (char * (*g) (char **, int), char **p, ...)
3227 s = g (p, va_arg (v,int));
3232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3233 function prototypes and stuff, but not '\xHH' hex character constants.
3234 These don't provoke an error unfortunately, instead are silently treated
3235 as 'x'. The following induces an error, until -std is added to get
3236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3237 array size at least. It's necessary to write '\x00'==0 to get something
3238 that's true only with -std. */
3239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3242 inside strings and character constants. */
3244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3246 int test (int i, double x);
3247 struct s1 {int (*f) (int a);};
3248 struct s2 {int (*f) (double a);};
3249 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3255 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3261 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3263 CC="$ac_save_CC $ac_arg"
3264 if ac_fn_c_try_compile "$LINENO"; then :
3265 ac_cv_prog_cc_c89=$ac_arg
3267 rm -f core conftest.err conftest.$ac_objext
3268 test "x$ac_cv_prog_cc_c89" != "xno" && break
3270 rm -f conftest.$ac_ext
3275 case "x$ac_cv_prog_cc_c89" in
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3278 $as_echo "none needed" >&6; } ;;
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3281 $as_echo "unsupported" >&6; } ;;
3283 CC="$CC $ac_cv_prog_cc_c89"
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3285 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3287 if test "x$ac_cv_prog_cc_c89" != xno; then :
3292 ac_cpp='$CPP $CPPFLAGS'
3293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3303 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3304 if ${am_cv_prog_cc_c_o+:} false; then :
3305 $as_echo_n "(cached) " >&6
3307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h. */
3318 # Make sure it works both with $CC and with simple cc.
3319 # Following AC_PROG_CC_C_O, we do the test twice because some
3320 # compilers refuse to overwrite an existing .o file with -o,
3321 # though they will create one.
3322 am_cv_prog_cc_c_o=yes
3324 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3325 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } \
3329 && test -f conftest2.$ac_objext; then
3332 am_cv_prog_cc_c_o=no
3336 rm -f core conftest*
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3340 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3341 if test "$am_cv_prog_cc_c_o" != yes; then
3342 # Losing compiler, so override with the script.
3343 # FIXME: It is wrong to rewrite CC.
3344 # But if we don't then we get into trouble of one sort or another.
3345 # A longer-term fix would be to have automake use am__CC in this case,
3346 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3347 CC="$am_aux_dir/compile $CC"
3350 ac_cpp='$CPP $CPPFLAGS'
3351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3355 DEPDIR="${am__leading_dot}deps"
3357 ac_config_commands="$ac_config_commands depfiles"
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3360 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3361 cat > confinc.mk << 'END'
3363 @echo this is the am__doit target >confinc.out
3368 # BSD make does it like this.
3369 echo '.include "confinc.mk" # ignored' > confmf.BSD
3370 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3371 echo 'include confinc.mk # ignored' > confmf.GNU
3373 for s in GNU BSD; do
3374 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3375 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }
3379 case $?:`cat confinc.out 2>/dev/null` in #(
3380 '0:this is the am__doit target') :
3383 am__include='.include' am__quote='"' ;; #(
3385 am__include='include' am__quote='' ;;
3390 if test "$am__include" != "#"; then
3391 _am_result="yes ($s style)"
3395 rm -f confinc.* confmf.*
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3397 $as_echo "${_am_result}" >&6; }
3399 # Check whether --enable-dependency-tracking was given.
3400 if test "${enable_dependency_tracking+set}" = set; then :
3401 enableval=$enable_dependency_tracking;
3404 if test "x$enable_dependency_tracking" != xno; then
3405 am_depcomp="$ac_aux_dir/depcomp"
3409 if test "x$enable_dependency_tracking" != xno; then
3419 depcc="$CC" am_compiler_list=
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3422 $as_echo_n "checking dependency style of $depcc... " >&6; }
3423 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3424 $as_echo_n "(cached) " >&6
3426 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3427 # We make a subdir and do the tests there. Otherwise we can end up
3428 # making bogus files that we don't know about and never remove. For
3429 # instance it was reported that on HP-UX the gcc test will end up
3430 # making a dummy file named 'D' -- because '-MD' means "put the output
3434 # Copy depcomp to subdir because otherwise we won't find it if we're
3435 # using a relative directory.
3436 cp "$am_depcomp" conftest.dir
3438 # We will build objects and dependencies in a subdirectory because
3439 # it helps to detect inapplicable dependency modes. For instance
3440 # both Tru64's cc and ICC support -MD to output dependencies as a
3441 # side effect of compilation, but ICC will put the dependencies in
3442 # the current directory while Tru64 will put them in the object
3446 am_cv_CC_dependencies_compiler_type=none
3447 if test "$am_compiler_list" = ""; then
3448 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3451 case " $depcc " in #(
3452 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3455 for depmode in $am_compiler_list; do
3456 # Setup a source with many dependencies, because some compilers
3457 # like to wrap large dependency lists on column 80 (with \), and
3458 # we should not choose a depcomp mode which is confused by this.
3460 # We need to recreate these files for each test, as the compiler may
3461 # overwrite some of them when testing with obscure command lines.
3462 # This happens at least with the AIX C compiler.
3464 for i in 1 2 3 4 5 6; do
3465 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3466 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3467 # Solaris 10 /bin/sh.
3468 echo '/* dummy */' > sub/conftst$i.h
3470 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3472 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3473 # mode. It turns out that the SunPro C++ compiler does not properly
3474 # handle '-M -o', and we need to detect this. Also, some Intel
3475 # versions had trouble with output in subdirs.
3476 am__obj=sub/conftest.${OBJEXT-o}
3477 am__minus_obj="-o $am__obj"
3480 # This depmode causes a compiler race in universal mode.
3481 test "$am__universal" = false || continue
3484 # After this tag, mechanisms are not by side-effect, so they'll
3485 # only be used when explicitly requested.
3486 if test "x$enable_dependency_tracking" = xyes; then
3492 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3493 # This compiler won't grok '-c -o', but also, the minuso test has
3494 # not run yet. These depmodes are late enough in the game, and
3495 # so weak that their functioning should not be impacted.
3496 am__obj=conftest.${OBJEXT-o}
3501 if depmode=$depmode \
3502 source=sub/conftest.c object=$am__obj \
3503 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3504 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3505 >/dev/null 2>conftest.err &&
3506 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3507 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3508 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3509 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3510 # icc doesn't choke on unknown options, it will just issue warnings
3511 # or remarks (even with -Werror). So we grep stderr for any message
3512 # that says an option was ignored or not supported.
3513 # When given -MP, icc 7.0 and 7.1 complain thusly:
3514 # icc: Command line warning: ignoring option '-M'; no argument required
3515 # The diagnosis changed in icc 8.0:
3516 # icc: Command line remark: option '-MP' not supported
3517 if (grep 'ignoring option' conftest.err ||
3518 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3519 am_cv_CC_dependencies_compiler_type=$depmode
3528 am_cv_CC_dependencies_compiler_type=none
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3533 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3534 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3537 test "x$enable_dependency_tracking" != xno \
3538 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3540 am__fastdepCC_FALSE='#'
3542 am__fastdepCC_TRUE='#'
3543 am__fastdepCC_FALSE=
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3555 # Check whether --enable-largefile was given.
3556 if test "${enable_largefile+set}" = set; then :
3557 enableval=$enable_largefile;
3560 if test "$enable_largefile" != no; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3563 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3564 if ${ac_cv_sys_largefile_CC+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 ac_cv_sys_largefile_CC=no
3568 if test "$GCC" != yes; then
3571 # IRIX 6.2 and later do not support large files by default,
3572 # so use the C compiler's -n32 option if that helps.
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3575 #include <sys/types.h>
3576 /* Check that off_t can represent 2**63 - 1 correctly.
3577 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3578 since some C++ compilers masquerading as C compilers
3579 incorrectly reject 9223372036854775807. */
3580 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3581 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3582 && LARGE_OFF_T % 2147483647 == 1)
3592 if ac_fn_c_try_compile "$LINENO"; then :
3595 rm -f core conftest.err conftest.$ac_objext
3597 if ac_fn_c_try_compile "$LINENO"; then :
3598 ac_cv_sys_largefile_CC=' -n32'; break
3600 rm -f core conftest.err conftest.$ac_objext
3604 rm -f conftest.$ac_ext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3608 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3609 if test "$ac_cv_sys_largefile_CC" != no; then
3610 CC=$CC$ac_cv_sys_largefile_CC
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3614 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3615 if ${ac_cv_sys_file_offset_bits+:} false; then :
3616 $as_echo_n "(cached) " >&6
3619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620 /* end confdefs.h. */
3621 #include <sys/types.h>
3622 /* Check that off_t can represent 2**63 - 1 correctly.
3623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3624 since some C++ compilers masquerading as C compilers
3625 incorrectly reject 9223372036854775807. */
3626 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3628 && LARGE_OFF_T % 2147483647 == 1)
3638 if ac_fn_c_try_compile "$LINENO"; then :
3639 ac_cv_sys_file_offset_bits=no; break
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3643 /* end confdefs.h. */
3644 #define _FILE_OFFSET_BITS 64
3645 #include <sys/types.h>
3646 /* Check that off_t can represent 2**63 - 1 correctly.
3647 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3648 since some C++ compilers masquerading as C compilers
3649 incorrectly reject 9223372036854775807. */
3650 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3651 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3652 && LARGE_OFF_T % 2147483647 == 1)
3662 if ac_fn_c_try_compile "$LINENO"; then :
3663 ac_cv_sys_file_offset_bits=64; break
3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666 ac_cv_sys_file_offset_bits=unknown
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3671 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3672 case $ac_cv_sys_file_offset_bits in #(
3675 cat >>confdefs.h <<_ACEOF
3676 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3681 if test $ac_cv_sys_file_offset_bits = unknown; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3683 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3684 if ${ac_cv_sys_large_files+:} false; then :
3685 $as_echo_n "(cached) " >&6
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3690 #include <sys/types.h>
3691 /* Check that off_t can represent 2**63 - 1 correctly.
3692 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3693 since some C++ compilers masquerading as C compilers
3694 incorrectly reject 9223372036854775807. */
3695 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3696 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3697 && LARGE_OFF_T % 2147483647 == 1)
3707 if ac_fn_c_try_compile "$LINENO"; then :
3708 ac_cv_sys_large_files=no; break
3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3713 #define _LARGE_FILES 1
3714 #include <sys/types.h>
3715 /* Check that off_t can represent 2**63 - 1 correctly.
3716 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3717 since some C++ compilers masquerading as C compilers
3718 incorrectly reject 9223372036854775807. */
3719 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3720 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3721 && LARGE_OFF_T % 2147483647 == 1)
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732 ac_cv_sys_large_files=1; break
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 ac_cv_sys_large_files=unknown
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3740 $as_echo "$ac_cv_sys_large_files" >&6; }
3741 case $ac_cv_sys_large_files in #(
3744 cat >>confdefs.h <<_ACEOF
3745 #define _LARGE_FILES $ac_cv_sys_large_files
3756 # Handle bash completion
3758 # Check whether --with-bash-completion-dir was given.
3759 if test "${with_bash_completion_dir+set}" = set; then :
3760 withval=$with_bash_completion_dir;
3762 with_bash_completion_dir=yes
3766 if test "x$with_bash_completion_dir" = "xyes"; then
3767 BASH_COMPLETION_DIR="${datadir}/bash-completion/completions"
3769 BASH_COMPLETION_DIR="$with_bash_completion_dir"
3772 if test "x$with_bash_completion_dir" != "xno"; then
3773 ENABLE_BASH_COMPLETION_TRUE=
3774 ENABLE_BASH_COMPLETION_FALSE='#'
3776 ENABLE_BASH_COMPLETION_TRUE='#'
3777 ENABLE_BASH_COMPLETION_FALSE=
3781 # TIO_CHECK_BAUDRATE(N)
3784 # TIO_CHECK_BAUDRATES(N1, N2, ...)
3787 # Check for available terminal I/O speeds
3791 ac_fn_c_check_decl "$LINENO" "B0" "ac_cv_have_decl_B0" "#include <termios.h>
3793 if test "x$ac_cv_have_decl_B0" = xyes; then :
3799 if test $tio_have_decl = 1; then :
3801 BAUDRATES="$BAUDRATES 0"
3803 BAUDRATE_CASES="$BAUDRATE_CASES case 0: baudrate = B0; break;"
3809 ac_fn_c_check_decl "$LINENO" "B50" "ac_cv_have_decl_B50" "#include <termios.h>
3811 if test "x$ac_cv_have_decl_B50" = xyes; then :
3817 if test $tio_have_decl = 1; then :
3819 BAUDRATES="$BAUDRATES 50"
3821 BAUDRATE_CASES="$BAUDRATE_CASES case 50: baudrate = B50; break;"
3827 ac_fn_c_check_decl "$LINENO" "B75" "ac_cv_have_decl_B75" "#include <termios.h>
3829 if test "x$ac_cv_have_decl_B75" = xyes; then :
3835 if test $tio_have_decl = 1; then :
3837 BAUDRATES="$BAUDRATES 75"
3839 BAUDRATE_CASES="$BAUDRATE_CASES case 75: baudrate = B75; break;"
3845 ac_fn_c_check_decl "$LINENO" "B110" "ac_cv_have_decl_B110" "#include <termios.h>
3847 if test "x$ac_cv_have_decl_B110" = xyes; then :
3853 if test $tio_have_decl = 1; then :
3855 BAUDRATES="$BAUDRATES 110"
3857 BAUDRATE_CASES="$BAUDRATE_CASES case 110: baudrate = B110; break;"
3863 ac_fn_c_check_decl "$LINENO" "B134" "ac_cv_have_decl_B134" "#include <termios.h>
3865 if test "x$ac_cv_have_decl_B134" = xyes; then :
3871 if test $tio_have_decl = 1; then :
3873 BAUDRATES="$BAUDRATES 134"
3875 BAUDRATE_CASES="$BAUDRATE_CASES case 134: baudrate = B134; break;"
3881 ac_fn_c_check_decl "$LINENO" "B150" "ac_cv_have_decl_B150" "#include <termios.h>
3883 if test "x$ac_cv_have_decl_B150" = xyes; then :
3889 if test $tio_have_decl = 1; then :
3891 BAUDRATES="$BAUDRATES 150"
3893 BAUDRATE_CASES="$BAUDRATE_CASES case 150: baudrate = B150; break;"
3899 ac_fn_c_check_decl "$LINENO" "B200" "ac_cv_have_decl_B200" "#include <termios.h>
3901 if test "x$ac_cv_have_decl_B200" = xyes; then :
3907 if test $tio_have_decl = 1; then :
3909 BAUDRATES="$BAUDRATES 200"
3911 BAUDRATE_CASES="$BAUDRATE_CASES case 200: baudrate = B200; break;"
3917 ac_fn_c_check_decl "$LINENO" "B300" "ac_cv_have_decl_B300" "#include <termios.h>
3919 if test "x$ac_cv_have_decl_B300" = xyes; then :
3925 if test $tio_have_decl = 1; then :
3927 BAUDRATES="$BAUDRATES 300"
3929 BAUDRATE_CASES="$BAUDRATE_CASES case 300: baudrate = B300; break;"
3935 ac_fn_c_check_decl "$LINENO" "B600" "ac_cv_have_decl_B600" "#include <termios.h>
3937 if test "x$ac_cv_have_decl_B600" = xyes; then :
3943 if test $tio_have_decl = 1; then :
3945 BAUDRATES="$BAUDRATES 600"
3947 BAUDRATE_CASES="$BAUDRATE_CASES case 600: baudrate = B600; break;"
3953 ac_fn_c_check_decl "$LINENO" "B1200" "ac_cv_have_decl_B1200" "#include <termios.h>
3955 if test "x$ac_cv_have_decl_B1200" = xyes; then :
3961 if test $tio_have_decl = 1; then :
3963 BAUDRATES="$BAUDRATES 1200"
3965 BAUDRATE_CASES="$BAUDRATE_CASES case 1200: baudrate = B1200; break;"
3971 ac_fn_c_check_decl "$LINENO" "B1800" "ac_cv_have_decl_B1800" "#include <termios.h>
3973 if test "x$ac_cv_have_decl_B1800" = xyes; then :
3979 if test $tio_have_decl = 1; then :
3981 BAUDRATES="$BAUDRATES 1800"
3983 BAUDRATE_CASES="$BAUDRATE_CASES case 1800: baudrate = B1800; break;"
3989 ac_fn_c_check_decl "$LINENO" "B2400" "ac_cv_have_decl_B2400" "#include <termios.h>
3991 if test "x$ac_cv_have_decl_B2400" = xyes; then :
3997 if test $tio_have_decl = 1; then :
3999 BAUDRATES="$BAUDRATES 2400"
4001 BAUDRATE_CASES="$BAUDRATE_CASES case 2400: baudrate = B2400; break;"
4007 ac_fn_c_check_decl "$LINENO" "B4800" "ac_cv_have_decl_B4800" "#include <termios.h>
4009 if test "x$ac_cv_have_decl_B4800" = xyes; then :
4015 if test $tio_have_decl = 1; then :
4017 BAUDRATES="$BAUDRATES 4800"
4019 BAUDRATE_CASES="$BAUDRATE_CASES case 4800: baudrate = B4800; break;"
4025 ac_fn_c_check_decl "$LINENO" "B7200" "ac_cv_have_decl_B7200" "#include <termios.h>
4027 if test "x$ac_cv_have_decl_B7200" = xyes; then :
4033 if test $tio_have_decl = 1; then :
4035 BAUDRATES="$BAUDRATES 7200"
4037 BAUDRATE_CASES="$BAUDRATE_CASES case 7200: baudrate = B7200; break;"
4043 ac_fn_c_check_decl "$LINENO" "B9600" "ac_cv_have_decl_B9600" "#include <termios.h>
4045 if test "x$ac_cv_have_decl_B9600" = xyes; then :
4051 if test $tio_have_decl = 1; then :
4053 BAUDRATES="$BAUDRATES 9600"
4055 BAUDRATE_CASES="$BAUDRATE_CASES case 9600: baudrate = B9600; break;"
4061 ac_fn_c_check_decl "$LINENO" "B14400" "ac_cv_have_decl_B14400" "#include <termios.h>
4063 if test "x$ac_cv_have_decl_B14400" = xyes; then :
4069 if test $tio_have_decl = 1; then :
4071 BAUDRATES="$BAUDRATES 14400"
4073 BAUDRATE_CASES="$BAUDRATE_CASES case 14400: baudrate = B14400; break;"
4079 ac_fn_c_check_decl "$LINENO" "B19200" "ac_cv_have_decl_B19200" "#include <termios.h>
4081 if test "x$ac_cv_have_decl_B19200" = xyes; then :
4087 if test $tio_have_decl = 1; then :
4089 BAUDRATES="$BAUDRATES 19200"
4091 BAUDRATE_CASES="$BAUDRATE_CASES case 19200: baudrate = B19200; break;"
4097 ac_fn_c_check_decl "$LINENO" "B28800" "ac_cv_have_decl_B28800" "#include <termios.h>
4099 if test "x$ac_cv_have_decl_B28800" = xyes; then :
4105 if test $tio_have_decl = 1; then :
4107 BAUDRATES="$BAUDRATES 28800"
4109 BAUDRATE_CASES="$BAUDRATE_CASES case 28800: baudrate = B28800; break;"
4115 ac_fn_c_check_decl "$LINENO" "B38400" "ac_cv_have_decl_B38400" "#include <termios.h>
4117 if test "x$ac_cv_have_decl_B38400" = xyes; then :
4123 if test $tio_have_decl = 1; then :
4125 BAUDRATES="$BAUDRATES 38400"
4127 BAUDRATE_CASES="$BAUDRATE_CASES case 38400: baudrate = B38400; break;"
4133 ac_fn_c_check_decl "$LINENO" "B57600" "ac_cv_have_decl_B57600" "#include <termios.h>
4135 if test "x$ac_cv_have_decl_B57600" = xyes; then :
4141 if test $tio_have_decl = 1; then :
4143 BAUDRATES="$BAUDRATES 57600"
4145 BAUDRATE_CASES="$BAUDRATE_CASES case 57600: baudrate = B57600; break;"
4151 ac_fn_c_check_decl "$LINENO" "B76800" "ac_cv_have_decl_B76800" "#include <termios.h>
4153 if test "x$ac_cv_have_decl_B76800" = xyes; then :
4159 if test $tio_have_decl = 1; then :
4161 BAUDRATES="$BAUDRATES 76800"
4163 BAUDRATE_CASES="$BAUDRATE_CASES case 76800: baudrate = B76800; break;"
4169 ac_fn_c_check_decl "$LINENO" "B115200" "ac_cv_have_decl_B115200" "#include <termios.h>
4171 if test "x$ac_cv_have_decl_B115200" = xyes; then :
4177 if test $tio_have_decl = 1; then :
4179 BAUDRATES="$BAUDRATES 115200"
4181 BAUDRATE_CASES="$BAUDRATE_CASES case 115200: baudrate = B115200; break;"
4187 ac_fn_c_check_decl "$LINENO" "B230400" "ac_cv_have_decl_B230400" "#include <termios.h>
4189 if test "x$ac_cv_have_decl_B230400" = xyes; then :
4195 if test $tio_have_decl = 1; then :
4197 BAUDRATES="$BAUDRATES 230400"
4199 BAUDRATE_CASES="$BAUDRATE_CASES case 230400: baudrate = B230400; break;"
4205 ac_fn_c_check_decl "$LINENO" "B460800" "ac_cv_have_decl_B460800" "#include <termios.h>
4207 if test "x$ac_cv_have_decl_B460800" = xyes; then :
4213 if test $tio_have_decl = 1; then :
4215 BAUDRATES="$BAUDRATES 460800"
4217 BAUDRATE_CASES="$BAUDRATE_CASES case 460800: baudrate = B460800; break;"
4223 ac_fn_c_check_decl "$LINENO" "B500000" "ac_cv_have_decl_B500000" "#include <termios.h>
4225 if test "x$ac_cv_have_decl_B500000" = xyes; then :
4231 if test $tio_have_decl = 1; then :
4233 BAUDRATES="$BAUDRATES 500000"
4235 BAUDRATE_CASES="$BAUDRATE_CASES case 500000: baudrate = B500000; break;"
4241 ac_fn_c_check_decl "$LINENO" "B576000" "ac_cv_have_decl_B576000" "#include <termios.h>
4243 if test "x$ac_cv_have_decl_B576000" = xyes; then :
4249 if test $tio_have_decl = 1; then :
4251 BAUDRATES="$BAUDRATES 576000"
4253 BAUDRATE_CASES="$BAUDRATE_CASES case 576000: baudrate = B576000; break;"
4259 ac_fn_c_check_decl "$LINENO" "B921600" "ac_cv_have_decl_B921600" "#include <termios.h>
4261 if test "x$ac_cv_have_decl_B921600" = xyes; then :
4267 if test $tio_have_decl = 1; then :
4269 BAUDRATES="$BAUDRATES 921600"
4271 BAUDRATE_CASES="$BAUDRATE_CASES case 921600: baudrate = B921600; break;"
4277 ac_fn_c_check_decl "$LINENO" "B1000000" "ac_cv_have_decl_B1000000" "#include <termios.h>
4279 if test "x$ac_cv_have_decl_B1000000" = xyes; then :
4285 if test $tio_have_decl = 1; then :
4287 BAUDRATES="$BAUDRATES 1000000"
4289 BAUDRATE_CASES="$BAUDRATE_CASES case 1000000: baudrate = B1000000; break;"
4295 ac_fn_c_check_decl "$LINENO" "B1152000" "ac_cv_have_decl_B1152000" "#include <termios.h>
4297 if test "x$ac_cv_have_decl_B1152000" = xyes; then :
4303 if test $tio_have_decl = 1; then :
4305 BAUDRATES="$BAUDRATES 1152000"
4307 BAUDRATE_CASES="$BAUDRATE_CASES case 1152000: baudrate = B1152000; break;"
4313 ac_fn_c_check_decl "$LINENO" "B1500000" "ac_cv_have_decl_B1500000" "#include <termios.h>
4315 if test "x$ac_cv_have_decl_B1500000" = xyes; then :
4321 if test $tio_have_decl = 1; then :
4323 BAUDRATES="$BAUDRATES 1500000"
4325 BAUDRATE_CASES="$BAUDRATE_CASES case 1500000: baudrate = B1500000; break;"
4331 ac_fn_c_check_decl "$LINENO" "B2000000" "ac_cv_have_decl_B2000000" "#include <termios.h>
4333 if test "x$ac_cv_have_decl_B2000000" = xyes; then :
4339 if test $tio_have_decl = 1; then :
4341 BAUDRATES="$BAUDRATES 2000000"
4343 BAUDRATE_CASES="$BAUDRATE_CASES case 2000000: baudrate = B2000000; break;"
4349 ac_fn_c_check_decl "$LINENO" "B2500000" "ac_cv_have_decl_B2500000" "#include <termios.h>
4351 if test "x$ac_cv_have_decl_B2500000" = xyes; then :
4357 if test $tio_have_decl = 1; then :
4359 BAUDRATES="$BAUDRATES 2500000"
4361 BAUDRATE_CASES="$BAUDRATE_CASES case 2500000: baudrate = B2500000; break;"
4367 ac_fn_c_check_decl "$LINENO" "B3000000" "ac_cv_have_decl_B3000000" "#include <termios.h>
4369 if test "x$ac_cv_have_decl_B3000000" = xyes; then :
4375 if test $tio_have_decl = 1; then :
4377 BAUDRATES="$BAUDRATES 3000000"
4379 BAUDRATE_CASES="$BAUDRATE_CASES case 3000000: baudrate = B3000000; break;"
4385 ac_fn_c_check_decl "$LINENO" "B3500000" "ac_cv_have_decl_B3500000" "#include <termios.h>
4387 if test "x$ac_cv_have_decl_B3500000" = xyes; then :
4393 if test $tio_have_decl = 1; then :
4395 BAUDRATES="$BAUDRATES 3500000"
4397 BAUDRATE_CASES="$BAUDRATE_CASES case 3500000: baudrate = B3500000; break;"
4403 ac_fn_c_check_decl "$LINENO" "B4000000" "ac_cv_have_decl_B4000000" "#include <termios.h>
4405 if test "x$ac_cv_have_decl_B4000000" = xyes; then :
4411 if test $tio_have_decl = 1; then :
4413 BAUDRATES="$BAUDRATES 4000000"
4415 BAUDRATE_CASES="$BAUDRATE_CASES case 4000000: baudrate = B4000000; break;"
4424 cat >>confdefs.h <<_ACEOF
4425 #define AUTOCONF_BAUDRATE_CASES $BAUDRATE_CASES
4429 # Check for interface for setting arbitrary I/O speeds
4430 ac_fn_c_check_decl "$LINENO" "TCGETS2" "ac_cv_have_decl_TCGETS2" "#include <asm/termios.h>
4432 if test "x$ac_cv_have_decl_TCGETS2" = xyes; then :
4434 $as_echo "#define HAVE_TERMIOS2 1" >>confdefs.h
4438 if test "x$have_termios2" == "xyes"; then
4440 ADD_SETSPEED2_FALSE='#'
4442 ADD_SETSPEED2_TRUE='#'
4443 ADD_SETSPEED2_FALSE=
4447 ac_config_files="$ac_config_files Makefile"
4449 ac_config_files="$ac_config_files src/Makefile"
4451 ac_config_files="$ac_config_files src/bash-completion/tio"
4453 ac_config_files="$ac_config_files man/Makefile"
4455 cat >confcache <<\_ACEOF
4456 # This file is a shell script that caches the results of configure
4457 # tests run on this system so they can be shared between configure
4458 # scripts and configure runs, see configure's option --config-cache.
4459 # It is not useful on other systems. If it contains results you don't
4460 # want to keep, you may remove or edit it.
4462 # config.status only pays attention to the cache file if you give it
4463 # the --recheck option to rerun configure.
4465 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4466 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4471 # The following way of writing the cache mishandles newlines in values,
4472 # but we know of no workaround that is simple, portable, and efficient.
4473 # So, we kill variables containing newlines.
4474 # Ultrix sh set writes to stderr and can't be redirected directly,
4475 # and sets the high bit in the cache file unless we assign to the vars.
4477 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4478 eval ac_val=\$$ac_var
4482 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4483 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4486 _ | IFS | as_nl) ;; #(
4487 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4488 *) { eval $ac_var=; unset $ac_var;} ;;
4494 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4495 *${as_nl}ac_space=\ *)
4496 # `set' does not quote correctly, so add quotes: double-quote
4497 # substitution turns \\\\ into \\, and sed turns \\ into \.
4500 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4503 # `set' quotes correctly as required by POSIX, so do not add quotes.
4504 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4515 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4517 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4518 if test -w "$cache_file"; then
4519 if test "x$cache_file" != "x/dev/null"; then
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4521 $as_echo "$as_me: updating cache $cache_file" >&6;}
4522 if test ! -f "$cache_file" || test -h "$cache_file"; then
4523 cat confcache >"$cache_file"
4525 case $cache_file in #(
4527 mv -f confcache "$cache_file"$$ &&
4528 mv -f "$cache_file"$$ "$cache_file" ;; #(
4530 mv -f confcache "$cache_file" ;;
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4536 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4541 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4542 # Let make expand exec_prefix.
4543 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4545 DEFS=-DHAVE_CONFIG_H
4550 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4551 # 1. Remove the extension, and $U if already installed.
4552 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4553 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4554 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4555 # will be set to the directory where LIBOBJS objects are built.
4556 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4557 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4561 LTLIBOBJS=$ac_ltlibobjs
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4565 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4566 if test -n "$am_sleep_pid"; then
4567 # Hide warnings about reused PIDs.
4568 wait $am_sleep_pid 2>/dev/null
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4571 $as_echo "done" >&6; }
4572 if test -n "$EXEEXT"; then
4574 am__EXEEXT_FALSE='#'
4580 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4581 as_fn_error $? "conditional \"AMDEP\" was never defined.
4582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4584 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4585 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4588 if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then
4589 as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined.
4590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4592 if test -z "${ADD_SETSPEED2_TRUE}" && test -z "${ADD_SETSPEED2_FALSE}"; then
4593 as_fn_error $? "conditional \"ADD_SETSPEED2\" was never defined.
4594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4597 : "${CONFIG_STATUS=./config.status}"
4599 ac_clean_files_save=$ac_clean_files
4600 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4602 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4604 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4606 # Generated by $as_me.
4607 # Run this file to recreate the current configuration.
4608 # Compiler output produced by configure, useful for debugging
4609 # configure, is in config.log if it exists.
4615 SHELL=\${CONFIG_SHELL-$SHELL}
4618 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4619 ## -------------------- ##
4620 ## M4sh Initialization. ##
4621 ## -------------------- ##
4623 # Be more Bourne compatible
4624 DUALCASE=1; export DUALCASE # for MKS sh
4625 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4628 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4629 # is contrary to our usage. Disable this feature.
4630 alias -g '${1+"$@"}'='"$@"'
4631 setopt NO_GLOB_SUBST
4633 case `(set -o) 2>/dev/null` in #(
4645 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4646 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4647 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4648 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4649 # Prefer a ksh shell builtin over an external printf program on Solaris,
4650 # but without wasting forks for bash or zsh.
4651 if test -z "$BASH_VERSION$ZSH_VERSION" \
4652 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4653 as_echo='print -r --'
4654 as_echo_n='print -rn --'
4655 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4656 as_echo='printf %s\n'
4657 as_echo_n='printf %s'
4659 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4660 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4661 as_echo_n='/usr/ucb/echo -n'
4663 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4664 as_echo_n_body='eval
4668 expr "X$arg" : "X\\(.*\\)$as_nl";
4669 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4671 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4673 export as_echo_n_body
4674 as_echo_n='sh -c $as_echo_n_body as_echo'
4677 as_echo='sh -c $as_echo_body as_echo'
4680 # The user is always right.
4681 if test "${PATH_SEPARATOR+set}" != set; then
4683 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4684 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4691 # We need space, tab and new line, in precisely that order. Quoting is
4692 # there to prevent editors from complaining about space-tab.
4693 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4694 # splitting by setting IFS to empty value.)
4697 # Find who we are. Look in the path if we contain no directory separator.
4700 *[\\/]* ) as_myself=$0 ;;
4701 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir=.
4706 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4712 # We did not find ourselves, most probably we were run as `sh COMMAND'
4713 # in which case we are not to be found in the path.
4714 if test "x$as_myself" = x; then
4717 if test ! -f "$as_myself"; then
4718 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4722 # Unset variables that we do not need and which cause bugs (e.g. in
4723 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4724 # suppresses any "Segmentation fault" message there. '((' could
4725 # trigger a bug in pdksh 5.2.14.
4726 for as_var in BASH_ENV ENV MAIL MAILPATH
4727 do eval test x\${$as_var+set} = xset \
4728 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4744 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4745 # ----------------------------------------
4746 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4747 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4748 # script with STATUS, using 1 if that was 0.
4751 as_status=$1; test $as_status -eq 0 && as_status=1
4753 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4754 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4756 $as_echo "$as_me: error: $2" >&2
4757 as_fn_exit $as_status
4761 # as_fn_set_status STATUS
4762 # -----------------------
4763 # Set $? to STATUS, without forking.
4767 } # as_fn_set_status
4771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4781 # Portably unset VAR.
4784 { eval $1=; unset $1;}
4786 as_unset=as_fn_unset
4787 # as_fn_append VAR VALUE
4788 # ----------------------
4789 # Append the text in VALUE to the end of the definition contained in VAR. Take
4790 # advantage of any shell optimizations that allow amortized linear growth over
4791 # repeated appends, instead of the typical quadratic growth present in naive
4793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4794 eval 'as_fn_append ()
4805 # as_fn_arith ARG...
4806 # ------------------
4807 # Perform arithmetic evaluation on the ARGs, and store the result in the
4808 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4809 # must be portable across $(()) and expr.
4810 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4811 eval 'as_fn_arith ()
4818 as_val=`expr "$@" || test $? -eq 1`
4823 if expr a : '\(a\)' >/dev/null 2>&1 &&
4824 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4831 as_basename=basename
4836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4842 as_me=`$as_basename -- "$0" ||
4843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4844 X"$0" : 'X\(//\)$' \| \
4845 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4847 sed '/^.*\/\([^/][^/]*\)\/*$/{
4861 # Avoid depending upon Character Ranges.
4862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4865 as_cr_digits='0123456789'
4866 as_cr_alnum=$as_cr_Letters$as_cr_digits
4868 ECHO_C= ECHO_N= ECHO_T=
4869 case `echo -n x` in #(((((
4871 case `echo 'xy\c'` in
4872 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4874 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4881 rm -f conf$$ conf$$.exe conf$$.file
4882 if test -d conf$$.dir; then
4883 rm -f conf$$.dir/conf$$.file
4886 mkdir conf$$.dir 2>/dev/null
4888 if (echo >conf$$.file) 2>/dev/null; then
4889 if ln -s conf$$.file conf$$ 2>/dev/null; then
4891 # ... but there are two gotchas:
4892 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4893 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4894 # In both cases, we have to default to `cp -pR'.
4895 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4897 elif ln conf$$.file conf$$ 2>/dev/null; then
4905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4906 rmdir conf$$.dir 2>/dev/null
4911 # Create "$as_dir" as a directory, including parents if necessary.
4916 -*) as_dir=./$as_dir;;
4918 test -d "$as_dir" || eval $as_mkdir_p || {
4922 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4923 *) as_qdir=$as_dir;;
4925 as_dirs="'$as_qdir' $as_dirs"
4926 as_dir=`$as_dirname -- "$as_dir" ||
4927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4928 X"$as_dir" : 'X\(//\)[^/]' \| \
4929 X"$as_dir" : 'X\(//\)$' \| \
4930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4931 $as_echo X"$as_dir" |
4932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4949 test -d "$as_dir" && break
4951 test -z "$as_dirs" || eval "mkdir $as_dirs"
4952 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4956 if mkdir -p . 2>/dev/null; then
4957 as_mkdir_p='mkdir -p "$as_dir"'
4959 test -d ./-p && rmdir ./-p
4964 # as_fn_executable_p FILE
4965 # -----------------------
4966 # Test if FILE is an executable regular file.
4967 as_fn_executable_p ()
4969 test -f "$1" && test -x "$1"
4970 } # as_fn_executable_p
4972 as_executable_p=as_fn_executable_p
4974 # Sed expression to map a string onto a valid CPP name.
4975 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4977 # Sed expression to map a string onto a valid variable name.
4978 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4982 ## ----------------------------------- ##
4983 ## Main body of $CONFIG_STATUS script. ##
4984 ## ----------------------------------- ##
4986 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4989 # Save the log message, to keep $0 and so on meaningful, and to
4990 # report actual input values of CONFIG_FILES etc. instead of their
4991 # values after options handling.
4993 This file was extended by tio $as_me 1.32, which was
4994 generated by GNU Autoconf 2.69. Invocation command line was
4996 CONFIG_FILES = $CONFIG_FILES
4997 CONFIG_HEADERS = $CONFIG_HEADERS
4998 CONFIG_LINKS = $CONFIG_LINKS
4999 CONFIG_COMMANDS = $CONFIG_COMMANDS
5002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5007 case $ac_config_files in *"
5008 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5011 case $ac_config_headers in *"
5012 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5017 # Files that config.status was made for.
5018 config_files="$ac_config_files"
5019 config_headers="$ac_config_headers"
5020 config_commands="$ac_config_commands"
5024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5026 \`$as_me' instantiates files and other configuration actions
5027 from templates according to the current configuration. Unless the files
5028 and actions are specified as TAGs, all are instantiated by default.
5030 Usage: $0 [OPTION]... [TAG]...
5032 -h, --help print this help, then exit
5033 -V, --version print version number and configuration settings, then exit
5034 --config print configuration, then exit
5035 -q, --quiet, --silent
5036 do not print progress messages
5037 -d, --debug don't remove temporary files
5038 --recheck update $as_me by reconfiguring in the same conditions
5039 --file=FILE[:TEMPLATE]
5040 instantiate the configuration file FILE
5041 --header=FILE[:TEMPLATE]
5042 instantiate the configuration header FILE
5044 Configuration files:
5047 Configuration headers:
5050 Configuration commands:
5053 Report bugs to the package provider.
5054 tio home page: <https://tio.github.io>."
5057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5058 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5060 tio config.status 1.32
5061 configured by $0, generated by GNU Autoconf 2.69,
5062 with options \\"\$ac_cs_config\\"
5064 Copyright (C) 2012 Free Software Foundation, Inc.
5065 This config.status script is free software; the Free Software Foundation
5066 gives unlimited permission to copy, distribute and modify it."
5073 test -n "\$AWK" || AWK=awk
5076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5077 # The default lists apply if the user does not specify any file.
5083 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5084 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5088 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5100 # Handling of the options.
5101 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5103 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5104 $as_echo "$ac_cs_version"; exit ;;
5105 --config | --confi | --conf | --con | --co | --c )
5106 $as_echo "$ac_cs_config"; exit ;;
5107 --debug | --debu | --deb | --de | --d | -d )
5109 --file | --fil | --fi | --f )
5112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5113 '') as_fn_error $? "missing file argument" ;;
5115 as_fn_append CONFIG_FILES " '$ac_optarg'"
5116 ac_need_defaults=false;;
5117 --header | --heade | --head | --hea )
5120 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5122 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5123 ac_need_defaults=false;;
5125 # Conflict between --help and --header
5126 as_fn_error $? "ambiguous option: \`$1'
5127 Try \`$0 --help' for more information.";;
5128 --help | --hel | -h )
5129 $as_echo "$ac_cs_usage"; exit ;;
5130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5135 -*) as_fn_error $? "unrecognized option: \`$1'
5136 Try \`$0 --help' for more information." ;;
5138 *) as_fn_append ac_config_targets " $1"
5139 ac_need_defaults=false ;;
5145 ac_configure_extra_args=
5147 if $ac_cs_silent; then
5149 ac_configure_extra_args="$ac_configure_extra_args --silent"
5153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5154 if \$ac_cs_recheck; then
5155 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5157 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5158 CONFIG_SHELL='$SHELL'
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5168 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5169 ## Running $as_me. ##
5175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5179 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5185 # Handling of arguments.
5186 for ac_config_target in $ac_config_targets
5188 case $ac_config_target in
5189 "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
5190 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5191 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5192 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5193 "src/bash-completion/tio") CONFIG_FILES="$CONFIG_FILES src/bash-completion/tio" ;;
5194 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5196 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5201 # If the user did not use the arguments to specify the items to instantiate,
5202 # then the envvar interface is used. Set only those that are not.
5203 # We use the long form for the default assignment because of an extremely
5204 # bizarre bug on SunOS 4.1.3.
5205 if $ac_need_defaults; then
5206 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5207 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5208 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5211 # Have a temporary directory for convenience. Make it in the build tree
5212 # simply because there is no reason against having it here, and in addition,
5213 # creating and moving files from /tmp can sometimes cause problems.
5214 # Hook for its removal unless debugging.
5215 # Note that there is a small window in which the directory will not be cleaned:
5216 # after its creation but before its name has been assigned to `$tmp'.
5220 trap 'exit_status=$?
5222 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5224 trap 'as_fn_exit 1' 1 2 13 15
5226 # Create a (secure) tmp directory for tmp files.
5229 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5233 tmp=./conf$$-$RANDOM
5234 (umask 077 && mkdir "$tmp")
5235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5238 # Set up the scripts for CONFIG_FILES section.
5239 # No need to generate them if there are no CONFIG_FILES.
5240 # This happens for instance with `./config.status config.h'.
5241 if test -n "$CONFIG_FILES"; then
5244 ac_cr=`echo X | tr X '\015'`
5245 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5246 # But we know of no other shell where ac_cr would be empty at this
5247 # point, so we can use a bashism as a fallback.
5248 if test "x$ac_cr" = x; then
5249 eval ac_cr=\$\'\\r\'
5251 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5252 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5263 echo "cat >conf$$subs.awk <<_ACEOF" &&
5264 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5267 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5270 for ac_last_try in false false false false false :; do
5271 . ./conf$$subs.sh ||
5272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5274 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5275 if test $ac_delim_n = $ac_delim_num; then
5277 elif $ac_last_try; then
5278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5290 s/^/S["/; s/!.*/"]=/
5300 s/\(.\{148\}\)..*/\1/
5302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5314 s/\(.\{148\}\)..*/\1/
5316 s/["\\]/\\&/g; s/^/"/; s/$/"/
5320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5325 ' <conf$$subs.awk | sed '
5330 ' >>$CONFIG_STATUS || ac_write_fail=1
5331 rm -f conf$$subs.awk
5332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5335 for (key in S) S_is_set[key] = 1
5341 nfields = split(line, field, "@")
5343 len = length(field[1])
5344 for (i = 2; i < nfields; i++) {
5346 keylen = length(key)
5347 if (S_is_set[key]) {
5349 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5350 len += length(value) + length(field[++i])
5361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5362 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5363 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5367 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5370 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5371 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5372 # trailing colons and then remove the whole line if VPATH becomes empty
5373 # (actually we leave an empty line to preserve line numbers).
5374 if test "x$srcdir" = x.; then
5375 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5394 fi # test -n "$CONFIG_FILES"
5396 # Set up the scripts for CONFIG_HEADERS section.
5397 # No need to generate them if there are no CONFIG_HEADERS.
5398 # This happens for instance with `./config.status Makefile'.
5399 if test -n "$CONFIG_HEADERS"; then
5400 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5404 # Transform confdefs.h into an awk script `defines.awk', embedded as
5405 # here-document in config.status, that substitutes the proper values into
5406 # config.h.in to produce config.h.
5408 # Create a delimiter string that does not exist in confdefs.h, to ease
5409 # handling of long lines.
5411 for ac_last_try in false false :; do
5412 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5413 if test -z "$ac_tt"; then
5415 elif $ac_last_try; then
5416 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5418 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5422 # For the awk script, D is an array of macro values keyed by name,
5423 # likewise P contains macro parameters if any. Preserve backslash
5424 # newline sequences.
5426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5428 s/.\{148\}/&'"$ac_delim"'/g
5431 s/^[ ]*#[ ]*define[ ][ ]*/ /
5438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5440 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5445 D["\1"]=" \3\\\\\\n"\\/p
5447 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5452 s/.\{148\}/&'"$ac_delim"'/g
5457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5462 ' <confdefs.h | sed '
5463 s/'"$ac_delim"'/"\\\
5464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5467 for (key in D) D_is_set[key] = 1
5470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5472 split(line, arg, " ")
5473 if (arg[1] == "#") {
5477 defundef = substr(arg[1], 2)
5480 split(mac1, mac2, "(") #)
5482 prefix = substr(line, 1, index(line, defundef) - 1)
5483 if (D_is_set[macro]) {
5484 # Preserve the white space surrounding the "#".
5485 print prefix "define", macro P[macro] D[macro]
5488 # Replace #undef with comments. This is necessary, for example,
5489 # in the case of _POSIX_SOURCE, which is predefined and required
5490 # on some systems where configure will not decide to define it.
5491 if (defundef == "undef") {
5492 print "/*", prefix defundef, macro, "*/"
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5502 fi # test -n "$CONFIG_HEADERS"
5505 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5510 :[FHLC]) ac_mode=$ac_tag; continue;;
5512 case $ac_mode$ac_tag in
5514 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5515 :[FH]-) ac_tag=-:-;;
5516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5533 -) ac_f="$ac_tmp/stdin";;
5534 *) # Look for the file first in the build tree, then in the source tree
5535 # (if the path is not absolute). The absolute path cannot be DOS-style,
5536 # because $ac_f cannot contain `:'.
5540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5542 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5545 as_fn_append ac_file_inputs " '$ac_f'"
5548 # Let's still pretend it is `configure' which instantiates (i.e., don't
5549 # use $as_me), people would be surprised to read:
5550 # /* config.h. Generated by config.status. */
5551 configure_input='Generated from '`
5552 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5554 if test x"$ac_file" != x-; then
5555 configure_input="$ac_file. $configure_input"
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5557 $as_echo "$as_me: creating $ac_file" >&6;}
5559 # Neutralize special characters interpreted by sed in replacement strings.
5560 case $configure_input in #(
5561 *\&* | *\|* | *\\* )
5562 ac_sed_conf_input=`$as_echo "$configure_input" |
5563 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5564 *) ac_sed_conf_input=$configure_input;;
5568 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5569 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5574 ac_dir=`$as_dirname -- "$ac_file" ||
5575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5576 X"$ac_file" : 'X\(//\)[^/]' \| \
5577 X"$ac_file" : 'X\(//\)$' \| \
5578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5579 $as_echo X"$ac_file" |
5580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5597 as_dir="$ac_dir"; as_fn_mkdir_p
5601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5604 # A ".." for each directory in $ac_dir_suffix.
5605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5606 case $ac_top_builddir_sub in
5607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5611 ac_abs_top_builddir=$ac_pwd
5612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5613 # for backward compatibility:
5614 ac_top_builddir=$ac_top_build_prefix
5617 .) # We are building in place.
5619 ac_top_srcdir=$ac_top_builddir_sub
5620 ac_abs_top_srcdir=$ac_pwd ;;
5621 [\\/]* | ?:[\\/]* ) # Absolute name.
5622 ac_srcdir=$srcdir$ac_dir_suffix;
5623 ac_top_srcdir=$srcdir
5624 ac_abs_top_srcdir=$srcdir ;;
5626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5627 ac_top_srcdir=$ac_top_build_prefix$srcdir
5628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5645 [\\/$]* | ?:[\\/]* ) ;;
5646 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5651 # If the template does not know about datarootdir, expand it.
5652 # FIXME: This hack should be removed a few years after 2.60.
5653 ac_datarootdir_hack=; ac_datarootdir_seen=
5664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5665 *datarootdir*) ac_datarootdir_seen=yes;;
5666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5671 ac_datarootdir_hack='
5672 s&@datadir@&$datadir&g
5673 s&@docdir@&$docdir&g
5674 s&@infodir@&$infodir&g
5675 s&@localedir@&$localedir&g
5676 s&@mandir@&$mandir&g
5677 s&\\\${datarootdir}&$datarootdir&g' ;;
5681 # Neutralize VPATH when `$srcdir' = `.'.
5682 # Shell code in configure.ac might set extrasub.
5683 # FIXME: do we really want to maintain this feature?
5684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5685 ac_sed_extra="$ac_vpsub
5688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5691 s|@configure_input@|$ac_sed_conf_input|;t t
5692 s&@top_builddir@&$ac_top_builddir_sub&;t t
5693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5694 s&@srcdir@&$ac_srcdir&;t t
5695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5696 s&@top_srcdir@&$ac_top_srcdir&;t t
5697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5698 s&@builddir@&$ac_builddir&;t t
5699 s&@abs_builddir@&$ac_abs_builddir&;t t
5700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5701 s&@INSTALL@&$ac_INSTALL&;t t
5702 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5703 $ac_datarootdir_hack
5705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5706 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5708 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5709 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5710 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5711 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5713 which seems to be undefined. Please make sure it is defined" >&5
5714 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5715 which seems to be undefined. Please make sure it is defined" >&2;}
5717 rm -f "$ac_tmp/stdin"
5719 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5720 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5722 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5728 if test x"$ac_file" != x-; then
5730 $as_echo "/* $configure_input */" \
5731 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5732 } >"$ac_tmp/config.h" \
5733 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5734 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5736 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5739 mv "$ac_tmp/config.h" "$ac_file" \
5740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5743 $as_echo "/* $configure_input */" \
5744 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5745 || as_fn_error $? "could not create -" "$LINENO" 5
5747 # Compute "$ac_file"'s index in $config_headers.
5750 for _am_header in $config_headers :; do
5752 $_am_arg | $_am_arg:* )
5755 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5758 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5759 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5760 X"$_am_arg" : 'X\(//\)[^/]' \| \
5761 X"$_am_arg" : 'X\(//\)$' \| \
5762 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5763 $as_echo X"$_am_arg" |
5764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5780 s/.*/./; q'`/stamp-h$_am_stamp_count
5783 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5784 $as_echo "$as_me: executing $ac_file commands" >&6;}
5789 case $ac_file$ac_mode in
5790 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5791 # Older Autoconf quotes --file arguments for eval, but not when files
5792 # are listed without --file. Let's play safe and only enable the eval
5793 # if we detect the quoting.
5794 # TODO: see whether this extra hack can be removed once we start
5795 # requiring Autoconf 2.70 or later.
5796 case $CONFIG_FILES in #(
5798 eval set x "$CONFIG_FILES" ;; #(
5800 set x $CONFIG_FILES ;; #(
5805 # Used to flag and report bootstrapping failures.
5809 # Strip MF so we end up with the name of the file.
5810 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
5811 # Check whether this is an Automake generated Makefile which includes
5812 # dependency-tracking related rules and includes.
5813 # Grep'ing the whole file directly is not great: AIX grep has a line
5814 # limit of 2048, but all sed's we know have understand at least 4000.
5815 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
5817 am_dirpart=`$as_dirname -- "$am_mf" ||
5818 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5819 X"$am_mf" : 'X\(//\)[^/]' \| \
5820 X"$am_mf" : 'X\(//\)$' \| \
5821 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5822 $as_echo X"$am_mf" |
5823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5840 am_filepart=`$as_basename -- "$am_mf" ||
5841 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
5842 X"$am_mf" : 'X\(//\)$' \| \
5843 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
5844 $as_echo X/"$am_mf" |
5845 sed '/^.*\/\([^/][^/]*\)\/*$/{
5858 { echo "$as_me:$LINENO: cd "$am_dirpart" \
5859 && sed -e '/# am--include-marker/d' "$am_filepart" \
5860 | $MAKE -f - am--depfiles" >&5
5862 && sed -e '/# am--include-marker/d' "$am_filepart" \
5863 | $MAKE -f - am--depfiles) >&5 2>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } || am_rc=$?
5868 if test $am_rc -ne 0; then
5869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5871 as_fn_error $? "Something went wrong bootstrapping makefile fragments
5872 for automatic dependency tracking. Try re-running configure with the
5873 '--disable-dependency-tracking' option to at least be able to build
5874 the package (albeit without support for automatic dependency tracking).
5875 See \`config.log' for more details" "$LINENO" 5; }
5877 { am_dirpart=; unset am_dirpart;}
5878 { am_filepart=; unset am_filepart;}
5879 { am_mf=; unset am_mf;}
5880 { am_rc=; unset am_rc;}
5881 rm -f conftest-deps.mk
5891 ac_clean_files=$ac_clean_files_save
5893 test $ac_write_fail = 0 ||
5894 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5897 # configure is writing to config.log, and then calls config.status.
5898 # config.status does its own redirection, appending to config.log.
5899 # Unfortunately, on DOS this fails, as config.log is still kept open
5900 # by configure, so config.status won't be able to write to it; its
5901 # output is simply discarded. So we exec the FD to /dev/null,
5902 # effectively closing config.log, so it can be properly (re)opened and
5903 # appended to by config.status. When coming back to configure, we
5904 # need to make the FD available again.
5905 if test "$no_create" != yes; then
5907 ac_config_status_args=
5908 test "$silent" = yes &&
5909 ac_config_status_args="$ac_config_status_args --quiet"
5911 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5913 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5914 # would make configure fail if this is the last instruction.
5915 $ac_cs_success || as_fn_exit 1
5917 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5919 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}