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