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