Imported Upstream version 1.1.11
[platform/upstream/cdrkit.git] / 3rd-party / zisofs_tools / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in,v 1.7 2004/07/20 04:04:22 hpa Exp .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60a.
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
13
14 # Be Bourne compatible
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 *posix*) set -o posix;; esac
24 fi
25 BIN_SH=xpg4; export BIN_SH # for Tru64
26 DUALCASE=1; export DUALCASE # for MKS sh
27
28
29 # PATH needs CR
30 # Avoid depending upon Character Ranges.
31 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34 as_cr_digits='0123456789'
35 as_cr_alnum=$as_cr_Letters$as_cr_digits
36
37 # The user is always right.
38 if test "${PATH_SEPARATOR+set}" != set; then
39   echo "#! /bin/sh" >conf$$.sh
40   echo  "exit 0"   >>conf$$.sh
41   chmod +x conf$$.sh
42   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
43     PATH_SEPARATOR=';'
44   else
45     PATH_SEPARATOR=:
46   fi
47   rm -f conf$$.sh
48 fi
49
50 # Support unset when possible.
51 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52   as_unset=unset
53 else
54   as_unset=false
55 fi
56
57
58 # IFS
59 # We need space, tab and new line, in precisely that order.  Quoting is
60 # there to prevent editors from complaining about space-tab.
61 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
62 # splitting by setting IFS to empty value.)
63 as_nl='
64 '
65 IFS=" ""        $as_nl"
66
67 # Find who we are.  Look in the path if we contain no directory separator.
68 case $0 in
69   *[\\/]* ) as_myself=$0 ;;
70   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71 for as_dir in $PATH
72 do
73   IFS=$as_save_IFS
74   test -z "$as_dir" && as_dir=.
75   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
76 done
77 IFS=$as_save_IFS
78
79      ;;
80 esac
81 # We did not find ourselves, most probably we were run as `sh COMMAND'
82 # in which case we are not to be found in the path.
83 if test "x$as_myself" = x; then
84   as_myself=$0
85 fi
86 if test ! -f "$as_myself"; then
87   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
88   { (exit 1); exit 1; }
89 fi
90
91 # Work around bugs in pre-3.0 UWIN ksh.
92 for as_var in ENV MAIL MAILPATH
93 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
94 done
95 PS1='$ '
96 PS2='> '
97 PS4='+ '
98
99 # NLS nuisances.
100 for as_var in \
101   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
102   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
103   LC_TELEPHONE LC_TIME
104 do
105   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
106     eval $as_var=C; export $as_var
107   else
108     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
109   fi
110 done
111
112 # Required to use basename.
113 if expr a : '\(a\)' >/dev/null 2>&1 &&
114    test "X`expr 00001 : '.*\(...\)'`" = X001; then
115   as_expr=expr
116 else
117   as_expr=false
118 fi
119
120 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
121   as_basename=basename
122 else
123   as_basename=false
124 fi
125
126
127 # Name of the executable.
128 as_me=`$as_basename -- "$0" ||
129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
130          X"$0" : 'X\(//\)$' \| \
131          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
132 echo X/"$0" |
133     sed '/^.*\/\([^/][^/]*\)\/*$/{
134             s//\1/
135             q
136           }
137           /^X\/\(\/\/\)$/{
138             s//\1/
139             q
140           }
141           /^X\/\(\/\).*/{
142             s//\1/
143             q
144           }
145           s/.*/./; q'`
146
147 # CDPATH.
148 $as_unset CDPATH
149
150
151 if test "x$CONFIG_SHELL" = x; then
152   if (eval ":") 2>/dev/null; then
153   as_have_required=yes
154 else
155   as_have_required=no
156 fi
157
158   if test $as_have_required = yes &&     (eval ":
159 (as_func_return () {
160   (exit \$1)
161 }
162 as_func_success () {
163   as_func_return 0
164 }
165 as_func_failure () {
166   as_func_return 1
167 }
168 as_func_ret_success () {
169   return 0
170 }
171 as_func_ret_failure () {
172   return 1
173 }
174
175 exitcode=0
176 if as_func_success; then
177   :
178 else
179   exitcode=1
180   echo as_func_success failed.
181 fi
182
183 if as_func_failure; then
184   exitcode=1
185   echo as_func_failure succeeded.
186 fi
187
188 if as_func_ret_success; then
189   :
190 else
191   exitcode=1
192   echo as_func_ret_success failed.
193 fi
194
195 if as_func_ret_failure; then
196   exitcode=1
197   echo as_func_ret_failure succeeded.
198 fi
199
200 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
201   :
202 else
203   exitcode=1
204   echo positional parameters were not saved.
205 fi
206
207 test \$exitcode = 0) || { (exit 1); exit 1; }
208
209 (
210   as_lineno_1=\$LINENO
211   as_lineno_2=\$LINENO
212   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
213   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
214 ") 2> /dev/null; then
215   :
216 else
217   as_candidate_shells=
218     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 do
221   IFS=$as_save_IFS
222   test -z "$as_dir" && as_dir=.
223   case $as_dir in
224          /*)
225            for as_base in sh bash ksh sh5; do
226              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
227            done;;
228        esac
229 done
230 IFS=$as_save_IFS
231
232
233       for as_shell in $as_candidate_shells $SHELL; do
234          # Try only shells that exist, to save several forks.
235          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
236                 { ("$as_shell") 2> /dev/null <<\_ASEOF
237 # Be Bourne compatible
238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
239   emulate sh
240   NULLCMD=:
241   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
242   # is contrary to our usage.  Disable this feature.
243   alias -g '${1+"$@"}'='"$@"'
244   setopt NO_GLOB_SUBST
245 else
246   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247 fi
248 BIN_SH=xpg4; export BIN_SH # for Tru64
249 DUALCASE=1; export DUALCASE # for MKS sh
250
251 :
252 _ASEOF
253 }; then
254   CONFIG_SHELL=$as_shell
255                as_have_required=yes
256                if { "$as_shell" 2> /dev/null <<\_ASEOF
257 # Be Bourne compatible
258 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
259   emulate sh
260   NULLCMD=:
261   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
262   # is contrary to our usage.  Disable this feature.
263   alias -g '${1+"$@"}'='"$@"'
264   setopt NO_GLOB_SUBST
265 else
266   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267 fi
268 BIN_SH=xpg4; export BIN_SH # for Tru64
269 DUALCASE=1; export DUALCASE # for MKS sh
270
271 :
272 (as_func_return () {
273   (exit $1)
274 }
275 as_func_success () {
276   as_func_return 0
277 }
278 as_func_failure () {
279   as_func_return 1
280 }
281 as_func_ret_success () {
282   return 0
283 }
284 as_func_ret_failure () {
285   return 1
286 }
287
288 exitcode=0
289 if as_func_success; then
290   :
291 else
292   exitcode=1
293   echo as_func_success failed.
294 fi
295
296 if as_func_failure; then
297   exitcode=1
298   echo as_func_failure succeeded.
299 fi
300
301 if as_func_ret_success; then
302   :
303 else
304   exitcode=1
305   echo as_func_ret_success failed.
306 fi
307
308 if as_func_ret_failure; then
309   exitcode=1
310   echo as_func_ret_failure succeeded.
311 fi
312
313 if ( set x; as_func_ret_success y && test x = "$1" ); then
314   :
315 else
316   exitcode=1
317   echo positional parameters were not saved.
318 fi
319
320 test $exitcode = 0) || { (exit 1); exit 1; }
321
322 (
323   as_lineno_1=$LINENO
324   as_lineno_2=$LINENO
325   test "x$as_lineno_1" != "x$as_lineno_2" &&
326   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
327
328 _ASEOF
329 }; then
330   break
331 fi
332
333 fi
334
335       done
336
337       if test "x$CONFIG_SHELL" != x; then
338   for as_var in BASH_ENV ENV
339         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
340         done
341         export CONFIG_SHELL
342         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
343 fi
344
345
346     if test $as_have_required = no; then
347   echo This script requires a shell more modern than all the
348       echo shells that I found on your system.  Please install a
349       echo modern shell, or manually run the script under such a
350       echo shell if you do have one.
351       { (exit 1); exit 1; }
352 fi
353
354
355 fi
356
357 fi
358
359
360
361 (eval "as_func_return () {
362   (exit \$1)
363 }
364 as_func_success () {
365   as_func_return 0
366 }
367 as_func_failure () {
368   as_func_return 1
369 }
370 as_func_ret_success () {
371   return 0
372 }
373 as_func_ret_failure () {
374   return 1
375 }
376
377 exitcode=0
378 if as_func_success; then
379   :
380 else
381   exitcode=1
382   echo as_func_success failed.
383 fi
384
385 if as_func_failure; then
386   exitcode=1
387   echo as_func_failure succeeded.
388 fi
389
390 if as_func_ret_success; then
391   :
392 else
393   exitcode=1
394   echo as_func_ret_success failed.
395 fi
396
397 if as_func_ret_failure; then
398   exitcode=1
399   echo as_func_ret_failure succeeded.
400 fi
401
402 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
403   :
404 else
405   exitcode=1
406   echo positional parameters were not saved.
407 fi
408
409 test \$exitcode = 0") || {
410   echo No shell found that supports shell functions.
411   echo Please tell autoconf@gnu.org about your system,
412   echo including any error possibly output before this
413   echo message
414 }
415
416
417
418   as_lineno_1=$LINENO
419   as_lineno_2=$LINENO
420   test "x$as_lineno_1" != "x$as_lineno_2" &&
421   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
422
423   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
424   # uniformly replaced by the line number.  The first 'sed' inserts a
425   # line-number line after each line using $LINENO; the second 'sed'
426   # does the real work.  The second script uses 'N' to pair each
427   # line-number line with the line containing $LINENO, and appends
428   # trailing '-' during substitution so that $LINENO is not a special
429   # case at line end.
430   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
431   # scripts with optimization help from Paolo Bonzini.  Blame Lee
432   # E. McMahon (1931-1989) for sed's syntax.  :-)
433   sed -n '
434     p
435     /[$]LINENO/=
436   ' <$as_myself |
437     sed '
438       s/[$]LINENO.*/&-/
439       t lineno
440       b
441       :lineno
442       N
443       :loop
444       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445       t loop
446       s/-\n.*//
447     ' >$as_me.lineno &&
448   chmod +x "$as_me.lineno" ||
449     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
450    { (exit 1); exit 1; }; }
451
452   # Don't try to exec as it changes $[0], causing all sort of problems
453   # (the dirname of $[0] is not the place where we might find the
454   # original and so on.  Autoconf is especially sensitive to this).
455   . "./$as_me.lineno"
456   # Exit status is that of the last command.
457   exit
458 }
459
460
461 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
462   as_dirname=dirname
463 else
464   as_dirname=false
465 fi
466
467 ECHO_C= ECHO_N= ECHO_T=
468 case `echo -n x` in
469 -n*)
470   case `echo 'x\c'` in
471   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
472   *)   ECHO_C='\c';;
473   esac;;
474 *)
475   ECHO_N='-n';;
476 esac
477
478 if expr a : '\(a\)' >/dev/null 2>&1 &&
479    test "X`expr 00001 : '.*\(...\)'`" = X001; then
480   as_expr=expr
481 else
482   as_expr=false
483 fi
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir
491 fi
492 echo >conf$$.file
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
494   as_ln_s='ln -s'
495   # ... but there are two gotchas:
496   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498   # In both cases, we have to default to `cp -p'.
499   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500     as_ln_s='cp -p'
501 elif ln conf$$.file conf$$ 2>/dev/null; then
502   as_ln_s=ln
503 else
504   as_ln_s='cp -p'
505 fi
506 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
507 rmdir conf$$.dir 2>/dev/null
508
509 if mkdir -p . 2>/dev/null; then
510   as_mkdir_p=:
511 else
512   test -d ./-p && rmdir ./-p
513   as_mkdir_p=false
514 fi
515
516 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
517 # systems may use methods other than mode bits to determine executability.
518 cat >conf$$.file <<_ASEOF
519 #! /bin/sh
520 exit 0
521 _ASEOF
522 chmod +x conf$$.file
523 if test -x conf$$.file >/dev/null 2>&1; then
524   as_executable_p="test -x"
525 else
526   as_executable_p=:
527 fi
528 rm -f conf$$.file
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537
538 exec 7<&0 </dev/null 6>&1
539
540 # Name of the host.
541 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556 SHELL=${CONFIG_SHELL-/bin/sh}
557
558 # Identity of this package.
559 PACKAGE_NAME=
560 PACKAGE_TARNAME=
561 PACKAGE_VERSION=
562 PACKAGE_STRING=
563 PACKAGE_BUGREPORT=
564
565 ac_unique_file="MCONFIG.in"
566 ac_default_prefix=/usr
567 # Factoring default headers for most tests.
568 ac_includes_default="\
569 #include <stdio.h>
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
572 #endif
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
575 #endif
576 #ifdef STDC_HEADERS
577 # include <stdlib.h>
578 # include <stddef.h>
579 #else
580 # ifdef HAVE_STDLIB_H
581 #  include <stdlib.h>
582 # endif
583 #endif
584 #ifdef HAVE_STRING_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
586 #  include <memory.h>
587 # endif
588 # include <string.h>
589 #endif
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
592 #endif
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
595 #endif
596 #ifdef HAVE_STDINT_H
597 # include <stdint.h>
598 #endif
599 #ifdef HAVE_UNISTD_H
600 # include <unistd.h>
601 #endif"
602
603 ac_subst_vars='SHELL
604 PATH_SEPARATOR
605 PACKAGE_NAME
606 PACKAGE_TARNAME
607 PACKAGE_VERSION
608 PACKAGE_STRING
609 PACKAGE_BUGREPORT
610 exec_prefix
611 prefix
612 program_transform_name
613 bindir
614 sbindir
615 libexecdir
616 datarootdir
617 datadir
618 sysconfdir
619 sharedstatedir
620 localstatedir
621 includedir
622 oldincludedir
623 docdir
624 infodir
625 htmldir
626 dvidir
627 pdfdir
628 psdir
629 libdir
630 localedir
631 mandir
632 DEFS
633 ECHO_C
634 ECHO_N
635 ECHO_T
636 LIBS
637 build_alias
638 host_alias
639 target_alias
640 CC
641 CFLAGS
642 LDFLAGS
643 CPPFLAGS
644 ac_ct_CC
645 EXEEXT
646 OBJEXT
647 CPP
648 GREP
649 EGREP
650 RANLIB
651 INSTALL_PROGRAM
652 INSTALL_SCRIPT
653 INSTALL_DATA
654 LIBOBJS
655 LTLIBOBJS'
656 ac_subst_files=''
657       ac_precious_vars='build_alias
658 host_alias
659 target_alias
660 CC
661 CFLAGS
662 LDFLAGS
663 CPPFLAGS
664 CPP'
665
666
667 # Initialize some variables set by options.
668 ac_init_help=
669 ac_init_version=false
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
672 cache_file=/dev/null
673 exec_prefix=NONE
674 no_create=
675 no_recursion=
676 prefix=NONE
677 program_prefix=NONE
678 program_suffix=NONE
679 program_transform_name=s,x,x,
680 silent=
681 site=
682 srcdir=
683 verbose=
684 x_includes=NONE
685 x_libraries=NONE
686
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE}'
704 infodir='${datarootdir}/info'
705 htmldir='${docdir}'
706 dvidir='${docdir}'
707 pdfdir='${docdir}'
708 psdir='${docdir}'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
712
713 ac_prev=
714 ac_dashdash=
715 for ac_option
716 do
717   # If the previous option needs an argument, assign it.
718   if test -n "$ac_prev"; then
719     eval $ac_prev=\$ac_option
720     ac_prev=
721     continue
722   fi
723
724   case $ac_option in
725   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726   *)    ac_optarg=yes ;;
727   esac
728
729   # Accept the important Cygnus configure options, so we can diagnose typos.
730
731   case $ac_dashdash$ac_option in
732   --)
733     ac_dashdash=yes ;;
734
735   -bindir | --bindir | --bindi | --bind | --bin | --bi)
736     ac_prev=bindir ;;
737   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738     bindir=$ac_optarg ;;
739
740   -build | --build | --buil | --bui | --bu)
741     ac_prev=build_alias ;;
742   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743     build_alias=$ac_optarg ;;
744
745   -cache-file | --cache-file | --cache-fil | --cache-fi \
746   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747     ac_prev=cache_file ;;
748   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750     cache_file=$ac_optarg ;;
751
752   --config-cache | -C)
753     cache_file=config.cache ;;
754
755   -datadir | --datadir | --datadi | --datad)
756     ac_prev=datadir ;;
757   -datadir=* | --datadir=* | --datadi=* | --datad=*)
758     datadir=$ac_optarg ;;
759
760   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761   | --dataroo | --dataro | --datar)
762     ac_prev=datarootdir ;;
763   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765     datarootdir=$ac_optarg ;;
766
767   -disable-* | --disable-*)
768     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769     # Reject names that are not valid shell variable names.
770     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
771       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772    { (exit 1); exit 1; }; }
773     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
774     eval enable_$ac_feature=no ;;
775
776   -docdir | --docdir | --docdi | --doc | --do)
777     ac_prev=docdir ;;
778   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
779     docdir=$ac_optarg ;;
780
781   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
782     ac_prev=dvidir ;;
783   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
784     dvidir=$ac_optarg ;;
785
786   -enable-* | --enable-*)
787     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
788     # Reject names that are not valid shell variable names.
789     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
790       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
791    { (exit 1); exit 1; }; }
792     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
793     eval enable_$ac_feature=\$ac_optarg ;;
794
795   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
796   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
797   | --exec | --exe | --ex)
798     ac_prev=exec_prefix ;;
799   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
800   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
801   | --exec=* | --exe=* | --ex=*)
802     exec_prefix=$ac_optarg ;;
803
804   -gas | --gas | --ga | --g)
805     # Obsolete; use --with-gas.
806     with_gas=yes ;;
807
808   -help | --help | --hel | --he | -h)
809     ac_init_help=long ;;
810   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
811     ac_init_help=recursive ;;
812   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
813     ac_init_help=short ;;
814
815   -host | --host | --hos | --ho)
816     ac_prev=host_alias ;;
817   -host=* | --host=* | --hos=* | --ho=*)
818     host_alias=$ac_optarg ;;
819
820   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
821     ac_prev=htmldir ;;
822   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
823   | --ht=*)
824     htmldir=$ac_optarg ;;
825
826   -includedir | --includedir | --includedi | --included | --include \
827   | --includ | --inclu | --incl | --inc)
828     ac_prev=includedir ;;
829   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
830   | --includ=* | --inclu=* | --incl=* | --inc=*)
831     includedir=$ac_optarg ;;
832
833   -infodir | --infodir | --infodi | --infod | --info | --inf)
834     ac_prev=infodir ;;
835   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836     infodir=$ac_optarg ;;
837
838   -libdir | --libdir | --libdi | --libd)
839     ac_prev=libdir ;;
840   -libdir=* | --libdir=* | --libdi=* | --libd=*)
841     libdir=$ac_optarg ;;
842
843   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
844   | --libexe | --libex | --libe)
845     ac_prev=libexecdir ;;
846   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
847   | --libexe=* | --libex=* | --libe=*)
848     libexecdir=$ac_optarg ;;
849
850   -localedir | --localedir | --localedi | --localed | --locale)
851     ac_prev=localedir ;;
852   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853     localedir=$ac_optarg ;;
854
855   -localstatedir | --localstatedir | --localstatedi | --localstated \
856   | --localstate | --localstat | --localsta | --localst | --locals)
857     ac_prev=localstatedir ;;
858   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
859   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
860     localstatedir=$ac_optarg ;;
861
862   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
863     ac_prev=mandir ;;
864   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865     mandir=$ac_optarg ;;
866
867   -nfp | --nfp | --nf)
868     # Obsolete; use --without-fp.
869     with_fp=no ;;
870
871   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
872   | --no-cr | --no-c | -n)
873     no_create=yes ;;
874
875   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
876   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
877     no_recursion=yes ;;
878
879   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
880   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
881   | --oldin | --oldi | --old | --ol | --o)
882     ac_prev=oldincludedir ;;
883   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
884   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
885   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
886     oldincludedir=$ac_optarg ;;
887
888   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
889     ac_prev=prefix ;;
890   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
891     prefix=$ac_optarg ;;
892
893   -program-prefix | --program-prefix | --program-prefi | --program-pref \
894   | --program-pre | --program-pr | --program-p)
895     ac_prev=program_prefix ;;
896   -program-prefix=* | --program-prefix=* | --program-prefi=* \
897   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
898     program_prefix=$ac_optarg ;;
899
900   -program-suffix | --program-suffix | --program-suffi | --program-suff \
901   | --program-suf | --program-su | --program-s)
902     ac_prev=program_suffix ;;
903   -program-suffix=* | --program-suffix=* | --program-suffi=* \
904   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
905     program_suffix=$ac_optarg ;;
906
907   -program-transform-name | --program-transform-name \
908   | --program-transform-nam | --program-transform-na \
909   | --program-transform-n | --program-transform- \
910   | --program-transform | --program-transfor \
911   | --program-transfo | --program-transf \
912   | --program-trans | --program-tran \
913   | --progr-tra | --program-tr | --program-t)
914     ac_prev=program_transform_name ;;
915   -program-transform-name=* | --program-transform-name=* \
916   | --program-transform-nam=* | --program-transform-na=* \
917   | --program-transform-n=* | --program-transform-=* \
918   | --program-transform=* | --program-transfor=* \
919   | --program-transfo=* | --program-transf=* \
920   | --program-trans=* | --program-tran=* \
921   | --progr-tra=* | --program-tr=* | --program-t=*)
922     program_transform_name=$ac_optarg ;;
923
924   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
925     ac_prev=pdfdir ;;
926   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
927     pdfdir=$ac_optarg ;;
928
929   -psdir | --psdir | --psdi | --psd | --ps)
930     ac_prev=psdir ;;
931   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
932     psdir=$ac_optarg ;;
933
934   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
935   | -silent | --silent | --silen | --sile | --sil)
936     silent=yes ;;
937
938   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
939     ac_prev=sbindir ;;
940   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
941   | --sbi=* | --sb=*)
942     sbindir=$ac_optarg ;;
943
944   -sharedstatedir | --sharedstatedir | --sharedstatedi \
945   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
946   | --sharedst | --shareds | --shared | --share | --shar \
947   | --sha | --sh)
948     ac_prev=sharedstatedir ;;
949   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
950   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
951   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
952   | --sha=* | --sh=*)
953     sharedstatedir=$ac_optarg ;;
954
955   -site | --site | --sit)
956     ac_prev=site ;;
957   -site=* | --site=* | --sit=*)
958     site=$ac_optarg ;;
959
960   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
961     ac_prev=srcdir ;;
962   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
963     srcdir=$ac_optarg ;;
964
965   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
966   | --syscon | --sysco | --sysc | --sys | --sy)
967     ac_prev=sysconfdir ;;
968   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
969   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
970     sysconfdir=$ac_optarg ;;
971
972   -target | --target | --targe | --targ | --tar | --ta | --t)
973     ac_prev=target_alias ;;
974   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
975     target_alias=$ac_optarg ;;
976
977   -v | -verbose | --verbose | --verbos | --verbo | --verb)
978     verbose=yes ;;
979
980   -version | --version | --versio | --versi | --vers | -V)
981     ac_init_version=: ;;
982
983   -with-* | --with-*)
984     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
985     # Reject names that are not valid shell variable names.
986     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
987       { echo "$as_me: error: invalid package name: $ac_package" >&2
988    { (exit 1); exit 1; }; }
989     ac_package=`echo $ac_package| sed 's/-/_/g'`
990     eval with_$ac_package=\$ac_optarg ;;
991
992   -without-* | --without-*)
993     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
994     # Reject names that are not valid shell variable names.
995     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
996       { echo "$as_me: error: invalid package name: $ac_package" >&2
997    { (exit 1); exit 1; }; }
998     ac_package=`echo $ac_package | sed 's/-/_/g'`
999     eval with_$ac_package=no ;;
1000
1001   --x)
1002     # Obsolete; use --with-x.
1003     with_x=yes ;;
1004
1005   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1006   | --x-incl | --x-inc | --x-in | --x-i)
1007     ac_prev=x_includes ;;
1008   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1009   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1010     x_includes=$ac_optarg ;;
1011
1012   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1013   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1014     ac_prev=x_libraries ;;
1015   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1016   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1017     x_libraries=$ac_optarg ;;
1018
1019   -*) { echo "$as_me: error: unrecognized option: $ac_option
1020 Try \`$0 --help' for more information." >&2
1021    { (exit 1); exit 1; }; }
1022     ;;
1023
1024   *=*)
1025     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1026     # Reject names that are not valid shell variable names.
1027     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1028       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1029    { (exit 1); exit 1; }; }
1030     eval $ac_envvar=\$ac_optarg
1031     export $ac_envvar ;;
1032
1033   *)
1034     # FIXME: should be removed in autoconf 3.0.
1035     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1036     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1038     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1039     ;;
1040
1041   esac
1042 done
1043
1044 if test -n "$ac_prev"; then
1045   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1046   { echo "$as_me: error: missing argument to $ac_option" >&2
1047    { (exit 1); exit 1; }; }
1048 fi
1049
1050 # Be sure to have absolute directory names.
1051 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1052                 datadir sysconfdir sharedstatedir localstatedir includedir \
1053                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1054                 libdir localedir mandir
1055 do
1056   eval ac_val=\$$ac_var
1057   case $ac_val in
1058     [\\/$]* | ?:[\\/]* )  continue;;
1059     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1060   esac
1061   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1062    { (exit 1); exit 1; }; }
1063 done
1064
1065 # There might be people who depend on the old broken behavior: `$host'
1066 # used to hold the argument of --host etc.
1067 # FIXME: To remove some day.
1068 build=$build_alias
1069 host=$host_alias
1070 target=$target_alias
1071
1072 # FIXME: To remove some day.
1073 if test "x$host_alias" != x; then
1074   if test "x$build_alias" = x; then
1075     cross_compiling=maybe
1076     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1077     If a cross compiler is detected then cross compile mode will be used." >&2
1078   elif test "x$build_alias" != "x$host_alias"; then
1079     cross_compiling=yes
1080   fi
1081 fi
1082
1083 ac_tool_prefix=
1084 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1085
1086 test "$silent" = yes && exec 6>/dev/null
1087
1088
1089 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1090 ac_ls_di=`ls -di .` &&
1091 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1092   { echo "$as_me: error: Working directory cannot be determined" >&2
1093    { (exit 1); exit 1; }; }
1094 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1095   { echo "$as_me: error: pwd does not report name of working directory" >&2
1096    { (exit 1); exit 1; }; }
1097
1098
1099 # Find the source files, if location was not specified.
1100 if test -z "$srcdir"; then
1101   ac_srcdir_defaulted=yes
1102   # Try the directory containing this script, then the parent directory.
1103   ac_confdir=`$as_dirname -- "$0" ||
1104 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105          X"$0" : 'X\(//\)[^/]' \| \
1106          X"$0" : 'X\(//\)$' \| \
1107          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1108 echo X"$0" |
1109     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1110             s//\1/
1111             q
1112           }
1113           /^X\(\/\/\)[^/].*/{
1114             s//\1/
1115             q
1116           }
1117           /^X\(\/\/\)$/{
1118             s//\1/
1119             q
1120           }
1121           /^X\(\/\).*/{
1122             s//\1/
1123             q
1124           }
1125           s/.*/./; q'`
1126   srcdir=$ac_confdir
1127   if test ! -r "$srcdir/$ac_unique_file"; then
1128     srcdir=..
1129   fi
1130 else
1131   ac_srcdir_defaulted=no
1132 fi
1133 if test ! -r "$srcdir/$ac_unique_file"; then
1134   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1135   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1136    { (exit 1); exit 1; }; }
1137 fi
1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1139 ac_abs_confdir=`(
1140         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1141    { (exit 1); exit 1; }; }
1142         pwd)`
1143 # When building in place, set srcdir=.
1144 if test "$ac_abs_confdir" = "$ac_pwd"; then
1145   srcdir=.
1146 fi
1147 # Remove unnecessary trailing slashes from srcdir.
1148 # Double slashes in file names in object file debugging info
1149 # mess up M-x gdb in Emacs.
1150 case $srcdir in
1151 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1152 esac
1153 for ac_var in $ac_precious_vars; do
1154   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1155   eval ac_env_${ac_var}_value=\$${ac_var}
1156   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1157   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1158 done
1159
1160 #
1161 # Report the --help message.
1162 #
1163 if test "$ac_init_help" = "long"; then
1164   # Omit some internal or obsolete options to make the list less imposing.
1165   # This message is too long to be a string in the A/UX 3.1 sh.
1166   cat <<_ACEOF
1167 \`configure' configures this package to adapt to many kinds of systems.
1168
1169 Usage: $0 [OPTION]... [VAR=VALUE]...
1170
1171 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1172 VAR=VALUE.  See below for descriptions of some of the useful variables.
1173
1174 Defaults for the options are specified in brackets.
1175
1176 Configuration:
1177   -h, --help              display this help and exit
1178       --help=short        display options specific to this package
1179       --help=recursive    display the short help of all the included packages
1180   -V, --version           display version information and exit
1181   -q, --quiet, --silent   do not print \`checking...' messages
1182       --cache-file=FILE   cache test results in FILE [disabled]
1183   -C, --config-cache      alias for \`--cache-file=config.cache'
1184   -n, --no-create         do not create output files
1185       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1186
1187 Installation directories:
1188   --prefix=PREFIX         install architecture-independent files in PREFIX
1189                           [$ac_default_prefix]
1190   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1191                           [PREFIX]
1192
1193 By default, \`make install' will install all the files in
1194 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1195 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1196 for instance \`--prefix=\$HOME'.
1197
1198 For better control, use the options below.
1199
1200 Fine tuning of the installation directories:
1201   --bindir=DIR           user executables [EPREFIX/bin]
1202   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1203   --libexecdir=DIR       program executables [EPREFIX/libexec]
1204   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1205   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1206   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1207   --libdir=DIR           object code libraries [EPREFIX/lib]
1208   --includedir=DIR       C header files [PREFIX/include]
1209   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1210   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1211   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1212   --infodir=DIR          info documentation [DATAROOTDIR/info]
1213   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1214   --mandir=DIR           man documentation [DATAROOTDIR/man]
1215   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1216   --htmldir=DIR          html documentation [DOCDIR]
1217   --dvidir=DIR           dvi documentation [DOCDIR]
1218   --pdfdir=DIR           pdf documentation [DOCDIR]
1219   --psdir=DIR            ps documentation [DOCDIR]
1220 _ACEOF
1221
1222   cat <<\_ACEOF
1223 _ACEOF
1224 fi
1225
1226 if test -n "$ac_init_help"; then
1227
1228   cat <<\_ACEOF
1229
1230 Optional Features:
1231   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1232   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1233   --disable-largefile     omit support for large files
1234
1235 Some influential environment variables:
1236   CC          C compiler command
1237   CFLAGS      C compiler flags
1238   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1239               nonstandard directory <lib dir>
1240   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1241               you have headers in a nonstandard directory <include dir>
1242   CPP         C preprocessor
1243
1244 Use these variables to override the choices made by `configure' or to help
1245 it to find libraries and programs with nonstandard names/locations.
1246
1247 _ACEOF
1248 ac_status=$?
1249 fi
1250
1251 if test "$ac_init_help" = "recursive"; then
1252   # If there are subdirs, report their specific --help.
1253   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254     test -d "$ac_dir" || continue
1255     ac_builddir=.
1256
1257 case "$ac_dir" in
1258 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1259 *)
1260   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1261   # A ".." for each directory in $ac_dir_suffix.
1262   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1263   case $ac_top_builddir_sub in
1264   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1265   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1266   esac ;;
1267 esac
1268 ac_abs_top_builddir=$ac_pwd
1269 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1270 # for backward compatibility:
1271 ac_top_builddir=$ac_top_build_prefix
1272
1273 case $srcdir in
1274   .)  # We are building in place.
1275     ac_srcdir=.
1276     ac_top_srcdir=$ac_top_builddir_sub
1277     ac_abs_top_srcdir=$ac_pwd ;;
1278   [\\/]* | ?:[\\/]* )  # Absolute name.
1279     ac_srcdir=$srcdir$ac_dir_suffix;
1280     ac_top_srcdir=$srcdir
1281     ac_abs_top_srcdir=$srcdir ;;
1282   *) # Relative name.
1283     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1284     ac_top_srcdir=$ac_top_build_prefix$srcdir
1285     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1286 esac
1287 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1288
1289     cd "$ac_dir" || { ac_status=$?; continue; }
1290     # Check for guested configure.
1291     if test -f "$ac_srcdir/configure.gnu"; then
1292       echo &&
1293       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1294     elif test -f "$ac_srcdir/configure"; then
1295       echo &&
1296       $SHELL "$ac_srcdir/configure" --help=recursive
1297     else
1298       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1299     fi || ac_status=$?
1300     cd "$ac_pwd" || { ac_status=$?; break; }
1301   done
1302 fi
1303
1304 test -n "$ac_init_help" && exit $ac_status
1305 if $ac_init_version; then
1306   cat <<\_ACEOF
1307 configure
1308 generated by GNU Autoconf 2.60a
1309
1310 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1311 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1312 This configure script is free software; the Free Software Foundation
1313 gives unlimited permission to copy, distribute and modify it.
1314 _ACEOF
1315   exit
1316 fi
1317 cat >config.log <<_ACEOF
1318 This file contains any messages produced by compilers while
1319 running configure, to aid debugging if configure makes a mistake.
1320
1321 It was created by $as_me, which was
1322 generated by GNU Autoconf 2.60a.  Invocation command line was
1323
1324   $ $0 $@
1325
1326 _ACEOF
1327 exec 5>>config.log
1328 {
1329 cat <<_ASUNAME
1330 ## --------- ##
1331 ## Platform. ##
1332 ## --------- ##
1333
1334 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1335 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1336 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1337 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1338 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1339
1340 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1341 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1342
1343 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1344 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1345 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1346 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1347 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1348 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1349 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1350
1351 _ASUNAME
1352
1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1354 for as_dir in $PATH
1355 do
1356   IFS=$as_save_IFS
1357   test -z "$as_dir" && as_dir=.
1358   echo "PATH: $as_dir"
1359 done
1360 IFS=$as_save_IFS
1361
1362 } >&5
1363
1364 cat >&5 <<_ACEOF
1365
1366
1367 ## ----------- ##
1368 ## Core tests. ##
1369 ## ----------- ##
1370
1371 _ACEOF
1372
1373
1374 # Keep a trace of the command line.
1375 # Strip out --no-create and --no-recursion so they do not pile up.
1376 # Strip out --silent because we don't want to record it for future runs.
1377 # Also quote any args containing shell meta-characters.
1378 # Make two passes to allow for proper duplicate-argument suppression.
1379 ac_configure_args=
1380 ac_configure_args0=
1381 ac_configure_args1=
1382 ac_must_keep_next=false
1383 for ac_pass in 1 2
1384 do
1385   for ac_arg
1386   do
1387     case $ac_arg in
1388     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1389     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390     | -silent | --silent | --silen | --sile | --sil)
1391       continue ;;
1392     *\'*)
1393       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1394     esac
1395     case $ac_pass in
1396     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1397     2)
1398       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1399       if test $ac_must_keep_next = true; then
1400         ac_must_keep_next=false # Got value, back to normal.
1401       else
1402         case $ac_arg in
1403           *=* | --config-cache | -C | -disable-* | --disable-* \
1404           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1405           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1406           | -with-* | --with-* | -without-* | --without-* | --x)
1407             case "$ac_configure_args0 " in
1408               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1409             esac
1410             ;;
1411           -* ) ac_must_keep_next=true ;;
1412         esac
1413       fi
1414       ac_configure_args="$ac_configure_args '$ac_arg'"
1415       ;;
1416     esac
1417   done
1418 done
1419 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1420 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1421
1422 # When interrupted or exit'd, cleanup temporary files, and complete
1423 # config.log.  We remove comments because anyway the quotes in there
1424 # would cause problems or look ugly.
1425 # WARNING: Use '\'' to represent an apostrophe within the trap.
1426 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1427 trap 'exit_status=$?
1428   # Save into config.log some information that might help in debugging.
1429   {
1430     echo
1431
1432     cat <<\_ASBOX
1433 ## ---------------- ##
1434 ## Cache variables. ##
1435 ## ---------------- ##
1436 _ASBOX
1437     echo
1438     # The following way of writing the cache mishandles newlines in values,
1439 (
1440   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1441     eval ac_val=\$$ac_var
1442     case $ac_val in #(
1443     *${as_nl}*)
1444       case $ac_var in #(
1445       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1446 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1447       esac
1448       case $ac_var in #(
1449       _ | IFS | as_nl) ;; #(
1450       *) $as_unset $ac_var ;;
1451       esac ;;
1452     esac
1453   done
1454   (set) 2>&1 |
1455     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1456     *${as_nl}ac_space=\ *)
1457       sed -n \
1458         "s/'\''/'\''\\\\'\'''\''/g;
1459           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1460       ;; #(
1461     *)
1462       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1463       ;;
1464     esac |
1465     sort
1466 )
1467     echo
1468
1469     cat <<\_ASBOX
1470 ## ----------------- ##
1471 ## Output variables. ##
1472 ## ----------------- ##
1473 _ASBOX
1474     echo
1475     for ac_var in $ac_subst_vars
1476     do
1477       eval ac_val=\$$ac_var
1478       case $ac_val in
1479       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1480       esac
1481       echo "$ac_var='\''$ac_val'\''"
1482     done | sort
1483     echo
1484
1485     if test -n "$ac_subst_files"; then
1486       cat <<\_ASBOX
1487 ## ------------------- ##
1488 ## File substitutions. ##
1489 ## ------------------- ##
1490 _ASBOX
1491       echo
1492       for ac_var in $ac_subst_files
1493       do
1494         eval ac_val=\$$ac_var
1495         case $ac_val in
1496         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1497         esac
1498         echo "$ac_var='\''$ac_val'\''"
1499       done | sort
1500       echo
1501     fi
1502
1503     if test -s confdefs.h; then
1504       cat <<\_ASBOX
1505 ## ----------- ##
1506 ## confdefs.h. ##
1507 ## ----------- ##
1508 _ASBOX
1509       echo
1510       cat confdefs.h
1511       echo
1512     fi
1513     test "$ac_signal" != 0 &&
1514       echo "$as_me: caught signal $ac_signal"
1515     echo "$as_me: exit $exit_status"
1516   } >&5
1517   rm -f core *.core core.conftest.* &&
1518     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1519     exit $exit_status
1520 ' 0
1521 for ac_signal in 1 2 13 15; do
1522   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1523 done
1524 ac_signal=0
1525
1526 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1527 rm -f -r conftest* confdefs.h
1528
1529 # Predefined preprocessor variables.
1530
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1533 _ACEOF
1534
1535
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1538 _ACEOF
1539
1540
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1543 _ACEOF
1544
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1548 _ACEOF
1549
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1553 _ACEOF
1554
1555
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -n "$CONFIG_SITE"; then
1559   set x "$CONFIG_SITE"
1560 elif test "x$prefix" != xNONE; then
1561   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1562 else
1563   set x "$ac_default_prefix/share/config.site" \
1564         "$ac_default_prefix/etc/config.site"
1565 fi
1566 shift
1567 for ac_site_file
1568 do
1569   if test -r "$ac_site_file"; then
1570     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1571 echo "$as_me: loading site script $ac_site_file" >&6;}
1572     sed 's/^/| /' "$ac_site_file" >&5
1573     . "$ac_site_file"
1574   fi
1575 done
1576
1577 if test -r "$cache_file"; then
1578   # Some versions of bash will fail to source /dev/null (special
1579   # files actually), so we avoid doing that.
1580   if test -f "$cache_file"; then
1581     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1582 echo "$as_me: loading cache $cache_file" >&6;}
1583     case $cache_file in
1584       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1585       *)                      . "./$cache_file";;
1586     esac
1587   fi
1588 else
1589   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1590 echo "$as_me: creating cache $cache_file" >&6;}
1591   >$cache_file
1592 fi
1593
1594 # Check that the precious variables saved in the cache have kept the same
1595 # value.
1596 ac_cache_corrupted=false
1597 for ac_var in $ac_precious_vars; do
1598   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1599   eval ac_new_set=\$ac_env_${ac_var}_set
1600   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1601   eval ac_new_val=\$ac_env_${ac_var}_value
1602   case $ac_old_set,$ac_new_set in
1603     set,)
1604       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1605 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1606       ac_cache_corrupted=: ;;
1607     ,set)
1608       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1609 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1610       ac_cache_corrupted=: ;;
1611     ,);;
1612     *)
1613       if test "x$ac_old_val" != "x$ac_new_val"; then
1614         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1615 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1616         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1617 echo "$as_me:   former value:  $ac_old_val" >&2;}
1618         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1619 echo "$as_me:   current value: $ac_new_val" >&2;}
1620         ac_cache_corrupted=:
1621       fi;;
1622   esac
1623   # Pass precious variables to config.status.
1624   if test "$ac_new_set" = set; then
1625     case $ac_new_val in
1626     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1627     *) ac_arg=$ac_var=$ac_new_val ;;
1628     esac
1629     case " $ac_configure_args " in
1630       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1631       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1632     esac
1633   fi
1634 done
1635 if $ac_cache_corrupted; then
1636   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1637 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1638   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1639 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1640    { (exit 1); exit 1; }; }
1641 fi
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659 ac_ext=c
1660 ac_cpp='$CPP $CPPFLAGS'
1661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1664
1665
1666
1667
1668 ac_ext=c
1669 ac_cpp='$CPP $CPPFLAGS'
1670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1673 if test -n "$ac_tool_prefix"; then
1674   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1675 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1678 if test "${ac_cv_prog_CC+set}" = set; then
1679   echo $ECHO_N "(cached) $ECHO_C" >&6
1680 else
1681   if test -n "$CC"; then
1682   ac_cv_prog_CC="$CC" # Let the user override the test.
1683 else
1684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1685 for as_dir in $PATH
1686 do
1687   IFS=$as_save_IFS
1688   test -z "$as_dir" && as_dir=.
1689   for ac_exec_ext in '' $ac_executable_extensions; do
1690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1691     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693     break 2
1694   fi
1695 done
1696 done
1697 IFS=$as_save_IFS
1698
1699 fi
1700 fi
1701 CC=$ac_cv_prog_CC
1702 if test -n "$CC"; then
1703   { echo "$as_me:$LINENO: result: $CC" >&5
1704 echo "${ECHO_T}$CC" >&6; }
1705 else
1706   { echo "$as_me:$LINENO: result: no" >&5
1707 echo "${ECHO_T}no" >&6; }
1708 fi
1709
1710
1711 fi
1712 if test -z "$ac_cv_prog_CC"; then
1713   ac_ct_CC=$CC
1714   # Extract the first word of "gcc", so it can be a program name with args.
1715 set dummy gcc; ac_word=$2
1716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1718 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1719   echo $ECHO_N "(cached) $ECHO_C" >&6
1720 else
1721   if test -n "$ac_ct_CC"; then
1722   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1723 else
1724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 for as_dir in $PATH
1726 do
1727   IFS=$as_save_IFS
1728   test -z "$as_dir" && as_dir=.
1729   for ac_exec_ext in '' $ac_executable_extensions; do
1730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1731     ac_cv_prog_ac_ct_CC="gcc"
1732     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733     break 2
1734   fi
1735 done
1736 done
1737 IFS=$as_save_IFS
1738
1739 fi
1740 fi
1741 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1742 if test -n "$ac_ct_CC"; then
1743   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1744 echo "${ECHO_T}$ac_ct_CC" >&6; }
1745 else
1746   { echo "$as_me:$LINENO: result: no" >&5
1747 echo "${ECHO_T}no" >&6; }
1748 fi
1749
1750   if test "x$ac_ct_CC" = x; then
1751     CC=""
1752   else
1753     case $cross_compiling:$ac_tool_warned in
1754 yes:)
1755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1756 whose name does not start with the host triplet.  If you think this
1757 configuration is useful to you, please write to autoconf@gnu.org." >&5
1758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1759 whose name does not start with the host triplet.  If you think this
1760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1761 ac_tool_warned=yes ;;
1762 esac
1763     CC=$ac_ct_CC
1764   fi
1765 else
1766   CC="$ac_cv_prog_CC"
1767 fi
1768
1769 if test -z "$CC"; then
1770           if test -n "$ac_tool_prefix"; then
1771     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1772 set dummy ${ac_tool_prefix}cc; ac_word=$2
1773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1775 if test "${ac_cv_prog_CC+set}" = set; then
1776   echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778   if test -n "$CC"; then
1779   ac_cv_prog_CC="$CC" # Let the user override the test.
1780 else
1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 for as_dir in $PATH
1783 do
1784   IFS=$as_save_IFS
1785   test -z "$as_dir" && as_dir=.
1786   for ac_exec_ext in '' $ac_executable_extensions; do
1787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1788     ac_cv_prog_CC="${ac_tool_prefix}cc"
1789     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1790     break 2
1791   fi
1792 done
1793 done
1794 IFS=$as_save_IFS
1795
1796 fi
1797 fi
1798 CC=$ac_cv_prog_CC
1799 if test -n "$CC"; then
1800   { echo "$as_me:$LINENO: result: $CC" >&5
1801 echo "${ECHO_T}$CC" >&6; }
1802 else
1803   { echo "$as_me:$LINENO: result: no" >&5
1804 echo "${ECHO_T}no" >&6; }
1805 fi
1806
1807
1808   fi
1809 fi
1810 if test -z "$CC"; then
1811   # Extract the first word of "cc", so it can be a program name with args.
1812 set dummy cc; ac_word=$2
1813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1815 if test "${ac_cv_prog_CC+set}" = set; then
1816   echo $ECHO_N "(cached) $ECHO_C" >&6
1817 else
1818   if test -n "$CC"; then
1819   ac_cv_prog_CC="$CC" # Let the user override the test.
1820 else
1821   ac_prog_rejected=no
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1823 for as_dir in $PATH
1824 do
1825   IFS=$as_save_IFS
1826   test -z "$as_dir" && as_dir=.
1827   for ac_exec_ext in '' $ac_executable_extensions; do
1828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1829     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1830        ac_prog_rejected=yes
1831        continue
1832      fi
1833     ac_cv_prog_CC="cc"
1834     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835     break 2
1836   fi
1837 done
1838 done
1839 IFS=$as_save_IFS
1840
1841 if test $ac_prog_rejected = yes; then
1842   # We found a bogon in the path, so make sure we never use it.
1843   set dummy $ac_cv_prog_CC
1844   shift
1845   if test $# != 0; then
1846     # We chose a different compiler from the bogus one.
1847     # However, it has the same basename, so the bogon will be chosen
1848     # first if we set CC to just the basename; use the full file name.
1849     shift
1850     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1851   fi
1852 fi
1853 fi
1854 fi
1855 CC=$ac_cv_prog_CC
1856 if test -n "$CC"; then
1857   { echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6; }
1859 else
1860   { echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6; }
1862 fi
1863
1864
1865 fi
1866 if test -z "$CC"; then
1867   if test -n "$ac_tool_prefix"; then
1868   for ac_prog in cl.exe
1869   do
1870     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1874 if test "${ac_cv_prog_CC+set}" = set; then
1875   echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877   if test -n "$CC"; then
1878   ac_cv_prog_CC="$CC" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885   for ac_exec_ext in '' $ac_executable_extensions; do
1886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1887     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893 IFS=$as_save_IFS
1894
1895 fi
1896 fi
1897 CC=$ac_cv_prog_CC
1898 if test -n "$CC"; then
1899   { echo "$as_me:$LINENO: result: $CC" >&5
1900 echo "${ECHO_T}$CC" >&6; }
1901 else
1902   { echo "$as_me:$LINENO: result: no" >&5
1903 echo "${ECHO_T}no" >&6; }
1904 fi
1905
1906
1907     test -n "$CC" && break
1908   done
1909 fi
1910 if test -z "$CC"; then
1911   ac_ct_CC=$CC
1912   for ac_prog in cl.exe
1913 do
1914   # Extract the first word of "$ac_prog", so it can be a program name with args.
1915 set dummy $ac_prog; ac_word=$2
1916 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1919   echo $ECHO_N "(cached) $ECHO_C" >&6
1920 else
1921   if test -n "$ac_ct_CC"; then
1922   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1923 else
1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1925 for as_dir in $PATH
1926 do
1927   IFS=$as_save_IFS
1928   test -z "$as_dir" && as_dir=.
1929   for ac_exec_ext in '' $ac_executable_extensions; do
1930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1931     ac_cv_prog_ac_ct_CC="$ac_prog"
1932     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933     break 2
1934   fi
1935 done
1936 done
1937 IFS=$as_save_IFS
1938
1939 fi
1940 fi
1941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1942 if test -n "$ac_ct_CC"; then
1943   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1944 echo "${ECHO_T}$ac_ct_CC" >&6; }
1945 else
1946   { echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6; }
1948 fi
1949
1950
1951   test -n "$ac_ct_CC" && break
1952 done
1953
1954   if test "x$ac_ct_CC" = x; then
1955     CC=""
1956   else
1957     case $cross_compiling:$ac_tool_warned in
1958 yes:)
1959 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1960 whose name does not start with the host triplet.  If you think this
1961 configuration is useful to you, please write to autoconf@gnu.org." >&5
1962 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1963 whose name does not start with the host triplet.  If you think this
1964 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1965 ac_tool_warned=yes ;;
1966 esac
1967     CC=$ac_ct_CC
1968   fi
1969 fi
1970
1971 fi
1972
1973
1974 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1975 See \`config.log' for more details." >&5
1976 echo "$as_me: error: no acceptable C compiler found in \$PATH
1977 See \`config.log' for more details." >&2;}
1978    { (exit 1); exit 1; }; }
1979
1980 # Provide some information about the compiler.
1981 echo "$as_me:$LINENO: checking for C compiler version" >&5
1982 ac_compiler=`set X $ac_compile; echo $2`
1983 { (ac_try="$ac_compiler --version >&5"
1984 case "(($ac_try" in
1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986   *) ac_try_echo=$ac_try;;
1987 esac
1988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1989   (eval "$ac_compiler --version >&5") 2>&5
1990   ac_status=$?
1991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992   (exit $ac_status); }
1993 { (ac_try="$ac_compiler -v >&5"
1994 case "(($ac_try" in
1995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996   *) ac_try_echo=$ac_try;;
1997 esac
1998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1999   (eval "$ac_compiler -v >&5") 2>&5
2000   ac_status=$?
2001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002   (exit $ac_status); }
2003 { (ac_try="$ac_compiler -V >&5"
2004 case "(($ac_try" in
2005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006   *) ac_try_echo=$ac_try;;
2007 esac
2008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2009   (eval "$ac_compiler -V >&5") 2>&5
2010   ac_status=$?
2011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012   (exit $ac_status); }
2013
2014 cat >conftest.$ac_ext <<_ACEOF
2015 /* confdefs.h.  */
2016 _ACEOF
2017 cat confdefs.h >>conftest.$ac_ext
2018 cat >>conftest.$ac_ext <<_ACEOF
2019 /* end confdefs.h.  */
2020
2021 int
2022 main ()
2023 {
2024
2025   ;
2026   return 0;
2027 }
2028 _ACEOF
2029 ac_clean_files_save=$ac_clean_files
2030 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2031 # Try to create an executable without -o first, disregard a.out.
2032 # It will help us diagnose broken compilers, and finding out an intuition
2033 # of exeext.
2034 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2035 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2036 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2037 #
2038 # List of possible output files, starting from the most likely.
2039 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2040 # only as a last resort.  b.out is created by i960 compilers.
2041 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2042 #
2043 # The IRIX 6 linker writes into existing files which may not be
2044 # executable, retaining their permissions.  Remove them first so a
2045 # subsequent execution test works.
2046 ac_rmfiles=
2047 for ac_file in $ac_files
2048 do
2049   case $ac_file in
2050     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2051     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2052   esac
2053 done
2054 rm -f $ac_rmfiles
2055
2056 if { (ac_try="$ac_link_default"
2057 case "(($ac_try" in
2058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2059   *) ac_try_echo=$ac_try;;
2060 esac
2061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2062   (eval "$ac_link_default") 2>&5
2063   ac_status=$?
2064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065   (exit $ac_status); }; then
2066   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2067 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2068 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2069 # so that the user can short-circuit this test for compilers unknown to
2070 # Autoconf.
2071 for ac_file in $ac_files ''
2072 do
2073   test -f "$ac_file" || continue
2074   case $ac_file in
2075     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2076         ;;
2077     [ab].out )
2078         # We found the default executable, but exeext='' is most
2079         # certainly right.
2080         break;;
2081     *.* )
2082         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2083         then :; else
2084            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2085         fi
2086         # We set ac_cv_exeext here because the later test for it is not
2087         # safe: cross compilers may not add the suffix if given an `-o'
2088         # argument, so we may need to know it at that point already.
2089         # Even if this section looks crufty: it has the advantage of
2090         # actually working.
2091         break;;
2092     * )
2093         break;;
2094   esac
2095 done
2096 test "$ac_cv_exeext" = no && ac_cv_exeext=
2097
2098 else
2099   ac_file=''
2100 fi
2101
2102 { echo "$as_me:$LINENO: result: $ac_file" >&5
2103 echo "${ECHO_T}$ac_file" >&6; }
2104 if test -z "$ac_file"; then
2105   echo "$as_me: failed program was:" >&5
2106 sed 's/^/| /' conftest.$ac_ext >&5
2107
2108 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2109 See \`config.log' for more details." >&5
2110 echo "$as_me: error: C compiler cannot create executables
2111 See \`config.log' for more details." >&2;}
2112    { (exit 77); exit 77; }; }
2113 fi
2114
2115 ac_exeext=$ac_cv_exeext
2116
2117 # Check that the compiler produces executables we can run.  If not, either
2118 # the compiler is broken, or we cross compile.
2119 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2120 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2121 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2122 # If not cross compiling, check that we can run a simple program.
2123 if test "$cross_compiling" != yes; then
2124   if { ac_try='./$ac_file'
2125   { (case "(($ac_try" in
2126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127   *) ac_try_echo=$ac_try;;
2128 esac
2129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2130   (eval "$ac_try") 2>&5
2131   ac_status=$?
2132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133   (exit $ac_status); }; }; then
2134     cross_compiling=no
2135   else
2136     if test "$cross_compiling" = maybe; then
2137         cross_compiling=yes
2138     else
2139         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2140 If you meant to cross compile, use \`--host'.
2141 See \`config.log' for more details." >&5
2142 echo "$as_me: error: cannot run C compiled programs.
2143 If you meant to cross compile, use \`--host'.
2144 See \`config.log' for more details." >&2;}
2145    { (exit 1); exit 1; }; }
2146     fi
2147   fi
2148 fi
2149 { echo "$as_me:$LINENO: result: yes" >&5
2150 echo "${ECHO_T}yes" >&6; }
2151
2152 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2153 ac_clean_files=$ac_clean_files_save
2154 # Check that the compiler produces executables we can run.  If not, either
2155 # the compiler is broken, or we cross compile.
2156 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2157 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2158 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2159 echo "${ECHO_T}$cross_compiling" >&6; }
2160
2161 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2162 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2163 if { (ac_try="$ac_link"
2164 case "(($ac_try" in
2165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2166   *) ac_try_echo=$ac_try;;
2167 esac
2168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2169   (eval "$ac_link") 2>&5
2170   ac_status=$?
2171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2172   (exit $ac_status); }; then
2173   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2174 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2175 # work properly (i.e., refer to `conftest.exe'), while it won't with
2176 # `rm'.
2177 for ac_file in conftest.exe conftest conftest.*; do
2178   test -f "$ac_file" || continue
2179   case $ac_file in
2180     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2181     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2182           break;;
2183     * ) break;;
2184   esac
2185 done
2186 else
2187   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2188 See \`config.log' for more details." >&5
2189 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2190 See \`config.log' for more details." >&2;}
2191    { (exit 1); exit 1; }; }
2192 fi
2193
2194 rm -f conftest$ac_cv_exeext
2195 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2196 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2197
2198 rm -f conftest.$ac_ext
2199 EXEEXT=$ac_cv_exeext
2200 ac_exeext=$EXEEXT
2201 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2202 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2203 if test "${ac_cv_objext+set}" = set; then
2204   echo $ECHO_N "(cached) $ECHO_C" >&6
2205 else
2206   cat >conftest.$ac_ext <<_ACEOF
2207 /* confdefs.h.  */
2208 _ACEOF
2209 cat confdefs.h >>conftest.$ac_ext
2210 cat >>conftest.$ac_ext <<_ACEOF
2211 /* end confdefs.h.  */
2212
2213 int
2214 main ()
2215 {
2216
2217   ;
2218   return 0;
2219 }
2220 _ACEOF
2221 rm -f conftest.o conftest.obj
2222 if { (ac_try="$ac_compile"
2223 case "(($ac_try" in
2224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225   *) ac_try_echo=$ac_try;;
2226 esac
2227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2228   (eval "$ac_compile") 2>&5
2229   ac_status=$?
2230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231   (exit $ac_status); }; then
2232   for ac_file in conftest.o conftest.obj conftest.*; do
2233   test -f "$ac_file" || continue;
2234   case $ac_file in
2235     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2236     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2237        break;;
2238   esac
2239 done
2240 else
2241   echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2243
2244 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2247 See \`config.log' for more details." >&2;}
2248    { (exit 1); exit 1; }; }
2249 fi
2250
2251 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2252 fi
2253 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2254 echo "${ECHO_T}$ac_cv_objext" >&6; }
2255 OBJEXT=$ac_cv_objext
2256 ac_objext=$OBJEXT
2257 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2258 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2259 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2260   echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262   cat >conftest.$ac_ext <<_ACEOF
2263 /* confdefs.h.  */
2264 _ACEOF
2265 cat confdefs.h >>conftest.$ac_ext
2266 cat >>conftest.$ac_ext <<_ACEOF
2267 /* end confdefs.h.  */
2268
2269 int
2270 main ()
2271 {
2272 #ifndef __GNUC__
2273        choke me
2274 #endif
2275
2276   ;
2277   return 0;
2278 }
2279 _ACEOF
2280 rm -f conftest.$ac_objext
2281 if { (ac_try="$ac_compile"
2282 case "(($ac_try" in
2283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2284   *) ac_try_echo=$ac_try;;
2285 esac
2286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2287   (eval "$ac_compile") 2>conftest.er1
2288   ac_status=$?
2289   grep -v '^ *+' conftest.er1 >conftest.err
2290   rm -f conftest.er1
2291   cat conftest.err >&5
2292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293   (exit $ac_status); } &&
2294          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2295   { (case "(($ac_try" in
2296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297   *) ac_try_echo=$ac_try;;
2298 esac
2299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2300   (eval "$ac_try") 2>&5
2301   ac_status=$?
2302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303   (exit $ac_status); }; } &&
2304          { ac_try='test -s conftest.$ac_objext'
2305   { (case "(($ac_try" in
2306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307   *) ac_try_echo=$ac_try;;
2308 esac
2309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2310   (eval "$ac_try") 2>&5
2311   ac_status=$?
2312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313   (exit $ac_status); }; }; then
2314   ac_compiler_gnu=yes
2315 else
2316   echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2318
2319         ac_compiler_gnu=no
2320 fi
2321
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2324
2325 fi
2326 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2327 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2328 GCC=`test $ac_compiler_gnu = yes && echo yes`
2329 ac_test_CFLAGS=${CFLAGS+set}
2330 ac_save_CFLAGS=$CFLAGS
2331 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2332 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_cc_g+set}" = set; then
2334   echo $ECHO_N "(cached) $ECHO_C" >&6
2335 else
2336   ac_save_c_werror_flag=$ac_c_werror_flag
2337    ac_c_werror_flag=yes
2338    ac_cv_prog_cc_g=no
2339    CFLAGS="-g"
2340    cat >conftest.$ac_ext <<_ACEOF
2341 /* confdefs.h.  */
2342 _ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h.  */
2346
2347 int
2348 main ()
2349 {
2350
2351   ;
2352   return 0;
2353 }
2354 _ACEOF
2355 rm -f conftest.$ac_objext
2356 if { (ac_try="$ac_compile"
2357 case "(($ac_try" in
2358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359   *) ac_try_echo=$ac_try;;
2360 esac
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362   (eval "$ac_compile") 2>conftest.er1
2363   ac_status=$?
2364   grep -v '^ *+' conftest.er1 >conftest.err
2365   rm -f conftest.er1
2366   cat conftest.err >&5
2367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368   (exit $ac_status); } &&
2369          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2370   { (case "(($ac_try" in
2371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372   *) ac_try_echo=$ac_try;;
2373 esac
2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2375   (eval "$ac_try") 2>&5
2376   ac_status=$?
2377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378   (exit $ac_status); }; } &&
2379          { ac_try='test -s conftest.$ac_objext'
2380   { (case "(($ac_try" in
2381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382   *) ac_try_echo=$ac_try;;
2383 esac
2384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2385   (eval "$ac_try") 2>&5
2386   ac_status=$?
2387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388   (exit $ac_status); }; }; then
2389   ac_cv_prog_cc_g=yes
2390 else
2391   echo "$as_me: failed program was:" >&5
2392 sed 's/^/| /' conftest.$ac_ext >&5
2393
2394         CFLAGS=""
2395       cat >conftest.$ac_ext <<_ACEOF
2396 /* confdefs.h.  */
2397 _ACEOF
2398 cat confdefs.h >>conftest.$ac_ext
2399 cat >>conftest.$ac_ext <<_ACEOF
2400 /* end confdefs.h.  */
2401
2402 int
2403 main ()
2404 {
2405
2406   ;
2407   return 0;
2408 }
2409 _ACEOF
2410 rm -f conftest.$ac_objext
2411 if { (ac_try="$ac_compile"
2412 case "(($ac_try" in
2413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414   *) ac_try_echo=$ac_try;;
2415 esac
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417   (eval "$ac_compile") 2>conftest.er1
2418   ac_status=$?
2419   grep -v '^ *+' conftest.er1 >conftest.err
2420   rm -f conftest.er1
2421   cat conftest.err >&5
2422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423   (exit $ac_status); } &&
2424          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2425   { (case "(($ac_try" in
2426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427   *) ac_try_echo=$ac_try;;
2428 esac
2429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2430   (eval "$ac_try") 2>&5
2431   ac_status=$?
2432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433   (exit $ac_status); }; } &&
2434          { ac_try='test -s conftest.$ac_objext'
2435   { (case "(($ac_try" in
2436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2437   *) ac_try_echo=$ac_try;;
2438 esac
2439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2440   (eval "$ac_try") 2>&5
2441   ac_status=$?
2442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443   (exit $ac_status); }; }; then
2444   :
2445 else
2446   echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2448
2449         ac_c_werror_flag=$ac_save_c_werror_flag
2450          CFLAGS="-g"
2451          cat >conftest.$ac_ext <<_ACEOF
2452 /* confdefs.h.  */
2453 _ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h.  */
2457
2458 int
2459 main ()
2460 {
2461
2462   ;
2463   return 0;
2464 }
2465 _ACEOF
2466 rm -f conftest.$ac_objext
2467 if { (ac_try="$ac_compile"
2468 case "(($ac_try" in
2469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470   *) ac_try_echo=$ac_try;;
2471 esac
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473   (eval "$ac_compile") 2>conftest.er1
2474   ac_status=$?
2475   grep -v '^ *+' conftest.er1 >conftest.err
2476   rm -f conftest.er1
2477   cat conftest.err >&5
2478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479   (exit $ac_status); } &&
2480          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2481   { (case "(($ac_try" in
2482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2483   *) ac_try_echo=$ac_try;;
2484 esac
2485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2486   (eval "$ac_try") 2>&5
2487   ac_status=$?
2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489   (exit $ac_status); }; } &&
2490          { ac_try='test -s conftest.$ac_objext'
2491   { (case "(($ac_try" in
2492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493   *) ac_try_echo=$ac_try;;
2494 esac
2495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2496   (eval "$ac_try") 2>&5
2497   ac_status=$?
2498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499   (exit $ac_status); }; }; then
2500   ac_cv_prog_cc_g=yes
2501 else
2502   echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2504
2505
2506 fi
2507
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 fi
2510
2511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2512 fi
2513
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2515    ac_c_werror_flag=$ac_save_c_werror_flag
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2518 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2519 if test "$ac_test_CFLAGS" = set; then
2520   CFLAGS=$ac_save_CFLAGS
2521 elif test $ac_cv_prog_cc_g = yes; then
2522   if test "$GCC" = yes; then
2523     CFLAGS="-g -O2"
2524   else
2525     CFLAGS="-g"
2526   fi
2527 else
2528   if test "$GCC" = yes; then
2529     CFLAGS="-O2"
2530   else
2531     CFLAGS=
2532   fi
2533 fi
2534 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2535 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_cc_c89+set}" = set; then
2537   echo $ECHO_N "(cached) $ECHO_C" >&6
2538 else
2539   ac_cv_prog_cc_c89=no
2540 ac_save_CC=$CC
2541 cat >conftest.$ac_ext <<_ACEOF
2542 /* confdefs.h.  */
2543 _ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h.  */
2547 #include <stdarg.h>
2548 #include <stdio.h>
2549 #include <sys/types.h>
2550 #include <sys/stat.h>
2551 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2552 struct buf { int x; };
2553 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2554 static char *e (p, i)
2555      char **p;
2556      int i;
2557 {
2558   return p[i];
2559 }
2560 static char *f (char * (*g) (char **, int), char **p, ...)
2561 {
2562   char *s;
2563   va_list v;
2564   va_start (v,p);
2565   s = g (p, va_arg (v,int));
2566   va_end (v);
2567   return s;
2568 }
2569
2570 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2571    function prototypes and stuff, but not '\xHH' hex character constants.
2572    These don't provoke an error unfortunately, instead are silently treated
2573    as 'x'.  The following induces an error, until -std is added to get
2574    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2575    array size at least.  It's necessary to write '\x00'==0 to get something
2576    that's true only with -std.  */
2577 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2578
2579 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2580    inside strings and character constants.  */
2581 #define FOO(x) 'x'
2582 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2583
2584 int test (int i, double x);
2585 struct s1 {int (*f) (int a);};
2586 struct s2 {int (*f) (double a);};
2587 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2588 int argc;
2589 char **argv;
2590 int
2591 main ()
2592 {
2593 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2594   ;
2595   return 0;
2596 }
2597 _ACEOF
2598 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2599         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2600 do
2601   CC="$ac_save_CC $ac_arg"
2602   rm -f conftest.$ac_objext
2603 if { (ac_try="$ac_compile"
2604 case "(($ac_try" in
2605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606   *) ac_try_echo=$ac_try;;
2607 esac
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609   (eval "$ac_compile") 2>conftest.er1
2610   ac_status=$?
2611   grep -v '^ *+' conftest.er1 >conftest.err
2612   rm -f conftest.er1
2613   cat conftest.err >&5
2614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615   (exit $ac_status); } &&
2616          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2617   { (case "(($ac_try" in
2618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619   *) ac_try_echo=$ac_try;;
2620 esac
2621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2622   (eval "$ac_try") 2>&5
2623   ac_status=$?
2624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625   (exit $ac_status); }; } &&
2626          { ac_try='test -s conftest.$ac_objext'
2627   { (case "(($ac_try" in
2628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629   *) ac_try_echo=$ac_try;;
2630 esac
2631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632   (eval "$ac_try") 2>&5
2633   ac_status=$?
2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635   (exit $ac_status); }; }; then
2636   ac_cv_prog_cc_c89=$ac_arg
2637 else
2638   echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2640
2641
2642 fi
2643
2644 rm -f core conftest.err conftest.$ac_objext
2645   test "x$ac_cv_prog_cc_c89" != "xno" && break
2646 done
2647 rm -f conftest.$ac_ext
2648 CC=$ac_save_CC
2649
2650 fi
2651 # AC_CACHE_VAL
2652 case "x$ac_cv_prog_cc_c89" in
2653   x)
2654     { echo "$as_me:$LINENO: result: none needed" >&5
2655 echo "${ECHO_T}none needed" >&6; } ;;
2656   xno)
2657     { echo "$as_me:$LINENO: result: unsupported" >&5
2658 echo "${ECHO_T}unsupported" >&6; } ;;
2659   *)
2660     CC="$CC $ac_cv_prog_cc_c89"
2661     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2662 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2663 esac
2664
2665
2666 ac_ext=c
2667 ac_cpp='$CPP $CPPFLAGS'
2668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2671
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define _GNU_SOURCE 1
2675 _ACEOF
2676
2677
2678
2679 # Check whether --enable-largefile was given.
2680 if test "${enable_largefile+set}" = set; then
2681   enableval=$enable_largefile;
2682 fi
2683
2684 if test "$enable_largefile" != no; then
2685
2686   { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2687 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2688 if test "${ac_cv_sys_largefile_CC+set}" = set; then
2689   echo $ECHO_N "(cached) $ECHO_C" >&6
2690 else
2691   ac_cv_sys_largefile_CC=no
2692      if test "$GCC" != yes; then
2693        ac_save_CC=$CC
2694        while :; do
2695          # IRIX 6.2 and later do not support large files by default,
2696          # so use the C compiler's -n32 option if that helps.
2697          cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h.  */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h.  */
2703 #include <sys/types.h>
2704  /* Check that off_t can represent 2**63 - 1 correctly.
2705     We can't simply define LARGE_OFF_T to be 9223372036854775807,
2706     since some C++ compilers masquerading as C compilers
2707     incorrectly reject 9223372036854775807.  */
2708 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2709   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2710                        && LARGE_OFF_T % 2147483647 == 1)
2711                       ? 1 : -1];
2712 int
2713 main ()
2714 {
2715
2716   ;
2717   return 0;
2718 }
2719 _ACEOF
2720          rm -f conftest.$ac_objext
2721 if { (ac_try="$ac_compile"
2722 case "(($ac_try" in
2723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724   *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727   (eval "$ac_compile") 2>conftest.er1
2728   ac_status=$?
2729   grep -v '^ *+' conftest.er1 >conftest.err
2730   rm -f conftest.er1
2731   cat conftest.err >&5
2732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733   (exit $ac_status); } &&
2734          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2735   { (case "(($ac_try" in
2736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737   *) ac_try_echo=$ac_try;;
2738 esac
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740   (eval "$ac_try") 2>&5
2741   ac_status=$?
2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743   (exit $ac_status); }; } &&
2744          { ac_try='test -s conftest.$ac_objext'
2745   { (case "(($ac_try" in
2746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747   *) ac_try_echo=$ac_try;;
2748 esac
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750   (eval "$ac_try") 2>&5
2751   ac_status=$?
2752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753   (exit $ac_status); }; }; then
2754   break
2755 else
2756   echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2758
2759
2760 fi
2761
2762 rm -f core conftest.err conftest.$ac_objext
2763          CC="$CC -n32"
2764          rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2766 case "(($ac_try" in
2767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768   *) ac_try_echo=$ac_try;;
2769 esac
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771   (eval "$ac_compile") 2>conftest.er1
2772   ac_status=$?
2773   grep -v '^ *+' conftest.er1 >conftest.err
2774   rm -f conftest.er1
2775   cat conftest.err >&5
2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777   (exit $ac_status); } &&
2778          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2779   { (case "(($ac_try" in
2780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781   *) ac_try_echo=$ac_try;;
2782 esac
2783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784   (eval "$ac_try") 2>&5
2785   ac_status=$?
2786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787   (exit $ac_status); }; } &&
2788          { ac_try='test -s conftest.$ac_objext'
2789   { (case "(($ac_try" in
2790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791   *) ac_try_echo=$ac_try;;
2792 esac
2793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794   (eval "$ac_try") 2>&5
2795   ac_status=$?
2796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797   (exit $ac_status); }; }; then
2798   ac_cv_sys_largefile_CC=' -n32'; break
2799 else
2800   echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2802
2803
2804 fi
2805
2806 rm -f core conftest.err conftest.$ac_objext
2807          break
2808        done
2809        CC=$ac_save_CC
2810        rm -f conftest.$ac_ext
2811     fi
2812 fi
2813 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2814 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
2815   if test "$ac_cv_sys_largefile_CC" != no; then
2816     CC=$CC$ac_cv_sys_largefile_CC
2817   fi
2818
2819   { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2820 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
2821 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2822   echo $ECHO_N "(cached) $ECHO_C" >&6
2823 else
2824   while :; do
2825   ac_cv_sys_file_offset_bits=no
2826   cat >conftest.$ac_ext <<_ACEOF
2827 /* confdefs.h.  */
2828 _ACEOF
2829 cat confdefs.h >>conftest.$ac_ext
2830 cat >>conftest.$ac_ext <<_ACEOF
2831 /* end confdefs.h.  */
2832 #include <sys/types.h>
2833  /* Check that off_t can represent 2**63 - 1 correctly.
2834     We can't simply define LARGE_OFF_T to be 9223372036854775807,
2835     since some C++ compilers masquerading as C compilers
2836     incorrectly reject 9223372036854775807.  */
2837 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2838   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2839                        && LARGE_OFF_T % 2147483647 == 1)
2840                       ? 1 : -1];
2841 int
2842 main ()
2843 {
2844
2845   ;
2846   return 0;
2847 }
2848 _ACEOF
2849 rm -f conftest.$ac_objext
2850 if { (ac_try="$ac_compile"
2851 case "(($ac_try" in
2852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853   *) ac_try_echo=$ac_try;;
2854 esac
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856   (eval "$ac_compile") 2>conftest.er1
2857   ac_status=$?
2858   grep -v '^ *+' conftest.er1 >conftest.err
2859   rm -f conftest.er1
2860   cat conftest.err >&5
2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862   (exit $ac_status); } &&
2863          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2864   { (case "(($ac_try" in
2865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866   *) ac_try_echo=$ac_try;;
2867 esac
2868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869   (eval "$ac_try") 2>&5
2870   ac_status=$?
2871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872   (exit $ac_status); }; } &&
2873          { ac_try='test -s conftest.$ac_objext'
2874   { (case "(($ac_try" in
2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2876   *) ac_try_echo=$ac_try;;
2877 esac
2878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2879   (eval "$ac_try") 2>&5
2880   ac_status=$?
2881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882   (exit $ac_status); }; }; then
2883   break
2884 else
2885   echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2887
2888
2889 fi
2890
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2892   cat >conftest.$ac_ext <<_ACEOF
2893 /* confdefs.h.  */
2894 _ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h.  */
2898 #define _FILE_OFFSET_BITS 64
2899 #include <sys/types.h>
2900  /* Check that off_t can represent 2**63 - 1 correctly.
2901     We can't simply define LARGE_OFF_T to be 9223372036854775807,
2902     since some C++ compilers masquerading as C compilers
2903     incorrectly reject 9223372036854775807.  */
2904 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2905   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2906                        && LARGE_OFF_T % 2147483647 == 1)
2907                       ? 1 : -1];
2908 int
2909 main ()
2910 {
2911
2912   ;
2913   return 0;
2914 }
2915 _ACEOF
2916 rm -f conftest.$ac_objext
2917 if { (ac_try="$ac_compile"
2918 case "(($ac_try" in
2919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920   *) ac_try_echo=$ac_try;;
2921 esac
2922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2923   (eval "$ac_compile") 2>conftest.er1
2924   ac_status=$?
2925   grep -v '^ *+' conftest.er1 >conftest.err
2926   rm -f conftest.er1
2927   cat conftest.err >&5
2928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929   (exit $ac_status); } &&
2930          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2931   { (case "(($ac_try" in
2932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933   *) ac_try_echo=$ac_try;;
2934 esac
2935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936   (eval "$ac_try") 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; } &&
2940          { ac_try='test -s conftest.$ac_objext'
2941   { (case "(($ac_try" in
2942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2943   *) ac_try_echo=$ac_try;;
2944 esac
2945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2946   (eval "$ac_try") 2>&5
2947   ac_status=$?
2948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949   (exit $ac_status); }; }; then
2950   ac_cv_sys_file_offset_bits=64; break
2951 else
2952   echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2954
2955
2956 fi
2957
2958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2959   break
2960 done
2961 fi
2962 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2963 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
2964 if test "$ac_cv_sys_file_offset_bits" != no; then
2965
2966 cat >>confdefs.h <<_ACEOF
2967 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2968 _ACEOF
2969
2970 fi
2971 rm -f conftest*
2972   { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2973 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
2974 if test "${ac_cv_sys_large_files+set}" = set; then
2975   echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977   while :; do
2978   ac_cv_sys_large_files=no
2979   cat >conftest.$ac_ext <<_ACEOF
2980 /* confdefs.h.  */
2981 _ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h.  */
2985 #include <sys/types.h>
2986  /* Check that off_t can represent 2**63 - 1 correctly.
2987     We can't simply define LARGE_OFF_T to be 9223372036854775807,
2988     since some C++ compilers masquerading as C compilers
2989     incorrectly reject 9223372036854775807.  */
2990 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2991   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2992                        && LARGE_OFF_T % 2147483647 == 1)
2993                       ? 1 : -1];
2994 int
2995 main ()
2996 {
2997
2998   ;
2999   return 0;
3000 }
3001 _ACEOF
3002 rm -f conftest.$ac_objext
3003 if { (ac_try="$ac_compile"
3004 case "(($ac_try" in
3005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006   *) ac_try_echo=$ac_try;;
3007 esac
3008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009   (eval "$ac_compile") 2>conftest.er1
3010   ac_status=$?
3011   grep -v '^ *+' conftest.er1 >conftest.err
3012   rm -f conftest.er1
3013   cat conftest.err >&5
3014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015   (exit $ac_status); } &&
3016          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3017   { (case "(($ac_try" in
3018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019   *) ac_try_echo=$ac_try;;
3020 esac
3021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022   (eval "$ac_try") 2>&5
3023   ac_status=$?
3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025   (exit $ac_status); }; } &&
3026          { ac_try='test -s conftest.$ac_objext'
3027   { (case "(($ac_try" in
3028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029   *) ac_try_echo=$ac_try;;
3030 esac
3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032   (eval "$ac_try") 2>&5
3033   ac_status=$?
3034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035   (exit $ac_status); }; }; then
3036   break
3037 else
3038   echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3040
3041
3042 fi
3043
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045   cat >conftest.$ac_ext <<_ACEOF
3046 /* confdefs.h.  */
3047 _ACEOF
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h.  */
3051 #define _LARGE_FILES 1
3052 #include <sys/types.h>
3053  /* Check that off_t can represent 2**63 - 1 correctly.
3054     We can't simply define LARGE_OFF_T to be 9223372036854775807,
3055     since some C++ compilers masquerading as C compilers
3056     incorrectly reject 9223372036854775807.  */
3057 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3058   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3059                        && LARGE_OFF_T % 2147483647 == 1)
3060                       ? 1 : -1];
3061 int
3062 main ()
3063 {
3064
3065   ;
3066   return 0;
3067 }
3068 _ACEOF
3069 rm -f conftest.$ac_objext
3070 if { (ac_try="$ac_compile"
3071 case "(($ac_try" in
3072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073   *) ac_try_echo=$ac_try;;
3074 esac
3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3076   (eval "$ac_compile") 2>conftest.er1
3077   ac_status=$?
3078   grep -v '^ *+' conftest.er1 >conftest.err
3079   rm -f conftest.er1
3080   cat conftest.err >&5
3081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082   (exit $ac_status); } &&
3083          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3084   { (case "(($ac_try" in
3085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3086   *) ac_try_echo=$ac_try;;
3087 esac
3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3089   (eval "$ac_try") 2>&5
3090   ac_status=$?
3091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092   (exit $ac_status); }; } &&
3093          { ac_try='test -s conftest.$ac_objext'
3094   { (case "(($ac_try" in
3095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096   *) ac_try_echo=$ac_try;;
3097 esac
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3099   (eval "$ac_try") 2>&5
3100   ac_status=$?
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); }; }; then
3103   ac_cv_sys_large_files=1; break
3104 else
3105   echo "$as_me: failed program was:" >&5
3106 sed 's/^/| /' conftest.$ac_ext >&5
3107
3108
3109 fi
3110
3111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3112   break
3113 done
3114 fi
3115 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3116 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3117 if test "$ac_cv_sys_large_files" != no; then
3118
3119 cat >>confdefs.h <<_ACEOF
3120 #define _LARGE_FILES $ac_cv_sys_large_files
3121 _ACEOF
3122
3123 fi
3124 rm -f conftest*
3125 fi
3126
3127 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3128 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
3129 if test "${ac_cv_c_const+set}" = set; then
3130   echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132   cat >conftest.$ac_ext <<_ACEOF
3133 /* confdefs.h.  */
3134 _ACEOF
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h.  */
3138
3139 int
3140 main ()
3141 {
3142 /* FIXME: Include the comments suggested by Paul. */
3143 #ifndef __cplusplus
3144   /* Ultrix mips cc rejects this.  */
3145   typedef int charset[2];
3146   const charset cs;
3147   /* SunOS 4.1.1 cc rejects this.  */
3148   char const *const *pcpcc;
3149   char **ppc;
3150   /* NEC SVR4.0.2 mips cc rejects this.  */
3151   struct point {int x, y;};
3152   static struct point const zero = {0,0};
3153   /* AIX XL C 1.02.0.0 rejects this.
3154      It does not let you subtract one const X* pointer from another in
3155      an arm of an if-expression whose if-part is not a constant
3156      expression */
3157   const char *g = "string";
3158   pcpcc = &g + (g ? g-g : 0);
3159   /* HPUX 7.0 cc rejects these. */
3160   ++pcpcc;
3161   ppc = (char**) pcpcc;
3162   pcpcc = (char const *const *) ppc;
3163   { /* SCO 3.2v4 cc rejects this.  */
3164     char *t;
3165     char const *s = 0 ? (char *) 0 : (char const *) 0;
3166
3167     *t++ = 0;
3168     if (s) return 0;
3169   }
3170   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
3171     int x[] = {25, 17};
3172     const int *foo = &x[0];
3173     ++foo;
3174   }
3175   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3176     typedef const int *iptr;
3177     iptr p = 0;
3178     ++p;
3179   }
3180   { /* AIX XL C 1.02.0.0 rejects this saying
3181        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3182     struct s { int j; const int *ap[3]; };
3183     struct s *b; b->j = 5;
3184   }
3185   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3186     const int foo = 10;
3187     if (!foo) return 0;
3188   }
3189   return !cs[0] && !zero.x;
3190 #endif
3191
3192   ;
3193   return 0;
3194 }
3195 _ACEOF
3196 rm -f conftest.$ac_objext
3197 if { (ac_try="$ac_compile"
3198 case "(($ac_try" in
3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200   *) ac_try_echo=$ac_try;;
3201 esac
3202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3203   (eval "$ac_compile") 2>conftest.er1
3204   ac_status=$?
3205   grep -v '^ *+' conftest.er1 >conftest.err
3206   rm -f conftest.er1
3207   cat conftest.err >&5
3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); } &&
3210          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3211   { (case "(($ac_try" in
3212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213   *) ac_try_echo=$ac_try;;
3214 esac
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216   (eval "$ac_try") 2>&5
3217   ac_status=$?
3218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219   (exit $ac_status); }; } &&
3220          { ac_try='test -s conftest.$ac_objext'
3221   { (case "(($ac_try" in
3222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223   *) ac_try_echo=$ac_try;;
3224 esac
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226   (eval "$ac_try") 2>&5
3227   ac_status=$?
3228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229   (exit $ac_status); }; }; then
3230   ac_cv_c_const=yes
3231 else
3232   echo "$as_me: failed program was:" >&5
3233 sed 's/^/| /' conftest.$ac_ext >&5
3234
3235         ac_cv_c_const=no
3236 fi
3237
3238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239 fi
3240 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3241 echo "${ECHO_T}$ac_cv_c_const" >&6; }
3242 if test $ac_cv_c_const = no; then
3243
3244 cat >>confdefs.h <<\_ACEOF
3245 #define const
3246 _ACEOF
3247
3248 fi
3249
3250 { echo "$as_me:$LINENO: checking for inline" >&5
3251 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3252 if test "${ac_cv_c_inline+set}" = set; then
3253   echo $ECHO_N "(cached) $ECHO_C" >&6
3254 else
3255   ac_cv_c_inline=no
3256 for ac_kw in inline __inline__ __inline; do
3257   cat >conftest.$ac_ext <<_ACEOF
3258 /* confdefs.h.  */
3259 _ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h.  */
3263 #ifndef __cplusplus
3264 typedef int foo_t;
3265 static $ac_kw foo_t static_foo () {return 0; }
3266 $ac_kw foo_t foo () {return 0; }
3267 #endif
3268
3269 _ACEOF
3270 rm -f conftest.$ac_objext
3271 if { (ac_try="$ac_compile"
3272 case "(($ac_try" in
3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3274   *) ac_try_echo=$ac_try;;
3275 esac
3276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3277   (eval "$ac_compile") 2>conftest.er1
3278   ac_status=$?
3279   grep -v '^ *+' conftest.er1 >conftest.err
3280   rm -f conftest.er1
3281   cat conftest.err >&5
3282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283   (exit $ac_status); } &&
3284          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3285   { (case "(($ac_try" in
3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3287   *) ac_try_echo=$ac_try;;
3288 esac
3289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3290   (eval "$ac_try") 2>&5
3291   ac_status=$?
3292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293   (exit $ac_status); }; } &&
3294          { ac_try='test -s conftest.$ac_objext'
3295   { (case "(($ac_try" in
3296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297   *) ac_try_echo=$ac_try;;
3298 esac
3299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3300   (eval "$ac_try") 2>&5
3301   ac_status=$?
3302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303   (exit $ac_status); }; }; then
3304   ac_cv_c_inline=$ac_kw
3305 else
3306   echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3308
3309
3310 fi
3311
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313   test "$ac_cv_c_inline" != no && break
3314 done
3315
3316 fi
3317 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3318 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
3319
3320
3321 case $ac_cv_c_inline in
3322   inline | yes) ;;
3323   *)
3324     case $ac_cv_c_inline in
3325       no) ac_val=;;
3326       *) ac_val=$ac_cv_c_inline;;
3327     esac
3328     cat >>confdefs.h <<_ACEOF
3329 #ifndef __cplusplus
3330 #define inline $ac_val
3331 #endif
3332 _ACEOF
3333     ;;
3334 esac
3335
3336
3337 { echo "$as_me:$LINENO: checking if $CC accepts -Wall" >&5
3338 echo $ECHO_N "checking if $CC accepts -Wall... $ECHO_C" >&6; }
3339  pa_add_cflags__old_cflags="$CFLAGS"
3340  CFLAGS="$CFLAGS -Wall"
3341  cat >conftest.$ac_ext <<_ACEOF
3342 /* confdefs.h.  */
3343 _ACEOF
3344 cat confdefs.h >>conftest.$ac_ext
3345 cat >>conftest.$ac_ext <<_ACEOF
3346 /* end confdefs.h.  */
3347 #include <stdio.h>
3348 int
3349 main ()
3350 {
3351 printf("Hello, World!\n");
3352   ;
3353   return 0;
3354 }
3355 _ACEOF
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (ac_try="$ac_link"
3358 case "(($ac_try" in
3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360   *) ac_try_echo=$ac_try;;
3361 esac
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363   (eval "$ac_link") 2>conftest.er1
3364   ac_status=$?
3365   grep -v '^ *+' conftest.er1 >conftest.err
3366   rm -f conftest.er1
3367   cat conftest.err >&5
3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369   (exit $ac_status); } &&
3370          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3371   { (case "(($ac_try" in
3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3373   *) ac_try_echo=$ac_try;;
3374 esac
3375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3376   (eval "$ac_try") 2>&5
3377   ac_status=$?
3378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379   (exit $ac_status); }; } &&
3380          { ac_try='test -s conftest$ac_exeext'
3381   { (case "(($ac_try" in
3382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3383   *) ac_try_echo=$ac_try;;
3384 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3386   (eval "$ac_try") 2>&5
3387   ac_status=$?
3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389   (exit $ac_status); }; }; then
3390   { echo "$as_me:$LINENO: result: yes" >&5
3391 echo "${ECHO_T}yes" >&6; }
3392 else
3393   echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3395
3396         { echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6; }
3398  CFLAGS="$pa_add_cflags__old_cflags"
3399 fi
3400
3401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3402       conftest$ac_exeext conftest.$ac_ext
3403 { echo "$as_me:$LINENO: checking if $CC accepts -W" >&5
3404 echo $ECHO_N "checking if $CC accepts -W... $ECHO_C" >&6; }
3405  pa_add_cflags__old_cflags="$CFLAGS"
3406  CFLAGS="$CFLAGS -W"
3407  cat >conftest.$ac_ext <<_ACEOF
3408 /* confdefs.h.  */
3409 _ACEOF
3410 cat confdefs.h >>conftest.$ac_ext
3411 cat >>conftest.$ac_ext <<_ACEOF
3412 /* end confdefs.h.  */
3413 #include <stdio.h>
3414 int
3415 main ()
3416 {
3417 printf("Hello, World!\n");
3418   ;
3419   return 0;
3420 }
3421 _ACEOF
3422 rm -f conftest.$ac_objext conftest$ac_exeext
3423 if { (ac_try="$ac_link"
3424 case "(($ac_try" in
3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3426   *) ac_try_echo=$ac_try;;
3427 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429   (eval "$ac_link") 2>conftest.er1
3430   ac_status=$?
3431   grep -v '^ *+' conftest.er1 >conftest.err
3432   rm -f conftest.er1
3433   cat conftest.err >&5
3434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435   (exit $ac_status); } &&
3436          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3437   { (case "(($ac_try" in
3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439   *) ac_try_echo=$ac_try;;
3440 esac
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442   (eval "$ac_try") 2>&5
3443   ac_status=$?
3444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445   (exit $ac_status); }; } &&
3446          { ac_try='test -s conftest$ac_exeext'
3447   { (case "(($ac_try" in
3448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449   *) ac_try_echo=$ac_try;;
3450 esac
3451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3452   (eval "$ac_try") 2>&5
3453   ac_status=$?
3454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455   (exit $ac_status); }; }; then
3456   { echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6; }
3458 else
3459   echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3461
3462         { echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6; }
3464  CFLAGS="$pa_add_cflags__old_cflags"
3465 fi
3466
3467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3468       conftest$ac_exeext conftest.$ac_ext
3469 { echo "$as_me:$LINENO: checking if $CC accepts -Wpointer-arith" >&5
3470 echo $ECHO_N "checking if $CC accepts -Wpointer-arith... $ECHO_C" >&6; }
3471  pa_add_cflags__old_cflags="$CFLAGS"
3472  CFLAGS="$CFLAGS -Wpointer-arith"
3473  cat >conftest.$ac_ext <<_ACEOF
3474 /* confdefs.h.  */
3475 _ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h.  */
3479 #include <stdio.h>
3480 int
3481 main ()
3482 {
3483 printf("Hello, World!\n");
3484   ;
3485   return 0;
3486 }
3487 _ACEOF
3488 rm -f conftest.$ac_objext conftest$ac_exeext
3489 if { (ac_try="$ac_link"
3490 case "(($ac_try" in
3491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492   *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495   (eval "$ac_link") 2>conftest.er1
3496   ac_status=$?
3497   grep -v '^ *+' conftest.er1 >conftest.err
3498   rm -f conftest.er1
3499   cat conftest.err >&5
3500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); } &&
3502          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3503   { (case "(($ac_try" in
3504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505   *) ac_try_echo=$ac_try;;
3506 esac
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508   (eval "$ac_try") 2>&5
3509   ac_status=$?
3510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511   (exit $ac_status); }; } &&
3512          { ac_try='test -s conftest$ac_exeext'
3513   { (case "(($ac_try" in
3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3515   *) ac_try_echo=$ac_try;;
3516 esac
3517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3518   (eval "$ac_try") 2>&5
3519   ac_status=$?
3520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521   (exit $ac_status); }; }; then
3522   { echo "$as_me:$LINENO: result: yes" >&5
3523 echo "${ECHO_T}yes" >&6; }
3524 else
3525   echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3527
3528         { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3530  CFLAGS="$pa_add_cflags__old_cflags"
3531 fi
3532
3533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3534       conftest$ac_exeext conftest.$ac_ext
3535 { echo "$as_me:$LINENO: checking if $CC accepts -Wbad-function-cast" >&5
3536 echo $ECHO_N "checking if $CC accepts -Wbad-function-cast... $ECHO_C" >&6; }
3537  pa_add_cflags__old_cflags="$CFLAGS"
3538  CFLAGS="$CFLAGS -Wbad-function-cast"
3539  cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h.  */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h.  */
3545 #include <stdio.h>
3546 int
3547 main ()
3548 {
3549 printf("Hello, World!\n");
3550   ;
3551   return 0;
3552 }
3553 _ACEOF
3554 rm -f conftest.$ac_objext conftest$ac_exeext
3555 if { (ac_try="$ac_link"
3556 case "(($ac_try" in
3557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558   *) ac_try_echo=$ac_try;;
3559 esac
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561   (eval "$ac_link") 2>conftest.er1
3562   ac_status=$?
3563   grep -v '^ *+' conftest.er1 >conftest.err
3564   rm -f conftest.er1
3565   cat conftest.err >&5
3566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567   (exit $ac_status); } &&
3568          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3569   { (case "(($ac_try" in
3570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571   *) ac_try_echo=$ac_try;;
3572 esac
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574   (eval "$ac_try") 2>&5
3575   ac_status=$?
3576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577   (exit $ac_status); }; } &&
3578          { ac_try='test -s conftest$ac_exeext'
3579   { (case "(($ac_try" in
3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581   *) ac_try_echo=$ac_try;;
3582 esac
3583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3584   (eval "$ac_try") 2>&5
3585   ac_status=$?
3586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587   (exit $ac_status); }; }; then
3588   { echo "$as_me:$LINENO: result: yes" >&5
3589 echo "${ECHO_T}yes" >&6; }
3590 else
3591   echo "$as_me: failed program was:" >&5
3592 sed 's/^/| /' conftest.$ac_ext >&5
3593
3594         { echo "$as_me:$LINENO: result: no" >&5
3595 echo "${ECHO_T}no" >&6; }
3596  CFLAGS="$pa_add_cflags__old_cflags"
3597 fi
3598
3599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3600       conftest$ac_exeext conftest.$ac_ext
3601 { echo "$as_me:$LINENO: checking if $CC accepts -Wcast-equal" >&5
3602 echo $ECHO_N "checking if $CC accepts -Wcast-equal... $ECHO_C" >&6; }
3603  pa_add_cflags__old_cflags="$CFLAGS"
3604  CFLAGS="$CFLAGS -Wcast-equal"
3605  cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h.  */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h.  */
3611 #include <stdio.h>
3612 int
3613 main ()
3614 {
3615 printf("Hello, World!\n");
3616   ;
3617   return 0;
3618 }
3619 _ACEOF
3620 rm -f conftest.$ac_objext conftest$ac_exeext
3621 if { (ac_try="$ac_link"
3622 case "(($ac_try" in
3623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624   *) ac_try_echo=$ac_try;;
3625 esac
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627   (eval "$ac_link") 2>conftest.er1
3628   ac_status=$?
3629   grep -v '^ *+' conftest.er1 >conftest.err
3630   rm -f conftest.er1
3631   cat conftest.err >&5
3632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633   (exit $ac_status); } &&
3634          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3635   { (case "(($ac_try" in
3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637   *) ac_try_echo=$ac_try;;
3638 esac
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3640   (eval "$ac_try") 2>&5
3641   ac_status=$?
3642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643   (exit $ac_status); }; } &&
3644          { ac_try='test -s conftest$ac_exeext'
3645   { (case "(($ac_try" in
3646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647   *) ac_try_echo=$ac_try;;
3648 esac
3649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3650   (eval "$ac_try") 2>&5
3651   ac_status=$?
3652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653   (exit $ac_status); }; }; then
3654   { echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6; }
3656 else
3657   echo "$as_me: failed program was:" >&5
3658 sed 's/^/| /' conftest.$ac_ext >&5
3659
3660         { echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6; }
3662  CFLAGS="$pa_add_cflags__old_cflags"
3663 fi
3664
3665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3666       conftest$ac_exeext conftest.$ac_ext
3667 { echo "$as_me:$LINENO: checking if $CC accepts -Wstrict-prototypes" >&5
3668 echo $ECHO_N "checking if $CC accepts -Wstrict-prototypes... $ECHO_C" >&6; }
3669  pa_add_cflags__old_cflags="$CFLAGS"
3670  CFLAGS="$CFLAGS -Wstrict-prototypes"
3671  cat >conftest.$ac_ext <<_ACEOF
3672 /* confdefs.h.  */
3673 _ACEOF
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h.  */
3677 #include <stdio.h>
3678 int
3679 main ()
3680 {
3681 printf("Hello, World!\n");
3682   ;
3683   return 0;
3684 }
3685 _ACEOF
3686 rm -f conftest.$ac_objext conftest$ac_exeext
3687 if { (ac_try="$ac_link"
3688 case "(($ac_try" in
3689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690   *) ac_try_echo=$ac_try;;
3691 esac
3692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3693   (eval "$ac_link") 2>conftest.er1
3694   ac_status=$?
3695   grep -v '^ *+' conftest.er1 >conftest.err
3696   rm -f conftest.er1
3697   cat conftest.err >&5
3698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699   (exit $ac_status); } &&
3700          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3701   { (case "(($ac_try" in
3702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703   *) ac_try_echo=$ac_try;;
3704 esac
3705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706   (eval "$ac_try") 2>&5
3707   ac_status=$?
3708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709   (exit $ac_status); }; } &&
3710          { ac_try='test -s conftest$ac_exeext'
3711   { (case "(($ac_try" in
3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713   *) ac_try_echo=$ac_try;;
3714 esac
3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716   (eval "$ac_try") 2>&5
3717   ac_status=$?
3718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719   (exit $ac_status); }; }; then
3720   { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 else
3723   echo "$as_me: failed program was:" >&5
3724 sed 's/^/| /' conftest.$ac_ext >&5
3725
3726         { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728  CFLAGS="$pa_add_cflags__old_cflags"
3729 fi
3730
3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3732       conftest$ac_exeext conftest.$ac_ext
3733 { echo "$as_me:$LINENO: checking if $CC accepts -Wmissing-prototypes" >&5
3734 echo $ECHO_N "checking if $CC accepts -Wmissing-prototypes... $ECHO_C" >&6; }
3735  pa_add_cflags__old_cflags="$CFLAGS"
3736  CFLAGS="$CFLAGS -Wmissing-prototypes"
3737  cat >conftest.$ac_ext <<_ACEOF
3738 /* confdefs.h.  */
3739 _ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h.  */
3743 #include <stdio.h>
3744 int
3745 main ()
3746 {
3747 printf("Hello, World!\n");
3748   ;
3749   return 0;
3750 }
3751 _ACEOF
3752 rm -f conftest.$ac_objext conftest$ac_exeext
3753 if { (ac_try="$ac_link"
3754 case "(($ac_try" in
3755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756   *) ac_try_echo=$ac_try;;
3757 esac
3758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759   (eval "$ac_link") 2>conftest.er1
3760   ac_status=$?
3761   grep -v '^ *+' conftest.er1 >conftest.err
3762   rm -f conftest.er1
3763   cat conftest.err >&5
3764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765   (exit $ac_status); } &&
3766          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3767   { (case "(($ac_try" in
3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769   *) ac_try_echo=$ac_try;;
3770 esac
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772   (eval "$ac_try") 2>&5
3773   ac_status=$?
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); }; } &&
3776          { ac_try='test -s conftest$ac_exeext'
3777   { (case "(($ac_try" in
3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779   *) ac_try_echo=$ac_try;;
3780 esac
3781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3782   (eval "$ac_try") 2>&5
3783   ac_status=$?
3784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785   (exit $ac_status); }; }; then
3786   { echo "$as_me:$LINENO: result: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3788 else
3789   echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3791
3792         { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794  CFLAGS="$pa_add_cflags__old_cflags"
3795 fi
3796
3797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3798       conftest$ac_exeext conftest.$ac_ext
3799 { echo "$as_me:$LINENO: checking if $CC accepts -Wmissing-declarations" >&5
3800 echo $ECHO_N "checking if $CC accepts -Wmissing-declarations... $ECHO_C" >&6; }
3801  pa_add_cflags__old_cflags="$CFLAGS"
3802  CFLAGS="$CFLAGS -Wmissing-declarations"
3803  cat >conftest.$ac_ext <<_ACEOF
3804 /* confdefs.h.  */
3805 _ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h.  */
3809 #include <stdio.h>
3810 int
3811 main ()
3812 {
3813 printf("Hello, World!\n");
3814   ;
3815   return 0;
3816 }
3817 _ACEOF
3818 rm -f conftest.$ac_objext conftest$ac_exeext
3819 if { (ac_try="$ac_link"
3820 case "(($ac_try" in
3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822   *) ac_try_echo=$ac_try;;
3823 esac
3824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3825   (eval "$ac_link") 2>conftest.er1
3826   ac_status=$?
3827   grep -v '^ *+' conftest.er1 >conftest.err
3828   rm -f conftest.er1
3829   cat conftest.err >&5
3830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831   (exit $ac_status); } &&
3832          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3833   { (case "(($ac_try" in
3834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3835   *) ac_try_echo=$ac_try;;
3836 esac
3837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3838   (eval "$ac_try") 2>&5
3839   ac_status=$?
3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841   (exit $ac_status); }; } &&
3842          { ac_try='test -s conftest$ac_exeext'
3843   { (case "(($ac_try" in
3844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845   *) ac_try_echo=$ac_try;;
3846 esac
3847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3848   (eval "$ac_try") 2>&5
3849   ac_status=$?
3850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851   (exit $ac_status); }; }; then
3852   { echo "$as_me:$LINENO: result: yes" >&5
3853 echo "${ECHO_T}yes" >&6; }
3854 else
3855   echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.$ac_ext >&5
3857
3858         { echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6; }
3860  CFLAGS="$pa_add_cflags__old_cflags"
3861 fi
3862
3863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3864       conftest$ac_exeext conftest.$ac_ext
3865 { echo "$as_me:$LINENO: checking if $CC accepts -Wnested-externs" >&5
3866 echo $ECHO_N "checking if $CC accepts -Wnested-externs... $ECHO_C" >&6; }
3867  pa_add_cflags__old_cflags="$CFLAGS"
3868  CFLAGS="$CFLAGS -Wnested-externs"
3869  cat >conftest.$ac_ext <<_ACEOF
3870 /* confdefs.h.  */
3871 _ACEOF
3872 cat confdefs.h >>conftest.$ac_ext
3873 cat >>conftest.$ac_ext <<_ACEOF
3874 /* end confdefs.h.  */
3875 #include <stdio.h>
3876 int
3877 main ()
3878 {
3879 printf("Hello, World!\n");
3880   ;
3881   return 0;
3882 }
3883 _ACEOF
3884 rm -f conftest.$ac_objext conftest$ac_exeext
3885 if { (ac_try="$ac_link"
3886 case "(($ac_try" in
3887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888   *) ac_try_echo=$ac_try;;
3889 esac
3890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3891   (eval "$ac_link") 2>conftest.er1
3892   ac_status=$?
3893   grep -v '^ *+' conftest.er1 >conftest.err
3894   rm -f conftest.er1
3895   cat conftest.err >&5
3896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897   (exit $ac_status); } &&
3898          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3899   { (case "(($ac_try" in
3900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901   *) ac_try_echo=$ac_try;;
3902 esac
3903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3904   (eval "$ac_try") 2>&5
3905   ac_status=$?
3906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907   (exit $ac_status); }; } &&
3908          { ac_try='test -s conftest$ac_exeext'
3909   { (case "(($ac_try" in
3910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911   *) ac_try_echo=$ac_try;;
3912 esac
3913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914   (eval "$ac_try") 2>&5
3915   ac_status=$?
3916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917   (exit $ac_status); }; }; then
3918   { echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6; }
3920 else
3921   echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3923
3924         { echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6; }
3926  CFLAGS="$pa_add_cflags__old_cflags"
3927 fi
3928
3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3930       conftest$ac_exeext conftest.$ac_ext
3931 { echo "$as_me:$LINENO: checking if $CC accepts -Winline" >&5
3932 echo $ECHO_N "checking if $CC accepts -Winline... $ECHO_C" >&6; }
3933  pa_add_cflags__old_cflags="$CFLAGS"
3934  CFLAGS="$CFLAGS -Winline"
3935  cat >conftest.$ac_ext <<_ACEOF
3936 /* confdefs.h.  */
3937 _ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h.  */
3941 #include <stdio.h>
3942 int
3943 main ()
3944 {
3945 printf("Hello, World!\n");
3946   ;
3947   return 0;
3948 }
3949 _ACEOF
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3952 case "(($ac_try" in
3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954   *) ac_try_echo=$ac_try;;
3955 esac
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957   (eval "$ac_link") 2>conftest.er1
3958   ac_status=$?
3959   grep -v '^ *+' conftest.er1 >conftest.err
3960   rm -f conftest.er1
3961   cat conftest.err >&5
3962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963   (exit $ac_status); } &&
3964          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3965   { (case "(($ac_try" in
3966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967   *) ac_try_echo=$ac_try;;
3968 esac
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970   (eval "$ac_try") 2>&5
3971   ac_status=$?
3972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973   (exit $ac_status); }; } &&
3974          { ac_try='test -s conftest$ac_exeext'
3975   { (case "(($ac_try" in
3976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977   *) ac_try_echo=$ac_try;;
3978 esac
3979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3980   (eval "$ac_try") 2>&5
3981   ac_status=$?
3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983   (exit $ac_status); }; }; then
3984   { echo "$as_me:$LINENO: result: yes" >&5
3985 echo "${ECHO_T}yes" >&6; }
3986 else
3987   echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3989
3990         { echo "$as_me:$LINENO: result: no" >&5
3991 echo "${ECHO_T}no" >&6; }
3992  CFLAGS="$pa_add_cflags__old_cflags"
3993 fi
3994
3995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3996       conftest$ac_exeext conftest.$ac_ext
3997 { echo "$as_me:$LINENO: checking if $CC accepts -Wshadow" >&5
3998 echo $ECHO_N "checking if $CC accepts -Wshadow... $ECHO_C" >&6; }
3999  pa_add_cflags__old_cflags="$CFLAGS"
4000  CFLAGS="$CFLAGS -Wshadow"
4001  cat >conftest.$ac_ext <<_ACEOF
4002 /* confdefs.h.  */
4003 _ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h.  */
4007 #include <stdio.h>
4008 int
4009 main ()
4010 {
4011 printf("Hello, World!\n");
4012   ;
4013   return 0;
4014 }
4015 _ACEOF
4016 rm -f conftest.$ac_objext conftest$ac_exeext
4017 if { (ac_try="$ac_link"
4018 case "(($ac_try" in
4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020   *) ac_try_echo=$ac_try;;
4021 esac
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023   (eval "$ac_link") 2>conftest.er1
4024   ac_status=$?
4025   grep -v '^ *+' conftest.er1 >conftest.err
4026   rm -f conftest.er1
4027   cat conftest.err >&5
4028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029   (exit $ac_status); } &&
4030          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031   { (case "(($ac_try" in
4032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033   *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036   (eval "$ac_try") 2>&5
4037   ac_status=$?
4038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039   (exit $ac_status); }; } &&
4040          { ac_try='test -s conftest$ac_exeext'
4041   { (case "(($ac_try" in
4042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043   *) ac_try_echo=$ac_try;;
4044 esac
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046   (eval "$ac_try") 2>&5
4047   ac_status=$?
4048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049   (exit $ac_status); }; }; then
4050   { echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6; }
4052 else
4053   echo "$as_me: failed program was:" >&5
4054 sed 's/^/| /' conftest.$ac_ext >&5
4055
4056         { echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6; }
4058  CFLAGS="$pa_add_cflags__old_cflags"
4059 fi
4060
4061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4062       conftest$ac_exeext conftest.$ac_ext
4063 { echo "$as_me:$LINENO: checking if $CC accepts -Wcast-align" >&5
4064 echo $ECHO_N "checking if $CC accepts -Wcast-align... $ECHO_C" >&6; }
4065  pa_add_cflags__old_cflags="$CFLAGS"
4066  CFLAGS="$CFLAGS -Wcast-align"
4067  cat >conftest.$ac_ext <<_ACEOF
4068 /* confdefs.h.  */
4069 _ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h.  */
4073 #include <stdio.h>
4074 int
4075 main ()
4076 {
4077 printf("Hello, World!\n");
4078   ;
4079   return 0;
4080 }
4081 _ACEOF
4082 rm -f conftest.$ac_objext conftest$ac_exeext
4083 if { (ac_try="$ac_link"
4084 case "(($ac_try" in
4085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086   *) ac_try_echo=$ac_try;;
4087 esac
4088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089   (eval "$ac_link") 2>conftest.er1
4090   ac_status=$?
4091   grep -v '^ *+' conftest.er1 >conftest.err
4092   rm -f conftest.er1
4093   cat conftest.err >&5
4094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095   (exit $ac_status); } &&
4096          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4097   { (case "(($ac_try" in
4098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099   *) ac_try_echo=$ac_try;;
4100 esac
4101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102   (eval "$ac_try") 2>&5
4103   ac_status=$?
4104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105   (exit $ac_status); }; } &&
4106          { ac_try='test -s conftest$ac_exeext'
4107   { (case "(($ac_try" in
4108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109   *) ac_try_echo=$ac_try;;
4110 esac
4111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112   (eval "$ac_try") 2>&5
4113   ac_status=$?
4114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115   (exit $ac_status); }; }; then
4116   { echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6; }
4118 else
4119   echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122         { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4124  CFLAGS="$pa_add_cflags__old_cflags"
4125 fi
4126
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128       conftest$ac_exeext conftest.$ac_ext
4129 { echo "$as_me:$LINENO: checking if $CC accepts -pipe" >&5
4130 echo $ECHO_N "checking if $CC accepts -pipe... $ECHO_C" >&6; }
4131  pa_add_cflags__old_cflags="$CFLAGS"
4132  CFLAGS="$CFLAGS -pipe"
4133  cat >conftest.$ac_ext <<_ACEOF
4134 /* confdefs.h.  */
4135 _ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h.  */
4139 #include <stdio.h>
4140 int
4141 main ()
4142 {
4143 printf("Hello, World!\n");
4144   ;
4145   return 0;
4146 }
4147 _ACEOF
4148 rm -f conftest.$ac_objext conftest$ac_exeext
4149 if { (ac_try="$ac_link"
4150 case "(($ac_try" in
4151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4152   *) ac_try_echo=$ac_try;;
4153 esac
4154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4155   (eval "$ac_link") 2>conftest.er1
4156   ac_status=$?
4157   grep -v '^ *+' conftest.er1 >conftest.err
4158   rm -f conftest.er1
4159   cat conftest.err >&5
4160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161   (exit $ac_status); } &&
4162          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4163   { (case "(($ac_try" in
4164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4165   *) ac_try_echo=$ac_try;;
4166 esac
4167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4168   (eval "$ac_try") 2>&5
4169   ac_status=$?
4170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171   (exit $ac_status); }; } &&
4172          { ac_try='test -s conftest$ac_exeext'
4173   { (case "(($ac_try" in
4174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4175   *) ac_try_echo=$ac_try;;
4176 esac
4177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4178   (eval "$ac_try") 2>&5
4179   ac_status=$?
4180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181   (exit $ac_status); }; }; then
4182   { echo "$as_me:$LINENO: result: yes" >&5
4183 echo "${ECHO_T}yes" >&6; }
4184 else
4185   echo "$as_me: failed program was:" >&5
4186 sed 's/^/| /' conftest.$ac_ext >&5
4187
4188         { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4190  CFLAGS="$pa_add_cflags__old_cflags"
4191 fi
4192
4193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4194       conftest$ac_exeext conftest.$ac_ext
4195
4196 ac_ext=c
4197 ac_cpp='$CPP $CPPFLAGS'
4198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4203 # On Suns, sometimes $CPP names a directory.
4204 if test -n "$CPP" && test -d "$CPP"; then
4205   CPP=
4206 fi
4207 if test -z "$CPP"; then
4208   if test "${ac_cv_prog_CPP+set}" = set; then
4209   echo $ECHO_N "(cached) $ECHO_C" >&6
4210 else
4211       # Double quotes because CPP needs to be expanded
4212     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4213     do
4214       ac_preproc_ok=false
4215 for ac_c_preproc_warn_flag in '' yes
4216 do
4217   # Use a header file that comes with gcc, so configuring glibc
4218   # with a fresh cross-compiler works.
4219   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4220   # <limits.h> exists even on freestanding compilers.
4221   # On the NeXT, cc -E runs the code through the compiler's parser,
4222   # not just through cpp. "Syntax error" is here to catch this case.
4223   cat >conftest.$ac_ext <<_ACEOF
4224 /* confdefs.h.  */
4225 _ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h.  */
4229 #ifdef __STDC__
4230 # include <limits.h>
4231 #else
4232 # include <assert.h>
4233 #endif
4234                      Syntax error
4235 _ACEOF
4236 if { (ac_try="$ac_cpp conftest.$ac_ext"
4237 case "(($ac_try" in
4238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4239   *) ac_try_echo=$ac_try;;
4240 esac
4241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4242   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4243   ac_status=$?
4244   grep -v '^ *+' conftest.er1 >conftest.err
4245   rm -f conftest.er1
4246   cat conftest.err >&5
4247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248   (exit $ac_status); } >/dev/null; then
4249   if test -s conftest.err; then
4250     ac_cpp_err=$ac_c_preproc_warn_flag
4251     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4252   else
4253     ac_cpp_err=
4254   fi
4255 else
4256   ac_cpp_err=yes
4257 fi
4258 if test -z "$ac_cpp_err"; then
4259   :
4260 else
4261   echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4263
4264   # Broken: fails on valid input.
4265 continue
4266 fi
4267
4268 rm -f conftest.err conftest.$ac_ext
4269
4270   # OK, works on sane cases.  Now check whether nonexistent headers
4271   # can be detected and how.
4272   cat >conftest.$ac_ext <<_ACEOF
4273 /* confdefs.h.  */
4274 _ACEOF
4275 cat confdefs.h >>conftest.$ac_ext
4276 cat >>conftest.$ac_ext <<_ACEOF
4277 /* end confdefs.h.  */
4278 #include <ac_nonexistent.h>
4279 _ACEOF
4280 if { (ac_try="$ac_cpp conftest.$ac_ext"
4281 case "(($ac_try" in
4282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4283   *) ac_try_echo=$ac_try;;
4284 esac
4285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4286   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4287   ac_status=$?
4288   grep -v '^ *+' conftest.er1 >conftest.err
4289   rm -f conftest.er1
4290   cat conftest.err >&5
4291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292   (exit $ac_status); } >/dev/null; then
4293   if test -s conftest.err; then
4294     ac_cpp_err=$ac_c_preproc_warn_flag
4295     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4296   else
4297     ac_cpp_err=
4298   fi
4299 else
4300   ac_cpp_err=yes
4301 fi
4302 if test -z "$ac_cpp_err"; then
4303   # Broken: success on invalid input.
4304 continue
4305 else
4306   echo "$as_me: failed program was:" >&5
4307 sed 's/^/| /' conftest.$ac_ext >&5
4308
4309   # Passes both tests.
4310 ac_preproc_ok=:
4311 break
4312 fi
4313
4314 rm -f conftest.err conftest.$ac_ext
4315
4316 done
4317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4318 rm -f conftest.err conftest.$ac_ext
4319 if $ac_preproc_ok; then
4320   break
4321 fi
4322
4323     done
4324     ac_cv_prog_CPP=$CPP
4325
4326 fi
4327   CPP=$ac_cv_prog_CPP
4328 else
4329   ac_cv_prog_CPP=$CPP
4330 fi
4331 { echo "$as_me:$LINENO: result: $CPP" >&5
4332 echo "${ECHO_T}$CPP" >&6; }
4333 ac_preproc_ok=false
4334 for ac_c_preproc_warn_flag in '' yes
4335 do
4336   # Use a header file that comes with gcc, so configuring glibc
4337   # with a fresh cross-compiler works.
4338   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4339   # <limits.h> exists even on freestanding compilers.
4340   # On the NeXT, cc -E runs the code through the compiler's parser,
4341   # not just through cpp. "Syntax error" is here to catch this case.
4342   cat >conftest.$ac_ext <<_ACEOF
4343 /* confdefs.h.  */
4344 _ACEOF
4345 cat confdefs.h >>conftest.$ac_ext
4346 cat >>conftest.$ac_ext <<_ACEOF
4347 /* end confdefs.h.  */
4348 #ifdef __STDC__
4349 # include <limits.h>
4350 #else
4351 # include <assert.h>
4352 #endif
4353                      Syntax error
4354 _ACEOF
4355 if { (ac_try="$ac_cpp conftest.$ac_ext"
4356 case "(($ac_try" in
4357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358   *) ac_try_echo=$ac_try;;
4359 esac
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4362   ac_status=$?
4363   grep -v '^ *+' conftest.er1 >conftest.err
4364   rm -f conftest.er1
4365   cat conftest.err >&5
4366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367   (exit $ac_status); } >/dev/null; then
4368   if test -s conftest.err; then
4369     ac_cpp_err=$ac_c_preproc_warn_flag
4370     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4371   else
4372     ac_cpp_err=
4373   fi
4374 else
4375   ac_cpp_err=yes
4376 fi
4377 if test -z "$ac_cpp_err"; then
4378   :
4379 else
4380   echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4382
4383   # Broken: fails on valid input.
4384 continue
4385 fi
4386
4387 rm -f conftest.err conftest.$ac_ext
4388
4389   # OK, works on sane cases.  Now check whether nonexistent headers
4390   # can be detected and how.
4391   cat >conftest.$ac_ext <<_ACEOF
4392 /* confdefs.h.  */
4393 _ACEOF
4394 cat confdefs.h >>conftest.$ac_ext
4395 cat >>conftest.$ac_ext <<_ACEOF
4396 /* end confdefs.h.  */
4397 #include <ac_nonexistent.h>
4398 _ACEOF
4399 if { (ac_try="$ac_cpp conftest.$ac_ext"
4400 case "(($ac_try" in
4401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4402   *) ac_try_echo=$ac_try;;
4403 esac
4404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4405   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4406   ac_status=$?
4407   grep -v '^ *+' conftest.er1 >conftest.err
4408   rm -f conftest.er1
4409   cat conftest.err >&5
4410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411   (exit $ac_status); } >/dev/null; then
4412   if test -s conftest.err; then
4413     ac_cpp_err=$ac_c_preproc_warn_flag
4414     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4415   else
4416     ac_cpp_err=
4417   fi
4418 else
4419   ac_cpp_err=yes
4420 fi
4421 if test -z "$ac_cpp_err"; then
4422   # Broken: success on invalid input.
4423 continue
4424 else
4425   echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4427
4428   # Passes both tests.
4429 ac_preproc_ok=:
4430 break
4431 fi
4432
4433 rm -f conftest.err conftest.$ac_ext
4434
4435 done
4436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4437 rm -f conftest.err conftest.$ac_ext
4438 if $ac_preproc_ok; then
4439   :
4440 else
4441   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4442 See \`config.log' for more details." >&5
4443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4444 See \`config.log' for more details." >&2;}
4445    { (exit 1); exit 1; }; }
4446 fi
4447
4448 ac_ext=c
4449 ac_cpp='$CPP $CPPFLAGS'
4450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4453
4454
4455 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4456 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4457 if test "${ac_cv_path_GREP+set}" = set; then
4458   echo $ECHO_N "(cached) $ECHO_C" >&6
4459 else
4460   # Extract the first word of "grep ggrep" to use in msg output
4461 if test -z "$GREP"; then
4462 set dummy grep ggrep; ac_prog_name=$2
4463 if test "${ac_cv_path_GREP+set}" = set; then
4464   echo $ECHO_N "(cached) $ECHO_C" >&6
4465 else
4466   ac_path_GREP_found=false
4467 # Loop through the user's path and test for each of PROGNAME-LIST
4468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4470 do
4471   IFS=$as_save_IFS
4472   test -z "$as_dir" && as_dir=.
4473   for ac_prog in grep ggrep; do
4474   for ac_exec_ext in '' $ac_executable_extensions; do
4475     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4476     { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4477     # Check for GNU ac_path_GREP and select it if it is found.
4478   # Check for GNU $ac_path_GREP
4479 case `"$ac_path_GREP" --version 2>&1` in
4480 *GNU*)
4481   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4482 *)
4483   ac_count=0
4484   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4485   while :
4486   do
4487     cat "conftest.in" "conftest.in" >"conftest.tmp"
4488     mv "conftest.tmp" "conftest.in"
4489     cp "conftest.in" "conftest.nl"
4490     echo 'GREP' >> "conftest.nl"
4491     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4492     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4493     ac_count=`expr $ac_count + 1`
4494     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4495       # Best one so far, save it but keep looking for a better one
4496       ac_cv_path_GREP="$ac_path_GREP"
4497       ac_path_GREP_max=$ac_count
4498     fi
4499     # 10*(2^10) chars as input seems more than enough
4500     test $ac_count -gt 10 && break
4501   done
4502   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4503 esac
4504
4505
4506     $ac_path_GREP_found && break 3
4507   done
4508 done
4509
4510 done
4511 IFS=$as_save_IFS
4512
4513
4514 fi
4515
4516 GREP="$ac_cv_path_GREP"
4517 if test -z "$GREP"; then
4518   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4519 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4520    { (exit 1); exit 1; }; }
4521 fi
4522
4523 else
4524   ac_cv_path_GREP=$GREP
4525 fi
4526
4527
4528 fi
4529 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4530 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4531  GREP="$ac_cv_path_GREP"
4532
4533
4534 { echo "$as_me:$LINENO: checking for egrep" >&5
4535 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4536 if test "${ac_cv_path_EGREP+set}" = set; then
4537   echo $ECHO_N "(cached) $ECHO_C" >&6
4538 else
4539   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4540    then ac_cv_path_EGREP="$GREP -E"
4541    else
4542      # Extract the first word of "egrep" to use in msg output
4543 if test -z "$EGREP"; then
4544 set dummy egrep; ac_prog_name=$2
4545 if test "${ac_cv_path_EGREP+set}" = set; then
4546   echo $ECHO_N "(cached) $ECHO_C" >&6
4547 else
4548   ac_path_EGREP_found=false
4549 # Loop through the user's path and test for each of PROGNAME-LIST
4550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4551 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4552 do
4553   IFS=$as_save_IFS
4554   test -z "$as_dir" && as_dir=.
4555   for ac_prog in egrep; do
4556   for ac_exec_ext in '' $ac_executable_extensions; do
4557     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4558     { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4559     # Check for GNU ac_path_EGREP and select it if it is found.
4560   # Check for GNU $ac_path_EGREP
4561 case `"$ac_path_EGREP" --version 2>&1` in
4562 *GNU*)
4563   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4564 *)
4565   ac_count=0
4566   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4567   while :
4568   do
4569     cat "conftest.in" "conftest.in" >"conftest.tmp"
4570     mv "conftest.tmp" "conftest.in"
4571     cp "conftest.in" "conftest.nl"
4572     echo 'EGREP' >> "conftest.nl"
4573     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4574     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4575     ac_count=`expr $ac_count + 1`
4576     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4577       # Best one so far, save it but keep looking for a better one
4578       ac_cv_path_EGREP="$ac_path_EGREP"
4579       ac_path_EGREP_max=$ac_count
4580     fi
4581     # 10*(2^10) chars as input seems more than enough
4582     test $ac_count -gt 10 && break
4583   done
4584   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4585 esac
4586
4587
4588     $ac_path_EGREP_found && break 3
4589   done
4590 done
4591
4592 done
4593 IFS=$as_save_IFS
4594
4595
4596 fi
4597
4598 EGREP="$ac_cv_path_EGREP"
4599 if test -z "$EGREP"; then
4600   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4601 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4602    { (exit 1); exit 1; }; }
4603 fi
4604
4605 else
4606   ac_cv_path_EGREP=$EGREP
4607 fi
4608
4609
4610    fi
4611 fi
4612 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4613 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4614  EGREP="$ac_cv_path_EGREP"
4615
4616
4617 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4618 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4619 if test "${ac_cv_header_stdc+set}" = set; then
4620   echo $ECHO_N "(cached) $ECHO_C" >&6
4621 else
4622   cat >conftest.$ac_ext <<_ACEOF
4623 /* confdefs.h.  */
4624 _ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h.  */
4628 #include <stdlib.h>
4629 #include <stdarg.h>
4630 #include <string.h>
4631 #include <float.h>
4632
4633 int
4634 main ()
4635 {
4636
4637   ;
4638   return 0;
4639 }
4640 _ACEOF
4641 rm -f conftest.$ac_objext
4642 if { (ac_try="$ac_compile"
4643 case "(($ac_try" in
4644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645   *) ac_try_echo=$ac_try;;
4646 esac
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648   (eval "$ac_compile") 2>conftest.er1
4649   ac_status=$?
4650   grep -v '^ *+' conftest.er1 >conftest.err
4651   rm -f conftest.er1
4652   cat conftest.err >&5
4653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654   (exit $ac_status); } &&
4655          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4656   { (case "(($ac_try" in
4657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4658   *) ac_try_echo=$ac_try;;
4659 esac
4660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4661   (eval "$ac_try") 2>&5
4662   ac_status=$?
4663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664   (exit $ac_status); }; } &&
4665          { ac_try='test -s conftest.$ac_objext'
4666   { (case "(($ac_try" in
4667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668   *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671   (eval "$ac_try") 2>&5
4672   ac_status=$?
4673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674   (exit $ac_status); }; }; then
4675   ac_cv_header_stdc=yes
4676 else
4677   echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4679
4680         ac_cv_header_stdc=no
4681 fi
4682
4683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4684
4685 if test $ac_cv_header_stdc = yes; then
4686   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4687   cat >conftest.$ac_ext <<_ACEOF
4688 /* confdefs.h.  */
4689 _ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h.  */
4693 #include <string.h>
4694
4695 _ACEOF
4696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4697   $EGREP "memchr" >/dev/null 2>&1; then
4698   :
4699 else
4700   ac_cv_header_stdc=no
4701 fi
4702 rm -f conftest*
4703
4704 fi
4705
4706 if test $ac_cv_header_stdc = yes; then
4707   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4708   cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h.  */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h.  */
4714 #include <stdlib.h>
4715
4716 _ACEOF
4717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4718   $EGREP "free" >/dev/null 2>&1; then
4719   :
4720 else
4721   ac_cv_header_stdc=no
4722 fi
4723 rm -f conftest*
4724
4725 fi
4726
4727 if test $ac_cv_header_stdc = yes; then
4728   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4729   if test "$cross_compiling" = yes; then
4730   :
4731 else
4732   cat >conftest.$ac_ext <<_ACEOF
4733 /* confdefs.h.  */
4734 _ACEOF
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h.  */
4738 #include <ctype.h>
4739 #include <stdlib.h>
4740 #if ((' ' & 0x0FF) == 0x020)
4741 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4742 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4743 #else
4744 # define ISLOWER(c) \
4745                    (('a' <= (c) && (c) <= 'i') \
4746                      || ('j' <= (c) && (c) <= 'r') \
4747                      || ('s' <= (c) && (c) <= 'z'))
4748 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4749 #endif
4750
4751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4752 int
4753 main ()
4754 {
4755   int i;
4756   for (i = 0; i < 256; i++)
4757     if (XOR (islower (i), ISLOWER (i))
4758         || toupper (i) != TOUPPER (i))
4759       return 2;
4760   return 0;
4761 }
4762 _ACEOF
4763 rm -f conftest$ac_exeext
4764 if { (ac_try="$ac_link"
4765 case "(($ac_try" in
4766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4767   *) ac_try_echo=$ac_try;;
4768 esac
4769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4770   (eval "$ac_link") 2>&5
4771   ac_status=$?
4772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4774   { (case "(($ac_try" in
4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4776   *) ac_try_echo=$ac_try;;
4777 esac
4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4779   (eval "$ac_try") 2>&5
4780   ac_status=$?
4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782   (exit $ac_status); }; }; then
4783   :
4784 else
4785   echo "$as_me: program exited with status $ac_status" >&5
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.$ac_ext >&5
4788
4789 ( exit $ac_status )
4790 ac_cv_header_stdc=no
4791 fi
4792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4793 fi
4794
4795
4796 fi
4797 fi
4798 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4799 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4800 if test $ac_cv_header_stdc = yes; then
4801
4802 cat >>confdefs.h <<\_ACEOF
4803 #define STDC_HEADERS 1
4804 _ACEOF
4805
4806 fi
4807
4808 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4819                   inttypes.h stdint.h unistd.h
4820 do
4821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4825   echo $ECHO_N "(cached) $ECHO_C" >&6
4826 else
4827   cat >conftest.$ac_ext <<_ACEOF
4828 /* confdefs.h.  */
4829 _ACEOF
4830 cat confdefs.h >>conftest.$ac_ext
4831 cat >>conftest.$ac_ext <<_ACEOF
4832 /* end confdefs.h.  */
4833 $ac_includes_default
4834
4835 #include <$ac_header>
4836 _ACEOF
4837 rm -f conftest.$ac_objext
4838 if { (ac_try="$ac_compile"
4839 case "(($ac_try" in
4840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841   *) ac_try_echo=$ac_try;;
4842 esac
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844   (eval "$ac_compile") 2>conftest.er1
4845   ac_status=$?
4846   grep -v '^ *+' conftest.er1 >conftest.err
4847   rm -f conftest.er1
4848   cat conftest.err >&5
4849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850   (exit $ac_status); } &&
4851          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4852   { (case "(($ac_try" in
4853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4854   *) ac_try_echo=$ac_try;;
4855 esac
4856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4857   (eval "$ac_try") 2>&5
4858   ac_status=$?
4859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860   (exit $ac_status); }; } &&
4861          { ac_try='test -s conftest.$ac_objext'
4862   { (case "(($ac_try" in
4863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864   *) ac_try_echo=$ac_try;;
4865 esac
4866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867   (eval "$ac_try") 2>&5
4868   ac_status=$?
4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870   (exit $ac_status); }; }; then
4871   eval "$as_ac_Header=yes"
4872 else
4873   echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4875
4876         eval "$as_ac_Header=no"
4877 fi
4878
4879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4880 fi
4881 ac_res=`eval echo '${'$as_ac_Header'}'`
4882                { echo "$as_me:$LINENO: result: $ac_res" >&5
4883 echo "${ECHO_T}$ac_res" >&6; }
4884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4885   cat >>confdefs.h <<_ACEOF
4886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4887 _ACEOF
4888
4889 fi
4890
4891 done
4892
4893
4894
4895 for ac_header in inttypes.h
4896 do
4897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4898 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4899   { echo "$as_me:$LINENO: checking for $ac_header" >&5
4900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4902   echo $ECHO_N "(cached) $ECHO_C" >&6
4903 fi
4904 ac_res=`eval echo '${'$as_ac_Header'}'`
4905                { echo "$as_me:$LINENO: result: $ac_res" >&5
4906 echo "${ECHO_T}$ac_res" >&6; }
4907 else
4908   # Is the header compilable?
4909 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4911 cat >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h.  */
4913 _ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h.  */
4917 $ac_includes_default
4918 #include <$ac_header>
4919 _ACEOF
4920 rm -f conftest.$ac_objext
4921 if { (ac_try="$ac_compile"
4922 case "(($ac_try" in
4923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924   *) ac_try_echo=$ac_try;;
4925 esac
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927   (eval "$ac_compile") 2>conftest.er1
4928   ac_status=$?
4929   grep -v '^ *+' conftest.er1 >conftest.err
4930   rm -f conftest.er1
4931   cat conftest.err >&5
4932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933   (exit $ac_status); } &&
4934          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935   { (case "(($ac_try" in
4936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937   *) ac_try_echo=$ac_try;;
4938 esac
4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4940   (eval "$ac_try") 2>&5
4941   ac_status=$?
4942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943   (exit $ac_status); }; } &&
4944          { ac_try='test -s conftest.$ac_objext'
4945   { (case "(($ac_try" in
4946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4947   *) ac_try_echo=$ac_try;;
4948 esac
4949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4950   (eval "$ac_try") 2>&5
4951   ac_status=$?
4952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953   (exit $ac_status); }; }; then
4954   ac_header_compiler=yes
4955 else
4956   echo "$as_me: failed program was:" >&5
4957 sed 's/^/| /' conftest.$ac_ext >&5
4958
4959         ac_header_compiler=no
4960 fi
4961
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4964 echo "${ECHO_T}$ac_header_compiler" >&6; }
4965
4966 # Is the header present?
4967 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4968 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4969 cat >conftest.$ac_ext <<_ACEOF
4970 /* confdefs.h.  */
4971 _ACEOF
4972 cat confdefs.h >>conftest.$ac_ext
4973 cat >>conftest.$ac_ext <<_ACEOF
4974 /* end confdefs.h.  */
4975 #include <$ac_header>
4976 _ACEOF
4977 if { (ac_try="$ac_cpp conftest.$ac_ext"
4978 case "(($ac_try" in
4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980   *) ac_try_echo=$ac_try;;
4981 esac
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4984   ac_status=$?
4985   grep -v '^ *+' conftest.er1 >conftest.err
4986   rm -f conftest.er1
4987   cat conftest.err >&5
4988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989   (exit $ac_status); } >/dev/null; then
4990   if test -s conftest.err; then
4991     ac_cpp_err=$ac_c_preproc_warn_flag
4992     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4993   else
4994     ac_cpp_err=
4995   fi
4996 else
4997   ac_cpp_err=yes
4998 fi
4999 if test -z "$ac_cpp_err"; then
5000   ac_header_preproc=yes
5001 else
5002   echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5004
5005   ac_header_preproc=no
5006 fi
5007
5008 rm -f conftest.err conftest.$ac_ext
5009 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5010 echo "${ECHO_T}$ac_header_preproc" >&6; }
5011
5012 # So?  What about this header?
5013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5014   yes:no: )
5015     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5016 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5017     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5018 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5019     ac_header_preproc=yes
5020     ;;
5021   no:yes:* )
5022     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5023 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5024     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5025 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5026     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5027 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5028     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5029 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5030     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5031 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5032     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5033 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5034
5035     ;;
5036 esac
5037 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5040   echo $ECHO_N "(cached) $ECHO_C" >&6
5041 else
5042   eval "$as_ac_Header=\$ac_header_preproc"
5043 fi
5044 ac_res=`eval echo '${'$as_ac_Header'}'`
5045                { echo "$as_me:$LINENO: result: $ac_res" >&5
5046 echo "${ECHO_T}$ac_res" >&6; }
5047
5048 fi
5049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5050   cat >>confdefs.h <<_ACEOF
5051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5052 _ACEOF
5053
5054 fi
5055
5056 done
5057
5058
5059 for ac_header in sysexits.h
5060 do
5061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5063   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5066   echo $ECHO_N "(cached) $ECHO_C" >&6
5067 fi
5068 ac_res=`eval echo '${'$as_ac_Header'}'`
5069                { echo "$as_me:$LINENO: result: $ac_res" >&5
5070 echo "${ECHO_T}$ac_res" >&6; }
5071 else
5072   # Is the header compilable?
5073 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5075 cat >conftest.$ac_ext <<_ACEOF
5076 /* confdefs.h.  */
5077 _ACEOF
5078 cat confdefs.h >>conftest.$ac_ext
5079 cat >>conftest.$ac_ext <<_ACEOF
5080 /* end confdefs.h.  */
5081 $ac_includes_default
5082 #include <$ac_header>
5083 _ACEOF
5084 rm -f conftest.$ac_objext
5085 if { (ac_try="$ac_compile"
5086 case "(($ac_try" in
5087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088   *) ac_try_echo=$ac_try;;
5089 esac
5090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091   (eval "$ac_compile") 2>conftest.er1
5092   ac_status=$?
5093   grep -v '^ *+' conftest.er1 >conftest.err
5094   rm -f conftest.er1
5095   cat conftest.err >&5
5096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097   (exit $ac_status); } &&
5098          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5099   { (case "(($ac_try" in
5100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5101   *) ac_try_echo=$ac_try;;
5102 esac
5103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5104   (eval "$ac_try") 2>&5
5105   ac_status=$?
5106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107   (exit $ac_status); }; } &&
5108          { ac_try='test -s conftest.$ac_objext'
5109   { (case "(($ac_try" in
5110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111   *) ac_try_echo=$ac_try;;
5112 esac
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114   (eval "$ac_try") 2>&5
5115   ac_status=$?
5116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117   (exit $ac_status); }; }; then
5118   ac_header_compiler=yes
5119 else
5120   echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.$ac_ext >&5
5122
5123         ac_header_compiler=no
5124 fi
5125
5126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5128 echo "${ECHO_T}$ac_header_compiler" >&6; }
5129
5130 # Is the header present?
5131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5133 cat >conftest.$ac_ext <<_ACEOF
5134 /* confdefs.h.  */
5135 _ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h.  */
5139 #include <$ac_header>
5140 _ACEOF
5141 if { (ac_try="$ac_cpp conftest.$ac_ext"
5142 case "(($ac_try" in
5143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5144   *) ac_try_echo=$ac_try;;
5145 esac
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5148   ac_status=$?
5149   grep -v '^ *+' conftest.er1 >conftest.err
5150   rm -f conftest.er1
5151   cat conftest.err >&5
5152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153   (exit $ac_status); } >/dev/null; then
5154   if test -s conftest.err; then
5155     ac_cpp_err=$ac_c_preproc_warn_flag
5156     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5157   else
5158     ac_cpp_err=
5159   fi
5160 else
5161   ac_cpp_err=yes
5162 fi
5163 if test -z "$ac_cpp_err"; then
5164   ac_header_preproc=yes
5165 else
5166   echo "$as_me: failed program was:" >&5
5167 sed 's/^/| /' conftest.$ac_ext >&5
5168
5169   ac_header_preproc=no
5170 fi
5171
5172 rm -f conftest.err conftest.$ac_ext
5173 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5174 echo "${ECHO_T}$ac_header_preproc" >&6; }
5175
5176 # So?  What about this header?
5177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5178   yes:no: )
5179     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5181     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5183     ac_header_preproc=yes
5184     ;;
5185   no:yes:* )
5186     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5188     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5189 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5190     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5192     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5193 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5194     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5196     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5198
5199     ;;
5200 esac
5201 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5204   echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206   eval "$as_ac_Header=\$ac_header_preproc"
5207 fi
5208 ac_res=`eval echo '${'$as_ac_Header'}'`
5209                { echo "$as_me:$LINENO: result: $ac_res" >&5
5210 echo "${ECHO_T}$ac_res" >&6; }
5211
5212 fi
5213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5214   cat >>confdefs.h <<_ACEOF
5215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5216 _ACEOF
5217
5218 fi
5219
5220 done
5221
5222
5223 for ac_header in getopt.h
5224 do
5225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5227   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5230   echo $ECHO_N "(cached) $ECHO_C" >&6
5231 fi
5232 ac_res=`eval echo '${'$as_ac_Header'}'`
5233                { echo "$as_me:$LINENO: result: $ac_res" >&5
5234 echo "${ECHO_T}$ac_res" >&6; }
5235 else
5236   # Is the header compilable?
5237 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5238 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5239 cat >conftest.$ac_ext <<_ACEOF
5240 /* confdefs.h.  */
5241 _ACEOF
5242 cat confdefs.h >>conftest.$ac_ext
5243 cat >>conftest.$ac_ext <<_ACEOF
5244 /* end confdefs.h.  */
5245 $ac_includes_default
5246 #include <$ac_header>
5247 _ACEOF
5248 rm -f conftest.$ac_objext
5249 if { (ac_try="$ac_compile"
5250 case "(($ac_try" in
5251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252   *) ac_try_echo=$ac_try;;
5253 esac
5254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255   (eval "$ac_compile") 2>conftest.er1
5256   ac_status=$?
5257   grep -v '^ *+' conftest.er1 >conftest.err
5258   rm -f conftest.er1
5259   cat conftest.err >&5
5260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261   (exit $ac_status); } &&
5262          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5263   { (case "(($ac_try" in
5264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5265   *) ac_try_echo=$ac_try;;
5266 esac
5267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5268   (eval "$ac_try") 2>&5
5269   ac_status=$?
5270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271   (exit $ac_status); }; } &&
5272          { ac_try='test -s conftest.$ac_objext'
5273   { (case "(($ac_try" in
5274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5275   *) ac_try_echo=$ac_try;;
5276 esac
5277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5278   (eval "$ac_try") 2>&5
5279   ac_status=$?
5280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281   (exit $ac_status); }; }; then
5282   ac_header_compiler=yes
5283 else
5284   echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5286
5287         ac_header_compiler=no
5288 fi
5289
5290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5291 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5292 echo "${ECHO_T}$ac_header_compiler" >&6; }
5293
5294 # Is the header present?
5295 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5296 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5297 cat >conftest.$ac_ext <<_ACEOF
5298 /* confdefs.h.  */
5299 _ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h.  */
5303 #include <$ac_header>
5304 _ACEOF
5305 if { (ac_try="$ac_cpp conftest.$ac_ext"
5306 case "(($ac_try" in
5307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308   *) ac_try_echo=$ac_try;;
5309 esac
5310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5311   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5312   ac_status=$?
5313   grep -v '^ *+' conftest.er1 >conftest.err
5314   rm -f conftest.er1
5315   cat conftest.err >&5
5316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317   (exit $ac_status); } >/dev/null; then
5318   if test -s conftest.err; then
5319     ac_cpp_err=$ac_c_preproc_warn_flag
5320     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5321   else
5322     ac_cpp_err=
5323   fi
5324 else
5325   ac_cpp_err=yes
5326 fi
5327 if test -z "$ac_cpp_err"; then
5328   ac_header_preproc=yes
5329 else
5330   echo "$as_me: failed program was:" >&5
5331 sed 's/^/| /' conftest.$ac_ext >&5
5332
5333   ac_header_preproc=no
5334 fi
5335
5336 rm -f conftest.err conftest.$ac_ext
5337 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5338 echo "${ECHO_T}$ac_header_preproc" >&6; }
5339
5340 # So?  What about this header?
5341 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5342   yes:no: )
5343     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5345     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5347     ac_header_preproc=yes
5348     ;;
5349   no:yes:* )
5350     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5352     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5353 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5354     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5356     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5357 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5358     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5360     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5362
5363     ;;
5364 esac
5365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5367 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5368   echo $ECHO_N "(cached) $ECHO_C" >&6
5369 else
5370   eval "$as_ac_Header=\$ac_header_preproc"
5371 fi
5372 ac_res=`eval echo '${'$as_ac_Header'}'`
5373                { echo "$as_me:$LINENO: result: $ac_res" >&5
5374 echo "${ECHO_T}$ac_res" >&6; }
5375
5376 fi
5377 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5378   cat >>confdefs.h <<_ACEOF
5379 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5380 _ACEOF
5381
5382 fi
5383
5384 done
5385
5386
5387 for ac_header in endian.h
5388 do
5389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5391   { echo "$as_me:$LINENO: checking for $ac_header" >&5
5392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5394   echo $ECHO_N "(cached) $ECHO_C" >&6
5395 fi
5396 ac_res=`eval echo '${'$as_ac_Header'}'`
5397                { echo "$as_me:$LINENO: result: $ac_res" >&5
5398 echo "${ECHO_T}$ac_res" >&6; }
5399 else
5400   # Is the header compilable?
5401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5403 cat >conftest.$ac_ext <<_ACEOF
5404 /* confdefs.h.  */
5405 _ACEOF
5406 cat confdefs.h >>conftest.$ac_ext
5407 cat >>conftest.$ac_ext <<_ACEOF
5408 /* end confdefs.h.  */
5409 $ac_includes_default
5410 #include <$ac_header>
5411 _ACEOF
5412 rm -f conftest.$ac_objext
5413 if { (ac_try="$ac_compile"
5414 case "(($ac_try" in
5415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416   *) ac_try_echo=$ac_try;;
5417 esac
5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419   (eval "$ac_compile") 2>conftest.er1
5420   ac_status=$?
5421   grep -v '^ *+' conftest.er1 >conftest.err
5422   rm -f conftest.er1
5423   cat conftest.err >&5
5424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425   (exit $ac_status); } &&
5426          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5427   { (case "(($ac_try" in
5428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5429   *) ac_try_echo=$ac_try;;
5430 esac
5431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5432   (eval "$ac_try") 2>&5
5433   ac_status=$?
5434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5435   (exit $ac_status); }; } &&
5436          { ac_try='test -s conftest.$ac_objext'
5437   { (case "(($ac_try" in
5438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439   *) ac_try_echo=$ac_try;;
5440 esac
5441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5442   (eval "$ac_try") 2>&5
5443   ac_status=$?
5444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445   (exit $ac_status); }; }; then
5446   ac_header_compiler=yes
5447 else
5448   echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5450
5451         ac_header_compiler=no
5452 fi
5453
5454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5456 echo "${ECHO_T}$ac_header_compiler" >&6; }
5457
5458 # Is the header present?
5459 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5460 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5461 cat >conftest.$ac_ext <<_ACEOF
5462 /* confdefs.h.  */
5463 _ACEOF
5464 cat confdefs.h >>conftest.$ac_ext
5465 cat >>conftest.$ac_ext <<_ACEOF
5466 /* end confdefs.h.  */
5467 #include <$ac_header>
5468 _ACEOF
5469 if { (ac_try="$ac_cpp conftest.$ac_ext"
5470 case "(($ac_try" in
5471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5472   *) ac_try_echo=$ac_try;;
5473 esac
5474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5475   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5476   ac_status=$?
5477   grep -v '^ *+' conftest.er1 >conftest.err
5478   rm -f conftest.er1
5479   cat conftest.err >&5
5480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481   (exit $ac_status); } >/dev/null; then
5482   if test -s conftest.err; then
5483     ac_cpp_err=$ac_c_preproc_warn_flag
5484     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5485   else
5486     ac_cpp_err=
5487   fi
5488 else
5489   ac_cpp_err=yes
5490 fi
5491 if test -z "$ac_cpp_err"; then
5492   ac_header_preproc=yes
5493 else
5494   echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.$ac_ext >&5
5496
5497   ac_header_preproc=no
5498 fi
5499
5500 rm -f conftest.err conftest.$ac_ext
5501 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5502 echo "${ECHO_T}$ac_header_preproc" >&6; }
5503
5504 # So?  What about this header?
5505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5506   yes:no: )
5507     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5508 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5509     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5510 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5511     ac_header_preproc=yes
5512     ;;
5513   no:yes:* )
5514     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5515 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5516     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5517 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5518     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5519 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5520     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5521 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5522     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5523 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5524     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5525 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5526
5527     ;;
5528 esac
5529 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5531 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5532   echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534   eval "$as_ac_Header=\$ac_header_preproc"
5535 fi
5536 ac_res=`eval echo '${'$as_ac_Header'}'`
5537                { echo "$as_me:$LINENO: result: $ac_res" >&5
5538 echo "${ECHO_T}$ac_res" >&6; }
5539
5540 fi
5541 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5542   cat >>confdefs.h <<_ACEOF
5543 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5544 _ACEOF
5545
5546 fi
5547
5548 done
5549
5550
5551 { echo "$as_me:$LINENO: checking for off_t" >&5
5552 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
5553 if test "${ac_cv_type_off_t+set}" = set; then
5554   echo $ECHO_N "(cached) $ECHO_C" >&6
5555 else
5556   cat >conftest.$ac_ext <<_ACEOF
5557 /* confdefs.h.  */
5558 _ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h.  */
5562 $ac_includes_default
5563 typedef off_t ac__type_new_;
5564 int
5565 main ()
5566 {
5567 if ((ac__type_new_ *) 0)
5568   return 0;
5569 if (sizeof (ac__type_new_))
5570   return 0;
5571   ;
5572   return 0;
5573 }
5574 _ACEOF
5575 rm -f conftest.$ac_objext
5576 if { (ac_try="$ac_compile"
5577 case "(($ac_try" in
5578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579   *) ac_try_echo=$ac_try;;
5580 esac
5581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5582   (eval "$ac_compile") 2>conftest.er1
5583   ac_status=$?
5584   grep -v '^ *+' conftest.er1 >conftest.err
5585   rm -f conftest.er1
5586   cat conftest.err >&5
5587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588   (exit $ac_status); } &&
5589          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5590   { (case "(($ac_try" in
5591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5592   *) ac_try_echo=$ac_try;;
5593 esac
5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5595   (eval "$ac_try") 2>&5
5596   ac_status=$?
5597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598   (exit $ac_status); }; } &&
5599          { ac_try='test -s conftest.$ac_objext'
5600   { (case "(($ac_try" in
5601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5602   *) ac_try_echo=$ac_try;;
5603 esac
5604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5605   (eval "$ac_try") 2>&5
5606   ac_status=$?
5607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608   (exit $ac_status); }; }; then
5609   ac_cv_type_off_t=yes
5610 else
5611   echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.$ac_ext >&5
5613
5614         ac_cv_type_off_t=no
5615 fi
5616
5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5618 fi
5619 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5620 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5621 if test $ac_cv_type_off_t = yes; then
5622   :
5623 else
5624
5625 cat >>confdefs.h <<_ACEOF
5626 #define off_t signed long
5627 _ACEOF
5628
5629 fi
5630
5631 { echo "$as_me:$LINENO: checking for size_t" >&5
5632 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5633 if test "${ac_cv_type_size_t+set}" = set; then
5634   echo $ECHO_N "(cached) $ECHO_C" >&6
5635 else
5636   cat >conftest.$ac_ext <<_ACEOF
5637 /* confdefs.h.  */
5638 _ACEOF
5639 cat confdefs.h >>conftest.$ac_ext
5640 cat >>conftest.$ac_ext <<_ACEOF
5641 /* end confdefs.h.  */
5642 $ac_includes_default
5643 typedef size_t ac__type_new_;
5644 int
5645 main ()
5646 {
5647 if ((ac__type_new_ *) 0)
5648   return 0;
5649 if (sizeof (ac__type_new_))
5650   return 0;
5651   ;
5652   return 0;
5653 }
5654 _ACEOF
5655 rm -f conftest.$ac_objext
5656 if { (ac_try="$ac_compile"
5657 case "(($ac_try" in
5658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5659   *) ac_try_echo=$ac_try;;
5660 esac
5661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5662   (eval "$ac_compile") 2>conftest.er1
5663   ac_status=$?
5664   grep -v '^ *+' conftest.er1 >conftest.err
5665   rm -f conftest.er1
5666   cat conftest.err >&5
5667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668   (exit $ac_status); } &&
5669          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5670   { (case "(($ac_try" in
5671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5672   *) ac_try_echo=$ac_try;;
5673 esac
5674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5675   (eval "$ac_try") 2>&5
5676   ac_status=$?
5677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678   (exit $ac_status); }; } &&
5679          { ac_try='test -s conftest.$ac_objext'
5680   { (case "(($ac_try" in
5681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5682   *) ac_try_echo=$ac_try;;
5683 esac
5684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5685   (eval "$ac_try") 2>&5
5686   ac_status=$?
5687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688   (exit $ac_status); }; }; then
5689   ac_cv_type_size_t=yes
5690 else
5691   echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.$ac_ext >&5
5693
5694         ac_cv_type_size_t=no
5695 fi
5696
5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698 fi
5699 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5700 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5701 if test $ac_cv_type_size_t = yes; then
5702   :
5703 else
5704
5705 cat >>confdefs.h <<_ACEOF
5706 #define size_t unsigned long
5707 _ACEOF
5708
5709 fi
5710
5711 { echo "$as_me:$LINENO: checking for ssize_t" >&5
5712 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
5713 if test "${ac_cv_type_ssize_t+set}" = set; then
5714   echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716   cat >conftest.$ac_ext <<_ACEOF
5717 /* confdefs.h.  */
5718 _ACEOF
5719 cat confdefs.h >>conftest.$ac_ext
5720 cat >>conftest.$ac_ext <<_ACEOF
5721 /* end confdefs.h.  */
5722 $ac_includes_default
5723 typedef ssize_t ac__type_new_;
5724 int
5725 main ()
5726 {
5727 if ((ac__type_new_ *) 0)
5728   return 0;
5729 if (sizeof (ac__type_new_))
5730   return 0;
5731   ;
5732   return 0;
5733 }
5734 _ACEOF
5735 rm -f conftest.$ac_objext
5736 if { (ac_try="$ac_compile"
5737 case "(($ac_try" in
5738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5739   *) ac_try_echo=$ac_try;;
5740 esac
5741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5742   (eval "$ac_compile") 2>conftest.er1
5743   ac_status=$?
5744   grep -v '^ *+' conftest.er1 >conftest.err
5745   rm -f conftest.er1
5746   cat conftest.err >&5
5747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748   (exit $ac_status); } &&
5749          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5750   { (case "(($ac_try" in
5751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5752   *) ac_try_echo=$ac_try;;
5753 esac
5754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755   (eval "$ac_try") 2>&5
5756   ac_status=$?
5757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5758   (exit $ac_status); }; } &&
5759          { ac_try='test -s conftest.$ac_objext'
5760   { (case "(($ac_try" in
5761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762   *) ac_try_echo=$ac_try;;
5763 esac
5764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5765   (eval "$ac_try") 2>&5
5766   ac_status=$?
5767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768   (exit $ac_status); }; }; then
5769   ac_cv_type_ssize_t=yes
5770 else
5771   echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.$ac_ext >&5
5773
5774         ac_cv_type_ssize_t=no
5775 fi
5776
5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5778 fi
5779 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
5780 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
5781 if test $ac_cv_type_ssize_t = yes; then
5782   :
5783 else
5784
5785 cat >>confdefs.h <<_ACEOF
5786 #define ssize_t signed long
5787 _ACEOF
5788
5789 fi
5790
5791
5792
5793 for ac_func in lchown
5794 do
5795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5799   echo $ECHO_N "(cached) $ECHO_C" >&6
5800 else
5801   cat >conftest.$ac_ext <<_ACEOF
5802 /* confdefs.h.  */
5803 _ACEOF
5804 cat confdefs.h >>conftest.$ac_ext
5805 cat >>conftest.$ac_ext <<_ACEOF
5806 /* end confdefs.h.  */
5807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5808    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5809 #define $ac_func innocuous_$ac_func
5810
5811 /* System header to define __stub macros and hopefully few prototypes,
5812     which can conflict with char $ac_func (); below.
5813     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5814     <limits.h> exists even on freestanding compilers.  */
5815
5816 #ifdef __STDC__
5817 # include <limits.h>
5818 #else
5819 # include <assert.h>
5820 #endif
5821
5822 #undef $ac_func
5823
5824 /* Override any GCC internal prototype to avoid an error.
5825    Use char because int might match the return type of a GCC
5826    builtin and then its argument prototype would still apply.  */
5827 #ifdef __cplusplus
5828 extern "C"
5829 #endif
5830 char $ac_func ();
5831 /* The GNU C library defines this for functions which it implements
5832     to always fail with ENOSYS.  Some functions are actually named
5833     something starting with __ and the normal name is an alias.  */
5834 #if defined __stub_$ac_func || defined __stub___$ac_func
5835 choke me
5836 #endif
5837
5838 int
5839 main ()
5840 {
5841 return $ac_func ();
5842   ;
5843   return 0;
5844 }
5845 _ACEOF
5846 rm -f conftest.$ac_objext conftest$ac_exeext
5847 if { (ac_try="$ac_link"
5848 case "(($ac_try" in
5849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5850   *) ac_try_echo=$ac_try;;
5851 esac
5852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5853   (eval "$ac_link") 2>conftest.er1
5854   ac_status=$?
5855   grep -v '^ *+' conftest.er1 >conftest.err
5856   rm -f conftest.er1
5857   cat conftest.err >&5
5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859   (exit $ac_status); } &&
5860          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5861   { (case "(($ac_try" in
5862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5863   *) ac_try_echo=$ac_try;;
5864 esac
5865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5866   (eval "$ac_try") 2>&5
5867   ac_status=$?
5868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869   (exit $ac_status); }; } &&
5870          { ac_try='test -s conftest$ac_exeext'
5871   { (case "(($ac_try" in
5872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873   *) ac_try_echo=$ac_try;;
5874 esac
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876   (eval "$ac_try") 2>&5
5877   ac_status=$?
5878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879   (exit $ac_status); }; }; then
5880   eval "$as_ac_var=yes"
5881 else
5882   echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.$ac_ext >&5
5884
5885         eval "$as_ac_var=no"
5886 fi
5887
5888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5889       conftest$ac_exeext conftest.$ac_ext
5890 fi
5891 ac_res=`eval echo '${'$as_ac_var'}'`
5892                { echo "$as_me:$LINENO: result: $ac_res" >&5
5893 echo "${ECHO_T}$ac_res" >&6; }
5894 if test `eval echo '${'$as_ac_var'}'` = yes; then
5895   cat >>confdefs.h <<_ACEOF
5896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5897 _ACEOF
5898
5899 fi
5900 done
5901
5902
5903 for ac_func in utimes
5904 do
5905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
5907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5909   echo $ECHO_N "(cached) $ECHO_C" >&6
5910 else
5911   cat >conftest.$ac_ext <<_ACEOF
5912 /* confdefs.h.  */
5913 _ACEOF
5914 cat confdefs.h >>conftest.$ac_ext
5915 cat >>conftest.$ac_ext <<_ACEOF
5916 /* end confdefs.h.  */
5917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5918    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5919 #define $ac_func innocuous_$ac_func
5920
5921 /* System header to define __stub macros and hopefully few prototypes,
5922     which can conflict with char $ac_func (); below.
5923     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5924     <limits.h> exists even on freestanding compilers.  */
5925
5926 #ifdef __STDC__
5927 # include <limits.h>
5928 #else
5929 # include <assert.h>
5930 #endif
5931
5932 #undef $ac_func
5933
5934 /* Override any GCC internal prototype to avoid an error.
5935    Use char because int might match the return type of a GCC
5936    builtin and then its argument prototype would still apply.  */
5937 #ifdef __cplusplus
5938 extern "C"
5939 #endif
5940 char $ac_func ();
5941 /* The GNU C library defines this for functions which it implements
5942     to always fail with ENOSYS.  Some functions are actually named
5943     something starting with __ and the normal name is an alias.  */
5944 #if defined __stub_$ac_func || defined __stub___$ac_func
5945 choke me
5946 #endif
5947
5948 int
5949 main ()
5950 {
5951 return $ac_func ();
5952   ;
5953   return 0;
5954 }
5955 _ACEOF
5956 rm -f conftest.$ac_objext conftest$ac_exeext
5957 if { (ac_try="$ac_link"
5958 case "(($ac_try" in
5959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5960   *) ac_try_echo=$ac_try;;
5961 esac
5962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5963   (eval "$ac_link") 2>conftest.er1
5964   ac_status=$?
5965   grep -v '^ *+' conftest.er1 >conftest.err
5966   rm -f conftest.er1
5967   cat conftest.err >&5
5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969   (exit $ac_status); } &&
5970          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5971   { (case "(($ac_try" in
5972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5973   *) ac_try_echo=$ac_try;;
5974 esac
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5976   (eval "$ac_try") 2>&5
5977   ac_status=$?
5978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979   (exit $ac_status); }; } &&
5980          { ac_try='test -s conftest$ac_exeext'
5981   { (case "(($ac_try" in
5982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5983   *) ac_try_echo=$ac_try;;
5984 esac
5985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5986   (eval "$ac_try") 2>&5
5987   ac_status=$?
5988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989   (exit $ac_status); }; }; then
5990   eval "$as_ac_var=yes"
5991 else
5992   echo "$as_me: failed program was:" >&5
5993 sed 's/^/| /' conftest.$ac_ext >&5
5994
5995         eval "$as_ac_var=no"
5996 fi
5997
5998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5999       conftest$ac_exeext conftest.$ac_ext
6000 fi
6001 ac_res=`eval echo '${'$as_ac_var'}'`
6002                { echo "$as_me:$LINENO: result: $ac_res" >&5
6003 echo "${ECHO_T}$ac_res" >&6; }
6004 if test `eval echo '${'$as_ac_var'}'` = yes; then
6005   cat >>confdefs.h <<_ACEOF
6006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6007 _ACEOF
6008
6009 fi
6010 done
6011
6012
6013 { echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_usec" >&5
6014 echo $ECHO_N "checking for struct stat.st_mtim.tv_usec... $ECHO_C" >&6; }
6015 if test "${ac_cv_member_struct_stat_st_mtim_tv_usec+set}" = set; then
6016   echo $ECHO_N "(cached) $ECHO_C" >&6
6017 else
6018   cat >conftest.$ac_ext <<_ACEOF
6019 /* confdefs.h.  */
6020 _ACEOF
6021 cat confdefs.h >>conftest.$ac_ext
6022 cat >>conftest.$ac_ext <<_ACEOF
6023 /* end confdefs.h.  */
6024 #include <sys/stat.h>
6025
6026 int
6027 main ()
6028 {
6029 static struct stat ac_aggr;
6030 if (ac_aggr.st_mtim.tv_usec)
6031 return 0;
6032   ;
6033   return 0;
6034 }
6035 _ACEOF
6036 rm -f conftest.$ac_objext
6037 if { (ac_try="$ac_compile"
6038 case "(($ac_try" in
6039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040   *) ac_try_echo=$ac_try;;
6041 esac
6042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6043   (eval "$ac_compile") 2>conftest.er1
6044   ac_status=$?
6045   grep -v '^ *+' conftest.er1 >conftest.err
6046   rm -f conftest.er1
6047   cat conftest.err >&5
6048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049   (exit $ac_status); } &&
6050          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6051   { (case "(($ac_try" in
6052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6053   *) ac_try_echo=$ac_try;;
6054 esac
6055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6056   (eval "$ac_try") 2>&5
6057   ac_status=$?
6058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059   (exit $ac_status); }; } &&
6060          { ac_try='test -s conftest.$ac_objext'
6061   { (case "(($ac_try" in
6062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6063   *) ac_try_echo=$ac_try;;
6064 esac
6065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6066   (eval "$ac_try") 2>&5
6067   ac_status=$?
6068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069   (exit $ac_status); }; }; then
6070   ac_cv_member_struct_stat_st_mtim_tv_usec=yes
6071 else
6072   echo "$as_me: failed program was:" >&5
6073 sed 's/^/| /' conftest.$ac_ext >&5
6074
6075         cat >conftest.$ac_ext <<_ACEOF
6076 /* confdefs.h.  */
6077 _ACEOF
6078 cat confdefs.h >>conftest.$ac_ext
6079 cat >>conftest.$ac_ext <<_ACEOF
6080 /* end confdefs.h.  */
6081 #include <sys/stat.h>
6082
6083 int
6084 main ()
6085 {
6086 static struct stat ac_aggr;
6087 if (sizeof ac_aggr.st_mtim.tv_usec)
6088 return 0;
6089   ;
6090   return 0;
6091 }
6092 _ACEOF
6093 rm -f conftest.$ac_objext
6094 if { (ac_try="$ac_compile"
6095 case "(($ac_try" in
6096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097   *) ac_try_echo=$ac_try;;
6098 esac
6099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6100   (eval "$ac_compile") 2>conftest.er1
6101   ac_status=$?
6102   grep -v '^ *+' conftest.er1 >conftest.err
6103   rm -f conftest.er1
6104   cat conftest.err >&5
6105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106   (exit $ac_status); } &&
6107          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6108   { (case "(($ac_try" in
6109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110   *) ac_try_echo=$ac_try;;
6111 esac
6112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113   (eval "$ac_try") 2>&5
6114   ac_status=$?
6115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116   (exit $ac_status); }; } &&
6117          { ac_try='test -s conftest.$ac_objext'
6118   { (case "(($ac_try" in
6119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6120   *) ac_try_echo=$ac_try;;
6121 esac
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123   (eval "$ac_try") 2>&5
6124   ac_status=$?
6125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126   (exit $ac_status); }; }; then
6127   ac_cv_member_struct_stat_st_mtim_tv_usec=yes
6128 else
6129   echo "$as_me: failed program was:" >&5
6130 sed 's/^/| /' conftest.$ac_ext >&5
6131
6132         ac_cv_member_struct_stat_st_mtim_tv_usec=no
6133 fi
6134
6135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6136 fi
6137
6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6139 fi
6140 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim_tv_usec" >&5
6141 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim_tv_usec" >&6; }
6142 if test $ac_cv_member_struct_stat_st_mtim_tv_usec = yes; then
6143
6144 cat >>confdefs.h <<_ACEOF
6145 #define HAVE_STRUCT_STAT_ST_MTIM_TV_USEC 1
6146 _ACEOF
6147
6148
6149 fi
6150
6151
6152
6153 { echo "$as_me:$LINENO: checking for struct stat.st_mtim.tv_nsec" >&5
6154 echo $ECHO_N "checking for struct stat.st_mtim.tv_nsec... $ECHO_C" >&6; }
6155 if test "${ac_cv_member_struct_stat_st_mtim_tv_nsec+set}" = set; then
6156   echo $ECHO_N "(cached) $ECHO_C" >&6
6157 else
6158   cat >conftest.$ac_ext <<_ACEOF
6159 /* confdefs.h.  */
6160 _ACEOF
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h.  */
6164 #include <sys/stat.h>
6165
6166 int
6167 main ()
6168 {
6169 static struct stat ac_aggr;
6170 if (ac_aggr.st_mtim.tv_nsec)
6171 return 0;
6172   ;
6173   return 0;
6174 }
6175 _ACEOF
6176 rm -f conftest.$ac_objext
6177 if { (ac_try="$ac_compile"
6178 case "(($ac_try" in
6179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6180   *) ac_try_echo=$ac_try;;
6181 esac
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183   (eval "$ac_compile") 2>conftest.er1
6184   ac_status=$?
6185   grep -v '^ *+' conftest.er1 >conftest.err
6186   rm -f conftest.er1
6187   cat conftest.err >&5
6188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189   (exit $ac_status); } &&
6190          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6191   { (case "(($ac_try" in
6192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6193   *) ac_try_echo=$ac_try;;
6194 esac
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6196   (eval "$ac_try") 2>&5
6197   ac_status=$?
6198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199   (exit $ac_status); }; } &&
6200          { ac_try='test -s conftest.$ac_objext'
6201   { (case "(($ac_try" in
6202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6203   *) ac_try_echo=$ac_try;;
6204 esac
6205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206   (eval "$ac_try") 2>&5
6207   ac_status=$?
6208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209   (exit $ac_status); }; }; then
6210   ac_cv_member_struct_stat_st_mtim_tv_nsec=yes
6211 else
6212   echo "$as_me: failed program was:" >&5
6213 sed 's/^/| /' conftest.$ac_ext >&5
6214
6215         cat >conftest.$ac_ext <<_ACEOF
6216 /* confdefs.h.  */
6217 _ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h.  */
6221 #include <sys/stat.h>
6222
6223 int
6224 main ()
6225 {
6226 static struct stat ac_aggr;
6227 if (sizeof ac_aggr.st_mtim.tv_nsec)
6228 return 0;
6229   ;
6230   return 0;
6231 }
6232 _ACEOF
6233 rm -f conftest.$ac_objext
6234 if { (ac_try="$ac_compile"
6235 case "(($ac_try" in
6236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237   *) ac_try_echo=$ac_try;;
6238 esac
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240   (eval "$ac_compile") 2>conftest.er1
6241   ac_status=$?
6242   grep -v '^ *+' conftest.er1 >conftest.err
6243   rm -f conftest.er1
6244   cat conftest.err >&5
6245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246   (exit $ac_status); } &&
6247          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6248   { (case "(($ac_try" in
6249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6250   *) ac_try_echo=$ac_try;;
6251 esac
6252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6253   (eval "$ac_try") 2>&5
6254   ac_status=$?
6255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256   (exit $ac_status); }; } &&
6257          { ac_try='test -s conftest.$ac_objext'
6258   { (case "(($ac_try" in
6259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260   *) ac_try_echo=$ac_try;;
6261 esac
6262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6263   (eval "$ac_try") 2>&5
6264   ac_status=$?
6265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266   (exit $ac_status); }; }; then
6267   ac_cv_member_struct_stat_st_mtim_tv_nsec=yes
6268 else
6269   echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6271
6272         ac_cv_member_struct_stat_st_mtim_tv_nsec=no
6273 fi
6274
6275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6276 fi
6277
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6279 fi
6280 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim_tv_nsec" >&5
6281 echo "${ECHO_T}$ac_cv_member_struct_stat_st_mtim_tv_nsec" >&6; }
6282 if test $ac_cv_member_struct_stat_st_mtim_tv_nsec = yes; then
6283
6284 cat >>confdefs.h <<_ACEOF
6285 #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
6286 _ACEOF
6287
6288
6289 fi
6290
6291
6292
6293
6294 { echo "$as_me:$LINENO: checking for library containing compress2" >&5
6295 echo $ECHO_N "checking for library containing compress2... $ECHO_C" >&6; }
6296 if test "${ac_cv_search_compress2+set}" = set; then
6297   echo $ECHO_N "(cached) $ECHO_C" >&6
6298 else
6299   ac_func_search_save_LIBS=$LIBS
6300 cat >conftest.$ac_ext <<_ACEOF
6301 /* confdefs.h.  */
6302 _ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h.  */
6306
6307 /* Override any GCC internal prototype to avoid an error.
6308    Use char because int might match the return type of a GCC
6309    builtin and then its argument prototype would still apply.  */
6310 #ifdef __cplusplus
6311 extern "C"
6312 #endif
6313 char compress2 ();
6314 int
6315 main ()
6316 {
6317 return compress2 ();
6318   ;
6319   return 0;
6320 }
6321 _ACEOF
6322 for ac_lib in '' z; do
6323   if test -z "$ac_lib"; then
6324     ac_res="none required"
6325   else
6326     ac_res=-l$ac_lib
6327     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6328   fi
6329   rm -f conftest.$ac_objext conftest$ac_exeext
6330 if { (ac_try="$ac_link"
6331 case "(($ac_try" in
6332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333   *) ac_try_echo=$ac_try;;
6334 esac
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336   (eval "$ac_link") 2>conftest.er1
6337   ac_status=$?
6338   grep -v '^ *+' conftest.er1 >conftest.err
6339   rm -f conftest.er1
6340   cat conftest.err >&5
6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342   (exit $ac_status); } &&
6343          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6344   { (case "(($ac_try" in
6345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6346   *) ac_try_echo=$ac_try;;
6347 esac
6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6349   (eval "$ac_try") 2>&5
6350   ac_status=$?
6351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352   (exit $ac_status); }; } &&
6353          { ac_try='test -s conftest$ac_exeext'
6354   { (case "(($ac_try" in
6355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356   *) ac_try_echo=$ac_try;;
6357 esac
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359   (eval "$ac_try") 2>&5
6360   ac_status=$?
6361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362   (exit $ac_status); }; }; then
6363   ac_cv_search_compress2=$ac_res
6364 else
6365   echo "$as_me: failed program was:" >&5
6366 sed 's/^/| /' conftest.$ac_ext >&5
6367
6368
6369 fi
6370
6371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6372       conftest$ac_exeext
6373   if test "${ac_cv_search_compress2+set}" = set; then
6374   break
6375 fi
6376 done
6377 if test "${ac_cv_search_compress2+set}" = set; then
6378   :
6379 else
6380   ac_cv_search_compress2=no
6381 fi
6382 rm conftest.$ac_ext
6383 LIBS=$ac_func_search_save_LIBS
6384 fi
6385 { echo "$as_me:$LINENO: result: $ac_cv_search_compress2" >&5
6386 echo "${ECHO_T}$ac_cv_search_compress2" >&6; }
6387 ac_res=$ac_cv_search_compress2
6388 if test "$ac_res" != no; then
6389   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6390
6391 else
6392   { { echo "$as_me:$LINENO: error: zlib not found" >&5
6393 echo "$as_me: error: zlib not found" >&2;}
6394    { (exit cannot continue); exit cannot continue; }; }
6395 fi
6396
6397 { echo "$as_me:$LINENO: checking for library containing getopt_long" >&5
6398 echo $ECHO_N "checking for library containing getopt_long... $ECHO_C" >&6; }
6399 if test "${ac_cv_search_getopt_long+set}" = set; then
6400   echo $ECHO_N "(cached) $ECHO_C" >&6
6401 else
6402   ac_func_search_save_LIBS=$LIBS
6403 cat >conftest.$ac_ext <<_ACEOF
6404 /* confdefs.h.  */
6405 _ACEOF
6406 cat confdefs.h >>conftest.$ac_ext
6407 cat >>conftest.$ac_ext <<_ACEOF
6408 /* end confdefs.h.  */
6409
6410 /* Override any GCC internal prototype to avoid an error.
6411    Use char because int might match the return type of a GCC
6412    builtin and then its argument prototype would still apply.  */
6413 #ifdef __cplusplus
6414 extern "C"
6415 #endif
6416 char getopt_long ();
6417 int
6418 main ()
6419 {
6420 return getopt_long ();
6421   ;
6422   return 0;
6423 }
6424 _ACEOF
6425 for ac_lib in '' getopt getopt_long; do
6426   if test -z "$ac_lib"; then
6427     ac_res="none required"
6428   else
6429     ac_res=-l$ac_lib
6430     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6431   fi
6432   rm -f conftest.$ac_objext conftest$ac_exeext
6433 if { (ac_try="$ac_link"
6434 case "(($ac_try" in
6435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6436   *) ac_try_echo=$ac_try;;
6437 esac
6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439   (eval "$ac_link") 2>conftest.er1
6440   ac_status=$?
6441   grep -v '^ *+' conftest.er1 >conftest.err
6442   rm -f conftest.er1
6443   cat conftest.err >&5
6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445   (exit $ac_status); } &&
6446          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6447   { (case "(($ac_try" in
6448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449   *) ac_try_echo=$ac_try;;
6450 esac
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452   (eval "$ac_try") 2>&5
6453   ac_status=$?
6454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6455   (exit $ac_status); }; } &&
6456          { ac_try='test -s conftest$ac_exeext'
6457   { (case "(($ac_try" in
6458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6459   *) ac_try_echo=$ac_try;;
6460 esac
6461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6462   (eval "$ac_try") 2>&5
6463   ac_status=$?
6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465   (exit $ac_status); }; }; then
6466   ac_cv_search_getopt_long=$ac_res
6467 else
6468   echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6470
6471
6472 fi
6473
6474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6475       conftest$ac_exeext
6476   if test "${ac_cv_search_getopt_long+set}" = set; then
6477   break
6478 fi
6479 done
6480 if test "${ac_cv_search_getopt_long+set}" = set; then
6481   :
6482 else
6483   ac_cv_search_getopt_long=no
6484 fi
6485 rm conftest.$ac_ext
6486 LIBS=$ac_func_search_save_LIBS
6487 fi
6488 { echo "$as_me:$LINENO: result: $ac_cv_search_getopt_long" >&5
6489 echo "${ECHO_T}$ac_cv_search_getopt_long" >&6; }
6490 ac_res=$ac_cv_search_getopt_long
6491 if test "$ac_res" != no; then
6492   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6493
6494 fi
6495
6496
6497 for ac_func in getopt_long
6498 do
6499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6503   echo $ECHO_N "(cached) $ECHO_C" >&6
6504 else
6505   cat >conftest.$ac_ext <<_ACEOF
6506 /* confdefs.h.  */
6507 _ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h.  */
6511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6513 #define $ac_func innocuous_$ac_func
6514
6515 /* System header to define __stub macros and hopefully few prototypes,
6516     which can conflict with char $ac_func (); below.
6517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6518     <limits.h> exists even on freestanding compilers.  */
6519
6520 #ifdef __STDC__
6521 # include <limits.h>
6522 #else
6523 # include <assert.h>
6524 #endif
6525
6526 #undef $ac_func
6527
6528 /* Override any GCC internal prototype to avoid an error.
6529    Use char because int might match the return type of a GCC
6530    builtin and then its argument prototype would still apply.  */
6531 #ifdef __cplusplus
6532 extern "C"
6533 #endif
6534 char $ac_func ();
6535 /* The GNU C library defines this for functions which it implements
6536     to always fail with ENOSYS.  Some functions are actually named
6537     something starting with __ and the normal name is an alias.  */
6538 #if defined __stub_$ac_func || defined __stub___$ac_func
6539 choke me
6540 #endif
6541
6542 int
6543 main ()
6544 {
6545 return $ac_func ();
6546   ;
6547   return 0;
6548 }
6549 _ACEOF
6550 rm -f conftest.$ac_objext conftest$ac_exeext
6551 if { (ac_try="$ac_link"
6552 case "(($ac_try" in
6553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554   *) ac_try_echo=$ac_try;;
6555 esac
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557   (eval "$ac_link") 2>conftest.er1
6558   ac_status=$?
6559   grep -v '^ *+' conftest.er1 >conftest.err
6560   rm -f conftest.er1
6561   cat conftest.err >&5
6562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563   (exit $ac_status); } &&
6564          { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6565   { (case "(($ac_try" in
6566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6567   *) ac_try_echo=$ac_try;;
6568 esac
6569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6570   (eval "$ac_try") 2>&5
6571   ac_status=$?
6572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573   (exit $ac_status); }; } &&
6574          { ac_try='test -s conftest$ac_exeext'
6575   { (case "(($ac_try" in
6576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6577   *) ac_try_echo=$ac_try;;
6578 esac
6579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6580   (eval "$ac_try") 2>&5
6581   ac_status=$?
6582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583   (exit $ac_status); }; }; then
6584   eval "$as_ac_var=yes"
6585 else
6586   echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6588
6589         eval "$as_ac_var=no"
6590 fi
6591
6592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6593       conftest$ac_exeext conftest.$ac_ext
6594 fi
6595 ac_res=`eval echo '${'$as_ac_var'}'`
6596                { echo "$as_me:$LINENO: result: $ac_res" >&5
6597 echo "${ECHO_T}$ac_res" >&6; }
6598 if test `eval echo '${'$as_ac_var'}'` = yes; then
6599   cat >>confdefs.h <<_ACEOF
6600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6601 _ACEOF
6602
6603 fi
6604 done
6605
6606
6607
6608
6609 if test -n "$ac_tool_prefix"; then
6610   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6611 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6614 if test "${ac_cv_prog_RANLIB+set}" = set; then
6615   echo $ECHO_N "(cached) $ECHO_C" >&6
6616 else
6617   if test -n "$RANLIB"; then
6618   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6622 do
6623   IFS=$as_save_IFS
6624   test -z "$as_dir" && as_dir=.
6625   for ac_exec_ext in '' $ac_executable_extensions; do
6626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6627     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6628     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6629     break 2
6630   fi
6631 done
6632 done
6633 IFS=$as_save_IFS
6634
6635 fi
6636 fi
6637 RANLIB=$ac_cv_prog_RANLIB
6638 if test -n "$RANLIB"; then
6639   { echo "$as_me:$LINENO: result: $RANLIB" >&5
6640 echo "${ECHO_T}$RANLIB" >&6; }
6641 else
6642   { echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6; }
6644 fi
6645
6646
6647 fi
6648 if test -z "$ac_cv_prog_RANLIB"; then
6649   ac_ct_RANLIB=$RANLIB
6650   # Extract the first word of "ranlib", so it can be a program name with args.
6651 set dummy ranlib; ac_word=$2
6652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6654 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6655   echo $ECHO_N "(cached) $ECHO_C" >&6
6656 else
6657   if test -n "$ac_ct_RANLIB"; then
6658   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6659 else
6660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 for as_dir in $PATH
6662 do
6663   IFS=$as_save_IFS
6664   test -z "$as_dir" && as_dir=.
6665   for ac_exec_ext in '' $ac_executable_extensions; do
6666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6667     ac_cv_prog_ac_ct_RANLIB="ranlib"
6668     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6669     break 2
6670   fi
6671 done
6672 done
6673 IFS=$as_save_IFS
6674
6675 fi
6676 fi
6677 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6678 if test -n "$ac_ct_RANLIB"; then
6679   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6680 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6681 else
6682   { echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6; }
6684 fi
6685
6686   if test "x$ac_ct_RANLIB" = x; then
6687     RANLIB=":"
6688   else
6689     case $cross_compiling:$ac_tool_warned in
6690 yes:)
6691 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6692 whose name does not start with the host triplet.  If you think this
6693 configuration is useful to you, please write to autoconf@gnu.org." >&5
6694 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6695 whose name does not start with the host triplet.  If you think this
6696 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6697 ac_tool_warned=yes ;;
6698 esac
6699     RANLIB=$ac_ct_RANLIB
6700   fi
6701 else
6702   RANLIB="$ac_cv_prog_RANLIB"
6703 fi
6704
6705 ac_aux_dir=
6706 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
6707   if test -f "$ac_dir/install-sh"; then
6708     ac_aux_dir=$ac_dir
6709     ac_install_sh="$ac_aux_dir/install-sh -c"
6710     break
6711   elif test -f "$ac_dir/install.sh"; then
6712     ac_aux_dir=$ac_dir
6713     ac_install_sh="$ac_aux_dir/install.sh -c"
6714     break
6715   elif test -f "$ac_dir/shtool"; then
6716     ac_aux_dir=$ac_dir
6717     ac_install_sh="$ac_aux_dir/shtool install -c"
6718     break
6719   fi
6720 done
6721 if test -z "$ac_aux_dir"; then
6722   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
6723 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
6724    { (exit 1); exit 1; }; }
6725 fi
6726
6727 # These three variables are undocumented and unsupported,
6728 # and are intended to be withdrawn in a future Autoconf release.
6729 # They can cause serious problems if a builder's source tree is in a directory
6730 # whose full name contains unusual characters.
6731 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
6732 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
6733 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
6734
6735
6736 # Find a good install program.  We prefer a C program (faster),
6737 # so one script is as good as another.  But avoid the broken or
6738 # incompatible versions:
6739 # SysV /etc/install, /usr/sbin/install
6740 # SunOS /usr/etc/install
6741 # IRIX /sbin/install
6742 # AIX /bin/install
6743 # AmigaOS /C/install, which installs bootblocks on floppy discs
6744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6747 # OS/2's system install, which has a completely different semantic
6748 # ./install, which can be erroneously created by make from ./install.sh.
6749 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6750 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6751 if test -z "$INSTALL"; then
6752 if test "${ac_cv_path_install+set}" = set; then
6753   echo $ECHO_N "(cached) $ECHO_C" >&6
6754 else
6755   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 for as_dir in $PATH
6757 do
6758   IFS=$as_save_IFS
6759   test -z "$as_dir" && as_dir=.
6760   # Account for people who put trailing slashes in PATH elements.
6761 case $as_dir/ in
6762   ./ | .// | /cC/* | \
6763   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6764   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6765   /usr/ucb/* ) ;;
6766   *)
6767     # OSF1 and SCO ODT 3.0 have their own names for install.
6768     # Don't use installbsd from OSF since it installs stuff as root
6769     # by default.
6770     for ac_prog in ginstall scoinst install; do
6771       for ac_exec_ext in '' $ac_executable_extensions; do
6772         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6773           if test $ac_prog = install &&
6774             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6775             # AIX install.  It has an incompatible calling convention.
6776             :
6777           elif test $ac_prog = install &&
6778             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6779             # program-specific install script used by HP pwplus--don't use.
6780             :
6781           else
6782             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6783             break 3
6784           fi
6785         fi
6786       done
6787     done
6788     ;;
6789 esac
6790 done
6791 IFS=$as_save_IFS
6792
6793
6794 fi
6795   if test "${ac_cv_path_install+set}" = set; then
6796     INSTALL=$ac_cv_path_install
6797   else
6798     # As a last resort, use the slow shell script.  Don't cache a
6799     # value for INSTALL within a source directory, because that will
6800     # break other packages using the cache if that directory is
6801     # removed, or if the value is a relative name.
6802     INSTALL=$ac_install_sh
6803   fi
6804 fi
6805 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6806 echo "${ECHO_T}$INSTALL" >&6; }
6807
6808 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6809 # It thinks the first close brace ends the variable substitution.
6810 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6811
6812 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6813
6814 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6815
6816
6817 ac_config_headers="$ac_config_headers config.h"
6818
6819 ac_config_files="$ac_config_files MCONFIG"
6820
6821 cat >confcache <<\_ACEOF
6822 # This file is a shell script that caches the results of configure
6823 # tests run on this system so they can be shared between configure
6824 # scripts and configure runs, see configure's option --config-cache.
6825 # It is not useful on other systems.  If it contains results you don't
6826 # want to keep, you may remove or edit it.
6827 #
6828 # config.status only pays attention to the cache file if you give it
6829 # the --recheck option to rerun configure.
6830 #
6831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6833 # following values.
6834
6835 _ACEOF
6836
6837 # The following way of writing the cache mishandles newlines in values,
6838 # but we know of no workaround that is simple, portable, and efficient.
6839 # So, we kill variables containing newlines.
6840 # Ultrix sh set writes to stderr and can't be redirected directly,
6841 # and sets the high bit in the cache file unless we assign to the vars.
6842 (
6843   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6844     eval ac_val=\$$ac_var
6845     case $ac_val in #(
6846     *${as_nl}*)
6847       case $ac_var in #(
6848       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6850       esac
6851       case $ac_var in #(
6852       _ | IFS | as_nl) ;; #(
6853       *) $as_unset $ac_var ;;
6854       esac ;;
6855     esac
6856   done
6857
6858   (set) 2>&1 |
6859     case $as_nl`(ac_space=' '; set) 2>&1` in #(
6860     *${as_nl}ac_space=\ *)
6861       # `set' does not quote correctly, so add quotes (double-quote
6862       # substitution turns \\\\ into \\, and sed turns \\ into \).
6863       sed -n \
6864         "s/'/'\\\\''/g;
6865           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6866       ;; #(
6867     *)
6868       # `set' quotes correctly as required by POSIX, so do not add quotes.
6869       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6870       ;;
6871     esac |
6872     sort
6873 ) |
6874   sed '
6875      /^ac_cv_env_/b end
6876      t clear
6877      :clear
6878      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6879      t end
6880      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6881      :end' >>confcache
6882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6883   if test -w "$cache_file"; then
6884     test "x$cache_file" != "x/dev/null" &&
6885       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6886 echo "$as_me: updating cache $cache_file" >&6;}
6887     cat confcache >$cache_file
6888   else
6889     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6891   fi
6892 fi
6893 rm -f confcache
6894
6895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6896 # Let make expand exec_prefix.
6897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6898
6899 DEFS=-DHAVE_CONFIG_H
6900
6901 ac_libobjs=
6902 ac_ltlibobjs=
6903 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6904   # 1. Remove the extension, and $U if already installed.
6905   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6906   ac_i=`echo "$ac_i" | sed "$ac_script"`
6907   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6908   #    will be set to the directory where LIBOBJS objects are built.
6909   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6910   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6911 done
6912 LIBOBJS=$ac_libobjs
6913
6914 LTLIBOBJS=$ac_ltlibobjs
6915
6916
6917
6918 : ${CONFIG_STATUS=./config.status}
6919 ac_clean_files_save=$ac_clean_files
6920 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6921 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6922 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6923 cat >$CONFIG_STATUS <<_ACEOF
6924 #! $SHELL
6925 # Generated by $as_me.
6926 # Run this file to recreate the current configuration.
6927 # Compiler output produced by configure, useful for debugging
6928 # configure, is in config.log if it exists.
6929
6930 debug=false
6931 ac_cs_recheck=false
6932 ac_cs_silent=false
6933 SHELL=\${CONFIG_SHELL-$SHELL}
6934 _ACEOF
6935
6936 cat >>$CONFIG_STATUS <<\_ACEOF
6937 ## --------------------- ##
6938 ## M4sh Initialization.  ##
6939 ## --------------------- ##
6940
6941 # Be Bourne compatible
6942 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6943   emulate sh
6944   NULLCMD=:
6945   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6946   # is contrary to our usage.  Disable this feature.
6947   alias -g '${1+"$@"}'='"$@"'
6948   setopt NO_GLOB_SUBST
6949 else
6950   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
6951 fi
6952 BIN_SH=xpg4; export BIN_SH # for Tru64
6953 DUALCASE=1; export DUALCASE # for MKS sh
6954
6955
6956 # PATH needs CR
6957 # Avoid depending upon Character Ranges.
6958 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6959 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6960 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6961 as_cr_digits='0123456789'
6962 as_cr_alnum=$as_cr_Letters$as_cr_digits
6963
6964 # The user is always right.
6965 if test "${PATH_SEPARATOR+set}" != set; then
6966   echo "#! /bin/sh" >conf$$.sh
6967   echo  "exit 0"   >>conf$$.sh
6968   chmod +x conf$$.sh
6969   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6970     PATH_SEPARATOR=';'
6971   else
6972     PATH_SEPARATOR=:
6973   fi
6974   rm -f conf$$.sh
6975 fi
6976
6977 # Support unset when possible.
6978 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6979   as_unset=unset
6980 else
6981   as_unset=false
6982 fi
6983
6984
6985 # IFS
6986 # We need space, tab and new line, in precisely that order.  Quoting is
6987 # there to prevent editors from complaining about space-tab.
6988 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6989 # splitting by setting IFS to empty value.)
6990 as_nl='
6991 '
6992 IFS=" ""        $as_nl"
6993
6994 # Find who we are.  Look in the path if we contain no directory separator.
6995 case $0 in
6996   *[\\/]* ) as_myself=$0 ;;
6997   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6998 for as_dir in $PATH
6999 do
7000   IFS=$as_save_IFS
7001   test -z "$as_dir" && as_dir=.
7002   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7003 done
7004 IFS=$as_save_IFS
7005
7006      ;;
7007 esac
7008 # We did not find ourselves, most probably we were run as `sh COMMAND'
7009 # in which case we are not to be found in the path.
7010 if test "x$as_myself" = x; then
7011   as_myself=$0
7012 fi
7013 if test ! -f "$as_myself"; then
7014   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7015   { (exit 1); exit 1; }
7016 fi
7017
7018 # Work around bugs in pre-3.0 UWIN ksh.
7019 for as_var in ENV MAIL MAILPATH
7020 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7021 done
7022 PS1='$ '
7023 PS2='> '
7024 PS4='+ '
7025
7026 # NLS nuisances.
7027 for as_var in \
7028   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7029   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7030   LC_TELEPHONE LC_TIME
7031 do
7032   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7033     eval $as_var=C; export $as_var
7034   else
7035     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
7036   fi
7037 done
7038
7039 # Required to use basename.
7040 if expr a : '\(a\)' >/dev/null 2>&1 &&
7041    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7042   as_expr=expr
7043 else
7044   as_expr=false
7045 fi
7046
7047 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7048   as_basename=basename
7049 else
7050   as_basename=false
7051 fi
7052
7053
7054 # Name of the executable.
7055 as_me=`$as_basename -- "$0" ||
7056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7057          X"$0" : 'X\(//\)$' \| \
7058          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7059 echo X/"$0" |
7060     sed '/^.*\/\([^/][^/]*\)\/*$/{
7061             s//\1/
7062             q
7063           }
7064           /^X\/\(\/\/\)$/{
7065             s//\1/
7066             q
7067           }
7068           /^X\/\(\/\).*/{
7069             s//\1/
7070             q
7071           }
7072           s/.*/./; q'`
7073
7074 # CDPATH.
7075 $as_unset CDPATH
7076
7077
7078
7079   as_lineno_1=$LINENO
7080   as_lineno_2=$LINENO
7081   test "x$as_lineno_1" != "x$as_lineno_2" &&
7082   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7083
7084   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7085   # uniformly replaced by the line number.  The first 'sed' inserts a
7086   # line-number line after each line using $LINENO; the second 'sed'
7087   # does the real work.  The second script uses 'N' to pair each
7088   # line-number line with the line containing $LINENO, and appends
7089   # trailing '-' during substitution so that $LINENO is not a special
7090   # case at line end.
7091   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7092   # scripts with optimization help from Paolo Bonzini.  Blame Lee
7093   # E. McMahon (1931-1989) for sed's syntax.  :-)
7094   sed -n '
7095     p
7096     /[$]LINENO/=
7097   ' <$as_myself |
7098     sed '
7099       s/[$]LINENO.*/&-/
7100       t lineno
7101       b
7102       :lineno
7103       N
7104       :loop
7105       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7106       t loop
7107       s/-\n.*//
7108     ' >$as_me.lineno &&
7109   chmod +x "$as_me.lineno" ||
7110     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7111    { (exit 1); exit 1; }; }
7112
7113   # Don't try to exec as it changes $[0], causing all sort of problems
7114   # (the dirname of $[0] is not the place where we might find the
7115   # original and so on.  Autoconf is especially sensitive to this).
7116   . "./$as_me.lineno"
7117   # Exit status is that of the last command.
7118   exit
7119 }
7120
7121
7122 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7123   as_dirname=dirname
7124 else
7125   as_dirname=false
7126 fi
7127
7128 ECHO_C= ECHO_N= ECHO_T=
7129 case `echo -n x` in
7130 -n*)
7131   case `echo 'x\c'` in
7132   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
7133   *)   ECHO_C='\c';;
7134   esac;;
7135 *)
7136   ECHO_N='-n';;
7137 esac
7138
7139 if expr a : '\(a\)' >/dev/null 2>&1 &&
7140    test "X`expr 00001 : '.*\(...\)'`" = X001; then
7141   as_expr=expr
7142 else
7143   as_expr=false
7144 fi
7145
7146 rm -f conf$$ conf$$.exe conf$$.file
7147 if test -d conf$$.dir; then
7148   rm -f conf$$.dir/conf$$.file
7149 else
7150   rm -f conf$$.dir
7151   mkdir conf$$.dir
7152 fi
7153 echo >conf$$.file
7154 if ln -s conf$$.file conf$$ 2>/dev/null; then
7155   as_ln_s='ln -s'
7156   # ... but there are two gotchas:
7157   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7158   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7159   # In both cases, we have to default to `cp -p'.
7160   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7161     as_ln_s='cp -p'
7162 elif ln conf$$.file conf$$ 2>/dev/null; then
7163   as_ln_s=ln
7164 else
7165   as_ln_s='cp -p'
7166 fi
7167 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7168 rmdir conf$$.dir 2>/dev/null
7169
7170 if mkdir -p . 2>/dev/null; then
7171   as_mkdir_p=:
7172 else
7173   test -d ./-p && rmdir ./-p
7174   as_mkdir_p=false
7175 fi
7176
7177 # Find out whether ``test -x'' works.  Don't use a zero-byte file, as
7178 # systems may use methods other than mode bits to determine executability.
7179 cat >conf$$.file <<_ASEOF
7180 #! /bin/sh
7181 exit 0
7182 _ASEOF
7183 chmod +x conf$$.file
7184 if test -x conf$$.file >/dev/null 2>&1; then
7185   as_executable_p="test -x"
7186 else
7187   as_executable_p=:
7188 fi
7189 rm -f conf$$.file
7190
7191 # Sed expression to map a string onto a valid CPP name.
7192 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7193
7194 # Sed expression to map a string onto a valid variable name.
7195 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7196
7197
7198 exec 6>&1
7199
7200 # Save the log message, to keep $[0] and so on meaningful, and to
7201 # report actual input values of CONFIG_FILES etc. instead of their
7202 # values after options handling.
7203 ac_log="
7204 This file was extended by $as_me, which was
7205 generated by GNU Autoconf 2.60a.  Invocation command line was
7206
7207   CONFIG_FILES    = $CONFIG_FILES
7208   CONFIG_HEADERS  = $CONFIG_HEADERS
7209   CONFIG_LINKS    = $CONFIG_LINKS
7210   CONFIG_COMMANDS = $CONFIG_COMMANDS
7211   $ $0 $@
7212
7213 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7214 "
7215
7216 _ACEOF
7217
7218 cat >>$CONFIG_STATUS <<_ACEOF
7219 # Files that config.status was made for.
7220 config_files="$ac_config_files"
7221 config_headers="$ac_config_headers"
7222
7223 _ACEOF
7224
7225 cat >>$CONFIG_STATUS <<\_ACEOF
7226 ac_cs_usage="\
7227 \`$as_me' instantiates files from templates according to the
7228 current configuration.
7229
7230 Usage: $0 [OPTIONS] [FILE]...
7231
7232   -h, --help       print this help, then exit
7233   -V, --version    print version number and configuration settings, then exit
7234   -q, --quiet      do not print progress messages
7235   -d, --debug      don't remove temporary files
7236       --recheck    update $as_me by reconfiguring in the same conditions
7237   --file=FILE[:TEMPLATE]
7238                    instantiate the configuration file FILE
7239   --header=FILE[:TEMPLATE]
7240                    instantiate the configuration header FILE
7241
7242 Configuration files:
7243 $config_files
7244
7245 Configuration headers:
7246 $config_headers
7247
7248 Report bugs to <bug-autoconf@gnu.org>."
7249
7250 _ACEOF
7251 cat >>$CONFIG_STATUS <<_ACEOF
7252 ac_cs_version="\\
7253 config.status
7254 configured by $0, generated by GNU Autoconf 2.60a,
7255   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
7256
7257 Copyright (C) 2006 Free Software Foundation, Inc.
7258 This config.status script is free software; the Free Software Foundation
7259 gives unlimited permission to copy, distribute and modify it."
7260
7261 ac_pwd='$ac_pwd'
7262 srcdir='$srcdir'
7263 INSTALL='$INSTALL'
7264 _ACEOF
7265
7266 cat >>$CONFIG_STATUS <<\_ACEOF
7267 # If no file are specified by the user, then we need to provide default
7268 # value.  By we need to know if files were specified by the user.
7269 ac_need_defaults=:
7270 while test $# != 0
7271 do
7272   case $1 in
7273   --*=*)
7274     ac_option=`expr "X$1" : 'X\([^=]*\)='`
7275     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7276     ac_shift=:
7277     ;;
7278   *)
7279     ac_option=$1
7280     ac_optarg=$2
7281     ac_shift=shift
7282     ;;
7283   esac
7284
7285   case $ac_option in
7286   # Handling of the options.
7287   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7288     ac_cs_recheck=: ;;
7289   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7290     echo "$ac_cs_version"; exit ;;
7291   --debug | --debu | --deb | --de | --d | -d )
7292     debug=: ;;
7293   --file | --fil | --fi | --f )
7294     $ac_shift
7295     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7296     ac_need_defaults=false;;
7297   --header | --heade | --head | --hea )
7298     $ac_shift
7299     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7300     ac_need_defaults=false;;
7301   --he | --h)
7302     # Conflict between --help and --header
7303     { echo "$as_me: error: ambiguous option: $1
7304 Try \`$0 --help' for more information." >&2
7305    { (exit 1); exit 1; }; };;
7306   --help | --hel | -h )
7307     echo "$ac_cs_usage"; exit ;;
7308   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7309   | -silent | --silent | --silen | --sile | --sil | --si | --s)
7310     ac_cs_silent=: ;;
7311
7312   # This is an error.
7313   -*) { echo "$as_me: error: unrecognized option: $1
7314 Try \`$0 --help' for more information." >&2
7315    { (exit 1); exit 1; }; } ;;
7316
7317   *) ac_config_targets="$ac_config_targets $1"
7318      ac_need_defaults=false ;;
7319
7320   esac
7321   shift
7322 done
7323
7324 ac_configure_extra_args=
7325
7326 if $ac_cs_silent; then
7327   exec 6>/dev/null
7328   ac_configure_extra_args="$ac_configure_extra_args --silent"
7329 fi
7330
7331 _ACEOF
7332 cat >>$CONFIG_STATUS <<_ACEOF
7333 if \$ac_cs_recheck; then
7334   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7335   CONFIG_SHELL=$SHELL
7336   export CONFIG_SHELL
7337   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7338 fi
7339
7340 _ACEOF
7341 cat >>$CONFIG_STATUS <<\_ACEOF
7342 exec 5>>config.log
7343 {
7344   echo
7345   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7346 ## Running $as_me. ##
7347 _ASBOX
7348   echo "$ac_log"
7349 } >&5
7350
7351 _ACEOF
7352 cat >>$CONFIG_STATUS <<_ACEOF
7353 _ACEOF
7354
7355 cat >>$CONFIG_STATUS <<\_ACEOF
7356
7357 # Handling of arguments.
7358 for ac_config_target in $ac_config_targets
7359 do
7360   case $ac_config_target in
7361     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7362     "MCONFIG") CONFIG_FILES="$CONFIG_FILES MCONFIG" ;;
7363
7364   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7365 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7366    { (exit 1); exit 1; }; };;
7367   esac
7368 done
7369
7370
7371 # If the user did not use the arguments to specify the items to instantiate,
7372 # then the envvar interface is used.  Set only those that are not.
7373 # We use the long form for the default assignment because of an extremely
7374 # bizarre bug on SunOS 4.1.3.
7375 if $ac_need_defaults; then
7376   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7377   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7378 fi
7379
7380 # Have a temporary directory for convenience.  Make it in the build tree
7381 # simply because there is no reason against having it here, and in addition,
7382 # creating and moving files from /tmp can sometimes cause problems.
7383 # Hook for its removal unless debugging.
7384 # Note that there is a small window in which the directory will not be cleaned:
7385 # after its creation but before its name has been assigned to `$tmp'.
7386 $debug ||
7387 {
7388   tmp=
7389   trap 'exit_status=$?
7390   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7391 ' 0
7392   trap '{ (exit 1); exit 1; }' 1 2 13 15
7393 }
7394 # Create a (secure) tmp directory for tmp files.
7395
7396 {
7397   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7398   test -n "$tmp" && test -d "$tmp"
7399 }  ||
7400 {
7401   tmp=./conf$$-$RANDOM
7402   (umask 077 && mkdir "$tmp")
7403 } ||
7404 {
7405    echo "$me: cannot create a temporary directory in ." >&2
7406    { (exit 1); exit 1; }
7407 }
7408
7409 #
7410 # Set up the sed scripts for CONFIG_FILES section.
7411 #
7412
7413 # No need to generate the scripts if there are no CONFIG_FILES.
7414 # This happens for instance when ./config.status config.h
7415 if test -n "$CONFIG_FILES"; then
7416
7417 _ACEOF
7418
7419
7420
7421 ac_delim='%!_!# '
7422 for ac_last_try in false false false false false :; do
7423   cat >conf$$subs.sed <<_ACEOF
7424 SHELL!$SHELL$ac_delim
7425 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
7426 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
7427 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
7428 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
7429 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
7430 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
7431 exec_prefix!$exec_prefix$ac_delim
7432 prefix!$prefix$ac_delim
7433 program_transform_name!$program_transform_name$ac_delim
7434 bindir!$bindir$ac_delim
7435 sbindir!$sbindir$ac_delim
7436 libexecdir!$libexecdir$ac_delim
7437 datarootdir!$datarootdir$ac_delim
7438 datadir!$datadir$ac_delim
7439 sysconfdir!$sysconfdir$ac_delim
7440 sharedstatedir!$sharedstatedir$ac_delim
7441 localstatedir!$localstatedir$ac_delim
7442 includedir!$includedir$ac_delim
7443 oldincludedir!$oldincludedir$ac_delim
7444 docdir!$docdir$ac_delim
7445 infodir!$infodir$ac_delim
7446 htmldir!$htmldir$ac_delim
7447 dvidir!$dvidir$ac_delim
7448 pdfdir!$pdfdir$ac_delim
7449 psdir!$psdir$ac_delim
7450 libdir!$libdir$ac_delim
7451 localedir!$localedir$ac_delim
7452 mandir!$mandir$ac_delim
7453 DEFS!$DEFS$ac_delim
7454 ECHO_C!$ECHO_C$ac_delim
7455 ECHO_N!$ECHO_N$ac_delim
7456 ECHO_T!$ECHO_T$ac_delim
7457 LIBS!$LIBS$ac_delim
7458 build_alias!$build_alias$ac_delim
7459 host_alias!$host_alias$ac_delim
7460 target_alias!$target_alias$ac_delim
7461 CC!$CC$ac_delim
7462 CFLAGS!$CFLAGS$ac_delim
7463 LDFLAGS!$LDFLAGS$ac_delim
7464 CPPFLAGS!$CPPFLAGS$ac_delim
7465 ac_ct_CC!$ac_ct_CC$ac_delim
7466 EXEEXT!$EXEEXT$ac_delim
7467 OBJEXT!$OBJEXT$ac_delim
7468 CPP!$CPP$ac_delim
7469 GREP!$GREP$ac_delim
7470 EGREP!$EGREP$ac_delim
7471 RANLIB!$RANLIB$ac_delim
7472 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
7473 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
7474 INSTALL_DATA!$INSTALL_DATA$ac_delim
7475 LIBOBJS!$LIBOBJS$ac_delim
7476 LTLIBOBJS!$LTLIBOBJS$ac_delim
7477 _ACEOF
7478
7479   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then
7480     break
7481   elif $ac_last_try; then
7482     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
7483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
7484    { (exit 1); exit 1; }; }
7485   else
7486     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7487   fi
7488 done
7489
7490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
7491 if test -n "$ac_eof"; then
7492   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
7493   ac_eof=`expr $ac_eof + 1`
7494 fi
7495
7496 cat >>$CONFIG_STATUS <<_ACEOF
7497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
7498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
7499 _ACEOF
7500 sed '
7501 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
7502 s/^/s,@/; s/!/@,|#_!!_#|/
7503 :n
7504 t n
7505 s/'"$ac_delim"'$/,g/; t
7506 s/$/\\/; p
7507 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
7508 ' >>$CONFIG_STATUS <conf$$subs.sed
7509 rm -f conf$$subs.sed
7510 cat >>$CONFIG_STATUS <<_ACEOF
7511 :end
7512 s/|#_!!_#|//g
7513 CEOF$ac_eof
7514 _ACEOF
7515
7516
7517 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7518 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7519 # trailing colons and then remove the whole line if VPATH becomes empty
7520 # (actually we leave an empty line to preserve line numbers).
7521 if test "x$srcdir" = x.; then
7522   ac_vpsub='/^[  ]*VPATH[        ]*=/{
7523 s/:*\$(srcdir):*/:/
7524 s/:*\${srcdir}:*/:/
7525 s/:*@srcdir@:*/:/
7526 s/^\([^=]*=[     ]*\):*/\1/
7527 s/:*$//
7528 s/^[^=]*=[       ]*$//
7529 }'
7530 fi
7531
7532 cat >>$CONFIG_STATUS <<\_ACEOF
7533 fi # test -n "$CONFIG_FILES"
7534
7535
7536 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
7537 do
7538   case $ac_tag in
7539   :[FHLC]) ac_mode=$ac_tag; continue;;
7540   esac
7541   case $ac_mode$ac_tag in
7542   :[FHL]*:*);;
7543   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
7544 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
7545    { (exit 1); exit 1; }; };;
7546   :[FH]-) ac_tag=-:-;;
7547   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7548   esac
7549   ac_save_IFS=$IFS
7550   IFS=:
7551   set x $ac_tag
7552   IFS=$ac_save_IFS
7553   shift
7554   ac_file=$1
7555   shift
7556
7557   case $ac_mode in
7558   :L) ac_source=$1;;
7559   :[FH])
7560     ac_file_inputs=
7561     for ac_f
7562     do
7563       case $ac_f in
7564       -) ac_f="$tmp/stdin";;
7565       *) # Look for the file first in the build tree, then in the source tree
7566          # (if the path is not absolute).  The absolute path cannot be DOS-style,
7567          # because $ac_f cannot contain `:'.
7568          test -f "$ac_f" ||
7569            case $ac_f in
7570            [\\/$]*) false;;
7571            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7572            esac ||
7573            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
7574 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
7575    { (exit 1); exit 1; }; };;
7576       esac
7577       ac_file_inputs="$ac_file_inputs $ac_f"
7578     done
7579
7580     # Let's still pretend it is `configure' which instantiates (i.e., don't
7581     # use $as_me), people would be surprised to read:
7582     #    /* config.h.  Generated by config.status.  */
7583     configure_input="Generated from "`IFS=:
7584           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
7585     if test x"$ac_file" != x-; then
7586       configure_input="$ac_file.  $configure_input"
7587       { echo "$as_me:$LINENO: creating $ac_file" >&5
7588 echo "$as_me: creating $ac_file" >&6;}
7589     fi
7590
7591     case $ac_tag in
7592     *:-:* | *:-) cat >"$tmp/stdin";;
7593     esac
7594     ;;
7595   esac
7596
7597   ac_dir=`$as_dirname -- "$ac_file" ||
7598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7599          X"$ac_file" : 'X\(//\)[^/]' \| \
7600          X"$ac_file" : 'X\(//\)$' \| \
7601          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7602 echo X"$ac_file" |
7603     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7604             s//\1/
7605             q
7606           }
7607           /^X\(\/\/\)[^/].*/{
7608             s//\1/
7609             q
7610           }
7611           /^X\(\/\/\)$/{
7612             s//\1/
7613             q
7614           }
7615           /^X\(\/\).*/{
7616             s//\1/
7617             q
7618           }
7619           s/.*/./; q'`
7620   { as_dir="$ac_dir"
7621   case $as_dir in #(
7622   -*) as_dir=./$as_dir;;
7623   esac
7624   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7625     as_dirs=
7626     while :; do
7627       case $as_dir in #(
7628       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7629       *) as_qdir=$as_dir;;
7630       esac
7631       as_dirs="'$as_qdir' $as_dirs"
7632       as_dir=`$as_dirname -- "$as_dir" ||
7633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7634          X"$as_dir" : 'X\(//\)[^/]' \| \
7635          X"$as_dir" : 'X\(//\)$' \| \
7636          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7637 echo X"$as_dir" |
7638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7639             s//\1/
7640             q
7641           }
7642           /^X\(\/\/\)[^/].*/{
7643             s//\1/
7644             q
7645           }
7646           /^X\(\/\/\)$/{
7647             s//\1/
7648             q
7649           }
7650           /^X\(\/\).*/{
7651             s//\1/
7652             q
7653           }
7654           s/.*/./; q'`
7655       test -d "$as_dir" && break
7656     done
7657     test -z "$as_dirs" || eval "mkdir $as_dirs"
7658   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7659 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7660    { (exit 1); exit 1; }; }; }
7661   ac_builddir=.
7662
7663 case "$ac_dir" in
7664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7665 *)
7666   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7667   # A ".." for each directory in $ac_dir_suffix.
7668   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7669   case $ac_top_builddir_sub in
7670   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7671   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7672   esac ;;
7673 esac
7674 ac_abs_top_builddir=$ac_pwd
7675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7676 # for backward compatibility:
7677 ac_top_builddir=$ac_top_build_prefix
7678
7679 case $srcdir in
7680   .)  # We are building in place.
7681     ac_srcdir=.
7682     ac_top_srcdir=$ac_top_builddir_sub
7683     ac_abs_top_srcdir=$ac_pwd ;;
7684   [\\/]* | ?:[\\/]* )  # Absolute name.
7685     ac_srcdir=$srcdir$ac_dir_suffix;
7686     ac_top_srcdir=$srcdir
7687     ac_abs_top_srcdir=$srcdir ;;
7688   *) # Relative name.
7689     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7690     ac_top_srcdir=$ac_top_build_prefix$srcdir
7691     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7692 esac
7693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7694
7695
7696   case $ac_mode in
7697   :F)
7698   #
7699   # CONFIG_FILE
7700   #
7701
7702   case $INSTALL in
7703   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7704   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7705   esac
7706 _ACEOF
7707
7708 cat >>$CONFIG_STATUS <<\_ACEOF
7709 # If the template does not know about datarootdir, expand it.
7710 # FIXME: This hack should be removed a few years after 2.60.
7711 ac_datarootdir_hack=; ac_datarootdir_seen=
7712
7713 case `sed -n '/datarootdir/ {
7714   p
7715   q
7716 }
7717 /@datadir@/p
7718 /@docdir@/p
7719 /@infodir@/p
7720 /@localedir@/p
7721 /@mandir@/p
7722 ' $ac_file_inputs` in
7723 *datarootdir*) ac_datarootdir_seen=yes;;
7724 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7725   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7726 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7727 _ACEOF
7728 cat >>$CONFIG_STATUS <<_ACEOF
7729   ac_datarootdir_hack='
7730   s&@datadir@&$datadir&g
7731   s&@docdir@&$docdir&g
7732   s&@infodir@&$infodir&g
7733   s&@localedir@&$localedir&g
7734   s&@mandir@&$mandir&g
7735     s&\\\${datarootdir}&$datarootdir&g' ;;
7736 esac
7737 _ACEOF
7738
7739 # Neutralize VPATH when `$srcdir' = `.'.
7740 # Shell code in configure.ac might set extrasub.
7741 # FIXME: do we really want to maintain this feature?
7742 cat >>$CONFIG_STATUS <<_ACEOF
7743   sed "$ac_vpsub
7744 $extrasub
7745 _ACEOF
7746 cat >>$CONFIG_STATUS <<\_ACEOF
7747 :t
7748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7749 s&@configure_input@&$configure_input&;t t
7750 s&@top_builddir@&$ac_top_builddir_sub&;t t
7751 s&@srcdir@&$ac_srcdir&;t t
7752 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7753 s&@top_srcdir@&$ac_top_srcdir&;t t
7754 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7755 s&@builddir@&$ac_builddir&;t t
7756 s&@abs_builddir@&$ac_abs_builddir&;t t
7757 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7758 s&@INSTALL@&$ac_INSTALL&;t t
7759 $ac_datarootdir_hack
7760 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7761
7762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7763   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7764   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7765   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7766 which seems to be undefined.  Please make sure it is defined." >&5
7767 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7768 which seems to be undefined.  Please make sure it is defined." >&2;}
7769
7770   rm -f "$tmp/stdin"
7771   case $ac_file in
7772   -) cat "$tmp/out"; rm -f "$tmp/out";;
7773   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7774   esac
7775  ;;
7776   :H)
7777   #
7778   # CONFIG_HEADER
7779   #
7780 _ACEOF
7781
7782 # Transform confdefs.h into a sed script `conftest.defines', that
7783 # substitutes the proper values into config.h.in to produce config.h.
7784 rm -f conftest.defines conftest.tail
7785 # First, append a space to every undef/define line, to ease matching.
7786 echo 's/$/ /' >conftest.defines
7787 # Then, protect against being on the right side of a sed subst, or in
7788 # an unquoted here document, in config.status.  If some macros were
7789 # called several times there might be several #defines for the same
7790 # symbol, which is useless.  But do not sort them, since the last
7791 # AC_DEFINE must be honored.
7792 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7793 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7794 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7795 # PARAMS is the parameter list in the macro definition--in most cases, it's
7796 # just an empty string.
7797 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
7798 ac_dB='\\)[      (].*,\\1define\\2'
7799 ac_dC=' '
7800 ac_dD=' ,'
7801
7802 uniq confdefs.h |
7803   sed -n '
7804         t rset
7805         :rset
7806         s/^[     ]*#[    ]*define[       ][      ]*//
7807         t ok
7808         d
7809         :ok
7810         s/[\\&,]/\\&/g
7811         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7812         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7813   ' >>conftest.defines
7814
7815 # Remove the space that was appended to ease matching.
7816 # Then replace #undef with comments.  This is necessary, for
7817 # example, in the case of _POSIX_SOURCE, which is predefined and required
7818 # on some systems where configure will not decide to define it.
7819 # (The regexp can be short, since the line contains either #define or #undef.)
7820 echo 's/ $//
7821 s,^[     #]*u.*,/* & */,' >>conftest.defines
7822
7823 # Break up conftest.defines:
7824 ac_max_sed_lines=50
7825
7826 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7827 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7828 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7829 # et cetera.
7830 ac_in='$ac_file_inputs'
7831 ac_out='"$tmp/out1"'
7832 ac_nxt='"$tmp/out2"'
7833
7834 while :
7835 do
7836   # Write a here document:
7837     cat >>$CONFIG_STATUS <<_ACEOF
7838     # First, check the format of the line:
7839     cat >"\$tmp/defines.sed" <<\\CEOF
7840 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
7841 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
7842 b
7843 :def
7844 _ACEOF
7845   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7846   echo 'CEOF
7847     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7848   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7849   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7850   grep . conftest.tail >/dev/null || break
7851   rm -f conftest.defines
7852   mv conftest.tail conftest.defines
7853 done
7854 rm -f conftest.defines conftest.tail
7855
7856 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7857 cat >>$CONFIG_STATUS <<\_ACEOF
7858   if test x"$ac_file" != x-; then
7859     echo "/* $configure_input  */" >"$tmp/config.h"
7860     cat "$ac_result" >>"$tmp/config.h"
7861     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7862       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7863 echo "$as_me: $ac_file is unchanged" >&6;}
7864     else
7865       rm -f $ac_file
7866       mv "$tmp/config.h" $ac_file
7867     fi
7868   else
7869     echo "/* $configure_input  */"
7870     cat "$ac_result"
7871   fi
7872   rm -f "$tmp/out12"
7873  ;;
7874
7875
7876   esac
7877
7878 done # for ac_tag
7879
7880
7881 { (exit 0); exit 0; }
7882 _ACEOF
7883 chmod +x $CONFIG_STATUS
7884 ac_clean_files=$ac_clean_files_save
7885
7886
7887 # configure is writing to config.log, and then calls config.status.
7888 # config.status does its own redirection, appending to config.log.
7889 # Unfortunately, on DOS this fails, as config.log is still kept open
7890 # by configure, so config.status won't be able to write to it; its
7891 # output is simply discarded.  So we exec the FD to /dev/null,
7892 # effectively closing config.log, so it can be properly (re)opened and
7893 # appended to by config.status.  When coming back to configure, we
7894 # need to make the FD available again.
7895 if test "$no_create" != yes; then
7896   ac_cs_success=:
7897   ac_config_status_args=
7898   test "$silent" = yes &&
7899     ac_config_status_args="$ac_config_status_args --quiet"
7900   exec 5>/dev/null
7901   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7902   exec 5>>config.log
7903   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7904   # would make configure fail if this is the last instruction.
7905   $ac_cs_success || { (exit 1); exit 1; }
7906 fi
7907