OSDN Git Service

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