OSDN Git Service

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