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