OSDN Git Service

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