OSDN Git Service

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