]> git.sur5r.net Git - tio/blob - configure
Upload 2.7-1 to unstable
[tio] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for tio 1.32.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
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 ## -------------------- ##
14
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 :
18   emulate sh
19   NULLCMD=:
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+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
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
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
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'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
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.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
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
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
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 || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
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
156 as_fn_exit 255
157   fi
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 :
162   emulate sh
163   NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
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; }
182
183 exitcode=0
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 :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || 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 :
200   as_have_required=yes
201 else
202   as_have_required=no
203 fi
204   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206 else
207   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210 do
211   IFS=$as_save_IFS
212   test -z "$as_dir" && as_dir=.
213   as_found=:
214   case $as_dir in #(
215          /*)
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 :
223   break 2
224 fi
225 fi
226            done;;
227        esac
228   as_found=false
229 done
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
233 fi; }
234 IFS=$as_save_IFS
235
236
237       if test "x$CONFIG_SHELL" != x; then :
238   export CONFIG_SHELL
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.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247   *v*x* | *x*v* ) as_opts=-vx ;;
248   *v* ) as_opts=-v ;;
249   *x* ) as_opts=-x ;;
250   * ) as_opts= ;;
251 esac
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
256 exit 255
257 fi
258
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."
265   else
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."
270   fi
271   exit 1
272 fi
273 fi
274 fi
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
280
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
288 {
289   { eval $1=; unset $1;}
290 }
291 as_unset=as_fn_unset
292
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
297 {
298   return $1
299 } # as_fn_set_status
300
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
305 {
306   set +e
307   as_fn_set_status $1
308   exit $1
309 } # as_fn_exit
310
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
315 {
316
317   case $as_dir in #(
318   -*) as_dir=./$as_dir;;
319   esac
320   test -d "$as_dir" || eval $as_mkdir_p || {
321     as_dirs=
322     while :; do
323       case $as_dir in #(
324       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325       *) as_qdir=$as_dir;;
326       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335             s//\1/
336             q
337           }
338           /^X\(\/\/\)[^/].*/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)$/{
343             s//\1/
344             q
345           }
346           /^X\(\/\).*/{
347             s//\1/
348             q
349           }
350           s/.*/./; q'`
351       test -d "$as_dir" && break
352     done
353     test -z "$as_dirs" || eval "mkdir $as_dirs"
354   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
355
356
357 } # as_fn_mkdir_p
358
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
363 {
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
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373   eval 'as_fn_append ()
374   {
375     eval $1+=\$2
376   }'
377 else
378   as_fn_append ()
379   {
380     eval $1=\$$1\$2
381   }
382 fi # as_fn_append
383
384 # as_fn_arith ARG...
385 # ------------------
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 :
390   eval 'as_fn_arith ()
391   {
392     as_val=$(( $* ))
393   }'
394 else
395   as_fn_arith ()
396   {
397     as_val=`expr "$@" || test $? -eq 1`
398   }
399 fi # as_fn_arith
400
401
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.
407 as_fn_error ()
408 {
409   as_status=$1; test $as_status -eq 0 && as_status=1
410   if test "$4"; then
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
413   fi
414   $as_echo "$as_me: error: $2" >&2
415   as_fn_exit $as_status
416 } # as_fn_error
417
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419    test "X`expr 00001 : '.*\(...\)'`" = X001; then
420   as_expr=expr
421 else
422   as_expr=false
423 fi
424
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426   as_basename=basename
427 else
428   as_basename=false
429 fi
430
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432   as_dirname=dirname
433 else
434   as_dirname=false
435 fi
436
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439          X"$0" : 'X\(//\)$' \| \
440          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442     sed '/^.*\/\([^/][^/]*\)\/*$/{
443             s//\1/
444             q
445           }
446           /^X\/\(\/\/\)$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\).*/{
451             s//\1/
452             q
453           }
454           s/.*/./; q'`
455
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
462
463
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.  :-)
469   sed -n '
470     p
471     /[$]LINENO/=
472   ' <$as_myself |
473     sed '
474       s/[$]LINENO.*/&-/
475       t lineno
476       b
477       :lineno
478       N
479       :loop
480       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481       t loop
482       s/-\n.*//
483     ' >$as_me.lineno &&
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; }
486
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).
494   . "./$as_me.lineno"
495   # Exit status is that of the last command.
496   exit
497 }
498
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502   case `echo 'xy\c'` in
503   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
504   xy)  ECHO_C='\c';;
505   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506        ECHO_T=' ';;
507   esac;;
508 *)
509   ECHO_N='-n';;
510 esac
511
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514   rm -f conf$$.dir/conf$$.file
515 else
516   rm -f conf$$.dir
517   mkdir conf$$.dir 2>/dev/null
518 fi
519 if (echo >conf$$.file) 2>/dev/null; then
520   if ln -s conf$$.file conf$$ 2>/dev/null; then
521     as_ln_s='ln -s'
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 ||
527       as_ln_s='cp -pR'
528   elif ln conf$$.file conf$$ 2>/dev/null; then
529     as_ln_s=ln
530   else
531     as_ln_s='cp -pR'
532   fi
533 else
534   as_ln_s='cp -pR'
535 fi
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
538
539 if mkdir -p . 2>/dev/null; then
540   as_mkdir_p='mkdir -p "$as_dir"'
541 else
542   test -d ./-p && rmdir ./-p
543   as_mkdir_p=false
544 fi
545
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
548
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'"
551
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'"
554
555
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
558
559 # Name of the host.
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`
563
564 #
565 # Initializations.
566 #
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
575
576 # Identity of this package.
577 PACKAGE_NAME='tio'
578 PACKAGE_TARNAME='tio'
579 PACKAGE_VERSION='1.32'
580 PACKAGE_STRING='tio 1.32'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL='https://tio.github.io'
583
584 ac_subst_vars='am__EXEEXT_FALSE
585 am__EXEEXT_TRUE
586 LTLIBOBJS
587 LIBOBJS
588 ADD_SETSPEED2_FALSE
589 ADD_SETSPEED2_TRUE
590 BAUDRATE_CASES
591 BAUDRATES
592 ENABLE_BASH_COMPLETION_FALSE
593 ENABLE_BASH_COMPLETION_TRUE
594 BASH_COMPLETION_DIR
595 am__fastdepCC_FALSE
596 am__fastdepCC_TRUE
597 CCDEPMODE
598 am__nodep
599 AMDEPBACKSLASH
600 AMDEP_FALSE
601 AMDEP_TRUE
602 am__include
603 DEPDIR
604 OBJEXT
605 EXEEXT
606 ac_ct_CC
607 CPPFLAGS
608 LDFLAGS
609 CFLAGS
610 CC
611 AM_BACKSLASH
612 AM_DEFAULT_VERBOSITY
613 AM_DEFAULT_V
614 AM_V
615 am__untar
616 am__tar
617 AMTAR
618 am__leading_dot
619 SET_MAKE
620 AWK
621 mkdir_p
622 MKDIR_P
623 INSTALL_STRIP_PROGRAM
624 STRIP
625 install_sh
626 MAKEINFO
627 AUTOHEADER
628 AUTOMAKE
629 AUTOCONF
630 ACLOCAL
631 VERSION
632 PACKAGE
633 CYGPATH_W
634 am__isrc
635 INSTALL_DATA
636 INSTALL_SCRIPT
637 INSTALL_PROGRAM
638 target_alias
639 host_alias
640 build_alias
641 LIBS
642 ECHO_T
643 ECHO_N
644 ECHO_C
645 DEFS
646 mandir
647 localedir
648 libdir
649 psdir
650 pdfdir
651 dvidir
652 htmldir
653 infodir
654 docdir
655 oldincludedir
656 includedir
657 runstatedir
658 localstatedir
659 sharedstatedir
660 sysconfdir
661 datadir
662 datarootdir
663 libexecdir
664 sbindir
665 bindir
666 program_transform_name
667 prefix
668 exec_prefix
669 PACKAGE_URL
670 PACKAGE_BUGREPORT
671 PACKAGE_STRING
672 PACKAGE_VERSION
673 PACKAGE_TARNAME
674 PACKAGE_NAME
675 PATH_SEPARATOR
676 SHELL
677 am__quote'
678 ac_subst_files=''
679 ac_user_opts='
680 enable_option_checking
681 enable_silent_rules
682 enable_dependency_tracking
683 enable_largefile
684 with_bash_completion_dir
685 '
686       ac_precious_vars='build_alias
687 host_alias
688 target_alias
689 CC
690 CFLAGS
691 LDFLAGS
692 LIBS
693 CPPFLAGS'
694
695
696 # Initialize some variables set by options.
697 ac_init_help=
698 ac_init_version=false
699 ac_unrecognized_opts=
700 ac_unrecognized_sep=
701 # The variables have the same names as the options, with
702 # dashes changed to underlines.
703 cache_file=/dev/null
704 exec_prefix=NONE
705 no_create=
706 no_recursion=
707 prefix=NONE
708 program_prefix=NONE
709 program_suffix=NONE
710 program_transform_name=s,x,x,
711 silent=
712 site=
713 srcdir=
714 verbose=
715 x_includes=NONE
716 x_libraries=NONE
717
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'
737 htmldir='${docdir}'
738 dvidir='${docdir}'
739 pdfdir='${docdir}'
740 psdir='${docdir}'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
744
745 ac_prev=
746 ac_dashdash=
747 for ac_option
748 do
749   # If the previous option needs an argument, assign it.
750   if test -n "$ac_prev"; then
751     eval $ac_prev=\$ac_option
752     ac_prev=
753     continue
754   fi
755
756   case $ac_option in
757   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758   *=)   ac_optarg= ;;
759   *)    ac_optarg=yes ;;
760   esac
761
762   # Accept the important Cygnus configure options, so we can diagnose typos.
763
764   case $ac_dashdash$ac_option in
765   --)
766     ac_dashdash=yes ;;
767
768   -bindir | --bindir | --bindi | --bind | --bin | --bi)
769     ac_prev=bindir ;;
770   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
771     bindir=$ac_optarg ;;
772
773   -build | --build | --buil | --bui | --bu)
774     ac_prev=build_alias ;;
775   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
776     build_alias=$ac_optarg ;;
777
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 ;;
784
785   --config-cache | -C)
786     cache_file=config.cache ;;
787
788   -datadir | --datadir | --datadi | --datad)
789     ac_prev=datadir ;;
790   -datadir=* | --datadir=* | --datadi=* | --datad=*)
791     datadir=$ac_optarg ;;
792
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 ;;
799
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
808       *"
809 "enable_$ac_useropt"
810 "*) ;;
811       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
812          ac_unrecognized_sep=', ';;
813     esac
814     eval enable_$ac_useropt=no ;;
815
816   -docdir | --docdir | --docdi | --doc | --do)
817     ac_prev=docdir ;;
818   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
819     docdir=$ac_optarg ;;
820
821   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
822     ac_prev=dvidir ;;
823   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
824     dvidir=$ac_optarg ;;
825
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
834       *"
835 "enable_$ac_useropt"
836 "*) ;;
837       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
838          ac_unrecognized_sep=', ';;
839     esac
840     eval enable_$ac_useropt=\$ac_optarg ;;
841
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 ;;
850
851   -gas | --gas | --ga | --g)
852     # Obsolete; use --with-gas.
853     with_gas=yes ;;
854
855   -help | --help | --hel | --he | -h)
856     ac_init_help=long ;;
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 ;;
861
862   -host | --host | --hos | --ho)
863     ac_prev=host_alias ;;
864   -host=* | --host=* | --hos=* | --ho=*)
865     host_alias=$ac_optarg ;;
866
867   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868     ac_prev=htmldir ;;
869   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870   | --ht=*)
871     htmldir=$ac_optarg ;;
872
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 ;;
879
880   -infodir | --infodir | --infodi | --infod | --info | --inf)
881     ac_prev=infodir ;;
882   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883     infodir=$ac_optarg ;;
884
885   -libdir | --libdir | --libdi | --libd)
886     ac_prev=libdir ;;
887   -libdir=* | --libdir=* | --libdi=* | --libd=*)
888     libdir=$ac_optarg ;;
889
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 ;;
896
897   -localedir | --localedir | --localedi | --localed | --locale)
898     ac_prev=localedir ;;
899   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900     localedir=$ac_optarg ;;
901
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 ;;
908
909   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910     ac_prev=mandir ;;
911   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912     mandir=$ac_optarg ;;
913
914   -nfp | --nfp | --nf)
915     # Obsolete; use --without-fp.
916     with_fp=no ;;
917
918   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919   | --no-cr | --no-c | -n)
920     no_create=yes ;;
921
922   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924     no_recursion=yes ;;
925
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 ;;
934
935   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936     ac_prev=prefix ;;
937   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938     prefix=$ac_optarg ;;
939
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 ;;
946
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 ;;
953
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 ;;
970
971   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972     ac_prev=pdfdir ;;
973   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974     pdfdir=$ac_optarg ;;
975
976   -psdir | --psdir | --psdi | --psd | --ps)
977     ac_prev=psdir ;;
978   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979     psdir=$ac_optarg ;;
980
981   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982   | -silent | --silent | --silen | --sile | --sil)
983     silent=yes ;;
984
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 ;;
993
994   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
995     ac_prev=sbindir ;;
996   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
997   | --sbi=* | --sb=*)
998     sbindir=$ac_optarg ;;
999
1000   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1001   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1002   | --sharedst | --shareds | --shared | --share | --shar \
1003   | --sha | --sh)
1004     ac_prev=sharedstatedir ;;
1005   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1006   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1007   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1008   | --sha=* | --sh=*)
1009     sharedstatedir=$ac_optarg ;;
1010
1011   -site | --site | --sit)
1012     ac_prev=site ;;
1013   -site=* | --site=* | --sit=*)
1014     site=$ac_optarg ;;
1015
1016   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1017     ac_prev=srcdir ;;
1018   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1019     srcdir=$ac_optarg ;;
1020
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 ;;
1027
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 ;;
1032
1033   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1034     verbose=yes ;;
1035
1036   -version | --version | --versio | --versi | --vers | -V)
1037     ac_init_version=: ;;
1038
1039   -with-* | --with-*)
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
1047       *"
1048 "with_$ac_useropt"
1049 "*) ;;
1050       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1051          ac_unrecognized_sep=', ';;
1052     esac
1053     eval with_$ac_useropt=\$ac_optarg ;;
1054
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
1063       *"
1064 "with_$ac_useropt"
1065 "*) ;;
1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1067          ac_unrecognized_sep=', ';;
1068     esac
1069     eval with_$ac_useropt=no ;;
1070
1071   --x)
1072     # Obsolete; use --with-x.
1073     with_x=yes ;;
1074
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 ;;
1081
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 ;;
1088
1089   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1090 Try \`$0 --help' for more information"
1091     ;;
1092
1093   *=*)
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'" ;;
1099     esac
1100     eval $ac_envvar=\$ac_optarg
1101     export $ac_envvar ;;
1102
1103   *)
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}"
1109     ;;
1110
1111   esac
1112 done
1113
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"
1117 fi
1118
1119 if test -n "$ac_unrecognized_opts"; then
1120   case $enable_option_checking in
1121     no) ;;
1122     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1123     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124   esac
1125 fi
1126
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
1132 do
1133   eval ac_val=\$$ac_var
1134   # Remove trailing slashes.
1135   case $ac_val in
1136     */ )
1137       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1138       eval $ac_var=\$ac_val;;
1139   esac
1140   # Be sure to have absolute directory names.
1141   case $ac_val in
1142     [\\/$]* | ?:[\\/]* )  continue;;
1143     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1144   esac
1145   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1146 done
1147
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.
1151 build=$build_alias
1152 host=$host_alias
1153 target=$target_alias
1154
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
1160     cross_compiling=yes
1161   fi
1162 fi
1163
1164 ac_tool_prefix=
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1166
1167 test "$silent" = yes && exec 6>/dev/null
1168
1169
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"
1176
1177
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1189             s//\1/
1190             q
1191           }
1192           /^X\(\/\/\)[^/].*/{
1193             s//\1/
1194             q
1195           }
1196           /^X\(\/\/\)$/{
1197             s//\1/
1198             q
1199           }
1200           /^X\(\/\).*/{
1201             s//\1/
1202             q
1203           }
1204           s/.*/./; q'`
1205   srcdir=$ac_confdir
1206   if test ! -r "$srcdir/$ac_unique_file"; then
1207     srcdir=..
1208   fi
1209 else
1210   ac_srcdir_defaulted=no
1211 fi
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"
1215 fi
1216 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1217 ac_abs_confdir=`(
1218         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1219         pwd)`
1220 # When building in place, set srcdir=.
1221 if test "$ac_abs_confdir" = "$ac_pwd"; then
1222   srcdir=.
1223 fi
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.
1227 case $srcdir in
1228 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1229 esac
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}
1235 done
1236
1237 #
1238 # Report the --help message.
1239 #
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.
1243   cat <<_ACEOF
1244 \`configure' configures tio 1.32 to adapt to many kinds of systems.
1245
1246 Usage: $0 [OPTION]... [VAR=VALUE]...
1247
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.
1250
1251 Defaults for the options are specified in brackets.
1252
1253 Configuration:
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 \`..']
1263
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
1268                           [PREFIX]
1269
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'.
1274
1275 For better control, use the options below.
1276
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]
1298 _ACEOF
1299
1300   cat <<\_ACEOF
1301
1302 Program names:
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
1306 _ACEOF
1307 fi
1308
1309 if test -n "$ac_init_help"; then
1310   case $ac_init_help in
1311      short | recursive ) echo "Configuration of tio 1.32:";;
1312    esac
1313   cat <<\_ACEOF
1314
1315 Optional Features:
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
1326
1327 Optional Packages:
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]
1333
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>
1342
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.
1345
1346 Report bugs to the package provider.
1347 tio home page: <https://tio.github.io>.
1348 _ACEOF
1349 ac_status=$?
1350 fi
1351
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"; } ||
1357       continue
1358     ac_builddir=.
1359
1360 case "$ac_dir" in
1361 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1362 *)
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/ ;;
1369   esac ;;
1370 esac
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
1375
1376 case $srcdir in
1377   .)  # We are building in place.
1378     ac_srcdir=.
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 ;;
1385   *) # Relative name.
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 ;;
1389 esac
1390 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1391
1392     cd "$ac_dir" || { ac_status=$?; continue; }
1393     # Check for guested configure.
1394     if test -f "$ac_srcdir/configure.gnu"; then
1395       echo &&
1396       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1397     elif test -f "$ac_srcdir/configure"; then
1398       echo &&
1399       $SHELL "$ac_srcdir/configure" --help=recursive
1400     else
1401       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1402     fi || ac_status=$?
1403     cd "$ac_pwd" || { ac_status=$?; break; }
1404   done
1405 fi
1406
1407 test -n "$ac_init_help" && exit $ac_status
1408 if $ac_init_version; then
1409   cat <<\_ACEOF
1410 tio configure 1.32
1411 generated by GNU Autoconf 2.69
1412
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.
1416 _ACEOF
1417   exit
1418 fi
1419
1420 ## ------------------------ ##
1421 ## Autoconf initialization. ##
1422 ## ------------------------ ##
1423
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 ()
1428 {
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"
1432 case "(($ac_try" in
1433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1434   *) ac_try_echo=$ac_try;;
1435 esac
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
1439   ac_status=$?
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
1444   fi
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 :
1450   ac_retval=0
1451 else
1452   $as_echo "$as_me: failed program was:" >&5
1453 sed 's/^/| /' conftest.$ac_ext >&5
1454
1455         ac_retval=1
1456 fi
1457   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1458   as_fn_set_status $ac_retval
1459
1460 } # ac_fn_c_try_compile
1461
1462 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1463 # ---------------------------------------------
1464 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1465 # accordingly.
1466 ac_fn_c_check_decl ()
1467 {
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
1475 else
1476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1477 /* end confdefs.h.  */
1478 $4
1479 int
1480 main ()
1481 {
1482 #ifndef $as_decl_name
1483 #ifdef __cplusplus
1484   (void) $as_decl_use;
1485 #else
1486   (void) $as_decl_name;
1487 #endif
1488 #endif
1489
1490   ;
1491   return 0;
1492 }
1493 _ACEOF
1494 if ac_fn_c_try_compile "$LINENO"; then :
1495   eval "$3=yes"
1496 else
1497   eval "$3=no"
1498 fi
1499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1500 fi
1501 eval ac_res=\$$3
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
1505
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.
1510
1511 It was created by tio $as_me 1.32, which was
1512 generated by GNU Autoconf 2.69.  Invocation command line was
1513
1514   $ $0 $@
1515
1516 _ACEOF
1517 exec 5>>config.log
1518 {
1519 cat <<_ASUNAME
1520 ## --------- ##
1521 ## Platform. ##
1522 ## --------- ##
1523
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`
1529
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`
1532
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`
1540
1541 _ASUNAME
1542
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1544 for as_dir in $PATH
1545 do
1546   IFS=$as_save_IFS
1547   test -z "$as_dir" && as_dir=.
1548     $as_echo "PATH: $as_dir"
1549   done
1550 IFS=$as_save_IFS
1551
1552 } >&5
1553
1554 cat >&5 <<_ACEOF
1555
1556
1557 ## ----------- ##
1558 ## Core tests. ##
1559 ## ----------- ##
1560
1561 _ACEOF
1562
1563
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.
1569 ac_configure_args=
1570 ac_configure_args0=
1571 ac_configure_args1=
1572 ac_must_keep_next=false
1573 for ac_pass in 1 2
1574 do
1575   for ac_arg
1576   do
1577     case $ac_arg in
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)
1581       continue ;;
1582     *\'*)
1583       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1584     esac
1585     case $ac_pass in
1586     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1587     2)
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.
1591       else
1592         case $ac_arg in
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 ;;
1599             esac
1600             ;;
1601           -* ) ac_must_keep_next=true ;;
1602         esac
1603       fi
1604       as_fn_append ac_configure_args " '$ac_arg'"
1605       ;;
1606     esac
1607   done
1608 done
1609 { ac_configure_args0=; unset ac_configure_args0;}
1610 { ac_configure_args1=; unset ac_configure_args1;}
1611
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.
1619   {
1620     echo
1621
1622     $as_echo "## ---------------- ##
1623 ## Cache variables. ##
1624 ## ---------------- ##"
1625     echo
1626     # The following way of writing the cache mishandles newlines in values,
1627 (
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
1630     case $ac_val in #(
1631     *${as_nl}*)
1632       case $ac_var in #(
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;} ;;
1635       esac
1636       case $ac_var in #(
1637       _ | IFS | as_nl) ;; #(
1638       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1639       *) { eval $ac_var=; unset $ac_var;} ;;
1640       esac ;;
1641     esac
1642   done
1643   (set) 2>&1 |
1644     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1645     *${as_nl}ac_space=\ *)
1646       sed -n \
1647         "s/'\''/'\''\\\\'\'''\''/g;
1648           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1649       ;; #(
1650     *)
1651       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652       ;;
1653     esac |
1654     sort
1655 )
1656     echo
1657
1658     $as_echo "## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##"
1661     echo
1662     for ac_var in $ac_subst_vars
1663     do
1664       eval ac_val=\$$ac_var
1665       case $ac_val in
1666       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667       esac
1668       $as_echo "$ac_var='\''$ac_val'\''"
1669     done | sort
1670     echo
1671
1672     if test -n "$ac_subst_files"; then
1673       $as_echo "## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##"
1676       echo
1677       for ac_var in $ac_subst_files
1678       do
1679         eval ac_val=\$$ac_var
1680         case $ac_val in
1681         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682         esac
1683         $as_echo "$ac_var='\''$ac_val'\''"
1684       done | sort
1685       echo
1686     fi
1687
1688     if test -s confdefs.h; then
1689       $as_echo "## ----------- ##
1690 ## confdefs.h. ##
1691 ## ----------- ##"
1692       echo
1693       cat confdefs.h
1694       echo
1695     fi
1696     test "$ac_signal" != 0 &&
1697       $as_echo "$as_me: caught signal $ac_signal"
1698     $as_echo "$as_me: exit $exit_status"
1699   } >&5
1700   rm -f core *.core core.conftest.* &&
1701     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1702     exit $exit_status
1703 ' 0
1704 for ac_signal in 1 2 13 15; do
1705   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1706 done
1707 ac_signal=0
1708
1709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1710 rm -f -r conftest* confdefs.h
1711
1712 $as_echo "/* confdefs.h */" > confdefs.h
1713
1714 # Predefined preprocessor variables.
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 _ACEOF
1719
1720 cat >>confdefs.h <<_ACEOF
1721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1722 _ACEOF
1723
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1726 _ACEOF
1727
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_STRING "$PACKAGE_STRING"
1730 _ACEOF
1731
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1734 _ACEOF
1735
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_URL "$PACKAGE_URL"
1738 _ACEOF
1739
1740
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer an explicitly selected file to automatically selected ones.
1743 ac_site_file1=NONE
1744 ac_site_file2=NONE
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;;
1751   esac
1752 elif test "x$prefix" != xNONE; then
1753   ac_site_file1=$prefix/share/config.site
1754   ac_site_file2=$prefix/etc/config.site
1755 else
1756   ac_site_file1=$ac_default_prefix/share/config.site
1757   ac_site_file2=$ac_default_prefix/etc/config.site
1758 fi
1759 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1760 do
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
1766     . "$ac_site_file" \
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; }
1771   fi
1772 done
1773
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;}
1780     case $cache_file in
1781       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1782       *)                      . "./$cache_file";;
1783     esac
1784   fi
1785 else
1786   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1787 $as_echo "$as_me: creating cache $cache_file" >&6;}
1788   >$cache_file
1789 fi
1790
1791 # Check that the precious variables saved in the cache have kept the same
1792 # value.
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
1800     set,)
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=: ;;
1804     ,set)
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=: ;;
1808     ,);;
1809     *)
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=:
1818         else
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
1822         fi
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;}
1827       fi;;
1828   esac
1829   # Pass precious variables to config.status.
1830   if test "$ac_new_set" = set; then
1831     case $ac_new_val in
1832     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1833     *) ac_arg=$ac_var=$ac_new_val ;;
1834     esac
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'" ;;
1838     esac
1839   fi
1840 done
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
1847 fi
1848 ## -------------------- ##
1849 ## Main body of script. ##
1850 ## -------------------- ##
1851
1852 ac_ext=c
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
1857
1858
1859 ac_config_headers="$ac_config_headers src/include/config.h"
1860
1861 am__api_version='1.16'
1862
1863 ac_aux_dir=
1864 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1865   if test -f "$ac_dir/install-sh"; then
1866     ac_aux_dir=$ac_dir
1867     ac_install_sh="$ac_aux_dir/install-sh -c"
1868     break
1869   elif test -f "$ac_dir/install.sh"; then
1870     ac_aux_dir=$ac_dir
1871     ac_install_sh="$ac_aux_dir/install.sh -c"
1872     break
1873   elif test -f "$ac_dir/shtool"; then
1874     ac_aux_dir=$ac_dir
1875     ac_install_sh="$ac_aux_dir/shtool install -c"
1876     break
1877   fi
1878 done
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
1881 fi
1882
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.
1890
1891
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
1898 # AIX /bin/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
1911 else
1912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 for as_dir in $PATH
1914 do
1915   IFS=$as_save_IFS
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[\\/]* | \
1922   /usr/ucb/* ) ;;
1923   *)
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
1926     # by default.
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.
1933             :
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.
1937             :
1938           else
1939             rm -rf conftest.one conftest.two conftest.dir
1940             echo one > conftest.one
1941             echo two > conftest.two
1942             mkdir conftest.dir
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
1947             then
1948               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1949               break 3
1950             fi
1951           fi
1952         fi
1953       done
1954     done
1955     ;;
1956 esac
1957
1958   done
1959 IFS=$as_save_IFS
1960
1961 rm -rf conftest.one conftest.two conftest.dir
1962
1963 fi
1964   if test "${ac_cv_path_install+set}" = set; then
1965     INSTALL=$ac_cv_path_install
1966   else
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
1972   fi
1973 fi
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1975 $as_echo "$INSTALL" >&6; }
1976
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}'
1980
1981 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1982
1983 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1984
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.
1989 am_lf='
1990 '
1991 case `pwd` in
1992   *[\\\"\#\$\&\'\`$am_lf]*)
1993     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1994 esac
1995 case $srcdir in
1996   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
1997     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1998 esac
1999
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
2004 # directory).
2005 if (
2006    am_has_slept=no
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
2011         # -L didn't work.
2012         set X `ls -t "$srcdir/configure" conftest.file`
2013      fi
2014      if test "$*" != "X $srcdir/configure conftest.file" \
2015         && test "$*" != "X conftest.file $srcdir/configure"; then
2016
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
2023      fi
2024      if test "$2" = conftest.file || test $am_try -eq 2; then
2025        break
2026      fi
2027      # Just in case.
2028      sleep 1
2029      am_has_slept=yes
2030    done
2031    test "$2" = conftest.file
2032    )
2033 then
2034    # Ok.
2035    :
2036 else
2037    as_fn_error $? "newly created file is older than distributed files!
2038 Check your system clock" "$LINENO" 5
2039 fi
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.
2044 am_sleep_pid=
2045 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2046   ( sleep 1 ) &
2047   am_sleep_pid=$!
2048 fi
2049
2050 rm -f conftest.file
2051
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"`
2061
2062 # Expand $ac_aux_dir to an absolute path.
2063 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2064
2065 if test x"${MISSING+set}" != xset; then
2066   case $am_aux_dir in
2067   *\ * | *\     *)
2068     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2069   *)
2070     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2071   esac
2072 fi
2073 # Use eval to expand $SHELL
2074 if eval "$MISSING --is-lightweight"; then
2075   am_missing_run="$MISSING "
2076 else
2077   am_missing_run=
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;}
2080 fi
2081
2082 if test x"${install_sh+set}" != xset; then
2083   case $am_aux_dir in
2084   *\ * | *\     *)
2085     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2086   *)
2087     install_sh="\${SHELL} $am_aux_dir/install-sh"
2088   esac
2089 fi
2090
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
2103 else
2104   if test -n "$STRIP"; then
2105   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2109 do
2110   IFS=$as_save_IFS
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
2116     break 2
2117   fi
2118 done
2119   done
2120 IFS=$as_save_IFS
2121
2122 fi
2123 fi
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; }
2128 else
2129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2130 $as_echo "no" >&6; }
2131 fi
2132
2133
2134 fi
2135 if test -z "$ac_cv_prog_STRIP"; then
2136   ac_ct_STRIP=$STRIP
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
2143 else
2144   if test -n "$ac_ct_STRIP"; then
2145   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2146 else
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 for as_dir in $PATH
2149 do
2150   IFS=$as_save_IFS
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
2156     break 2
2157   fi
2158 done
2159   done
2160 IFS=$as_save_IFS
2161
2162 fi
2163 fi
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; }
2168 else
2169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2170 $as_echo "no" >&6; }
2171 fi
2172
2173   if test "x$ac_ct_STRIP" = x; then
2174     STRIP=":"
2175   else
2176     case $cross_compiling:$ac_tool_warned in
2177 yes:)
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 ;;
2181 esac
2182     STRIP=$ac_ct_STRIP
2183   fi
2184 else
2185   STRIP="$ac_cv_prog_STRIP"
2186 fi
2187
2188 fi
2189 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2190
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
2196 else
2197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2199 do
2200   IFS=$as_save_IFS
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
2210                break 3;;
2211            esac
2212          done
2213        done
2214   done
2215 IFS=$as_save_IFS
2216
2217 fi
2218
2219   test -d ./--version && rmdir ./--version
2220   if test "${ac_cv_path_mkdir+set}" = set; then
2221     MKDIR_P="$ac_cv_path_mkdir -p"
2222   else
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"
2228   fi
2229 fi
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2231 $as_echo "$MKDIR_P" >&6; }
2232
2233 for ac_prog in gawk mawk nawk awk
2234 do
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
2241 else
2242   if test -n "$AWK"; then
2243   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2244 else
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 for as_dir in $PATH
2247 do
2248   IFS=$as_save_IFS
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
2254     break 2
2255   fi
2256 done
2257   done
2258 IFS=$as_save_IFS
2259
2260 fi
2261 fi
2262 AWK=$ac_cv_prog_AWK
2263 if test -n "$AWK"; then
2264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2265 $as_echo "$AWK" >&6; }
2266 else
2267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268 $as_echo "no" >&6; }
2269 fi
2270
2271
2272   test -n "$AWK" && break
2273 done
2274
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; }
2277 set x ${MAKE-make}
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
2281 else
2282   cat >conftest.make <<\_ACEOF
2283 SHELL = /bin/sh
2284 all:
2285         @echo '@@@%%%=$(MAKE)=@@@%%%'
2286 _ACEOF
2287 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2288 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2289   *@@@%%%=?*=@@@%%%*)
2290     eval ac_cv_prog_make_${ac_make}_set=yes;;
2291   *)
2292     eval ac_cv_prog_make_${ac_make}_set=no;;
2293 esac
2294 rm -f conftest.make
2295 fi
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; }
2299   SET_MAKE=
2300 else
2301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2302 $as_echo "no" >&6; }
2303   SET_MAKE="MAKE=${MAKE-make}"
2304 fi
2305
2306 rm -rf .tst 2>/dev/null
2307 mkdir .tst 2>/dev/null
2308 if test -d .tst; then
2309   am__leading_dot=.
2310 else
2311   am__leading_dot=_
2312 fi
2313 rmdir .tst 2>/dev/null
2314
2315 # Check whether --enable-silent-rules was given.
2316 if test "${enable_silent_rules+set}" = set; then :
2317   enableval=$enable_silent_rules;
2318 fi
2319
2320 case $enable_silent_rules in # (((
2321   yes) AM_DEFAULT_VERBOSITY=0;;
2322    no) AM_DEFAULT_VERBOSITY=1;;
2323     *) AM_DEFAULT_VERBOSITY=1;;
2324 esac
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
2330 else
2331   if $as_echo 'TRUE=$(BAR$(V))
2332 BAR0=false
2333 BAR1=true
2334 V=1
2335 am__doit:
2336         @$(TRUE)
2337 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2338   am_cv_make_support_nested_variables=yes
2339 else
2340   am_cv_make_support_nested_variables=no
2341 fi
2342 fi
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
2346     AM_V='$(V)'
2347   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2348 else
2349   AM_V=$AM_DEFAULT_VERBOSITY
2350   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2351 fi
2352 AM_BACKSLASH='\'
2353
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
2361   fi
2362 fi
2363
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'
2368   else
2369     CYGPATH_W=echo
2370   fi
2371 fi
2372
2373
2374 # Define the identity of the package.
2375  PACKAGE='tio'
2376  VERSION='1.32'
2377
2378
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE "$PACKAGE"
2381 _ACEOF
2382
2383
2384 cat >>confdefs.h <<_ACEOF
2385 #define VERSION "$VERSION"
2386 _ACEOF
2387
2388 # Some tools Automake needs.
2389
2390 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2391
2392
2393 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2394
2395
2396 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2397
2398
2399 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2400
2401
2402 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2403
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)'
2409
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 ...
2414 AMTAR='$${TAR-tar}'
2415
2416
2417 # We'll loop over all known methods to create a tar archive until one works.
2418 _am_tools='gnutar  pax cpio none'
2419
2420 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2421
2422
2423
2424
2425
2426
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
2436   cat >&2 <<'END'
2437 Oops!
2438
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>
2443
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.
2447
2448 END
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
2452     echo >&2
2453   else
2454     cat >&2 <<'END'
2455 Aborting the configuration process, to ensure you take notice of the issue.
2456
2457 You can download and install GNU coreutils to get an 'rm' implementation
2458 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2459
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.
2463
2464 END
2465     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2466   fi
2467 fi
2468
2469 # Check whether --enable-silent-rules was given.
2470 if test "${enable_silent_rules+set}" = set; then :
2471   enableval=$enable_silent_rules;
2472 fi
2473
2474 case $enable_silent_rules in # (((
2475   yes) AM_DEFAULT_VERBOSITY=0;;
2476    no) AM_DEFAULT_VERBOSITY=1;;
2477     *) AM_DEFAULT_VERBOSITY=0;;
2478 esac
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
2484 else
2485   if $as_echo 'TRUE=$(BAR$(V))
2486 BAR0=false
2487 BAR1=true
2488 V=1
2489 am__doit:
2490         @$(TRUE)
2491 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2492   am_cv_make_support_nested_variables=yes
2493 else
2494   am_cv_make_support_nested_variables=no
2495 fi
2496 fi
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
2500     AM_V='$(V)'
2501   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2502 else
2503   AM_V=$AM_DEFAULT_VERBOSITY
2504   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2505 fi
2506 AM_BACKSLASH='\'
2507
2508 ac_ext=c
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
2520 else
2521   if test -n "$CC"; then
2522   ac_cv_prog_CC="$CC" # Let the user override the test.
2523 else
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527   IFS=$as_save_IFS
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
2533     break 2
2534   fi
2535 done
2536   done
2537 IFS=$as_save_IFS
2538
2539 fi
2540 fi
2541 CC=$ac_cv_prog_CC
2542 if test -n "$CC"; then
2543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2544 $as_echo "$CC" >&6; }
2545 else
2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 $as_echo "no" >&6; }
2548 fi
2549
2550
2551 fi
2552 if test -z "$ac_cv_prog_CC"; then
2553   ac_ct_CC=$CC
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
2560 else
2561   if test -n "$ac_ct_CC"; then
2562   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2563 else
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH
2566 do
2567   IFS=$as_save_IFS
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
2573     break 2
2574   fi
2575 done
2576   done
2577 IFS=$as_save_IFS
2578
2579 fi
2580 fi
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; }
2585 else
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2588 fi
2589
2590   if test "x$ac_ct_CC" = x; then
2591     CC=""
2592   else
2593     case $cross_compiling:$ac_tool_warned in
2594 yes:)
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 ;;
2598 esac
2599     CC=$ac_ct_CC
2600   fi
2601 else
2602   CC="$ac_cv_prog_CC"
2603 fi
2604
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
2613 else
2614   if test -n "$CC"; then
2615   ac_cv_prog_CC="$CC" # Let the user override the test.
2616 else
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 for as_dir in $PATH
2619 do
2620   IFS=$as_save_IFS
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
2626     break 2
2627   fi
2628 done
2629   done
2630 IFS=$as_save_IFS
2631
2632 fi
2633 fi
2634 CC=$ac_cv_prog_CC
2635 if test -n "$CC"; then
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2637 $as_echo "$CC" >&6; }
2638 else
2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2641 fi
2642
2643
2644   fi
2645 fi
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
2653 else
2654   if test -n "$CC"; then
2655   ac_cv_prog_CC="$CC" # Let the user override the test.
2656 else
2657   ac_prog_rejected=no
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661   IFS=$as_save_IFS
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
2667        continue
2668      fi
2669     ac_cv_prog_CC="cc"
2670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671     break 2
2672   fi
2673 done
2674   done
2675 IFS=$as_save_IFS
2676
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
2680   shift
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.
2685     shift
2686     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2687   fi
2688 fi
2689 fi
2690 fi
2691 CC=$ac_cv_prog_CC
2692 if test -n "$CC"; then
2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2694 $as_echo "$CC" >&6; }
2695 else
2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2697 $as_echo "no" >&6; }
2698 fi
2699
2700
2701 fi
2702 if test -z "$CC"; then
2703   if test -n "$ac_tool_prefix"; then
2704   for ac_prog in cl.exe
2705   do
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
2712 else
2713   if test -n "$CC"; then
2714   ac_cv_prog_CC="$CC" # Let the user override the test.
2715 else
2716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717 for as_dir in $PATH
2718 do
2719   IFS=$as_save_IFS
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
2725     break 2
2726   fi
2727 done
2728   done
2729 IFS=$as_save_IFS
2730
2731 fi
2732 fi
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2736 $as_echo "$CC" >&6; }
2737 else
2738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739 $as_echo "no" >&6; }
2740 fi
2741
2742
2743     test -n "$CC" && break
2744   done
2745 fi
2746 if test -z "$CC"; then
2747   ac_ct_CC=$CC
2748   for ac_prog in cl.exe
2749 do
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
2756 else
2757   if test -n "$ac_ct_CC"; then
2758   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2762 do
2763   IFS=$as_save_IFS
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
2769     break 2
2770   fi
2771 done
2772   done
2773 IFS=$as_save_IFS
2774
2775 fi
2776 fi
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; }
2781 else
2782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2783 $as_echo "no" >&6; }
2784 fi
2785
2786
2787   test -n "$ac_ct_CC" && break
2788 done
2789
2790   if test "x$ac_ct_CC" = x; then
2791     CC=""
2792   else
2793     case $cross_compiling:$ac_tool_warned in
2794 yes:)
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 ;;
2798 esac
2799     CC=$ac_ct_CC
2800   fi
2801 fi
2802
2803 fi
2804
2805
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; }
2810
2811 # Provide some information about the compiler.
2812 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2813 set X $ac_compile
2814 ac_compiler=$2
2815 for ac_option in --version -v -V -qversion; do
2816   { { ac_try="$ac_compiler $ac_option >&5"
2817 case "(($ac_try" in
2818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819   *) ac_try_echo=$ac_try;;
2820 esac
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
2824   ac_status=$?
2825   if test -s conftest.err; then
2826     sed '10a\
2827 ... rest of stderr output deleted ...
2828          10q' conftest.err >conftest.er1
2829     cat conftest.er1 >&5
2830   fi
2831   rm -f conftest.er1 conftest.err
2832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833   test $ac_status = 0; }
2834 done
2835
2836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2837 /* end confdefs.h.  */
2838
2839 int
2840 main ()
2841 {
2842
2843   ;
2844   return 0;
2845 }
2846 _ACEOF
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
2851 # of exeext.
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[^ ]*//'`
2855
2856 # The possible output files:
2857 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2858
2859 ac_rmfiles=
2860 for ac_file in $ac_files
2861 do
2862   case $ac_file in
2863     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2864     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2865   esac
2866 done
2867 rm -f $ac_rmfiles
2868
2869 if { { ac_try="$ac_link_default"
2870 case "(($ac_try" in
2871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872   *) ac_try_echo=$ac_try;;
2873 esac
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
2877   ac_status=$?
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
2884 # Autoconf.
2885 for ac_file in $ac_files ''
2886 do
2887   test -f "$ac_file" || continue
2888   case $ac_file in
2889     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2890         ;;
2891     [ab].out )
2892         # We found the default executable, but exeext='' is most
2893         # certainly right.
2894         break;;
2895     *.* )
2896         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2897         then :; else
2898            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2899         fi
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
2904         # actually working.
2905         break;;
2906     * )
2907         break;;
2908   esac
2909 done
2910 test "$ac_cv_exeext" = no && ac_cv_exeext=
2911
2912 else
2913   ac_file=''
2914 fi
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
2920
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; }
2925 else
2926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2927 $as_echo "yes" >&6; }
2928 fi
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
2934
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"
2940 case "(($ac_try" in
2941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942   *) ac_try_echo=$ac_try;;
2943 esac
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
2947   ac_status=$?
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
2953 # `rm'.
2954 for ac_file in conftest.exe conftest conftest.*; do
2955   test -f "$ac_file" || continue
2956   case $ac_file in
2957     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2958     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2959           break;;
2960     * ) break;;
2961   esac
2962 done
2963 else
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; }
2968 fi
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; }
2972
2973 rm -f conftest.$ac_ext
2974 EXEEXT=$ac_cv_exeext
2975 ac_exeext=$EXEEXT
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h.  */
2978 #include <stdio.h>
2979 int
2980 main ()
2981 {
2982 FILE *f = fopen ("conftest.out", "w");
2983  return ferror (f) || fclose (f) != 0;
2984
2985   ;
2986   return 0;
2987 }
2988 _ACEOF
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"
2996 case "(($ac_try" in
2997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998   *) ac_try_echo=$ac_try;;
2999 esac
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
3003   ac_status=$?
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;;
3010 esac
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
3014   ac_status=$?
3015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016   test $ac_status = 0; }; }; then
3017     cross_compiling=no
3018   else
3019     if test "$cross_compiling" = maybe; then
3020         cross_compiling=yes
3021     else
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; }
3027     fi
3028   fi
3029 fi
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3031 $as_echo "$cross_compiling" >&6; }
3032
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
3039 else
3040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h.  */
3042
3043 int
3044 main ()
3045 {
3046
3047   ;
3048   return 0;
3049 }
3050 _ACEOF
3051 rm -f conftest.o conftest.obj
3052 if { { ac_try="$ac_compile"
3053 case "(($ac_try" in
3054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055   *) ac_try_echo=$ac_try;;
3056 esac
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
3060   ac_status=$?
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;
3065   case $ac_file in
3066     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3067     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3068        break;;
3069   esac
3070 done
3071 else
3072   $as_echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3074
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; }
3079 fi
3080 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3081 fi
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
3085 ac_objext=$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
3090 else
3091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h.  */
3093
3094 int
3095 main ()
3096 {
3097 #ifndef __GNUC__
3098        choke me
3099 #endif
3100
3101   ;
3102   return 0;
3103 }
3104 _ACEOF
3105 if ac_fn_c_try_compile "$LINENO"; then :
3106   ac_compiler_gnu=yes
3107 else
3108   ac_compiler_gnu=no
3109 fi
3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3111 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3112
3113 fi
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
3117   GCC=yes
3118 else
3119   GCC=
3120 fi
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
3127 else
3128   ac_save_c_werror_flag=$ac_c_werror_flag
3129    ac_c_werror_flag=yes
3130    ac_cv_prog_cc_g=no
3131    CFLAGS="-g"
3132    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h.  */
3134
3135 int
3136 main ()
3137 {
3138
3139   ;
3140   return 0;
3141 }
3142 _ACEOF
3143 if ac_fn_c_try_compile "$LINENO"; then :
3144   ac_cv_prog_cc_g=yes
3145 else
3146   CFLAGS=""
3147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h.  */
3149
3150 int
3151 main ()
3152 {
3153
3154   ;
3155   return 0;
3156 }
3157 _ACEOF
3158 if ac_fn_c_try_compile "$LINENO"; then :
3159
3160 else
3161   ac_c_werror_flag=$ac_save_c_werror_flag
3162          CFLAGS="-g"
3163          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h.  */
3165
3166 int
3167 main ()
3168 {
3169
3170   ;
3171   return 0;
3172 }
3173 _ACEOF
3174 if ac_fn_c_try_compile "$LINENO"; then :
3175   ac_cv_prog_cc_g=yes
3176 fi
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 fi
3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3180 fi
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182    ac_c_werror_flag=$ac_save_c_werror_flag
3183 fi
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
3190     CFLAGS="-g -O2"
3191   else
3192     CFLAGS="-g"
3193   fi
3194 else
3195   if test "$GCC" = yes; then
3196     CFLAGS="-O2"
3197   else
3198     CFLAGS=
3199   fi
3200 fi
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
3205 else
3206   ac_cv_prog_cc_c89=no
3207 ac_save_CC=$CC
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h.  */
3210 #include <stdarg.h>
3211 #include <stdio.h>
3212 struct stat;
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)
3217      char **p;
3218      int i;
3219 {
3220   return p[i];
3221 }
3222 static char *f (char * (*g) (char **, int), char **p, ...)
3223 {
3224   char *s;
3225   va_list v;
3226   va_start (v,p);
3227   s = g (p, va_arg (v,int));
3228   va_end (v);
3229   return s;
3230 }
3231
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];
3240
3241 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3242    inside strings and character constants.  */
3243 #define FOO(x) 'x'
3244 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3245
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);
3250 int argc;
3251 char **argv;
3252 int
3253 main ()
3254 {
3255 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3256   ;
3257   return 0;
3258 }
3259 _ACEOF
3260 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3261         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3262 do
3263   CC="$ac_save_CC $ac_arg"
3264   if ac_fn_c_try_compile "$LINENO"; then :
3265   ac_cv_prog_cc_c89=$ac_arg
3266 fi
3267 rm -f core conftest.err conftest.$ac_objext
3268   test "x$ac_cv_prog_cc_c89" != "xno" && break
3269 done
3270 rm -f conftest.$ac_ext
3271 CC=$ac_save_CC
3272
3273 fi
3274 # AC_CACHE_VAL
3275 case "x$ac_cv_prog_cc_c89" in
3276   x)
3277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3278 $as_echo "none needed" >&6; } ;;
3279   xno)
3280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3281 $as_echo "unsupported" >&6; } ;;
3282   *)
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; } ;;
3286 esac
3287 if test "x$ac_cv_prog_cc_c89" != xno; then :
3288
3289 fi
3290
3291 ac_ext=c
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
3296
3297 ac_ext=c
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
3306 else
3307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3308 /* end confdefs.h.  */
3309
3310 int
3311 main ()
3312 {
3313
3314   ;
3315   return 0;
3316 }
3317 _ACEOF
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
3323   for am_i in 1 2; do
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
3326    ac_status=$?
3327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328    (exit $ac_status); } \
3329          && test -f conftest2.$ac_objext; then
3330       : OK
3331     else
3332       am_cv_prog_cc_c_o=no
3333       break
3334     fi
3335   done
3336   rm -f core conftest*
3337   unset am_i
3338 fi
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"
3348 fi
3349 ac_ext=c
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
3354
3355 DEPDIR="${am__leading_dot}deps"
3356
3357 ac_config_commands="$ac_config_commands depfiles"
3358
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'
3362 am__doit:
3363         @echo this is the am__doit target >confinc.out
3364 .PHONY: am__doit
3365 END
3366 am__include="#"
3367 am__quote=
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
3372 _am_result=no
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
3376    ac_status=$?
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') :
3381     case $s in #(
3382   BSD) :
3383     am__include='.include' am__quote='"' ;; #(
3384   *) :
3385     am__include='include' am__quote='' ;;
3386 esac ;; #(
3387   *) :
3388      ;;
3389 esac
3390   if test "$am__include" != "#"; then
3391     _am_result="yes ($s style)"
3392     break
3393   fi
3394 done
3395 rm -f confinc.* confmf.*
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3397 $as_echo "${_am_result}" >&6; }
3398
3399 # Check whether --enable-dependency-tracking was given.
3400 if test "${enable_dependency_tracking+set}" = set; then :
3401   enableval=$enable_dependency_tracking;
3402 fi
3403
3404 if test "x$enable_dependency_tracking" != xno; then
3405   am_depcomp="$ac_aux_dir/depcomp"
3406   AMDEPBACKSLASH='\'
3407   am__nodep='_no'
3408 fi
3409  if test "x$enable_dependency_tracking" != xno; then
3410   AMDEP_TRUE=
3411   AMDEP_FALSE='#'
3412 else
3413   AMDEP_TRUE='#'
3414   AMDEP_FALSE=
3415 fi
3416
3417
3418
3419 depcc="$CC"   am_compiler_list=
3420
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
3425 else
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
3431   # in D".
3432   rm -rf conftest.dir
3433   mkdir conftest.dir
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
3437   cd 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
3443   # directory.
3444   mkdir sub
3445
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`
3449   fi
3450   am__universal=false
3451   case " $depcc " in #(
3452      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3453      esac
3454
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.
3459     #
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.
3463     : > sub/conftest.c
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
3469     done
3470     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3471
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"
3478     case $depmode in
3479     gcc)
3480       # This depmode causes a compiler race in universal mode.
3481       test "$am__universal" = false || continue
3482       ;;
3483     nosideeffect)
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
3487         continue
3488       else
3489         break
3490       fi
3491       ;;
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}
3497       am__minus_obj=
3498       ;;
3499     none) break ;;
3500     esac
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
3520         break
3521       fi
3522     fi
3523   done
3524
3525   cd ..
3526   rm -rf conftest.dir
3527 else
3528   am_cv_CC_dependencies_compiler_type=none
3529 fi
3530
3531 fi
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
3535
3536  if
3537   test "x$enable_dependency_tracking" != xno \
3538   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3539   am__fastdepCC_TRUE=
3540   am__fastdepCC_FALSE='#'
3541 else
3542   am__fastdepCC_TRUE='#'
3543   am__fastdepCC_FALSE=
3544 fi
3545
3546
3547 ac_ext=c
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
3552
3553
3554
3555 # Check whether --enable-largefile was given.
3556 if test "${enable_largefile+set}" = set; then :
3557   enableval=$enable_largefile;
3558 fi
3559
3560 if test "$enable_largefile" != no; then
3561
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
3566 else
3567   ac_cv_sys_largefile_CC=no
3568      if test "$GCC" != yes; then
3569        ac_save_CC=$CC
3570        while :; do
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)
3583                       ? 1 : -1];
3584 int
3585 main ()
3586 {
3587
3588   ;
3589   return 0;
3590 }
3591 _ACEOF
3592          if ac_fn_c_try_compile "$LINENO"; then :
3593   break
3594 fi
3595 rm -f core conftest.err conftest.$ac_objext
3596          CC="$CC -n32"
3597          if ac_fn_c_try_compile "$LINENO"; then :
3598   ac_cv_sys_largefile_CC=' -n32'; break
3599 fi
3600 rm -f core conftest.err conftest.$ac_objext
3601          break
3602        done
3603        CC=$ac_save_CC
3604        rm -f conftest.$ac_ext
3605     fi
3606 fi
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
3611   fi
3612
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
3617 else
3618   while :; do
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)
3629                       ? 1 : -1];
3630 int
3631 main ()
3632 {
3633
3634   ;
3635   return 0;
3636 }
3637 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
3639   ac_cv_sys_file_offset_bits=no; break
3640 fi
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)
3653                       ? 1 : -1];
3654 int
3655 main ()
3656 {
3657
3658   ;
3659   return 0;
3660 }
3661 _ACEOF
3662 if ac_fn_c_try_compile "$LINENO"; then :
3663   ac_cv_sys_file_offset_bits=64; break
3664 fi
3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3666   ac_cv_sys_file_offset_bits=unknown
3667   break
3668 done
3669 fi
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 #(
3673   no | unknown) ;;
3674   *)
3675 cat >>confdefs.h <<_ACEOF
3676 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3677 _ACEOF
3678 ;;
3679 esac
3680 rm -rf conftest*
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
3686 else
3687   while :; do
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)
3698                       ? 1 : -1];
3699 int
3700 main ()
3701 {
3702
3703   ;
3704   return 0;
3705 }
3706 _ACEOF
3707 if ac_fn_c_try_compile "$LINENO"; then :
3708   ac_cv_sys_large_files=no; break
3709 fi
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)
3722                       ? 1 : -1];
3723 int
3724 main ()
3725 {
3726
3727   ;
3728   return 0;
3729 }
3730 _ACEOF
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732   ac_cv_sys_large_files=1; break
3733 fi
3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735   ac_cv_sys_large_files=unknown
3736   break
3737 done
3738 fi
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 #(
3742   no | unknown) ;;
3743   *)
3744 cat >>confdefs.h <<_ACEOF
3745 #define _LARGE_FILES $ac_cv_sys_large_files
3746 _ACEOF
3747 ;;
3748 esac
3749 rm -rf conftest*
3750   fi
3751
3752
3753 fi
3754
3755
3756 # Handle bash completion
3757
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;
3761 else
3762   with_bash_completion_dir=yes
3763 fi
3764
3765
3766 if test "x$with_bash_completion_dir" = "xyes"; then
3767     BASH_COMPLETION_DIR="${datadir}/bash-completion/completions"
3768 else
3769     BASH_COMPLETION_DIR="$with_bash_completion_dir"
3770 fi
3771
3772  if test "x$with_bash_completion_dir" != "xno"; then
3773   ENABLE_BASH_COMPLETION_TRUE=
3774   ENABLE_BASH_COMPLETION_FALSE='#'
3775 else
3776   ENABLE_BASH_COMPLETION_TRUE='#'
3777   ENABLE_BASH_COMPLETION_FALSE=
3778 fi
3779
3780
3781 # TIO_CHECK_BAUDRATE(N)
3782
3783
3784 # TIO_CHECK_BAUDRATES(N1, N2, ...)
3785
3786
3787 # Check for available terminal I/O speeds
3788 BAUDRATES=
3789 BAUDRATE_CASES=
3790
3791         ac_fn_c_check_decl "$LINENO" "B0" "ac_cv_have_decl_B0" "#include <termios.h>
3792 "
3793 if test "x$ac_cv_have_decl_B0" = xyes; then :
3794   tio_have_decl=1
3795 else
3796   tio_have_decl=0
3797 fi
3798
3799         if test $tio_have_decl = 1; then :
3800
3801             BAUDRATES="$BAUDRATES 0"
3802
3803             BAUDRATE_CASES="$BAUDRATE_CASES case 0: baudrate = B0; break;"
3804
3805
3806 fi
3807
3808
3809         ac_fn_c_check_decl "$LINENO" "B50" "ac_cv_have_decl_B50" "#include <termios.h>
3810 "
3811 if test "x$ac_cv_have_decl_B50" = xyes; then :
3812   tio_have_decl=1
3813 else
3814   tio_have_decl=0
3815 fi
3816
3817         if test $tio_have_decl = 1; then :
3818
3819             BAUDRATES="$BAUDRATES 50"
3820
3821             BAUDRATE_CASES="$BAUDRATE_CASES case 50: baudrate = B50; break;"
3822
3823
3824 fi
3825
3826
3827         ac_fn_c_check_decl "$LINENO" "B75" "ac_cv_have_decl_B75" "#include <termios.h>
3828 "
3829 if test "x$ac_cv_have_decl_B75" = xyes; then :
3830   tio_have_decl=1
3831 else
3832   tio_have_decl=0
3833 fi
3834
3835         if test $tio_have_decl = 1; then :
3836
3837             BAUDRATES="$BAUDRATES 75"
3838
3839             BAUDRATE_CASES="$BAUDRATE_CASES case 75: baudrate = B75; break;"
3840
3841
3842 fi
3843
3844
3845         ac_fn_c_check_decl "$LINENO" "B110" "ac_cv_have_decl_B110" "#include <termios.h>
3846 "
3847 if test "x$ac_cv_have_decl_B110" = xyes; then :
3848   tio_have_decl=1
3849 else
3850   tio_have_decl=0
3851 fi
3852
3853         if test $tio_have_decl = 1; then :
3854
3855             BAUDRATES="$BAUDRATES 110"
3856
3857             BAUDRATE_CASES="$BAUDRATE_CASES case 110: baudrate = B110; break;"
3858
3859
3860 fi
3861
3862
3863         ac_fn_c_check_decl "$LINENO" "B134" "ac_cv_have_decl_B134" "#include <termios.h>
3864 "
3865 if test "x$ac_cv_have_decl_B134" = xyes; then :
3866   tio_have_decl=1
3867 else
3868   tio_have_decl=0
3869 fi
3870
3871         if test $tio_have_decl = 1; then :
3872
3873             BAUDRATES="$BAUDRATES 134"
3874
3875             BAUDRATE_CASES="$BAUDRATE_CASES case 134: baudrate = B134; break;"
3876
3877
3878 fi
3879
3880
3881         ac_fn_c_check_decl "$LINENO" "B150" "ac_cv_have_decl_B150" "#include <termios.h>
3882 "
3883 if test "x$ac_cv_have_decl_B150" = xyes; then :
3884   tio_have_decl=1
3885 else
3886   tio_have_decl=0
3887 fi
3888
3889         if test $tio_have_decl = 1; then :
3890
3891             BAUDRATES="$BAUDRATES 150"
3892
3893             BAUDRATE_CASES="$BAUDRATE_CASES case 150: baudrate = B150; break;"
3894
3895
3896 fi
3897
3898
3899         ac_fn_c_check_decl "$LINENO" "B200" "ac_cv_have_decl_B200" "#include <termios.h>
3900 "
3901 if test "x$ac_cv_have_decl_B200" = xyes; then :
3902   tio_have_decl=1
3903 else
3904   tio_have_decl=0
3905 fi
3906
3907         if test $tio_have_decl = 1; then :
3908
3909             BAUDRATES="$BAUDRATES 200"
3910
3911             BAUDRATE_CASES="$BAUDRATE_CASES case 200: baudrate = B200; break;"
3912
3913
3914 fi
3915
3916
3917         ac_fn_c_check_decl "$LINENO" "B300" "ac_cv_have_decl_B300" "#include <termios.h>
3918 "
3919 if test "x$ac_cv_have_decl_B300" = xyes; then :
3920   tio_have_decl=1
3921 else
3922   tio_have_decl=0
3923 fi
3924
3925         if test $tio_have_decl = 1; then :
3926
3927             BAUDRATES="$BAUDRATES 300"
3928
3929             BAUDRATE_CASES="$BAUDRATE_CASES case 300: baudrate = B300; break;"
3930
3931
3932 fi
3933
3934
3935         ac_fn_c_check_decl "$LINENO" "B600" "ac_cv_have_decl_B600" "#include <termios.h>
3936 "
3937 if test "x$ac_cv_have_decl_B600" = xyes; then :
3938   tio_have_decl=1
3939 else
3940   tio_have_decl=0
3941 fi
3942
3943         if test $tio_have_decl = 1; then :
3944
3945             BAUDRATES="$BAUDRATES 600"
3946
3947             BAUDRATE_CASES="$BAUDRATE_CASES case 600: baudrate = B600; break;"
3948
3949
3950 fi
3951
3952
3953         ac_fn_c_check_decl "$LINENO" "B1200" "ac_cv_have_decl_B1200" "#include <termios.h>
3954 "
3955 if test "x$ac_cv_have_decl_B1200" = xyes; then :
3956   tio_have_decl=1
3957 else
3958   tio_have_decl=0
3959 fi
3960
3961         if test $tio_have_decl = 1; then :
3962
3963             BAUDRATES="$BAUDRATES 1200"
3964
3965             BAUDRATE_CASES="$BAUDRATE_CASES case 1200: baudrate = B1200; break;"
3966
3967
3968 fi
3969
3970
3971         ac_fn_c_check_decl "$LINENO" "B1800" "ac_cv_have_decl_B1800" "#include <termios.h>
3972 "
3973 if test "x$ac_cv_have_decl_B1800" = xyes; then :
3974   tio_have_decl=1
3975 else
3976   tio_have_decl=0
3977 fi
3978
3979         if test $tio_have_decl = 1; then :
3980
3981             BAUDRATES="$BAUDRATES 1800"
3982
3983             BAUDRATE_CASES="$BAUDRATE_CASES case 1800: baudrate = B1800; break;"
3984
3985
3986 fi
3987
3988
3989         ac_fn_c_check_decl "$LINENO" "B2400" "ac_cv_have_decl_B2400" "#include <termios.h>
3990 "
3991 if test "x$ac_cv_have_decl_B2400" = xyes; then :
3992   tio_have_decl=1
3993 else
3994   tio_have_decl=0
3995 fi
3996
3997         if test $tio_have_decl = 1; then :
3998
3999             BAUDRATES="$BAUDRATES 2400"
4000
4001             BAUDRATE_CASES="$BAUDRATE_CASES case 2400: baudrate = B2400; break;"
4002
4003
4004 fi
4005
4006
4007         ac_fn_c_check_decl "$LINENO" "B4800" "ac_cv_have_decl_B4800" "#include <termios.h>
4008 "
4009 if test "x$ac_cv_have_decl_B4800" = xyes; then :
4010   tio_have_decl=1
4011 else
4012   tio_have_decl=0
4013 fi
4014
4015         if test $tio_have_decl = 1; then :
4016
4017             BAUDRATES="$BAUDRATES 4800"
4018
4019             BAUDRATE_CASES="$BAUDRATE_CASES case 4800: baudrate = B4800; break;"
4020
4021
4022 fi
4023
4024
4025         ac_fn_c_check_decl "$LINENO" "B7200" "ac_cv_have_decl_B7200" "#include <termios.h>
4026 "
4027 if test "x$ac_cv_have_decl_B7200" = xyes; then :
4028   tio_have_decl=1
4029 else
4030   tio_have_decl=0
4031 fi
4032
4033         if test $tio_have_decl = 1; then :
4034
4035             BAUDRATES="$BAUDRATES 7200"
4036
4037             BAUDRATE_CASES="$BAUDRATE_CASES case 7200: baudrate = B7200; break;"
4038
4039
4040 fi
4041
4042
4043         ac_fn_c_check_decl "$LINENO" "B9600" "ac_cv_have_decl_B9600" "#include <termios.h>
4044 "
4045 if test "x$ac_cv_have_decl_B9600" = xyes; then :
4046   tio_have_decl=1
4047 else
4048   tio_have_decl=0
4049 fi
4050
4051         if test $tio_have_decl = 1; then :
4052
4053             BAUDRATES="$BAUDRATES 9600"
4054
4055             BAUDRATE_CASES="$BAUDRATE_CASES case 9600: baudrate = B9600; break;"
4056
4057
4058 fi
4059
4060
4061         ac_fn_c_check_decl "$LINENO" "B14400" "ac_cv_have_decl_B14400" "#include <termios.h>
4062 "
4063 if test "x$ac_cv_have_decl_B14400" = xyes; then :
4064   tio_have_decl=1
4065 else
4066   tio_have_decl=0
4067 fi
4068
4069         if test $tio_have_decl = 1; then :
4070
4071             BAUDRATES="$BAUDRATES 14400"
4072
4073             BAUDRATE_CASES="$BAUDRATE_CASES case 14400: baudrate = B14400; break;"
4074
4075
4076 fi
4077
4078
4079         ac_fn_c_check_decl "$LINENO" "B19200" "ac_cv_have_decl_B19200" "#include <termios.h>
4080 "
4081 if test "x$ac_cv_have_decl_B19200" = xyes; then :
4082   tio_have_decl=1
4083 else
4084   tio_have_decl=0
4085 fi
4086
4087         if test $tio_have_decl = 1; then :
4088
4089             BAUDRATES="$BAUDRATES 19200"
4090
4091             BAUDRATE_CASES="$BAUDRATE_CASES case 19200: baudrate = B19200; break;"
4092
4093
4094 fi
4095
4096
4097         ac_fn_c_check_decl "$LINENO" "B28800" "ac_cv_have_decl_B28800" "#include <termios.h>
4098 "
4099 if test "x$ac_cv_have_decl_B28800" = xyes; then :
4100   tio_have_decl=1
4101 else
4102   tio_have_decl=0
4103 fi
4104
4105         if test $tio_have_decl = 1; then :
4106
4107             BAUDRATES="$BAUDRATES 28800"
4108
4109             BAUDRATE_CASES="$BAUDRATE_CASES case 28800: baudrate = B28800; break;"
4110
4111
4112 fi
4113
4114
4115         ac_fn_c_check_decl "$LINENO" "B38400" "ac_cv_have_decl_B38400" "#include <termios.h>
4116 "
4117 if test "x$ac_cv_have_decl_B38400" = xyes; then :
4118   tio_have_decl=1
4119 else
4120   tio_have_decl=0
4121 fi
4122
4123         if test $tio_have_decl = 1; then :
4124
4125             BAUDRATES="$BAUDRATES 38400"
4126
4127             BAUDRATE_CASES="$BAUDRATE_CASES case 38400: baudrate = B38400; break;"
4128
4129
4130 fi
4131
4132
4133         ac_fn_c_check_decl "$LINENO" "B57600" "ac_cv_have_decl_B57600" "#include <termios.h>
4134 "
4135 if test "x$ac_cv_have_decl_B57600" = xyes; then :
4136   tio_have_decl=1
4137 else
4138   tio_have_decl=0
4139 fi
4140
4141         if test $tio_have_decl = 1; then :
4142
4143             BAUDRATES="$BAUDRATES 57600"
4144
4145             BAUDRATE_CASES="$BAUDRATE_CASES case 57600: baudrate = B57600; break;"
4146
4147
4148 fi
4149
4150
4151         ac_fn_c_check_decl "$LINENO" "B76800" "ac_cv_have_decl_B76800" "#include <termios.h>
4152 "
4153 if test "x$ac_cv_have_decl_B76800" = xyes; then :
4154   tio_have_decl=1
4155 else
4156   tio_have_decl=0
4157 fi
4158
4159         if test $tio_have_decl = 1; then :
4160
4161             BAUDRATES="$BAUDRATES 76800"
4162
4163             BAUDRATE_CASES="$BAUDRATE_CASES case 76800: baudrate = B76800; break;"
4164
4165
4166 fi
4167
4168
4169         ac_fn_c_check_decl "$LINENO" "B115200" "ac_cv_have_decl_B115200" "#include <termios.h>
4170 "
4171 if test "x$ac_cv_have_decl_B115200" = xyes; then :
4172   tio_have_decl=1
4173 else
4174   tio_have_decl=0
4175 fi
4176
4177         if test $tio_have_decl = 1; then :
4178
4179             BAUDRATES="$BAUDRATES 115200"
4180
4181             BAUDRATE_CASES="$BAUDRATE_CASES case 115200: baudrate = B115200; break;"
4182
4183
4184 fi
4185
4186
4187         ac_fn_c_check_decl "$LINENO" "B230400" "ac_cv_have_decl_B230400" "#include <termios.h>
4188 "
4189 if test "x$ac_cv_have_decl_B230400" = xyes; then :
4190   tio_have_decl=1
4191 else
4192   tio_have_decl=0
4193 fi
4194
4195         if test $tio_have_decl = 1; then :
4196
4197             BAUDRATES="$BAUDRATES 230400"
4198
4199             BAUDRATE_CASES="$BAUDRATE_CASES case 230400: baudrate = B230400; break;"
4200
4201
4202 fi
4203
4204
4205         ac_fn_c_check_decl "$LINENO" "B460800" "ac_cv_have_decl_B460800" "#include <termios.h>
4206 "
4207 if test "x$ac_cv_have_decl_B460800" = xyes; then :
4208   tio_have_decl=1
4209 else
4210   tio_have_decl=0
4211 fi
4212
4213         if test $tio_have_decl = 1; then :
4214
4215             BAUDRATES="$BAUDRATES 460800"
4216
4217             BAUDRATE_CASES="$BAUDRATE_CASES case 460800: baudrate = B460800; break;"
4218
4219
4220 fi
4221
4222
4223         ac_fn_c_check_decl "$LINENO" "B500000" "ac_cv_have_decl_B500000" "#include <termios.h>
4224 "
4225 if test "x$ac_cv_have_decl_B500000" = xyes; then :
4226   tio_have_decl=1
4227 else
4228   tio_have_decl=0
4229 fi
4230
4231         if test $tio_have_decl = 1; then :
4232
4233             BAUDRATES="$BAUDRATES 500000"
4234
4235             BAUDRATE_CASES="$BAUDRATE_CASES case 500000: baudrate = B500000; break;"
4236
4237
4238 fi
4239
4240
4241         ac_fn_c_check_decl "$LINENO" "B576000" "ac_cv_have_decl_B576000" "#include <termios.h>
4242 "
4243 if test "x$ac_cv_have_decl_B576000" = xyes; then :
4244   tio_have_decl=1
4245 else
4246   tio_have_decl=0
4247 fi
4248
4249         if test $tio_have_decl = 1; then :
4250
4251             BAUDRATES="$BAUDRATES 576000"
4252
4253             BAUDRATE_CASES="$BAUDRATE_CASES case 576000: baudrate = B576000; break;"
4254
4255
4256 fi
4257
4258
4259         ac_fn_c_check_decl "$LINENO" "B921600" "ac_cv_have_decl_B921600" "#include <termios.h>
4260 "
4261 if test "x$ac_cv_have_decl_B921600" = xyes; then :
4262   tio_have_decl=1
4263 else
4264   tio_have_decl=0
4265 fi
4266
4267         if test $tio_have_decl = 1; then :
4268
4269             BAUDRATES="$BAUDRATES 921600"
4270
4271             BAUDRATE_CASES="$BAUDRATE_CASES case 921600: baudrate = B921600; break;"
4272
4273
4274 fi
4275
4276
4277         ac_fn_c_check_decl "$LINENO" "B1000000" "ac_cv_have_decl_B1000000" "#include <termios.h>
4278 "
4279 if test "x$ac_cv_have_decl_B1000000" = xyes; then :
4280   tio_have_decl=1
4281 else
4282   tio_have_decl=0
4283 fi
4284
4285         if test $tio_have_decl = 1; then :
4286
4287             BAUDRATES="$BAUDRATES 1000000"
4288
4289             BAUDRATE_CASES="$BAUDRATE_CASES case 1000000: baudrate = B1000000; break;"
4290
4291
4292 fi
4293
4294
4295         ac_fn_c_check_decl "$LINENO" "B1152000" "ac_cv_have_decl_B1152000" "#include <termios.h>
4296 "
4297 if test "x$ac_cv_have_decl_B1152000" = xyes; then :
4298   tio_have_decl=1
4299 else
4300   tio_have_decl=0
4301 fi
4302
4303         if test $tio_have_decl = 1; then :
4304
4305             BAUDRATES="$BAUDRATES 1152000"
4306
4307             BAUDRATE_CASES="$BAUDRATE_CASES case 1152000: baudrate = B1152000; break;"
4308
4309
4310 fi
4311
4312
4313         ac_fn_c_check_decl "$LINENO" "B1500000" "ac_cv_have_decl_B1500000" "#include <termios.h>
4314 "
4315 if test "x$ac_cv_have_decl_B1500000" = xyes; then :
4316   tio_have_decl=1
4317 else
4318   tio_have_decl=0
4319 fi
4320
4321         if test $tio_have_decl = 1; then :
4322
4323             BAUDRATES="$BAUDRATES 1500000"
4324
4325             BAUDRATE_CASES="$BAUDRATE_CASES case 1500000: baudrate = B1500000; break;"
4326
4327
4328 fi
4329
4330
4331         ac_fn_c_check_decl "$LINENO" "B2000000" "ac_cv_have_decl_B2000000" "#include <termios.h>
4332 "
4333 if test "x$ac_cv_have_decl_B2000000" = xyes; then :
4334   tio_have_decl=1
4335 else
4336   tio_have_decl=0
4337 fi
4338
4339         if test $tio_have_decl = 1; then :
4340
4341             BAUDRATES="$BAUDRATES 2000000"
4342
4343             BAUDRATE_CASES="$BAUDRATE_CASES case 2000000: baudrate = B2000000; break;"
4344
4345
4346 fi
4347
4348
4349         ac_fn_c_check_decl "$LINENO" "B2500000" "ac_cv_have_decl_B2500000" "#include <termios.h>
4350 "
4351 if test "x$ac_cv_have_decl_B2500000" = xyes; then :
4352   tio_have_decl=1
4353 else
4354   tio_have_decl=0
4355 fi
4356
4357         if test $tio_have_decl = 1; then :
4358
4359             BAUDRATES="$BAUDRATES 2500000"
4360
4361             BAUDRATE_CASES="$BAUDRATE_CASES case 2500000: baudrate = B2500000; break;"
4362
4363
4364 fi
4365
4366
4367         ac_fn_c_check_decl "$LINENO" "B3000000" "ac_cv_have_decl_B3000000" "#include <termios.h>
4368 "
4369 if test "x$ac_cv_have_decl_B3000000" = xyes; then :
4370   tio_have_decl=1
4371 else
4372   tio_have_decl=0
4373 fi
4374
4375         if test $tio_have_decl = 1; then :
4376
4377             BAUDRATES="$BAUDRATES 3000000"
4378
4379             BAUDRATE_CASES="$BAUDRATE_CASES case 3000000: baudrate = B3000000; break;"
4380
4381
4382 fi
4383
4384
4385         ac_fn_c_check_decl "$LINENO" "B3500000" "ac_cv_have_decl_B3500000" "#include <termios.h>
4386 "
4387 if test "x$ac_cv_have_decl_B3500000" = xyes; then :
4388   tio_have_decl=1
4389 else
4390   tio_have_decl=0
4391 fi
4392
4393         if test $tio_have_decl = 1; then :
4394
4395             BAUDRATES="$BAUDRATES 3500000"
4396
4397             BAUDRATE_CASES="$BAUDRATE_CASES case 3500000: baudrate = B3500000; break;"
4398
4399
4400 fi
4401
4402
4403         ac_fn_c_check_decl "$LINENO" "B4000000" "ac_cv_have_decl_B4000000" "#include <termios.h>
4404 "
4405 if test "x$ac_cv_have_decl_B4000000" = xyes; then :
4406   tio_have_decl=1
4407 else
4408   tio_have_decl=0
4409 fi
4410
4411         if test $tio_have_decl = 1; then :
4412
4413             BAUDRATES="$BAUDRATES 4000000"
4414
4415             BAUDRATE_CASES="$BAUDRATE_CASES case 4000000: baudrate = B4000000; break;"
4416
4417
4418 fi
4419
4420
4421
4422
4423
4424 cat >>confdefs.h <<_ACEOF
4425 #define AUTOCONF_BAUDRATE_CASES $BAUDRATE_CASES
4426 _ACEOF
4427
4428
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>
4431 "
4432 if test "x$ac_cv_have_decl_TCGETS2" = xyes; then :
4433
4434 $as_echo "#define HAVE_TERMIOS2 1" >>confdefs.h
4435  have_termios2=yes
4436 fi
4437
4438  if test "x$have_termios2" == "xyes"; then
4439   ADD_SETSPEED2_TRUE=
4440   ADD_SETSPEED2_FALSE='#'
4441 else
4442   ADD_SETSPEED2_TRUE='#'
4443   ADD_SETSPEED2_FALSE=
4444 fi
4445
4446
4447 ac_config_files="$ac_config_files Makefile"
4448
4449 ac_config_files="$ac_config_files src/Makefile"
4450
4451 ac_config_files="$ac_config_files src/bash-completion/tio"
4452
4453 ac_config_files="$ac_config_files man/Makefile"
4454
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.
4461 #
4462 # config.status only pays attention to the cache file if you give it
4463 # the --recheck option to rerun configure.
4464 #
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
4467 # following values.
4468
4469 _ACEOF
4470
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.
4476 (
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
4479     case $ac_val in #(
4480     *${as_nl}*)
4481       case $ac_var in #(
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;} ;;
4484       esac
4485       case $ac_var in #(
4486       _ | IFS | as_nl) ;; #(
4487       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4488       *) { eval $ac_var=; unset $ac_var;} ;;
4489       esac ;;
4490     esac
4491   done
4492
4493   (set) 2>&1 |
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 \.
4498       sed -n \
4499         "s/'/'\\\\''/g;
4500           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4501       ;; #(
4502     *)
4503       # `set' quotes correctly as required by POSIX, so do not add quotes.
4504       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4505       ;;
4506     esac |
4507     sort
4508 ) |
4509   sed '
4510      /^ac_cv_env_/b end
4511      t clear
4512      :clear
4513      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4514      t end
4515      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4516      :end' >>confcache
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"
4524       else
4525         case $cache_file in #(
4526         */* | ?:*)
4527           mv -f confcache "$cache_file"$$ &&
4528           mv -f "$cache_file"$$ "$cache_file" ;; #(
4529         *)
4530           mv -f confcache "$cache_file" ;;
4531         esac
4532       fi
4533     fi
4534   else
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;}
4537   fi
4538 fi
4539 rm -f confcache
4540
4541 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4542 # Let make expand exec_prefix.
4543 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4544
4545 DEFS=-DHAVE_CONFIG_H
4546
4547 ac_libobjs=
4548 ac_ltlibobjs=
4549 U=
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'
4558 done
4559 LIBOBJS=$ac_libobjs
4560
4561 LTLIBOBJS=$ac_ltlibobjs
4562
4563
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
4569    fi
4570    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4571 $as_echo "done" >&6; }
4572  if test -n "$EXEEXT"; then
4573   am__EXEEXT_TRUE=
4574   am__EXEEXT_FALSE='#'
4575 else
4576   am__EXEEXT_TRUE='#'
4577   am__EXEEXT_FALSE=
4578 fi
4579
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
4583 fi
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
4587 fi
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
4591 fi
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
4595 fi
4596
4597 : "${CONFIG_STATUS=./config.status}"
4598 ac_write_fail=0
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;}
4603 as_write_fail=0
4604 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4605 #! $SHELL
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.
4610
4611 debug=false
4612 ac_cs_recheck=false
4613 ac_cs_silent=false
4614
4615 SHELL=\${CONFIG_SHELL-$SHELL}
4616 export SHELL
4617 _ASEOF
4618 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4619 ## -------------------- ##
4620 ## M4sh Initialization. ##
4621 ## -------------------- ##
4622
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 :
4626   emulate sh
4627   NULLCMD=:
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
4632 else
4633   case `(set -o) 2>/dev/null` in #(
4634   *posix*) :
4635     set -o posix ;; #(
4636   *) :
4637      ;;
4638 esac
4639 fi
4640
4641
4642 as_nl='
4643 '
4644 export as_nl
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'
4658 else
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'
4662   else
4663     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4664     as_echo_n_body='eval
4665       arg=$1;
4666       case $arg in #(
4667       *"$as_nl"*)
4668         expr "X$arg" : "X\\(.*\\)$as_nl";
4669         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4670       esac;
4671       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4672     '
4673     export as_echo_n_body
4674     as_echo_n='sh -c $as_echo_n_body as_echo'
4675   fi
4676   export as_echo_body
4677   as_echo='sh -c $as_echo_body as_echo'
4678 fi
4679
4680 # The user is always right.
4681 if test "${PATH_SEPARATOR+set}" != set; then
4682   PATH_SEPARATOR=:
4683   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4684     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4685       PATH_SEPARATOR=';'
4686   }
4687 fi
4688
4689
4690 # IFS
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.)
4695 IFS=" ""        $as_nl"
4696
4697 # Find who we are.  Look in the path if we contain no directory separator.
4698 as_myself=
4699 case $0 in #((
4700   *[\\/]* ) as_myself=$0 ;;
4701   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH
4703 do
4704   IFS=$as_save_IFS
4705   test -z "$as_dir" && as_dir=.
4706     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4707   done
4708 IFS=$as_save_IFS
4709
4710      ;;
4711 esac
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
4715   as_myself=$0
4716 fi
4717 if test ! -f "$as_myself"; then
4718   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4719   exit 1
4720 fi
4721
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 || :
4729 done
4730 PS1='$ '
4731 PS2='> '
4732 PS4='+ '
4733
4734 # NLS nuisances.
4735 LC_ALL=C
4736 export LC_ALL
4737 LANGUAGE=C
4738 export LANGUAGE
4739
4740 # CDPATH.
4741 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4742
4743
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.
4749 as_fn_error ()
4750 {
4751   as_status=$1; test $as_status -eq 0 && as_status=1
4752   if test "$4"; then
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
4755   fi
4756   $as_echo "$as_me: error: $2" >&2
4757   as_fn_exit $as_status
4758 } # as_fn_error
4759
4760
4761 # as_fn_set_status STATUS
4762 # -----------------------
4763 # Set $? to STATUS, without forking.
4764 as_fn_set_status ()
4765 {
4766   return $1
4767 } # as_fn_set_status
4768
4769 # as_fn_exit STATUS
4770 # -----------------
4771 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4772 as_fn_exit ()
4773 {
4774   set +e
4775   as_fn_set_status $1
4776   exit $1
4777 } # as_fn_exit
4778
4779 # as_fn_unset VAR
4780 # ---------------
4781 # Portably unset VAR.
4782 as_fn_unset ()
4783 {
4784   { eval $1=; unset $1;}
4785 }
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
4792 # implementations.
4793 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4794   eval 'as_fn_append ()
4795   {
4796     eval $1+=\$2
4797   }'
4798 else
4799   as_fn_append ()
4800   {
4801     eval $1=\$$1\$2
4802   }
4803 fi # as_fn_append
4804
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 ()
4812   {
4813     as_val=$(( $* ))
4814   }'
4815 else
4816   as_fn_arith ()
4817   {
4818     as_val=`expr "$@" || test $? -eq 1`
4819   }
4820 fi # as_fn_arith
4821
4822
4823 if expr a : '\(a\)' >/dev/null 2>&1 &&
4824    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4825   as_expr=expr
4826 else
4827   as_expr=false
4828 fi
4829
4830 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4831   as_basename=basename
4832 else
4833   as_basename=false
4834 fi
4835
4836 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4837   as_dirname=dirname
4838 else
4839   as_dirname=false
4840 fi
4841
4842 as_me=`$as_basename -- "$0" ||
4843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4844          X"$0" : 'X\(//\)$' \| \
4845          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4846 $as_echo X/"$0" |
4847     sed '/^.*\/\([^/][^/]*\)\/*$/{
4848             s//\1/
4849             q
4850           }
4851           /^X\/\(\/\/\)$/{
4852             s//\1/
4853             q
4854           }
4855           /^X\/\(\/\).*/{
4856             s//\1/
4857             q
4858           }
4859           s/.*/./; q'`
4860
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
4867
4868 ECHO_C= ECHO_N= ECHO_T=
4869 case `echo -n x` in #(((((
4870 -n*)
4871   case `echo 'xy\c'` in
4872   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4873   xy)  ECHO_C='\c';;
4874   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4875        ECHO_T=' ';;
4876   esac;;
4877 *)
4878   ECHO_N='-n';;
4879 esac
4880
4881 rm -f conf$$ conf$$.exe conf$$.file
4882 if test -d conf$$.dir; then
4883   rm -f conf$$.dir/conf$$.file
4884 else
4885   rm -f conf$$.dir
4886   mkdir conf$$.dir 2>/dev/null
4887 fi
4888 if (echo >conf$$.file) 2>/dev/null; then
4889   if ln -s conf$$.file conf$$ 2>/dev/null; then
4890     as_ln_s='ln -s'
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 ||
4896       as_ln_s='cp -pR'
4897   elif ln conf$$.file conf$$ 2>/dev/null; then
4898     as_ln_s=ln
4899   else
4900     as_ln_s='cp -pR'
4901   fi
4902 else
4903   as_ln_s='cp -pR'
4904 fi
4905 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4906 rmdir conf$$.dir 2>/dev/null
4907
4908
4909 # as_fn_mkdir_p
4910 # -------------
4911 # Create "$as_dir" as a directory, including parents if necessary.
4912 as_fn_mkdir_p ()
4913 {
4914
4915   case $as_dir in #(
4916   -*) as_dir=./$as_dir;;
4917   esac
4918   test -d "$as_dir" || eval $as_mkdir_p || {
4919     as_dirs=
4920     while :; do
4921       case $as_dir in #(
4922       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4923       *) as_qdir=$as_dir;;
4924       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4933             s//\1/
4934             q
4935           }
4936           /^X\(\/\/\)[^/].*/{
4937             s//\1/
4938             q
4939           }
4940           /^X\(\/\/\)$/{
4941             s//\1/
4942             q
4943           }
4944           /^X\(\/\).*/{
4945             s//\1/
4946             q
4947           }
4948           s/.*/./; q'`
4949       test -d "$as_dir" && break
4950     done
4951     test -z "$as_dirs" || eval "mkdir $as_dirs"
4952   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4953
4954
4955 } # as_fn_mkdir_p
4956 if mkdir -p . 2>/dev/null; then
4957   as_mkdir_p='mkdir -p "$as_dir"'
4958 else
4959   test -d ./-p && rmdir ./-p
4960   as_mkdir_p=false
4961 fi
4962
4963
4964 # as_fn_executable_p FILE
4965 # -----------------------
4966 # Test if FILE is an executable regular file.
4967 as_fn_executable_p ()
4968 {
4969   test -f "$1" && test -x "$1"
4970 } # as_fn_executable_p
4971 as_test_x='test -x'
4972 as_executable_p=as_fn_executable_p
4973
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'"
4976
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'"
4979
4980
4981 exec 6>&1
4982 ## ----------------------------------- ##
4983 ## Main body of $CONFIG_STATUS script. ##
4984 ## ----------------------------------- ##
4985 _ASEOF
4986 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4987
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.
4992 ac_log="
4993 This file was extended by tio $as_me 1.32, which was
4994 generated by GNU Autoconf 2.69.  Invocation command line was
4995
4996   CONFIG_FILES    = $CONFIG_FILES
4997   CONFIG_HEADERS  = $CONFIG_HEADERS
4998   CONFIG_LINKS    = $CONFIG_LINKS
4999   CONFIG_COMMANDS = $CONFIG_COMMANDS
5000   $ $0 $@
5001
5002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5003 "
5004
5005 _ACEOF
5006
5007 case $ac_config_files in *"
5008 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5009 esac
5010
5011 case $ac_config_headers in *"
5012 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5013 esac
5014
5015
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"
5021
5022 _ACEOF
5023
5024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5025 ac_cs_usage="\
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.
5029
5030 Usage: $0 [OPTION]... [TAG]...
5031
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
5043
5044 Configuration files:
5045 $config_files
5046
5047 Configuration headers:
5048 $config_headers
5049
5050 Configuration commands:
5051 $config_commands
5052
5053 Report bugs to the package provider.
5054 tio home page: <https://tio.github.io>."
5055
5056 _ACEOF
5057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5058 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5059 ac_cs_version="\\
5060 tio config.status 1.32
5061 configured by $0, generated by GNU Autoconf 2.69,
5062   with options \\"\$ac_cs_config\\"
5063
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."
5067
5068 ac_pwd='$ac_pwd'
5069 srcdir='$srcdir'
5070 INSTALL='$INSTALL'
5071 MKDIR_P='$MKDIR_P'
5072 AWK='$AWK'
5073 test -n "\$AWK" || AWK=awk
5074 _ACEOF
5075
5076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5077 # The default lists apply if the user does not specify any file.
5078 ac_need_defaults=:
5079 while test $# != 0
5080 do
5081   case $1 in
5082   --*=?*)
5083     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5084     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5085     ac_shift=:
5086     ;;
5087   --*=)
5088     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5089     ac_optarg=
5090     ac_shift=:
5091     ;;
5092   *)
5093     ac_option=$1
5094     ac_optarg=$2
5095     ac_shift=shift
5096     ;;
5097   esac
5098
5099   case $ac_option in
5100   # Handling of the options.
5101   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5102     ac_cs_recheck=: ;;
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 )
5108     debug=: ;;
5109   --file | --fil | --fi | --f )
5110     $ac_shift
5111     case $ac_optarg in
5112     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5113     '') as_fn_error $? "missing file argument" ;;
5114     esac
5115     as_fn_append CONFIG_FILES " '$ac_optarg'"
5116     ac_need_defaults=false;;
5117   --header | --heade | --head | --hea )
5118     $ac_shift
5119     case $ac_optarg in
5120     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5121     esac
5122     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5123     ac_need_defaults=false;;
5124   --he | --h)
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)
5132     ac_cs_silent=: ;;
5133
5134   # This is an error.
5135   -*) as_fn_error $? "unrecognized option: \`$1'
5136 Try \`$0 --help' for more information." ;;
5137
5138   *) as_fn_append ac_config_targets " $1"
5139      ac_need_defaults=false ;;
5140
5141   esac
5142   shift
5143 done
5144
5145 ac_configure_extra_args=
5146
5147 if $ac_cs_silent; then
5148   exec 6>/dev/null
5149   ac_configure_extra_args="$ac_configure_extra_args --silent"
5150 fi
5151
5152 _ACEOF
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
5156   shift
5157   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5158   CONFIG_SHELL='$SHELL'
5159   export CONFIG_SHELL
5160   exec "\$@"
5161 fi
5162
5163 _ACEOF
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5165 exec 5>>config.log
5166 {
5167   echo
5168   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5169 ## Running $as_me. ##
5170 _ASBOX
5171   $as_echo "$ac_log"
5172 } >&5
5173
5174 _ACEOF
5175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5176 #
5177 # INIT-COMMANDS
5178 #
5179 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5180
5181 _ACEOF
5182
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184
5185 # Handling of arguments.
5186 for ac_config_target in $ac_config_targets
5187 do
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" ;;
5195
5196   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5197   esac
5198 done
5199
5200
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
5209 fi
5210
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'.
5217 $debug ||
5218 {
5219   tmp= ac_tmp=
5220   trap 'exit_status=$?
5221   : "${ac_tmp:=$tmp}"
5222   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5223 ' 0
5224   trap 'as_fn_exit 1' 1 2 13 15
5225 }
5226 # Create a (secure) tmp directory for tmp files.
5227
5228 {
5229   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5230   test -d "$tmp"
5231 }  ||
5232 {
5233   tmp=./conf$$-$RANDOM
5234   (umask 077 && mkdir "$tmp")
5235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5236 ac_tmp=$tmp
5237
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
5242
5243
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\'
5250 fi
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
5253   ac_cs_awk_cr='\\r'
5254 else
5255   ac_cs_awk_cr=$ac_cr
5256 fi
5257
5258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5259 _ACEOF
5260
5261
5262 {
5263   echo "cat >conf$$subs.awk <<_ACEOF" &&
5264   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5265   echo "_ACEOF"
5266 } >conf$$subs.sh ||
5267   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5269 ac_delim='%!_!# '
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
5273
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
5276     break
5277   elif $ac_last_try; then
5278     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5279   else
5280     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5281   fi
5282 done
5283 rm -f conf$$subs.sh
5284
5285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5287 _ACEOF
5288 sed -n '
5289 h
5290 s/^/S["/; s/!.*/"]=/
5291 p
5292 g
5293 s/^[^!]*!//
5294 :repl
5295 t repl
5296 s/'"$ac_delim"'$//
5297 t delim
5298 :nl
5299 h
5300 s/\(.\{148\}\)..*/\1/
5301 t more1
5302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5303 p
5304 n
5305 b repl
5306 :more1
5307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5308 p
5309 g
5310 s/.\{148\}//
5311 t nl
5312 :delim
5313 h
5314 s/\(.\{148\}\)..*/\1/
5315 t more2
5316 s/["\\]/\\&/g; s/^/"/; s/$/"/
5317 p
5318 b
5319 :more2
5320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5321 p
5322 g
5323 s/.\{148\}//
5324 t delim
5325 ' <conf$$subs.awk | sed '
5326 /^[^""]/{
5327   N
5328   s/\n//
5329 }
5330 ' >>$CONFIG_STATUS || ac_write_fail=1
5331 rm -f conf$$subs.awk
5332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5333 _ACAWK
5334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5335   for (key in S) S_is_set[key] = 1
5336   FS = "\a"
5337
5338 }
5339 {
5340   line = $ 0
5341   nfields = split(line, field, "@")
5342   substed = 0
5343   len = length(field[1])
5344   for (i = 2; i < nfields; i++) {
5345     key = field[i]
5346     keylen = length(key)
5347     if (S_is_set[key]) {
5348       value = S[key]
5349       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5350       len += length(value) + length(field[++i])
5351       substed = 1
5352     } else
5353       len += 1 + keylen
5354   }
5355
5356   print line
5357 }
5358
5359 _ACAWK
5360 _ACEOF
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"
5364 else
5365   cat
5366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5367   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5368 _ACEOF
5369
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[        ]*=[    ]*/{
5376 h
5377 s///
5378 s/^/:/
5379 s/[      ]*$/:/
5380 s/:\$(srcdir):/:/g
5381 s/:\${srcdir}:/:/g
5382 s/:@srcdir@:/:/g
5383 s/^:*//
5384 s/:*$//
5385 x
5386 s/\(=[   ]*\).*/\1/
5387 G
5388 s/\n//
5389 s/^[^=]*=[       ]*$//
5390 }'
5391 fi
5392
5393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5394 fi # test -n "$CONFIG_FILES"
5395
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 ||
5401 BEGIN {
5402 _ACEOF
5403
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.
5407
5408 # Create a delimiter string that does not exist in confdefs.h, to ease
5409 # handling of long lines.
5410 ac_delim='%!_!# '
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
5414     break
5415   elif $ac_last_try; then
5416     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5417   else
5418     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5419   fi
5420 done
5421
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.
5425
5426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5427 sed -n '
5428 s/.\{148\}/&'"$ac_delim"'/g
5429 t rset
5430 :rset
5431 s/^[     ]*#[    ]*define[       ][      ]*/ /
5432 t def
5433 d
5434 :def
5435 s/\\$//
5436 t bsnl
5437 s/["\\]/\\&/g
5438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5439 D["\1"]=" \3"/p
5440 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5441 d
5442 :bsnl
5443 s/["\\]/\\&/g
5444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5445 D["\1"]=" \3\\\\\\n"\\/p
5446 t cont
5447 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5448 t cont
5449 d
5450 :cont
5451 n
5452 s/.\{148\}/&'"$ac_delim"'/g
5453 t clear
5454 :clear
5455 s/\\$//
5456 t bsnlc
5457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5458 d
5459 :bsnlc
5460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5461 b cont
5462 ' <confdefs.h | sed '
5463 s/'"$ac_delim"'/"\\\
5464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5465
5466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5467   for (key in D) D_is_set[key] = 1
5468   FS = "\a"
5469 }
5470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5471   line = \$ 0
5472   split(line, arg, " ")
5473   if (arg[1] == "#") {
5474     defundef = arg[2]
5475     mac1 = arg[3]
5476   } else {
5477     defundef = substr(arg[1], 2)
5478     mac1 = arg[2]
5479   }
5480   split(mac1, mac2, "(") #)
5481   macro = mac2[1]
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]
5486     next
5487   } else {
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, "*/"
5493       next
5494     }
5495   }
5496 }
5497 { print }
5498 _ACAWK
5499 _ACEOF
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"
5503
5504
5505 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5506 shift
5507 for ac_tag
5508 do
5509   case $ac_tag in
5510   :[FHLC]) ac_mode=$ac_tag; continue;;
5511   esac
5512   case $ac_mode$ac_tag in
5513   :[FHL]*:*);;
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;;
5517   esac
5518   ac_save_IFS=$IFS
5519   IFS=:
5520   set x $ac_tag
5521   IFS=$ac_save_IFS
5522   shift
5523   ac_file=$1
5524   shift
5525
5526   case $ac_mode in
5527   :L) ac_source=$1;;
5528   :[FH])
5529     ac_file_inputs=
5530     for ac_f
5531     do
5532       case $ac_f 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 `:'.
5537          test -f "$ac_f" ||
5538            case $ac_f in
5539            [\\/$]*) false;;
5540            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5541            esac ||
5542            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5543       esac
5544       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5545       as_fn_append ac_file_inputs " '$ac_f'"
5546     done
5547
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'
5553         `' by configure.'
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;}
5558     fi
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;;
5565     esac
5566
5567     case $ac_tag in
5568     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5569       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5570     esac
5571     ;;
5572   esac
5573
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5581             s//\1/
5582             q
5583           }
5584           /^X\(\/\/\)[^/].*/{
5585             s//\1/
5586             q
5587           }
5588           /^X\(\/\/\)$/{
5589             s//\1/
5590             q
5591           }
5592           /^X\(\/\).*/{
5593             s//\1/
5594             q
5595           }
5596           s/.*/./; q'`
5597   as_dir="$ac_dir"; as_fn_mkdir_p
5598   ac_builddir=.
5599
5600 case "$ac_dir" in
5601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5602 *)
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/ ;;
5609   esac ;;
5610 esac
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
5615
5616 case $srcdir in
5617   .)  # We are building in place.
5618     ac_srcdir=.
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 ;;
5625   *) # Relative name.
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 ;;
5629 esac
5630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5631
5632
5633   case $ac_mode in
5634   :F)
5635   #
5636   # CONFIG_FILE
5637   #
5638
5639   case $INSTALL in
5640   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5641   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5642   esac
5643   ac_MKDIR_P=$MKDIR_P
5644   case $MKDIR_P in
5645   [\\/$]* | ?:[\\/]* ) ;;
5646   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5647   esac
5648 _ACEOF
5649
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=
5654 ac_sed_dataroot='
5655 /datarootdir/ {
5656   p
5657   q
5658 }
5659 /@datadir@/p
5660 /@docdir@/p
5661 /@infodir@/p
5662 /@localedir@/p
5663 /@mandir@/p'
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;}
5669 _ACEOF
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' ;;
5678 esac
5679 _ACEOF
5680
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
5686 $extrasub
5687 _ACEOF
5688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5689 :t
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
5704 "
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
5707
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;}
5716
5717   rm -f "$ac_tmp/stdin"
5718   case $ac_file in
5719   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5720   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5721   esac \
5722   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5723  ;;
5724   :H)
5725   #
5726   # CONFIG_HEADER
5727   #
5728   if test x"$ac_file" != x-; then
5729     {
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;}
5737     else
5738       rm -f "$ac_file"
5739       mv "$ac_tmp/config.h" "$ac_file" \
5740         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5741     fi
5742   else
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
5746   fi
5747 # Compute "$ac_file"'s index in $config_headers.
5748 _am_arg="$ac_file"
5749 _am_stamp_count=1
5750 for _am_header in $config_headers :; do
5751   case $_am_header in
5752     $_am_arg | $_am_arg:* )
5753       break ;;
5754     * )
5755       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5756   esac
5757 done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5765             s//\1/
5766             q
5767           }
5768           /^X\(\/\/\)[^/].*/{
5769             s//\1/
5770             q
5771           }
5772           /^X\(\/\/\)$/{
5773             s//\1/
5774             q
5775           }
5776           /^X\(\/\).*/{
5777             s//\1/
5778             q
5779           }
5780           s/.*/./; q'`/stamp-h$_am_stamp_count
5781  ;;
5782
5783   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5784 $as_echo "$as_me: executing $ac_file commands" >&6;}
5785  ;;
5786   esac
5787
5788
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 #(
5797   *\'*) :
5798     eval set x "$CONFIG_FILES" ;; #(
5799   *) :
5800     set x $CONFIG_FILES ;; #(
5801   *) :
5802      ;;
5803 esac
5804   shift
5805   # Used to flag and report bootstrapping failures.
5806   am_rc=0
5807   for am_mf
5808   do
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 \
5816       || continue
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5824             s//\1/
5825             q
5826           }
5827           /^X\(\/\/\)[^/].*/{
5828             s//\1/
5829             q
5830           }
5831           /^X\(\/\/\)$/{
5832             s//\1/
5833             q
5834           }
5835           /^X\(\/\).*/{
5836             s//\1/
5837             q
5838           }
5839           s/.*/./; q'`
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 '/^.*\/\([^/][^/]*\)\/*$/{
5846             s//\1/
5847             q
5848           }
5849           /^X\/\(\/\/\)$/{
5850             s//\1/
5851             q
5852           }
5853           /^X\/\(\/\).*/{
5854             s//\1/
5855             q
5856           }
5857           s/.*/./; q'`
5858     { echo "$as_me:$LINENO: cd "$am_dirpart" \
5859       && sed -e '/# am--include-marker/d' "$am_filepart" \
5860         | $MAKE -f - am--depfiles" >&5
5861    (cd "$am_dirpart" \
5862       && sed -e '/# am--include-marker/d' "$am_filepart" \
5863         | $MAKE -f - am--depfiles) >&5 2>&5
5864    ac_status=$?
5865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866    (exit $ac_status); } || am_rc=$?
5867   done
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; }
5876   fi
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
5882 }
5883  ;;
5884
5885   esac
5886 done # for ac_tag
5887
5888
5889 as_fn_exit 0
5890 _ACEOF
5891 ac_clean_files=$ac_clean_files_save
5892
5893 test $ac_write_fail = 0 ||
5894   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5895
5896
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
5906   ac_cs_success=:
5907   ac_config_status_args=
5908   test "$silent" = yes &&
5909     ac_config_status_args="$ac_config_status_args --quiet"
5910   exec 5>/dev/null
5911   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5912   exec 5>>config.log
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
5916 fi
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;}
5920 fi
5921