OSDN Git Service

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