OSDN Git Service

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