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