]> git.sur5r.net Git - tio/blob - configure
New upstream version 1.24
[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.24.
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.24'
580 PACKAGE_STRING='tio 1.24'
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 BAUDRATE_CASES
589 BAUDRATES
590 ENABLE_BASH_COMPLETION_FALSE
591 ENABLE_BASH_COMPLETION_TRUE
592 BASH_COMPLETION_DIR
593 PKG_CONFIG_LIBDIR
594 PKG_CONFIG_PATH
595 PKG_CONFIG
596 am__fastdepCC_FALSE
597 am__fastdepCC_TRUE
598 CCDEPMODE
599 am__nodep
600 AMDEPBACKSLASH
601 AMDEP_FALSE
602 AMDEP_TRUE
603 am__quote
604 am__include
605 DEPDIR
606 OBJEXT
607 EXEEXT
608 ac_ct_CC
609 CPPFLAGS
610 LDFLAGS
611 CFLAGS
612 CC
613 AM_BACKSLASH
614 AM_DEFAULT_VERBOSITY
615 AM_DEFAULT_V
616 AM_V
617 am__untar
618 am__tar
619 AMTAR
620 am__leading_dot
621 SET_MAKE
622 AWK
623 mkdir_p
624 MKDIR_P
625 INSTALL_STRIP_PROGRAM
626 STRIP
627 install_sh
628 MAKEINFO
629 AUTOHEADER
630 AUTOMAKE
631 AUTOCONF
632 ACLOCAL
633 VERSION
634 PACKAGE
635 CYGPATH_W
636 am__isrc
637 INSTALL_DATA
638 INSTALL_SCRIPT
639 INSTALL_PROGRAM
640 target_alias
641 host_alias
642 build_alias
643 LIBS
644 ECHO_T
645 ECHO_N
646 ECHO_C
647 DEFS
648 mandir
649 localedir
650 libdir
651 psdir
652 pdfdir
653 dvidir
654 htmldir
655 infodir
656 docdir
657 oldincludedir
658 includedir
659 runstatedir
660 localstatedir
661 sharedstatedir
662 sysconfdir
663 datadir
664 datarootdir
665 libexecdir
666 sbindir
667 bindir
668 program_transform_name
669 prefix
670 exec_prefix
671 PACKAGE_URL
672 PACKAGE_BUGREPORT
673 PACKAGE_STRING
674 PACKAGE_VERSION
675 PACKAGE_TARNAME
676 PACKAGE_NAME
677 PATH_SEPARATOR
678 SHELL'
679 ac_subst_files=''
680 ac_user_opts='
681 enable_option_checking
682 enable_silent_rules
683 enable_dependency_tracking
684 enable_largefile
685 with_bash_completion_dir
686 '
687       ac_precious_vars='build_alias
688 host_alias
689 target_alias
690 CC
691 CFLAGS
692 LDFLAGS
693 LIBS
694 CPPFLAGS
695 PKG_CONFIG
696 PKG_CONFIG_PATH
697 PKG_CONFIG_LIBDIR'
698
699
700 # Initialize some variables set by options.
701 ac_init_help=
702 ac_init_version=false
703 ac_unrecognized_opts=
704 ac_unrecognized_sep=
705 # The variables have the same names as the options, with
706 # dashes changed to underlines.
707 cache_file=/dev/null
708 exec_prefix=NONE
709 no_create=
710 no_recursion=
711 prefix=NONE
712 program_prefix=NONE
713 program_suffix=NONE
714 program_transform_name=s,x,x,
715 silent=
716 site=
717 srcdir=
718 verbose=
719 x_includes=NONE
720 x_libraries=NONE
721
722 # Installation directory options.
723 # These are left unexpanded so users can "make install exec_prefix=/foo"
724 # and all the variables that are supposed to be based on exec_prefix
725 # by default will actually change.
726 # Use braces instead of parens because sh, perl, etc. also accept them.
727 # (The list follows the same order as the GNU Coding Standards.)
728 bindir='${exec_prefix}/bin'
729 sbindir='${exec_prefix}/sbin'
730 libexecdir='${exec_prefix}/libexec'
731 datarootdir='${prefix}/share'
732 datadir='${datarootdir}'
733 sysconfdir='${prefix}/etc'
734 sharedstatedir='${prefix}/com'
735 localstatedir='${prefix}/var'
736 runstatedir='${localstatedir}/run'
737 includedir='${prefix}/include'
738 oldincludedir='/usr/include'
739 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
740 infodir='${datarootdir}/info'
741 htmldir='${docdir}'
742 dvidir='${docdir}'
743 pdfdir='${docdir}'
744 psdir='${docdir}'
745 libdir='${exec_prefix}/lib'
746 localedir='${datarootdir}/locale'
747 mandir='${datarootdir}/man'
748
749 ac_prev=
750 ac_dashdash=
751 for ac_option
752 do
753   # If the previous option needs an argument, assign it.
754   if test -n "$ac_prev"; then
755     eval $ac_prev=\$ac_option
756     ac_prev=
757     continue
758   fi
759
760   case $ac_option in
761   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
762   *=)   ac_optarg= ;;
763   *)    ac_optarg=yes ;;
764   esac
765
766   # Accept the important Cygnus configure options, so we can diagnose typos.
767
768   case $ac_dashdash$ac_option in
769   --)
770     ac_dashdash=yes ;;
771
772   -bindir | --bindir | --bindi | --bind | --bin | --bi)
773     ac_prev=bindir ;;
774   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
775     bindir=$ac_optarg ;;
776
777   -build | --build | --buil | --bui | --bu)
778     ac_prev=build_alias ;;
779   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
780     build_alias=$ac_optarg ;;
781
782   -cache-file | --cache-file | --cache-fil | --cache-fi \
783   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
784     ac_prev=cache_file ;;
785   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
786   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
787     cache_file=$ac_optarg ;;
788
789   --config-cache | -C)
790     cache_file=config.cache ;;
791
792   -datadir | --datadir | --datadi | --datad)
793     ac_prev=datadir ;;
794   -datadir=* | --datadir=* | --datadi=* | --datad=*)
795     datadir=$ac_optarg ;;
796
797   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
798   | --dataroo | --dataro | --datar)
799     ac_prev=datarootdir ;;
800   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
801   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
802     datarootdir=$ac_optarg ;;
803
804   -disable-* | --disable-*)
805     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
806     # Reject names that are not valid shell variable names.
807     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808       as_fn_error $? "invalid feature name: $ac_useropt"
809     ac_useropt_orig=$ac_useropt
810     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811     case $ac_user_opts in
812       *"
813 "enable_$ac_useropt"
814 "*) ;;
815       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
816          ac_unrecognized_sep=', ';;
817     esac
818     eval enable_$ac_useropt=no ;;
819
820   -docdir | --docdir | --docdi | --doc | --do)
821     ac_prev=docdir ;;
822   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
823     docdir=$ac_optarg ;;
824
825   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
826     ac_prev=dvidir ;;
827   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
828     dvidir=$ac_optarg ;;
829
830   -enable-* | --enable-*)
831     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
832     # Reject names that are not valid shell variable names.
833     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
834       as_fn_error $? "invalid feature name: $ac_useropt"
835     ac_useropt_orig=$ac_useropt
836     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
837     case $ac_user_opts in
838       *"
839 "enable_$ac_useropt"
840 "*) ;;
841       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
842          ac_unrecognized_sep=', ';;
843     esac
844     eval enable_$ac_useropt=\$ac_optarg ;;
845
846   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
847   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
848   | --exec | --exe | --ex)
849     ac_prev=exec_prefix ;;
850   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
851   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
852   | --exec=* | --exe=* | --ex=*)
853     exec_prefix=$ac_optarg ;;
854
855   -gas | --gas | --ga | --g)
856     # Obsolete; use --with-gas.
857     with_gas=yes ;;
858
859   -help | --help | --hel | --he | -h)
860     ac_init_help=long ;;
861   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
862     ac_init_help=recursive ;;
863   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
864     ac_init_help=short ;;
865
866   -host | --host | --hos | --ho)
867     ac_prev=host_alias ;;
868   -host=* | --host=* | --hos=* | --ho=*)
869     host_alias=$ac_optarg ;;
870
871   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
872     ac_prev=htmldir ;;
873   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
874   | --ht=*)
875     htmldir=$ac_optarg ;;
876
877   -includedir | --includedir | --includedi | --included | --include \
878   | --includ | --inclu | --incl | --inc)
879     ac_prev=includedir ;;
880   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
881   | --includ=* | --inclu=* | --incl=* | --inc=*)
882     includedir=$ac_optarg ;;
883
884   -infodir | --infodir | --infodi | --infod | --info | --inf)
885     ac_prev=infodir ;;
886   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
887     infodir=$ac_optarg ;;
888
889   -libdir | --libdir | --libdi | --libd)
890     ac_prev=libdir ;;
891   -libdir=* | --libdir=* | --libdi=* | --libd=*)
892     libdir=$ac_optarg ;;
893
894   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
895   | --libexe | --libex | --libe)
896     ac_prev=libexecdir ;;
897   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
898   | --libexe=* | --libex=* | --libe=*)
899     libexecdir=$ac_optarg ;;
900
901   -localedir | --localedir | --localedi | --localed | --locale)
902     ac_prev=localedir ;;
903   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
904     localedir=$ac_optarg ;;
905
906   -localstatedir | --localstatedir | --localstatedi | --localstated \
907   | --localstate | --localstat | --localsta | --localst | --locals)
908     ac_prev=localstatedir ;;
909   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
910   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
911     localstatedir=$ac_optarg ;;
912
913   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
914     ac_prev=mandir ;;
915   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
916     mandir=$ac_optarg ;;
917
918   -nfp | --nfp | --nf)
919     # Obsolete; use --without-fp.
920     with_fp=no ;;
921
922   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
923   | --no-cr | --no-c | -n)
924     no_create=yes ;;
925
926   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
927   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
928     no_recursion=yes ;;
929
930   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
931   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
932   | --oldin | --oldi | --old | --ol | --o)
933     ac_prev=oldincludedir ;;
934   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
935   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
936   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
937     oldincludedir=$ac_optarg ;;
938
939   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
940     ac_prev=prefix ;;
941   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
942     prefix=$ac_optarg ;;
943
944   -program-prefix | --program-prefix | --program-prefi | --program-pref \
945   | --program-pre | --program-pr | --program-p)
946     ac_prev=program_prefix ;;
947   -program-prefix=* | --program-prefix=* | --program-prefi=* \
948   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
949     program_prefix=$ac_optarg ;;
950
951   -program-suffix | --program-suffix | --program-suffi | --program-suff \
952   | --program-suf | --program-su | --program-s)
953     ac_prev=program_suffix ;;
954   -program-suffix=* | --program-suffix=* | --program-suffi=* \
955   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
956     program_suffix=$ac_optarg ;;
957
958   -program-transform-name | --program-transform-name \
959   | --program-transform-nam | --program-transform-na \
960   | --program-transform-n | --program-transform- \
961   | --program-transform | --program-transfor \
962   | --program-transfo | --program-transf \
963   | --program-trans | --program-tran \
964   | --progr-tra | --program-tr | --program-t)
965     ac_prev=program_transform_name ;;
966   -program-transform-name=* | --program-transform-name=* \
967   | --program-transform-nam=* | --program-transform-na=* \
968   | --program-transform-n=* | --program-transform-=* \
969   | --program-transform=* | --program-transfor=* \
970   | --program-transfo=* | --program-transf=* \
971   | --program-trans=* | --program-tran=* \
972   | --progr-tra=* | --program-tr=* | --program-t=*)
973     program_transform_name=$ac_optarg ;;
974
975   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
976     ac_prev=pdfdir ;;
977   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
978     pdfdir=$ac_optarg ;;
979
980   -psdir | --psdir | --psdi | --psd | --ps)
981     ac_prev=psdir ;;
982   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
983     psdir=$ac_optarg ;;
984
985   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
986   | -silent | --silent | --silen | --sile | --sil)
987     silent=yes ;;
988
989   -runstatedir | --runstatedir | --runstatedi | --runstated \
990   | --runstate | --runstat | --runsta | --runst | --runs \
991   | --run | --ru | --r)
992     ac_prev=runstatedir ;;
993   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
994   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
995   | --run=* | --ru=* | --r=*)
996     runstatedir=$ac_optarg ;;
997
998   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
999     ac_prev=sbindir ;;
1000   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1001   | --sbi=* | --sb=*)
1002     sbindir=$ac_optarg ;;
1003
1004   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006   | --sharedst | --shareds | --shared | --share | --shar \
1007   | --sha | --sh)
1008     ac_prev=sharedstatedir ;;
1009   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1012   | --sha=* | --sh=*)
1013     sharedstatedir=$ac_optarg ;;
1014
1015   -site | --site | --sit)
1016     ac_prev=site ;;
1017   -site=* | --site=* | --sit=*)
1018     site=$ac_optarg ;;
1019
1020   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1021     ac_prev=srcdir ;;
1022   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023     srcdir=$ac_optarg ;;
1024
1025   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026   | --syscon | --sysco | --sysc | --sys | --sy)
1027     ac_prev=sysconfdir ;;
1028   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030     sysconfdir=$ac_optarg ;;
1031
1032   -target | --target | --targe | --targ | --tar | --ta | --t)
1033     ac_prev=target_alias ;;
1034   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035     target_alias=$ac_optarg ;;
1036
1037   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1038     verbose=yes ;;
1039
1040   -version | --version | --versio | --versi | --vers | -V)
1041     ac_init_version=: ;;
1042
1043   -with-* | --with-*)
1044     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045     # Reject names that are not valid shell variable names.
1046     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047       as_fn_error $? "invalid package name: $ac_useropt"
1048     ac_useropt_orig=$ac_useropt
1049     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050     case $ac_user_opts in
1051       *"
1052 "with_$ac_useropt"
1053 "*) ;;
1054       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1055          ac_unrecognized_sep=', ';;
1056     esac
1057     eval with_$ac_useropt=\$ac_optarg ;;
1058
1059   -without-* | --without-*)
1060     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1061     # Reject names that are not valid shell variable names.
1062     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063       as_fn_error $? "invalid package name: $ac_useropt"
1064     ac_useropt_orig=$ac_useropt
1065     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1066     case $ac_user_opts in
1067       *"
1068 "with_$ac_useropt"
1069 "*) ;;
1070       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1071          ac_unrecognized_sep=', ';;
1072     esac
1073     eval with_$ac_useropt=no ;;
1074
1075   --x)
1076     # Obsolete; use --with-x.
1077     with_x=yes ;;
1078
1079   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1080   | --x-incl | --x-inc | --x-in | --x-i)
1081     ac_prev=x_includes ;;
1082   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1083   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1084     x_includes=$ac_optarg ;;
1085
1086   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1087   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1088     ac_prev=x_libraries ;;
1089   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1090   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091     x_libraries=$ac_optarg ;;
1092
1093   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1094 Try \`$0 --help' for more information"
1095     ;;
1096
1097   *=*)
1098     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1099     # Reject names that are not valid shell variable names.
1100     case $ac_envvar in #(
1101       '' | [0-9]* | *[!_$as_cr_alnum]* )
1102       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1103     esac
1104     eval $ac_envvar=\$ac_optarg
1105     export $ac_envvar ;;
1106
1107   *)
1108     # FIXME: should be removed in autoconf 3.0.
1109     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1113     ;;
1114
1115   esac
1116 done
1117
1118 if test -n "$ac_prev"; then
1119   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120   as_fn_error $? "missing argument to $ac_option"
1121 fi
1122
1123 if test -n "$ac_unrecognized_opts"; then
1124   case $enable_option_checking in
1125     no) ;;
1126     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1127     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1128   esac
1129 fi
1130
1131 # Check all directory arguments for consistency.
1132 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133                 datadir sysconfdir sharedstatedir localstatedir includedir \
1134                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135                 libdir localedir mandir runstatedir
1136 do
1137   eval ac_val=\$$ac_var
1138   # Remove trailing slashes.
1139   case $ac_val in
1140     */ )
1141       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1142       eval $ac_var=\$ac_val;;
1143   esac
1144   # Be sure to have absolute directory names.
1145   case $ac_val in
1146     [\\/$]* | ?:[\\/]* )  continue;;
1147     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1148   esac
1149   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1150 done
1151
1152 # There might be people who depend on the old broken behavior: `$host'
1153 # used to hold the argument of --host etc.
1154 # FIXME: To remove some day.
1155 build=$build_alias
1156 host=$host_alias
1157 target=$target_alias
1158
1159 # FIXME: To remove some day.
1160 if test "x$host_alias" != x; then
1161   if test "x$build_alias" = x; then
1162     cross_compiling=maybe
1163   elif test "x$build_alias" != "x$host_alias"; then
1164     cross_compiling=yes
1165   fi
1166 fi
1167
1168 ac_tool_prefix=
1169 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1170
1171 test "$silent" = yes && exec 6>/dev/null
1172
1173
1174 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1175 ac_ls_di=`ls -di .` &&
1176 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1177   as_fn_error $? "working directory cannot be determined"
1178 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1179   as_fn_error $? "pwd does not report name of working directory"
1180
1181
1182 # Find the source files, if location was not specified.
1183 if test -z "$srcdir"; then
1184   ac_srcdir_defaulted=yes
1185   # Try the directory containing this script, then the parent directory.
1186   ac_confdir=`$as_dirname -- "$as_myself" ||
1187 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1188          X"$as_myself" : 'X\(//\)[^/]' \| \
1189          X"$as_myself" : 'X\(//\)$' \| \
1190          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1191 $as_echo X"$as_myself" |
1192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1193             s//\1/
1194             q
1195           }
1196           /^X\(\/\/\)[^/].*/{
1197             s//\1/
1198             q
1199           }
1200           /^X\(\/\/\)$/{
1201             s//\1/
1202             q
1203           }
1204           /^X\(\/\).*/{
1205             s//\1/
1206             q
1207           }
1208           s/.*/./; q'`
1209   srcdir=$ac_confdir
1210   if test ! -r "$srcdir/$ac_unique_file"; then
1211     srcdir=..
1212   fi
1213 else
1214   ac_srcdir_defaulted=no
1215 fi
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1217   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1218   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1219 fi
1220 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221 ac_abs_confdir=`(
1222         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1223         pwd)`
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1226   srcdir=.
1227 fi
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1231 case $srcdir in
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1233 esac
1234 for ac_var in $ac_precious_vars; do
1235   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236   eval ac_env_${ac_var}_value=\$${ac_var}
1237   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1239 done
1240
1241 #
1242 # Report the --help message.
1243 #
1244 if test "$ac_init_help" = "long"; then
1245   # Omit some internal or obsolete options to make the list less imposing.
1246   # This message is too long to be a string in the A/UX 3.1 sh.
1247   cat <<_ACEOF
1248 \`configure' configures tio 1.24 to adapt to many kinds of systems.
1249
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1251
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE.  See below for descriptions of some of the useful variables.
1254
1255 Defaults for the options are specified in brackets.
1256
1257 Configuration:
1258   -h, --help              display this help and exit
1259       --help=short        display options specific to this package
1260       --help=recursive    display the short help of all the included packages
1261   -V, --version           display version information and exit
1262   -q, --quiet, --silent   do not print \`checking ...' messages
1263       --cache-file=FILE   cache test results in FILE [disabled]
1264   -C, --config-cache      alias for \`--cache-file=config.cache'
1265   -n, --no-create         do not create output files
1266       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1267
1268 Installation directories:
1269   --prefix=PREFIX         install architecture-independent files in PREFIX
1270                           [$ac_default_prefix]
1271   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1272                           [PREFIX]
1273
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1278
1279 For better control, use the options below.
1280
1281 Fine tuning of the installation directories:
1282   --bindir=DIR            user executables [EPREFIX/bin]
1283   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1284   --libexecdir=DIR        program executables [EPREFIX/libexec]
1285   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1286   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1287   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1288   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1289   --libdir=DIR            object code libraries [EPREFIX/lib]
1290   --includedir=DIR        C header files [PREFIX/include]
1291   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1292   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1293   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1294   --infodir=DIR           info documentation [DATAROOTDIR/info]
1295   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1296   --mandir=DIR            man documentation [DATAROOTDIR/man]
1297   --docdir=DIR            documentation root [DATAROOTDIR/doc/tio]
1298   --htmldir=DIR           html documentation [DOCDIR]
1299   --dvidir=DIR            dvi documentation [DOCDIR]
1300   --pdfdir=DIR            pdf documentation [DOCDIR]
1301   --psdir=DIR             ps documentation [DOCDIR]
1302 _ACEOF
1303
1304   cat <<\_ACEOF
1305
1306 Program names:
1307   --program-prefix=PREFIX            prepend PREFIX to installed program names
1308   --program-suffix=SUFFIX            append SUFFIX to installed program names
1309   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1310 _ACEOF
1311 fi
1312
1313 if test -n "$ac_init_help"; then
1314   case $ac_init_help in
1315      short | recursive ) echo "Configuration of tio 1.24:";;
1316    esac
1317   cat <<\_ACEOF
1318
1319 Optional Features:
1320   --disable-option-checking  ignore unrecognized --enable/--with options
1321   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1322   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1323   --enable-silent-rules   less verbose build output (undo: "make V=1")
1324   --disable-silent-rules  verbose build output (undo: "make V=0")
1325   --enable-dependency-tracking
1326                           do not reject slow dependency extractors
1327   --disable-dependency-tracking
1328                           speeds up one-time build
1329   --disable-largefile     omit support for large files
1330
1331 Optional Packages:
1332   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1333   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1334   --with-bash-completion-dir=PATH
1335                           Install the bash auto-completion script in this
1336                           directory. [default=yes]
1337
1338 Some influential environment variables:
1339   CC          C compiler command
1340   CFLAGS      C compiler flags
1341   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1342               nonstandard directory <lib dir>
1343   LIBS        libraries to pass to the linker, e.g. -l<library>
1344   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345               you have headers in a nonstandard directory <include dir>
1346   PKG_CONFIG  path to pkg-config utility
1347   PKG_CONFIG_PATH
1348               directories to add to pkg-config's search path
1349   PKG_CONFIG_LIBDIR
1350               path overriding pkg-config's built-in search path
1351
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1354
1355 Report bugs to the package provider.
1356 tio home page: <https://tio.github.io>.
1357 _ACEOF
1358 ac_status=$?
1359 fi
1360
1361 if test "$ac_init_help" = "recursive"; then
1362   # If there are subdirs, report their specific --help.
1363   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1364     test -d "$ac_dir" ||
1365       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1366       continue
1367     ac_builddir=.
1368
1369 case "$ac_dir" in
1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 *)
1372   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1373   # A ".." for each directory in $ac_dir_suffix.
1374   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1375   case $ac_top_builddir_sub in
1376   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1378   esac ;;
1379 esac
1380 ac_abs_top_builddir=$ac_pwd
1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir=$ac_top_build_prefix
1384
1385 case $srcdir in
1386   .)  # We are building in place.
1387     ac_srcdir=.
1388     ac_top_srcdir=$ac_top_builddir_sub
1389     ac_abs_top_srcdir=$ac_pwd ;;
1390   [\\/]* | ?:[\\/]* )  # Absolute name.
1391     ac_srcdir=$srcdir$ac_dir_suffix;
1392     ac_top_srcdir=$srcdir
1393     ac_abs_top_srcdir=$srcdir ;;
1394   *) # Relative name.
1395     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396     ac_top_srcdir=$ac_top_build_prefix$srcdir
1397     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 esac
1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400
1401     cd "$ac_dir" || { ac_status=$?; continue; }
1402     # Check for guested configure.
1403     if test -f "$ac_srcdir/configure.gnu"; then
1404       echo &&
1405       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1406     elif test -f "$ac_srcdir/configure"; then
1407       echo &&
1408       $SHELL "$ac_srcdir/configure" --help=recursive
1409     else
1410       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411     fi || ac_status=$?
1412     cd "$ac_pwd" || { ac_status=$?; break; }
1413   done
1414 fi
1415
1416 test -n "$ac_init_help" && exit $ac_status
1417 if $ac_init_version; then
1418   cat <<\_ACEOF
1419 tio configure 1.24
1420 generated by GNU Autoconf 2.69
1421
1422 Copyright (C) 2012 Free Software Foundation, Inc.
1423 This configure script is free software; the Free Software Foundation
1424 gives unlimited permission to copy, distribute and modify it.
1425 _ACEOF
1426   exit
1427 fi
1428
1429 ## ------------------------ ##
1430 ## Autoconf initialization. ##
1431 ## ------------------------ ##
1432
1433 # ac_fn_c_try_compile LINENO
1434 # --------------------------
1435 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1436 ac_fn_c_try_compile ()
1437 {
1438   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439   rm -f conftest.$ac_objext
1440   if { { ac_try="$ac_compile"
1441 case "(($ac_try" in
1442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443   *) ac_try_echo=$ac_try;;
1444 esac
1445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446 $as_echo "$ac_try_echo"; } >&5
1447   (eval "$ac_compile") 2>conftest.err
1448   ac_status=$?
1449   if test -s conftest.err; then
1450     grep -v '^ *+' conftest.err >conftest.er1
1451     cat conftest.er1 >&5
1452     mv -f conftest.er1 conftest.err
1453   fi
1454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455   test $ac_status = 0; } && {
1456          test -z "$ac_c_werror_flag" ||
1457          test ! -s conftest.err
1458        } && test -s conftest.$ac_objext; then :
1459   ac_retval=0
1460 else
1461   $as_echo "$as_me: failed program was:" >&5
1462 sed 's/^/| /' conftest.$ac_ext >&5
1463
1464         ac_retval=1
1465 fi
1466   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467   as_fn_set_status $ac_retval
1468
1469 } # ac_fn_c_try_compile
1470
1471 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1472 # ---------------------------------------------
1473 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1474 # accordingly.
1475 ac_fn_c_check_decl ()
1476 {
1477   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478   as_decl_name=`echo $2|sed 's/ *(.*//'`
1479   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1481 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1482 if eval \${$3+:} false; then :
1483   $as_echo_n "(cached) " >&6
1484 else
1485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1486 /* end confdefs.h.  */
1487 $4
1488 int
1489 main ()
1490 {
1491 #ifndef $as_decl_name
1492 #ifdef __cplusplus
1493   (void) $as_decl_use;
1494 #else
1495   (void) $as_decl_name;
1496 #endif
1497 #endif
1498
1499   ;
1500   return 0;
1501 }
1502 _ACEOF
1503 if ac_fn_c_try_compile "$LINENO"; then :
1504   eval "$3=yes"
1505 else
1506   eval "$3=no"
1507 fi
1508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1509 fi
1510 eval ac_res=\$$3
1511                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1512 $as_echo "$ac_res" >&6; }
1513   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514
1515 } # ac_fn_c_check_decl
1516 cat >config.log <<_ACEOF
1517 This file contains any messages produced by compilers while
1518 running configure, to aid debugging if configure makes a mistake.
1519
1520 It was created by tio $as_me 1.24, which was
1521 generated by GNU Autoconf 2.69.  Invocation command line was
1522
1523   $ $0 $@
1524
1525 _ACEOF
1526 exec 5>>config.log
1527 {
1528 cat <<_ASUNAME
1529 ## --------- ##
1530 ## Platform. ##
1531 ## --------- ##
1532
1533 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1534 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1535 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1536 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1537 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1538
1539 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1540 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1541
1542 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1543 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1545 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1546 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1547 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1548 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1549
1550 _ASUNAME
1551
1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 for as_dir in $PATH
1554 do
1555   IFS=$as_save_IFS
1556   test -z "$as_dir" && as_dir=.
1557     $as_echo "PATH: $as_dir"
1558   done
1559 IFS=$as_save_IFS
1560
1561 } >&5
1562
1563 cat >&5 <<_ACEOF
1564
1565
1566 ## ----------- ##
1567 ## Core tests. ##
1568 ## ----------- ##
1569
1570 _ACEOF
1571
1572
1573 # Keep a trace of the command line.
1574 # Strip out --no-create and --no-recursion so they do not pile up.
1575 # Strip out --silent because we don't want to record it for future runs.
1576 # Also quote any args containing shell meta-characters.
1577 # Make two passes to allow for proper duplicate-argument suppression.
1578 ac_configure_args=
1579 ac_configure_args0=
1580 ac_configure_args1=
1581 ac_must_keep_next=false
1582 for ac_pass in 1 2
1583 do
1584   for ac_arg
1585   do
1586     case $ac_arg in
1587     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1588     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1589     | -silent | --silent | --silen | --sile | --sil)
1590       continue ;;
1591     *\'*)
1592       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1593     esac
1594     case $ac_pass in
1595     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1596     2)
1597       as_fn_append ac_configure_args1 " '$ac_arg'"
1598       if test $ac_must_keep_next = true; then
1599         ac_must_keep_next=false # Got value, back to normal.
1600       else
1601         case $ac_arg in
1602           *=* | --config-cache | -C | -disable-* | --disable-* \
1603           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1604           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1605           | -with-* | --with-* | -without-* | --without-* | --x)
1606             case "$ac_configure_args0 " in
1607               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1608             esac
1609             ;;
1610           -* ) ac_must_keep_next=true ;;
1611         esac
1612       fi
1613       as_fn_append ac_configure_args " '$ac_arg'"
1614       ;;
1615     esac
1616   done
1617 done
1618 { ac_configure_args0=; unset ac_configure_args0;}
1619 { ac_configure_args1=; unset ac_configure_args1;}
1620
1621 # When interrupted or exit'd, cleanup temporary files, and complete
1622 # config.log.  We remove comments because anyway the quotes in there
1623 # would cause problems or look ugly.
1624 # WARNING: Use '\'' to represent an apostrophe within the trap.
1625 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1626 trap 'exit_status=$?
1627   # Save into config.log some information that might help in debugging.
1628   {
1629     echo
1630
1631     $as_echo "## ---------------- ##
1632 ## Cache variables. ##
1633 ## ---------------- ##"
1634     echo
1635     # The following way of writing the cache mishandles newlines in values,
1636 (
1637   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1638     eval ac_val=\$$ac_var
1639     case $ac_val in #(
1640     *${as_nl}*)
1641       case $ac_var in #(
1642       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1644       esac
1645       case $ac_var in #(
1646       _ | IFS | as_nl) ;; #(
1647       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1648       *) { eval $ac_var=; unset $ac_var;} ;;
1649       esac ;;
1650     esac
1651   done
1652   (set) 2>&1 |
1653     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1654     *${as_nl}ac_space=\ *)
1655       sed -n \
1656         "s/'\''/'\''\\\\'\'''\''/g;
1657           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1658       ;; #(
1659     *)
1660       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1661       ;;
1662     esac |
1663     sort
1664 )
1665     echo
1666
1667     $as_echo "## ----------------- ##
1668 ## Output variables. ##
1669 ## ----------------- ##"
1670     echo
1671     for ac_var in $ac_subst_vars
1672     do
1673       eval ac_val=\$$ac_var
1674       case $ac_val in
1675       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1676       esac
1677       $as_echo "$ac_var='\''$ac_val'\''"
1678     done | sort
1679     echo
1680
1681     if test -n "$ac_subst_files"; then
1682       $as_echo "## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##"
1685       echo
1686       for ac_var in $ac_subst_files
1687       do
1688         eval ac_val=\$$ac_var
1689         case $ac_val in
1690         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691         esac
1692         $as_echo "$ac_var='\''$ac_val'\''"
1693       done | sort
1694       echo
1695     fi
1696
1697     if test -s confdefs.h; then
1698       $as_echo "## ----------- ##
1699 ## confdefs.h. ##
1700 ## ----------- ##"
1701       echo
1702       cat confdefs.h
1703       echo
1704     fi
1705     test "$ac_signal" != 0 &&
1706       $as_echo "$as_me: caught signal $ac_signal"
1707     $as_echo "$as_me: exit $exit_status"
1708   } >&5
1709   rm -f core *.core core.conftest.* &&
1710     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1711     exit $exit_status
1712 ' 0
1713 for ac_signal in 1 2 13 15; do
1714   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1715 done
1716 ac_signal=0
1717
1718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1719 rm -f -r conftest* confdefs.h
1720
1721 $as_echo "/* confdefs.h */" > confdefs.h
1722
1723 # Predefined preprocessor variables.
1724
1725 cat >>confdefs.h <<_ACEOF
1726 #define PACKAGE_NAME "$PACKAGE_NAME"
1727 _ACEOF
1728
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1731 _ACEOF
1732
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1735 _ACEOF
1736
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_STRING "$PACKAGE_STRING"
1739 _ACEOF
1740
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1743 _ACEOF
1744
1745 cat >>confdefs.h <<_ACEOF
1746 #define PACKAGE_URL "$PACKAGE_URL"
1747 _ACEOF
1748
1749
1750 # Let the site file select an alternate cache file if it wants to.
1751 # Prefer an explicitly selected file to automatically selected ones.
1752 ac_site_file1=NONE
1753 ac_site_file2=NONE
1754 if test -n "$CONFIG_SITE"; then
1755   # We do not want a PATH search for config.site.
1756   case $CONFIG_SITE in #((
1757     -*)  ac_site_file1=./$CONFIG_SITE;;
1758     */*) ac_site_file1=$CONFIG_SITE;;
1759     *)   ac_site_file1=./$CONFIG_SITE;;
1760   esac
1761 elif test "x$prefix" != xNONE; then
1762   ac_site_file1=$prefix/share/config.site
1763   ac_site_file2=$prefix/etc/config.site
1764 else
1765   ac_site_file1=$ac_default_prefix/share/config.site
1766   ac_site_file2=$ac_default_prefix/etc/config.site
1767 fi
1768 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1769 do
1770   test "x$ac_site_file" = xNONE && continue
1771   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1772     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1773 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1774     sed 's/^/| /' "$ac_site_file" >&5
1775     . "$ac_site_file" \
1776       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1778 as_fn_error $? "failed to load site script $ac_site_file
1779 See \`config.log' for more details" "$LINENO" 5; }
1780   fi
1781 done
1782
1783 if test -r "$cache_file"; then
1784   # Some versions of bash will fail to source /dev/null (special files
1785   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1786   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1787     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1788 $as_echo "$as_me: loading cache $cache_file" >&6;}
1789     case $cache_file in
1790       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1791       *)                      . "./$cache_file";;
1792     esac
1793   fi
1794 else
1795   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1796 $as_echo "$as_me: creating cache $cache_file" >&6;}
1797   >$cache_file
1798 fi
1799
1800 # Check that the precious variables saved in the cache have kept the same
1801 # value.
1802 ac_cache_corrupted=false
1803 for ac_var in $ac_precious_vars; do
1804   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1805   eval ac_new_set=\$ac_env_${ac_var}_set
1806   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1807   eval ac_new_val=\$ac_env_${ac_var}_value
1808   case $ac_old_set,$ac_new_set in
1809     set,)
1810       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1811 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1812       ac_cache_corrupted=: ;;
1813     ,set)
1814       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1815 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1816       ac_cache_corrupted=: ;;
1817     ,);;
1818     *)
1819       if test "x$ac_old_val" != "x$ac_new_val"; then
1820         # differences in whitespace do not lead to failure.
1821         ac_old_val_w=`echo x $ac_old_val`
1822         ac_new_val_w=`echo x $ac_new_val`
1823         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1824           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1825 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1826           ac_cache_corrupted=:
1827         else
1828           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1829 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1830           eval $ac_var=\$ac_old_val
1831         fi
1832         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1833 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1834         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1835 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1836       fi;;
1837   esac
1838   # Pass precious variables to config.status.
1839   if test "$ac_new_set" = set; then
1840     case $ac_new_val in
1841     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1842     *) ac_arg=$ac_var=$ac_new_val ;;
1843     esac
1844     case " $ac_configure_args " in
1845       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1846       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1847     esac
1848   fi
1849 done
1850 if $ac_cache_corrupted; then
1851   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1853   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1854 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1855   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1856 fi
1857 ## -------------------- ##
1858 ## Main body of script. ##
1859 ## -------------------- ##
1860
1861 ac_ext=c
1862 ac_cpp='$CPP $CPPFLAGS'
1863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1866
1867
1868 ac_config_headers="$ac_config_headers src/include/config.h"
1869
1870 am__api_version='1.15'
1871
1872 ac_aux_dir=
1873 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1874   if test -f "$ac_dir/install-sh"; then
1875     ac_aux_dir=$ac_dir
1876     ac_install_sh="$ac_aux_dir/install-sh -c"
1877     break
1878   elif test -f "$ac_dir/install.sh"; then
1879     ac_aux_dir=$ac_dir
1880     ac_install_sh="$ac_aux_dir/install.sh -c"
1881     break
1882   elif test -f "$ac_dir/shtool"; then
1883     ac_aux_dir=$ac_dir
1884     ac_install_sh="$ac_aux_dir/shtool install -c"
1885     break
1886   fi
1887 done
1888 if test -z "$ac_aux_dir"; then
1889   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1890 fi
1891
1892 # These three variables are undocumented and unsupported,
1893 # and are intended to be withdrawn in a future Autoconf release.
1894 # They can cause serious problems if a builder's source tree is in a directory
1895 # whose full name contains unusual characters.
1896 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1897 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1898 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1899
1900
1901 # Find a good install program.  We prefer a C program (faster),
1902 # so one script is as good as another.  But avoid the broken or
1903 # incompatible versions:
1904 # SysV /etc/install, /usr/sbin/install
1905 # SunOS /usr/etc/install
1906 # IRIX /sbin/install
1907 # AIX /bin/install
1908 # AmigaOS /C/install, which installs bootblocks on floppy discs
1909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1912 # OS/2's system install, which has a completely different semantic
1913 # ./install, which can be erroneously created by make from ./install.sh.
1914 # Reject install programs that cannot install multiple files.
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1916 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1917 if test -z "$INSTALL"; then
1918 if ${ac_cv_path_install+:} false; then :
1919   $as_echo_n "(cached) " >&6
1920 else
1921   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 for as_dir in $PATH
1923 do
1924   IFS=$as_save_IFS
1925   test -z "$as_dir" && as_dir=.
1926     # Account for people who put trailing slashes in PATH elements.
1927 case $as_dir/ in #((
1928   ./ | .// | /[cC]/* | \
1929   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1930   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1931   /usr/ucb/* ) ;;
1932   *)
1933     # OSF1 and SCO ODT 3.0 have their own names for install.
1934     # Don't use installbsd from OSF since it installs stuff as root
1935     # by default.
1936     for ac_prog in ginstall scoinst install; do
1937       for ac_exec_ext in '' $ac_executable_extensions; do
1938         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1939           if test $ac_prog = install &&
1940             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1941             # AIX install.  It has an incompatible calling convention.
1942             :
1943           elif test $ac_prog = install &&
1944             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1945             # program-specific install script used by HP pwplus--don't use.
1946             :
1947           else
1948             rm -rf conftest.one conftest.two conftest.dir
1949             echo one > conftest.one
1950             echo two > conftest.two
1951             mkdir conftest.dir
1952             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1953               test -s conftest.one && test -s conftest.two &&
1954               test -s conftest.dir/conftest.one &&
1955               test -s conftest.dir/conftest.two
1956             then
1957               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1958               break 3
1959             fi
1960           fi
1961         fi
1962       done
1963     done
1964     ;;
1965 esac
1966
1967   done
1968 IFS=$as_save_IFS
1969
1970 rm -rf conftest.one conftest.two conftest.dir
1971
1972 fi
1973   if test "${ac_cv_path_install+set}" = set; then
1974     INSTALL=$ac_cv_path_install
1975   else
1976     # As a last resort, use the slow shell script.  Don't cache a
1977     # value for INSTALL within a source directory, because that will
1978     # break other packages using the cache if that directory is
1979     # removed, or if the value is a relative name.
1980     INSTALL=$ac_install_sh
1981   fi
1982 fi
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1984 $as_echo "$INSTALL" >&6; }
1985
1986 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1987 # It thinks the first close brace ends the variable substitution.
1988 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1989
1990 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1991
1992 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1993
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1995 $as_echo_n "checking whether build environment is sane... " >&6; }
1996 # Reject unsafe characters in $srcdir or the absolute working directory
1997 # name.  Accept space and tab only in the latter.
1998 am_lf='
1999 '
2000 case `pwd` in
2001   *[\\\"\#\$\&\'\`$am_lf]*)
2002     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2003 esac
2004 case $srcdir in
2005   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2006     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2007 esac
2008
2009 # Do 'set' in a subshell so we don't clobber the current shell's
2010 # arguments.  Must try -L first in case configure is actually a
2011 # symlink; some systems play weird games with the mod time of symlinks
2012 # (eg FreeBSD returns the mod time of the symlink's containing
2013 # directory).
2014 if (
2015    am_has_slept=no
2016    for am_try in 1 2; do
2017      echo "timestamp, slept: $am_has_slept" > conftest.file
2018      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2019      if test "$*" = "X"; then
2020         # -L didn't work.
2021         set X `ls -t "$srcdir/configure" conftest.file`
2022      fi
2023      if test "$*" != "X $srcdir/configure conftest.file" \
2024         && test "$*" != "X conftest.file $srcdir/configure"; then
2025
2026         # If neither matched, then we have a broken ls.  This can happen
2027         # if, for instance, CONFIG_SHELL is bash and it inherits a
2028         # broken ls alias from the environment.  This has actually
2029         # happened.  Such a system could not be considered "sane".
2030         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2031   alias in your environment" "$LINENO" 5
2032      fi
2033      if test "$2" = conftest.file || test $am_try -eq 2; then
2034        break
2035      fi
2036      # Just in case.
2037      sleep 1
2038      am_has_slept=yes
2039    done
2040    test "$2" = conftest.file
2041    )
2042 then
2043    # Ok.
2044    :
2045 else
2046    as_fn_error $? "newly created file is older than distributed files!
2047 Check your system clock" "$LINENO" 5
2048 fi
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2050 $as_echo "yes" >&6; }
2051 # If we didn't sleep, we still need to ensure time stamps of config.status and
2052 # generated files are strictly newer.
2053 am_sleep_pid=
2054 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2055   ( sleep 1 ) &
2056   am_sleep_pid=$!
2057 fi
2058
2059 rm -f conftest.file
2060
2061 test "$program_prefix" != NONE &&
2062   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2063 # Use a double $ so make ignores it.
2064 test "$program_suffix" != NONE &&
2065   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2066 # Double any \ or $.
2067 # By default was `s,x,x', remove it if useless.
2068 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2069 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2070
2071 # Expand $ac_aux_dir to an absolute path.
2072 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2073
2074 if test x"${MISSING+set}" != xset; then
2075   case $am_aux_dir in
2076   *\ * | *\     *)
2077     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2078   *)
2079     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2080   esac
2081 fi
2082 # Use eval to expand $SHELL
2083 if eval "$MISSING --is-lightweight"; then
2084   am_missing_run="$MISSING "
2085 else
2086   am_missing_run=
2087   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2088 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2089 fi
2090
2091 if test x"${install_sh+set}" != xset; then
2092   case $am_aux_dir in
2093   *\ * | *\     *)
2094     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2095   *)
2096     install_sh="\${SHELL} $am_aux_dir/install-sh"
2097   esac
2098 fi
2099
2100 # Installed binaries are usually stripped using 'strip' when the user
2101 # run "make install-strip".  However 'strip' might not be the right
2102 # tool to use in cross-compilation environments, therefore Automake
2103 # will honor the 'STRIP' environment variable to overrule this program.
2104 if test "$cross_compiling" != no; then
2105   if test -n "$ac_tool_prefix"; then
2106   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2107 set dummy ${ac_tool_prefix}strip; ac_word=$2
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2109 $as_echo_n "checking for $ac_word... " >&6; }
2110 if ${ac_cv_prog_STRIP+:} false; then :
2111   $as_echo_n "(cached) " >&6
2112 else
2113   if test -n "$STRIP"; then
2114   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2118 do
2119   IFS=$as_save_IFS
2120   test -z "$as_dir" && as_dir=.
2121     for ac_exec_ext in '' $ac_executable_extensions; do
2122   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2125     break 2
2126   fi
2127 done
2128   done
2129 IFS=$as_save_IFS
2130
2131 fi
2132 fi
2133 STRIP=$ac_cv_prog_STRIP
2134 if test -n "$STRIP"; then
2135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2136 $as_echo "$STRIP" >&6; }
2137 else
2138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2139 $as_echo "no" >&6; }
2140 fi
2141
2142
2143 fi
2144 if test -z "$ac_cv_prog_STRIP"; then
2145   ac_ct_STRIP=$STRIP
2146   # Extract the first word of "strip", so it can be a program name with args.
2147 set dummy strip; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2151   $as_echo_n "(cached) " >&6
2152 else
2153   if test -n "$ac_ct_STRIP"; then
2154   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2155 else
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2157 for as_dir in $PATH
2158 do
2159   IFS=$as_save_IFS
2160   test -z "$as_dir" && as_dir=.
2161     for ac_exec_ext in '' $ac_executable_extensions; do
2162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163     ac_cv_prog_ac_ct_STRIP="strip"
2164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2165     break 2
2166   fi
2167 done
2168   done
2169 IFS=$as_save_IFS
2170
2171 fi
2172 fi
2173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2174 if test -n "$ac_ct_STRIP"; then
2175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2176 $as_echo "$ac_ct_STRIP" >&6; }
2177 else
2178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2180 fi
2181
2182   if test "x$ac_ct_STRIP" = x; then
2183     STRIP=":"
2184   else
2185     case $cross_compiling:$ac_tool_warned in
2186 yes:)
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2189 ac_tool_warned=yes ;;
2190 esac
2191     STRIP=$ac_ct_STRIP
2192   fi
2193 else
2194   STRIP="$ac_cv_prog_STRIP"
2195 fi
2196
2197 fi
2198 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2199
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2201 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2202 if test -z "$MKDIR_P"; then
2203   if ${ac_cv_path_mkdir+:} false; then :
2204   $as_echo_n "(cached) " >&6
2205 else
2206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2208 do
2209   IFS=$as_save_IFS
2210   test -z "$as_dir" && as_dir=.
2211     for ac_prog in mkdir gmkdir; do
2212          for ac_exec_ext in '' $ac_executable_extensions; do
2213            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2214            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2215              'mkdir (GNU coreutils) '* | \
2216              'mkdir (coreutils) '* | \
2217              'mkdir (fileutils) '4.1*)
2218                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2219                break 3;;
2220            esac
2221          done
2222        done
2223   done
2224 IFS=$as_save_IFS
2225
2226 fi
2227
2228   test -d ./--version && rmdir ./--version
2229   if test "${ac_cv_path_mkdir+set}" = set; then
2230     MKDIR_P="$ac_cv_path_mkdir -p"
2231   else
2232     # As a last resort, use the slow shell script.  Don't cache a
2233     # value for MKDIR_P within a source directory, because that will
2234     # break other packages using the cache if that directory is
2235     # removed, or if the value is a relative name.
2236     MKDIR_P="$ac_install_sh -d"
2237   fi
2238 fi
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2240 $as_echo "$MKDIR_P" >&6; }
2241
2242 for ac_prog in gawk mawk nawk awk
2243 do
2244   # Extract the first word of "$ac_prog", so it can be a program name with args.
2245 set dummy $ac_prog; ac_word=$2
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2247 $as_echo_n "checking for $ac_word... " >&6; }
2248 if ${ac_cv_prog_AWK+:} false; then :
2249   $as_echo_n "(cached) " >&6
2250 else
2251   if test -n "$AWK"; then
2252   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2253 else
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in $PATH
2256 do
2257   IFS=$as_save_IFS
2258   test -z "$as_dir" && as_dir=.
2259     for ac_exec_ext in '' $ac_executable_extensions; do
2260   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261     ac_cv_prog_AWK="$ac_prog"
2262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2263     break 2
2264   fi
2265 done
2266   done
2267 IFS=$as_save_IFS
2268
2269 fi
2270 fi
2271 AWK=$ac_cv_prog_AWK
2272 if test -n "$AWK"; then
2273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2274 $as_echo "$AWK" >&6; }
2275 else
2276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2277 $as_echo "no" >&6; }
2278 fi
2279
2280
2281   test -n "$AWK" && break
2282 done
2283
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2285 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2286 set x ${MAKE-make}
2287 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2288 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2289   $as_echo_n "(cached) " >&6
2290 else
2291   cat >conftest.make <<\_ACEOF
2292 SHELL = /bin/sh
2293 all:
2294         @echo '@@@%%%=$(MAKE)=@@@%%%'
2295 _ACEOF
2296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2297 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2298   *@@@%%%=?*=@@@%%%*)
2299     eval ac_cv_prog_make_${ac_make}_set=yes;;
2300   *)
2301     eval ac_cv_prog_make_${ac_make}_set=no;;
2302 esac
2303 rm -f conftest.make
2304 fi
2305 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2307 $as_echo "yes" >&6; }
2308   SET_MAKE=
2309 else
2310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2311 $as_echo "no" >&6; }
2312   SET_MAKE="MAKE=${MAKE-make}"
2313 fi
2314
2315 rm -rf .tst 2>/dev/null
2316 mkdir .tst 2>/dev/null
2317 if test -d .tst; then
2318   am__leading_dot=.
2319 else
2320   am__leading_dot=_
2321 fi
2322 rmdir .tst 2>/dev/null
2323
2324 # Check whether --enable-silent-rules was given.
2325 if test "${enable_silent_rules+set}" = set; then :
2326   enableval=$enable_silent_rules;
2327 fi
2328
2329 case $enable_silent_rules in # (((
2330   yes) AM_DEFAULT_VERBOSITY=0;;
2331    no) AM_DEFAULT_VERBOSITY=1;;
2332     *) AM_DEFAULT_VERBOSITY=1;;
2333 esac
2334 am_make=${MAKE-make}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2336 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2337 if ${am_cv_make_support_nested_variables+:} false; then :
2338   $as_echo_n "(cached) " >&6
2339 else
2340   if $as_echo 'TRUE=$(BAR$(V))
2341 BAR0=false
2342 BAR1=true
2343 V=1
2344 am__doit:
2345         @$(TRUE)
2346 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2347   am_cv_make_support_nested_variables=yes
2348 else
2349   am_cv_make_support_nested_variables=no
2350 fi
2351 fi
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2353 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2354 if test $am_cv_make_support_nested_variables = yes; then
2355     AM_V='$(V)'
2356   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2357 else
2358   AM_V=$AM_DEFAULT_VERBOSITY
2359   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2360 fi
2361 AM_BACKSLASH='\'
2362
2363 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2364   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2365   # is not polluted with repeated "-I."
2366   am__isrc=' -I$(srcdir)'
2367   # test to see if srcdir already configured
2368   if test -f $srcdir/config.status; then
2369     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2370   fi
2371 fi
2372
2373 # test whether we have cygpath
2374 if test -z "$CYGPATH_W"; then
2375   if (cygpath --version) >/dev/null 2>/dev/null; then
2376     CYGPATH_W='cygpath -w'
2377   else
2378     CYGPATH_W=echo
2379   fi
2380 fi
2381
2382
2383 # Define the identity of the package.
2384  PACKAGE='tio'
2385  VERSION='1.24'
2386
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE "$PACKAGE"
2390 _ACEOF
2391
2392
2393 cat >>confdefs.h <<_ACEOF
2394 #define VERSION "$VERSION"
2395 _ACEOF
2396
2397 # Some tools Automake needs.
2398
2399 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2400
2401
2402 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2403
2404
2405 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2406
2407
2408 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2409
2410
2411 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2412
2413 # For better backward compatibility.  To be removed once Automake 1.9.x
2414 # dies out for good.  For more background, see:
2415 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2416 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2417 mkdir_p='$(MKDIR_P)'
2418
2419 # We need awk for the "check" target (and possibly the TAP driver).  The
2420 # system "awk" is bad on some platforms.
2421 # Always define AMTAR for backward compatibility.  Yes, it's still used
2422 # in the wild :-(  We should find a proper way to deprecate it ...
2423 AMTAR='$${TAR-tar}'
2424
2425
2426 # We'll loop over all known methods to create a tar archive until one works.
2427 _am_tools='gnutar  pax cpio none'
2428
2429 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2430
2431
2432
2433
2434
2435
2436 # POSIX will say in a future version that running "rm -f" with no argument
2437 # is OK; and we want to be able to make that assumption in our Makefile
2438 # recipes.  So use an aggressive probe to check that the usage we want is
2439 # actually supported "in the wild" to an acceptable degree.
2440 # See automake bug#10828.
2441 # To make any issue more visible, cause the running configure to be aborted
2442 # by default if the 'rm' program in use doesn't match our expectations; the
2443 # user can still override this though.
2444 if rm -f && rm -fr && rm -rf; then : OK; else
2445   cat >&2 <<'END'
2446 Oops!
2447
2448 Your 'rm' program seems unable to run without file operands specified
2449 on the command line, even when the '-f' option is present.  This is contrary
2450 to the behaviour of most rm programs out there, and not conforming with
2451 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2452
2453 Please tell bug-automake@gnu.org about your system, including the value
2454 of your $PATH and any error possibly output before this message.  This
2455 can help us improve future automake versions.
2456
2457 END
2458   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2459     echo 'Configuration will proceed anyway, since you have set the' >&2
2460     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2461     echo >&2
2462   else
2463     cat >&2 <<'END'
2464 Aborting the configuration process, to ensure you take notice of the issue.
2465
2466 You can download and install GNU coreutils to get an 'rm' implementation
2467 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2468
2469 If you want to complete the configuration process using your problematic
2470 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2471 to "yes", and re-run configure.
2472
2473 END
2474     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2475   fi
2476 fi
2477
2478 # Check whether --enable-silent-rules was given.
2479 if test "${enable_silent_rules+set}" = set; then :
2480   enableval=$enable_silent_rules;
2481 fi
2482
2483 case $enable_silent_rules in # (((
2484   yes) AM_DEFAULT_VERBOSITY=0;;
2485    no) AM_DEFAULT_VERBOSITY=1;;
2486     *) AM_DEFAULT_VERBOSITY=0;;
2487 esac
2488 am_make=${MAKE-make}
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2490 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2491 if ${am_cv_make_support_nested_variables+:} false; then :
2492   $as_echo_n "(cached) " >&6
2493 else
2494   if $as_echo 'TRUE=$(BAR$(V))
2495 BAR0=false
2496 BAR1=true
2497 V=1
2498 am__doit:
2499         @$(TRUE)
2500 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2501   am_cv_make_support_nested_variables=yes
2502 else
2503   am_cv_make_support_nested_variables=no
2504 fi
2505 fi
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2507 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2508 if test $am_cv_make_support_nested_variables = yes; then
2509     AM_V='$(V)'
2510   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2511 else
2512   AM_V=$AM_DEFAULT_VERBOSITY
2513   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2514 fi
2515 AM_BACKSLASH='\'
2516
2517 ac_ext=c
2518 ac_cpp='$CPP $CPPFLAGS'
2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2522 if test -n "$ac_tool_prefix"; then
2523   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_CC+:} false; then :
2528   $as_echo_n "(cached) " >&6
2529 else
2530   if test -n "$CC"; then
2531   ac_cv_prog_CC="$CC" # Let the user override the test.
2532 else
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534 for as_dir in $PATH
2535 do
2536   IFS=$as_save_IFS
2537   test -z "$as_dir" && as_dir=.
2538     for ac_exec_ext in '' $ac_executable_extensions; do
2539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2542     break 2
2543   fi
2544 done
2545   done
2546 IFS=$as_save_IFS
2547
2548 fi
2549 fi
2550 CC=$ac_cv_prog_CC
2551 if test -n "$CC"; then
2552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 $as_echo "$CC" >&6; }
2554 else
2555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2557 fi
2558
2559
2560 fi
2561 if test -z "$ac_cv_prog_CC"; then
2562   ac_ct_CC=$CC
2563   # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2568   $as_echo_n "(cached) " >&6
2569 else
2570   if test -n "$ac_ct_CC"; then
2571   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     for ac_exec_ext in '' $ac_executable_extensions; do
2579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580     ac_cv_prog_ac_ct_CC="gcc"
2581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582     break 2
2583   fi
2584 done
2585   done
2586 IFS=$as_save_IFS
2587
2588 fi
2589 fi
2590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2591 if test -n "$ac_ct_CC"; then
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2593 $as_echo "$ac_ct_CC" >&6; }
2594 else
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2597 fi
2598
2599   if test "x$ac_ct_CC" = x; then
2600     CC=""
2601   else
2602     case $cross_compiling:$ac_tool_warned in
2603 yes:)
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606 ac_tool_warned=yes ;;
2607 esac
2608     CC=$ac_ct_CC
2609   fi
2610 else
2611   CC="$ac_cv_prog_CC"
2612 fi
2613
2614 if test -z "$CC"; then
2615           if test -n "$ac_tool_prefix"; then
2616     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2617 set dummy ${ac_tool_prefix}cc; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_CC+:} false; then :
2621   $as_echo_n "(cached) " >&6
2622 else
2623   if test -n "$CC"; then
2624   ac_cv_prog_CC="$CC" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629   IFS=$as_save_IFS
2630   test -z "$as_dir" && as_dir=.
2631     for ac_exec_ext in '' $ac_executable_extensions; do
2632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633     ac_cv_prog_CC="${ac_tool_prefix}cc"
2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635     break 2
2636   fi
2637 done
2638   done
2639 IFS=$as_save_IFS
2640
2641 fi
2642 fi
2643 CC=$ac_cv_prog_CC
2644 if test -n "$CC"; then
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2646 $as_echo "$CC" >&6; }
2647 else
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2650 fi
2651
2652
2653   fi
2654 fi
2655 if test -z "$CC"; then
2656   # Extract the first word of "cc", so it can be a program name with args.
2657 set dummy cc; ac_word=$2
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2659 $as_echo_n "checking for $ac_word... " >&6; }
2660 if ${ac_cv_prog_CC+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   if test -n "$CC"; then
2664   ac_cv_prog_CC="$CC" # Let the user override the test.
2665 else
2666   ac_prog_rejected=no
2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 for as_dir in $PATH
2669 do
2670   IFS=$as_save_IFS
2671   test -z "$as_dir" && as_dir=.
2672     for ac_exec_ext in '' $ac_executable_extensions; do
2673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2674     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2675        ac_prog_rejected=yes
2676        continue
2677      fi
2678     ac_cv_prog_CC="cc"
2679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680     break 2
2681   fi
2682 done
2683   done
2684 IFS=$as_save_IFS
2685
2686 if test $ac_prog_rejected = yes; then
2687   # We found a bogon in the path, so make sure we never use it.
2688   set dummy $ac_cv_prog_CC
2689   shift
2690   if test $# != 0; then
2691     # We chose a different compiler from the bogus one.
2692     # However, it has the same basename, so the bogon will be chosen
2693     # first if we set CC to just the basename; use the full file name.
2694     shift
2695     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2696   fi
2697 fi
2698 fi
2699 fi
2700 CC=$ac_cv_prog_CC
2701 if test -n "$CC"; then
2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2703 $as_echo "$CC" >&6; }
2704 else
2705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706 $as_echo "no" >&6; }
2707 fi
2708
2709
2710 fi
2711 if test -z "$CC"; then
2712   if test -n "$ac_tool_prefix"; then
2713   for ac_prog in cl.exe
2714   do
2715     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2718 $as_echo_n "checking for $ac_word... " >&6; }
2719 if ${ac_cv_prog_CC+:} false; then :
2720   $as_echo_n "(cached) " >&6
2721 else
2722   if test -n "$CC"; then
2723   ac_cv_prog_CC="$CC" # Let the user override the test.
2724 else
2725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726 for as_dir in $PATH
2727 do
2728   IFS=$as_save_IFS
2729   test -z "$as_dir" && as_dir=.
2730     for ac_exec_ext in '' $ac_executable_extensions; do
2731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2732     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2734     break 2
2735   fi
2736 done
2737   done
2738 IFS=$as_save_IFS
2739
2740 fi
2741 fi
2742 CC=$ac_cv_prog_CC
2743 if test -n "$CC"; then
2744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 $as_echo "$CC" >&6; }
2746 else
2747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 $as_echo "no" >&6; }
2749 fi
2750
2751
2752     test -n "$CC" && break
2753   done
2754 fi
2755 if test -z "$CC"; then
2756   ac_ct_CC=$CC
2757   for ac_prog in cl.exe
2758 do
2759   # Extract the first word of "$ac_prog", so it can be a program name with args.
2760 set dummy $ac_prog; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2764   $as_echo_n "(cached) " >&6
2765 else
2766   if test -n "$ac_ct_CC"; then
2767   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2768 else
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 for as_dir in $PATH
2771 do
2772   IFS=$as_save_IFS
2773   test -z "$as_dir" && as_dir=.
2774     for ac_exec_ext in '' $ac_executable_extensions; do
2775   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776     ac_cv_prog_ac_ct_CC="$ac_prog"
2777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2778     break 2
2779   fi
2780 done
2781   done
2782 IFS=$as_save_IFS
2783
2784 fi
2785 fi
2786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2787 if test -n "$ac_ct_CC"; then
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2789 $as_echo "$ac_ct_CC" >&6; }
2790 else
2791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2793 fi
2794
2795
2796   test -n "$ac_ct_CC" && break
2797 done
2798
2799   if test "x$ac_ct_CC" = x; then
2800     CC=""
2801   else
2802     case $cross_compiling:$ac_tool_warned in
2803 yes:)
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2806 ac_tool_warned=yes ;;
2807 esac
2808     CC=$ac_ct_CC
2809   fi
2810 fi
2811
2812 fi
2813
2814
2815 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 as_fn_error $? "no acceptable C compiler found in \$PATH
2818 See \`config.log' for more details" "$LINENO" 5; }
2819
2820 # Provide some information about the compiler.
2821 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2822 set X $ac_compile
2823 ac_compiler=$2
2824 for ac_option in --version -v -V -qversion; do
2825   { { ac_try="$ac_compiler $ac_option >&5"
2826 case "(($ac_try" in
2827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828   *) ac_try_echo=$ac_try;;
2829 esac
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2833   ac_status=$?
2834   if test -s conftest.err; then
2835     sed '10a\
2836 ... rest of stderr output deleted ...
2837          10q' conftest.err >conftest.er1
2838     cat conftest.er1 >&5
2839   fi
2840   rm -f conftest.er1 conftest.err
2841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842   test $ac_status = 0; }
2843 done
2844
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h.  */
2847
2848 int
2849 main ()
2850 {
2851
2852   ;
2853   return 0;
2854 }
2855 _ACEOF
2856 ac_clean_files_save=$ac_clean_files
2857 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2858 # Try to create an executable without -o first, disregard a.out.
2859 # It will help us diagnose broken compilers, and finding out an intuition
2860 # of exeext.
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2862 $as_echo_n "checking whether the C compiler works... " >&6; }
2863 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2864
2865 # The possible output files:
2866 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2867
2868 ac_rmfiles=
2869 for ac_file in $ac_files
2870 do
2871   case $ac_file in
2872     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2873     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2874   esac
2875 done
2876 rm -f $ac_rmfiles
2877
2878 if { { ac_try="$ac_link_default"
2879 case "(($ac_try" in
2880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881   *) ac_try_echo=$ac_try;;
2882 esac
2883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2884 $as_echo "$ac_try_echo"; } >&5
2885   (eval "$ac_link_default") 2>&5
2886   ac_status=$?
2887   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2888   test $ac_status = 0; }; then :
2889   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2890 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2891 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2892 # so that the user can short-circuit this test for compilers unknown to
2893 # Autoconf.
2894 for ac_file in $ac_files ''
2895 do
2896   test -f "$ac_file" || continue
2897   case $ac_file in
2898     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2899         ;;
2900     [ab].out )
2901         # We found the default executable, but exeext='' is most
2902         # certainly right.
2903         break;;
2904     *.* )
2905         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2906         then :; else
2907            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2908         fi
2909         # We set ac_cv_exeext here because the later test for it is not
2910         # safe: cross compilers may not add the suffix if given an `-o'
2911         # argument, so we may need to know it at that point already.
2912         # Even if this section looks crufty: it has the advantage of
2913         # actually working.
2914         break;;
2915     * )
2916         break;;
2917   esac
2918 done
2919 test "$ac_cv_exeext" = no && ac_cv_exeext=
2920
2921 else
2922   ac_file=''
2923 fi
2924 if test -z "$ac_file"; then :
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 $as_echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2929
2930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 as_fn_error 77 "C compiler cannot create executables
2933 See \`config.log' for more details" "$LINENO" 5; }
2934 else
2935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2936 $as_echo "yes" >&6; }
2937 fi
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2939 $as_echo_n "checking for C compiler default output file name... " >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2941 $as_echo "$ac_file" >&6; }
2942 ac_exeext=$ac_cv_exeext
2943
2944 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2945 ac_clean_files=$ac_clean_files_save
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2947 $as_echo_n "checking for suffix of executables... " >&6; }
2948 if { { ac_try="$ac_link"
2949 case "(($ac_try" in
2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951   *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955   (eval "$ac_link") 2>&5
2956   ac_status=$?
2957   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958   test $ac_status = 0; }; then :
2959   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2960 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2961 # work properly (i.e., refer to `conftest.exe'), while it won't with
2962 # `rm'.
2963 for ac_file in conftest.exe conftest conftest.*; do
2964   test -f "$ac_file" || continue
2965   case $ac_file in
2966     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2967     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2968           break;;
2969     * ) break;;
2970   esac
2971 done
2972 else
2973   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2974 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2975 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2976 See \`config.log' for more details" "$LINENO" 5; }
2977 fi
2978 rm -f conftest conftest$ac_cv_exeext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2980 $as_echo "$ac_cv_exeext" >&6; }
2981
2982 rm -f conftest.$ac_ext
2983 EXEEXT=$ac_cv_exeext
2984 ac_exeext=$EXEEXT
2985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2986 /* end confdefs.h.  */
2987 #include <stdio.h>
2988 int
2989 main ()
2990 {
2991 FILE *f = fopen ("conftest.out", "w");
2992  return ferror (f) || fclose (f) != 0;
2993
2994   ;
2995   return 0;
2996 }
2997 _ACEOF
2998 ac_clean_files="$ac_clean_files conftest.out"
2999 # Check that the compiler produces executables we can run.  If not, either
3000 # the compiler is broken, or we cross compile.
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3002 $as_echo_n "checking whether we are cross compiling... " >&6; }
3003 if test "$cross_compiling" != yes; then
3004   { { ac_try="$ac_link"
3005 case "(($ac_try" in
3006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007   *) ac_try_echo=$ac_try;;
3008 esac
3009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011   (eval "$ac_link") 2>&5
3012   ac_status=$?
3013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014   test $ac_status = 0; }
3015   if { ac_try='./conftest$ac_cv_exeext'
3016   { { case "(($ac_try" in
3017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018   *) ac_try_echo=$ac_try;;
3019 esac
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022   (eval "$ac_try") 2>&5
3023   ac_status=$?
3024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3025   test $ac_status = 0; }; }; then
3026     cross_compiling=no
3027   else
3028     if test "$cross_compiling" = maybe; then
3029         cross_compiling=yes
3030     else
3031         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3032 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3033 as_fn_error $? "cannot run C compiled programs.
3034 If you meant to cross compile, use \`--host'.
3035 See \`config.log' for more details" "$LINENO" 5; }
3036     fi
3037   fi
3038 fi
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3040 $as_echo "$cross_compiling" >&6; }
3041
3042 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3043 ac_clean_files=$ac_clean_files_save
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3045 $as_echo_n "checking for suffix of object files... " >&6; }
3046 if ${ac_cv_objext+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h.  */
3051
3052 int
3053 main ()
3054 {
3055
3056   ;
3057   return 0;
3058 }
3059 _ACEOF
3060 rm -f conftest.o conftest.obj
3061 if { { ac_try="$ac_compile"
3062 case "(($ac_try" in
3063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064   *) ac_try_echo=$ac_try;;
3065 esac
3066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3067 $as_echo "$ac_try_echo"; } >&5
3068   (eval "$ac_compile") 2>&5
3069   ac_status=$?
3070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3071   test $ac_status = 0; }; then :
3072   for ac_file in conftest.o conftest.obj conftest.*; do
3073   test -f "$ac_file" || continue;
3074   case $ac_file in
3075     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3076     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3077        break;;
3078   esac
3079 done
3080 else
3081   $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.$ac_ext >&5
3083
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error $? "cannot compute suffix of object files: cannot compile
3087 See \`config.log' for more details" "$LINENO" 5; }
3088 fi
3089 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3090 fi
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3092 $as_echo "$ac_cv_objext" >&6; }
3093 OBJEXT=$ac_cv_objext
3094 ac_objext=$OBJEXT
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3096 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3097 if ${ac_cv_c_compiler_gnu+:} false; then :
3098   $as_echo_n "(cached) " >&6
3099 else
3100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h.  */
3102
3103 int
3104 main ()
3105 {
3106 #ifndef __GNUC__
3107        choke me
3108 #endif
3109
3110   ;
3111   return 0;
3112 }
3113 _ACEOF
3114 if ac_fn_c_try_compile "$LINENO"; then :
3115   ac_compiler_gnu=yes
3116 else
3117   ac_compiler_gnu=no
3118 fi
3119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3120 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3121
3122 fi
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3124 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3125 if test $ac_compiler_gnu = yes; then
3126   GCC=yes
3127 else
3128   GCC=
3129 fi
3130 ac_test_CFLAGS=${CFLAGS+set}
3131 ac_save_CFLAGS=$CFLAGS
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3133 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3134 if ${ac_cv_prog_cc_g+:} false; then :
3135   $as_echo_n "(cached) " >&6
3136 else
3137   ac_save_c_werror_flag=$ac_c_werror_flag
3138    ac_c_werror_flag=yes
3139    ac_cv_prog_cc_g=no
3140    CFLAGS="-g"
3141    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h.  */
3143
3144 int
3145 main ()
3146 {
3147
3148   ;
3149   return 0;
3150 }
3151 _ACEOF
3152 if ac_fn_c_try_compile "$LINENO"; then :
3153   ac_cv_prog_cc_g=yes
3154 else
3155   CFLAGS=""
3156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h.  */
3158
3159 int
3160 main ()
3161 {
3162
3163   ;
3164   return 0;
3165 }
3166 _ACEOF
3167 if ac_fn_c_try_compile "$LINENO"; then :
3168
3169 else
3170   ac_c_werror_flag=$ac_save_c_werror_flag
3171          CFLAGS="-g"
3172          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3173 /* end confdefs.h.  */
3174
3175 int
3176 main ()
3177 {
3178
3179   ;
3180   return 0;
3181 }
3182 _ACEOF
3183 if ac_fn_c_try_compile "$LINENO"; then :
3184   ac_cv_prog_cc_g=yes
3185 fi
3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3187 fi
3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 fi
3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191    ac_c_werror_flag=$ac_save_c_werror_flag
3192 fi
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3194 $as_echo "$ac_cv_prog_cc_g" >&6; }
3195 if test "$ac_test_CFLAGS" = set; then
3196   CFLAGS=$ac_save_CFLAGS
3197 elif test $ac_cv_prog_cc_g = yes; then
3198   if test "$GCC" = yes; then
3199     CFLAGS="-g -O2"
3200   else
3201     CFLAGS="-g"
3202   fi
3203 else
3204   if test "$GCC" = yes; then
3205     CFLAGS="-O2"
3206   else
3207     CFLAGS=
3208   fi
3209 fi
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3211 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3212 if ${ac_cv_prog_cc_c89+:} false; then :
3213   $as_echo_n "(cached) " >&6
3214 else
3215   ac_cv_prog_cc_c89=no
3216 ac_save_CC=$CC
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h.  */
3219 #include <stdarg.h>
3220 #include <stdio.h>
3221 struct stat;
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3226      char **p;
3227      int i;
3228 {
3229   return p[i];
3230 }
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3232 {
3233   char *s;
3234   va_list v;
3235   va_start (v,p);
3236   s = g (p, va_arg (v,int));
3237   va_end (v);
3238   return s;
3239 }
3240
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3242    function prototypes and stuff, but not '\xHH' hex character constants.
3243    These don't provoke an error unfortunately, instead are silently treated
3244    as 'x'.  The following induces an error, until -std is added to get
3245    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3246    array size at least.  It's necessary to write '\x00'==0 to get something
3247    that's true only with -std.  */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3249
3250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251    inside strings and character constants.  */
3252 #define FOO(x) 'x'
3253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3254
3255 int test (int i, double x);
3256 struct s1 {int (*f) (int a);};
3257 struct s2 {int (*f) (double a);};
3258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3259 int argc;
3260 char **argv;
3261 int
3262 main ()
3263 {
3264 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3265   ;
3266   return 0;
3267 }
3268 _ACEOF
3269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3271 do
3272   CC="$ac_save_CC $ac_arg"
3273   if ac_fn_c_try_compile "$LINENO"; then :
3274   ac_cv_prog_cc_c89=$ac_arg
3275 fi
3276 rm -f core conftest.err conftest.$ac_objext
3277   test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 done
3279 rm -f conftest.$ac_ext
3280 CC=$ac_save_CC
3281
3282 fi
3283 # AC_CACHE_VAL
3284 case "x$ac_cv_prog_cc_c89" in
3285   x)
3286     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3287 $as_echo "none needed" >&6; } ;;
3288   xno)
3289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3290 $as_echo "unsupported" >&6; } ;;
3291   *)
3292     CC="$CC $ac_cv_prog_cc_c89"
3293     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3294 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3295 esac
3296 if test "x$ac_cv_prog_cc_c89" != xno; then :
3297
3298 fi
3299
3300 ac_ext=c
3301 ac_cpp='$CPP $CPPFLAGS'
3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3305
3306 ac_ext=c
3307 ac_cpp='$CPP $CPPFLAGS'
3308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3312 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3313 if ${am_cv_prog_cc_c_o+:} false; then :
3314   $as_echo_n "(cached) " >&6
3315 else
3316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317 /* end confdefs.h.  */
3318
3319 int
3320 main ()
3321 {
3322
3323   ;
3324   return 0;
3325 }
3326 _ACEOF
3327   # Make sure it works both with $CC and with simple cc.
3328   # Following AC_PROG_CC_C_O, we do the test twice because some
3329   # compilers refuse to overwrite an existing .o file with -o,
3330   # though they will create one.
3331   am_cv_prog_cc_c_o=yes
3332   for am_i in 1 2; do
3333     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3334    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3335    ac_status=$?
3336    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337    (exit $ac_status); } \
3338          && test -f conftest2.$ac_objext; then
3339       : OK
3340     else
3341       am_cv_prog_cc_c_o=no
3342       break
3343     fi
3344   done
3345   rm -f core conftest*
3346   unset am_i
3347 fi
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3349 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3350 if test "$am_cv_prog_cc_c_o" != yes; then
3351    # Losing compiler, so override with the script.
3352    # FIXME: It is wrong to rewrite CC.
3353    # But if we don't then we get into trouble of one sort or another.
3354    # A longer-term fix would be to have automake use am__CC in this case,
3355    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3356    CC="$am_aux_dir/compile $CC"
3357 fi
3358 ac_ext=c
3359 ac_cpp='$CPP $CPPFLAGS'
3360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363
3364 DEPDIR="${am__leading_dot}deps"
3365
3366 ac_config_commands="$ac_config_commands depfiles"
3367
3368
3369 am_make=${MAKE-make}
3370 cat > confinc << 'END'
3371 am__doit:
3372         @echo this is the am__doit target
3373 .PHONY: am__doit
3374 END
3375 # If we don't find an include directive, just comment out the code.
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3377 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3378 am__include="#"
3379 am__quote=
3380 _am_result=none
3381 # First try GNU make style include.
3382 echo "include confinc" > confmf
3383 # Ignore all kinds of additional output from 'make'.
3384 case `$am_make -s -f confmf 2> /dev/null` in #(
3385 *the\ am__doit\ target*)
3386   am__include=include
3387   am__quote=
3388   _am_result=GNU
3389   ;;
3390 esac
3391 # Now try BSD make style include.
3392 if test "$am__include" = "#"; then
3393    echo '.include "confinc"' > confmf
3394    case `$am_make -s -f confmf 2> /dev/null` in #(
3395    *the\ am__doit\ target*)
3396      am__include=.include
3397      am__quote="\""
3398      _am_result=BSD
3399      ;;
3400    esac
3401 fi
3402
3403
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3405 $as_echo "$_am_result" >&6; }
3406 rm -f confinc confmf
3407
3408 # Check whether --enable-dependency-tracking was given.
3409 if test "${enable_dependency_tracking+set}" = set; then :
3410   enableval=$enable_dependency_tracking;
3411 fi
3412
3413 if test "x$enable_dependency_tracking" != xno; then
3414   am_depcomp="$ac_aux_dir/depcomp"
3415   AMDEPBACKSLASH='\'
3416   am__nodep='_no'
3417 fi
3418  if test "x$enable_dependency_tracking" != xno; then
3419   AMDEP_TRUE=
3420   AMDEP_FALSE='#'
3421 else
3422   AMDEP_TRUE='#'
3423   AMDEP_FALSE=
3424 fi
3425
3426
3427
3428 depcc="$CC"   am_compiler_list=
3429
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3431 $as_echo_n "checking dependency style of $depcc... " >&6; }
3432 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3433   $as_echo_n "(cached) " >&6
3434 else
3435   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3436   # We make a subdir and do the tests there.  Otherwise we can end up
3437   # making bogus files that we don't know about and never remove.  For
3438   # instance it was reported that on HP-UX the gcc test will end up
3439   # making a dummy file named 'D' -- because '-MD' means "put the output
3440   # in D".
3441   rm -rf conftest.dir
3442   mkdir conftest.dir
3443   # Copy depcomp to subdir because otherwise we won't find it if we're
3444   # using a relative directory.
3445   cp "$am_depcomp" conftest.dir
3446   cd conftest.dir
3447   # We will build objects and dependencies in a subdirectory because
3448   # it helps to detect inapplicable dependency modes.  For instance
3449   # both Tru64's cc and ICC support -MD to output dependencies as a
3450   # side effect of compilation, but ICC will put the dependencies in
3451   # the current directory while Tru64 will put them in the object
3452   # directory.
3453   mkdir sub
3454
3455   am_cv_CC_dependencies_compiler_type=none
3456   if test "$am_compiler_list" = ""; then
3457      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3458   fi
3459   am__universal=false
3460   case " $depcc " in #(
3461      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3462      esac
3463
3464   for depmode in $am_compiler_list; do
3465     # Setup a source with many dependencies, because some compilers
3466     # like to wrap large dependency lists on column 80 (with \), and
3467     # we should not choose a depcomp mode which is confused by this.
3468     #
3469     # We need to recreate these files for each test, as the compiler may
3470     # overwrite some of them when testing with obscure command lines.
3471     # This happens at least with the AIX C compiler.
3472     : > sub/conftest.c
3473     for i in 1 2 3 4 5 6; do
3474       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3475       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3476       # Solaris 10 /bin/sh.
3477       echo '/* dummy */' > sub/conftst$i.h
3478     done
3479     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3480
3481     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3482     # mode.  It turns out that the SunPro C++ compiler does not properly
3483     # handle '-M -o', and we need to detect this.  Also, some Intel
3484     # versions had trouble with output in subdirs.
3485     am__obj=sub/conftest.${OBJEXT-o}
3486     am__minus_obj="-o $am__obj"
3487     case $depmode in
3488     gcc)
3489       # This depmode causes a compiler race in universal mode.
3490       test "$am__universal" = false || continue
3491       ;;
3492     nosideeffect)
3493       # After this tag, mechanisms are not by side-effect, so they'll
3494       # only be used when explicitly requested.
3495       if test "x$enable_dependency_tracking" = xyes; then
3496         continue
3497       else
3498         break
3499       fi
3500       ;;
3501     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3502       # This compiler won't grok '-c -o', but also, the minuso test has
3503       # not run yet.  These depmodes are late enough in the game, and
3504       # so weak that their functioning should not be impacted.
3505       am__obj=conftest.${OBJEXT-o}
3506       am__minus_obj=
3507       ;;
3508     none) break ;;
3509     esac
3510     if depmode=$depmode \
3511        source=sub/conftest.c object=$am__obj \
3512        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3513        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3514          >/dev/null 2>conftest.err &&
3515        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3516        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3517        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3518        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3519       # icc doesn't choke on unknown options, it will just issue warnings
3520       # or remarks (even with -Werror).  So we grep stderr for any message
3521       # that says an option was ignored or not supported.
3522       # When given -MP, icc 7.0 and 7.1 complain thusly:
3523       #   icc: Command line warning: ignoring option '-M'; no argument required
3524       # The diagnosis changed in icc 8.0:
3525       #   icc: Command line remark: option '-MP' not supported
3526       if (grep 'ignoring option' conftest.err ||
3527           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3528         am_cv_CC_dependencies_compiler_type=$depmode
3529         break
3530       fi
3531     fi
3532   done
3533
3534   cd ..
3535   rm -rf conftest.dir
3536 else
3537   am_cv_CC_dependencies_compiler_type=none
3538 fi
3539
3540 fi
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3542 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3543 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3544
3545  if
3546   test "x$enable_dependency_tracking" != xno \
3547   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3548   am__fastdepCC_TRUE=
3549   am__fastdepCC_FALSE='#'
3550 else
3551   am__fastdepCC_TRUE='#'
3552   am__fastdepCC_FALSE=
3553 fi
3554
3555
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561
3562
3563
3564 # Check whether --enable-largefile was given.
3565 if test "${enable_largefile+set}" = set; then :
3566   enableval=$enable_largefile;
3567 fi
3568
3569 if test "$enable_largefile" != no; then
3570
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3572 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3573 if ${ac_cv_sys_largefile_CC+:} false; then :
3574   $as_echo_n "(cached) " >&6
3575 else
3576   ac_cv_sys_largefile_CC=no
3577      if test "$GCC" != yes; then
3578        ac_save_CC=$CC
3579        while :; do
3580          # IRIX 6.2 and later do not support large files by default,
3581          # so use the C compiler's -n32 option if that helps.
3582          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h.  */
3584 #include <sys/types.h>
3585  /* Check that off_t can represent 2**63 - 1 correctly.
3586     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3587     since some C++ compilers masquerading as C compilers
3588     incorrectly reject 9223372036854775807.  */
3589 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3590   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3591                        && LARGE_OFF_T % 2147483647 == 1)
3592                       ? 1 : -1];
3593 int
3594 main ()
3595 {
3596
3597   ;
3598   return 0;
3599 }
3600 _ACEOF
3601          if ac_fn_c_try_compile "$LINENO"; then :
3602   break
3603 fi
3604 rm -f core conftest.err conftest.$ac_objext
3605          CC="$CC -n32"
3606          if ac_fn_c_try_compile "$LINENO"; then :
3607   ac_cv_sys_largefile_CC=' -n32'; break
3608 fi
3609 rm -f core conftest.err conftest.$ac_objext
3610          break
3611        done
3612        CC=$ac_save_CC
3613        rm -f conftest.$ac_ext
3614     fi
3615 fi
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3617 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3618   if test "$ac_cv_sys_largefile_CC" != no; then
3619     CC=$CC$ac_cv_sys_largefile_CC
3620   fi
3621
3622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3623 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3624 if ${ac_cv_sys_file_offset_bits+:} false; then :
3625   $as_echo_n "(cached) " >&6
3626 else
3627   while :; do
3628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629 /* end confdefs.h.  */
3630 #include <sys/types.h>
3631  /* Check that off_t can represent 2**63 - 1 correctly.
3632     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3633     since some C++ compilers masquerading as C compilers
3634     incorrectly reject 9223372036854775807.  */
3635 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3636   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3637                        && LARGE_OFF_T % 2147483647 == 1)
3638                       ? 1 : -1];
3639 int
3640 main ()
3641 {
3642
3643   ;
3644   return 0;
3645 }
3646 _ACEOF
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648   ac_cv_sys_file_offset_bits=no; break
3649 fi
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3652 /* end confdefs.h.  */
3653 #define _FILE_OFFSET_BITS 64
3654 #include <sys/types.h>
3655  /* Check that off_t can represent 2**63 - 1 correctly.
3656     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3657     since some C++ compilers masquerading as C compilers
3658     incorrectly reject 9223372036854775807.  */
3659 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3660   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3661                        && LARGE_OFF_T % 2147483647 == 1)
3662                       ? 1 : -1];
3663 int
3664 main ()
3665 {
3666
3667   ;
3668   return 0;
3669 }
3670 _ACEOF
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672   ac_cv_sys_file_offset_bits=64; break
3673 fi
3674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3675   ac_cv_sys_file_offset_bits=unknown
3676   break
3677 done
3678 fi
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3680 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3681 case $ac_cv_sys_file_offset_bits in #(
3682   no | unknown) ;;
3683   *)
3684 cat >>confdefs.h <<_ACEOF
3685 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3686 _ACEOF
3687 ;;
3688 esac
3689 rm -rf conftest*
3690   if test $ac_cv_sys_file_offset_bits = unknown; then
3691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3692 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3693 if ${ac_cv_sys_large_files+:} false; then :
3694   $as_echo_n "(cached) " >&6
3695 else
3696   while :; do
3697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h.  */
3699 #include <sys/types.h>
3700  /* Check that off_t can represent 2**63 - 1 correctly.
3701     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3702     since some C++ compilers masquerading as C compilers
3703     incorrectly reject 9223372036854775807.  */
3704 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3705   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3706                        && LARGE_OFF_T % 2147483647 == 1)
3707                       ? 1 : -1];
3708 int
3709 main ()
3710 {
3711
3712   ;
3713   return 0;
3714 }
3715 _ACEOF
3716 if ac_fn_c_try_compile "$LINENO"; then :
3717   ac_cv_sys_large_files=no; break
3718 fi
3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h.  */
3722 #define _LARGE_FILES 1
3723 #include <sys/types.h>
3724  /* Check that off_t can represent 2**63 - 1 correctly.
3725     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3726     since some C++ compilers masquerading as C compilers
3727     incorrectly reject 9223372036854775807.  */
3728 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
3729   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3730                        && LARGE_OFF_T % 2147483647 == 1)
3731                       ? 1 : -1];
3732 int
3733 main ()
3734 {
3735
3736   ;
3737   return 0;
3738 }
3739 _ACEOF
3740 if ac_fn_c_try_compile "$LINENO"; then :
3741   ac_cv_sys_large_files=1; break
3742 fi
3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744   ac_cv_sys_large_files=unknown
3745   break
3746 done
3747 fi
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3749 $as_echo "$ac_cv_sys_large_files" >&6; }
3750 case $ac_cv_sys_large_files in #(
3751   no | unknown) ;;
3752   *)
3753 cat >>confdefs.h <<_ACEOF
3754 #define _LARGE_FILES $ac_cv_sys_large_files
3755 _ACEOF
3756 ;;
3757 esac
3758 rm -rf conftest*
3759   fi
3760
3761
3762 fi
3763
3764
3765
3766
3767
3768
3769
3770
3771 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3772         if test -n "$ac_tool_prefix"; then
3773   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3774 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3778   $as_echo_n "(cached) " >&6
3779 else
3780   case $PKG_CONFIG in
3781   [\\/]* | ?:[\\/]*)
3782   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3783   ;;
3784   *)
3785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3787 do
3788   IFS=$as_save_IFS
3789   test -z "$as_dir" && as_dir=.
3790     for ac_exec_ext in '' $ac_executable_extensions; do
3791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794     break 2
3795   fi
3796 done
3797   done
3798 IFS=$as_save_IFS
3799
3800   ;;
3801 esac
3802 fi
3803 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3804 if test -n "$PKG_CONFIG"; then
3805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3806 $as_echo "$PKG_CONFIG" >&6; }
3807 else
3808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 fi
3811
3812
3813 fi
3814 if test -z "$ac_cv_path_PKG_CONFIG"; then
3815   ac_pt_PKG_CONFIG=$PKG_CONFIG
3816   # Extract the first word of "pkg-config", so it can be a program name with args.
3817 set dummy pkg-config; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3821   $as_echo_n "(cached) " >&6
3822 else
3823   case $ac_pt_PKG_CONFIG in
3824   [\\/]* | ?:[\\/]*)
3825   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3826   ;;
3827   *)
3828   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3829 for as_dir in $PATH
3830 do
3831   IFS=$as_save_IFS
3832   test -z "$as_dir" && as_dir=.
3833     for ac_exec_ext in '' $ac_executable_extensions; do
3834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3835     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3837     break 2
3838   fi
3839 done
3840   done
3841 IFS=$as_save_IFS
3842
3843   ;;
3844 esac
3845 fi
3846 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3847 if test -n "$ac_pt_PKG_CONFIG"; then
3848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3849 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3850 else
3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3852 $as_echo "no" >&6; }
3853 fi
3854
3855   if test "x$ac_pt_PKG_CONFIG" = x; then
3856     PKG_CONFIG=""
3857   else
3858     case $cross_compiling:$ac_tool_warned in
3859 yes:)
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3862 ac_tool_warned=yes ;;
3863 esac
3864     PKG_CONFIG=$ac_pt_PKG_CONFIG
3865   fi
3866 else
3867   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3868 fi
3869
3870 fi
3871 if test -n "$PKG_CONFIG"; then
3872         _pkg_min_version=0.9.0
3873         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3874 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3875         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3876                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3877 $as_echo "yes" >&6; }
3878         else
3879                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3881                 PKG_CONFIG=""
3882         fi
3883 fi
3884
3885 # Handle bash completion
3886
3887 # Check whether --with-bash-completion-dir was given.
3888 if test "${with_bash_completion_dir+set}" = set; then :
3889   withval=$with_bash_completion_dir;
3890 else
3891   with_bash_completion_dir=yes
3892 fi
3893
3894
3895 if test "x$with_bash_completion_dir" = "xyes"; then
3896     BASH_COMPLETION_DIR="${datadir}/bash-completion/completions"
3897 else
3898     BASH_COMPLETION_DIR="$with_bash_completion_dir"
3899 fi
3900
3901  if test "x$with_bash_completion_dir" != "xno"; then
3902   ENABLE_BASH_COMPLETION_TRUE=
3903   ENABLE_BASH_COMPLETION_FALSE='#'
3904 else
3905   ENABLE_BASH_COMPLETION_TRUE='#'
3906   ENABLE_BASH_COMPLETION_FALSE=
3907 fi
3908
3909
3910 # TIO_CHECK_BAUDRATE(N)
3911
3912
3913 # TIO_CHECK_BAUDRATES(N1, N2, ...)
3914
3915
3916 # Check for available terminal I/O speeds
3917 BAUDRATES=
3918 BAUDRATE_CASES=
3919
3920         ac_fn_c_check_decl "$LINENO" "B0" "ac_cv_have_decl_B0" "#include <termios.h>
3921 "
3922 if test "x$ac_cv_have_decl_B0" = xyes; then :
3923   tio_have_decl=1
3924 else
3925   tio_have_decl=0
3926 fi
3927
3928         if test $tio_have_decl = 1; then :
3929
3930             BAUDRATES="$BAUDRATES 0"
3931
3932             BAUDRATE_CASES="$BAUDRATE_CASES case 0: baudrate = B0; break;"
3933
3934
3935 fi
3936
3937
3938         ac_fn_c_check_decl "$LINENO" "B50" "ac_cv_have_decl_B50" "#include <termios.h>
3939 "
3940 if test "x$ac_cv_have_decl_B50" = xyes; then :
3941   tio_have_decl=1
3942 else
3943   tio_have_decl=0
3944 fi
3945
3946         if test $tio_have_decl = 1; then :
3947
3948             BAUDRATES="$BAUDRATES 50"
3949
3950             BAUDRATE_CASES="$BAUDRATE_CASES case 50: baudrate = B50; break;"
3951
3952
3953 fi
3954
3955
3956         ac_fn_c_check_decl "$LINENO" "B75" "ac_cv_have_decl_B75" "#include <termios.h>
3957 "
3958 if test "x$ac_cv_have_decl_B75" = xyes; then :
3959   tio_have_decl=1
3960 else
3961   tio_have_decl=0
3962 fi
3963
3964         if test $tio_have_decl = 1; then :
3965
3966             BAUDRATES="$BAUDRATES 75"
3967
3968             BAUDRATE_CASES="$BAUDRATE_CASES case 75: baudrate = B75; break;"
3969
3970
3971 fi
3972
3973
3974         ac_fn_c_check_decl "$LINENO" "B110" "ac_cv_have_decl_B110" "#include <termios.h>
3975 "
3976 if test "x$ac_cv_have_decl_B110" = xyes; then :
3977   tio_have_decl=1
3978 else
3979   tio_have_decl=0
3980 fi
3981
3982         if test $tio_have_decl = 1; then :
3983
3984             BAUDRATES="$BAUDRATES 110"
3985
3986             BAUDRATE_CASES="$BAUDRATE_CASES case 110: baudrate = B110; break;"
3987
3988
3989 fi
3990
3991
3992         ac_fn_c_check_decl "$LINENO" "B134" "ac_cv_have_decl_B134" "#include <termios.h>
3993 "
3994 if test "x$ac_cv_have_decl_B134" = xyes; then :
3995   tio_have_decl=1
3996 else
3997   tio_have_decl=0
3998 fi
3999
4000         if test $tio_have_decl = 1; then :
4001
4002             BAUDRATES="$BAUDRATES 134"
4003
4004             BAUDRATE_CASES="$BAUDRATE_CASES case 134: baudrate = B134; break;"
4005
4006
4007 fi
4008
4009
4010         ac_fn_c_check_decl "$LINENO" "B150" "ac_cv_have_decl_B150" "#include <termios.h>
4011 "
4012 if test "x$ac_cv_have_decl_B150" = xyes; then :
4013   tio_have_decl=1
4014 else
4015   tio_have_decl=0
4016 fi
4017
4018         if test $tio_have_decl = 1; then :
4019
4020             BAUDRATES="$BAUDRATES 150"
4021
4022             BAUDRATE_CASES="$BAUDRATE_CASES case 150: baudrate = B150; break;"
4023
4024
4025 fi
4026
4027
4028         ac_fn_c_check_decl "$LINENO" "B200" "ac_cv_have_decl_B200" "#include <termios.h>
4029 "
4030 if test "x$ac_cv_have_decl_B200" = xyes; then :
4031   tio_have_decl=1
4032 else
4033   tio_have_decl=0
4034 fi
4035
4036         if test $tio_have_decl = 1; then :
4037
4038             BAUDRATES="$BAUDRATES 200"
4039
4040             BAUDRATE_CASES="$BAUDRATE_CASES case 200: baudrate = B200; break;"
4041
4042
4043 fi
4044
4045
4046         ac_fn_c_check_decl "$LINENO" "B300" "ac_cv_have_decl_B300" "#include <termios.h>
4047 "
4048 if test "x$ac_cv_have_decl_B300" = xyes; then :
4049   tio_have_decl=1
4050 else
4051   tio_have_decl=0
4052 fi
4053
4054         if test $tio_have_decl = 1; then :
4055
4056             BAUDRATES="$BAUDRATES 300"
4057
4058             BAUDRATE_CASES="$BAUDRATE_CASES case 300: baudrate = B300; break;"
4059
4060
4061 fi
4062
4063
4064         ac_fn_c_check_decl "$LINENO" "B600" "ac_cv_have_decl_B600" "#include <termios.h>
4065 "
4066 if test "x$ac_cv_have_decl_B600" = xyes; then :
4067   tio_have_decl=1
4068 else
4069   tio_have_decl=0
4070 fi
4071
4072         if test $tio_have_decl = 1; then :
4073
4074             BAUDRATES="$BAUDRATES 600"
4075
4076             BAUDRATE_CASES="$BAUDRATE_CASES case 600: baudrate = B600; break;"
4077
4078
4079 fi
4080
4081
4082         ac_fn_c_check_decl "$LINENO" "B1200" "ac_cv_have_decl_B1200" "#include <termios.h>
4083 "
4084 if test "x$ac_cv_have_decl_B1200" = xyes; then :
4085   tio_have_decl=1
4086 else
4087   tio_have_decl=0
4088 fi
4089
4090         if test $tio_have_decl = 1; then :
4091
4092             BAUDRATES="$BAUDRATES 1200"
4093
4094             BAUDRATE_CASES="$BAUDRATE_CASES case 1200: baudrate = B1200; break;"
4095
4096
4097 fi
4098
4099
4100         ac_fn_c_check_decl "$LINENO" "B1800" "ac_cv_have_decl_B1800" "#include <termios.h>
4101 "
4102 if test "x$ac_cv_have_decl_B1800" = xyes; then :
4103   tio_have_decl=1
4104 else
4105   tio_have_decl=0
4106 fi
4107
4108         if test $tio_have_decl = 1; then :
4109
4110             BAUDRATES="$BAUDRATES 1800"
4111
4112             BAUDRATE_CASES="$BAUDRATE_CASES case 1800: baudrate = B1800; break;"
4113
4114
4115 fi
4116
4117
4118         ac_fn_c_check_decl "$LINENO" "B2400" "ac_cv_have_decl_B2400" "#include <termios.h>
4119 "
4120 if test "x$ac_cv_have_decl_B2400" = xyes; then :
4121   tio_have_decl=1
4122 else
4123   tio_have_decl=0
4124 fi
4125
4126         if test $tio_have_decl = 1; then :
4127
4128             BAUDRATES="$BAUDRATES 2400"
4129
4130             BAUDRATE_CASES="$BAUDRATE_CASES case 2400: baudrate = B2400; break;"
4131
4132
4133 fi
4134
4135
4136         ac_fn_c_check_decl "$LINENO" "B4800" "ac_cv_have_decl_B4800" "#include <termios.h>
4137 "
4138 if test "x$ac_cv_have_decl_B4800" = xyes; then :
4139   tio_have_decl=1
4140 else
4141   tio_have_decl=0
4142 fi
4143
4144         if test $tio_have_decl = 1; then :
4145
4146             BAUDRATES="$BAUDRATES 4800"
4147
4148             BAUDRATE_CASES="$BAUDRATE_CASES case 4800: baudrate = B4800; break;"
4149
4150
4151 fi
4152
4153
4154         ac_fn_c_check_decl "$LINENO" "B7200" "ac_cv_have_decl_B7200" "#include <termios.h>
4155 "
4156 if test "x$ac_cv_have_decl_B7200" = xyes; then :
4157   tio_have_decl=1
4158 else
4159   tio_have_decl=0
4160 fi
4161
4162         if test $tio_have_decl = 1; then :
4163
4164             BAUDRATES="$BAUDRATES 7200"
4165
4166             BAUDRATE_CASES="$BAUDRATE_CASES case 7200: baudrate = B7200; break;"
4167
4168
4169 fi
4170
4171
4172         ac_fn_c_check_decl "$LINENO" "B9600" "ac_cv_have_decl_B9600" "#include <termios.h>
4173 "
4174 if test "x$ac_cv_have_decl_B9600" = xyes; then :
4175   tio_have_decl=1
4176 else
4177   tio_have_decl=0
4178 fi
4179
4180         if test $tio_have_decl = 1; then :
4181
4182             BAUDRATES="$BAUDRATES 9600"
4183
4184             BAUDRATE_CASES="$BAUDRATE_CASES case 9600: baudrate = B9600; break;"
4185
4186
4187 fi
4188
4189
4190         ac_fn_c_check_decl "$LINENO" "B14400" "ac_cv_have_decl_B14400" "#include <termios.h>
4191 "
4192 if test "x$ac_cv_have_decl_B14400" = xyes; then :
4193   tio_have_decl=1
4194 else
4195   tio_have_decl=0
4196 fi
4197
4198         if test $tio_have_decl = 1; then :
4199
4200             BAUDRATES="$BAUDRATES 14400"
4201
4202             BAUDRATE_CASES="$BAUDRATE_CASES case 14400: baudrate = B14400; break;"
4203
4204
4205 fi
4206
4207
4208         ac_fn_c_check_decl "$LINENO" "B19200" "ac_cv_have_decl_B19200" "#include <termios.h>
4209 "
4210 if test "x$ac_cv_have_decl_B19200" = xyes; then :
4211   tio_have_decl=1
4212 else
4213   tio_have_decl=0
4214 fi
4215
4216         if test $tio_have_decl = 1; then :
4217
4218             BAUDRATES="$BAUDRATES 19200"
4219
4220             BAUDRATE_CASES="$BAUDRATE_CASES case 19200: baudrate = B19200; break;"
4221
4222
4223 fi
4224
4225
4226         ac_fn_c_check_decl "$LINENO" "B28800" "ac_cv_have_decl_B28800" "#include <termios.h>
4227 "
4228 if test "x$ac_cv_have_decl_B28800" = xyes; then :
4229   tio_have_decl=1
4230 else
4231   tio_have_decl=0
4232 fi
4233
4234         if test $tio_have_decl = 1; then :
4235
4236             BAUDRATES="$BAUDRATES 28800"
4237
4238             BAUDRATE_CASES="$BAUDRATE_CASES case 28800: baudrate = B28800; break;"
4239
4240
4241 fi
4242
4243
4244         ac_fn_c_check_decl "$LINENO" "B38400" "ac_cv_have_decl_B38400" "#include <termios.h>
4245 "
4246 if test "x$ac_cv_have_decl_B38400" = xyes; then :
4247   tio_have_decl=1
4248 else
4249   tio_have_decl=0
4250 fi
4251
4252         if test $tio_have_decl = 1; then :
4253
4254             BAUDRATES="$BAUDRATES 38400"
4255
4256             BAUDRATE_CASES="$BAUDRATE_CASES case 38400: baudrate = B38400; break;"
4257
4258
4259 fi
4260
4261
4262         ac_fn_c_check_decl "$LINENO" "B57600" "ac_cv_have_decl_B57600" "#include <termios.h>
4263 "
4264 if test "x$ac_cv_have_decl_B57600" = xyes; then :
4265   tio_have_decl=1
4266 else
4267   tio_have_decl=0
4268 fi
4269
4270         if test $tio_have_decl = 1; then :
4271
4272             BAUDRATES="$BAUDRATES 57600"
4273
4274             BAUDRATE_CASES="$BAUDRATE_CASES case 57600: baudrate = B57600; break;"
4275
4276
4277 fi
4278
4279
4280         ac_fn_c_check_decl "$LINENO" "B76800" "ac_cv_have_decl_B76800" "#include <termios.h>
4281 "
4282 if test "x$ac_cv_have_decl_B76800" = xyes; then :
4283   tio_have_decl=1
4284 else
4285   tio_have_decl=0
4286 fi
4287
4288         if test $tio_have_decl = 1; then :
4289
4290             BAUDRATES="$BAUDRATES 76800"
4291
4292             BAUDRATE_CASES="$BAUDRATE_CASES case 76800: baudrate = B76800; break;"
4293
4294
4295 fi
4296
4297
4298         ac_fn_c_check_decl "$LINENO" "B115200" "ac_cv_have_decl_B115200" "#include <termios.h>
4299 "
4300 if test "x$ac_cv_have_decl_B115200" = xyes; then :
4301   tio_have_decl=1
4302 else
4303   tio_have_decl=0
4304 fi
4305
4306         if test $tio_have_decl = 1; then :
4307
4308             BAUDRATES="$BAUDRATES 115200"
4309
4310             BAUDRATE_CASES="$BAUDRATE_CASES case 115200: baudrate = B115200; break;"
4311
4312
4313 fi
4314
4315
4316         ac_fn_c_check_decl "$LINENO" "B230400" "ac_cv_have_decl_B230400" "#include <termios.h>
4317 "
4318 if test "x$ac_cv_have_decl_B230400" = xyes; then :
4319   tio_have_decl=1
4320 else
4321   tio_have_decl=0
4322 fi
4323
4324         if test $tio_have_decl = 1; then :
4325
4326             BAUDRATES="$BAUDRATES 230400"
4327
4328             BAUDRATE_CASES="$BAUDRATE_CASES case 230400: baudrate = B230400; break;"
4329
4330
4331 fi
4332
4333
4334         ac_fn_c_check_decl "$LINENO" "B460800" "ac_cv_have_decl_B460800" "#include <termios.h>
4335 "
4336 if test "x$ac_cv_have_decl_B460800" = xyes; then :
4337   tio_have_decl=1
4338 else
4339   tio_have_decl=0
4340 fi
4341
4342         if test $tio_have_decl = 1; then :
4343
4344             BAUDRATES="$BAUDRATES 460800"
4345
4346             BAUDRATE_CASES="$BAUDRATE_CASES case 460800: baudrate = B460800; break;"
4347
4348
4349 fi
4350
4351
4352         ac_fn_c_check_decl "$LINENO" "B500000" "ac_cv_have_decl_B500000" "#include <termios.h>
4353 "
4354 if test "x$ac_cv_have_decl_B500000" = xyes; then :
4355   tio_have_decl=1
4356 else
4357   tio_have_decl=0
4358 fi
4359
4360         if test $tio_have_decl = 1; then :
4361
4362             BAUDRATES="$BAUDRATES 500000"
4363
4364             BAUDRATE_CASES="$BAUDRATE_CASES case 500000: baudrate = B500000; break;"
4365
4366
4367 fi
4368
4369
4370         ac_fn_c_check_decl "$LINENO" "B576000" "ac_cv_have_decl_B576000" "#include <termios.h>
4371 "
4372 if test "x$ac_cv_have_decl_B576000" = xyes; then :
4373   tio_have_decl=1
4374 else
4375   tio_have_decl=0
4376 fi
4377
4378         if test $tio_have_decl = 1; then :
4379
4380             BAUDRATES="$BAUDRATES 576000"
4381
4382             BAUDRATE_CASES="$BAUDRATE_CASES case 576000: baudrate = B576000; break;"
4383
4384
4385 fi
4386
4387
4388         ac_fn_c_check_decl "$LINENO" "B921600" "ac_cv_have_decl_B921600" "#include <termios.h>
4389 "
4390 if test "x$ac_cv_have_decl_B921600" = xyes; then :
4391   tio_have_decl=1
4392 else
4393   tio_have_decl=0
4394 fi
4395
4396         if test $tio_have_decl = 1; then :
4397
4398             BAUDRATES="$BAUDRATES 921600"
4399
4400             BAUDRATE_CASES="$BAUDRATE_CASES case 921600: baudrate = B921600; break;"
4401
4402
4403 fi
4404
4405
4406         ac_fn_c_check_decl "$LINENO" "B1000000" "ac_cv_have_decl_B1000000" "#include <termios.h>
4407 "
4408 if test "x$ac_cv_have_decl_B1000000" = xyes; then :
4409   tio_have_decl=1
4410 else
4411   tio_have_decl=0
4412 fi
4413
4414         if test $tio_have_decl = 1; then :
4415
4416             BAUDRATES="$BAUDRATES 1000000"
4417
4418             BAUDRATE_CASES="$BAUDRATE_CASES case 1000000: baudrate = B1000000; break;"
4419
4420
4421 fi
4422
4423
4424         ac_fn_c_check_decl "$LINENO" "B1152000" "ac_cv_have_decl_B1152000" "#include <termios.h>
4425 "
4426 if test "x$ac_cv_have_decl_B1152000" = xyes; then :
4427   tio_have_decl=1
4428 else
4429   tio_have_decl=0
4430 fi
4431
4432         if test $tio_have_decl = 1; then :
4433
4434             BAUDRATES="$BAUDRATES 1152000"
4435
4436             BAUDRATE_CASES="$BAUDRATE_CASES case 1152000: baudrate = B1152000; break;"
4437
4438
4439 fi
4440
4441
4442         ac_fn_c_check_decl "$LINENO" "B1500000" "ac_cv_have_decl_B1500000" "#include <termios.h>
4443 "
4444 if test "x$ac_cv_have_decl_B1500000" = xyes; then :
4445   tio_have_decl=1
4446 else
4447   tio_have_decl=0
4448 fi
4449
4450         if test $tio_have_decl = 1; then :
4451
4452             BAUDRATES="$BAUDRATES 1500000"
4453
4454             BAUDRATE_CASES="$BAUDRATE_CASES case 1500000: baudrate = B1500000; break;"
4455
4456
4457 fi
4458
4459
4460         ac_fn_c_check_decl "$LINENO" "B2000000" "ac_cv_have_decl_B2000000" "#include <termios.h>
4461 "
4462 if test "x$ac_cv_have_decl_B2000000" = xyes; then :
4463   tio_have_decl=1
4464 else
4465   tio_have_decl=0
4466 fi
4467
4468         if test $tio_have_decl = 1; then :
4469
4470             BAUDRATES="$BAUDRATES 2000000"
4471
4472             BAUDRATE_CASES="$BAUDRATE_CASES case 2000000: baudrate = B2000000; break;"
4473
4474
4475 fi
4476
4477
4478         ac_fn_c_check_decl "$LINENO" "B2500000" "ac_cv_have_decl_B2500000" "#include <termios.h>
4479 "
4480 if test "x$ac_cv_have_decl_B2500000" = xyes; then :
4481   tio_have_decl=1
4482 else
4483   tio_have_decl=0
4484 fi
4485
4486         if test $tio_have_decl = 1; then :
4487
4488             BAUDRATES="$BAUDRATES 2500000"
4489
4490             BAUDRATE_CASES="$BAUDRATE_CASES case 2500000: baudrate = B2500000; break;"
4491
4492
4493 fi
4494
4495
4496         ac_fn_c_check_decl "$LINENO" "B3000000" "ac_cv_have_decl_B3000000" "#include <termios.h>
4497 "
4498 if test "x$ac_cv_have_decl_B3000000" = xyes; then :
4499   tio_have_decl=1
4500 else
4501   tio_have_decl=0
4502 fi
4503
4504         if test $tio_have_decl = 1; then :
4505
4506             BAUDRATES="$BAUDRATES 3000000"
4507
4508             BAUDRATE_CASES="$BAUDRATE_CASES case 3000000: baudrate = B3000000; break;"
4509
4510
4511 fi
4512
4513
4514         ac_fn_c_check_decl "$LINENO" "B3500000" "ac_cv_have_decl_B3500000" "#include <termios.h>
4515 "
4516 if test "x$ac_cv_have_decl_B3500000" = xyes; then :
4517   tio_have_decl=1
4518 else
4519   tio_have_decl=0
4520 fi
4521
4522         if test $tio_have_decl = 1; then :
4523
4524             BAUDRATES="$BAUDRATES 3500000"
4525
4526             BAUDRATE_CASES="$BAUDRATE_CASES case 3500000: baudrate = B3500000; break;"
4527
4528
4529 fi
4530
4531
4532         ac_fn_c_check_decl "$LINENO" "B4000000" "ac_cv_have_decl_B4000000" "#include <termios.h>
4533 "
4534 if test "x$ac_cv_have_decl_B4000000" = xyes; then :
4535   tio_have_decl=1
4536 else
4537   tio_have_decl=0
4538 fi
4539
4540         if test $tio_have_decl = 1; then :
4541
4542             BAUDRATES="$BAUDRATES 4000000"
4543
4544             BAUDRATE_CASES="$BAUDRATE_CASES case 4000000: baudrate = B4000000; break;"
4545
4546
4547 fi
4548
4549
4550
4551
4552
4553 cat >>confdefs.h <<_ACEOF
4554 #define AUTOCONF_BAUDRATE_CASES $BAUDRATE_CASES
4555 _ACEOF
4556
4557
4558 ac_config_files="$ac_config_files Makefile"
4559
4560 ac_config_files="$ac_config_files src/Makefile"
4561
4562 ac_config_files="$ac_config_files src/bash-completion/tio"
4563
4564 ac_config_files="$ac_config_files man/Makefile"
4565
4566 cat >confcache <<\_ACEOF
4567 # This file is a shell script that caches the results of configure
4568 # tests run on this system so they can be shared between configure
4569 # scripts and configure runs, see configure's option --config-cache.
4570 # It is not useful on other systems.  If it contains results you don't
4571 # want to keep, you may remove or edit it.
4572 #
4573 # config.status only pays attention to the cache file if you give it
4574 # the --recheck option to rerun configure.
4575 #
4576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4578 # following values.
4579
4580 _ACEOF
4581
4582 # The following way of writing the cache mishandles newlines in values,
4583 # but we know of no workaround that is simple, portable, and efficient.
4584 # So, we kill variables containing newlines.
4585 # Ultrix sh set writes to stderr and can't be redirected directly,
4586 # and sets the high bit in the cache file unless we assign to the vars.
4587 (
4588   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4589     eval ac_val=\$$ac_var
4590     case $ac_val in #(
4591     *${as_nl}*)
4592       case $ac_var in #(
4593       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4595       esac
4596       case $ac_var in #(
4597       _ | IFS | as_nl) ;; #(
4598       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4599       *) { eval $ac_var=; unset $ac_var;} ;;
4600       esac ;;
4601     esac
4602   done
4603
4604   (set) 2>&1 |
4605     case $as_nl`(ac_space=' '; set) 2>&1` in #(
4606     *${as_nl}ac_space=\ *)
4607       # `set' does not quote correctly, so add quotes: double-quote
4608       # substitution turns \\\\ into \\, and sed turns \\ into \.
4609       sed -n \
4610         "s/'/'\\\\''/g;
4611           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4612       ;; #(
4613     *)
4614       # `set' quotes correctly as required by POSIX, so do not add quotes.
4615       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4616       ;;
4617     esac |
4618     sort
4619 ) |
4620   sed '
4621      /^ac_cv_env_/b end
4622      t clear
4623      :clear
4624      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4625      t end
4626      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4627      :end' >>confcache
4628 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4629   if test -w "$cache_file"; then
4630     if test "x$cache_file" != "x/dev/null"; then
4631       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4632 $as_echo "$as_me: updating cache $cache_file" >&6;}
4633       if test ! -f "$cache_file" || test -h "$cache_file"; then
4634         cat confcache >"$cache_file"
4635       else
4636         case $cache_file in #(
4637         */* | ?:*)
4638           mv -f confcache "$cache_file"$$ &&
4639           mv -f "$cache_file"$$ "$cache_file" ;; #(
4640         *)
4641           mv -f confcache "$cache_file" ;;
4642         esac
4643       fi
4644     fi
4645   else
4646     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4647 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4648   fi
4649 fi
4650 rm -f confcache
4651
4652 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4653 # Let make expand exec_prefix.
4654 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4655
4656 DEFS=-DHAVE_CONFIG_H
4657
4658 ac_libobjs=
4659 ac_ltlibobjs=
4660 U=
4661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4662   # 1. Remove the extension, and $U if already installed.
4663   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4664   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4665   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4666   #    will be set to the directory where LIBOBJS objects are built.
4667   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4668   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4669 done
4670 LIBOBJS=$ac_libobjs
4671
4672 LTLIBOBJS=$ac_ltlibobjs
4673
4674
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4676 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4677    if test -n "$am_sleep_pid"; then
4678      # Hide warnings about reused PIDs.
4679      wait $am_sleep_pid 2>/dev/null
4680    fi
4681    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4682 $as_echo "done" >&6; }
4683  if test -n "$EXEEXT"; then
4684   am__EXEEXT_TRUE=
4685   am__EXEEXT_FALSE='#'
4686 else
4687   am__EXEEXT_TRUE='#'
4688   am__EXEEXT_FALSE=
4689 fi
4690
4691 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4692   as_fn_error $? "conditional \"AMDEP\" was never defined.
4693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4694 fi
4695 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4696   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4698 fi
4699 if test -z "${ENABLE_BASH_COMPLETION_TRUE}" && test -z "${ENABLE_BASH_COMPLETION_FALSE}"; then
4700   as_fn_error $? "conditional \"ENABLE_BASH_COMPLETION\" was never defined.
4701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4702 fi
4703
4704 : "${CONFIG_STATUS=./config.status}"
4705 ac_write_fail=0
4706 ac_clean_files_save=$ac_clean_files
4707 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4709 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4710 as_write_fail=0
4711 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4712 #! $SHELL
4713 # Generated by $as_me.
4714 # Run this file to recreate the current configuration.
4715 # Compiler output produced by configure, useful for debugging
4716 # configure, is in config.log if it exists.
4717
4718 debug=false
4719 ac_cs_recheck=false
4720 ac_cs_silent=false
4721
4722 SHELL=\${CONFIG_SHELL-$SHELL}
4723 export SHELL
4724 _ASEOF
4725 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4726 ## -------------------- ##
4727 ## M4sh Initialization. ##
4728 ## -------------------- ##
4729
4730 # Be more Bourne compatible
4731 DUALCASE=1; export DUALCASE # for MKS sh
4732 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4733   emulate sh
4734   NULLCMD=:
4735   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4736   # is contrary to our usage.  Disable this feature.
4737   alias -g '${1+"$@"}'='"$@"'
4738   setopt NO_GLOB_SUBST
4739 else
4740   case `(set -o) 2>/dev/null` in #(
4741   *posix*) :
4742     set -o posix ;; #(
4743   *) :
4744      ;;
4745 esac
4746 fi
4747
4748
4749 as_nl='
4750 '
4751 export as_nl
4752 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4753 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4754 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4756 # Prefer a ksh shell builtin over an external printf program on Solaris,
4757 # but without wasting forks for bash or zsh.
4758 if test -z "$BASH_VERSION$ZSH_VERSION" \
4759     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4760   as_echo='print -r --'
4761   as_echo_n='print -rn --'
4762 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4763   as_echo='printf %s\n'
4764   as_echo_n='printf %s'
4765 else
4766   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4767     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4768     as_echo_n='/usr/ucb/echo -n'
4769   else
4770     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4771     as_echo_n_body='eval
4772       arg=$1;
4773       case $arg in #(
4774       *"$as_nl"*)
4775         expr "X$arg" : "X\\(.*\\)$as_nl";
4776         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4777       esac;
4778       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4779     '
4780     export as_echo_n_body
4781     as_echo_n='sh -c $as_echo_n_body as_echo'
4782   fi
4783   export as_echo_body
4784   as_echo='sh -c $as_echo_body as_echo'
4785 fi
4786
4787 # The user is always right.
4788 if test "${PATH_SEPARATOR+set}" != set; then
4789   PATH_SEPARATOR=:
4790   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4791     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4792       PATH_SEPARATOR=';'
4793   }
4794 fi
4795
4796
4797 # IFS
4798 # We need space, tab and new line, in precisely that order.  Quoting is
4799 # there to prevent editors from complaining about space-tab.
4800 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4801 # splitting by setting IFS to empty value.)
4802 IFS=" ""        $as_nl"
4803
4804 # Find who we are.  Look in the path if we contain no directory separator.
4805 as_myself=
4806 case $0 in #((
4807   *[\\/]* ) as_myself=$0 ;;
4808   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809 for as_dir in $PATH
4810 do
4811   IFS=$as_save_IFS
4812   test -z "$as_dir" && as_dir=.
4813     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4814   done
4815 IFS=$as_save_IFS
4816
4817      ;;
4818 esac
4819 # We did not find ourselves, most probably we were run as `sh COMMAND'
4820 # in which case we are not to be found in the path.
4821 if test "x$as_myself" = x; then
4822   as_myself=$0
4823 fi
4824 if test ! -f "$as_myself"; then
4825   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4826   exit 1
4827 fi
4828
4829 # Unset variables that we do not need and which cause bugs (e.g. in
4830 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4831 # suppresses any "Segmentation fault" message there.  '((' could
4832 # trigger a bug in pdksh 5.2.14.
4833 for as_var in BASH_ENV ENV MAIL MAILPATH
4834 do eval test x\${$as_var+set} = xset \
4835   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4836 done
4837 PS1='$ '
4838 PS2='> '
4839 PS4='+ '
4840
4841 # NLS nuisances.
4842 LC_ALL=C
4843 export LC_ALL
4844 LANGUAGE=C
4845 export LANGUAGE
4846
4847 # CDPATH.
4848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4849
4850
4851 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4852 # ----------------------------------------
4853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4855 # script with STATUS, using 1 if that was 0.
4856 as_fn_error ()
4857 {
4858   as_status=$1; test $as_status -eq 0 && as_status=1
4859   if test "$4"; then
4860     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4861     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4862   fi
4863   $as_echo "$as_me: error: $2" >&2
4864   as_fn_exit $as_status
4865 } # as_fn_error
4866
4867
4868 # as_fn_set_status STATUS
4869 # -----------------------
4870 # Set $? to STATUS, without forking.
4871 as_fn_set_status ()
4872 {
4873   return $1
4874 } # as_fn_set_status
4875
4876 # as_fn_exit STATUS
4877 # -----------------
4878 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4879 as_fn_exit ()
4880 {
4881   set +e
4882   as_fn_set_status $1
4883   exit $1
4884 } # as_fn_exit
4885
4886 # as_fn_unset VAR
4887 # ---------------
4888 # Portably unset VAR.
4889 as_fn_unset ()
4890 {
4891   { eval $1=; unset $1;}
4892 }
4893 as_unset=as_fn_unset
4894 # as_fn_append VAR VALUE
4895 # ----------------------
4896 # Append the text in VALUE to the end of the definition contained in VAR. Take
4897 # advantage of any shell optimizations that allow amortized linear growth over
4898 # repeated appends, instead of the typical quadratic growth present in naive
4899 # implementations.
4900 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4901   eval 'as_fn_append ()
4902   {
4903     eval $1+=\$2
4904   }'
4905 else
4906   as_fn_append ()
4907   {
4908     eval $1=\$$1\$2
4909   }
4910 fi # as_fn_append
4911
4912 # as_fn_arith ARG...
4913 # ------------------
4914 # Perform arithmetic evaluation on the ARGs, and store the result in the
4915 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4916 # must be portable across $(()) and expr.
4917 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4918   eval 'as_fn_arith ()
4919   {
4920     as_val=$(( $* ))
4921   }'
4922 else
4923   as_fn_arith ()
4924   {
4925     as_val=`expr "$@" || test $? -eq 1`
4926   }
4927 fi # as_fn_arith
4928
4929
4930 if expr a : '\(a\)' >/dev/null 2>&1 &&
4931    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4932   as_expr=expr
4933 else
4934   as_expr=false
4935 fi
4936
4937 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4938   as_basename=basename
4939 else
4940   as_basename=false
4941 fi
4942
4943 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4944   as_dirname=dirname
4945 else
4946   as_dirname=false
4947 fi
4948
4949 as_me=`$as_basename -- "$0" ||
4950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4951          X"$0" : 'X\(//\)$' \| \
4952          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4953 $as_echo X/"$0" |
4954     sed '/^.*\/\([^/][^/]*\)\/*$/{
4955             s//\1/
4956             q
4957           }
4958           /^X\/\(\/\/\)$/{
4959             s//\1/
4960             q
4961           }
4962           /^X\/\(\/\).*/{
4963             s//\1/
4964             q
4965           }
4966           s/.*/./; q'`
4967
4968 # Avoid depending upon Character Ranges.
4969 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4970 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4971 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4972 as_cr_digits='0123456789'
4973 as_cr_alnum=$as_cr_Letters$as_cr_digits
4974
4975 ECHO_C= ECHO_N= ECHO_T=
4976 case `echo -n x` in #(((((
4977 -n*)
4978   case `echo 'xy\c'` in
4979   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4980   xy)  ECHO_C='\c';;
4981   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4982        ECHO_T=' ';;
4983   esac;;
4984 *)
4985   ECHO_N='-n';;
4986 esac
4987
4988 rm -f conf$$ conf$$.exe conf$$.file
4989 if test -d conf$$.dir; then
4990   rm -f conf$$.dir/conf$$.file
4991 else
4992   rm -f conf$$.dir
4993   mkdir conf$$.dir 2>/dev/null
4994 fi
4995 if (echo >conf$$.file) 2>/dev/null; then
4996   if ln -s conf$$.file conf$$ 2>/dev/null; then
4997     as_ln_s='ln -s'
4998     # ... but there are two gotchas:
4999     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5000     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5001     # In both cases, we have to default to `cp -pR'.
5002     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5003       as_ln_s='cp -pR'
5004   elif ln conf$$.file conf$$ 2>/dev/null; then
5005     as_ln_s=ln
5006   else
5007     as_ln_s='cp -pR'
5008   fi
5009 else
5010   as_ln_s='cp -pR'
5011 fi
5012 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5013 rmdir conf$$.dir 2>/dev/null
5014
5015
5016 # as_fn_mkdir_p
5017 # -------------
5018 # Create "$as_dir" as a directory, including parents if necessary.
5019 as_fn_mkdir_p ()
5020 {
5021
5022   case $as_dir in #(
5023   -*) as_dir=./$as_dir;;
5024   esac
5025   test -d "$as_dir" || eval $as_mkdir_p || {
5026     as_dirs=
5027     while :; do
5028       case $as_dir in #(
5029       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5030       *) as_qdir=$as_dir;;
5031       esac
5032       as_dirs="'$as_qdir' $as_dirs"
5033       as_dir=`$as_dirname -- "$as_dir" ||
5034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5035          X"$as_dir" : 'X\(//\)[^/]' \| \
5036          X"$as_dir" : 'X\(//\)$' \| \
5037          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5038 $as_echo X"$as_dir" |
5039     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5040             s//\1/
5041             q
5042           }
5043           /^X\(\/\/\)[^/].*/{
5044             s//\1/
5045             q
5046           }
5047           /^X\(\/\/\)$/{
5048             s//\1/
5049             q
5050           }
5051           /^X\(\/\).*/{
5052             s//\1/
5053             q
5054           }
5055           s/.*/./; q'`
5056       test -d "$as_dir" && break
5057     done
5058     test -z "$as_dirs" || eval "mkdir $as_dirs"
5059   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5060
5061
5062 } # as_fn_mkdir_p
5063 if mkdir -p . 2>/dev/null; then
5064   as_mkdir_p='mkdir -p "$as_dir"'
5065 else
5066   test -d ./-p && rmdir ./-p
5067   as_mkdir_p=false
5068 fi
5069
5070
5071 # as_fn_executable_p FILE
5072 # -----------------------
5073 # Test if FILE is an executable regular file.
5074 as_fn_executable_p ()
5075 {
5076   test -f "$1" && test -x "$1"
5077 } # as_fn_executable_p
5078 as_test_x='test -x'
5079 as_executable_p=as_fn_executable_p
5080
5081 # Sed expression to map a string onto a valid CPP name.
5082 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5083
5084 # Sed expression to map a string onto a valid variable name.
5085 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5086
5087
5088 exec 6>&1
5089 ## ----------------------------------- ##
5090 ## Main body of $CONFIG_STATUS script. ##
5091 ## ----------------------------------- ##
5092 _ASEOF
5093 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5094
5095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5096 # Save the log message, to keep $0 and so on meaningful, and to
5097 # report actual input values of CONFIG_FILES etc. instead of their
5098 # values after options handling.
5099 ac_log="
5100 This file was extended by tio $as_me 1.24, which was
5101 generated by GNU Autoconf 2.69.  Invocation command line was
5102
5103   CONFIG_FILES    = $CONFIG_FILES
5104   CONFIG_HEADERS  = $CONFIG_HEADERS
5105   CONFIG_LINKS    = $CONFIG_LINKS
5106   CONFIG_COMMANDS = $CONFIG_COMMANDS
5107   $ $0 $@
5108
5109 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5110 "
5111
5112 _ACEOF
5113
5114 case $ac_config_files in *"
5115 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5116 esac
5117
5118 case $ac_config_headers in *"
5119 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5120 esac
5121
5122
5123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5124 # Files that config.status was made for.
5125 config_files="$ac_config_files"
5126 config_headers="$ac_config_headers"
5127 config_commands="$ac_config_commands"
5128
5129 _ACEOF
5130
5131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5132 ac_cs_usage="\
5133 \`$as_me' instantiates files and other configuration actions
5134 from templates according to the current configuration.  Unless the files
5135 and actions are specified as TAGs, all are instantiated by default.
5136
5137 Usage: $0 [OPTION]... [TAG]...
5138
5139   -h, --help       print this help, then exit
5140   -V, --version    print version number and configuration settings, then exit
5141       --config     print configuration, then exit
5142   -q, --quiet, --silent
5143                    do not print progress messages
5144   -d, --debug      don't remove temporary files
5145       --recheck    update $as_me by reconfiguring in the same conditions
5146       --file=FILE[:TEMPLATE]
5147                    instantiate the configuration file FILE
5148       --header=FILE[:TEMPLATE]
5149                    instantiate the configuration header FILE
5150
5151 Configuration files:
5152 $config_files
5153
5154 Configuration headers:
5155 $config_headers
5156
5157 Configuration commands:
5158 $config_commands
5159
5160 Report bugs to the package provider.
5161 tio home page: <https://tio.github.io>."
5162
5163 _ACEOF
5164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5165 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5166 ac_cs_version="\\
5167 tio config.status 1.24
5168 configured by $0, generated by GNU Autoconf 2.69,
5169   with options \\"\$ac_cs_config\\"
5170
5171 Copyright (C) 2012 Free Software Foundation, Inc.
5172 This config.status script is free software; the Free Software Foundation
5173 gives unlimited permission to copy, distribute and modify it."
5174
5175 ac_pwd='$ac_pwd'
5176 srcdir='$srcdir'
5177 INSTALL='$INSTALL'
5178 MKDIR_P='$MKDIR_P'
5179 AWK='$AWK'
5180 test -n "\$AWK" || AWK=awk
5181 _ACEOF
5182
5183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5184 # The default lists apply if the user does not specify any file.
5185 ac_need_defaults=:
5186 while test $# != 0
5187 do
5188   case $1 in
5189   --*=?*)
5190     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5191     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5192     ac_shift=:
5193     ;;
5194   --*=)
5195     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5196     ac_optarg=
5197     ac_shift=:
5198     ;;
5199   *)
5200     ac_option=$1
5201     ac_optarg=$2
5202     ac_shift=shift
5203     ;;
5204   esac
5205
5206   case $ac_option in
5207   # Handling of the options.
5208   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5209     ac_cs_recheck=: ;;
5210   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5211     $as_echo "$ac_cs_version"; exit ;;
5212   --config | --confi | --conf | --con | --co | --c )
5213     $as_echo "$ac_cs_config"; exit ;;
5214   --debug | --debu | --deb | --de | --d | -d )
5215     debug=: ;;
5216   --file | --fil | --fi | --f )
5217     $ac_shift
5218     case $ac_optarg in
5219     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5220     '') as_fn_error $? "missing file argument" ;;
5221     esac
5222     as_fn_append CONFIG_FILES " '$ac_optarg'"
5223     ac_need_defaults=false;;
5224   --header | --heade | --head | --hea )
5225     $ac_shift
5226     case $ac_optarg in
5227     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5228     esac
5229     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5230     ac_need_defaults=false;;
5231   --he | --h)
5232     # Conflict between --help and --header
5233     as_fn_error $? "ambiguous option: \`$1'
5234 Try \`$0 --help' for more information.";;
5235   --help | --hel | -h )
5236     $as_echo "$ac_cs_usage"; exit ;;
5237   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5238   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5239     ac_cs_silent=: ;;
5240
5241   # This is an error.
5242   -*) as_fn_error $? "unrecognized option: \`$1'
5243 Try \`$0 --help' for more information." ;;
5244
5245   *) as_fn_append ac_config_targets " $1"
5246      ac_need_defaults=false ;;
5247
5248   esac
5249   shift
5250 done
5251
5252 ac_configure_extra_args=
5253
5254 if $ac_cs_silent; then
5255   exec 6>/dev/null
5256   ac_configure_extra_args="$ac_configure_extra_args --silent"
5257 fi
5258
5259 _ACEOF
5260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5261 if \$ac_cs_recheck; then
5262   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5263   shift
5264   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5265   CONFIG_SHELL='$SHELL'
5266   export CONFIG_SHELL
5267   exec "\$@"
5268 fi
5269
5270 _ACEOF
5271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5272 exec 5>>config.log
5273 {
5274   echo
5275   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5276 ## Running $as_me. ##
5277 _ASBOX
5278   $as_echo "$ac_log"
5279 } >&5
5280
5281 _ACEOF
5282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5283 #
5284 # INIT-COMMANDS
5285 #
5286 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5287
5288 _ACEOF
5289
5290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5291
5292 # Handling of arguments.
5293 for ac_config_target in $ac_config_targets
5294 do
5295   case $ac_config_target in
5296     "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
5297     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5298     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5299     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5300     "src/bash-completion/tio") CONFIG_FILES="$CONFIG_FILES src/bash-completion/tio" ;;
5301     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
5302
5303   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5304   esac
5305 done
5306
5307
5308 # If the user did not use the arguments to specify the items to instantiate,
5309 # then the envvar interface is used.  Set only those that are not.
5310 # We use the long form for the default assignment because of an extremely
5311 # bizarre bug on SunOS 4.1.3.
5312 if $ac_need_defaults; then
5313   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5314   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5315   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5316 fi
5317
5318 # Have a temporary directory for convenience.  Make it in the build tree
5319 # simply because there is no reason against having it here, and in addition,
5320 # creating and moving files from /tmp can sometimes cause problems.
5321 # Hook for its removal unless debugging.
5322 # Note that there is a small window in which the directory will not be cleaned:
5323 # after its creation but before its name has been assigned to `$tmp'.
5324 $debug ||
5325 {
5326   tmp= ac_tmp=
5327   trap 'exit_status=$?
5328   : "${ac_tmp:=$tmp}"
5329   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5330 ' 0
5331   trap 'as_fn_exit 1' 1 2 13 15
5332 }
5333 # Create a (secure) tmp directory for tmp files.
5334
5335 {
5336   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5337   test -d "$tmp"
5338 }  ||
5339 {
5340   tmp=./conf$$-$RANDOM
5341   (umask 077 && mkdir "$tmp")
5342 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5343 ac_tmp=$tmp
5344
5345 # Set up the scripts for CONFIG_FILES section.
5346 # No need to generate them if there are no CONFIG_FILES.
5347 # This happens for instance with `./config.status config.h'.
5348 if test -n "$CONFIG_FILES"; then
5349
5350
5351 ac_cr=`echo X | tr X '\015'`
5352 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5353 # But we know of no other shell where ac_cr would be empty at this
5354 # point, so we can use a bashism as a fallback.
5355 if test "x$ac_cr" = x; then
5356   eval ac_cr=\$\'\\r\'
5357 fi
5358 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5359 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5360   ac_cs_awk_cr='\\r'
5361 else
5362   ac_cs_awk_cr=$ac_cr
5363 fi
5364
5365 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5366 _ACEOF
5367
5368
5369 {
5370   echo "cat >conf$$subs.awk <<_ACEOF" &&
5371   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5372   echo "_ACEOF"
5373 } >conf$$subs.sh ||
5374   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5375 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5376 ac_delim='%!_!# '
5377 for ac_last_try in false false false false false :; do
5378   . ./conf$$subs.sh ||
5379     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5380
5381   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5382   if test $ac_delim_n = $ac_delim_num; then
5383     break
5384   elif $ac_last_try; then
5385     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5386   else
5387     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5388   fi
5389 done
5390 rm -f conf$$subs.sh
5391
5392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5393 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5394 _ACEOF
5395 sed -n '
5396 h
5397 s/^/S["/; s/!.*/"]=/
5398 p
5399 g
5400 s/^[^!]*!//
5401 :repl
5402 t repl
5403 s/'"$ac_delim"'$//
5404 t delim
5405 :nl
5406 h
5407 s/\(.\{148\}\)..*/\1/
5408 t more1
5409 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5410 p
5411 n
5412 b repl
5413 :more1
5414 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5415 p
5416 g
5417 s/.\{148\}//
5418 t nl
5419 :delim
5420 h
5421 s/\(.\{148\}\)..*/\1/
5422 t more2
5423 s/["\\]/\\&/g; s/^/"/; s/$/"/
5424 p
5425 b
5426 :more2
5427 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5428 p
5429 g
5430 s/.\{148\}//
5431 t delim
5432 ' <conf$$subs.awk | sed '
5433 /^[^""]/{
5434   N
5435   s/\n//
5436 }
5437 ' >>$CONFIG_STATUS || ac_write_fail=1
5438 rm -f conf$$subs.awk
5439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5440 _ACAWK
5441 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5442   for (key in S) S_is_set[key] = 1
5443   FS = "\a"
5444
5445 }
5446 {
5447   line = $ 0
5448   nfields = split(line, field, "@")
5449   substed = 0
5450   len = length(field[1])
5451   for (i = 2; i < nfields; i++) {
5452     key = field[i]
5453     keylen = length(key)
5454     if (S_is_set[key]) {
5455       value = S[key]
5456       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5457       len += length(value) + length(field[++i])
5458       substed = 1
5459     } else
5460       len += 1 + keylen
5461   }
5462
5463   print line
5464 }
5465
5466 _ACAWK
5467 _ACEOF
5468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5469 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5470   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5471 else
5472   cat
5473 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5474   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5475 _ACEOF
5476
5477 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5478 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5479 # trailing colons and then remove the whole line if VPATH becomes empty
5480 # (actually we leave an empty line to preserve line numbers).
5481 if test "x$srcdir" = x.; then
5482   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
5483 h
5484 s///
5485 s/^/:/
5486 s/[      ]*$/:/
5487 s/:\$(srcdir):/:/g
5488 s/:\${srcdir}:/:/g
5489 s/:@srcdir@:/:/g
5490 s/^:*//
5491 s/:*$//
5492 x
5493 s/\(=[   ]*\).*/\1/
5494 G
5495 s/\n//
5496 s/^[^=]*=[       ]*$//
5497 }'
5498 fi
5499
5500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5501 fi # test -n "$CONFIG_FILES"
5502
5503 # Set up the scripts for CONFIG_HEADERS section.
5504 # No need to generate them if there are no CONFIG_HEADERS.
5505 # This happens for instance with `./config.status Makefile'.
5506 if test -n "$CONFIG_HEADERS"; then
5507 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5508 BEGIN {
5509 _ACEOF
5510
5511 # Transform confdefs.h into an awk script `defines.awk', embedded as
5512 # here-document in config.status, that substitutes the proper values into
5513 # config.h.in to produce config.h.
5514
5515 # Create a delimiter string that does not exist in confdefs.h, to ease
5516 # handling of long lines.
5517 ac_delim='%!_!# '
5518 for ac_last_try in false false :; do
5519   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5520   if test -z "$ac_tt"; then
5521     break
5522   elif $ac_last_try; then
5523     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5524   else
5525     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5526   fi
5527 done
5528
5529 # For the awk script, D is an array of macro values keyed by name,
5530 # likewise P contains macro parameters if any.  Preserve backslash
5531 # newline sequences.
5532
5533 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5534 sed -n '
5535 s/.\{148\}/&'"$ac_delim"'/g
5536 t rset
5537 :rset
5538 s/^[     ]*#[    ]*define[       ][      ]*/ /
5539 t def
5540 d
5541 :def
5542 s/\\$//
5543 t bsnl
5544 s/["\\]/\\&/g
5545 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5546 D["\1"]=" \3"/p
5547 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5548 d
5549 :bsnl
5550 s/["\\]/\\&/g
5551 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5552 D["\1"]=" \3\\\\\\n"\\/p
5553 t cont
5554 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5555 t cont
5556 d
5557 :cont
5558 n
5559 s/.\{148\}/&'"$ac_delim"'/g
5560 t clear
5561 :clear
5562 s/\\$//
5563 t bsnlc
5564 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5565 d
5566 :bsnlc
5567 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5568 b cont
5569 ' <confdefs.h | sed '
5570 s/'"$ac_delim"'/"\\\
5571 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5572
5573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5574   for (key in D) D_is_set[key] = 1
5575   FS = "\a"
5576 }
5577 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5578   line = \$ 0
5579   split(line, arg, " ")
5580   if (arg[1] == "#") {
5581     defundef = arg[2]
5582     mac1 = arg[3]
5583   } else {
5584     defundef = substr(arg[1], 2)
5585     mac1 = arg[2]
5586   }
5587   split(mac1, mac2, "(") #)
5588   macro = mac2[1]
5589   prefix = substr(line, 1, index(line, defundef) - 1)
5590   if (D_is_set[macro]) {
5591     # Preserve the white space surrounding the "#".
5592     print prefix "define", macro P[macro] D[macro]
5593     next
5594   } else {
5595     # Replace #undef with comments.  This is necessary, for example,
5596     # in the case of _POSIX_SOURCE, which is predefined and required
5597     # on some systems where configure will not decide to define it.
5598     if (defundef == "undef") {
5599       print "/*", prefix defundef, macro, "*/"
5600       next
5601     }
5602   }
5603 }
5604 { print }
5605 _ACAWK
5606 _ACEOF
5607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5608   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5609 fi # test -n "$CONFIG_HEADERS"
5610
5611
5612 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5613 shift
5614 for ac_tag
5615 do
5616   case $ac_tag in
5617   :[FHLC]) ac_mode=$ac_tag; continue;;
5618   esac
5619   case $ac_mode$ac_tag in
5620   :[FHL]*:*);;
5621   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5622   :[FH]-) ac_tag=-:-;;
5623   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5624   esac
5625   ac_save_IFS=$IFS
5626   IFS=:
5627   set x $ac_tag
5628   IFS=$ac_save_IFS
5629   shift
5630   ac_file=$1
5631   shift
5632
5633   case $ac_mode in
5634   :L) ac_source=$1;;
5635   :[FH])
5636     ac_file_inputs=
5637     for ac_f
5638     do
5639       case $ac_f in
5640       -) ac_f="$ac_tmp/stdin";;
5641       *) # Look for the file first in the build tree, then in the source tree
5642          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5643          # because $ac_f cannot contain `:'.
5644          test -f "$ac_f" ||
5645            case $ac_f in
5646            [\\/$]*) false;;
5647            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5648            esac ||
5649            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5650       esac
5651       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5652       as_fn_append ac_file_inputs " '$ac_f'"
5653     done
5654
5655     # Let's still pretend it is `configure' which instantiates (i.e., don't
5656     # use $as_me), people would be surprised to read:
5657     #    /* config.h.  Generated by config.status.  */
5658     configure_input='Generated from '`
5659           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5660         `' by configure.'
5661     if test x"$ac_file" != x-; then
5662       configure_input="$ac_file.  $configure_input"
5663       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5664 $as_echo "$as_me: creating $ac_file" >&6;}
5665     fi
5666     # Neutralize special characters interpreted by sed in replacement strings.
5667     case $configure_input in #(
5668     *\&* | *\|* | *\\* )
5669        ac_sed_conf_input=`$as_echo "$configure_input" |
5670        sed 's/[\\\\&|]/\\\\&/g'`;; #(
5671     *) ac_sed_conf_input=$configure_input;;
5672     esac
5673
5674     case $ac_tag in
5675     *:-:* | *:-) cat >"$ac_tmp/stdin" \
5676       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5677     esac
5678     ;;
5679   esac
5680
5681   ac_dir=`$as_dirname -- "$ac_file" ||
5682 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5683          X"$ac_file" : 'X\(//\)[^/]' \| \
5684          X"$ac_file" : 'X\(//\)$' \| \
5685          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5686 $as_echo X"$ac_file" |
5687     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5688             s//\1/
5689             q
5690           }
5691           /^X\(\/\/\)[^/].*/{
5692             s//\1/
5693             q
5694           }
5695           /^X\(\/\/\)$/{
5696             s//\1/
5697             q
5698           }
5699           /^X\(\/\).*/{
5700             s//\1/
5701             q
5702           }
5703           s/.*/./; q'`
5704   as_dir="$ac_dir"; as_fn_mkdir_p
5705   ac_builddir=.
5706
5707 case "$ac_dir" in
5708 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5709 *)
5710   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5711   # A ".." for each directory in $ac_dir_suffix.
5712   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5713   case $ac_top_builddir_sub in
5714   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5715   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5716   esac ;;
5717 esac
5718 ac_abs_top_builddir=$ac_pwd
5719 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5720 # for backward compatibility:
5721 ac_top_builddir=$ac_top_build_prefix
5722
5723 case $srcdir in
5724   .)  # We are building in place.
5725     ac_srcdir=.
5726     ac_top_srcdir=$ac_top_builddir_sub
5727     ac_abs_top_srcdir=$ac_pwd ;;
5728   [\\/]* | ?:[\\/]* )  # Absolute name.
5729     ac_srcdir=$srcdir$ac_dir_suffix;
5730     ac_top_srcdir=$srcdir
5731     ac_abs_top_srcdir=$srcdir ;;
5732   *) # Relative name.
5733     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5734     ac_top_srcdir=$ac_top_build_prefix$srcdir
5735     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5736 esac
5737 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5738
5739
5740   case $ac_mode in
5741   :F)
5742   #
5743   # CONFIG_FILE
5744   #
5745
5746   case $INSTALL in
5747   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5748   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5749   esac
5750   ac_MKDIR_P=$MKDIR_P
5751   case $MKDIR_P in
5752   [\\/$]* | ?:[\\/]* ) ;;
5753   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5754   esac
5755 _ACEOF
5756
5757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5758 # If the template does not know about datarootdir, expand it.
5759 # FIXME: This hack should be removed a few years after 2.60.
5760 ac_datarootdir_hack=; ac_datarootdir_seen=
5761 ac_sed_dataroot='
5762 /datarootdir/ {
5763   p
5764   q
5765 }
5766 /@datadir@/p
5767 /@docdir@/p
5768 /@infodir@/p
5769 /@localedir@/p
5770 /@mandir@/p'
5771 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5772 *datarootdir*) ac_datarootdir_seen=yes;;
5773 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5774   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5775 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5776 _ACEOF
5777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5778   ac_datarootdir_hack='
5779   s&@datadir@&$datadir&g
5780   s&@docdir@&$docdir&g
5781   s&@infodir@&$infodir&g
5782   s&@localedir@&$localedir&g
5783   s&@mandir@&$mandir&g
5784   s&\\\${datarootdir}&$datarootdir&g' ;;
5785 esac
5786 _ACEOF
5787
5788 # Neutralize VPATH when `$srcdir' = `.'.
5789 # Shell code in configure.ac might set extrasub.
5790 # FIXME: do we really want to maintain this feature?
5791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5792 ac_sed_extra="$ac_vpsub
5793 $extrasub
5794 _ACEOF
5795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5796 :t
5797 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5798 s|@configure_input@|$ac_sed_conf_input|;t t
5799 s&@top_builddir@&$ac_top_builddir_sub&;t t
5800 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5801 s&@srcdir@&$ac_srcdir&;t t
5802 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5803 s&@top_srcdir@&$ac_top_srcdir&;t t
5804 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5805 s&@builddir@&$ac_builddir&;t t
5806 s&@abs_builddir@&$ac_abs_builddir&;t t
5807 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5808 s&@INSTALL@&$ac_INSTALL&;t t
5809 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5810 $ac_datarootdir_hack
5811 "
5812 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5813   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5814
5815 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5816   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5817   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
5818       "$ac_tmp/out"`; test -z "$ac_out"; } &&
5819   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5820 which seems to be undefined.  Please make sure it is defined" >&5
5821 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5822 which seems to be undefined.  Please make sure it is defined" >&2;}
5823
5824   rm -f "$ac_tmp/stdin"
5825   case $ac_file in
5826   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5827   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5828   esac \
5829   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5830  ;;
5831   :H)
5832   #
5833   # CONFIG_HEADER
5834   #
5835   if test x"$ac_file" != x-; then
5836     {
5837       $as_echo "/* $configure_input  */" \
5838       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5839     } >"$ac_tmp/config.h" \
5840       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5841     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5842       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5843 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5844     else
5845       rm -f "$ac_file"
5846       mv "$ac_tmp/config.h" "$ac_file" \
5847         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5848     fi
5849   else
5850     $as_echo "/* $configure_input  */" \
5851       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5852       || as_fn_error $? "could not create -" "$LINENO" 5
5853   fi
5854 # Compute "$ac_file"'s index in $config_headers.
5855 _am_arg="$ac_file"
5856 _am_stamp_count=1
5857 for _am_header in $config_headers :; do
5858   case $_am_header in
5859     $_am_arg | $_am_arg:* )
5860       break ;;
5861     * )
5862       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5863   esac
5864 done
5865 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5866 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5867          X"$_am_arg" : 'X\(//\)[^/]' \| \
5868          X"$_am_arg" : 'X\(//\)$' \| \
5869          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5870 $as_echo X"$_am_arg" |
5871     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5872             s//\1/
5873             q
5874           }
5875           /^X\(\/\/\)[^/].*/{
5876             s//\1/
5877             q
5878           }
5879           /^X\(\/\/\)$/{
5880             s//\1/
5881             q
5882           }
5883           /^X\(\/\).*/{
5884             s//\1/
5885             q
5886           }
5887           s/.*/./; q'`/stamp-h$_am_stamp_count
5888  ;;
5889
5890   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5891 $as_echo "$as_me: executing $ac_file commands" >&6;}
5892  ;;
5893   esac
5894
5895
5896   case $ac_file$ac_mode in
5897     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5898   # Older Autoconf quotes --file arguments for eval, but not when files
5899   # are listed without --file.  Let's play safe and only enable the eval
5900   # if we detect the quoting.
5901   case $CONFIG_FILES in
5902   *\'*) eval set x "$CONFIG_FILES" ;;
5903   *)   set x $CONFIG_FILES ;;
5904   esac
5905   shift
5906   for mf
5907   do
5908     # Strip MF so we end up with the name of the file.
5909     mf=`echo "$mf" | sed -e 's/:.*$//'`
5910     # Check whether this is an Automake generated Makefile or not.
5911     # We used to match only the files named 'Makefile.in', but
5912     # some people rename them; so instead we look at the file content.
5913     # Grep'ing the first line is not enough: some people post-process
5914     # each Makefile.in and add a new line on top of each file to say so.
5915     # Grep'ing the whole file is not good either: AIX grep has a line
5916     # limit of 2048, but all sed's we know have understand at least 4000.
5917     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5918       dirpart=`$as_dirname -- "$mf" ||
5919 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5920          X"$mf" : 'X\(//\)[^/]' \| \
5921          X"$mf" : 'X\(//\)$' \| \
5922          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5923 $as_echo X"$mf" |
5924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5925             s//\1/
5926             q
5927           }
5928           /^X\(\/\/\)[^/].*/{
5929             s//\1/
5930             q
5931           }
5932           /^X\(\/\/\)$/{
5933             s//\1/
5934             q
5935           }
5936           /^X\(\/\).*/{
5937             s//\1/
5938             q
5939           }
5940           s/.*/./; q'`
5941     else
5942       continue
5943     fi
5944     # Extract the definition of DEPDIR, am__include, and am__quote
5945     # from the Makefile without running 'make'.
5946     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5947     test -z "$DEPDIR" && continue
5948     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5949     test -z "$am__include" && continue
5950     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5951     # Find all dependency output files, they are included files with
5952     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5953     # simplest approach to changing $(DEPDIR) to its actual value in the
5954     # expansion.
5955     for file in `sed -n "
5956       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5957          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5958       # Make sure the directory exists.
5959       test -f "$dirpart/$file" && continue
5960       fdir=`$as_dirname -- "$file" ||
5961 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5962          X"$file" : 'X\(//\)[^/]' \| \
5963          X"$file" : 'X\(//\)$' \| \
5964          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5965 $as_echo X"$file" |
5966     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5967             s//\1/
5968             q
5969           }
5970           /^X\(\/\/\)[^/].*/{
5971             s//\1/
5972             q
5973           }
5974           /^X\(\/\/\)$/{
5975             s//\1/
5976             q
5977           }
5978           /^X\(\/\).*/{
5979             s//\1/
5980             q
5981           }
5982           s/.*/./; q'`
5983       as_dir=$dirpart/$fdir; as_fn_mkdir_p
5984       # echo "creating $dirpart/$file"
5985       echo '# dummy' > "$dirpart/$file"
5986     done
5987   done
5988 }
5989  ;;
5990
5991   esac
5992 done # for ac_tag
5993
5994
5995 as_fn_exit 0
5996 _ACEOF
5997 ac_clean_files=$ac_clean_files_save
5998
5999 test $ac_write_fail = 0 ||
6000   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6001
6002
6003 # configure is writing to config.log, and then calls config.status.
6004 # config.status does its own redirection, appending to config.log.
6005 # Unfortunately, on DOS this fails, as config.log is still kept open
6006 # by configure, so config.status won't be able to write to it; its
6007 # output is simply discarded.  So we exec the FD to /dev/null,
6008 # effectively closing config.log, so it can be properly (re)opened and
6009 # appended to by config.status.  When coming back to configure, we
6010 # need to make the FD available again.
6011 if test "$no_create" != yes; then
6012   ac_cs_success=:
6013   ac_config_status_args=
6014   test "$silent" = yes &&
6015     ac_config_status_args="$ac_config_status_args --quiet"
6016   exec 5>/dev/null
6017   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6018   exec 5>>config.log
6019   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6020   # would make configure fail if this is the last instruction.
6021   $ac_cs_success || as_fn_exit 1
6022 fi
6023 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6024   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6025 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6026 fi
6027