OSDN Git Service

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