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