b3021deb92e7851433506820035e1a484ff6445c
[coreboot.git] / util / mkelfImage / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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   # Zsh 3.x and 4.x performs 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 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42   echo "#! /bin/sh" >conf$$.sh
43   echo  "exit 0"   >>conf$$.sh
44   chmod +x conf$$.sh
45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46     PATH_SEPARATOR=';'
47   else
48     PATH_SEPARATOR=:
49   fi
50   rm -f conf$$.sh
51 fi
52
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55   as_unset=unset
56 else
57   as_unset=false
58 fi
59
60
61 # IFS
62 # We need space, tab and new line, in precisely that order.  Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
67 '
68 IFS=" ""        $as_nl"
69
70 # Find who we are.  Look in the path if we contain no directory separator.
71 case $0 in
72   *[\\/]* ) as_myself=$0 ;;
73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
75 do
76   IFS=$as_save_IFS
77   test -z "$as_dir" && as_dir=.
78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
81
82      ;;
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87   as_myself=$0
88 fi
89 if test ! -f "$as_myself"; then
90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91   { (exit 1); exit 1; }
92 fi
93
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
101
102 # NLS nuisances.
103 for as_var in \
104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106   LC_TELEPHONE LC_TIME
107 do
108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109     eval $as_var=C; export $as_var
110   else
111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112   fi
113 done
114
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
118   as_expr=expr
119 else
120   as_expr=false
121 fi
122
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124   as_basename=basename
125 else
126   as_basename=false
127 fi
128
129
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133          X"$0" : 'X\(//\)$' \| \
134          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136     sed '/^.*\/\([^/][^/]*\)\/*$/{
137             s//\1/
138             q
139           }
140           /^X\/\(\/\/\)$/{
141             s//\1/
142             q
143           }
144           /^X\/\(\/\).*/{
145             s//\1/
146             q
147           }
148           s/.*/./; q'`
149
150 # CDPATH.
151 $as_unset CDPATH
152
153
154 if test "x$CONFIG_SHELL" = x; then
155   if (eval ":") 2>/dev/null; then
156   as_have_required=yes
157 else
158   as_have_required=no
159 fi
160
161   if test $as_have_required = yes &&     (eval ":
162 (as_func_return () {
163   (exit \$1)
164 }
165 as_func_success () {
166   as_func_return 0
167 }
168 as_func_failure () {
169   as_func_return 1
170 }
171 as_func_ret_success () {
172   return 0
173 }
174 as_func_ret_failure () {
175   return 1
176 }
177
178 exitcode=0
179 if as_func_success; then
180   :
181 else
182   exitcode=1
183   echo as_func_success failed.
184 fi
185
186 if as_func_failure; then
187   exitcode=1
188   echo as_func_failure succeeded.
189 fi
190
191 if as_func_ret_success; then
192   :
193 else
194   exitcode=1
195   echo as_func_ret_success failed.
196 fi
197
198 if as_func_ret_failure; then
199   exitcode=1
200   echo as_func_ret_failure succeeded.
201 fi
202
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204   :
205 else
206   exitcode=1
207   echo positional parameters were not saved.
208 fi
209
210 test \$exitcode = 0) || { (exit 1); exit 1; }
211
212 (
213   as_lineno_1=\$LINENO
214   as_lineno_2=\$LINENO
215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
218   :
219 else
220   as_candidate_shells=
221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 do
224   IFS=$as_save_IFS
225   test -z "$as_dir" && as_dir=.
226   case $as_dir in
227          /*)
228            for as_base in sh bash ksh sh5; do
229              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230            done;;
231        esac
232 done
233 IFS=$as_save_IFS
234
235
236       for as_shell in $as_candidate_shells $SHELL; do
237          # Try only shells that exist, to save several forks.
238          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239                 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241   emulate sh
242   NULLCMD=:
243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244   # is contrary to our usage.  Disable this feature.
245   alias -g '${1+"$@"}'='"$@"'
246   setopt NO_GLOB_SUBST
247 else
248   case `(set -o) 2>/dev/null` in
249   *posix*) set -o posix ;;
250 esac
251
252 fi
253
254
255 :
256 _ASEOF
257 }; then
258   CONFIG_SHELL=$as_shell
259                as_have_required=yes
260                if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262   emulate sh
263   NULLCMD=:
264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265   # is contrary to our usage.  Disable this feature.
266   alias -g '${1+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 (as_func_return () {
278   (exit $1)
279 }
280 as_func_success () {
281   as_func_return 0
282 }
283 as_func_failure () {
284   as_func_return 1
285 }
286 as_func_ret_success () {
287   return 0
288 }
289 as_func_ret_failure () {
290   return 1
291 }
292
293 exitcode=0
294 if as_func_success; then
295   :
296 else
297   exitcode=1
298   echo as_func_success failed.
299 fi
300
301 if as_func_failure; then
302   exitcode=1
303   echo as_func_failure succeeded.
304 fi
305
306 if as_func_ret_success; then
307   :
308 else
309   exitcode=1
310   echo as_func_ret_success failed.
311 fi
312
313 if as_func_ret_failure; then
314   exitcode=1
315   echo as_func_ret_failure succeeded.
316 fi
317
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
319   :
320 else
321   exitcode=1
322   echo positional parameters were not saved.
323 fi
324
325 test $exitcode = 0) || { (exit 1); exit 1; }
326
327 (
328   as_lineno_1=$LINENO
329   as_lineno_2=$LINENO
330   test "x$as_lineno_1" != "x$as_lineno_2" &&
331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333 _ASEOF
334 }; then
335   break
336 fi
337
338 fi
339
340       done
341
342       if test "x$CONFIG_SHELL" != x; then
343   for as_var in BASH_ENV ENV
344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345         done
346         export CONFIG_SHELL
347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 fi
349
350
351     if test $as_have_required = no; then
352   echo This script requires a shell more modern than all the
353       echo shells that I found on your system.  Please install a
354       echo modern shell, or manually run the script under such a
355       echo shell if you do have one.
356       { (exit 1); exit 1; }
357 fi
358
359
360 fi
361
362 fi
363
364
365
366 (eval "as_func_return () {
367   (exit \$1)
368 }
369 as_func_success () {
370   as_func_return 0
371 }
372 as_func_failure () {
373   as_func_return 1
374 }
375 as_func_ret_success () {
376   return 0
377 }
378 as_func_ret_failure () {
379   return 1
380 }
381
382 exitcode=0
383 if as_func_success; then
384   :
385 else
386   exitcode=1
387   echo as_func_success failed.
388 fi
389
390 if as_func_failure; then
391   exitcode=1
392   echo as_func_failure succeeded.
393 fi
394
395 if as_func_ret_success; then
396   :
397 else
398   exitcode=1
399   echo as_func_ret_success failed.
400 fi
401
402 if as_func_ret_failure; then
403   exitcode=1
404   echo as_func_ret_failure succeeded.
405 fi
406
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408   :
409 else
410   exitcode=1
411   echo positional parameters were not saved.
412 fi
413
414 test \$exitcode = 0") || {
415   echo No shell found that supports shell functions.
416   echo Please tell autoconf@gnu.org about your system,
417   echo including any error possibly output before this
418   echo message
419 }
420
421
422
423   as_lineno_1=$LINENO
424   as_lineno_2=$LINENO
425   test "x$as_lineno_1" != "x$as_lineno_2" &&
426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429   # uniformly replaced by the line number.  The first 'sed' inserts a
430   # line-number line after each line using $LINENO; the second 'sed'
431   # does the real work.  The second script uses 'N' to pair each
432   # line-number line with the line containing $LINENO, and appends
433   # trailing '-' during substitution so that $LINENO is not a special
434   # case at line end.
435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
437   # E. McMahon (1931-1989) for sed's syntax.  :-)
438   sed -n '
439     p
440     /[$]LINENO/=
441   ' <$as_myself |
442     sed '
443       s/[$]LINENO.*/&-/
444       t lineno
445       b
446       :lineno
447       N
448       :loop
449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450       t loop
451       s/-\n.*//
452     ' >$as_me.lineno &&
453   chmod +x "$as_me.lineno" ||
454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455    { (exit 1); exit 1; }; }
456
457   # Don't try to exec as it changes $[0], causing all sort of problems
458   # (the dirname of $[0] is not the place where we might find the
459   # original and so on.  Autoconf is especially sensitive to this).
460   . "./$as_me.lineno"
461   # Exit status is that of the last command.
462   exit
463 }
464
465
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467   as_dirname=dirname
468 else
469   as_dirname=false
470 fi
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475   case `echo 'x\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   *)   ECHO_C='\c';;
478   esac;;
479 *)
480   ECHO_N='-n';;
481 esac
482
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
485   as_expr=expr
486 else
487   as_expr=false
488 fi
489
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492   rm -f conf$$.dir/conf$$.file
493 else
494   rm -f conf$$.dir
495   mkdir conf$$.dir
496 fi
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499   as_ln_s='ln -s'
500   # ... but there are two gotchas:
501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503   # In both cases, we have to default to `cp -p'.
504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505     as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507   as_ln_s=ln
508 else
509   as_ln_s='cp -p'
510 fi
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
513
514 if mkdir -p . 2>/dev/null; then
515   as_mkdir_p=:
516 else
517   test -d ./-p && rmdir ./-p
518   as_mkdir_p=false
519 fi
520
521 if test -x / >/dev/null 2>&1; then
522   as_test_x='test -x'
523 else
524   if ls -dL / >/dev/null 2>&1; then
525     as_ls_L_option=L
526   else
527     as_ls_L_option=
528   fi
529   as_test_x='
530     eval sh -c '\''
531       if test -d "$1"; then
532         test -d "$1/.";
533       else
534         case $1 in
535         -*)set "./$1";;
536         esac;
537         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538         ???[sx]*):;;*)false;;esac;fi
539     '\'' sh
540   '
541 fi
542 as_executable_p=$as_test_x
543
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552 exec 7<&0 </dev/null 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
571
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
578
579 ac_unique_file="Makefile.conf.in"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='SHELL
617 PATH_SEPARATOR
618 PACKAGE_NAME
619 PACKAGE_TARNAME
620 PACKAGE_VERSION
621 PACKAGE_STRING
622 PACKAGE_BUGREPORT
623 exec_prefix
624 prefix
625 program_transform_name
626 bindir
627 sbindir
628 libexecdir
629 datarootdir
630 datadir
631 sysconfdir
632 sharedstatedir
633 localstatedir
634 includedir
635 oldincludedir
636 docdir
637 infodir
638 htmldir
639 dvidir
640 pdfdir
641 psdir
642 libdir
643 localedir
644 mandir
645 DEFS
646 ECHO_C
647 ECHO_N
648 ECHO_T
649 LIBS
650 build_alias
651 host_alias
652 target_alias
653 build
654 build_cpu
655 build_vendor
656 build_os
657 host
658 host_cpu
659 host_vendor
660 host_os
661 CC
662 CFLAGS
663 LDFLAGS
664 CPPFLAGS
665 ac_ct_CC
666 EXEEXT
667 OBJEXT
668 MKDIR
669 RM
670 CP
671 LN
672 TAR
673 RPM
674 SED
675 FIND
676 CPP
677 GREP
678 EGREP
679 LD
680 AS
681 OBJCOPY
682 I386_CC
683 I386_CPP
684 I386_LD
685 I386_AS
686 I386_OBJCOPY
687 IA64_CC
688 IA64_CPP
689 IA64_LD
690 IA64_AS
691 IA64_OBJCOPY
692 HOST_CC
693 HOST_CFLAGS
694 I386_CFLAGS
695 I386_ASFLAGS
696 I386_LDFLAGS
697 IA64_CFLAGS
698 IA64_ASFLAGS
699 IA64_LDFLAGS
700 LIBOBJS
701 LTLIBOBJS'
702 ac_subst_files=''
703       ac_precious_vars='build_alias
704 host_alias
705 target_alias
706 CC
707 CFLAGS
708 LDFLAGS
709 LIBS
710 CPPFLAGS
711 CPP'
712
713
714 # Initialize some variables set by options.
715 ac_init_help=
716 ac_init_version=false
717 # The variables have the same names as the options, with
718 # dashes changed to underlines.
719 cache_file=/dev/null
720 exec_prefix=NONE
721 no_create=
722 no_recursion=
723 prefix=NONE
724 program_prefix=NONE
725 program_suffix=NONE
726 program_transform_name=s,x,x,
727 silent=
728 site=
729 srcdir=
730 verbose=
731 x_includes=NONE
732 x_libraries=NONE
733
734 # Installation directory options.
735 # These are left unexpanded so users can "make install exec_prefix=/foo"
736 # and all the variables that are supposed to be based on exec_prefix
737 # by default will actually change.
738 # Use braces instead of parens because sh, perl, etc. also accept them.
739 # (The list follows the same order as the GNU Coding Standards.)
740 bindir='${exec_prefix}/bin'
741 sbindir='${exec_prefix}/sbin'
742 libexecdir='${exec_prefix}/libexec'
743 datarootdir='${prefix}/share'
744 datadir='${datarootdir}'
745 sysconfdir='${prefix}/etc'
746 sharedstatedir='${prefix}/com'
747 localstatedir='${prefix}/var'
748 includedir='${prefix}/include'
749 oldincludedir='/usr/include'
750 docdir='${datarootdir}/doc/${PACKAGE}'
751 infodir='${datarootdir}/info'
752 htmldir='${docdir}'
753 dvidir='${docdir}'
754 pdfdir='${docdir}'
755 psdir='${docdir}'
756 libdir='${exec_prefix}/lib'
757 localedir='${datarootdir}/locale'
758 mandir='${datarootdir}/man'
759
760 ac_prev=
761 ac_dashdash=
762 for ac_option
763 do
764   # If the previous option needs an argument, assign it.
765   if test -n "$ac_prev"; then
766     eval $ac_prev=\$ac_option
767     ac_prev=
768     continue
769   fi
770
771   case $ac_option in
772   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
773   *)    ac_optarg=yes ;;
774   esac
775
776   # Accept the important Cygnus configure options, so we can diagnose typos.
777
778   case $ac_dashdash$ac_option in
779   --)
780     ac_dashdash=yes ;;
781
782   -bindir | --bindir | --bindi | --bind | --bin | --bi)
783     ac_prev=bindir ;;
784   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
785     bindir=$ac_optarg ;;
786
787   -build | --build | --buil | --bui | --bu)
788     ac_prev=build_alias ;;
789   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
790     build_alias=$ac_optarg ;;
791
792   -cache-file | --cache-file | --cache-fil | --cache-fi \
793   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
794     ac_prev=cache_file ;;
795   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
796   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
797     cache_file=$ac_optarg ;;
798
799   --config-cache | -C)
800     cache_file=config.cache ;;
801
802   -datadir | --datadir | --datadi | --datad)
803     ac_prev=datadir ;;
804   -datadir=* | --datadir=* | --datadi=* | --datad=*)
805     datadir=$ac_optarg ;;
806
807   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
808   | --dataroo | --dataro | --datar)
809     ac_prev=datarootdir ;;
810   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
811   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
812     datarootdir=$ac_optarg ;;
813
814   -disable-* | --disable-*)
815     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
816     # Reject names that are not valid shell variable names.
817     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
818       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
819    { (exit 1); exit 1; }; }
820     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
821     eval enable_$ac_feature=no ;;
822
823   -docdir | --docdir | --docdi | --doc | --do)
824     ac_prev=docdir ;;
825   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
826     docdir=$ac_optarg ;;
827
828   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829     ac_prev=dvidir ;;
830   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
831     dvidir=$ac_optarg ;;
832
833   -enable-* | --enable-*)
834     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
835     # Reject names that are not valid shell variable names.
836     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
837       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
838    { (exit 1); exit 1; }; }
839     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
840     eval enable_$ac_feature=\$ac_optarg ;;
841
842   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
843   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
844   | --exec | --exe | --ex)
845     ac_prev=exec_prefix ;;
846   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
847   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
848   | --exec=* | --exe=* | --ex=*)
849     exec_prefix=$ac_optarg ;;
850
851   -gas | --gas | --ga | --g)
852     # Obsolete; use --with-gas.
853     with_gas=yes ;;
854
855   -help | --help | --hel | --he | -h)
856     ac_init_help=long ;;
857   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
858     ac_init_help=recursive ;;
859   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
860     ac_init_help=short ;;
861
862   -host | --host | --hos | --ho)
863     ac_prev=host_alias ;;
864   -host=* | --host=* | --hos=* | --ho=*)
865     host_alias=$ac_optarg ;;
866
867   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
868     ac_prev=htmldir ;;
869   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
870   | --ht=*)
871     htmldir=$ac_optarg ;;
872
873   -includedir | --includedir | --includedi | --included | --include \
874   | --includ | --inclu | --incl | --inc)
875     ac_prev=includedir ;;
876   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
877   | --includ=* | --inclu=* | --incl=* | --inc=*)
878     includedir=$ac_optarg ;;
879
880   -infodir | --infodir | --infodi | --infod | --info | --inf)
881     ac_prev=infodir ;;
882   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
883     infodir=$ac_optarg ;;
884
885   -libdir | --libdir | --libdi | --libd)
886     ac_prev=libdir ;;
887   -libdir=* | --libdir=* | --libdi=* | --libd=*)
888     libdir=$ac_optarg ;;
889
890   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
891   | --libexe | --libex | --libe)
892     ac_prev=libexecdir ;;
893   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
894   | --libexe=* | --libex=* | --libe=*)
895     libexecdir=$ac_optarg ;;
896
897   -localedir | --localedir | --localedi | --localed | --locale)
898     ac_prev=localedir ;;
899   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
900     localedir=$ac_optarg ;;
901
902   -localstatedir | --localstatedir | --localstatedi | --localstated \
903   | --localstate | --localstat | --localsta | --localst | --locals)
904     ac_prev=localstatedir ;;
905   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
906   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
907     localstatedir=$ac_optarg ;;
908
909   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
910     ac_prev=mandir ;;
911   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
912     mandir=$ac_optarg ;;
913
914   -nfp | --nfp | --nf)
915     # Obsolete; use --without-fp.
916     with_fp=no ;;
917
918   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
919   | --no-cr | --no-c | -n)
920     no_create=yes ;;
921
922   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
923   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
924     no_recursion=yes ;;
925
926   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
927   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
928   | --oldin | --oldi | --old | --ol | --o)
929     ac_prev=oldincludedir ;;
930   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
931   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
932   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
933     oldincludedir=$ac_optarg ;;
934
935   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
936     ac_prev=prefix ;;
937   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
938     prefix=$ac_optarg ;;
939
940   -program-prefix | --program-prefix | --program-prefi | --program-pref \
941   | --program-pre | --program-pr | --program-p)
942     ac_prev=program_prefix ;;
943   -program-prefix=* | --program-prefix=* | --program-prefi=* \
944   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
945     program_prefix=$ac_optarg ;;
946
947   -program-suffix | --program-suffix | --program-suffi | --program-suff \
948   | --program-suf | --program-su | --program-s)
949     ac_prev=program_suffix ;;
950   -program-suffix=* | --program-suffix=* | --program-suffi=* \
951   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
952     program_suffix=$ac_optarg ;;
953
954   -program-transform-name | --program-transform-name \
955   | --program-transform-nam | --program-transform-na \
956   | --program-transform-n | --program-transform- \
957   | --program-transform | --program-transfor \
958   | --program-transfo | --program-transf \
959   | --program-trans | --program-tran \
960   | --progr-tra | --program-tr | --program-t)
961     ac_prev=program_transform_name ;;
962   -program-transform-name=* | --program-transform-name=* \
963   | --program-transform-nam=* | --program-transform-na=* \
964   | --program-transform-n=* | --program-transform-=* \
965   | --program-transform=* | --program-transfor=* \
966   | --program-transfo=* | --program-transf=* \
967   | --program-trans=* | --program-tran=* \
968   | --progr-tra=* | --program-tr=* | --program-t=*)
969     program_transform_name=$ac_optarg ;;
970
971   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
972     ac_prev=pdfdir ;;
973   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
974     pdfdir=$ac_optarg ;;
975
976   -psdir | --psdir | --psdi | --psd | --ps)
977     ac_prev=psdir ;;
978   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
979     psdir=$ac_optarg ;;
980
981   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
982   | -silent | --silent | --silen | --sile | --sil)
983     silent=yes ;;
984
985   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
986     ac_prev=sbindir ;;
987   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
988   | --sbi=* | --sb=*)
989     sbindir=$ac_optarg ;;
990
991   -sharedstatedir | --sharedstatedir | --sharedstatedi \
992   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
993   | --sharedst | --shareds | --shared | --share | --shar \
994   | --sha | --sh)
995     ac_prev=sharedstatedir ;;
996   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
997   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
998   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
999   | --sha=* | --sh=*)
1000     sharedstatedir=$ac_optarg ;;
1001
1002   -site | --site | --sit)
1003     ac_prev=site ;;
1004   -site=* | --site=* | --sit=*)
1005     site=$ac_optarg ;;
1006
1007   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1008     ac_prev=srcdir ;;
1009   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1010     srcdir=$ac_optarg ;;
1011
1012   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1013   | --syscon | --sysco | --sysc | --sys | --sy)
1014     ac_prev=sysconfdir ;;
1015   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1016   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1017     sysconfdir=$ac_optarg ;;
1018
1019   -target | --target | --targe | --targ | --tar | --ta | --t)
1020     ac_prev=target_alias ;;
1021   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1022     target_alias=$ac_optarg ;;
1023
1024   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1025     verbose=yes ;;
1026
1027   -version | --version | --versio | --versi | --vers | -V)
1028     ac_init_version=: ;;
1029
1030   -with-* | --with-*)
1031     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1032     # Reject names that are not valid shell variable names.
1033     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1034       { echo "$as_me: error: invalid package name: $ac_package" >&2
1035    { (exit 1); exit 1; }; }
1036     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1037     eval with_$ac_package=\$ac_optarg ;;
1038
1039   -without-* | --without-*)
1040     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041     # Reject names that are not valid shell variable names.
1042     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1043       { echo "$as_me: error: invalid package name: $ac_package" >&2
1044    { (exit 1); exit 1; }; }
1045     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1046     eval with_$ac_package=no ;;
1047
1048   --x)
1049     # Obsolete; use --with-x.
1050     with_x=yes ;;
1051
1052   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053   | --x-incl | --x-inc | --x-in | --x-i)
1054     ac_prev=x_includes ;;
1055   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057     x_includes=$ac_optarg ;;
1058
1059   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061     ac_prev=x_libraries ;;
1062   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064     x_libraries=$ac_optarg ;;
1065
1066   -*) { echo "$as_me: error: unrecognized option: $ac_option
1067 Try \`$0 --help' for more information." >&2
1068    { (exit 1); exit 1; }; }
1069     ;;
1070
1071   *=*)
1072     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073     # Reject names that are not valid shell variable names.
1074     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1075       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1076    { (exit 1); exit 1; }; }
1077     eval $ac_envvar=\$ac_optarg
1078     export $ac_envvar ;;
1079
1080   *)
1081     # FIXME: should be removed in autoconf 3.0.
1082     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1086     ;;
1087
1088   esac
1089 done
1090
1091 if test -n "$ac_prev"; then
1092   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093   { echo "$as_me: error: missing argument to $ac_option" >&2
1094    { (exit 1); exit 1; }; }
1095 fi
1096
1097 # Be sure to have absolute directory names.
1098 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1099                 datadir sysconfdir sharedstatedir localstatedir includedir \
1100                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1101                 libdir localedir mandir
1102 do
1103   eval ac_val=\$$ac_var
1104   case $ac_val in
1105     [\\/$]* | ?:[\\/]* )  continue;;
1106     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1107   esac
1108   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1109    { (exit 1); exit 1; }; }
1110 done
1111
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1115 build=$build_alias
1116 host=$host_alias
1117 target=$target_alias
1118
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121   if test "x$build_alias" = x; then
1122     cross_compiling=maybe
1123     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1124     If a cross compiler is detected then cross compile mode will be used." >&2
1125   elif test "x$build_alias" != "x$host_alias"; then
1126     cross_compiling=yes
1127   fi
1128 fi
1129
1130 ac_tool_prefix=
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1132
1133 test "$silent" = yes && exec 6>/dev/null
1134
1135
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139   { echo "$as_me: error: Working directory cannot be determined" >&2
1140    { (exit 1); exit 1; }; }
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142   { echo "$as_me: error: pwd does not report name of working directory" >&2
1143    { (exit 1); exit 1; }; }
1144
1145
1146 # Find the source files, if location was not specified.
1147 if test -z "$srcdir"; then
1148   ac_srcdir_defaulted=yes
1149   # Try the directory containing this script, then the parent directory.
1150   ac_confdir=`$as_dirname -- "$0" ||
1151 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1152          X"$0" : 'X\(//\)[^/]' \| \
1153          X"$0" : 'X\(//\)$' \| \
1154          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1155 echo X"$0" |
1156     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1157             s//\1/
1158             q
1159           }
1160           /^X\(\/\/\)[^/].*/{
1161             s//\1/
1162             q
1163           }
1164           /^X\(\/\/\)$/{
1165             s//\1/
1166             q
1167           }
1168           /^X\(\/\).*/{
1169             s//\1/
1170             q
1171           }
1172           s/.*/./; q'`
1173   srcdir=$ac_confdir
1174   if test ! -r "$srcdir/$ac_unique_file"; then
1175     srcdir=..
1176   fi
1177 else
1178   ac_srcdir_defaulted=no
1179 fi
1180 if test ! -r "$srcdir/$ac_unique_file"; then
1181   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1182   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1183    { (exit 1); exit 1; }; }
1184 fi
1185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1186 ac_abs_confdir=`(
1187         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1188    { (exit 1); exit 1; }; }
1189         pwd)`
1190 # When building in place, set srcdir=.
1191 if test "$ac_abs_confdir" = "$ac_pwd"; then
1192   srcdir=.
1193 fi
1194 # Remove unnecessary trailing slashes from srcdir.
1195 # Double slashes in file names in object file debugging info
1196 # mess up M-x gdb in Emacs.
1197 case $srcdir in
1198 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 esac
1200 for ac_var in $ac_precious_vars; do
1201   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1202   eval ac_env_${ac_var}_value=\$${ac_var}
1203   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1204   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 done
1206
1207 #
1208 # Report the --help message.
1209 #
1210 if test "$ac_init_help" = "long"; then
1211   # Omit some internal or obsolete options to make the list less imposing.
1212   # This message is too long to be a string in the A/UX 3.1 sh.
1213   cat <<_ACEOF
1214 \`configure' configures this package to adapt to many kinds of systems.
1215
1216 Usage: $0 [OPTION]... [VAR=VALUE]...
1217
1218 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1219 VAR=VALUE.  See below for descriptions of some of the useful variables.
1220
1221 Defaults for the options are specified in brackets.
1222
1223 Configuration:
1224   -h, --help              display this help and exit
1225       --help=short        display options specific to this package
1226       --help=recursive    display the short help of all the included packages
1227   -V, --version           display version information and exit
1228   -q, --quiet, --silent   do not print \`checking...' messages
1229       --cache-file=FILE   cache test results in FILE [disabled]
1230   -C, --config-cache      alias for \`--cache-file=config.cache'
1231   -n, --no-create         do not create output files
1232       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1233
1234 Installation directories:
1235   --prefix=PREFIX         install architecture-independent files in PREFIX
1236                           [$ac_default_prefix]
1237   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1238                           [PREFIX]
1239
1240 By default, \`make install' will install all the files in
1241 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1242 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1243 for instance \`--prefix=\$HOME'.
1244
1245 For better control, use the options below.
1246
1247 Fine tuning of the installation directories:
1248   --bindir=DIR           user executables [EPREFIX/bin]
1249   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1250   --libexecdir=DIR       program executables [EPREFIX/libexec]
1251   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1252   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1253   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1254   --libdir=DIR           object code libraries [EPREFIX/lib]
1255   --includedir=DIR       C header files [PREFIX/include]
1256   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1257   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1258   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1259   --infodir=DIR          info documentation [DATAROOTDIR/info]
1260   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1261   --mandir=DIR           man documentation [DATAROOTDIR/man]
1262   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1263   --htmldir=DIR          html documentation [DOCDIR]
1264   --dvidir=DIR           dvi documentation [DOCDIR]
1265   --pdfdir=DIR           pdf documentation [DOCDIR]
1266   --psdir=DIR            ps documentation [DOCDIR]
1267 _ACEOF
1268
1269   cat <<\_ACEOF
1270
1271 System types:
1272   --build=BUILD     configure for building on BUILD [guessed]
1273   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1274 _ACEOF
1275 fi
1276
1277 if test -n "$ac_init_help"; then
1278
1279   cat <<\_ACEOF
1280
1281 Optional Packages:
1282   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1283   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1284   --with-i386             enable building i386 code
1285   --with-ia64             enable building ia64 code
1286
1287 Some influential environment variables:
1288   CC          C compiler command
1289   CFLAGS      C compiler flags
1290   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1291               nonstandard directory <lib dir>
1292   LIBS        libraries to pass to the linker, e.g. -l<library>
1293   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1294               you have headers in a nonstandard directory <include dir>
1295   CPP         C preprocessor
1296
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1299
1300 _ACEOF
1301 ac_status=$?
1302 fi
1303
1304 if test "$ac_init_help" = "recursive"; then
1305   # If there are subdirs, report their specific --help.
1306   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1307     test -d "$ac_dir" || continue
1308     ac_builddir=.
1309
1310 case "$ac_dir" in
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1312 *)
1313   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1314   # A ".." for each directory in $ac_dir_suffix.
1315   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1316   case $ac_top_builddir_sub in
1317   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1319   esac ;;
1320 esac
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1325
1326 case $srcdir in
1327   .)  # We are building in place.
1328     ac_srcdir=.
1329     ac_top_srcdir=$ac_top_builddir_sub
1330     ac_abs_top_srcdir=$ac_pwd ;;
1331   [\\/]* | ?:[\\/]* )  # Absolute name.
1332     ac_srcdir=$srcdir$ac_dir_suffix;
1333     ac_top_srcdir=$srcdir
1334     ac_abs_top_srcdir=$srcdir ;;
1335   *) # Relative name.
1336     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337     ac_top_srcdir=$ac_top_build_prefix$srcdir
1338     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1339 esac
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1341
1342     cd "$ac_dir" || { ac_status=$?; continue; }
1343     # Check for guested configure.
1344     if test -f "$ac_srcdir/configure.gnu"; then
1345       echo &&
1346       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347     elif test -f "$ac_srcdir/configure"; then
1348       echo &&
1349       $SHELL "$ac_srcdir/configure" --help=recursive
1350     else
1351       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1352     fi || ac_status=$?
1353     cd "$ac_pwd" || { ac_status=$?; break; }
1354   done
1355 fi
1356
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1359   cat <<\_ACEOF
1360 configure
1361 generated by GNU Autoconf 2.61
1362
1363 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1364 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1365 This configure script is free software; the Free Software Foundation
1366 gives unlimited permission to copy, distribute and modify it.
1367 _ACEOF
1368   exit
1369 fi
1370 cat >config.log <<_ACEOF
1371 This file contains any messages produced by compilers while
1372 running configure, to aid debugging if configure makes a mistake.
1373
1374 It was created by $as_me, which was
1375 generated by GNU Autoconf 2.61.  Invocation command line was
1376
1377   $ $0 $@
1378
1379 _ACEOF
1380 exec 5>>config.log
1381 {
1382 cat <<_ASUNAME
1383 ## --------- ##
1384 ## Platform. ##
1385 ## --------- ##
1386
1387 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1388 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1389 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1390 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1391 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1392
1393 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1394 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1395
1396 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1397 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1398 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1399 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1400 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1401 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1402 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1403
1404 _ASUNAME
1405
1406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407 for as_dir in $PATH
1408 do
1409   IFS=$as_save_IFS
1410   test -z "$as_dir" && as_dir=.
1411   echo "PATH: $as_dir"
1412 done
1413 IFS=$as_save_IFS
1414
1415 } >&5
1416
1417 cat >&5 <<_ACEOF
1418
1419
1420 ## ----------- ##
1421 ## Core tests. ##
1422 ## ----------- ##
1423
1424 _ACEOF
1425
1426
1427 # Keep a trace of the command line.
1428 # Strip out --no-create and --no-recursion so they do not pile up.
1429 # Strip out --silent because we don't want to record it for future runs.
1430 # Also quote any args containing shell meta-characters.
1431 # Make two passes to allow for proper duplicate-argument suppression.
1432 ac_configure_args=
1433 ac_configure_args0=
1434 ac_configure_args1=
1435 ac_must_keep_next=false
1436 for ac_pass in 1 2
1437 do
1438   for ac_arg
1439   do
1440     case $ac_arg in
1441     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1442     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1443     | -silent | --silent | --silen | --sile | --sil)
1444       continue ;;
1445     *\'*)
1446       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1447     esac
1448     case $ac_pass in
1449     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1450     2)
1451       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1452       if test $ac_must_keep_next = true; then
1453         ac_must_keep_next=false # Got value, back to normal.
1454       else
1455         case $ac_arg in
1456           *=* | --config-cache | -C | -disable-* | --disable-* \
1457           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1458           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1459           | -with-* | --with-* | -without-* | --without-* | --x)
1460             case "$ac_configure_args0 " in
1461               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1462             esac
1463             ;;
1464           -* ) ac_must_keep_next=true ;;
1465         esac
1466       fi
1467       ac_configure_args="$ac_configure_args '$ac_arg'"
1468       ;;
1469     esac
1470   done
1471 done
1472 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1473 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1474
1475 # When interrupted or exit'd, cleanup temporary files, and complete
1476 # config.log.  We remove comments because anyway the quotes in there
1477 # would cause problems or look ugly.
1478 # WARNING: Use '\'' to represent an apostrophe within the trap.
1479 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1480 trap 'exit_status=$?
1481   # Save into config.log some information that might help in debugging.
1482   {
1483     echo
1484
1485     cat <<\_ASBOX
1486 ## ---------------- ##
1487 ## Cache variables. ##
1488 ## ---------------- ##
1489 _ASBOX
1490     echo
1491     # The following way of writing the cache mishandles newlines in values,
1492 (
1493   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1494     eval ac_val=\$$ac_var
1495     case $ac_val in #(
1496     *${as_nl}*)
1497       case $ac_var in #(
1498       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1499 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1500       esac
1501       case $ac_var in #(
1502       _ | IFS | as_nl) ;; #(
1503       *) $as_unset $ac_var ;;
1504       esac ;;
1505     esac
1506   done
1507   (set) 2>&1 |
1508     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1509     *${as_nl}ac_space=\ *)
1510       sed -n \
1511         "s/'\''/'\''\\\\'\'''\''/g;
1512           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1513       ;; #(
1514     *)
1515       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1516       ;;
1517     esac |
1518     sort
1519 )
1520     echo
1521
1522     cat <<\_ASBOX
1523 ## ----------------- ##
1524 ## Output variables. ##
1525 ## ----------------- ##
1526 _ASBOX
1527     echo
1528     for ac_var in $ac_subst_vars
1529     do
1530       eval ac_val=\$$ac_var
1531       case $ac_val in
1532       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1533       esac
1534       echo "$ac_var='\''$ac_val'\''"
1535     done | sort
1536     echo
1537
1538     if test -n "$ac_subst_files"; then
1539       cat <<\_ASBOX
1540 ## ------------------- ##
1541 ## File substitutions. ##
1542 ## ------------------- ##
1543 _ASBOX
1544       echo
1545       for ac_var in $ac_subst_files
1546       do
1547         eval ac_val=\$$ac_var
1548         case $ac_val in
1549         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1550         esac
1551         echo "$ac_var='\''$ac_val'\''"
1552       done | sort
1553       echo
1554     fi
1555
1556     if test -s confdefs.h; then
1557       cat <<\_ASBOX
1558 ## ----------- ##
1559 ## confdefs.h. ##
1560 ## ----------- ##
1561 _ASBOX
1562       echo
1563       cat confdefs.h
1564       echo
1565     fi
1566     test "$ac_signal" != 0 &&
1567       echo "$as_me: caught signal $ac_signal"
1568     echo "$as_me: exit $exit_status"
1569   } >&5
1570   rm -f core *.core core.conftest.* &&
1571     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1572     exit $exit_status
1573 ' 0
1574 for ac_signal in 1 2 13 15; do
1575   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1576 done
1577 ac_signal=0
1578
1579 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1580 rm -f -r conftest* confdefs.h
1581
1582 # Predefined preprocessor variables.
1583
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_NAME "$PACKAGE_NAME"
1586 _ACEOF
1587
1588
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1591 _ACEOF
1592
1593
1594 cat >>confdefs.h <<_ACEOF
1595 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1596 _ACEOF
1597
1598
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_STRING "$PACKAGE_STRING"
1601 _ACEOF
1602
1603
1604 cat >>confdefs.h <<_ACEOF
1605 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1606 _ACEOF
1607
1608
1609 # Let the site file select an alternate cache file if it wants to.
1610 # Prefer explicitly selected file to automatically selected ones.
1611 if test -n "$CONFIG_SITE"; then
1612   set x "$CONFIG_SITE"
1613 elif test "x$prefix" != xNONE; then
1614   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1615 else
1616   set x "$ac_default_prefix/share/config.site" \
1617         "$ac_default_prefix/etc/config.site"
1618 fi
1619 shift
1620 for ac_site_file
1621 do
1622   if test -r "$ac_site_file"; then
1623     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1624 echo "$as_me: loading site script $ac_site_file" >&6;}
1625     sed 's/^/| /' "$ac_site_file" >&5
1626     . "$ac_site_file"
1627   fi
1628 done
1629
1630 if test -r "$cache_file"; then
1631   # Some versions of bash will fail to source /dev/null (special
1632   # files actually), so we avoid doing that.
1633   if test -f "$cache_file"; then
1634     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1635 echo "$as_me: loading cache $cache_file" >&6;}
1636     case $cache_file in
1637       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1638       *)                      . "./$cache_file";;
1639     esac
1640   fi
1641 else
1642   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1643 echo "$as_me: creating cache $cache_file" >&6;}
1644   >$cache_file
1645 fi
1646
1647 # Check that the precious variables saved in the cache have kept the same
1648 # value.
1649 ac_cache_corrupted=false
1650 for ac_var in $ac_precious_vars; do
1651   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1652   eval ac_new_set=\$ac_env_${ac_var}_set
1653   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1654   eval ac_new_val=\$ac_env_${ac_var}_value
1655   case $ac_old_set,$ac_new_set in
1656     set,)
1657       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1658 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1659       ac_cache_corrupted=: ;;
1660     ,set)
1661       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1662 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1663       ac_cache_corrupted=: ;;
1664     ,);;
1665     *)
1666       if test "x$ac_old_val" != "x$ac_new_val"; then
1667         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1668 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1669         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1670 echo "$as_me:   former value:  $ac_old_val" >&2;}
1671         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1672 echo "$as_me:   current value: $ac_new_val" >&2;}
1673         ac_cache_corrupted=:
1674       fi;;
1675   esac
1676   # Pass precious variables to config.status.
1677   if test "$ac_new_set" = set; then
1678     case $ac_new_val in
1679     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1680     *) ac_arg=$ac_var=$ac_new_val ;;
1681     esac
1682     case " $ac_configure_args " in
1683       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1684       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1685     esac
1686   fi
1687 done
1688 if $ac_cache_corrupted; then
1689   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1690 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1691   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1692 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1693    { (exit 1); exit 1; }; }
1694 fi
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712 ac_ext=c
1713 ac_cpp='$CPP $CPPFLAGS'
1714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1717
1718
1719 ac_aux_dir=
1720 for ac_dir in ./config "$srcdir"/./config; do
1721   if test -f "$ac_dir/install-sh"; then
1722     ac_aux_dir=$ac_dir
1723     ac_install_sh="$ac_aux_dir/install-sh -c"
1724     break
1725   elif test -f "$ac_dir/install.sh"; then
1726     ac_aux_dir=$ac_dir
1727     ac_install_sh="$ac_aux_dir/install.sh -c"
1728     break
1729   elif test -f "$ac_dir/shtool"; then
1730     ac_aux_dir=$ac_dir
1731     ac_install_sh="$ac_aux_dir/shtool install -c"
1732     break
1733   fi
1734 done
1735 if test -z "$ac_aux_dir"; then
1736   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&5
1737 echo "$as_me: error: cannot find install-sh or install.sh in ./config \"$srcdir\"/./config" >&2;}
1738    { (exit 1); exit 1; }; }
1739 fi
1740
1741 # These three variables are undocumented and unsupported,
1742 # and are intended to be withdrawn in a future Autoconf release.
1743 # They can cause serious problems if a builder's source tree is in a directory
1744 # whose full name contains unusual characters.
1745 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1746 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1747 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1748
1749
1750
1751
1752
1753 # Make sure we can run config.sub.
1754 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1755   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1756 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1757    { (exit 1); exit 1; }; }
1758
1759 { echo "$as_me:$LINENO: checking build system type" >&5
1760 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1761 if test "${ac_cv_build+set}" = set; then
1762   echo $ECHO_N "(cached) $ECHO_C" >&6
1763 else
1764   ac_build_alias=$build_alias
1765 test "x$ac_build_alias" = x &&
1766   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1767 test "x$ac_build_alias" = x &&
1768   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1769 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1770    { (exit 1); exit 1; }; }
1771 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1772   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1773 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1774    { (exit 1); exit 1; }; }
1775
1776 fi
1777 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1778 echo "${ECHO_T}$ac_cv_build" >&6; }
1779 case $ac_cv_build in
1780 *-*-*) ;;
1781 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1782 echo "$as_me: error: invalid value of canonical build" >&2;}
1783    { (exit 1); exit 1; }; };;
1784 esac
1785 build=$ac_cv_build
1786 ac_save_IFS=$IFS; IFS='-'
1787 set x $ac_cv_build
1788 shift
1789 build_cpu=$1
1790 build_vendor=$2
1791 shift; shift
1792 # Remember, the first character of IFS is used to create $*,
1793 # except with old shells:
1794 build_os=$*
1795 IFS=$ac_save_IFS
1796 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1797
1798
1799 { echo "$as_me:$LINENO: checking host system type" >&5
1800 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1801 if test "${ac_cv_host+set}" = set; then
1802   echo $ECHO_N "(cached) $ECHO_C" >&6
1803 else
1804   if test "x$host_alias" = x; then
1805   ac_cv_host=$ac_cv_build
1806 else
1807   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1808     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1809 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1810    { (exit 1); exit 1; }; }
1811 fi
1812
1813 fi
1814 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1815 echo "${ECHO_T}$ac_cv_host" >&6; }
1816 case $ac_cv_host in
1817 *-*-*) ;;
1818 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1819 echo "$as_me: error: invalid value of canonical host" >&2;}
1820    { (exit 1); exit 1; }; };;
1821 esac
1822 host=$ac_cv_host
1823 ac_save_IFS=$IFS; IFS='-'
1824 set x $ac_cv_host
1825 shift
1826 host_cpu=$1
1827 host_vendor=$2
1828 shift; shift
1829 # Remember, the first character of IFS is used to create $*,
1830 # except with old shells:
1831 host_os=$*
1832 IFS=$ac_save_IFS
1833 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1834
1835
1836 #AC_CANONICAL_TARGET
1837
1838
1839 case $host_cpu in
1840         i?86 )
1841                 target_cpu="i386"
1842                 ;;
1843         * )
1844                 target_cpu="$host_cpu"
1845                 ;;
1846 esac
1847
1848 targets=""
1849
1850
1851 # Check whether --with-i386 was given.
1852 if test "${with_i386+set}" = set; then
1853   withval=$with_i386;  if test "withval" = "yes" ; then with_i386="i386"; else with_i386="$withval"; fi
1854 else
1855    with_i386="no"
1856 fi
1857
1858
1859
1860 # Check whether --with-ia64 was given.
1861 if test "${with_ia64+set}" = set; then
1862   withval=$with_ia64;  if test "withval" = "yes" ; then with_ia64="ia64"; else with_ia64="$withval"; fi
1863 else
1864    with_ia64="no"
1865 fi
1866
1867
1868 with_default="no"
1869 if      test "$with_i386" = "no" &&
1870         test "$with_ia64" = "no" ; then
1871         with_default=`echo $target_cpu | tr a-z A-Z`
1872 fi
1873
1874 { echo "$as_me:$LINENO: with_default=$with_default" >&5
1875 echo "$as_me: with_default=$with_default" >&6;}
1876 { echo "$as_me:$LINENO: with_i386=$with_i386" >&5
1877 echo "$as_me: with_i386=$with_i386" >&6;}
1878 { echo "$as_me:$LINENO: with_ia64=$with_ia64" >&5
1879 echo "$as_me: with_ia64=$with_ia64" >&6;}
1880
1881
1882 ac_ext=c
1883 ac_cpp='$CPP $CPPFLAGS'
1884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1887 if test -n "$ac_tool_prefix"; then
1888   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1892 if test "${ac_cv_prog_CC+set}" = set; then
1893   echo $ECHO_N "(cached) $ECHO_C" >&6
1894 else
1895   if test -n "$CC"; then
1896   ac_cv_prog_CC="$CC" # Let the user override the test.
1897 else
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 for as_dir in $PATH
1900 do
1901   IFS=$as_save_IFS
1902   test -z "$as_dir" && as_dir=.
1903   for ac_exec_ext in '' $ac_executable_extensions; do
1904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1905     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1906     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1907     break 2
1908   fi
1909 done
1910 done
1911 IFS=$as_save_IFS
1912
1913 fi
1914 fi
1915 CC=$ac_cv_prog_CC
1916 if test -n "$CC"; then
1917   { echo "$as_me:$LINENO: result: $CC" >&5
1918 echo "${ECHO_T}$CC" >&6; }
1919 else
1920   { echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6; }
1922 fi
1923
1924
1925 fi
1926 if test -z "$ac_cv_prog_CC"; then
1927   ac_ct_CC=$CC
1928   # Extract the first word of "gcc", so it can be a program name with args.
1929 set dummy gcc; ac_word=$2
1930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1932 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1933   echo $ECHO_N "(cached) $ECHO_C" >&6
1934 else
1935   if test -n "$ac_ct_CC"; then
1936   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1937 else
1938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 for as_dir in $PATH
1940 do
1941   IFS=$as_save_IFS
1942   test -z "$as_dir" && as_dir=.
1943   for ac_exec_ext in '' $ac_executable_extensions; do
1944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1945     ac_cv_prog_ac_ct_CC="gcc"
1946     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1947     break 2
1948   fi
1949 done
1950 done
1951 IFS=$as_save_IFS
1952
1953 fi
1954 fi
1955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1956 if test -n "$ac_ct_CC"; then
1957   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1958 echo "${ECHO_T}$ac_ct_CC" >&6; }
1959 else
1960   { echo "$as_me:$LINENO: result: no" >&5
1961 echo "${ECHO_T}no" >&6; }
1962 fi
1963
1964   if test "x$ac_ct_CC" = x; then
1965     CC=""
1966   else
1967     case $cross_compiling:$ac_tool_warned in
1968 yes:)
1969 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1970 whose name does not start with the host triplet.  If you think this
1971 configuration is useful to you, please write to autoconf@gnu.org." >&5
1972 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1973 whose name does not start with the host triplet.  If you think this
1974 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1975 ac_tool_warned=yes ;;
1976 esac
1977     CC=$ac_ct_CC
1978   fi
1979 else
1980   CC="$ac_cv_prog_CC"
1981 fi
1982
1983 if test -z "$CC"; then
1984           if test -n "$ac_tool_prefix"; then
1985     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1986 set dummy ${ac_tool_prefix}cc; ac_word=$2
1987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1989 if test "${ac_cv_prog_CC+set}" = set; then
1990   echo $ECHO_N "(cached) $ECHO_C" >&6
1991 else
1992   if test -n "$CC"; then
1993   ac_cv_prog_CC="$CC" # Let the user override the test.
1994 else
1995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1996 for as_dir in $PATH
1997 do
1998   IFS=$as_save_IFS
1999   test -z "$as_dir" && as_dir=.
2000   for ac_exec_ext in '' $ac_executable_extensions; do
2001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2002     ac_cv_prog_CC="${ac_tool_prefix}cc"
2003     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004     break 2
2005   fi
2006 done
2007 done
2008 IFS=$as_save_IFS
2009
2010 fi
2011 fi
2012 CC=$ac_cv_prog_CC
2013 if test -n "$CC"; then
2014   { echo "$as_me:$LINENO: result: $CC" >&5
2015 echo "${ECHO_T}$CC" >&6; }
2016 else
2017   { echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6; }
2019 fi
2020
2021
2022   fi
2023 fi
2024 if test -z "$CC"; then
2025   # Extract the first word of "cc", so it can be a program name with args.
2026 set dummy cc; ac_word=$2
2027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2029 if test "${ac_cv_prog_CC+set}" = set; then
2030   echo $ECHO_N "(cached) $ECHO_C" >&6
2031 else
2032   if test -n "$CC"; then
2033   ac_cv_prog_CC="$CC" # Let the user override the test.
2034 else
2035   ac_prog_rejected=no
2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2037 for as_dir in $PATH
2038 do
2039   IFS=$as_save_IFS
2040   test -z "$as_dir" && as_dir=.
2041   for ac_exec_ext in '' $ac_executable_extensions; do
2042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2043     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2044        ac_prog_rejected=yes
2045        continue
2046      fi
2047     ac_cv_prog_CC="cc"
2048     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049     break 2
2050   fi
2051 done
2052 done
2053 IFS=$as_save_IFS
2054
2055 if test $ac_prog_rejected = yes; then
2056   # We found a bogon in the path, so make sure we never use it.
2057   set dummy $ac_cv_prog_CC
2058   shift
2059   if test $# != 0; then
2060     # We chose a different compiler from the bogus one.
2061     # However, it has the same basename, so the bogon will be chosen
2062     # first if we set CC to just the basename; use the full file name.
2063     shift
2064     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2065   fi
2066 fi
2067 fi
2068 fi
2069 CC=$ac_cv_prog_CC
2070 if test -n "$CC"; then
2071   { echo "$as_me:$LINENO: result: $CC" >&5
2072 echo "${ECHO_T}$CC" >&6; }
2073 else
2074   { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2076 fi
2077
2078
2079 fi
2080 if test -z "$CC"; then
2081   if test -n "$ac_tool_prefix"; then
2082   for ac_prog in cl.exe
2083   do
2084     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_CC+set}" = set; then
2089   echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091   if test -n "$CC"; then
2092   ac_cv_prog_CC="$CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2096 do
2097   IFS=$as_save_IFS
2098   test -z "$as_dir" && as_dir=.
2099   for ac_exec_ext in '' $ac_executable_extensions; do
2100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2102     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103     break 2
2104   fi
2105 done
2106 done
2107 IFS=$as_save_IFS
2108
2109 fi
2110 fi
2111 CC=$ac_cv_prog_CC
2112 if test -n "$CC"; then
2113   { echo "$as_me:$LINENO: result: $CC" >&5
2114 echo "${ECHO_T}$CC" >&6; }
2115 else
2116   { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2118 fi
2119
2120
2121     test -n "$CC" && break
2122   done
2123 fi
2124 if test -z "$CC"; then
2125   ac_ct_CC=$CC
2126   for ac_prog in cl.exe
2127 do
2128   # Extract the first word of "$ac_prog", so it can be a program name with args.
2129 set dummy $ac_prog; ac_word=$2
2130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2133   echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135   if test -n "$ac_ct_CC"; then
2136   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 else
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2139 for as_dir in $PATH
2140 do
2141   IFS=$as_save_IFS
2142   test -z "$as_dir" && as_dir=.
2143   for ac_exec_ext in '' $ac_executable_extensions; do
2144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2145     ac_cv_prog_ac_ct_CC="$ac_prog"
2146     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147     break 2
2148   fi
2149 done
2150 done
2151 IFS=$as_save_IFS
2152
2153 fi
2154 fi
2155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2156 if test -n "$ac_ct_CC"; then
2157   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158 echo "${ECHO_T}$ac_ct_CC" >&6; }
2159 else
2160   { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2162 fi
2163
2164
2165   test -n "$ac_ct_CC" && break
2166 done
2167
2168   if test "x$ac_ct_CC" = x; then
2169     CC=""
2170   else
2171     case $cross_compiling:$ac_tool_warned in
2172 yes:)
2173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2174 whose name does not start with the host triplet.  If you think this
2175 configuration is useful to you, please write to autoconf@gnu.org." >&5
2176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2177 whose name does not start with the host triplet.  If you think this
2178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2179 ac_tool_warned=yes ;;
2180 esac
2181     CC=$ac_ct_CC
2182   fi
2183 fi
2184
2185 fi
2186
2187
2188 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2189 See \`config.log' for more details." >&5
2190 echo "$as_me: error: no acceptable C compiler found in \$PATH
2191 See \`config.log' for more details." >&2;}
2192    { (exit 1); exit 1; }; }
2193
2194 # Provide some information about the compiler.
2195 echo "$as_me:$LINENO: checking for C compiler version" >&5
2196 ac_compiler=`set X $ac_compile; echo $2`
2197 { (ac_try="$ac_compiler --version >&5"
2198 case "(($ac_try" in
2199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2200   *) ac_try_echo=$ac_try;;
2201 esac
2202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2203   (eval "$ac_compiler --version >&5") 2>&5
2204   ac_status=$?
2205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206   (exit $ac_status); }
2207 { (ac_try="$ac_compiler -v >&5"
2208 case "(($ac_try" in
2209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2210   *) ac_try_echo=$ac_try;;
2211 esac
2212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2213   (eval "$ac_compiler -v >&5") 2>&5
2214   ac_status=$?
2215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216   (exit $ac_status); }
2217 { (ac_try="$ac_compiler -V >&5"
2218 case "(($ac_try" in
2219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220   *) ac_try_echo=$ac_try;;
2221 esac
2222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2223   (eval "$ac_compiler -V >&5") 2>&5
2224   ac_status=$?
2225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226   (exit $ac_status); }
2227
2228 cat >conftest.$ac_ext <<_ACEOF
2229 /* confdefs.h.  */
2230 _ACEOF
2231 cat confdefs.h >>conftest.$ac_ext
2232 cat >>conftest.$ac_ext <<_ACEOF
2233 /* end confdefs.h.  */
2234
2235 int
2236 main ()
2237 {
2238
2239   ;
2240   return 0;
2241 }
2242 _ACEOF
2243 ac_clean_files_save=$ac_clean_files
2244 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2245 # Try to create an executable without -o first, disregard a.out.
2246 # It will help us diagnose broken compilers, and finding out an intuition
2247 # of exeext.
2248 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2249 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2250 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2251 #
2252 # List of possible output files, starting from the most likely.
2253 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2254 # only as a last resort.  b.out is created by i960 compilers.
2255 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2256 #
2257 # The IRIX 6 linker writes into existing files which may not be
2258 # executable, retaining their permissions.  Remove them first so a
2259 # subsequent execution test works.
2260 ac_rmfiles=
2261 for ac_file in $ac_files
2262 do
2263   case $ac_file in
2264     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2265     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2266   esac
2267 done
2268 rm -f $ac_rmfiles
2269
2270 if { (ac_try="$ac_link_default"
2271 case "(($ac_try" in
2272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2273   *) ac_try_echo=$ac_try;;
2274 esac
2275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2276   (eval "$ac_link_default") 2>&5
2277   ac_status=$?
2278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279   (exit $ac_status); }; then
2280   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2281 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2282 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2283 # so that the user can short-circuit this test for compilers unknown to
2284 # Autoconf.
2285 for ac_file in $ac_files ''
2286 do
2287   test -f "$ac_file" || continue
2288   case $ac_file in
2289     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2290         ;;
2291     [ab].out )
2292         # We found the default executable, but exeext='' is most
2293         # certainly right.
2294         break;;
2295     *.* )
2296         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2297         then :; else
2298            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2299         fi
2300         # We set ac_cv_exeext here because the later test for it is not
2301         # safe: cross compilers may not add the suffix if given an `-o'
2302         # argument, so we may need to know it at that point already.
2303         # Even if this section looks crufty: it has the advantage of
2304         # actually working.
2305         break;;
2306     * )
2307         break;;
2308   esac
2309 done
2310 test "$ac_cv_exeext" = no && ac_cv_exeext=
2311
2312 else
2313   ac_file=''
2314 fi
2315
2316 { echo "$as_me:$LINENO: result: $ac_file" >&5
2317 echo "${ECHO_T}$ac_file" >&6; }
2318 if test -z "$ac_file"; then
2319   echo "$as_me: failed program was:" >&5
2320 sed 's/^/| /' conftest.$ac_ext >&5
2321
2322 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2323 See \`config.log' for more details." >&5
2324 echo "$as_me: error: C compiler cannot create executables
2325 See \`config.log' for more details." >&2;}
2326    { (exit 77); exit 77; }; }
2327 fi
2328
2329 ac_exeext=$ac_cv_exeext
2330
2331 # Check that the compiler produces executables we can run.  If not, either
2332 # the compiler is broken, or we cross compile.
2333 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2334 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2335 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2336 # If not cross compiling, check that we can run a simple program.
2337 if test "$cross_compiling" != yes; then
2338   if { ac_try='./$ac_file'
2339   { (case "(($ac_try" in
2340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341   *) ac_try_echo=$ac_try;;
2342 esac
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344   (eval "$ac_try") 2>&5
2345   ac_status=$?
2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347   (exit $ac_status); }; }; then
2348     cross_compiling=no
2349   else
2350     if test "$cross_compiling" = maybe; then
2351         cross_compiling=yes
2352     else
2353         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2354 If you meant to cross compile, use \`--host'.
2355 See \`config.log' for more details." >&5
2356 echo "$as_me: error: cannot run C compiled programs.
2357 If you meant to cross compile, use \`--host'.
2358 See \`config.log' for more details." >&2;}
2359    { (exit 1); exit 1; }; }
2360     fi
2361   fi
2362 fi
2363 { echo "$as_me:$LINENO: result: yes" >&5
2364 echo "${ECHO_T}yes" >&6; }
2365
2366 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2367 ac_clean_files=$ac_clean_files_save
2368 # Check that the compiler produces executables we can run.  If not, either
2369 # the compiler is broken, or we cross compile.
2370 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2371 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2372 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2373 echo "${ECHO_T}$cross_compiling" >&6; }
2374
2375 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2376 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2377 if { (ac_try="$ac_link"
2378 case "(($ac_try" in
2379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380   *) ac_try_echo=$ac_try;;
2381 esac
2382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383   (eval "$ac_link") 2>&5
2384   ac_status=$?
2385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386   (exit $ac_status); }; then
2387   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2388 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2389 # work properly (i.e., refer to `conftest.exe'), while it won't with
2390 # `rm'.
2391 for ac_file in conftest.exe conftest conftest.*; do
2392   test -f "$ac_file" || continue
2393   case $ac_file in
2394     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2395     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2396           break;;
2397     * ) break;;
2398   esac
2399 done
2400 else
2401   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2402 See \`config.log' for more details." >&5
2403 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2404 See \`config.log' for more details." >&2;}
2405    { (exit 1); exit 1; }; }
2406 fi
2407
2408 rm -f conftest$ac_cv_exeext
2409 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2410 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2411
2412 rm -f conftest.$ac_ext
2413 EXEEXT=$ac_cv_exeext
2414 ac_exeext=$EXEEXT
2415 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2416 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2417 if test "${ac_cv_objext+set}" = set; then
2418   echo $ECHO_N "(cached) $ECHO_C" >&6
2419 else
2420   cat >conftest.$ac_ext <<_ACEOF
2421 /* confdefs.h.  */
2422 _ACEOF
2423 cat confdefs.h >>conftest.$ac_ext
2424 cat >>conftest.$ac_ext <<_ACEOF
2425 /* end confdefs.h.  */
2426
2427 int
2428 main ()
2429 {
2430
2431   ;
2432   return 0;
2433 }
2434 _ACEOF
2435 rm -f conftest.o conftest.obj
2436 if { (ac_try="$ac_compile"
2437 case "(($ac_try" in
2438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2439   *) ac_try_echo=$ac_try;;
2440 esac
2441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2442   (eval "$ac_compile") 2>&5
2443   ac_status=$?
2444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445   (exit $ac_status); }; then
2446   for ac_file in conftest.o conftest.obj conftest.*; do
2447   test -f "$ac_file" || continue;
2448   case $ac_file in
2449     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2450     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2451        break;;
2452   esac
2453 done
2454 else
2455   echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.$ac_ext >&5
2457
2458 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." >&5
2460 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2461 See \`config.log' for more details." >&2;}
2462    { (exit 1); exit 1; }; }
2463 fi
2464
2465 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2466 fi
2467 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2468 echo "${ECHO_T}$ac_cv_objext" >&6; }
2469 OBJEXT=$ac_cv_objext
2470 ac_objext=$OBJEXT
2471 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2474   echo $ECHO_N "(cached) $ECHO_C" >&6
2475 else
2476   cat >conftest.$ac_ext <<_ACEOF
2477 /* confdefs.h.  */
2478 _ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h.  */
2482
2483 int
2484 main ()
2485 {
2486 #ifndef __GNUC__
2487        choke me
2488 #endif
2489
2490   ;
2491   return 0;
2492 }
2493 _ACEOF
2494 rm -f conftest.$ac_objext
2495 if { (ac_try="$ac_compile"
2496 case "(($ac_try" in
2497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498   *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501   (eval "$ac_compile") 2>conftest.er1
2502   ac_status=$?
2503   grep -v '^ *+' conftest.er1 >conftest.err
2504   rm -f conftest.er1
2505   cat conftest.err >&5
2506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507   (exit $ac_status); } && {
2508          test -z "$ac_c_werror_flag" ||
2509          test ! -s conftest.err
2510        } && test -s conftest.$ac_objext; then
2511   ac_compiler_gnu=yes
2512 else
2513   echo "$as_me: failed program was:" >&5
2514 sed 's/^/| /' conftest.$ac_ext >&5
2515
2516         ac_compiler_gnu=no
2517 fi
2518
2519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2520 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2521
2522 fi
2523 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2524 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2525 GCC=`test $ac_compiler_gnu = yes && echo yes`
2526 ac_test_CFLAGS=${CFLAGS+set}
2527 ac_save_CFLAGS=$CFLAGS
2528 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2529 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2530 if test "${ac_cv_prog_cc_g+set}" = set; then
2531   echo $ECHO_N "(cached) $ECHO_C" >&6
2532 else
2533   ac_save_c_werror_flag=$ac_c_werror_flag
2534    ac_c_werror_flag=yes
2535    ac_cv_prog_cc_g=no
2536    CFLAGS="-g"
2537    cat >conftest.$ac_ext <<_ACEOF
2538 /* confdefs.h.  */
2539 _ACEOF
2540 cat confdefs.h >>conftest.$ac_ext
2541 cat >>conftest.$ac_ext <<_ACEOF
2542 /* end confdefs.h.  */
2543
2544 int
2545 main ()
2546 {
2547
2548   ;
2549   return 0;
2550 }
2551 _ACEOF
2552 rm -f conftest.$ac_objext
2553 if { (ac_try="$ac_compile"
2554 case "(($ac_try" in
2555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556   *) ac_try_echo=$ac_try;;
2557 esac
2558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2559   (eval "$ac_compile") 2>conftest.er1
2560   ac_status=$?
2561   grep -v '^ *+' conftest.er1 >conftest.err
2562   rm -f conftest.er1
2563   cat conftest.err >&5
2564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565   (exit $ac_status); } && {
2566          test -z "$ac_c_werror_flag" ||
2567          test ! -s conftest.err
2568        } && test -s conftest.$ac_objext; then
2569   ac_cv_prog_cc_g=yes
2570 else
2571   echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2573
2574         CFLAGS=""
2575       cat >conftest.$ac_ext <<_ACEOF
2576 /* confdefs.h.  */
2577 _ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h.  */
2581
2582 int
2583 main ()
2584 {
2585
2586   ;
2587   return 0;
2588 }
2589 _ACEOF
2590 rm -f conftest.$ac_objext
2591 if { (ac_try="$ac_compile"
2592 case "(($ac_try" in
2593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594   *) ac_try_echo=$ac_try;;
2595 esac
2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2597   (eval "$ac_compile") 2>conftest.er1
2598   ac_status=$?
2599   grep -v '^ *+' conftest.er1 >conftest.err
2600   rm -f conftest.er1
2601   cat conftest.err >&5
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); } && {
2604          test -z "$ac_c_werror_flag" ||
2605          test ! -s conftest.err
2606        } && test -s conftest.$ac_objext; then
2607   :
2608 else
2609   echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612         ac_c_werror_flag=$ac_save_c_werror_flag
2613          CFLAGS="-g"
2614          cat >conftest.$ac_ext <<_ACEOF
2615 /* confdefs.h.  */
2616 _ACEOF
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h.  */
2620
2621 int
2622 main ()
2623 {
2624
2625   ;
2626   return 0;
2627 }
2628 _ACEOF
2629 rm -f conftest.$ac_objext
2630 if { (ac_try="$ac_compile"
2631 case "(($ac_try" in
2632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633   *) ac_try_echo=$ac_try;;
2634 esac
2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636   (eval "$ac_compile") 2>conftest.er1
2637   ac_status=$?
2638   grep -v '^ *+' conftest.er1 >conftest.err
2639   rm -f conftest.er1
2640   cat conftest.err >&5
2641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642   (exit $ac_status); } && {
2643          test -z "$ac_c_werror_flag" ||
2644          test ! -s conftest.err
2645        } && test -s conftest.$ac_objext; then
2646   ac_cv_prog_cc_g=yes
2647 else
2648   echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2650
2651
2652 fi
2653
2654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 fi
2656
2657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 fi
2659
2660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2661    ac_c_werror_flag=$ac_save_c_werror_flag
2662 fi
2663 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2664 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2665 if test "$ac_test_CFLAGS" = set; then
2666   CFLAGS=$ac_save_CFLAGS
2667 elif test $ac_cv_prog_cc_g = yes; then
2668   if test "$GCC" = yes; then
2669     CFLAGS="-g -O2"
2670   else
2671     CFLAGS="-g"
2672   fi
2673 else
2674   if test "$GCC" = yes; then
2675     CFLAGS="-O2"
2676   else
2677     CFLAGS=
2678   fi
2679 fi
2680 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2681 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2682 if test "${ac_cv_prog_cc_c89+set}" = set; then
2683   echo $ECHO_N "(cached) $ECHO_C" >&6
2684 else
2685   ac_cv_prog_cc_c89=no
2686 ac_save_CC=$CC
2687 cat >conftest.$ac_ext <<_ACEOF
2688 /* confdefs.h.  */
2689 _ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h.  */
2693 #include <stdarg.h>
2694 #include <stdio.h>
2695 #include <sys/types.h>
2696 #include <sys/stat.h>
2697 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2698 struct buf { int x; };
2699 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2700 static char *e (p, i)
2701      char **p;
2702      int i;
2703 {
2704   return p[i];
2705 }
2706 static char *f (char * (*g) (char **, int), char **p, ...)
2707 {
2708   char *s;
2709   va_list v;
2710   va_start (v,p);
2711   s = g (p, va_arg (v,int));
2712   va_end (v);
2713   return s;
2714 }
2715
2716 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2717    function prototypes and stuff, but not '\xHH' hex character constants.
2718    These don't provoke an error unfortunately, instead are silently treated
2719    as 'x'.  The following induces an error, until -std is added to get
2720    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2721    array size at least.  It's necessary to write '\x00'==0 to get something
2722    that's true only with -std.  */
2723 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2724
2725 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2726    inside strings and character constants.  */
2727 #define FOO(x) 'x'
2728 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2729
2730 int test (int i, double x);
2731 struct s1 {int (*f) (int a);};
2732 struct s2 {int (*f) (double a);};
2733 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2734 int argc;
2735 char **argv;
2736 int
2737 main ()
2738 {
2739 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2740   ;
2741   return 0;
2742 }
2743 _ACEOF
2744 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2745         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2746 do
2747   CC="$ac_save_CC $ac_arg"
2748   rm -f conftest.$ac_objext
2749 if { (ac_try="$ac_compile"
2750 case "(($ac_try" in
2751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752   *) ac_try_echo=$ac_try;;
2753 esac
2754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755   (eval "$ac_compile") 2>conftest.er1
2756   ac_status=$?
2757   grep -v '^ *+' conftest.er1 >conftest.err
2758   rm -f conftest.er1
2759   cat conftest.err >&5
2760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761   (exit $ac_status); } && {
2762          test -z "$ac_c_werror_flag" ||
2763          test ! -s conftest.err
2764        } && test -s conftest.$ac_objext; then
2765   ac_cv_prog_cc_c89=$ac_arg
2766 else
2767   echo "$as_me: failed program was:" >&5
2768 sed 's/^/| /' conftest.$ac_ext >&5
2769
2770
2771 fi
2772
2773 rm -f core conftest.err conftest.$ac_objext
2774   test "x$ac_cv_prog_cc_c89" != "xno" && break
2775 done
2776 rm -f conftest.$ac_ext
2777 CC=$ac_save_CC
2778
2779 fi
2780 # AC_CACHE_VAL
2781 case "x$ac_cv_prog_cc_c89" in
2782   x)
2783     { echo "$as_me:$LINENO: result: none needed" >&5
2784 echo "${ECHO_T}none needed" >&6; } ;;
2785   xno)
2786     { echo "$as_me:$LINENO: result: unsupported" >&5
2787 echo "${ECHO_T}unsupported" >&6; } ;;
2788   *)
2789     CC="$CC $ac_cv_prog_cc_c89"
2790     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2791 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2792 esac
2793
2794
2795 ac_ext=c
2796 ac_cpp='$CPP $CPPFLAGS'
2797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800
2801
2802
2803 # Extract the first word of "mkdir", so it can be a program name with args.
2804 set dummy mkdir; ac_word=$2
2805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807 if test "${ac_cv_prog_MKDIR+set}" = set; then
2808   echo $ECHO_N "(cached) $ECHO_C" >&6
2809 else
2810   if test -n "$MKDIR"; then
2811   ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2812 else
2813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 for as_dir in $PATH
2815 do
2816   IFS=$as_save_IFS
2817   test -z "$as_dir" && as_dir=.
2818   for ac_exec_ext in '' $ac_executable_extensions; do
2819   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820     ac_cv_prog_MKDIR="mkdir"
2821     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822     break 2
2823   fi
2824 done
2825 done
2826 IFS=$as_save_IFS
2827
2828 fi
2829 fi
2830 MKDIR=$ac_cv_prog_MKDIR
2831 if test -n "$MKDIR"; then
2832   { echo "$as_me:$LINENO: result: $MKDIR" >&5
2833 echo "${ECHO_T}$MKDIR" >&6; }
2834 else
2835   { echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6; }
2837 fi
2838
2839
2840 # Extract the first word of "rm", so it can be a program name with args.
2841 set dummy rm; ac_word=$2
2842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2844 if test "${ac_cv_prog_RM+set}" = set; then
2845   echo $ECHO_N "(cached) $ECHO_C" >&6
2846 else
2847   if test -n "$RM"; then
2848   ac_cv_prog_RM="$RM" # Let the user override the test.
2849 else
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 for as_dir in $PATH
2852 do
2853   IFS=$as_save_IFS
2854   test -z "$as_dir" && as_dir=.
2855   for ac_exec_ext in '' $ac_executable_extensions; do
2856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857     ac_cv_prog_RM="rm"
2858     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859     break 2
2860   fi
2861 done
2862 done
2863 IFS=$as_save_IFS
2864
2865 fi
2866 fi
2867 RM=$ac_cv_prog_RM
2868 if test -n "$RM"; then
2869   { echo "$as_me:$LINENO: result: $RM" >&5
2870 echo "${ECHO_T}$RM" >&6; }
2871 else
2872   { echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6; }
2874 fi
2875
2876
2877 # Extract the first word of "cp", so it can be a program name with args.
2878 set dummy cp; ac_word=$2
2879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2881 if test "${ac_cv_prog_CP+set}" = set; then
2882   echo $ECHO_N "(cached) $ECHO_C" >&6
2883 else
2884   if test -n "$CP"; then
2885   ac_cv_prog_CP="$CP" # Let the user override the test.
2886 else
2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2888 for as_dir in $PATH
2889 do
2890   IFS=$as_save_IFS
2891   test -z "$as_dir" && as_dir=.
2892   for ac_exec_ext in '' $ac_executable_extensions; do
2893   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894     ac_cv_prog_CP="cp"
2895     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2896     break 2
2897   fi
2898 done
2899 done
2900 IFS=$as_save_IFS
2901
2902 fi
2903 fi
2904 CP=$ac_cv_prog_CP
2905 if test -n "$CP"; then
2906   { echo "$as_me:$LINENO: result: $CP" >&5
2907 echo "${ECHO_T}$CP" >&6; }
2908 else
2909   { echo "$as_me:$LINENO: result: no" >&5
2910 echo "${ECHO_T}no" >&6; }
2911 fi
2912
2913
2914 # Extract the first word of "ln", so it can be a program name with args.
2915 set dummy ln; ac_word=$2
2916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2918 if test "${ac_cv_prog_LN+set}" = set; then
2919   echo $ECHO_N "(cached) $ECHO_C" >&6
2920 else
2921   if test -n "$LN"; then
2922   ac_cv_prog_LN="$LN" # Let the user override the test.
2923 else
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 for as_dir in $PATH
2926 do
2927   IFS=$as_save_IFS
2928   test -z "$as_dir" && as_dir=.
2929   for ac_exec_ext in '' $ac_executable_extensions; do
2930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2931     ac_cv_prog_LN="ln"
2932     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2933     break 2
2934   fi
2935 done
2936 done
2937 IFS=$as_save_IFS
2938
2939 fi
2940 fi
2941 LN=$ac_cv_prog_LN
2942 if test -n "$LN"; then
2943   { echo "$as_me:$LINENO: result: $LN" >&5
2944 echo "${ECHO_T}$LN" >&6; }
2945 else
2946   { echo "$as_me:$LINENO: result: no" >&5
2947 echo "${ECHO_T}no" >&6; }
2948 fi
2949
2950
2951 # Extract the first word of "tar", so it can be a program name with args.
2952 set dummy tar; ac_word=$2
2953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2955 if test "${ac_cv_prog_TAR+set}" = set; then
2956   echo $ECHO_N "(cached) $ECHO_C" >&6
2957 else
2958   if test -n "$TAR"; then
2959   ac_cv_prog_TAR="$TAR" # Let the user override the test.
2960 else
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2963 do
2964   IFS=$as_save_IFS
2965   test -z "$as_dir" && as_dir=.
2966   for ac_exec_ext in '' $ac_executable_extensions; do
2967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968     ac_cv_prog_TAR="tar"
2969     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970     break 2
2971   fi
2972 done
2973 done
2974 IFS=$as_save_IFS
2975
2976 fi
2977 fi
2978 TAR=$ac_cv_prog_TAR
2979 if test -n "$TAR"; then
2980   { echo "$as_me:$LINENO: result: $TAR" >&5
2981 echo "${ECHO_T}$TAR" >&6; }
2982 else
2983   { echo "$as_me:$LINENO: result: no" >&5
2984 echo "${ECHO_T}no" >&6; }
2985 fi
2986
2987
2988 # Extract the first word of "rpm", so it can be a program name with args.
2989 set dummy rpm; ac_word=$2
2990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2992 if test "${ac_cv_prog_RPM+set}" = set; then
2993   echo $ECHO_N "(cached) $ECHO_C" >&6
2994 else
2995   if test -n "$RPM"; then
2996   ac_cv_prog_RPM="$RPM" # Let the user override the test.
2997 else
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999 for as_dir in $PATH
3000 do
3001   IFS=$as_save_IFS
3002   test -z "$as_dir" && as_dir=.
3003   for ac_exec_ext in '' $ac_executable_extensions; do
3004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005     ac_cv_prog_RPM="rpm"
3006     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3007     break 2
3008   fi
3009 done
3010 done
3011 IFS=$as_save_IFS
3012
3013 fi
3014 fi
3015 RPM=$ac_cv_prog_RPM
3016 if test -n "$RPM"; then
3017   { echo "$as_me:$LINENO: result: $RPM" >&5
3018 echo "${ECHO_T}$RPM" >&6; }
3019 else
3020   { echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6; }
3022 fi
3023
3024
3025 # Extract the first word of "sed", so it can be a program name with args.
3026 set dummy sed; ac_word=$2
3027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3029 if test "${ac_cv_prog_SED+set}" = set; then
3030   echo $ECHO_N "(cached) $ECHO_C" >&6
3031 else
3032   if test -n "$SED"; then
3033   ac_cv_prog_SED="$SED" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038   IFS=$as_save_IFS
3039   test -z "$as_dir" && as_dir=.
3040   for ac_exec_ext in '' $ac_executable_extensions; do
3041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042     ac_cv_prog_SED="sed"
3043     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3044     break 2
3045   fi
3046 done
3047 done
3048 IFS=$as_save_IFS
3049
3050 fi
3051 fi
3052 SED=$ac_cv_prog_SED
3053 if test -n "$SED"; then
3054   { echo "$as_me:$LINENO: result: $SED" >&5
3055 echo "${ECHO_T}$SED" >&6; }
3056 else
3057   { echo "$as_me:$LINENO: result: no" >&5
3058 echo "${ECHO_T}no" >&6; }
3059 fi
3060
3061
3062 # Extract the first word of "find", so it can be a program name with args.
3063 set dummy find; ac_word=$2
3064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3066 if test "${ac_cv_prog_FIND+set}" = set; then
3067   echo $ECHO_N "(cached) $ECHO_C" >&6
3068 else
3069   if test -n "$FIND"; then
3070   ac_cv_prog_FIND="$FIND" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3074 do
3075   IFS=$as_save_IFS
3076   test -z "$as_dir" && as_dir=.
3077   for ac_exec_ext in '' $ac_executable_extensions; do
3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079     ac_cv_prog_FIND="find"
3080     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3081     break 2
3082   fi
3083 done
3084 done
3085 IFS=$as_save_IFS
3086
3087 fi
3088 fi
3089 FIND=$ac_cv_prog_FIND
3090 if test -n "$FIND"; then
3091   { echo "$as_me:$LINENO: result: $FIND" >&5
3092 echo "${ECHO_T}$FIND" >&6; }
3093 else
3094   { echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6; }
3096 fi
3097
3098
3099
3100 ac_ext=c
3101 ac_cpp='$CPP $CPPFLAGS'
3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3105 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3106 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3107 # On Suns, sometimes $CPP names a directory.
3108 if test -n "$CPP" && test -d "$CPP"; then
3109   CPP=
3110 fi
3111 if test -z "$CPP"; then
3112   if test "${ac_cv_prog_CPP+set}" = set; then
3113   echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115       # Double quotes because CPP needs to be expanded
3116     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3117     do
3118       ac_preproc_ok=false
3119 for ac_c_preproc_warn_flag in '' yes
3120 do
3121   # Use a header file that comes with gcc, so configuring glibc
3122   # with a fresh cross-compiler works.
3123   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3124   # <limits.h> exists even on freestanding compilers.
3125   # On the NeXT, cc -E runs the code through the compiler's parser,
3126   # not just through cpp. "Syntax error" is here to catch this case.
3127   cat >conftest.$ac_ext <<_ACEOF
3128 /* confdefs.h.  */
3129 _ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h.  */
3133 #ifdef __STDC__
3134 # include <limits.h>
3135 #else
3136 # include <assert.h>
3137 #endif
3138                      Syntax error
3139 _ACEOF
3140 if { (ac_try="$ac_cpp conftest.$ac_ext"
3141 case "(($ac_try" in
3142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3143   *) ac_try_echo=$ac_try;;
3144 esac
3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3146   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3147   ac_status=$?
3148   grep -v '^ *+' conftest.er1 >conftest.err
3149   rm -f conftest.er1
3150   cat conftest.err >&5
3151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152   (exit $ac_status); } >/dev/null && {
3153          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3154          test ! -s conftest.err
3155        }; then
3156   :
3157 else
3158   echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3160
3161   # Broken: fails on valid input.
3162 continue
3163 fi
3164
3165 rm -f conftest.err conftest.$ac_ext
3166
3167   # OK, works on sane cases.  Now check whether nonexistent headers
3168   # can be detected and how.
3169   cat >conftest.$ac_ext <<_ACEOF
3170 /* confdefs.h.  */
3171 _ACEOF
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h.  */
3175 #include <ac_nonexistent.h>
3176 _ACEOF
3177 if { (ac_try="$ac_cpp conftest.$ac_ext"
3178 case "(($ac_try" in
3179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180   *) ac_try_echo=$ac_try;;
3181 esac
3182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3184   ac_status=$?
3185   grep -v '^ *+' conftest.er1 >conftest.err
3186   rm -f conftest.er1
3187   cat conftest.err >&5
3188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189   (exit $ac_status); } >/dev/null && {
3190          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3191          test ! -s conftest.err
3192        }; then
3193   # Broken: success on invalid input.
3194 continue
3195 else
3196   echo "$as_me: failed program was:" >&5
3197 sed 's/^/| /' conftest.$ac_ext >&5
3198
3199   # Passes both tests.
3200 ac_preproc_ok=:
3201 break
3202 fi
3203
3204 rm -f conftest.err conftest.$ac_ext
3205
3206 done
3207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3208 rm -f conftest.err conftest.$ac_ext
3209 if $ac_preproc_ok; then
3210   break
3211 fi
3212
3213     done
3214     ac_cv_prog_CPP=$CPP
3215
3216 fi
3217   CPP=$ac_cv_prog_CPP
3218 else
3219   ac_cv_prog_CPP=$CPP
3220 fi
3221 { echo "$as_me:$LINENO: result: $CPP" >&5
3222 echo "${ECHO_T}$CPP" >&6; }
3223 ac_preproc_ok=false
3224 for ac_c_preproc_warn_flag in '' yes
3225 do
3226   # Use a header file that comes with gcc, so configuring glibc
3227   # with a fresh cross-compiler works.
3228   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3229   # <limits.h> exists even on freestanding compilers.
3230   # On the NeXT, cc -E runs the code through the compiler's parser,
3231   # not just through cpp. "Syntax error" is here to catch this case.
3232   cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h.  */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h.  */
3238 #ifdef __STDC__
3239 # include <limits.h>
3240 #else
3241 # include <assert.h>
3242 #endif
3243                      Syntax error
3244 _ACEOF
3245 if { (ac_try="$ac_cpp conftest.$ac_ext"
3246 case "(($ac_try" in
3247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248   *) ac_try_echo=$ac_try;;
3249 esac
3250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3251   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3252   ac_status=$?
3253   grep -v '^ *+' conftest.er1 >conftest.err
3254   rm -f conftest.er1
3255   cat conftest.err >&5
3256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257   (exit $ac_status); } >/dev/null && {
3258          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3259          test ! -s conftest.err
3260        }; then
3261   :
3262 else
3263   echo "$as_me: failed program was:" >&5
3264 sed 's/^/| /' conftest.$ac_ext >&5
3265
3266   # Broken: fails on valid input.
3267 continue
3268 fi
3269
3270 rm -f conftest.err conftest.$ac_ext
3271
3272   # OK, works on sane cases.  Now check whether nonexistent headers
3273   # can be detected and how.
3274   cat >conftest.$ac_ext <<_ACEOF
3275 /* confdefs.h.  */
3276 _ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h.  */
3280 #include <ac_nonexistent.h>
3281 _ACEOF
3282 if { (ac_try="$ac_cpp conftest.$ac_ext"
3283 case "(($ac_try" in
3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285   *) ac_try_echo=$ac_try;;
3286 esac
3287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3288   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3289   ac_status=$?
3290   grep -v '^ *+' conftest.er1 >conftest.err
3291   rm -f conftest.er1
3292   cat conftest.err >&5
3293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294   (exit $ac_status); } >/dev/null && {
3295          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3296          test ! -s conftest.err
3297        }; then
3298   # Broken: success on invalid input.
3299 continue
3300 else
3301   echo "$as_me: failed program was:" >&5
3302 sed 's/^/| /' conftest.$ac_ext >&5
3303
3304   # Passes both tests.
3305 ac_preproc_ok=:
3306 break
3307 fi
3308
3309 rm -f conftest.err conftest.$ac_ext
3310
3311 done
3312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3313 rm -f conftest.err conftest.$ac_ext
3314 if $ac_preproc_ok; then
3315   :
3316 else
3317   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3318 See \`config.log' for more details." >&5
3319 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3320 See \`config.log' for more details." >&2;}
3321    { (exit 1); exit 1; }; }
3322 fi
3323
3324 ac_ext=c
3325 ac_cpp='$CPP $CPPFLAGS'
3326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3329
3330
3331 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3332 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3333 if test "${ac_cv_path_GREP+set}" = set; then
3334   echo $ECHO_N "(cached) $ECHO_C" >&6
3335 else
3336   # Extract the first word of "grep ggrep" to use in msg output
3337 if test -z "$GREP"; then
3338 set dummy grep ggrep; ac_prog_name=$2
3339 if test "${ac_cv_path_GREP+set}" = set; then
3340   echo $ECHO_N "(cached) $ECHO_C" >&6
3341 else
3342   ac_path_GREP_found=false
3343 # Loop through the user's path and test for each of PROGNAME-LIST
3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3346 do
3347   IFS=$as_save_IFS
3348   test -z "$as_dir" && as_dir=.
3349   for ac_prog in grep ggrep; do
3350   for ac_exec_ext in '' $ac_executable_extensions; do
3351     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3352     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3353     # Check for GNU ac_path_GREP and select it if it is found.
3354   # Check for GNU $ac_path_GREP
3355 case `"$ac_path_GREP" --version 2>&1` in
3356 *GNU*)
3357   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3358 *)
3359   ac_count=0
3360   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3361   while :
3362   do
3363     cat "conftest.in" "conftest.in" >"conftest.tmp"
3364     mv "conftest.tmp" "conftest.in"
3365     cp "conftest.in" "conftest.nl"
3366     echo 'GREP' >> "conftest.nl"
3367     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3368     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3369     ac_count=`expr $ac_count + 1`
3370     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3371       # Best one so far, save it but keep looking for a better one
3372       ac_cv_path_GREP="$ac_path_GREP"
3373       ac_path_GREP_max=$ac_count
3374     fi
3375     # 10*(2^10) chars as input seems more than enough
3376     test $ac_count -gt 10 && break
3377   done
3378   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3379 esac
3380
3381
3382     $ac_path_GREP_found && break 3
3383   done
3384 done
3385
3386 done
3387 IFS=$as_save_IFS
3388
3389
3390 fi
3391
3392 GREP="$ac_cv_path_GREP"
3393 if test -z "$GREP"; then
3394   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3395 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3396    { (exit 1); exit 1; }; }
3397 fi
3398
3399 else
3400   ac_cv_path_GREP=$GREP
3401 fi
3402
3403
3404 fi
3405 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3406 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3407  GREP="$ac_cv_path_GREP"
3408
3409
3410 { echo "$as_me:$LINENO: checking for egrep" >&5
3411 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3412 if test "${ac_cv_path_EGREP+set}" = set; then
3413   echo $ECHO_N "(cached) $ECHO_C" >&6
3414 else
3415   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3416    then ac_cv_path_EGREP="$GREP -E"
3417    else
3418      # Extract the first word of "egrep" to use in msg output
3419 if test -z "$EGREP"; then
3420 set dummy egrep; ac_prog_name=$2
3421 if test "${ac_cv_path_EGREP+set}" = set; then
3422   echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424   ac_path_EGREP_found=false
3425 # Loop through the user's path and test for each of PROGNAME-LIST
3426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3427 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3428 do
3429   IFS=$as_save_IFS
3430   test -z "$as_dir" && as_dir=.
3431   for ac_prog in egrep; do
3432   for ac_exec_ext in '' $ac_executable_extensions; do
3433     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3434     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3435     # Check for GNU ac_path_EGREP and select it if it is found.
3436   # Check for GNU $ac_path_EGREP
3437 case `"$ac_path_EGREP" --version 2>&1` in
3438 *GNU*)
3439   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3440 *)
3441   ac_count=0
3442   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3443   while :
3444   do
3445     cat "conftest.in" "conftest.in" >"conftest.tmp"
3446     mv "conftest.tmp" "conftest.in"
3447     cp "conftest.in" "conftest.nl"
3448     echo 'EGREP' >> "conftest.nl"
3449     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3450     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3451     ac_count=`expr $ac_count + 1`
3452     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3453       # Best one so far, save it but keep looking for a better one
3454       ac_cv_path_EGREP="$ac_path_EGREP"
3455       ac_path_EGREP_max=$ac_count
3456     fi
3457     # 10*(2^10) chars as input seems more than enough
3458     test $ac_count -gt 10 && break
3459   done
3460   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3461 esac
3462
3463
3464     $ac_path_EGREP_found && break 3
3465   done
3466 done
3467
3468 done
3469 IFS=$as_save_IFS
3470
3471
3472 fi
3473
3474 EGREP="$ac_cv_path_EGREP"
3475 if test -z "$EGREP"; then
3476   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3477 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3478    { (exit 1); exit 1; }; }
3479 fi
3480
3481 else
3482   ac_cv_path_EGREP=$EGREP
3483 fi
3484
3485
3486    fi
3487 fi
3488 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3489 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3490  EGREP="$ac_cv_path_EGREP"
3491
3492
3493 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3494 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3495 if test "${ac_cv_header_stdc+set}" = set; then
3496   echo $ECHO_N "(cached) $ECHO_C" >&6
3497 else
3498   cat >conftest.$ac_ext <<_ACEOF
3499 /* confdefs.h.  */
3500 _ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h.  */
3504 #include <stdlib.h>
3505 #include <stdarg.h>
3506 #include <string.h>
3507 #include <float.h>
3508
3509 int
3510 main ()
3511 {
3512
3513   ;
3514   return 0;
3515 }
3516 _ACEOF
3517 rm -f conftest.$ac_objext
3518 if { (ac_try="$ac_compile"
3519 case "(($ac_try" in
3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521   *) ac_try_echo=$ac_try;;
3522 esac
3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3524   (eval "$ac_compile") 2>conftest.er1
3525   ac_status=$?
3526   grep -v '^ *+' conftest.er1 >conftest.err
3527   rm -f conftest.er1
3528   cat conftest.err >&5
3529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530   (exit $ac_status); } && {
3531          test -z "$ac_c_werror_flag" ||
3532          test ! -s conftest.err
3533        } && test -s conftest.$ac_objext; then
3534   ac_cv_header_stdc=yes
3535 else
3536   echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3539         ac_cv_header_stdc=no
3540 fi
3541
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543
3544 if test $ac_cv_header_stdc = yes; then
3545   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3546   cat >conftest.$ac_ext <<_ACEOF
3547 /* confdefs.h.  */
3548 _ACEOF
3549 cat confdefs.h >>conftest.$ac_ext
3550 cat >>conftest.$ac_ext <<_ACEOF
3551 /* end confdefs.h.  */
3552 #include <string.h>
3553
3554 _ACEOF
3555 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3556   $EGREP "memchr" >/dev/null 2>&1; then
3557   :
3558 else
3559   ac_cv_header_stdc=no
3560 fi
3561 rm -f conftest*
3562
3563 fi
3564
3565 if test $ac_cv_header_stdc = yes; then
3566   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3567   cat >conftest.$ac_ext <<_ACEOF
3568 /* confdefs.h.  */
3569 _ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h.  */
3573 #include <stdlib.h>
3574
3575 _ACEOF
3576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3577   $EGREP "free" >/dev/null 2>&1; then
3578   :
3579 else
3580   ac_cv_header_stdc=no
3581 fi
3582 rm -f conftest*
3583
3584 fi
3585
3586 if test $ac_cv_header_stdc = yes; then
3587   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3588   if test "$cross_compiling" = yes; then
3589   :
3590 else
3591   cat >conftest.$ac_ext <<_ACEOF
3592 /* confdefs.h.  */
3593 _ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h.  */
3597 #include <ctype.h>
3598 #include <stdlib.h>
3599 #if ((' ' & 0x0FF) == 0x020)
3600 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3601 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3602 #else
3603 # define ISLOWER(c) \
3604                    (('a' <= (c) && (c) <= 'i') \
3605                      || ('j' <= (c) && (c) <= 'r') \
3606                      || ('s' <= (c) && (c) <= 'z'))
3607 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3608 #endif
3609
3610 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3611 int
3612 main ()
3613 {
3614   int i;
3615   for (i = 0; i < 256; i++)
3616     if (XOR (islower (i), ISLOWER (i))
3617         || toupper (i) != TOUPPER (i))
3618       return 2;
3619   return 0;
3620 }
3621 _ACEOF
3622 rm -f conftest$ac_exeext
3623 if { (ac_try="$ac_link"
3624 case "(($ac_try" in
3625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626   *) ac_try_echo=$ac_try;;
3627 esac
3628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3629   (eval "$ac_link") 2>&5
3630   ac_status=$?
3631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3633   { (case "(($ac_try" in
3634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635   *) ac_try_echo=$ac_try;;
3636 esac
3637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638   (eval "$ac_try") 2>&5
3639   ac_status=$?
3640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641   (exit $ac_status); }; }; then
3642   :
3643 else
3644   echo "$as_me: program exited with status $ac_status" >&5
3645 echo "$as_me: failed program was:" >&5
3646 sed 's/^/| /' conftest.$ac_ext >&5
3647
3648 ( exit $ac_status )
3649 ac_cv_header_stdc=no
3650 fi
3651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3652 fi
3653
3654
3655 fi
3656 fi
3657 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3658 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3659 if test $ac_cv_header_stdc = yes; then
3660
3661 cat >>confdefs.h <<\_ACEOF
3662 #define STDC_HEADERS 1
3663 _ACEOF
3664
3665 fi
3666
3667 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3678                   inttypes.h stdint.h unistd.h
3679 do
3680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3684   echo $ECHO_N "(cached) $ECHO_C" >&6
3685 else
3686   cat >conftest.$ac_ext <<_ACEOF
3687 /* confdefs.h.  */
3688 _ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h.  */
3692 $ac_includes_default
3693
3694 #include <$ac_header>
3695 _ACEOF
3696 rm -f conftest.$ac_objext
3697 if { (ac_try="$ac_compile"
3698 case "(($ac_try" in
3699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700   *) ac_try_echo=$ac_try;;
3701 esac
3702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703   (eval "$ac_compile") 2>conftest.er1
3704   ac_status=$?
3705   grep -v '^ *+' conftest.er1 >conftest.err
3706   rm -f conftest.er1
3707   cat conftest.err >&5
3708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709   (exit $ac_status); } && {
3710          test -z "$ac_c_werror_flag" ||
3711          test ! -s conftest.err
3712        } && test -s conftest.$ac_objext; then
3713   eval "$as_ac_Header=yes"
3714 else
3715   echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3717
3718         eval "$as_ac_Header=no"
3719 fi
3720
3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722 fi
3723 ac_res=`eval echo '${'$as_ac_Header'}'`
3724                { echo "$as_me:$LINENO: result: $ac_res" >&5
3725 echo "${ECHO_T}$ac_res" >&6; }
3726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727   cat >>confdefs.h <<_ACEOF
3728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3729 _ACEOF
3730
3731 fi
3732
3733 done
3734
3735
3736 if test "${ac_cv_header_zlib_h+set}" = set; then
3737   { echo "$as_me:$LINENO: checking for zlib.h" >&5
3738 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3739 if test "${ac_cv_header_zlib_h+set}" = set; then
3740   echo $ECHO_N "(cached) $ECHO_C" >&6
3741 fi
3742 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3743 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3744 else
3745   # Is the header compilable?
3746 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
3747 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
3748 cat >conftest.$ac_ext <<_ACEOF
3749 /* confdefs.h.  */
3750 _ACEOF
3751 cat confdefs.h >>conftest.$ac_ext
3752 cat >>conftest.$ac_ext <<_ACEOF
3753 /* end confdefs.h.  */
3754 $ac_includes_default
3755 #include <zlib.h>
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (ac_try="$ac_compile"
3759 case "(($ac_try" in
3760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3761   *) ac_try_echo=$ac_try;;
3762 esac
3763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3764   (eval "$ac_compile") 2>conftest.er1
3765   ac_status=$?
3766   grep -v '^ *+' conftest.er1 >conftest.err
3767   rm -f conftest.er1
3768   cat conftest.err >&5
3769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770   (exit $ac_status); } && {
3771          test -z "$ac_c_werror_flag" ||
3772          test ! -s conftest.err
3773        } && test -s conftest.$ac_objext; then
3774   ac_header_compiler=yes
3775 else
3776   echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3778
3779         ac_header_compiler=no
3780 fi
3781
3782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3783 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3784 echo "${ECHO_T}$ac_header_compiler" >&6; }
3785
3786 # Is the header present?
3787 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
3788 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
3789 cat >conftest.$ac_ext <<_ACEOF
3790 /* confdefs.h.  */
3791 _ACEOF
3792 cat confdefs.h >>conftest.$ac_ext
3793 cat >>conftest.$ac_ext <<_ACEOF
3794 /* end confdefs.h.  */
3795 #include <zlib.h>
3796 _ACEOF
3797 if { (ac_try="$ac_cpp conftest.$ac_ext"
3798 case "(($ac_try" in
3799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800   *) ac_try_echo=$ac_try;;
3801 esac
3802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3804   ac_status=$?
3805   grep -v '^ *+' conftest.er1 >conftest.err
3806   rm -f conftest.er1
3807   cat conftest.err >&5
3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809   (exit $ac_status); } >/dev/null && {
3810          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3811          test ! -s conftest.err
3812        }; then
3813   ac_header_preproc=yes
3814 else
3815   echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3817
3818   ac_header_preproc=no
3819 fi
3820
3821 rm -f conftest.err conftest.$ac_ext
3822 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3823 echo "${ECHO_T}$ac_header_preproc" >&6; }
3824
3825 # So?  What about this header?
3826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3827   yes:no: )
3828     { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3829 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3830     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
3831 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
3832     ac_header_preproc=yes
3833     ;;
3834   no:yes:* )
3835     { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
3836 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
3837     { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
3838 echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
3839     { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
3840 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
3841     { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
3842 echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3843     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
3845     { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
3846 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
3847
3848     ;;
3849 esac
3850 { echo "$as_me:$LINENO: checking for zlib.h" >&5
3851 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
3852 if test "${ac_cv_header_zlib_h+set}" = set; then
3853   echo $ECHO_N "(cached) $ECHO_C" >&6
3854 else
3855   ac_cv_header_zlib_h=$ac_header_preproc
3856 fi
3857 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
3858 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
3859
3860 fi
3861 if test $ac_cv_header_zlib_h = yes; then
3862   { echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
3863 echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6; }
3864 if test "${ac_cv_lib_z_inflateInit_+set}" = set; then
3865   echo $ECHO_N "(cached) $ECHO_C" >&6
3866 else
3867   ac_check_lib_save_LIBS=$LIBS
3868 LIBS="-lz  $LIBS"
3869
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h.  */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h.  */
3876
3877 /* Override any GCC internal prototype to avoid an error.
3878    Use char because int might match the return type of a GCC
3879    builtin and then its argument prototype would still apply.  */
3880 #ifdef __cplusplus
3881 extern "C"
3882 #endif
3883 char inflateInit_ ();
3884 int
3885 main ()
3886 {
3887 return inflateInit_ ();
3888   ;
3889   return 0;
3890 }
3891 _ACEOF
3892 rm -f conftest.$ac_objext conftest$ac_exeext
3893 if { (ac_try="$ac_link"
3894 case "(($ac_try" in
3895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3896   *) ac_try_echo=$ac_try;;
3897 esac
3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899   (eval "$ac_link") 2>conftest.er1
3900   ac_status=$?
3901   grep -v '^ *+' conftest.er1 >conftest.err
3902   rm -f conftest.er1
3903   cat conftest.err >&5
3904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905   (exit $ac_status); } && {
3906          test -z "$ac_c_werror_flag" ||
3907          test ! -s conftest.err
3908        } && test -s conftest$ac_exeext &&
3909        $as_test_x conftest$ac_exeext; then
3910   ac_cv_lib_z_inflateInit_=yes
3911 else
3912   echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3914
3915         ac_cv_lib_z_inflateInit_=no
3916 fi
3917
3918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3919       conftest$ac_exeext conftest.$ac_ext
3920 LIBS=$ac_check_lib_save_LIBS
3921 fi
3922 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
3923 echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6; }
3924 if test $ac_cv_lib_z_inflateInit_ = yes; then
3925   cat >>confdefs.h <<\_ACEOF
3926 #define HAVE_ZLIB_H 1
3927 _ACEOF
3928  LIBS="$LIBS -lz"
3929 fi
3930
3931 fi
3932
3933
3934
3935 if test "with_default" != no ; then
3936         if test "$CC" = no; then
3937                 { { echo "$as_me:$LINENO: error: cc not found" >&5
3938 echo "$as_me: error: cc not found" >&2;}
3939    { (exit 1); exit 1; }; }
3940         fi
3941         eval "${with_default}_CC='$CC'"
3942         ac_ext=c
3943 ac_cpp='$CPP $CPPFLAGS'
3944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3947 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3948 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3949 # On Suns, sometimes $CPP names a directory.
3950 if test -n "$CPP" && test -d "$CPP"; then
3951   CPP=
3952 fi
3953 if test -z "$CPP"; then
3954   if test "${ac_cv_prog_CPP+set}" = set; then
3955   echo $ECHO_N "(cached) $ECHO_C" >&6
3956 else
3957       # Double quotes because CPP needs to be expanded
3958     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3959     do
3960       ac_preproc_ok=false
3961 for ac_c_preproc_warn_flag in '' yes
3962 do
3963   # Use a header file that comes with gcc, so configuring glibc
3964   # with a fresh cross-compiler works.
3965   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966   # <limits.h> exists even on freestanding compilers.
3967   # On the NeXT, cc -E runs the code through the compiler's parser,
3968   # not just through cpp. "Syntax error" is here to catch this case.
3969   cat >conftest.$ac_ext <<_ACEOF
3970 /* confdefs.h.  */
3971 _ACEOF
3972 cat confdefs.h >>conftest.$ac_ext
3973 cat >>conftest.$ac_ext <<_ACEOF
3974 /* end confdefs.h.  */
3975 #ifdef __STDC__
3976 # include <limits.h>
3977 #else
3978 # include <assert.h>
3979 #endif
3980                      Syntax error
3981 _ACEOF
3982 if { (ac_try="$ac_cpp conftest.$ac_ext"
3983 case "(($ac_try" in
3984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985   *) ac_try_echo=$ac_try;;
3986 esac
3987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3989   ac_status=$?
3990   grep -v '^ *+' conftest.er1 >conftest.err
3991   rm -f conftest.er1
3992   cat conftest.err >&5
3993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994   (exit $ac_status); } >/dev/null && {
3995          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3996          test ! -s conftest.err
3997        }; then
3998   :
3999 else
4000   echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4002
4003   # Broken: fails on valid input.
4004 continue
4005 fi
4006
4007 rm -f conftest.err conftest.$ac_ext
4008
4009   # OK, works on sane cases.  Now check whether nonexistent headers
4010   # can be detected and how.
4011   cat >conftest.$ac_ext <<_ACEOF
4012 /* confdefs.h.  */
4013 _ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h.  */
4017 #include <ac_nonexistent.h>
4018 _ACEOF
4019 if { (ac_try="$ac_cpp conftest.$ac_ext"
4020 case "(($ac_try" in
4021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4022   *) ac_try_echo=$ac_try;;
4023 esac
4024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4025   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4026   ac_status=$?
4027   grep -v '^ *+' conftest.er1 >conftest.err
4028   rm -f conftest.er1
4029   cat conftest.err >&5
4030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031   (exit $ac_status); } >/dev/null && {
4032          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4033          test ! -s conftest.err
4034        }; then
4035   # Broken: success on invalid input.
4036 continue
4037 else
4038   echo "$as_me: failed program was:" >&5
4039 sed 's/^/| /' conftest.$ac_ext >&5
4040
4041   # Passes both tests.
4042 ac_preproc_ok=:
4043 break
4044 fi
4045
4046 rm -f conftest.err conftest.$ac_ext
4047
4048 done
4049 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4050 rm -f conftest.err conftest.$ac_ext
4051 if $ac_preproc_ok; then
4052   break
4053 fi
4054
4055     done
4056     ac_cv_prog_CPP=$CPP
4057
4058 fi
4059   CPP=$ac_cv_prog_CPP
4060 else
4061   ac_cv_prog_CPP=$CPP
4062 fi
4063 { echo "$as_me:$LINENO: result: $CPP" >&5
4064 echo "${ECHO_T}$CPP" >&6; }
4065 ac_preproc_ok=false
4066 for ac_c_preproc_warn_flag in '' yes
4067 do
4068   # Use a header file that comes with gcc, so configuring glibc
4069   # with a fresh cross-compiler works.
4070   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4071   # <limits.h> exists even on freestanding compilers.
4072   # On the NeXT, cc -E runs the code through the compiler's parser,
4073   # not just through cpp. "Syntax error" is here to catch this case.
4074   cat >conftest.$ac_ext <<_ACEOF
4075 /* confdefs.h.  */
4076 _ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h.  */
4080 #ifdef __STDC__
4081 # include <limits.h>
4082 #else
4083 # include <assert.h>
4084 #endif
4085                      Syntax error
4086 _ACEOF
4087 if { (ac_try="$ac_cpp conftest.$ac_ext"
4088 case "(($ac_try" in
4089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4090   *) ac_try_echo=$ac_try;;
4091 esac
4092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4093   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4094   ac_status=$?
4095   grep -v '^ *+' conftest.er1 >conftest.err
4096   rm -f conftest.er1
4097   cat conftest.err >&5
4098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099   (exit $ac_status); } >/dev/null && {
4100          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4101          test ! -s conftest.err
4102        }; then
4103   :
4104 else
4105   echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4107
4108   # Broken: fails on valid input.
4109 continue
4110 fi
4111
4112 rm -f conftest.err conftest.$ac_ext
4113
4114   # OK, works on sane cases.  Now check whether nonexistent headers
4115   # can be detected and how.
4116   cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h.  */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h.  */
4122 #include <ac_nonexistent.h>
4123 _ACEOF
4124 if { (ac_try="$ac_cpp conftest.$ac_ext"
4125 case "(($ac_try" in
4126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127   *) ac_try_echo=$ac_try;;
4128 esac
4129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4130   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4131   ac_status=$?
4132   grep -v '^ *+' conftest.er1 >conftest.err
4133   rm -f conftest.er1
4134   cat conftest.err >&5
4135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136   (exit $ac_status); } >/dev/null && {
4137          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4138          test ! -s conftest.err
4139        }; then
4140   # Broken: success on invalid input.
4141 continue
4142 else
4143   echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4145
4146   # Passes both tests.
4147 ac_preproc_ok=:
4148 break
4149 fi
4150
4151 rm -f conftest.err conftest.$ac_ext
4152
4153 done
4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4155 rm -f conftest.err conftest.$ac_ext
4156 if $ac_preproc_ok; then
4157   :
4158 else
4159   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4160 See \`config.log' for more details." >&5
4161 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4162 See \`config.log' for more details." >&2;}
4163    { (exit 1); exit 1; }; }
4164 fi
4165
4166 ac_ext=c
4167 ac_cpp='$CPP $CPPFLAGS'
4168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4171
4172         if test "$CPP" = no; then
4173                 { { echo "$as_me:$LINENO: error: cpp not found" >&5
4174 echo "$as_me: error: cpp not found" >&2;}
4175    { (exit 1); exit 1; }; }
4176         fi
4177         eval "${with_default}_CPP='$CPP'"
4178         if test -n "$ac_tool_prefix"; then
4179   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4180 set dummy ${ac_tool_prefix}ld; ac_word=$2
4181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4183 if test "${ac_cv_prog_LD+set}" = set; then
4184   echo $ECHO_N "(cached) $ECHO_C" >&6
4185 else
4186   if test -n "$LD"; then
4187   ac_cv_prog_LD="$LD" # Let the user override the test.
4188 else
4189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4190 for as_dir in $PATH
4191 do
4192   IFS=$as_save_IFS
4193   test -z "$as_dir" && as_dir=.
4194   for ac_exec_ext in '' $ac_executable_extensions; do
4195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196     ac_cv_prog_LD="${ac_tool_prefix}ld"
4197     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4198     break 2
4199   fi
4200 done
4201 done
4202 IFS=$as_save_IFS
4203
4204 fi
4205 fi
4206 LD=$ac_cv_prog_LD
4207 if test -n "$LD"; then
4208   { echo "$as_me:$LINENO: result: $LD" >&5
4209 echo "${ECHO_T}$LD" >&6; }
4210 else
4211   { echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6; }
4213 fi
4214
4215
4216 fi
4217 if test -z "$ac_cv_prog_LD"; then
4218   ac_ct_LD=$LD
4219   # Extract the first word of "ld", so it can be a program name with args.
4220 set dummy ld; ac_word=$2
4221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4223 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4224   echo $ECHO_N "(cached) $ECHO_C" >&6
4225 else
4226   if test -n "$ac_ct_LD"; then
4227   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4228 else
4229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 for as_dir in $PATH
4231 do
4232   IFS=$as_save_IFS
4233   test -z "$as_dir" && as_dir=.
4234   for ac_exec_ext in '' $ac_executable_extensions; do
4235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4236     ac_cv_prog_ac_ct_LD="ld"
4237     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238     break 2
4239   fi
4240 done
4241 done
4242 IFS=$as_save_IFS
4243
4244 fi
4245 fi
4246 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4247 if test -n "$ac_ct_LD"; then
4248   { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4249 echo "${ECHO_T}$ac_ct_LD" >&6; }
4250 else
4251   { echo "$as_me:$LINENO: result: no" >&5
4252 echo "${ECHO_T}no" >&6; }
4253 fi
4254
4255   if test "x$ac_ct_LD" = x; then
4256     LD="no"
4257   else
4258     case $cross_compiling:$ac_tool_warned in
4259 yes:)
4260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4261 whose name does not start with the host triplet.  If you think this
4262 configuration is useful to you, please write to autoconf@gnu.org." >&5
4263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4264 whose name does not start with the host triplet.  If you think this
4265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4266 ac_tool_warned=yes ;;
4267 esac
4268     LD=$ac_ct_LD
4269   fi
4270 else
4271   LD="$ac_cv_prog_LD"
4272 fi
4273
4274         if test "$LD" = no; then
4275                 { { echo "$as_me:$LINENO: error: ld not found" >&5
4276 echo "$as_me: error: ld not found" >&2;}
4277    { (exit 1); exit 1; }; }
4278         fi
4279         eval "${with_default}_LD='$LD'"
4280         if test -n "$ac_tool_prefix"; then
4281   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4282 set dummy ${ac_tool_prefix}as; ac_word=$2
4283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4285 if test "${ac_cv_prog_AS+set}" = set; then
4286   echo $ECHO_N "(cached) $ECHO_C" >&6
4287 else
4288   if test -n "$AS"; then
4289   ac_cv_prog_AS="$AS" # Let the user override the test.
4290 else
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292 for as_dir in $PATH
4293 do
4294   IFS=$as_save_IFS
4295   test -z "$as_dir" && as_dir=.
4296   for ac_exec_ext in '' $ac_executable_extensions; do
4297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298     ac_cv_prog_AS="${ac_tool_prefix}as"
4299     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300     break 2
4301   fi
4302 done
4303 done
4304 IFS=$as_save_IFS
4305
4306 fi
4307 fi
4308 AS=$ac_cv_prog_AS
4309 if test -n "$AS"; then
4310   { echo "$as_me:$LINENO: result: $AS" >&5
4311 echo "${ECHO_T}$AS" >&6; }
4312 else
4313   { echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6; }
4315 fi
4316
4317
4318 fi
4319 if test -z "$ac_cv_prog_AS"; then
4320   ac_ct_AS=$AS
4321   # Extract the first word of "as", so it can be a program name with args.
4322 set dummy as; ac_word=$2
4323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4325 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4326   echo $ECHO_N "(cached) $ECHO_C" >&6
4327 else
4328   if test -n "$ac_ct_AS"; then
4329   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4330 else
4331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4332 for as_dir in $PATH
4333 do
4334   IFS=$as_save_IFS
4335   test -z "$as_dir" && as_dir=.
4336   for ac_exec_ext in '' $ac_executable_extensions; do
4337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4338     ac_cv_prog_ac_ct_AS="as"
4339     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4340     break 2
4341   fi
4342 done
4343 done
4344 IFS=$as_save_IFS
4345
4346 fi
4347 fi
4348 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4349 if test -n "$ac_ct_AS"; then
4350   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4351 echo "${ECHO_T}$ac_ct_AS" >&6; }
4352 else
4353   { echo "$as_me:$LINENO: result: no" >&5
4354 echo "${ECHO_T}no" >&6; }
4355 fi
4356
4357   if test "x$ac_ct_AS" = x; then
4358     AS="no"
4359   else
4360     case $cross_compiling:$ac_tool_warned in
4361 yes:)
4362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4363 whose name does not start with the host triplet.  If you think this
4364 configuration is useful to you, please write to autoconf@gnu.org." >&5
4365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4366 whose name does not start with the host triplet.  If you think this
4367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4368 ac_tool_warned=yes ;;
4369 esac
4370     AS=$ac_ct_AS
4371   fi
4372 else
4373   AS="$ac_cv_prog_AS"
4374 fi
4375
4376         if test "$AS" = no; then
4377                 { { echo "$as_me:$LINENO: error: as not found" >&5
4378 echo "$as_me: error: as not found" >&2;}
4379    { (exit 1); exit 1; }; }
4380         fi
4381         eval "${with_default}_AS='$AS'"
4382         if test -n "$ac_tool_prefix"; then
4383   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
4384 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
4385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4387 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
4388   echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390   if test -n "$OBJCOPY"; then
4391   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
4392 else
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4394 for as_dir in $PATH
4395 do
4396   IFS=$as_save_IFS
4397   test -z "$as_dir" && as_dir=.
4398   for ac_exec_ext in '' $ac_executable_extensions; do
4399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4400     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
4401     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402     break 2
4403   fi
4404 done
4405 done
4406 IFS=$as_save_IFS
4407
4408 fi
4409 fi
4410 OBJCOPY=$ac_cv_prog_OBJCOPY
4411 if test -n "$OBJCOPY"; then
4412   { echo "$as_me:$LINENO: result: $OBJCOPY" >&5
4413 echo "${ECHO_T}$OBJCOPY" >&6; }
4414 else
4415   { echo "$as_me:$LINENO: result: no" >&5
4416 echo "${ECHO_T}no" >&6; }
4417 fi
4418
4419
4420 fi
4421 if test -z "$ac_cv_prog_OBJCOPY"; then
4422   ac_ct_OBJCOPY=$OBJCOPY
4423   # Extract the first word of "objcopy", so it can be a program name with args.
4424 set dummy objcopy; ac_word=$2
4425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4427 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
4428   echo $ECHO_N "(cached) $ECHO_C" >&6
4429 else
4430   if test -n "$ac_ct_OBJCOPY"; then
4431   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4435 do
4436   IFS=$as_save_IFS
4437   test -z "$as_dir" && as_dir=.
4438   for ac_exec_ext in '' $ac_executable_extensions; do
4439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
4441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4442     break 2
4443   fi
4444 done
4445 done
4446 IFS=$as_save_IFS
4447
4448 fi
4449 fi
4450 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
4451 if test -n "$ac_ct_OBJCOPY"; then
4452   { echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
4453 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6; }
4454 else
4455   { echo "$as_me:$LINENO: result: no" >&5
4456 echo "${ECHO_T}no" >&6; }
4457 fi
4458
4459   if test "x$ac_ct_OBJCOPY" = x; then
4460     OBJCOPY="no"
4461   else
4462     case $cross_compiling:$ac_tool_warned in
4463 yes:)
4464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4465 whose name does not start with the host triplet.  If you think this
4466 configuration is useful to you, please write to autoconf@gnu.org." >&5
4467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4468 whose name does not start with the host triplet.  If you think this
4469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4470 ac_tool_warned=yes ;;
4471 esac
4472     OBJCOPY=$ac_ct_OBJCOPY
4473   fi
4474 else
4475   OBJCOPY="$ac_cv_prog_OBJCOPY"
4476 fi
4477
4478         if test "$OBJCOPY" = no; then
4479                 { { echo "$as_me:$LINENO: error: objcopy not found" >&5
4480 echo "$as_me: error: objcopy not found" >&2;}
4481    { (exit 1); exit 1; }; }
4482         fi
4483         eval "${with_default}_OBJCOPY='$OBJCOPY'"
4484         if test "$with_default" = "X86_64" ; then
4485                 with_i386=yes
4486         fi
4487 fi
4488
4489 if test "$with_i386" != "no" ; then
4490         cc="gcc -m32"
4491         cpp=cpp
4492         ld=ld
4493         as="as -32"
4494         objcopy=objcopy
4495         if test "$with_i386" != "" -a "$with_i386" != "yes" ; then
4496                 cc="$with_i386-$cc"
4497                 cpp="$with_i386-$cpp"
4498                 ld="$with_i386-$ld"
4499                 as="$with_i386-$as"
4500                 objcopy="$with_i386-$objcopy"
4501         fi
4502         # Extract the first word of "$cc", so it can be a program name with args.
4503 set dummy $cc; ac_word=$2
4504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4506 if test "${ac_cv_prog_I386_CC+set}" = set; then
4507   echo $ECHO_N "(cached) $ECHO_C" >&6
4508 else
4509   if test -n "$I386_CC"; then
4510   ac_cv_prog_I386_CC="$I386_CC" # Let the user override the test.
4511 else
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 for as_dir in $PATH
4514 do
4515   IFS=$as_save_IFS
4516   test -z "$as_dir" && as_dir=.
4517   for ac_exec_ext in '' $ac_executable_extensions; do
4518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519     ac_cv_prog_I386_CC="$cc"
4520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4521     break 2
4522   fi
4523 done
4524 done
4525 IFS=$as_save_IFS
4526
4527   test -z "$ac_cv_prog_I386_CC" && ac_cv_prog_I386_CC=""""
4528 fi
4529 fi
4530 I386_CC=$ac_cv_prog_I386_CC
4531 if test -n "$I386_CC"; then
4532   { echo "$as_me:$LINENO: result: $I386_CC" >&5
4533 echo "${ECHO_T}$I386_CC" >&6; }
4534 else
4535   { echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; }
4537 fi
4538
4539
4540         if test "$I386_CC" = no; then
4541
4542                 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4543 echo "$as_me: error: $cc not found" >&2;}
4544    { (exit 1); exit 1; }; }
4545         fi
4546         # Extract the first word of "$cpp", so it can be a program name with args.
4547 set dummy $cpp; ac_word=$2
4548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4550 if test "${ac_cv_prog_I386_CPP+set}" = set; then
4551   echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553   if test -n "$I386_CPP"; then
4554   ac_cv_prog_I386_CPP="$I386_CPP" # Let the user override the test.
4555 else
4556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 for as_dir in $PATH
4558 do
4559   IFS=$as_save_IFS
4560   test -z "$as_dir" && as_dir=.
4561   for ac_exec_ext in '' $ac_executable_extensions; do
4562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563     ac_cv_prog_I386_CPP="$cpp"
4564     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565     break 2
4566   fi
4567 done
4568 done
4569 IFS=$as_save_IFS
4570
4571   test -z "$ac_cv_prog_I386_CPP" && ac_cv_prog_I386_CPP=""""
4572 fi
4573 fi
4574 I386_CPP=$ac_cv_prog_I386_CPP
4575 if test -n "$I386_CPP"; then
4576   { echo "$as_me:$LINENO: result: $I386_CPP" >&5
4577 echo "${ECHO_T}$I386_CPP" >&6; }
4578 else
4579   { echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6; }
4581 fi
4582
4583
4584         if test "$I386_CPP" = no; then
4585                 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4586 echo "$as_me: error: $cpp not found" >&2;}
4587    { (exit 1); exit 1; }; }
4588         fi
4589         # Extract the first word of "$ld", so it can be a program name with args.
4590 set dummy $ld; ac_word=$2
4591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4593 if test "${ac_cv_prog_I386_LD+set}" = set; then
4594   echo $ECHO_N "(cached) $ECHO_C" >&6
4595 else
4596   if test -n "$I386_LD"; then
4597   ac_cv_prog_I386_LD="$I386_LD" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4601 do
4602   IFS=$as_save_IFS
4603   test -z "$as_dir" && as_dir=.
4604   for ac_exec_ext in '' $ac_executable_extensions; do
4605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606     ac_cv_prog_I386_LD="$ld"
4607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608     break 2
4609   fi
4610 done
4611 done
4612 IFS=$as_save_IFS
4613
4614   test -z "$ac_cv_prog_I386_LD" && ac_cv_prog_I386_LD=""""
4615 fi
4616 fi
4617 I386_LD=$ac_cv_prog_I386_LD
4618 if test -n "$I386_LD"; then
4619   { echo "$as_me:$LINENO: result: $I386_LD" >&5
4620 echo "${ECHO_T}$I386_LD" >&6; }
4621 else
4622   { echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6; }
4624 fi
4625
4626
4627         if test "$I386_AS" = no; then
4628                 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4629 echo "$as_me: error: $ld not found" >&2;}
4630    { (exit 1); exit 1; }; }
4631         fi
4632         # Extract the first word of "$as", so it can be a program name with args.
4633 set dummy $as; ac_word=$2
4634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4636 if test "${ac_cv_prog_I386_AS+set}" = set; then
4637   echo $ECHO_N "(cached) $ECHO_C" >&6
4638 else
4639   if test -n "$I386_AS"; then
4640   ac_cv_prog_I386_AS="$I386_AS" # Let the user override the test.
4641 else
4642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 for as_dir in $PATH
4644 do
4645   IFS=$as_save_IFS
4646   test -z "$as_dir" && as_dir=.
4647   for ac_exec_ext in '' $ac_executable_extensions; do
4648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649     ac_cv_prog_I386_AS="$as"
4650     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4651     break 2
4652   fi
4653 done
4654 done
4655 IFS=$as_save_IFS
4656
4657   test -z "$ac_cv_prog_I386_AS" && ac_cv_prog_I386_AS=""""
4658 fi
4659 fi
4660 I386_AS=$ac_cv_prog_I386_AS
4661 if test -n "$I386_AS"; then
4662   { echo "$as_me:$LINENO: result: $I386_AS" >&5
4663 echo "${ECHO_T}$I386_AS" >&6; }
4664 else
4665   { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4667 fi
4668
4669
4670         if test "$I386_AS" = no; then
4671                 { { echo "$as_me:$LINENO: error: $as not found" >&5
4672 echo "$as_me: error: $as not found" >&2;}
4673    { (exit 1); exit 1; }; }
4674         fi
4675         # Extract the first word of "$objcopy", so it can be a program name with args.
4676 set dummy $objcopy; ac_word=$2
4677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4679 if test "${ac_cv_prog_I386_OBJCOPY+set}" = set; then
4680   echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682   if test -n "$I386_OBJCOPY"; then
4683   ac_cv_prog_I386_OBJCOPY="$I386_OBJCOPY" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4687 do
4688   IFS=$as_save_IFS
4689   test -z "$as_dir" && as_dir=.
4690   for ac_exec_ext in '' $ac_executable_extensions; do
4691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4692     ac_cv_prog_I386_OBJCOPY="$objcopy"
4693     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4694     break 2
4695   fi
4696 done
4697 done
4698 IFS=$as_save_IFS
4699
4700   test -z "$ac_cv_prog_I386_OBJCOPY" && ac_cv_prog_I386_OBJCOPY=""""
4701 fi
4702 fi
4703 I386_OBJCOPY=$ac_cv_prog_I386_OBJCOPY
4704 if test -n "$I386_OBJCOPY"; then
4705   { echo "$as_me:$LINENO: result: $I386_OBJCOPY" >&5
4706 echo "${ECHO_T}$I386_OBJCOPY" >&6; }
4707 else
4708   { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4710 fi
4711
4712
4713         if test "$I386_OBJCOPY" = no; then
4714                 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4715 echo "$as_me: error: $objcopy not found" >&2;}
4716    { (exit 1); exit 1; }; }
4717         fi
4718 fi
4719
4720 if test "$with_ia64" != "no" ; then
4721         cc=gcc
4722         cpp=cpp
4723         ld=ld
4724         as=as
4725         objcopy=objcopy
4726         if test "$with_ia64" != "" -a "$with_ia64" != "yes" ; then
4727                 cc="$with_ia64-$cc"
4728                 cpp="$with_ia64-$cpp"
4729                 ld="$with_ia64-$ld"
4730                 as="$with_ia64-$as"
4731                 objcopy="$with_ia64-$objcopy"
4732         fi
4733         # Extract the first word of "$cc", so it can be a program name with args.
4734 set dummy $cc; ac_word=$2
4735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4737 if test "${ac_cv_prog_IA64_CC+set}" = set; then
4738   echo $ECHO_N "(cached) $ECHO_C" >&6
4739 else
4740   if test -n "$IA64_CC"; then
4741   ac_cv_prog_IA64_CC="$IA64_CC" # Let the user override the test.
4742 else
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 for as_dir in $PATH
4745 do
4746   IFS=$as_save_IFS
4747   test -z "$as_dir" && as_dir=.
4748   for ac_exec_ext in '' $ac_executable_extensions; do
4749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750     ac_cv_prog_IA64_CC="$cc"
4751     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4752     break 2
4753   fi
4754 done
4755 done
4756 IFS=$as_save_IFS
4757
4758   test -z "$ac_cv_prog_IA64_CC" && ac_cv_prog_IA64_CC=""""
4759 fi
4760 fi
4761 IA64_CC=$ac_cv_prog_IA64_CC
4762 if test -n "$IA64_CC"; then
4763   { echo "$as_me:$LINENO: result: $IA64_CC" >&5
4764 echo "${ECHO_T}$IA64_CC" >&6; }
4765 else
4766   { echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6; }
4768 fi
4769
4770
4771         if test "$IA64_CC" = no; then
4772
4773                 { { echo "$as_me:$LINENO: error: $cc not found" >&5
4774 echo "$as_me: error: $cc not found" >&2;}
4775    { (exit 1); exit 1; }; }
4776         fi
4777         # Extract the first word of "$cpp", so it can be a program name with args.
4778 set dummy $cpp; ac_word=$2
4779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4781 if test "${ac_cv_prog_IA64_CPP+set}" = set; then
4782   echo $ECHO_N "(cached) $ECHO_C" >&6
4783 else
4784   if test -n "$IA64_CPP"; then
4785   ac_cv_prog_IA64_CPP="$IA64_CPP" # Let the user override the test.
4786 else
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 for as_dir in $PATH
4789 do
4790   IFS=$as_save_IFS
4791   test -z "$as_dir" && as_dir=.
4792   for ac_exec_ext in '' $ac_executable_extensions; do
4793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794     ac_cv_prog_IA64_CPP="$cpp"
4795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4796     break 2
4797   fi
4798 done
4799 done
4800 IFS=$as_save_IFS
4801
4802   test -z "$ac_cv_prog_IA64_CPP" && ac_cv_prog_IA64_CPP=""""
4803 fi
4804 fi
4805 IA64_CPP=$ac_cv_prog_IA64_CPP
4806 if test -n "$IA64_CPP"; then
4807   { echo "$as_me:$LINENO: result: $IA64_CPP" >&5
4808 echo "${ECHO_T}$IA64_CPP" >&6; }
4809 else
4810   { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4812 fi
4813
4814
4815         if test "$IA64_CPP" = no; then
4816                 { { echo "$as_me:$LINENO: error: $cpp not found" >&5
4817 echo "$as_me: error: $cpp not found" >&2;}
4818    { (exit 1); exit 1; }; }
4819         fi
4820         # Extract the first word of "$ld", so it can be a program name with args.
4821 set dummy $ld; ac_word=$2
4822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4824 if test "${ac_cv_prog_IA64_LD+set}" = set; then
4825   echo $ECHO_N "(cached) $ECHO_C" >&6
4826 else
4827   if test -n "$IA64_LD"; then
4828   ac_cv_prog_IA64_LD="$IA64_LD" # Let the user override the test.
4829 else
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH
4832 do
4833   IFS=$as_save_IFS
4834   test -z "$as_dir" && as_dir=.
4835   for ac_exec_ext in '' $ac_executable_extensions; do
4836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837     ac_cv_prog_IA64_LD="$ld"
4838     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4839     break 2
4840   fi
4841 done
4842 done
4843 IFS=$as_save_IFS
4844
4845   test -z "$ac_cv_prog_IA64_LD" && ac_cv_prog_IA64_LD=""""
4846 fi
4847 fi
4848 IA64_LD=$ac_cv_prog_IA64_LD
4849 if test -n "$IA64_LD"; then
4850   { echo "$as_me:$LINENO: result: $IA64_LD" >&5
4851 echo "${ECHO_T}$IA64_LD" >&6; }
4852 else
4853   { echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6; }
4855 fi
4856
4857
4858         if test "$IA64_AS" = no; then
4859                 { { echo "$as_me:$LINENO: error: $ld not found" >&5
4860 echo "$as_me: error: $ld not found" >&2;}
4861    { (exit 1); exit 1; }; }
4862         fi
4863         # Extract the first word of "$as", so it can be a program name with args.
4864 set dummy $as; ac_word=$2
4865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4867 if test "${ac_cv_prog_IA64_AS+set}" = set; then
4868   echo $ECHO_N "(cached) $ECHO_C" >&6
4869 else
4870   if test -n "$IA64_AS"; then
4871   ac_cv_prog_IA64_AS="$IA64_AS" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4875 do
4876   IFS=$as_save_IFS
4877   test -z "$as_dir" && as_dir=.
4878   for ac_exec_ext in '' $ac_executable_extensions; do
4879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880     ac_cv_prog_IA64_AS="$as"
4881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4882     break 2
4883   fi
4884 done
4885 done
4886 IFS=$as_save_IFS
4887
4888   test -z "$ac_cv_prog_IA64_AS" && ac_cv_prog_IA64_AS=""""
4889 fi
4890 fi
4891 IA64_AS=$ac_cv_prog_IA64_AS
4892 if test -n "$IA64_AS"; then
4893   { echo "$as_me:$LINENO: result: $IA64_AS" >&5
4894 echo "${ECHO_T}$IA64_AS" >&6; }
4895 else
4896   { echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6; }
4898 fi
4899
4900
4901         if test "$IA64_AS" = no; then
4902                 { { echo "$as_me:$LINENO: error: $as not found" >&5
4903 echo "$as_me: error: $as not found" >&2;}
4904    { (exit 1); exit 1; }; }
4905         fi
4906         # Extract the first word of "$objcopy", so it can be a program name with args.
4907 set dummy $objcopy; ac_word=$2
4908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4910 if test "${ac_cv_prog_IA64_OBJCOPY+set}" = set; then
4911   echo $ECHO_N "(cached) $ECHO_C" >&6
4912 else
4913   if test -n "$IA64_OBJCOPY"; then
4914   ac_cv_prog_IA64_OBJCOPY="$IA64_OBJCOPY" # Let the user override the test.
4915 else
4916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917 for as_dir in $PATH
4918 do
4919   IFS=$as_save_IFS
4920   test -z "$as_dir" && as_dir=.
4921   for ac_exec_ext in '' $ac_executable_extensions; do
4922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4923     ac_cv_prog_IA64_OBJCOPY="$objcopy"
4924     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4925     break 2
4926   fi
4927 done
4928 done
4929 IFS=$as_save_IFS
4930
4931   test -z "$ac_cv_prog_IA64_OBJCOPY" && ac_cv_prog_IA64_OBJCOPY=""""
4932 fi
4933 fi
4934 IA64_OBJCOPY=$ac_cv_prog_IA64_OBJCOPY
4935 if test -n "$IA64_OBJCOPY"; then
4936   { echo "$as_me:$LINENO: result: $IA64_OBJCOPY" >&5
4937 echo "${ECHO_T}$IA64_OBJCOPY" >&6; }
4938 else
4939   { echo "$as_me:$LINENO: result: no" >&5
4940 echo "${ECHO_T}no" >&6; }
4941 fi
4942
4943
4944         if test "$IA64_OBJCOPY" = no; then
4945                 { { echo "$as_me:$LINENO: error: $objcopy not found" >&5
4946 echo "$as_me: error: $objcopy not found" >&2;}
4947    { (exit 1); exit 1; }; }
4948         fi
4949 fi
4950
4951
4952
4953 HOST_CC=$CC
4954 HOST_CFLAGS="$HOST_CFLAGS -O2 -Wall \$(HOST_CPPFLAGS)"
4955
4956 I386_CFLAGS="$I386_CFLAGS -Os -ffreestanding -Wall -W -Wno-format \$(I386_CPPFLAGS)"
4957 I386_ASFLAGS=''
4958 I386_LDFLAGS='-static --warn-multiple-gp --warn-common'
4959
4960 IA64_CFLAGS="$IA64_CFLAGS -Os -ffreestanding -Wall -W -Wno-format -fpic -mconstant-gp -mauto-pic -fno-unwind-tables \$(IA64_CPPFLAGS)"
4961 IA64_ASFLAGS='-mconstant-gp -mauto-pic'
4962 IA64_LDFLAGS='-static --warn-multiple-gp --warn-common'
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985 ac_config_files="$ac_config_files Makefile.conf"
4986
4987 cat >confcache <<\_ACEOF
4988 # This file is a shell script that caches the results of configure
4989 # tests run on this system so they can be shared between configure
4990 # scripts and configure runs, see configure's option --config-cache.
4991 # It is not useful on other systems.  If it contains results you don't
4992 # want to keep, you may remove or edit it.
4993 #
4994 # config.status only pays attention to the cache file if you give it
4995 # the --recheck option to rerun configure.
4996 #
4997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4999 # following values.
5000
5001 _ACEOF
5002
5003 # The following way of writing the cache mishandles newlines in values,
5004 # but we know of no workaround that is simple, portable, and efficient.
5005 # So, we kill variables containing newlines.
5006 # Ultrix sh set writes to stderr and can't be redirected directly,
5007 # and sets the high bit in the cache file unless we assign to the vars.
5008 (
5009   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5010     eval ac_val=\$$ac_var
5011     case $ac_val in #(
5012     *${as_nl}*)
5013       case $ac_var in #(
5014       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5015 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5016       esac
5017       case $ac_var in #(
5018       _ | IFS | as_nl) ;; #(
5019       *) $as_unset $ac_var ;;
5020       esac ;;
5021     esac
5022   done
5023
5024   (set) 2>&1 |
5025     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5026     *${as_nl}ac_space=\ *)
5027       # `set' does not quote correctly, so add quotes (double-quote
5028       # substitution turns \\\\ into \\, and sed turns \\ into \).
5029       sed -n \
5030         "s/'/'\\\\''/g;
5031           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5032       ;; #(
5033     *)
5034       # `set' quotes correctly as required by POSIX, so do not add quotes.
5035       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5036       ;;
5037     esac |
5038     sort
5039 ) |
5040   sed '
5041      /^ac_cv_env_/b end
5042      t clear
5043      :clear
5044      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5045      t end
5046      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5047      :end' >>confcache
5048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5049   if test -w "$cache_file"; then
5050     test "x$cache_file" != "x/dev/null" &&
5051       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5052 echo "$as_me: updating cache $cache_file" >&6;}
5053     cat confcache >$cache_file
5054   else
5055     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5056 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5057   fi
5058 fi
5059 rm -f confcache
5060
5061 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5062 # Let make expand exec_prefix.
5063 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5064
5065 # Transform confdefs.h into DEFS.
5066 # Protect against shell expansion while executing Makefile rules.
5067 # Protect against Makefile macro expansion.
5068 #
5069 # If the first sed substitution is executed (which looks for macros that
5070 # take arguments), then branch to the quote section.  Otherwise,
5071 # look for a macro that doesn't take arguments.
5072 ac_script='
5073 t clear
5074 :clear
5075 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
5076 t quote
5077 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
5078 t quote
5079 b any
5080 :quote
5081 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5082 s/\[/\\&/g
5083 s/\]/\\&/g
5084 s/\$/$$/g
5085 H
5086 :any
5087 ${
5088         g
5089         s/^\n//
5090         s/\n/ /g
5091         p
5092 }
5093 '
5094 DEFS=`sed -n "$ac_script" confdefs.h`
5095
5096
5097 ac_libobjs=
5098 ac_ltlibobjs=
5099 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5100   # 1. Remove the extension, and $U if already installed.
5101   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5102   ac_i=`echo "$ac_i" | sed "$ac_script"`
5103   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5104   #    will be set to the directory where LIBOBJS objects are built.
5105   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5106   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5107 done
5108 LIBOBJS=$ac_libobjs
5109
5110 LTLIBOBJS=$ac_ltlibobjs
5111
5112
5113
5114 : ${CONFIG_STATUS=./config.status}
5115 ac_clean_files_save=$ac_clean_files
5116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5119 cat >$CONFIG_STATUS <<_ACEOF
5120 #! $SHELL
5121 # Generated by $as_me.
5122 # Run this file to recreate the current configuration.
5123 # Compiler output produced by configure, useful for debugging
5124 # configure, is in config.log if it exists.
5125
5126 debug=false
5127 ac_cs_recheck=false
5128 ac_cs_silent=false
5129 SHELL=\${CONFIG_SHELL-$SHELL}
5130 _ACEOF
5131
5132 cat >>$CONFIG_STATUS <<\_ACEOF
5133 ## --------------------- ##
5134 ## M4sh Initialization.  ##
5135 ## --------------------- ##
5136
5137 # Be more Bourne compatible
5138 DUALCASE=1; export DUALCASE # for MKS sh
5139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5140   emulate sh
5141   NULLCMD=:
5142   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5143   # is contrary to our usage.  Disable this feature.
5144   alias -g '${1+"$@"}'='"$@"'
5145   setopt NO_GLOB_SUBST
5146 else
5147   case `(set -o) 2>/dev/null` in
5148   *posix*) set -o posix ;;
5149 esac
5150
5151 fi
5152
5153
5154
5155
5156 # PATH needs CR
5157 # Avoid depending upon Character Ranges.
5158 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5159 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5160 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5161 as_cr_digits='0123456789'
5162 as_cr_alnum=$as_cr_Letters$as_cr_digits
5163
5164 # The user is always right.
5165 if test "${PATH_SEPARATOR+set}" != set; then
5166   echo "#! /bin/sh" >conf$$.sh
5167   echo  "exit 0"   >>conf$$.sh
5168   chmod +x conf$$.sh
5169   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5170     PATH_SEPARATOR=';'
5171   else
5172     PATH_SEPARATOR=:
5173   fi
5174   rm -f conf$$.sh
5175 fi
5176
5177 # Support unset when possible.
5178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5179   as_unset=unset
5180 else
5181   as_unset=false
5182 fi
5183
5184
5185 # IFS
5186 # We need space, tab and new line, in precisely that order.  Quoting is
5187 # there to prevent editors from complaining about space-tab.
5188 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5189 # splitting by setting IFS to empty value.)
5190 as_nl='
5191 '
5192 IFS=" ""        $as_nl"
5193
5194 # Find who we are.  Look in the path if we contain no directory separator.
5195 case $0 in
5196   *[\\/]* ) as_myself=$0 ;;
5197   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 for as_dir in $PATH
5199 do
5200   IFS=$as_save_IFS
5201   test -z "$as_dir" && as_dir=.
5202   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5203 done
5204 IFS=$as_save_IFS
5205
5206      ;;
5207 esac
5208 # We did not find ourselves, most probably we were run as `sh COMMAND'
5209 # in which case we are not to be found in the path.
5210 if test "x$as_myself" = x; then
5211   as_myself=$0
5212 fi
5213 if test ! -f "$as_myself"; then
5214   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5215   { (exit 1); exit 1; }
5216 fi
5217
5218 # Work around bugs in pre-3.0 UWIN ksh.
5219 for as_var in ENV MAIL MAILPATH
5220 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5221 done
5222 PS1='$ '
5223 PS2='> '
5224 PS4='+ '
5225
5226 # NLS nuisances.
5227 for as_var in \
5228   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5229   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5230   LC_TELEPHONE LC_TIME
5231 do
5232   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5233     eval $as_var=C; export $as_var
5234   else
5235     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5236   fi
5237 done
5238
5239 # Required to use basename.
5240 if expr a : '\(a\)' >/dev/null 2>&1 &&
5241    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5242   as_expr=expr
5243 else
5244   as_expr=false
5245 fi
5246
5247 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5248   as_basename=basename
5249 else
5250   as_basename=false
5251 fi
5252
5253
5254 # Name of the executable.
5255 as_me=`$as_basename -- "$0" ||
5256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5257          X"$0" : 'X\(//\)$' \| \
5258          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5259 echo X/"$0" |
5260     sed '/^.*\/\([^/][^/]*\)\/*$/{
5261             s//\1/
5262             q
5263           }
5264           /^X\/\(\/\/\)$/{
5265             s//\1/
5266             q
5267           }
5268           /^X\/\(\/\).*/{
5269             s//\1/
5270             q
5271           }
5272           s/.*/./; q'`
5273
5274 # CDPATH.
5275 $as_unset CDPATH
5276
5277
5278
5279   as_lineno_1=$LINENO
5280   as_lineno_2=$LINENO
5281   test "x$as_lineno_1" != "x$as_lineno_2" &&
5282   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5283
5284   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5285   # uniformly replaced by the line number.  The first 'sed' inserts a
5286   # line-number line after each line using $LINENO; the second 'sed'
5287   # does the real work.  The second script uses 'N' to pair each
5288   # line-number line with the line containing $LINENO, and appends
5289   # trailing '-' during substitution so that $LINENO is not a special
5290   # case at line end.
5291   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5292   # scripts with optimization help from Paolo Bonzini.  Blame Lee
5293   # E. McMahon (1931-1989) for sed's syntax.  :-)
5294   sed -n '
5295     p
5296     /[$]LINENO/=
5297   ' <$as_myself |
5298     sed '
5299       s/[$]LINENO.*/&-/
5300       t lineno
5301       b
5302       :lineno
5303       N
5304       :loop
5305       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5306       t loop
5307       s/-\n.*//
5308     ' >$as_me.lineno &&
5309   chmod +x "$as_me.lineno" ||
5310     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5311    { (exit 1); exit 1; }; }
5312
5313   # Don't try to exec as it changes $[0], causing all sort of problems
5314   # (the dirname of $[0] is not the place where we might find the
5315   # original and so on.  Autoconf is especially sensitive to this).
5316   . "./$as_me.lineno"
5317   # Exit status is that of the last command.
5318   exit
5319 }
5320
5321
5322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5323   as_dirname=dirname
5324 else
5325   as_dirname=false
5326 fi
5327
5328 ECHO_C= ECHO_N= ECHO_T=
5329 case `echo -n x` in
5330 -n*)
5331   case `echo 'x\c'` in
5332   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5333   *)   ECHO_C='\c';;
5334   esac;;
5335 *)
5336   ECHO_N='-n';;
5337 esac
5338
5339 if expr a : '\(a\)' >/dev/null 2>&1 &&
5340    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5341   as_expr=expr
5342 else
5343   as_expr=false
5344 fi
5345
5346 rm -f conf$$ conf$$.exe conf$$.file
5347 if test -d conf$$.dir; then
5348   rm -f conf$$.dir/conf$$.file
5349 else
5350   rm -f conf$$.dir
5351   mkdir conf$$.dir
5352 fi
5353 echo >conf$$.file
5354 if ln -s conf$$.file conf$$ 2>/dev/null; then
5355   as_ln_s='ln -s'
5356   # ... but there are two gotchas:
5357   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5358   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5359   # In both cases, we have to default to `cp -p'.
5360   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5361     as_ln_s='cp -p'
5362 elif ln conf$$.file conf$$ 2>/dev/null; then
5363   as_ln_s=ln
5364 else
5365   as_ln_s='cp -p'
5366 fi
5367 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5368 rmdir conf$$.dir 2>/dev/null
5369
5370 if mkdir -p . 2>/dev/null; then
5371   as_mkdir_p=:
5372 else
5373   test -d ./-p && rmdir ./-p
5374   as_mkdir_p=false
5375 fi
5376
5377 if test -x / >/dev/null 2>&1; then
5378   as_test_x='test -x'
5379 else
5380   if ls -dL / >/dev/null 2>&1; then
5381     as_ls_L_option=L
5382   else
5383     as_ls_L_option=
5384   fi
5385   as_test_x='
5386     eval sh -c '\''
5387       if test -d "$1"; then
5388         test -d "$1/.";
5389       else
5390         case $1 in
5391         -*)set "./$1";;
5392         esac;
5393         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5394         ???[sx]*):;;*)false;;esac;fi
5395     '\'' sh
5396   '
5397 fi
5398 as_executable_p=$as_test_x
5399
5400 # Sed expression to map a string onto a valid CPP name.
5401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5402
5403 # Sed expression to map a string onto a valid variable name.
5404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5405
5406
5407 exec 6>&1
5408
5409 # Save the log message, to keep $[0] and so on meaningful, and to
5410 # report actual input values of CONFIG_FILES etc. instead of their
5411 # values after options handling.
5412 ac_log="
5413 This file was extended by $as_me, which was
5414 generated by GNU Autoconf 2.61.  Invocation command line was
5415
5416   CONFIG_FILES    = $CONFIG_FILES
5417   CONFIG_HEADERS  = $CONFIG_HEADERS
5418   CONFIG_LINKS    = $CONFIG_LINKS
5419   CONFIG_COMMANDS = $CONFIG_COMMANDS
5420   $ $0 $@
5421
5422 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5423 "
5424
5425 _ACEOF
5426
5427 cat >>$CONFIG_STATUS <<_ACEOF
5428 # Files that config.status was made for.
5429 config_files="$ac_config_files"
5430
5431 _ACEOF
5432
5433 cat >>$CONFIG_STATUS <<\_ACEOF
5434 ac_cs_usage="\
5435 \`$as_me' instantiates files from templates according to the
5436 current configuration.
5437
5438 Usage: $0 [OPTIONS] [FILE]...
5439
5440   -h, --help       print this help, then exit
5441   -V, --version    print version number and configuration settings, then exit
5442   -q, --quiet      do not print progress messages
5443   -d, --debug      don't remove temporary files
5444       --recheck    update $as_me by reconfiguring in the same conditions
5445   --file=FILE[:TEMPLATE]
5446                    instantiate the configuration file FILE
5447
5448 Configuration files:
5449 $config_files
5450
5451 Report bugs to <bug-autoconf@gnu.org>."
5452
5453 _ACEOF
5454 cat >>$CONFIG_STATUS <<_ACEOF
5455 ac_cs_version="\\
5456 config.status
5457 configured by $0, generated by GNU Autoconf 2.61,
5458   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5459
5460 Copyright (C) 2006 Free Software Foundation, Inc.
5461 This config.status script is free software; the Free Software Foundation
5462 gives unlimited permission to copy, distribute and modify it."
5463
5464 ac_pwd='$ac_pwd'
5465 srcdir='$srcdir'
5466 _ACEOF
5467
5468 cat >>$CONFIG_STATUS <<\_ACEOF
5469 # If no file are specified by the user, then we need to provide default
5470 # value.  By we need to know if files were specified by the user.
5471 ac_need_defaults=:
5472 while test $# != 0
5473 do
5474   case $1 in
5475   --*=*)
5476     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5477     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5478     ac_shift=:
5479     ;;
5480   *)
5481     ac_option=$1
5482     ac_optarg=$2
5483     ac_shift=shift
5484     ;;
5485   esac
5486
5487   case $ac_option in
5488   # Handling of the options.
5489   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5490     ac_cs_recheck=: ;;
5491   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5492     echo "$ac_cs_version"; exit ;;
5493   --debug | --debu | --deb | --de | --d | -d )
5494     debug=: ;;
5495   --file | --fil | --fi | --f )
5496     $ac_shift
5497     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5498     ac_need_defaults=false;;
5499   --he | --h |  --help | --hel | -h )
5500     echo "$ac_cs_usage"; exit ;;
5501   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5502   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5503     ac_cs_silent=: ;;
5504
5505   # This is an error.
5506   -*) { echo "$as_me: error: unrecognized option: $1
5507 Try \`$0 --help' for more information." >&2
5508    { (exit 1); exit 1; }; } ;;
5509
5510   *) ac_config_targets="$ac_config_targets $1"
5511      ac_need_defaults=false ;;
5512
5513   esac
5514   shift
5515 done
5516
5517 ac_configure_extra_args=
5518
5519 if $ac_cs_silent; then
5520   exec 6>/dev/null
5521   ac_configure_extra_args="$ac_configure_extra_args --silent"
5522 fi
5523
5524 _ACEOF
5525 cat >>$CONFIG_STATUS <<_ACEOF
5526 if \$ac_cs_recheck; then
5527   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5528   CONFIG_SHELL=$SHELL
5529   export CONFIG_SHELL
5530   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5531 fi
5532
5533 _ACEOF
5534 cat >>$CONFIG_STATUS <<\_ACEOF
5535 exec 5>>config.log
5536 {
5537   echo
5538   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5539 ## Running $as_me. ##
5540 _ASBOX
5541   echo "$ac_log"
5542 } >&5
5543
5544 _ACEOF
5545 cat >>$CONFIG_STATUS <<_ACEOF
5546 _ACEOF
5547
5548 cat >>$CONFIG_STATUS <<\_ACEOF
5549
5550 # Handling of arguments.
5551 for ac_config_target in $ac_config_targets
5552 do
5553   case $ac_config_target in
5554     "Makefile.conf") CONFIG_FILES="$CONFIG_FILES Makefile.conf" ;;
5555
5556   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5557 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5558    { (exit 1); exit 1; }; };;
5559   esac
5560 done
5561
5562
5563 # If the user did not use the arguments to specify the items to instantiate,
5564 # then the envvar interface is used.  Set only those that are not.
5565 # We use the long form for the default assignment because of an extremely
5566 # bizarre bug on SunOS 4.1.3.
5567 if $ac_need_defaults; then
5568   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5569 fi
5570
5571 # Have a temporary directory for convenience.  Make it in the build tree
5572 # simply because there is no reason against having it here, and in addition,
5573 # creating and moving files from /tmp can sometimes cause problems.
5574 # Hook for its removal unless debugging.
5575 # Note that there is a small window in which the directory will not be cleaned:
5576 # after its creation but before its name has been assigned to `$tmp'.
5577 $debug ||
5578 {
5579   tmp=
5580   trap 'exit_status=$?
5581   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5582 ' 0
5583   trap '{ (exit 1); exit 1; }' 1 2 13 15
5584 }
5585 # Create a (secure) tmp directory for tmp files.
5586
5587 {
5588   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5589   test -n "$tmp" && test -d "$tmp"
5590 }  ||
5591 {
5592   tmp=./conf$$-$RANDOM
5593   (umask 077 && mkdir "$tmp")
5594 } ||
5595 {
5596    echo "$me: cannot create a temporary directory in ." >&2
5597    { (exit 1); exit 1; }
5598 }
5599
5600 #
5601 # Set up the sed scripts for CONFIG_FILES section.
5602 #
5603
5604 # No need to generate the scripts if there are no CONFIG_FILES.
5605 # This happens for instance when ./config.status config.h
5606 if test -n "$CONFIG_FILES"; then
5607
5608 _ACEOF
5609
5610
5611
5612 ac_delim='%!_!# '
5613 for ac_last_try in false false false false false :; do
5614   cat >conf$$subs.sed <<_ACEOF
5615 SHELL!$SHELL$ac_delim
5616 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5617 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5618 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5619 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5620 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5621 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5622 exec_prefix!$exec_prefix$ac_delim
5623 prefix!$prefix$ac_delim
5624 program_transform_name!$program_transform_name$ac_delim
5625 bindir!$bindir$ac_delim
5626 sbindir!$sbindir$ac_delim
5627 libexecdir!$libexecdir$ac_delim
5628 datarootdir!$datarootdir$ac_delim
5629 datadir!$datadir$ac_delim
5630 sysconfdir!$sysconfdir$ac_delim
5631 sharedstatedir!$sharedstatedir$ac_delim
5632 localstatedir!$localstatedir$ac_delim
5633 includedir!$includedir$ac_delim
5634 oldincludedir!$oldincludedir$ac_delim
5635 docdir!$docdir$ac_delim
5636 infodir!$infodir$ac_delim
5637 htmldir!$htmldir$ac_delim
5638 dvidir!$dvidir$ac_delim
5639 pdfdir!$pdfdir$ac_delim
5640 psdir!$psdir$ac_delim
5641 libdir!$libdir$ac_delim
5642 localedir!$localedir$ac_delim
5643 mandir!$mandir$ac_delim
5644 DEFS!$DEFS$ac_delim
5645 ECHO_C!$ECHO_C$ac_delim
5646 ECHO_N!$ECHO_N$ac_delim
5647 ECHO_T!$ECHO_T$ac_delim
5648 LIBS!$LIBS$ac_delim
5649 build_alias!$build_alias$ac_delim
5650 host_alias!$host_alias$ac_delim
5651 target_alias!$target_alias$ac_delim
5652 build!$build$ac_delim
5653 build_cpu!$build_cpu$ac_delim
5654 build_vendor!$build_vendor$ac_delim
5655 build_os!$build_os$ac_delim
5656 host!$host$ac_delim
5657 host_cpu!$host_cpu$ac_delim
5658 host_vendor!$host_vendor$ac_delim
5659 host_os!$host_os$ac_delim
5660 CC!$CC$ac_delim
5661 CFLAGS!$CFLAGS$ac_delim
5662 LDFLAGS!$LDFLAGS$ac_delim
5663 CPPFLAGS!$CPPFLAGS$ac_delim
5664 ac_ct_CC!$ac_ct_CC$ac_delim
5665 EXEEXT!$EXEEXT$ac_delim
5666 OBJEXT!$OBJEXT$ac_delim
5667 MKDIR!$MKDIR$ac_delim
5668 RM!$RM$ac_delim
5669 CP!$CP$ac_delim
5670 LN!$LN$ac_delim
5671 TAR!$TAR$ac_delim
5672 RPM!$RPM$ac_delim
5673 SED!$SED$ac_delim
5674 FIND!$FIND$ac_delim
5675 CPP!$CPP$ac_delim
5676 GREP!$GREP$ac_delim
5677 EGREP!$EGREP$ac_delim
5678 LD!$LD$ac_delim
5679 AS!$AS$ac_delim
5680 OBJCOPY!$OBJCOPY$ac_delim
5681 I386_CC!$I386_CC$ac_delim
5682 I386_CPP!$I386_CPP$ac_delim
5683 I386_LD!$I386_LD$ac_delim
5684 I386_AS!$I386_AS$ac_delim
5685 I386_OBJCOPY!$I386_OBJCOPY$ac_delim
5686 IA64_CC!$IA64_CC$ac_delim
5687 IA64_CPP!$IA64_CPP$ac_delim
5688 IA64_LD!$IA64_LD$ac_delim
5689 IA64_AS!$IA64_AS$ac_delim
5690 IA64_OBJCOPY!$IA64_OBJCOPY$ac_delim
5691 HOST_CC!$HOST_CC$ac_delim
5692 HOST_CFLAGS!$HOST_CFLAGS$ac_delim
5693 I386_CFLAGS!$I386_CFLAGS$ac_delim
5694 I386_ASFLAGS!$I386_ASFLAGS$ac_delim
5695 I386_LDFLAGS!$I386_LDFLAGS$ac_delim
5696 IA64_CFLAGS!$IA64_CFLAGS$ac_delim
5697 IA64_ASFLAGS!$IA64_ASFLAGS$ac_delim
5698 IA64_LDFLAGS!$IA64_LDFLAGS$ac_delim
5699 LIBOBJS!$LIBOBJS$ac_delim
5700 LTLIBOBJS!$LTLIBOBJS$ac_delim
5701 _ACEOF
5702
5703   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 86; then
5704     break
5705   elif $ac_last_try; then
5706     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5707 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5708    { (exit 1); exit 1; }; }
5709   else
5710     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5711   fi
5712 done
5713
5714 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5715 if test -n "$ac_eof"; then
5716   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5717   ac_eof=`expr $ac_eof + 1`
5718 fi
5719
5720 cat >>$CONFIG_STATUS <<_ACEOF
5721 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5722 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5723 _ACEOF
5724 sed '
5725 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5726 s/^/s,@/; s/!/@,|#_!!_#|/
5727 :n
5728 t n
5729 s/'"$ac_delim"'$/,g/; t
5730 s/$/\\/; p
5731 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5732 ' >>$CONFIG_STATUS <conf$$subs.sed
5733 rm -f conf$$subs.sed
5734 cat >>$CONFIG_STATUS <<_ACEOF
5735 :end
5736 s/|#_!!_#|//g
5737 CEOF$ac_eof
5738 _ACEOF
5739
5740
5741 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5742 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5743 # trailing colons and then remove the whole line if VPATH becomes empty
5744 # (actually we leave an empty line to preserve line numbers).
5745 if test "x$srcdir" = x.; then
5746   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5747 s/:*\$(srcdir):*/:/
5748 s/:*\${srcdir}:*/:/
5749 s/:*@srcdir@:*/:/
5750 s/^\([^=]*=[     ]*\):*/\1/
5751 s/:*$//
5752 s/^[^=]*=[       ]*$//
5753 }'
5754 fi
5755
5756 cat >>$CONFIG_STATUS <<\_ACEOF
5757 fi # test -n "$CONFIG_FILES"
5758
5759
5760 for ac_tag in  :F $CONFIG_FILES
5761 do
5762   case $ac_tag in
5763   :[FHLC]) ac_mode=$ac_tag; continue;;
5764   esac
5765   case $ac_mode$ac_tag in
5766   :[FHL]*:*);;
5767   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5768 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5769    { (exit 1); exit 1; }; };;
5770   :[FH]-) ac_tag=-:-;;
5771   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5772   esac
5773   ac_save_IFS=$IFS
5774   IFS=:
5775   set x $ac_tag
5776   IFS=$ac_save_IFS
5777   shift
5778   ac_file=$1
5779   shift
5780
5781   case $ac_mode in
5782   :L) ac_source=$1;;
5783   :[FH])
5784     ac_file_inputs=
5785     for ac_f
5786     do
5787       case $ac_f in
5788       -) ac_f="$tmp/stdin";;
5789       *) # Look for the file first in the build tree, then in the source tree
5790          # (if the path is not absolute).  The absolute path cannot be DOS-style,
5791          # because $ac_f cannot contain `:'.
5792          test -f "$ac_f" ||
5793            case $ac_f in
5794            [\\/$]*) false;;
5795            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5796            esac ||
5797            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5798 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5799    { (exit 1); exit 1; }; };;
5800       esac
5801       ac_file_inputs="$ac_file_inputs $ac_f"
5802     done
5803
5804     # Let's still pretend it is `configure' which instantiates (i.e., don't
5805     # use $as_me), people would be surprised to read:
5806     #    /* config.h.  Generated by config.status.  */
5807     configure_input="Generated from "`IFS=:
5808           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5809     if test x"$ac_file" != x-; then
5810       configure_input="$ac_file.  $configure_input"
5811       { echo "$as_me:$LINENO: creating $ac_file" >&5
5812 echo "$as_me: creating $ac_file" >&6;}
5813     fi
5814
5815     case $ac_tag in
5816     *:-:* | *:-) cat >"$tmp/stdin";;
5817     esac
5818     ;;
5819   esac
5820
5821   ac_dir=`$as_dirname -- "$ac_file" ||
5822 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5823          X"$ac_file" : 'X\(//\)[^/]' \| \
5824          X"$ac_file" : 'X\(//\)$' \| \
5825          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5826 echo X"$ac_file" |
5827     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5828             s//\1/
5829             q
5830           }
5831           /^X\(\/\/\)[^/].*/{
5832             s//\1/
5833             q
5834           }
5835           /^X\(\/\/\)$/{
5836             s//\1/
5837             q
5838           }
5839           /^X\(\/\).*/{
5840             s//\1/
5841             q
5842           }
5843           s/.*/./; q'`
5844   { as_dir="$ac_dir"
5845   case $as_dir in #(
5846   -*) as_dir=./$as_dir;;
5847   esac
5848   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5849     as_dirs=
5850     while :; do
5851       case $as_dir in #(
5852       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5853       *) as_qdir=$as_dir;;
5854       esac
5855       as_dirs="'$as_qdir' $as_dirs"
5856       as_dir=`$as_dirname -- "$as_dir" ||
5857 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5858          X"$as_dir" : 'X\(//\)[^/]' \| \
5859          X"$as_dir" : 'X\(//\)$' \| \
5860          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5861 echo X"$as_dir" |
5862     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5863             s//\1/
5864             q
5865           }
5866           /^X\(\/\/\)[^/].*/{
5867             s//\1/
5868             q
5869           }
5870           /^X\(\/\/\)$/{
5871             s//\1/
5872             q
5873           }
5874           /^X\(\/\).*/{
5875             s//\1/
5876             q
5877           }
5878           s/.*/./; q'`
5879       test -d "$as_dir" && break
5880     done
5881     test -z "$as_dirs" || eval "mkdir $as_dirs"
5882   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5883 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5884    { (exit 1); exit 1; }; }; }
5885   ac_builddir=.
5886
5887 case "$ac_dir" in
5888 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5889 *)
5890   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5891   # A ".." for each directory in $ac_dir_suffix.
5892   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5893   case $ac_top_builddir_sub in
5894   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5895   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5896   esac ;;
5897 esac
5898 ac_abs_top_builddir=$ac_pwd
5899 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5900 # for backward compatibility:
5901 ac_top_builddir=$ac_top_build_prefix
5902
5903 case $srcdir in
5904   .)  # We are building in place.
5905     ac_srcdir=.
5906     ac_top_srcdir=$ac_top_builddir_sub
5907     ac_abs_top_srcdir=$ac_pwd ;;
5908   [\\/]* | ?:[\\/]* )  # Absolute name.
5909     ac_srcdir=$srcdir$ac_dir_suffix;
5910     ac_top_srcdir=$srcdir
5911     ac_abs_top_srcdir=$srcdir ;;
5912   *) # Relative name.
5913     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5914     ac_top_srcdir=$ac_top_build_prefix$srcdir
5915     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5916 esac
5917 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5918
5919
5920   case $ac_mode in
5921   :F)
5922   #
5923   # CONFIG_FILE
5924   #
5925
5926 _ACEOF
5927
5928 cat >>$CONFIG_STATUS <<\_ACEOF
5929 # If the template does not know about datarootdir, expand it.
5930 # FIXME: This hack should be removed a few years after 2.60.
5931 ac_datarootdir_hack=; ac_datarootdir_seen=
5932
5933 case `sed -n '/datarootdir/ {
5934   p
5935   q
5936 }
5937 /@datadir@/p
5938 /@docdir@/p
5939 /@infodir@/p
5940 /@localedir@/p
5941 /@mandir@/p
5942 ' $ac_file_inputs` in
5943 *datarootdir*) ac_datarootdir_seen=yes;;
5944 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5945   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5946 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5947 _ACEOF
5948 cat >>$CONFIG_STATUS <<_ACEOF
5949   ac_datarootdir_hack='
5950   s&@datadir@&$datadir&g
5951   s&@docdir@&$docdir&g
5952   s&@infodir@&$infodir&g
5953   s&@localedir@&$localedir&g
5954   s&@mandir@&$mandir&g
5955     s&\\\${datarootdir}&$datarootdir&g' ;;
5956 esac
5957 _ACEOF
5958
5959 # Neutralize VPATH when `$srcdir' = `.'.
5960 # Shell code in configure.ac might set extrasub.
5961 # FIXME: do we really want to maintain this feature?
5962 cat >>$CONFIG_STATUS <<_ACEOF
5963   sed "$ac_vpsub
5964 $extrasub
5965 _ACEOF
5966 cat >>$CONFIG_STATUS <<\_ACEOF
5967 :t
5968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5969 s&@configure_input@&$configure_input&;t t
5970 s&@top_builddir@&$ac_top_builddir_sub&;t t
5971 s&@srcdir@&$ac_srcdir&;t t
5972 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5973 s&@top_srcdir@&$ac_top_srcdir&;t t
5974 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5975 s&@builddir@&$ac_builddir&;t t
5976 s&@abs_builddir@&$ac_abs_builddir&;t t
5977 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5978 $ac_datarootdir_hack
5979 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5980
5981 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5982   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5983   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5984   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5985 which seems to be undefined.  Please make sure it is defined." >&5
5986 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5987 which seems to be undefined.  Please make sure it is defined." >&2;}
5988
5989   rm -f "$tmp/stdin"
5990   case $ac_file in
5991   -) cat "$tmp/out"; rm -f "$tmp/out";;
5992   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5993   esac
5994  ;;
5995
5996
5997
5998   esac
5999
6000 done # for ac_tag
6001
6002
6003 { (exit 0); exit 0; }
6004 _ACEOF
6005 chmod +x $CONFIG_STATUS
6006 ac_clean_files=$ac_clean_files_save
6007
6008
6009 # configure is writing to config.log, and then calls config.status.
6010 # config.status does its own redirection, appending to config.log.
6011 # Unfortunately, on DOS this fails, as config.log is still kept open
6012 # by configure, so config.status won't be able to write to it; its
6013 # output is simply discarded.  So we exec the FD to /dev/null,
6014 # effectively closing config.log, so it can be properly (re)opened and
6015 # appended to by config.status.  When coming back to configure, we
6016 # need to make the FD available again.
6017 if test "$no_create" != yes; then
6018   ac_cs_success=:
6019   ac_config_status_args=
6020   test "$silent" = yes &&
6021     ac_config_status_args="$ac_config_status_args --quiet"
6022   exec 5>/dev/null
6023   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6024   exec 5>>config.log
6025   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6026   # would make configure fail if this is the last instruction.
6027   $ac_cs_success || { (exit 1); exit 1; }
6028 fi
6029
6030
6031