1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if 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
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if 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
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
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.)
66as_nl='
67'
68IFS=" ""	$as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
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.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if 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; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for 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
107do
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
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133	 X"$0" : 'X\(//\)$' \| \
134	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo 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
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes && 	 (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if (set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$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  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
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
232done
233IFS=$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
240if 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
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
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
261if 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
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $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
336fi
337
338fi
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+"$@"}
348fi
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; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if (set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$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
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `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';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if 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'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
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  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_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.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552exec 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.
557ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559#
560# Initializations.
561#
562ac_default_prefix=/usr/local
563ac_clean_files=
564ac_config_libobj_dir=.
565LIBOBJS=
566cross_compiling=no
567subdirs=
568MFLAGS=
569MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571
572# Identity of this package.
573PACKAGE_NAME=
574PACKAGE_TARNAME=
575PACKAGE_VERSION=
576PACKAGE_STRING=
577PACKAGE_BUGREPORT=
578
579ac_unique_file="flowd.c"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='SHELL
617PATH_SEPARATOR
618PACKAGE_NAME
619PACKAGE_TARNAME
620PACKAGE_VERSION
621PACKAGE_STRING
622PACKAGE_BUGREPORT
623exec_prefix
624prefix
625program_transform_name
626bindir
627sbindir
628libexecdir
629datarootdir
630datadir
631sysconfdir
632sharedstatedir
633localstatedir
634includedir
635oldincludedir
636docdir
637infodir
638htmldir
639dvidir
640pdfdir
641psdir
642libdir
643localedir
644mandir
645DEFS
646ECHO_C
647ECHO_N
648ECHO_T
649LIBS
650build_alias
651host_alias
652target_alias
653PROGVER
654build
655build_cpu
656build_vendor
657build_os
658host
659host_cpu
660host_vendor
661host_os
662CC
663CFLAGS
664LDFLAGS
665CPPFLAGS
666ac_ct_CC
667EXEEXT
668OBJEXT
669INSTALL_PROGRAM
670INSTALL_SCRIPT
671INSTALL_DATA
672RANLIB
673CPP
674GREP
675EGREP
676YACC
677BYACC
678FL_T_U8
679FL_T_U16
680FL_T_U32
681FL_T_AF
682PIDPATH
683CONFPATH
684LIBOBJS
685LTLIBOBJS'
686ac_subst_files=''
687      ac_precious_vars='build_alias
688host_alias
689target_alias
690CC
691CFLAGS
692LDFLAGS
693LIBS
694CPPFLAGS
695CPP'
696
697
698# Initialize some variables set by options.
699ac_init_help=
700ac_init_version=false
701# The variables have the same names as the options, with
702# dashes changed to underlines.
703cache_file=/dev/null
704exec_prefix=NONE
705no_create=
706no_recursion=
707prefix=NONE
708program_prefix=NONE
709program_suffix=NONE
710program_transform_name=s,x,x,
711silent=
712site=
713srcdir=
714verbose=
715x_includes=NONE
716x_libraries=NONE
717
718# Installation directory options.
719# These are left unexpanded so users can "make install exec_prefix=/foo"
720# and all the variables that are supposed to be based on exec_prefix
721# by default will actually change.
722# Use braces instead of parens because sh, perl, etc. also accept them.
723# (The list follows the same order as the GNU Coding Standards.)
724bindir='${exec_prefix}/bin'
725sbindir='${exec_prefix}/sbin'
726libexecdir='${exec_prefix}/libexec'
727datarootdir='${prefix}/share'
728datadir='${datarootdir}'
729sysconfdir='${prefix}/etc'
730sharedstatedir='${prefix}/com'
731localstatedir='${prefix}/var'
732includedir='${prefix}/include'
733oldincludedir='/usr/include'
734docdir='${datarootdir}/doc/${PACKAGE}'
735infodir='${datarootdir}/info'
736htmldir='${docdir}'
737dvidir='${docdir}'
738pdfdir='${docdir}'
739psdir='${docdir}'
740libdir='${exec_prefix}/lib'
741localedir='${datarootdir}/locale'
742mandir='${datarootdir}/man'
743
744ac_prev=
745ac_dashdash=
746for ac_option
747do
748  # If the previous option needs an argument, assign it.
749  if test -n "$ac_prev"; then
750    eval $ac_prev=\$ac_option
751    ac_prev=
752    continue
753  fi
754
755  case $ac_option in
756  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757  *)	ac_optarg=yes ;;
758  esac
759
760  # Accept the important Cygnus configure options, so we can diagnose typos.
761
762  case $ac_dashdash$ac_option in
763  --)
764    ac_dashdash=yes ;;
765
766  -bindir | --bindir | --bindi | --bind | --bin | --bi)
767    ac_prev=bindir ;;
768  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769    bindir=$ac_optarg ;;
770
771  -build | --build | --buil | --bui | --bu)
772    ac_prev=build_alias ;;
773  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774    build_alias=$ac_optarg ;;
775
776  -cache-file | --cache-file | --cache-fil | --cache-fi \
777  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778    ac_prev=cache_file ;;
779  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781    cache_file=$ac_optarg ;;
782
783  --config-cache | -C)
784    cache_file=config.cache ;;
785
786  -datadir | --datadir | --datadi | --datad)
787    ac_prev=datadir ;;
788  -datadir=* | --datadir=* | --datadi=* | --datad=*)
789    datadir=$ac_optarg ;;
790
791  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792  | --dataroo | --dataro | --datar)
793    ac_prev=datarootdir ;;
794  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796    datarootdir=$ac_optarg ;;
797
798  -disable-* | --disable-*)
799    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800    # Reject names that are not valid shell variable names.
801    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
802      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
803   { (exit 1); exit 1; }; }
804    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
805    eval enable_$ac_feature=no ;;
806
807  -docdir | --docdir | --docdi | --doc | --do)
808    ac_prev=docdir ;;
809  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
810    docdir=$ac_optarg ;;
811
812  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
813    ac_prev=dvidir ;;
814  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
815    dvidir=$ac_optarg ;;
816
817  -enable-* | --enable-*)
818    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
819    # Reject names that are not valid shell variable names.
820    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
821      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
822   { (exit 1); exit 1; }; }
823    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
824    eval enable_$ac_feature=\$ac_optarg ;;
825
826  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828  | --exec | --exe | --ex)
829    ac_prev=exec_prefix ;;
830  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832  | --exec=* | --exe=* | --ex=*)
833    exec_prefix=$ac_optarg ;;
834
835  -gas | --gas | --ga | --g)
836    # Obsolete; use --with-gas.
837    with_gas=yes ;;
838
839  -help | --help | --hel | --he | -h)
840    ac_init_help=long ;;
841  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842    ac_init_help=recursive ;;
843  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844    ac_init_help=short ;;
845
846  -host | --host | --hos | --ho)
847    ac_prev=host_alias ;;
848  -host=* | --host=* | --hos=* | --ho=*)
849    host_alias=$ac_optarg ;;
850
851  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852    ac_prev=htmldir ;;
853  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854  | --ht=*)
855    htmldir=$ac_optarg ;;
856
857  -includedir | --includedir | --includedi | --included | --include \
858  | --includ | --inclu | --incl | --inc)
859    ac_prev=includedir ;;
860  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861  | --includ=* | --inclu=* | --incl=* | --inc=*)
862    includedir=$ac_optarg ;;
863
864  -infodir | --infodir | --infodi | --infod | --info | --inf)
865    ac_prev=infodir ;;
866  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867    infodir=$ac_optarg ;;
868
869  -libdir | --libdir | --libdi | --libd)
870    ac_prev=libdir ;;
871  -libdir=* | --libdir=* | --libdi=* | --libd=*)
872    libdir=$ac_optarg ;;
873
874  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875  | --libexe | --libex | --libe)
876    ac_prev=libexecdir ;;
877  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878  | --libexe=* | --libex=* | --libe=*)
879    libexecdir=$ac_optarg ;;
880
881  -localedir | --localedir | --localedi | --localed | --locale)
882    ac_prev=localedir ;;
883  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884    localedir=$ac_optarg ;;
885
886  -localstatedir | --localstatedir | --localstatedi | --localstated \
887  | --localstate | --localstat | --localsta | --localst | --locals)
888    ac_prev=localstatedir ;;
889  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891    localstatedir=$ac_optarg ;;
892
893  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894    ac_prev=mandir ;;
895  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896    mandir=$ac_optarg ;;
897
898  -nfp | --nfp | --nf)
899    # Obsolete; use --without-fp.
900    with_fp=no ;;
901
902  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903  | --no-cr | --no-c | -n)
904    no_create=yes ;;
905
906  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908    no_recursion=yes ;;
909
910  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912  | --oldin | --oldi | --old | --ol | --o)
913    ac_prev=oldincludedir ;;
914  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917    oldincludedir=$ac_optarg ;;
918
919  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920    ac_prev=prefix ;;
921  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922    prefix=$ac_optarg ;;
923
924  -program-prefix | --program-prefix | --program-prefi | --program-pref \
925  | --program-pre | --program-pr | --program-p)
926    ac_prev=program_prefix ;;
927  -program-prefix=* | --program-prefix=* | --program-prefi=* \
928  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929    program_prefix=$ac_optarg ;;
930
931  -program-suffix | --program-suffix | --program-suffi | --program-suff \
932  | --program-suf | --program-su | --program-s)
933    ac_prev=program_suffix ;;
934  -program-suffix=* | --program-suffix=* | --program-suffi=* \
935  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936    program_suffix=$ac_optarg ;;
937
938  -program-transform-name | --program-transform-name \
939  | --program-transform-nam | --program-transform-na \
940  | --program-transform-n | --program-transform- \
941  | --program-transform | --program-transfor \
942  | --program-transfo | --program-transf \
943  | --program-trans | --program-tran \
944  | --progr-tra | --program-tr | --program-t)
945    ac_prev=program_transform_name ;;
946  -program-transform-name=* | --program-transform-name=* \
947  | --program-transform-nam=* | --program-transform-na=* \
948  | --program-transform-n=* | --program-transform-=* \
949  | --program-transform=* | --program-transfor=* \
950  | --program-transfo=* | --program-transf=* \
951  | --program-trans=* | --program-tran=* \
952  | --progr-tra=* | --program-tr=* | --program-t=*)
953    program_transform_name=$ac_optarg ;;
954
955  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956    ac_prev=pdfdir ;;
957  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958    pdfdir=$ac_optarg ;;
959
960  -psdir | --psdir | --psdi | --psd | --ps)
961    ac_prev=psdir ;;
962  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963    psdir=$ac_optarg ;;
964
965  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966  | -silent | --silent | --silen | --sile | --sil)
967    silent=yes ;;
968
969  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970    ac_prev=sbindir ;;
971  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972  | --sbi=* | --sb=*)
973    sbindir=$ac_optarg ;;
974
975  -sharedstatedir | --sharedstatedir | --sharedstatedi \
976  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977  | --sharedst | --shareds | --shared | --share | --shar \
978  | --sha | --sh)
979    ac_prev=sharedstatedir ;;
980  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983  | --sha=* | --sh=*)
984    sharedstatedir=$ac_optarg ;;
985
986  -site | --site | --sit)
987    ac_prev=site ;;
988  -site=* | --site=* | --sit=*)
989    site=$ac_optarg ;;
990
991  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992    ac_prev=srcdir ;;
993  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994    srcdir=$ac_optarg ;;
995
996  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
997  | --syscon | --sysco | --sysc | --sys | --sy)
998    ac_prev=sysconfdir ;;
999  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1000  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1001    sysconfdir=$ac_optarg ;;
1002
1003  -target | --target | --targe | --targ | --tar | --ta | --t)
1004    ac_prev=target_alias ;;
1005  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1006    target_alias=$ac_optarg ;;
1007
1008  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1009    verbose=yes ;;
1010
1011  -version | --version | --versio | --versi | --vers | -V)
1012    ac_init_version=: ;;
1013
1014  -with-* | --with-*)
1015    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016    # Reject names that are not valid shell variable names.
1017    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1018      { echo "$as_me: error: invalid package name: $ac_package" >&2
1019   { (exit 1); exit 1; }; }
1020    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1021    eval with_$ac_package=\$ac_optarg ;;
1022
1023  -without-* | --without-*)
1024    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027      { echo "$as_me: error: invalid package name: $ac_package" >&2
1028   { (exit 1); exit 1; }; }
1029    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1030    eval with_$ac_package=no ;;
1031
1032  --x)
1033    # Obsolete; use --with-x.
1034    with_x=yes ;;
1035
1036  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1037  | --x-incl | --x-inc | --x-in | --x-i)
1038    ac_prev=x_includes ;;
1039  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1040  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1041    x_includes=$ac_optarg ;;
1042
1043  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1044  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1045    ac_prev=x_libraries ;;
1046  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1047  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1048    x_libraries=$ac_optarg ;;
1049
1050  -*) { echo "$as_me: error: unrecognized option: $ac_option
1051Try \`$0 --help' for more information." >&2
1052   { (exit 1); exit 1; }; }
1053    ;;
1054
1055  *=*)
1056    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1057    # Reject names that are not valid shell variable names.
1058    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1059      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1060   { (exit 1); exit 1; }; }
1061    eval $ac_envvar=\$ac_optarg
1062    export $ac_envvar ;;
1063
1064  *)
1065    # FIXME: should be removed in autoconf 3.0.
1066    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1067    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1069    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1070    ;;
1071
1072  esac
1073done
1074
1075if test -n "$ac_prev"; then
1076  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1077  { echo "$as_me: error: missing argument to $ac_option" >&2
1078   { (exit 1); exit 1; }; }
1079fi
1080
1081# Be sure to have absolute directory names.
1082for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1083		datadir sysconfdir sharedstatedir localstatedir includedir \
1084		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1085		libdir localedir mandir
1086do
1087  eval ac_val=\$$ac_var
1088  case $ac_val in
1089    [\\/$]* | ?:[\\/]* )  continue;;
1090    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091  esac
1092  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1093   { (exit 1); exit 1; }; }
1094done
1095
1096# There might be people who depend on the old broken behavior: `$host'
1097# used to hold the argument of --host etc.
1098# FIXME: To remove some day.
1099build=$build_alias
1100host=$host_alias
1101target=$target_alias
1102
1103# FIXME: To remove some day.
1104if test "x$host_alias" != x; then
1105  if test "x$build_alias" = x; then
1106    cross_compiling=maybe
1107    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1108    If a cross compiler is detected then cross compile mode will be used." >&2
1109  elif test "x$build_alias" != "x$host_alias"; then
1110    cross_compiling=yes
1111  fi
1112fi
1113
1114ac_tool_prefix=
1115test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116
1117test "$silent" = yes && exec 6>/dev/null
1118
1119
1120ac_pwd=`pwd` && test -n "$ac_pwd" &&
1121ac_ls_di=`ls -di .` &&
1122ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1123  { echo "$as_me: error: Working directory cannot be determined" >&2
1124   { (exit 1); exit 1; }; }
1125test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1126  { echo "$as_me: error: pwd does not report name of working directory" >&2
1127   { (exit 1); exit 1; }; }
1128
1129
1130# Find the source files, if location was not specified.
1131if test -z "$srcdir"; then
1132  ac_srcdir_defaulted=yes
1133  # Try the directory containing this script, then the parent directory.
1134  ac_confdir=`$as_dirname -- "$0" ||
1135$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1136	 X"$0" : 'X\(//\)[^/]' \| \
1137	 X"$0" : 'X\(//\)$' \| \
1138	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1139echo X"$0" |
1140    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1141	    s//\1/
1142	    q
1143	  }
1144	  /^X\(\/\/\)[^/].*/{
1145	    s//\1/
1146	    q
1147	  }
1148	  /^X\(\/\/\)$/{
1149	    s//\1/
1150	    q
1151	  }
1152	  /^X\(\/\).*/{
1153	    s//\1/
1154	    q
1155	  }
1156	  s/.*/./; q'`
1157  srcdir=$ac_confdir
1158  if test ! -r "$srcdir/$ac_unique_file"; then
1159    srcdir=..
1160  fi
1161else
1162  ac_srcdir_defaulted=no
1163fi
1164if test ! -r "$srcdir/$ac_unique_file"; then
1165  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1166  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1167   { (exit 1); exit 1; }; }
1168fi
1169ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1170ac_abs_confdir=`(
1171	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1172   { (exit 1); exit 1; }; }
1173	pwd)`
1174# When building in place, set srcdir=.
1175if test "$ac_abs_confdir" = "$ac_pwd"; then
1176  srcdir=.
1177fi
1178# Remove unnecessary trailing slashes from srcdir.
1179# Double slashes in file names in object file debugging info
1180# mess up M-x gdb in Emacs.
1181case $srcdir in
1182*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1183esac
1184for ac_var in $ac_precious_vars; do
1185  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1186  eval ac_env_${ac_var}_value=\$${ac_var}
1187  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1188  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1189done
1190
1191#
1192# Report the --help message.
1193#
1194if test "$ac_init_help" = "long"; then
1195  # Omit some internal or obsolete options to make the list less imposing.
1196  # This message is too long to be a string in the A/UX 3.1 sh.
1197  cat <<_ACEOF
1198\`configure' configures this package to adapt to many kinds of systems.
1199
1200Usage: $0 [OPTION]... [VAR=VALUE]...
1201
1202To assign environment variables (e.g., CC, CFLAGS...), specify them as
1203VAR=VALUE.  See below for descriptions of some of the useful variables.
1204
1205Defaults for the options are specified in brackets.
1206
1207Configuration:
1208  -h, --help              display this help and exit
1209      --help=short        display options specific to this package
1210      --help=recursive    display the short help of all the included packages
1211  -V, --version           display version information and exit
1212  -q, --quiet, --silent   do not print \`checking...' messages
1213      --cache-file=FILE   cache test results in FILE [disabled]
1214  -C, --config-cache      alias for \`--cache-file=config.cache'
1215  -n, --no-create         do not create output files
1216      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1217
1218Installation directories:
1219  --prefix=PREFIX         install architecture-independent files in PREFIX
1220			  [$ac_default_prefix]
1221  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1222			  [PREFIX]
1223
1224By default, \`make install' will install all the files in
1225\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1226an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1227for instance \`--prefix=\$HOME'.
1228
1229For better control, use the options below.
1230
1231Fine tuning of the installation directories:
1232  --bindir=DIR           user executables [EPREFIX/bin]
1233  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1234  --libexecdir=DIR       program executables [EPREFIX/libexec]
1235  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1236  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1237  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1238  --libdir=DIR           object code libraries [EPREFIX/lib]
1239  --includedir=DIR       C header files [PREFIX/include]
1240  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1241  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1242  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1243  --infodir=DIR          info documentation [DATAROOTDIR/info]
1244  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1245  --mandir=DIR           man documentation [DATAROOTDIR/man]
1246  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1247  --htmldir=DIR          html documentation [DOCDIR]
1248  --dvidir=DIR           dvi documentation [DOCDIR]
1249  --pdfdir=DIR           pdf documentation [DOCDIR]
1250  --psdir=DIR            ps documentation [DOCDIR]
1251_ACEOF
1252
1253  cat <<\_ACEOF
1254
1255System types:
1256  --build=BUILD     configure for building on BUILD [guessed]
1257  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1258_ACEOF
1259fi
1260
1261if test -n "$ac_init_help"; then
1262
1263  cat <<\_ACEOF
1264
1265Optional Features:
1266  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1267  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1268  --disable-largefile     omit support for large files
1269  --enable-gcc-warnings   Enable verbose warnings (only for gcc)
1270
1271Optional Packages:
1272  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1273  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1274  --with-cflags           Specify additional compiler flags
1275  --with-cppflags         Specify additional preprocessor flags
1276  --with-ldflags          Specify additional linker flags
1277  --with-libs             Specify additional libraries to link with
1278
1279Some influential environment variables:
1280  CC          C compiler command
1281  CFLAGS      C compiler flags
1282  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1283              nonstandard directory <lib dir>
1284  LIBS        libraries to pass to the linker, e.g. -l<library>
1285  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1286              you have headers in a nonstandard directory <include dir>
1287  CPP         C preprocessor
1288
1289Use these variables to override the choices made by `configure' or to help
1290it to find libraries and programs with nonstandard names/locations.
1291
1292_ACEOF
1293ac_status=$?
1294fi
1295
1296if test "$ac_init_help" = "recursive"; then
1297  # If there are subdirs, report their specific --help.
1298  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1299    test -d "$ac_dir" || continue
1300    ac_builddir=.
1301
1302case "$ac_dir" in
1303.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1304*)
1305  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1306  # A ".." for each directory in $ac_dir_suffix.
1307  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1308  case $ac_top_builddir_sub in
1309  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1311  esac ;;
1312esac
1313ac_abs_top_builddir=$ac_pwd
1314ac_abs_builddir=$ac_pwd$ac_dir_suffix
1315# for backward compatibility:
1316ac_top_builddir=$ac_top_build_prefix
1317
1318case $srcdir in
1319  .)  # We are building in place.
1320    ac_srcdir=.
1321    ac_top_srcdir=$ac_top_builddir_sub
1322    ac_abs_top_srcdir=$ac_pwd ;;
1323  [\\/]* | ?:[\\/]* )  # Absolute name.
1324    ac_srcdir=$srcdir$ac_dir_suffix;
1325    ac_top_srcdir=$srcdir
1326    ac_abs_top_srcdir=$srcdir ;;
1327  *) # Relative name.
1328    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1329    ac_top_srcdir=$ac_top_build_prefix$srcdir
1330    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1331esac
1332ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1333
1334    cd "$ac_dir" || { ac_status=$?; continue; }
1335    # Check for guested configure.
1336    if test -f "$ac_srcdir/configure.gnu"; then
1337      echo &&
1338      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1339    elif test -f "$ac_srcdir/configure"; then
1340      echo &&
1341      $SHELL "$ac_srcdir/configure" --help=recursive
1342    else
1343      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1344    fi || ac_status=$?
1345    cd "$ac_pwd" || { ac_status=$?; break; }
1346  done
1347fi
1348
1349test -n "$ac_init_help" && exit $ac_status
1350if $ac_init_version; then
1351  cat <<\_ACEOF
1352configure
1353generated by GNU Autoconf 2.61
1354
1355Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13562002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1357This configure script is free software; the Free Software Foundation
1358gives unlimited permission to copy, distribute and modify it.
1359_ACEOF
1360  exit
1361fi
1362cat >config.log <<_ACEOF
1363This file contains any messages produced by compilers while
1364running configure, to aid debugging if configure makes a mistake.
1365
1366It was created by $as_me, which was
1367generated by GNU Autoconf 2.61.  Invocation command line was
1368
1369  $ $0 $@
1370
1371_ACEOF
1372exec 5>>config.log
1373{
1374cat <<_ASUNAME
1375## --------- ##
1376## Platform. ##
1377## --------- ##
1378
1379hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1380uname -m = `(uname -m) 2>/dev/null || echo unknown`
1381uname -r = `(uname -r) 2>/dev/null || echo unknown`
1382uname -s = `(uname -s) 2>/dev/null || echo unknown`
1383uname -v = `(uname -v) 2>/dev/null || echo unknown`
1384
1385/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1386/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1387
1388/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1389/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1390/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1391/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1392/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1393/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1394/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1395
1396_ASUNAME
1397
1398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399for as_dir in $PATH
1400do
1401  IFS=$as_save_IFS
1402  test -z "$as_dir" && as_dir=.
1403  echo "PATH: $as_dir"
1404done
1405IFS=$as_save_IFS
1406
1407} >&5
1408
1409cat >&5 <<_ACEOF
1410
1411
1412## ----------- ##
1413## Core tests. ##
1414## ----------- ##
1415
1416_ACEOF
1417
1418
1419# Keep a trace of the command line.
1420# Strip out --no-create and --no-recursion so they do not pile up.
1421# Strip out --silent because we don't want to record it for future runs.
1422# Also quote any args containing shell meta-characters.
1423# Make two passes to allow for proper duplicate-argument suppression.
1424ac_configure_args=
1425ac_configure_args0=
1426ac_configure_args1=
1427ac_must_keep_next=false
1428for ac_pass in 1 2
1429do
1430  for ac_arg
1431  do
1432    case $ac_arg in
1433    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1434    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1435    | -silent | --silent | --silen | --sile | --sil)
1436      continue ;;
1437    *\'*)
1438      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1439    esac
1440    case $ac_pass in
1441    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1442    2)
1443      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1444      if test $ac_must_keep_next = true; then
1445	ac_must_keep_next=false # Got value, back to normal.
1446      else
1447	case $ac_arg in
1448	  *=* | --config-cache | -C | -disable-* | --disable-* \
1449	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1450	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1451	  | -with-* | --with-* | -without-* | --without-* | --x)
1452	    case "$ac_configure_args0 " in
1453	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1454	    esac
1455	    ;;
1456	  -* ) ac_must_keep_next=true ;;
1457	esac
1458      fi
1459      ac_configure_args="$ac_configure_args '$ac_arg'"
1460      ;;
1461    esac
1462  done
1463done
1464$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1465$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1466
1467# When interrupted or exit'd, cleanup temporary files, and complete
1468# config.log.  We remove comments because anyway the quotes in there
1469# would cause problems or look ugly.
1470# WARNING: Use '\'' to represent an apostrophe within the trap.
1471# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1472trap 'exit_status=$?
1473  # Save into config.log some information that might help in debugging.
1474  {
1475    echo
1476
1477    cat <<\_ASBOX
1478## ---------------- ##
1479## Cache variables. ##
1480## ---------------- ##
1481_ASBOX
1482    echo
1483    # The following way of writing the cache mishandles newlines in values,
1484(
1485  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1486    eval ac_val=\$$ac_var
1487    case $ac_val in #(
1488    *${as_nl}*)
1489      case $ac_var in #(
1490      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1491echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1492      esac
1493      case $ac_var in #(
1494      _ | IFS | as_nl) ;; #(
1495      *) $as_unset $ac_var ;;
1496      esac ;;
1497    esac
1498  done
1499  (set) 2>&1 |
1500    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1501    *${as_nl}ac_space=\ *)
1502      sed -n \
1503	"s/'\''/'\''\\\\'\'''\''/g;
1504	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1505      ;; #(
1506    *)
1507      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1508      ;;
1509    esac |
1510    sort
1511)
1512    echo
1513
1514    cat <<\_ASBOX
1515## ----------------- ##
1516## Output variables. ##
1517## ----------------- ##
1518_ASBOX
1519    echo
1520    for ac_var in $ac_subst_vars
1521    do
1522      eval ac_val=\$$ac_var
1523      case $ac_val in
1524      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1525      esac
1526      echo "$ac_var='\''$ac_val'\''"
1527    done | sort
1528    echo
1529
1530    if test -n "$ac_subst_files"; then
1531      cat <<\_ASBOX
1532## ------------------- ##
1533## File substitutions. ##
1534## ------------------- ##
1535_ASBOX
1536      echo
1537      for ac_var in $ac_subst_files
1538      do
1539	eval ac_val=\$$ac_var
1540	case $ac_val in
1541	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1542	esac
1543	echo "$ac_var='\''$ac_val'\''"
1544      done | sort
1545      echo
1546    fi
1547
1548    if test -s confdefs.h; then
1549      cat <<\_ASBOX
1550## ----------- ##
1551## confdefs.h. ##
1552## ----------- ##
1553_ASBOX
1554      echo
1555      cat confdefs.h
1556      echo
1557    fi
1558    test "$ac_signal" != 0 &&
1559      echo "$as_me: caught signal $ac_signal"
1560    echo "$as_me: exit $exit_status"
1561  } >&5
1562  rm -f core *.core core.conftest.* &&
1563    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1564    exit $exit_status
1565' 0
1566for ac_signal in 1 2 13 15; do
1567  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1568done
1569ac_signal=0
1570
1571# confdefs.h avoids OS command line length limits that DEFS can exceed.
1572rm -f -r conftest* confdefs.h
1573
1574# Predefined preprocessor variables.
1575
1576cat >>confdefs.h <<_ACEOF
1577#define PACKAGE_NAME "$PACKAGE_NAME"
1578_ACEOF
1579
1580
1581cat >>confdefs.h <<_ACEOF
1582#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1583_ACEOF
1584
1585
1586cat >>confdefs.h <<_ACEOF
1587#define PACKAGE_VERSION "$PACKAGE_VERSION"
1588_ACEOF
1589
1590
1591cat >>confdefs.h <<_ACEOF
1592#define PACKAGE_STRING "$PACKAGE_STRING"
1593_ACEOF
1594
1595
1596cat >>confdefs.h <<_ACEOF
1597#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1598_ACEOF
1599
1600
1601# Let the site file select an alternate cache file if it wants to.
1602# Prefer explicitly selected file to automatically selected ones.
1603if test -n "$CONFIG_SITE"; then
1604  set x "$CONFIG_SITE"
1605elif test "x$prefix" != xNONE; then
1606  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1607else
1608  set x "$ac_default_prefix/share/config.site" \
1609	"$ac_default_prefix/etc/config.site"
1610fi
1611shift
1612for ac_site_file
1613do
1614  if test -r "$ac_site_file"; then
1615    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1616echo "$as_me: loading site script $ac_site_file" >&6;}
1617    sed 's/^/| /' "$ac_site_file" >&5
1618    . "$ac_site_file"
1619  fi
1620done
1621
1622if test -r "$cache_file"; then
1623  # Some versions of bash will fail to source /dev/null (special
1624  # files actually), so we avoid doing that.
1625  if test -f "$cache_file"; then
1626    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1627echo "$as_me: loading cache $cache_file" >&6;}
1628    case $cache_file in
1629      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1630      *)                      . "./$cache_file";;
1631    esac
1632  fi
1633else
1634  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1635echo "$as_me: creating cache $cache_file" >&6;}
1636  >$cache_file
1637fi
1638
1639# Check that the precious variables saved in the cache have kept the same
1640# value.
1641ac_cache_corrupted=false
1642for ac_var in $ac_precious_vars; do
1643  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1644  eval ac_new_set=\$ac_env_${ac_var}_set
1645  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1646  eval ac_new_val=\$ac_env_${ac_var}_value
1647  case $ac_old_set,$ac_new_set in
1648    set,)
1649      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1650echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1651      ac_cache_corrupted=: ;;
1652    ,set)
1653      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1654echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1655      ac_cache_corrupted=: ;;
1656    ,);;
1657    *)
1658      if test "x$ac_old_val" != "x$ac_new_val"; then
1659	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1660echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1661	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1662echo "$as_me:   former value:  $ac_old_val" >&2;}
1663	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1664echo "$as_me:   current value: $ac_new_val" >&2;}
1665	ac_cache_corrupted=:
1666      fi;;
1667  esac
1668  # Pass precious variables to config.status.
1669  if test "$ac_new_set" = set; then
1670    case $ac_new_val in
1671    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1672    *) ac_arg=$ac_var=$ac_new_val ;;
1673    esac
1674    case " $ac_configure_args " in
1675      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1676      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1677    esac
1678  fi
1679done
1680if $ac_cache_corrupted; then
1681  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1682echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1683  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1684echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1685   { (exit 1); exit 1; }; }
1686fi
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704ac_ext=c
1705ac_cpp='$CPP $CPPFLAGS'
1706ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1707ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1708ac_compiler_gnu=$ac_cv_c_compiler_gnu
1709
1710
1711
1712
1713PROGVER=0.9.1
1714
1715
1716ac_config_headers="$ac_config_headers flowd-config.h"
1717
1718ac_aux_dir=
1719for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1720  if test -f "$ac_dir/install-sh"; then
1721    ac_aux_dir=$ac_dir
1722    ac_install_sh="$ac_aux_dir/install-sh -c"
1723    break
1724  elif test -f "$ac_dir/install.sh"; then
1725    ac_aux_dir=$ac_dir
1726    ac_install_sh="$ac_aux_dir/install.sh -c"
1727    break
1728  elif test -f "$ac_dir/shtool"; then
1729    ac_aux_dir=$ac_dir
1730    ac_install_sh="$ac_aux_dir/shtool install -c"
1731    break
1732  fi
1733done
1734if test -z "$ac_aux_dir"; then
1735  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1736echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1737   { (exit 1); exit 1; }; }
1738fi
1739
1740# These three variables are undocumented and unsupported,
1741# and are intended to be withdrawn in a future Autoconf release.
1742# They can cause serious problems if a builder's source tree is in a directory
1743# whose full name contains unusual characters.
1744ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1745ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1746ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1747
1748
1749# Make sure we can run config.sub.
1750$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1751  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1752echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1753   { (exit 1); exit 1; }; }
1754
1755{ echo "$as_me:$LINENO: checking build system type" >&5
1756echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1757if test "${ac_cv_build+set}" = set; then
1758  echo $ECHO_N "(cached) $ECHO_C" >&6
1759else
1760  ac_build_alias=$build_alias
1761test "x$ac_build_alias" = x &&
1762  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1763test "x$ac_build_alias" = x &&
1764  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1765echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1766   { (exit 1); exit 1; }; }
1767ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1768  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1769echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1770   { (exit 1); exit 1; }; }
1771
1772fi
1773{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1774echo "${ECHO_T}$ac_cv_build" >&6; }
1775case $ac_cv_build in
1776*-*-*) ;;
1777*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1778echo "$as_me: error: invalid value of canonical build" >&2;}
1779   { (exit 1); exit 1; }; };;
1780esac
1781build=$ac_cv_build
1782ac_save_IFS=$IFS; IFS='-'
1783set x $ac_cv_build
1784shift
1785build_cpu=$1
1786build_vendor=$2
1787shift; shift
1788# Remember, the first character of IFS is used to create $*,
1789# except with old shells:
1790build_os=$*
1791IFS=$ac_save_IFS
1792case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1793
1794
1795{ echo "$as_me:$LINENO: checking host system type" >&5
1796echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1797if test "${ac_cv_host+set}" = set; then
1798  echo $ECHO_N "(cached) $ECHO_C" >&6
1799else
1800  if test "x$host_alias" = x; then
1801  ac_cv_host=$ac_cv_build
1802else
1803  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1804    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1805echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1806   { (exit 1); exit 1; }; }
1807fi
1808
1809fi
1810{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1811echo "${ECHO_T}$ac_cv_host" >&6; }
1812case $ac_cv_host in
1813*-*-*) ;;
1814*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1815echo "$as_me: error: invalid value of canonical host" >&2;}
1816   { (exit 1); exit 1; }; };;
1817esac
1818host=$ac_cv_host
1819ac_save_IFS=$IFS; IFS='-'
1820set x $ac_cv_host
1821shift
1822host_cpu=$1
1823host_vendor=$2
1824shift; shift
1825# Remember, the first character of IFS is used to create $*,
1826# except with old shells:
1827host_os=$*
1828IFS=$ac_save_IFS
1829case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1830
1831
1832ac_ext=c
1833ac_cpp='$CPP $CPPFLAGS'
1834ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836ac_compiler_gnu=$ac_cv_c_compiler_gnu
1837if test -n "$ac_tool_prefix"; then
1838  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1839set dummy ${ac_tool_prefix}gcc; ac_word=$2
1840{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1841echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1842if test "${ac_cv_prog_CC+set}" = set; then
1843  echo $ECHO_N "(cached) $ECHO_C" >&6
1844else
1845  if test -n "$CC"; then
1846  ac_cv_prog_CC="$CC" # Let the user override the test.
1847else
1848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849for as_dir in $PATH
1850do
1851  IFS=$as_save_IFS
1852  test -z "$as_dir" && as_dir=.
1853  for ac_exec_ext in '' $ac_executable_extensions; do
1854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1855    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1856    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1857    break 2
1858  fi
1859done
1860done
1861IFS=$as_save_IFS
1862
1863fi
1864fi
1865CC=$ac_cv_prog_CC
1866if test -n "$CC"; then
1867  { echo "$as_me:$LINENO: result: $CC" >&5
1868echo "${ECHO_T}$CC" >&6; }
1869else
1870  { echo "$as_me:$LINENO: result: no" >&5
1871echo "${ECHO_T}no" >&6; }
1872fi
1873
1874
1875fi
1876if test -z "$ac_cv_prog_CC"; then
1877  ac_ct_CC=$CC
1878  # Extract the first word of "gcc", so it can be a program name with args.
1879set dummy gcc; ac_word=$2
1880{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1881echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1882if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1883  echo $ECHO_N "(cached) $ECHO_C" >&6
1884else
1885  if test -n "$ac_ct_CC"; then
1886  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1887else
1888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889for as_dir in $PATH
1890do
1891  IFS=$as_save_IFS
1892  test -z "$as_dir" && as_dir=.
1893  for ac_exec_ext in '' $ac_executable_extensions; do
1894  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1895    ac_cv_prog_ac_ct_CC="gcc"
1896    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897    break 2
1898  fi
1899done
1900done
1901IFS=$as_save_IFS
1902
1903fi
1904fi
1905ac_ct_CC=$ac_cv_prog_ac_ct_CC
1906if test -n "$ac_ct_CC"; then
1907  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1908echo "${ECHO_T}$ac_ct_CC" >&6; }
1909else
1910  { echo "$as_me:$LINENO: result: no" >&5
1911echo "${ECHO_T}no" >&6; }
1912fi
1913
1914  if test "x$ac_ct_CC" = x; then
1915    CC=""
1916  else
1917    case $cross_compiling:$ac_tool_warned in
1918yes:)
1919{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1920whose name does not start with the host triplet.  If you think this
1921configuration is useful to you, please write to autoconf@gnu.org." >&5
1922echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1923whose name does not start with the host triplet.  If you think this
1924configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1925ac_tool_warned=yes ;;
1926esac
1927    CC=$ac_ct_CC
1928  fi
1929else
1930  CC="$ac_cv_prog_CC"
1931fi
1932
1933if test -z "$CC"; then
1934          if test -n "$ac_tool_prefix"; then
1935    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1936set dummy ${ac_tool_prefix}cc; ac_word=$2
1937{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1938echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1939if test "${ac_cv_prog_CC+set}" = set; then
1940  echo $ECHO_N "(cached) $ECHO_C" >&6
1941else
1942  if test -n "$CC"; then
1943  ac_cv_prog_CC="$CC" # Let the user override the test.
1944else
1945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946for as_dir in $PATH
1947do
1948  IFS=$as_save_IFS
1949  test -z "$as_dir" && as_dir=.
1950  for ac_exec_ext in '' $ac_executable_extensions; do
1951  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1952    ac_cv_prog_CC="${ac_tool_prefix}cc"
1953    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1954    break 2
1955  fi
1956done
1957done
1958IFS=$as_save_IFS
1959
1960fi
1961fi
1962CC=$ac_cv_prog_CC
1963if test -n "$CC"; then
1964  { echo "$as_me:$LINENO: result: $CC" >&5
1965echo "${ECHO_T}$CC" >&6; }
1966else
1967  { echo "$as_me:$LINENO: result: no" >&5
1968echo "${ECHO_T}no" >&6; }
1969fi
1970
1971
1972  fi
1973fi
1974if test -z "$CC"; then
1975  # Extract the first word of "cc", so it can be a program name with args.
1976set dummy cc; ac_word=$2
1977{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1978echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1979if test "${ac_cv_prog_CC+set}" = set; then
1980  echo $ECHO_N "(cached) $ECHO_C" >&6
1981else
1982  if test -n "$CC"; then
1983  ac_cv_prog_CC="$CC" # Let the user override the test.
1984else
1985  ac_prog_rejected=no
1986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987for as_dir in $PATH
1988do
1989  IFS=$as_save_IFS
1990  test -z "$as_dir" && as_dir=.
1991  for ac_exec_ext in '' $ac_executable_extensions; do
1992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1993    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1994       ac_prog_rejected=yes
1995       continue
1996     fi
1997    ac_cv_prog_CC="cc"
1998    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1999    break 2
2000  fi
2001done
2002done
2003IFS=$as_save_IFS
2004
2005if test $ac_prog_rejected = yes; then
2006  # We found a bogon in the path, so make sure we never use it.
2007  set dummy $ac_cv_prog_CC
2008  shift
2009  if test $# != 0; then
2010    # We chose a different compiler from the bogus one.
2011    # However, it has the same basename, so the bogon will be chosen
2012    # first if we set CC to just the basename; use the full file name.
2013    shift
2014    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2015  fi
2016fi
2017fi
2018fi
2019CC=$ac_cv_prog_CC
2020if test -n "$CC"; then
2021  { echo "$as_me:$LINENO: result: $CC" >&5
2022echo "${ECHO_T}$CC" >&6; }
2023else
2024  { echo "$as_me:$LINENO: result: no" >&5
2025echo "${ECHO_T}no" >&6; }
2026fi
2027
2028
2029fi
2030if test -z "$CC"; then
2031  if test -n "$ac_tool_prefix"; then
2032  for ac_prog in cl.exe
2033  do
2034    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2035set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2036{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2038if test "${ac_cv_prog_CC+set}" = set; then
2039  echo $ECHO_N "(cached) $ECHO_C" >&6
2040else
2041  if test -n "$CC"; then
2042  ac_cv_prog_CC="$CC" # Let the user override the test.
2043else
2044as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2045for as_dir in $PATH
2046do
2047  IFS=$as_save_IFS
2048  test -z "$as_dir" && as_dir=.
2049  for ac_exec_ext in '' $ac_executable_extensions; do
2050  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2051    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2052    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053    break 2
2054  fi
2055done
2056done
2057IFS=$as_save_IFS
2058
2059fi
2060fi
2061CC=$ac_cv_prog_CC
2062if test -n "$CC"; then
2063  { echo "$as_me:$LINENO: result: $CC" >&5
2064echo "${ECHO_T}$CC" >&6; }
2065else
2066  { echo "$as_me:$LINENO: result: no" >&5
2067echo "${ECHO_T}no" >&6; }
2068fi
2069
2070
2071    test -n "$CC" && break
2072  done
2073fi
2074if test -z "$CC"; then
2075  ac_ct_CC=$CC
2076  for ac_prog in cl.exe
2077do
2078  # Extract the first word of "$ac_prog", so it can be a program name with args.
2079set dummy $ac_prog; ac_word=$2
2080{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2081echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083  echo $ECHO_N "(cached) $ECHO_C" >&6
2084else
2085  if test -n "$ac_ct_CC"; then
2086  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087else
2088as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089for as_dir in $PATH
2090do
2091  IFS=$as_save_IFS
2092  test -z "$as_dir" && as_dir=.
2093  for ac_exec_ext in '' $ac_executable_extensions; do
2094  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095    ac_cv_prog_ac_ct_CC="$ac_prog"
2096    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097    break 2
2098  fi
2099done
2100done
2101IFS=$as_save_IFS
2102
2103fi
2104fi
2105ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106if test -n "$ac_ct_CC"; then
2107  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108echo "${ECHO_T}$ac_ct_CC" >&6; }
2109else
2110  { echo "$as_me:$LINENO: result: no" >&5
2111echo "${ECHO_T}no" >&6; }
2112fi
2113
2114
2115  test -n "$ac_ct_CC" && break
2116done
2117
2118  if test "x$ac_ct_CC" = x; then
2119    CC=""
2120  else
2121    case $cross_compiling:$ac_tool_warned in
2122yes:)
2123{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2124whose name does not start with the host triplet.  If you think this
2125configuration is useful to you, please write to autoconf@gnu.org." >&5
2126echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2127whose name does not start with the host triplet.  If you think this
2128configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2129ac_tool_warned=yes ;;
2130esac
2131    CC=$ac_ct_CC
2132  fi
2133fi
2134
2135fi
2136
2137
2138test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2139See \`config.log' for more details." >&5
2140echo "$as_me: error: no acceptable C compiler found in \$PATH
2141See \`config.log' for more details." >&2;}
2142   { (exit 1); exit 1; }; }
2143
2144# Provide some information about the compiler.
2145echo "$as_me:$LINENO: checking for C compiler version" >&5
2146ac_compiler=`set X $ac_compile; echo $2`
2147{ (ac_try="$ac_compiler --version >&5"
2148case "(($ac_try" in
2149  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2150  *) ac_try_echo=$ac_try;;
2151esac
2152eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2153  (eval "$ac_compiler --version >&5") 2>&5
2154  ac_status=$?
2155  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156  (exit $ac_status); }
2157{ (ac_try="$ac_compiler -v >&5"
2158case "(($ac_try" in
2159  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2160  *) ac_try_echo=$ac_try;;
2161esac
2162eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2163  (eval "$ac_compiler -v >&5") 2>&5
2164  ac_status=$?
2165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166  (exit $ac_status); }
2167{ (ac_try="$ac_compiler -V >&5"
2168case "(($ac_try" in
2169  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170  *) ac_try_echo=$ac_try;;
2171esac
2172eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173  (eval "$ac_compiler -V >&5") 2>&5
2174  ac_status=$?
2175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176  (exit $ac_status); }
2177
2178cat >conftest.$ac_ext <<_ACEOF
2179/* confdefs.h.  */
2180_ACEOF
2181cat confdefs.h >>conftest.$ac_ext
2182cat >>conftest.$ac_ext <<_ACEOF
2183/* end confdefs.h.  */
2184
2185int
2186main ()
2187{
2188
2189  ;
2190  return 0;
2191}
2192_ACEOF
2193ac_clean_files_save=$ac_clean_files
2194ac_clean_files="$ac_clean_files a.out a.exe b.out"
2195# Try to create an executable without -o first, disregard a.out.
2196# It will help us diagnose broken compilers, and finding out an intuition
2197# of exeext.
2198{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2199echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2200ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2201#
2202# List of possible output files, starting from the most likely.
2203# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2204# only as a last resort.  b.out is created by i960 compilers.
2205ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2206#
2207# The IRIX 6 linker writes into existing files which may not be
2208# executable, retaining their permissions.  Remove them first so a
2209# subsequent execution test works.
2210ac_rmfiles=
2211for ac_file in $ac_files
2212do
2213  case $ac_file in
2214    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2215    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2216  esac
2217done
2218rm -f $ac_rmfiles
2219
2220if { (ac_try="$ac_link_default"
2221case "(($ac_try" in
2222  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2223  *) ac_try_echo=$ac_try;;
2224esac
2225eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2226  (eval "$ac_link_default") 2>&5
2227  ac_status=$?
2228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229  (exit $ac_status); }; then
2230  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2231# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2232# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2233# so that the user can short-circuit this test for compilers unknown to
2234# Autoconf.
2235for ac_file in $ac_files ''
2236do
2237  test -f "$ac_file" || continue
2238  case $ac_file in
2239    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2240	;;
2241    [ab].out )
2242	# We found the default executable, but exeext='' is most
2243	# certainly right.
2244	break;;
2245    *.* )
2246        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2247	then :; else
2248	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249	fi
2250	# We set ac_cv_exeext here because the later test for it is not
2251	# safe: cross compilers may not add the suffix if given an `-o'
2252	# argument, so we may need to know it at that point already.
2253	# Even if this section looks crufty: it has the advantage of
2254	# actually working.
2255	break;;
2256    * )
2257	break;;
2258  esac
2259done
2260test "$ac_cv_exeext" = no && ac_cv_exeext=
2261
2262else
2263  ac_file=''
2264fi
2265
2266{ echo "$as_me:$LINENO: result: $ac_file" >&5
2267echo "${ECHO_T}$ac_file" >&6; }
2268if test -z "$ac_file"; then
2269  echo "$as_me: failed program was:" >&5
2270sed 's/^/| /' conftest.$ac_ext >&5
2271
2272{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2273See \`config.log' for more details." >&5
2274echo "$as_me: error: C compiler cannot create executables
2275See \`config.log' for more details." >&2;}
2276   { (exit 77); exit 77; }; }
2277fi
2278
2279ac_exeext=$ac_cv_exeext
2280
2281# Check that the compiler produces executables we can run.  If not, either
2282# the compiler is broken, or we cross compile.
2283{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2284echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2285# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2286# If not cross compiling, check that we can run a simple program.
2287if test "$cross_compiling" != yes; then
2288  if { ac_try='./$ac_file'
2289  { (case "(($ac_try" in
2290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2291  *) ac_try_echo=$ac_try;;
2292esac
2293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2294  (eval "$ac_try") 2>&5
2295  ac_status=$?
2296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297  (exit $ac_status); }; }; then
2298    cross_compiling=no
2299  else
2300    if test "$cross_compiling" = maybe; then
2301	cross_compiling=yes
2302    else
2303	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2304If you meant to cross compile, use \`--host'.
2305See \`config.log' for more details." >&5
2306echo "$as_me: error: cannot run C compiled programs.
2307If you meant to cross compile, use \`--host'.
2308See \`config.log' for more details." >&2;}
2309   { (exit 1); exit 1; }; }
2310    fi
2311  fi
2312fi
2313{ echo "$as_me:$LINENO: result: yes" >&5
2314echo "${ECHO_T}yes" >&6; }
2315
2316rm -f a.out a.exe conftest$ac_cv_exeext b.out
2317ac_clean_files=$ac_clean_files_save
2318# Check that the compiler produces executables we can run.  If not, either
2319# the compiler is broken, or we cross compile.
2320{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2321echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2322{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2323echo "${ECHO_T}$cross_compiling" >&6; }
2324
2325{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2326echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2327if { (ac_try="$ac_link"
2328case "(($ac_try" in
2329  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330  *) ac_try_echo=$ac_try;;
2331esac
2332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2333  (eval "$ac_link") 2>&5
2334  ac_status=$?
2335  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336  (exit $ac_status); }; then
2337  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2338# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2339# work properly (i.e., refer to `conftest.exe'), while it won't with
2340# `rm'.
2341for ac_file in conftest.exe conftest conftest.*; do
2342  test -f "$ac_file" || continue
2343  case $ac_file in
2344    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2345    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2346	  break;;
2347    * ) break;;
2348  esac
2349done
2350else
2351  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2352See \`config.log' for more details." >&5
2353echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2354See \`config.log' for more details." >&2;}
2355   { (exit 1); exit 1; }; }
2356fi
2357
2358rm -f conftest$ac_cv_exeext
2359{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2360echo "${ECHO_T}$ac_cv_exeext" >&6; }
2361
2362rm -f conftest.$ac_ext
2363EXEEXT=$ac_cv_exeext
2364ac_exeext=$EXEEXT
2365{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2366echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2367if test "${ac_cv_objext+set}" = set; then
2368  echo $ECHO_N "(cached) $ECHO_C" >&6
2369else
2370  cat >conftest.$ac_ext <<_ACEOF
2371/* confdefs.h.  */
2372_ACEOF
2373cat confdefs.h >>conftest.$ac_ext
2374cat >>conftest.$ac_ext <<_ACEOF
2375/* end confdefs.h.  */
2376
2377int
2378main ()
2379{
2380
2381  ;
2382  return 0;
2383}
2384_ACEOF
2385rm -f conftest.o conftest.obj
2386if { (ac_try="$ac_compile"
2387case "(($ac_try" in
2388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389  *) ac_try_echo=$ac_try;;
2390esac
2391eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392  (eval "$ac_compile") 2>&5
2393  ac_status=$?
2394  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395  (exit $ac_status); }; then
2396  for ac_file in conftest.o conftest.obj conftest.*; do
2397  test -f "$ac_file" || continue;
2398  case $ac_file in
2399    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2400    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2401       break;;
2402  esac
2403done
2404else
2405  echo "$as_me: failed program was:" >&5
2406sed 's/^/| /' conftest.$ac_ext >&5
2407
2408{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2409See \`config.log' for more details." >&5
2410echo "$as_me: error: cannot compute suffix of object files: cannot compile
2411See \`config.log' for more details." >&2;}
2412   { (exit 1); exit 1; }; }
2413fi
2414
2415rm -f conftest.$ac_cv_objext conftest.$ac_ext
2416fi
2417{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2418echo "${ECHO_T}$ac_cv_objext" >&6; }
2419OBJEXT=$ac_cv_objext
2420ac_objext=$OBJEXT
2421{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2422echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2423if test "${ac_cv_c_compiler_gnu+set}" = set; then
2424  echo $ECHO_N "(cached) $ECHO_C" >&6
2425else
2426  cat >conftest.$ac_ext <<_ACEOF
2427/* confdefs.h.  */
2428_ACEOF
2429cat confdefs.h >>conftest.$ac_ext
2430cat >>conftest.$ac_ext <<_ACEOF
2431/* end confdefs.h.  */
2432
2433int
2434main ()
2435{
2436#ifndef __GNUC__
2437       choke me
2438#endif
2439
2440  ;
2441  return 0;
2442}
2443_ACEOF
2444rm -f conftest.$ac_objext
2445if { (ac_try="$ac_compile"
2446case "(($ac_try" in
2447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448  *) ac_try_echo=$ac_try;;
2449esac
2450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2451  (eval "$ac_compile") 2>conftest.er1
2452  ac_status=$?
2453  grep -v '^ *+' conftest.er1 >conftest.err
2454  rm -f conftest.er1
2455  cat conftest.err >&5
2456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457  (exit $ac_status); } && {
2458	 test -z "$ac_c_werror_flag" ||
2459	 test ! -s conftest.err
2460       } && test -s conftest.$ac_objext; then
2461  ac_compiler_gnu=yes
2462else
2463  echo "$as_me: failed program was:" >&5
2464sed 's/^/| /' conftest.$ac_ext >&5
2465
2466	ac_compiler_gnu=no
2467fi
2468
2469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470ac_cv_c_compiler_gnu=$ac_compiler_gnu
2471
2472fi
2473{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2474echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2475GCC=`test $ac_compiler_gnu = yes && echo yes`
2476ac_test_CFLAGS=${CFLAGS+set}
2477ac_save_CFLAGS=$CFLAGS
2478{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2479echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2480if test "${ac_cv_prog_cc_g+set}" = set; then
2481  echo $ECHO_N "(cached) $ECHO_C" >&6
2482else
2483  ac_save_c_werror_flag=$ac_c_werror_flag
2484   ac_c_werror_flag=yes
2485   ac_cv_prog_cc_g=no
2486   CFLAGS="-g"
2487   cat >conftest.$ac_ext <<_ACEOF
2488/* confdefs.h.  */
2489_ACEOF
2490cat confdefs.h >>conftest.$ac_ext
2491cat >>conftest.$ac_ext <<_ACEOF
2492/* end confdefs.h.  */
2493
2494int
2495main ()
2496{
2497
2498  ;
2499  return 0;
2500}
2501_ACEOF
2502rm -f conftest.$ac_objext
2503if { (ac_try="$ac_compile"
2504case "(($ac_try" in
2505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506  *) ac_try_echo=$ac_try;;
2507esac
2508eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2509  (eval "$ac_compile") 2>conftest.er1
2510  ac_status=$?
2511  grep -v '^ *+' conftest.er1 >conftest.err
2512  rm -f conftest.er1
2513  cat conftest.err >&5
2514  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2515  (exit $ac_status); } && {
2516	 test -z "$ac_c_werror_flag" ||
2517	 test ! -s conftest.err
2518       } && test -s conftest.$ac_objext; then
2519  ac_cv_prog_cc_g=yes
2520else
2521  echo "$as_me: failed program was:" >&5
2522sed 's/^/| /' conftest.$ac_ext >&5
2523
2524	CFLAGS=""
2525      cat >conftest.$ac_ext <<_ACEOF
2526/* confdefs.h.  */
2527_ACEOF
2528cat confdefs.h >>conftest.$ac_ext
2529cat >>conftest.$ac_ext <<_ACEOF
2530/* end confdefs.h.  */
2531
2532int
2533main ()
2534{
2535
2536  ;
2537  return 0;
2538}
2539_ACEOF
2540rm -f conftest.$ac_objext
2541if { (ac_try="$ac_compile"
2542case "(($ac_try" in
2543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2544  *) ac_try_echo=$ac_try;;
2545esac
2546eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2547  (eval "$ac_compile") 2>conftest.er1
2548  ac_status=$?
2549  grep -v '^ *+' conftest.er1 >conftest.err
2550  rm -f conftest.er1
2551  cat conftest.err >&5
2552  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553  (exit $ac_status); } && {
2554	 test -z "$ac_c_werror_flag" ||
2555	 test ! -s conftest.err
2556       } && test -s conftest.$ac_objext; then
2557  :
2558else
2559  echo "$as_me: failed program was:" >&5
2560sed 's/^/| /' conftest.$ac_ext >&5
2561
2562	ac_c_werror_flag=$ac_save_c_werror_flag
2563	 CFLAGS="-g"
2564	 cat >conftest.$ac_ext <<_ACEOF
2565/* confdefs.h.  */
2566_ACEOF
2567cat confdefs.h >>conftest.$ac_ext
2568cat >>conftest.$ac_ext <<_ACEOF
2569/* end confdefs.h.  */
2570
2571int
2572main ()
2573{
2574
2575  ;
2576  return 0;
2577}
2578_ACEOF
2579rm -f conftest.$ac_objext
2580if { (ac_try="$ac_compile"
2581case "(($ac_try" in
2582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583  *) ac_try_echo=$ac_try;;
2584esac
2585eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586  (eval "$ac_compile") 2>conftest.er1
2587  ac_status=$?
2588  grep -v '^ *+' conftest.er1 >conftest.err
2589  rm -f conftest.er1
2590  cat conftest.err >&5
2591  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592  (exit $ac_status); } && {
2593	 test -z "$ac_c_werror_flag" ||
2594	 test ! -s conftest.err
2595       } && test -s conftest.$ac_objext; then
2596  ac_cv_prog_cc_g=yes
2597else
2598  echo "$as_me: failed program was:" >&5
2599sed 's/^/| /' conftest.$ac_ext >&5
2600
2601
2602fi
2603
2604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605fi
2606
2607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608fi
2609
2610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2611   ac_c_werror_flag=$ac_save_c_werror_flag
2612fi
2613{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2614echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2615if test "$ac_test_CFLAGS" = set; then
2616  CFLAGS=$ac_save_CFLAGS
2617elif test $ac_cv_prog_cc_g = yes; then
2618  if test "$GCC" = yes; then
2619    CFLAGS="-g -O2"
2620  else
2621    CFLAGS="-g"
2622  fi
2623else
2624  if test "$GCC" = yes; then
2625    CFLAGS="-O2"
2626  else
2627    CFLAGS=
2628  fi
2629fi
2630{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2631echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2632if test "${ac_cv_prog_cc_c89+set}" = set; then
2633  echo $ECHO_N "(cached) $ECHO_C" >&6
2634else
2635  ac_cv_prog_cc_c89=no
2636ac_save_CC=$CC
2637cat >conftest.$ac_ext <<_ACEOF
2638/* confdefs.h.  */
2639_ACEOF
2640cat confdefs.h >>conftest.$ac_ext
2641cat >>conftest.$ac_ext <<_ACEOF
2642/* end confdefs.h.  */
2643#include <stdarg.h>
2644#include <stdio.h>
2645#include <sys/types.h>
2646#include <sys/stat.h>
2647/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2648struct buf { int x; };
2649FILE * (*rcsopen) (struct buf *, struct stat *, int);
2650static char *e (p, i)
2651     char **p;
2652     int i;
2653{
2654  return p[i];
2655}
2656static char *f (char * (*g) (char **, int), char **p, ...)
2657{
2658  char *s;
2659  va_list v;
2660  va_start (v,p);
2661  s = g (p, va_arg (v,int));
2662  va_end (v);
2663  return s;
2664}
2665
2666/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2667   function prototypes and stuff, but not '\xHH' hex character constants.
2668   These don't provoke an error unfortunately, instead are silently treated
2669   as 'x'.  The following induces an error, until -std is added to get
2670   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2671   array size at least.  It's necessary to write '\x00'==0 to get something
2672   that's true only with -std.  */
2673int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2674
2675/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2676   inside strings and character constants.  */
2677#define FOO(x) 'x'
2678int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2679
2680int test (int i, double x);
2681struct s1 {int (*f) (int a);};
2682struct s2 {int (*f) (double a);};
2683int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2684int argc;
2685char **argv;
2686int
2687main ()
2688{
2689return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2690  ;
2691  return 0;
2692}
2693_ACEOF
2694for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2695	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2696do
2697  CC="$ac_save_CC $ac_arg"
2698  rm -f conftest.$ac_objext
2699if { (ac_try="$ac_compile"
2700case "(($ac_try" in
2701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702  *) ac_try_echo=$ac_try;;
2703esac
2704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705  (eval "$ac_compile") 2>conftest.er1
2706  ac_status=$?
2707  grep -v '^ *+' conftest.er1 >conftest.err
2708  rm -f conftest.er1
2709  cat conftest.err >&5
2710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711  (exit $ac_status); } && {
2712	 test -z "$ac_c_werror_flag" ||
2713	 test ! -s conftest.err
2714       } && test -s conftest.$ac_objext; then
2715  ac_cv_prog_cc_c89=$ac_arg
2716else
2717  echo "$as_me: failed program was:" >&5
2718sed 's/^/| /' conftest.$ac_ext >&5
2719
2720
2721fi
2722
2723rm -f core conftest.err conftest.$ac_objext
2724  test "x$ac_cv_prog_cc_c89" != "xno" && break
2725done
2726rm -f conftest.$ac_ext
2727CC=$ac_save_CC
2728
2729fi
2730# AC_CACHE_VAL
2731case "x$ac_cv_prog_cc_c89" in
2732  x)
2733    { echo "$as_me:$LINENO: result: none needed" >&5
2734echo "${ECHO_T}none needed" >&6; } ;;
2735  xno)
2736    { echo "$as_me:$LINENO: result: unsupported" >&5
2737echo "${ECHO_T}unsupported" >&6; } ;;
2738  *)
2739    CC="$CC $ac_cv_prog_cc_c89"
2740    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2741echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2742esac
2743
2744
2745ac_ext=c
2746ac_cpp='$CPP $CPPFLAGS'
2747ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2748ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2749ac_compiler_gnu=$ac_cv_c_compiler_gnu
2750
2751
2752# Find a good install program.  We prefer a C program (faster),
2753# so one script is as good as another.  But avoid the broken or
2754# incompatible versions:
2755# SysV /etc/install, /usr/sbin/install
2756# SunOS /usr/etc/install
2757# IRIX /sbin/install
2758# AIX /bin/install
2759# AmigaOS /C/install, which installs bootblocks on floppy discs
2760# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2761# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2762# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2763# OS/2's system install, which has a completely different semantic
2764# ./install, which can be erroneously created by make from ./install.sh.
2765{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2766echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2767if test -z "$INSTALL"; then
2768if test "${ac_cv_path_install+set}" = set; then
2769  echo $ECHO_N "(cached) $ECHO_C" >&6
2770else
2771  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772for as_dir in $PATH
2773do
2774  IFS=$as_save_IFS
2775  test -z "$as_dir" && as_dir=.
2776  # Account for people who put trailing slashes in PATH elements.
2777case $as_dir/ in
2778  ./ | .// | /cC/* | \
2779  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2780  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2781  /usr/ucb/* ) ;;
2782  *)
2783    # OSF1 and SCO ODT 3.0 have their own names for install.
2784    # Don't use installbsd from OSF since it installs stuff as root
2785    # by default.
2786    for ac_prog in ginstall scoinst install; do
2787      for ac_exec_ext in '' $ac_executable_extensions; do
2788	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2789	  if test $ac_prog = install &&
2790	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2791	    # AIX install.  It has an incompatible calling convention.
2792	    :
2793	  elif test $ac_prog = install &&
2794	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2795	    # program-specific install script used by HP pwplus--don't use.
2796	    :
2797	  else
2798	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2799	    break 3
2800	  fi
2801	fi
2802      done
2803    done
2804    ;;
2805esac
2806done
2807IFS=$as_save_IFS
2808
2809
2810fi
2811  if test "${ac_cv_path_install+set}" = set; then
2812    INSTALL=$ac_cv_path_install
2813  else
2814    # As a last resort, use the slow shell script.  Don't cache a
2815    # value for INSTALL within a source directory, because that will
2816    # break other packages using the cache if that directory is
2817    # removed, or if the value is a relative name.
2818    INSTALL=$ac_install_sh
2819  fi
2820fi
2821{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2822echo "${ECHO_T}$INSTALL" >&6; }
2823
2824# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2825# It thinks the first close brace ends the variable substitution.
2826test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2827
2828test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2829
2830test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2831
2832if test -n "$ac_tool_prefix"; then
2833  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2834set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2835{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2836echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2837if test "${ac_cv_prog_RANLIB+set}" = set; then
2838  echo $ECHO_N "(cached) $ECHO_C" >&6
2839else
2840  if test -n "$RANLIB"; then
2841  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2842else
2843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844for as_dir in $PATH
2845do
2846  IFS=$as_save_IFS
2847  test -z "$as_dir" && as_dir=.
2848  for ac_exec_ext in '' $ac_executable_extensions; do
2849  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2851    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2852    break 2
2853  fi
2854done
2855done
2856IFS=$as_save_IFS
2857
2858fi
2859fi
2860RANLIB=$ac_cv_prog_RANLIB
2861if test -n "$RANLIB"; then
2862  { echo "$as_me:$LINENO: result: $RANLIB" >&5
2863echo "${ECHO_T}$RANLIB" >&6; }
2864else
2865  { echo "$as_me:$LINENO: result: no" >&5
2866echo "${ECHO_T}no" >&6; }
2867fi
2868
2869
2870fi
2871if test -z "$ac_cv_prog_RANLIB"; then
2872  ac_ct_RANLIB=$RANLIB
2873  # Extract the first word of "ranlib", so it can be a program name with args.
2874set dummy ranlib; ac_word=$2
2875{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2876echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2877if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2878  echo $ECHO_N "(cached) $ECHO_C" >&6
2879else
2880  if test -n "$ac_ct_RANLIB"; then
2881  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2882else
2883as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884for as_dir in $PATH
2885do
2886  IFS=$as_save_IFS
2887  test -z "$as_dir" && as_dir=.
2888  for ac_exec_ext in '' $ac_executable_extensions; do
2889  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2890    ac_cv_prog_ac_ct_RANLIB="ranlib"
2891    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892    break 2
2893  fi
2894done
2895done
2896IFS=$as_save_IFS
2897
2898fi
2899fi
2900ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2901if test -n "$ac_ct_RANLIB"; then
2902  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2903echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2904else
2905  { echo "$as_me:$LINENO: result: no" >&5
2906echo "${ECHO_T}no" >&6; }
2907fi
2908
2909  if test "x$ac_ct_RANLIB" = x; then
2910    RANLIB=":"
2911  else
2912    case $cross_compiling:$ac_tool_warned in
2913yes:)
2914{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2915whose name does not start with the host triplet.  If you think this
2916configuration is useful to you, please write to autoconf@gnu.org." >&5
2917echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2918whose name does not start with the host triplet.  If you think this
2919configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2920ac_tool_warned=yes ;;
2921esac
2922    RANLIB=$ac_ct_RANLIB
2923  fi
2924else
2925  RANLIB="$ac_cv_prog_RANLIB"
2926fi
2927
2928
2929# Check whether --enable-largefile was given.
2930if test "${enable_largefile+set}" = set; then
2931  enableval=$enable_largefile;
2932fi
2933
2934if test "$enable_largefile" != no; then
2935
2936  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2937echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
2938if test "${ac_cv_sys_largefile_CC+set}" = set; then
2939  echo $ECHO_N "(cached) $ECHO_C" >&6
2940else
2941  ac_cv_sys_largefile_CC=no
2942     if test "$GCC" != yes; then
2943       ac_save_CC=$CC
2944       while :; do
2945	 # IRIX 6.2 and later do not support large files by default,
2946	 # so use the C compiler's -n32 option if that helps.
2947	 cat >conftest.$ac_ext <<_ACEOF
2948/* confdefs.h.  */
2949_ACEOF
2950cat confdefs.h >>conftest.$ac_ext
2951cat >>conftest.$ac_ext <<_ACEOF
2952/* end confdefs.h.  */
2953#include <sys/types.h>
2954 /* Check that off_t can represent 2**63 - 1 correctly.
2955    We can't simply define LARGE_OFF_T to be 9223372036854775807,
2956    since some C++ compilers masquerading as C compilers
2957    incorrectly reject 9223372036854775807.  */
2958#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
2959  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
2960		       && LARGE_OFF_T % 2147483647 == 1)
2961		      ? 1 : -1];
2962int
2963main ()
2964{
2965
2966  ;
2967  return 0;
2968}
2969_ACEOF
2970	 rm -f conftest.$ac_objext
2971if { (ac_try="$ac_compile"
2972case "(($ac_try" in
2973  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974  *) ac_try_echo=$ac_try;;
2975esac
2976eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977  (eval "$ac_compile") 2>conftest.er1
2978  ac_status=$?
2979  grep -v '^ *+' conftest.er1 >conftest.err
2980  rm -f conftest.er1
2981  cat conftest.err >&5
2982  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983  (exit $ac_status); } && {
2984	 test -z "$ac_c_werror_flag" ||
2985	 test ! -s conftest.err
2986       } && test -s conftest.$ac_objext; then
2987  break
2988else
2989  echo "$as_me: failed program was:" >&5
2990sed 's/^/| /' conftest.$ac_ext >&5
2991
2992
2993fi
2994
2995rm -f core conftest.err conftest.$ac_objext
2996	 CC="$CC -n32"
2997	 rm -f conftest.$ac_objext
2998if { (ac_try="$ac_compile"
2999case "(($ac_try" in
3000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001  *) ac_try_echo=$ac_try;;
3002esac
3003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3004  (eval "$ac_compile") 2>conftest.er1
3005  ac_status=$?
3006  grep -v '^ *+' conftest.er1 >conftest.err
3007  rm -f conftest.er1
3008  cat conftest.err >&5
3009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010  (exit $ac_status); } && {
3011	 test -z "$ac_c_werror_flag" ||
3012	 test ! -s conftest.err
3013       } && test -s conftest.$ac_objext; then
3014  ac_cv_sys_largefile_CC=' -n32'; break
3015else
3016  echo "$as_me: failed program was:" >&5
3017sed 's/^/| /' conftest.$ac_ext >&5
3018
3019
3020fi
3021
3022rm -f core conftest.err conftest.$ac_objext
3023	 break
3024       done
3025       CC=$ac_save_CC
3026       rm -f conftest.$ac_ext
3027    fi
3028fi
3029{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3030echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
3031  if test "$ac_cv_sys_largefile_CC" != no; then
3032    CC=$CC$ac_cv_sys_largefile_CC
3033  fi
3034
3035  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3036echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
3037if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3038  echo $ECHO_N "(cached) $ECHO_C" >&6
3039else
3040  while :; do
3041  cat >conftest.$ac_ext <<_ACEOF
3042/* confdefs.h.  */
3043_ACEOF
3044cat confdefs.h >>conftest.$ac_ext
3045cat >>conftest.$ac_ext <<_ACEOF
3046/* end confdefs.h.  */
3047#include <sys/types.h>
3048 /* Check that off_t can represent 2**63 - 1 correctly.
3049    We can't simply define LARGE_OFF_T to be 9223372036854775807,
3050    since some C++ compilers masquerading as C compilers
3051    incorrectly reject 9223372036854775807.  */
3052#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3053  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3054		       && LARGE_OFF_T % 2147483647 == 1)
3055		      ? 1 : -1];
3056int
3057main ()
3058{
3059
3060  ;
3061  return 0;
3062}
3063_ACEOF
3064rm -f conftest.$ac_objext
3065if { (ac_try="$ac_compile"
3066case "(($ac_try" in
3067  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068  *) ac_try_echo=$ac_try;;
3069esac
3070eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3071  (eval "$ac_compile") 2>conftest.er1
3072  ac_status=$?
3073  grep -v '^ *+' conftest.er1 >conftest.err
3074  rm -f conftest.er1
3075  cat conftest.err >&5
3076  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077  (exit $ac_status); } && {
3078	 test -z "$ac_c_werror_flag" ||
3079	 test ! -s conftest.err
3080       } && test -s conftest.$ac_objext; then
3081  ac_cv_sys_file_offset_bits=no; break
3082else
3083  echo "$as_me: failed program was:" >&5
3084sed 's/^/| /' conftest.$ac_ext >&5
3085
3086
3087fi
3088
3089rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3090  cat >conftest.$ac_ext <<_ACEOF
3091/* confdefs.h.  */
3092_ACEOF
3093cat confdefs.h >>conftest.$ac_ext
3094cat >>conftest.$ac_ext <<_ACEOF
3095/* end confdefs.h.  */
3096#define _FILE_OFFSET_BITS 64
3097#include <sys/types.h>
3098 /* Check that off_t can represent 2**63 - 1 correctly.
3099    We can't simply define LARGE_OFF_T to be 9223372036854775807,
3100    since some C++ compilers masquerading as C compilers
3101    incorrectly reject 9223372036854775807.  */
3102#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3103  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3104		       && LARGE_OFF_T % 2147483647 == 1)
3105		      ? 1 : -1];
3106int
3107main ()
3108{
3109
3110  ;
3111  return 0;
3112}
3113_ACEOF
3114rm -f conftest.$ac_objext
3115if { (ac_try="$ac_compile"
3116case "(($ac_try" in
3117  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118  *) ac_try_echo=$ac_try;;
3119esac
3120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3121  (eval "$ac_compile") 2>conftest.er1
3122  ac_status=$?
3123  grep -v '^ *+' conftest.er1 >conftest.err
3124  rm -f conftest.er1
3125  cat conftest.err >&5
3126  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127  (exit $ac_status); } && {
3128	 test -z "$ac_c_werror_flag" ||
3129	 test ! -s conftest.err
3130       } && test -s conftest.$ac_objext; then
3131  ac_cv_sys_file_offset_bits=64; break
3132else
3133  echo "$as_me: failed program was:" >&5
3134sed 's/^/| /' conftest.$ac_ext >&5
3135
3136
3137fi
3138
3139rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3140  ac_cv_sys_file_offset_bits=unknown
3141  break
3142done
3143fi
3144{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3145echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
3146case $ac_cv_sys_file_offset_bits in #(
3147  no | unknown) ;;
3148  *)
3149cat >>confdefs.h <<_ACEOF
3150#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3151_ACEOF
3152;;
3153esac
3154rm -f conftest*
3155  if test $ac_cv_sys_file_offset_bits = unknown; then
3156    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3157echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
3158if test "${ac_cv_sys_large_files+set}" = set; then
3159  echo $ECHO_N "(cached) $ECHO_C" >&6
3160else
3161  while :; do
3162  cat >conftest.$ac_ext <<_ACEOF
3163/* confdefs.h.  */
3164_ACEOF
3165cat confdefs.h >>conftest.$ac_ext
3166cat >>conftest.$ac_ext <<_ACEOF
3167/* end confdefs.h.  */
3168#include <sys/types.h>
3169 /* Check that off_t can represent 2**63 - 1 correctly.
3170    We can't simply define LARGE_OFF_T to be 9223372036854775807,
3171    since some C++ compilers masquerading as C compilers
3172    incorrectly reject 9223372036854775807.  */
3173#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3174  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3175		       && LARGE_OFF_T % 2147483647 == 1)
3176		      ? 1 : -1];
3177int
3178main ()
3179{
3180
3181  ;
3182  return 0;
3183}
3184_ACEOF
3185rm -f conftest.$ac_objext
3186if { (ac_try="$ac_compile"
3187case "(($ac_try" in
3188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189  *) ac_try_echo=$ac_try;;
3190esac
3191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3192  (eval "$ac_compile") 2>conftest.er1
3193  ac_status=$?
3194  grep -v '^ *+' conftest.er1 >conftest.err
3195  rm -f conftest.er1
3196  cat conftest.err >&5
3197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198  (exit $ac_status); } && {
3199	 test -z "$ac_c_werror_flag" ||
3200	 test ! -s conftest.err
3201       } && test -s conftest.$ac_objext; then
3202  ac_cv_sys_large_files=no; break
3203else
3204  echo "$as_me: failed program was:" >&5
3205sed 's/^/| /' conftest.$ac_ext >&5
3206
3207
3208fi
3209
3210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3211  cat >conftest.$ac_ext <<_ACEOF
3212/* confdefs.h.  */
3213_ACEOF
3214cat confdefs.h >>conftest.$ac_ext
3215cat >>conftest.$ac_ext <<_ACEOF
3216/* end confdefs.h.  */
3217#define _LARGE_FILES 1
3218#include <sys/types.h>
3219 /* Check that off_t can represent 2**63 - 1 correctly.
3220    We can't simply define LARGE_OFF_T to be 9223372036854775807,
3221    since some C++ compilers masquerading as C compilers
3222    incorrectly reject 9223372036854775807.  */
3223#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3224  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3225		       && LARGE_OFF_T % 2147483647 == 1)
3226		      ? 1 : -1];
3227int
3228main ()
3229{
3230
3231  ;
3232  return 0;
3233}
3234_ACEOF
3235rm -f conftest.$ac_objext
3236if { (ac_try="$ac_compile"
3237case "(($ac_try" in
3238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3239  *) ac_try_echo=$ac_try;;
3240esac
3241eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3242  (eval "$ac_compile") 2>conftest.er1
3243  ac_status=$?
3244  grep -v '^ *+' conftest.er1 >conftest.err
3245  rm -f conftest.er1
3246  cat conftest.err >&5
3247  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248  (exit $ac_status); } && {
3249	 test -z "$ac_c_werror_flag" ||
3250	 test ! -s conftest.err
3251       } && test -s conftest.$ac_objext; then
3252  ac_cv_sys_large_files=1; break
3253else
3254  echo "$as_me: failed program was:" >&5
3255sed 's/^/| /' conftest.$ac_ext >&5
3256
3257
3258fi
3259
3260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261  ac_cv_sys_large_files=unknown
3262  break
3263done
3264fi
3265{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3266echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
3267case $ac_cv_sys_large_files in #(
3268  no | unknown) ;;
3269  *)
3270cat >>confdefs.h <<_ACEOF
3271#define _LARGE_FILES $ac_cv_sys_large_files
3272_ACEOF
3273;;
3274esac
3275rm -f conftest*
3276  fi
3277fi
3278
3279ac_ext=c
3280ac_cpp='$CPP $CPPFLAGS'
3281ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3285echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3286# On Suns, sometimes $CPP names a directory.
3287if test -n "$CPP" && test -d "$CPP"; then
3288  CPP=
3289fi
3290if test -z "$CPP"; then
3291  if test "${ac_cv_prog_CPP+set}" = set; then
3292  echo $ECHO_N "(cached) $ECHO_C" >&6
3293else
3294      # Double quotes because CPP needs to be expanded
3295    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3296    do
3297      ac_preproc_ok=false
3298for ac_c_preproc_warn_flag in '' yes
3299do
3300  # Use a header file that comes with gcc, so configuring glibc
3301  # with a fresh cross-compiler works.
3302  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3303  # <limits.h> exists even on freestanding compilers.
3304  # On the NeXT, cc -E runs the code through the compiler's parser,
3305  # not just through cpp. "Syntax error" is here to catch this case.
3306  cat >conftest.$ac_ext <<_ACEOF
3307/* confdefs.h.  */
3308_ACEOF
3309cat confdefs.h >>conftest.$ac_ext
3310cat >>conftest.$ac_ext <<_ACEOF
3311/* end confdefs.h.  */
3312#ifdef __STDC__
3313# include <limits.h>
3314#else
3315# include <assert.h>
3316#endif
3317		     Syntax error
3318_ACEOF
3319if { (ac_try="$ac_cpp conftest.$ac_ext"
3320case "(($ac_try" in
3321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322  *) ac_try_echo=$ac_try;;
3323esac
3324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3326  ac_status=$?
3327  grep -v '^ *+' conftest.er1 >conftest.err
3328  rm -f conftest.er1
3329  cat conftest.err >&5
3330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331  (exit $ac_status); } >/dev/null && {
3332	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3333	 test ! -s conftest.err
3334       }; then
3335  :
3336else
3337  echo "$as_me: failed program was:" >&5
3338sed 's/^/| /' conftest.$ac_ext >&5
3339
3340  # Broken: fails on valid input.
3341continue
3342fi
3343
3344rm -f conftest.err conftest.$ac_ext
3345
3346  # OK, works on sane cases.  Now check whether nonexistent headers
3347  # can be detected and how.
3348  cat >conftest.$ac_ext <<_ACEOF
3349/* confdefs.h.  */
3350_ACEOF
3351cat confdefs.h >>conftest.$ac_ext
3352cat >>conftest.$ac_ext <<_ACEOF
3353/* end confdefs.h.  */
3354#include <ac_nonexistent.h>
3355_ACEOF
3356if { (ac_try="$ac_cpp conftest.$ac_ext"
3357case "(($ac_try" in
3358  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359  *) ac_try_echo=$ac_try;;
3360esac
3361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3363  ac_status=$?
3364  grep -v '^ *+' conftest.er1 >conftest.err
3365  rm -f conftest.er1
3366  cat conftest.err >&5
3367  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368  (exit $ac_status); } >/dev/null && {
3369	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3370	 test ! -s conftest.err
3371       }; then
3372  # Broken: success on invalid input.
3373continue
3374else
3375  echo "$as_me: failed program was:" >&5
3376sed 's/^/| /' conftest.$ac_ext >&5
3377
3378  # Passes both tests.
3379ac_preproc_ok=:
3380break
3381fi
3382
3383rm -f conftest.err conftest.$ac_ext
3384
3385done
3386# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3387rm -f conftest.err conftest.$ac_ext
3388if $ac_preproc_ok; then
3389  break
3390fi
3391
3392    done
3393    ac_cv_prog_CPP=$CPP
3394
3395fi
3396  CPP=$ac_cv_prog_CPP
3397else
3398  ac_cv_prog_CPP=$CPP
3399fi
3400{ echo "$as_me:$LINENO: result: $CPP" >&5
3401echo "${ECHO_T}$CPP" >&6; }
3402ac_preproc_ok=false
3403for ac_c_preproc_warn_flag in '' yes
3404do
3405  # Use a header file that comes with gcc, so configuring glibc
3406  # with a fresh cross-compiler works.
3407  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3408  # <limits.h> exists even on freestanding compilers.
3409  # On the NeXT, cc -E runs the code through the compiler's parser,
3410  # not just through cpp. "Syntax error" is here to catch this case.
3411  cat >conftest.$ac_ext <<_ACEOF
3412/* confdefs.h.  */
3413_ACEOF
3414cat confdefs.h >>conftest.$ac_ext
3415cat >>conftest.$ac_ext <<_ACEOF
3416/* end confdefs.h.  */
3417#ifdef __STDC__
3418# include <limits.h>
3419#else
3420# include <assert.h>
3421#endif
3422		     Syntax error
3423_ACEOF
3424if { (ac_try="$ac_cpp conftest.$ac_ext"
3425case "(($ac_try" in
3426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427  *) ac_try_echo=$ac_try;;
3428esac
3429eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3430  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3431  ac_status=$?
3432  grep -v '^ *+' conftest.er1 >conftest.err
3433  rm -f conftest.er1
3434  cat conftest.err >&5
3435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436  (exit $ac_status); } >/dev/null && {
3437	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3438	 test ! -s conftest.err
3439       }; then
3440  :
3441else
3442  echo "$as_me: failed program was:" >&5
3443sed 's/^/| /' conftest.$ac_ext >&5
3444
3445  # Broken: fails on valid input.
3446continue
3447fi
3448
3449rm -f conftest.err conftest.$ac_ext
3450
3451  # OK, works on sane cases.  Now check whether nonexistent headers
3452  # can be detected and how.
3453  cat >conftest.$ac_ext <<_ACEOF
3454/* confdefs.h.  */
3455_ACEOF
3456cat confdefs.h >>conftest.$ac_ext
3457cat >>conftest.$ac_ext <<_ACEOF
3458/* end confdefs.h.  */
3459#include <ac_nonexistent.h>
3460_ACEOF
3461if { (ac_try="$ac_cpp conftest.$ac_ext"
3462case "(($ac_try" in
3463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464  *) ac_try_echo=$ac_try;;
3465esac
3466eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3467  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3468  ac_status=$?
3469  grep -v '^ *+' conftest.er1 >conftest.err
3470  rm -f conftest.er1
3471  cat conftest.err >&5
3472  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473  (exit $ac_status); } >/dev/null && {
3474	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3475	 test ! -s conftest.err
3476       }; then
3477  # Broken: success on invalid input.
3478continue
3479else
3480  echo "$as_me: failed program was:" >&5
3481sed 's/^/| /' conftest.$ac_ext >&5
3482
3483  # Passes both tests.
3484ac_preproc_ok=:
3485break
3486fi
3487
3488rm -f conftest.err conftest.$ac_ext
3489
3490done
3491# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3492rm -f conftest.err conftest.$ac_ext
3493if $ac_preproc_ok; then
3494  :
3495else
3496  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3497See \`config.log' for more details." >&5
3498echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3499See \`config.log' for more details." >&2;}
3500   { (exit 1); exit 1; }; }
3501fi
3502
3503ac_ext=c
3504ac_cpp='$CPP $CPPFLAGS'
3505ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508
3509
3510{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3511echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3512if test "${ac_cv_path_GREP+set}" = set; then
3513  echo $ECHO_N "(cached) $ECHO_C" >&6
3514else
3515  # Extract the first word of "grep ggrep" to use in msg output
3516if test -z "$GREP"; then
3517set dummy grep ggrep; ac_prog_name=$2
3518if test "${ac_cv_path_GREP+set}" = set; then
3519  echo $ECHO_N "(cached) $ECHO_C" >&6
3520else
3521  ac_path_GREP_found=false
3522# Loop through the user's path and test for each of PROGNAME-LIST
3523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3525do
3526  IFS=$as_save_IFS
3527  test -z "$as_dir" && as_dir=.
3528  for ac_prog in grep ggrep; do
3529  for ac_exec_ext in '' $ac_executable_extensions; do
3530    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3531    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3532    # Check for GNU ac_path_GREP and select it if it is found.
3533  # Check for GNU $ac_path_GREP
3534case `"$ac_path_GREP" --version 2>&1` in
3535*GNU*)
3536  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3537*)
3538  ac_count=0
3539  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3540  while :
3541  do
3542    cat "conftest.in" "conftest.in" >"conftest.tmp"
3543    mv "conftest.tmp" "conftest.in"
3544    cp "conftest.in" "conftest.nl"
3545    echo 'GREP' >> "conftest.nl"
3546    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3547    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3548    ac_count=`expr $ac_count + 1`
3549    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3550      # Best one so far, save it but keep looking for a better one
3551      ac_cv_path_GREP="$ac_path_GREP"
3552      ac_path_GREP_max=$ac_count
3553    fi
3554    # 10*(2^10) chars as input seems more than enough
3555    test $ac_count -gt 10 && break
3556  done
3557  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3558esac
3559
3560
3561    $ac_path_GREP_found && break 3
3562  done
3563done
3564
3565done
3566IFS=$as_save_IFS
3567
3568
3569fi
3570
3571GREP="$ac_cv_path_GREP"
3572if test -z "$GREP"; then
3573  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3574echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3575   { (exit 1); exit 1; }; }
3576fi
3577
3578else
3579  ac_cv_path_GREP=$GREP
3580fi
3581
3582
3583fi
3584{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3585echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3586 GREP="$ac_cv_path_GREP"
3587
3588
3589{ echo "$as_me:$LINENO: checking for egrep" >&5
3590echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3591if test "${ac_cv_path_EGREP+set}" = set; then
3592  echo $ECHO_N "(cached) $ECHO_C" >&6
3593else
3594  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3595   then ac_cv_path_EGREP="$GREP -E"
3596   else
3597     # Extract the first word of "egrep" to use in msg output
3598if test -z "$EGREP"; then
3599set dummy egrep; ac_prog_name=$2
3600if test "${ac_cv_path_EGREP+set}" = set; then
3601  echo $ECHO_N "(cached) $ECHO_C" >&6
3602else
3603  ac_path_EGREP_found=false
3604# Loop through the user's path and test for each of PROGNAME-LIST
3605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3607do
3608  IFS=$as_save_IFS
3609  test -z "$as_dir" && as_dir=.
3610  for ac_prog in egrep; do
3611  for ac_exec_ext in '' $ac_executable_extensions; do
3612    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3613    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3614    # Check for GNU ac_path_EGREP and select it if it is found.
3615  # Check for GNU $ac_path_EGREP
3616case `"$ac_path_EGREP" --version 2>&1` in
3617*GNU*)
3618  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3619*)
3620  ac_count=0
3621  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3622  while :
3623  do
3624    cat "conftest.in" "conftest.in" >"conftest.tmp"
3625    mv "conftest.tmp" "conftest.in"
3626    cp "conftest.in" "conftest.nl"
3627    echo 'EGREP' >> "conftest.nl"
3628    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3629    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3630    ac_count=`expr $ac_count + 1`
3631    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3632      # Best one so far, save it but keep looking for a better one
3633      ac_cv_path_EGREP="$ac_path_EGREP"
3634      ac_path_EGREP_max=$ac_count
3635    fi
3636    # 10*(2^10) chars as input seems more than enough
3637    test $ac_count -gt 10 && break
3638  done
3639  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3640esac
3641
3642
3643    $ac_path_EGREP_found && break 3
3644  done
3645done
3646
3647done
3648IFS=$as_save_IFS
3649
3650
3651fi
3652
3653EGREP="$ac_cv_path_EGREP"
3654if test -z "$EGREP"; then
3655  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3656echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3657   { (exit 1); exit 1; }; }
3658fi
3659
3660else
3661  ac_cv_path_EGREP=$EGREP
3662fi
3663
3664
3665   fi
3666fi
3667{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3668echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3669 EGREP="$ac_cv_path_EGREP"
3670
3671
3672{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3673echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3674if test "${ac_cv_header_stdc+set}" = set; then
3675  echo $ECHO_N "(cached) $ECHO_C" >&6
3676else
3677  cat >conftest.$ac_ext <<_ACEOF
3678/* confdefs.h.  */
3679_ACEOF
3680cat confdefs.h >>conftest.$ac_ext
3681cat >>conftest.$ac_ext <<_ACEOF
3682/* end confdefs.h.  */
3683#include <stdlib.h>
3684#include <stdarg.h>
3685#include <string.h>
3686#include <float.h>
3687
3688int
3689main ()
3690{
3691
3692  ;
3693  return 0;
3694}
3695_ACEOF
3696rm -f conftest.$ac_objext
3697if { (ac_try="$ac_compile"
3698case "(($ac_try" in
3699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3700  *) ac_try_echo=$ac_try;;
3701esac
3702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3703  (eval "$ac_compile") 2>conftest.er1
3704  ac_status=$?
3705  grep -v '^ *+' conftest.er1 >conftest.err
3706  rm -f conftest.er1
3707  cat conftest.err >&5
3708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709  (exit $ac_status); } && {
3710	 test -z "$ac_c_werror_flag" ||
3711	 test ! -s conftest.err
3712       } && test -s conftest.$ac_objext; then
3713  ac_cv_header_stdc=yes
3714else
3715  echo "$as_me: failed program was:" >&5
3716sed 's/^/| /' conftest.$ac_ext >&5
3717
3718	ac_cv_header_stdc=no
3719fi
3720
3721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3722
3723if test $ac_cv_header_stdc = yes; then
3724  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3725  cat >conftest.$ac_ext <<_ACEOF
3726/* confdefs.h.  */
3727_ACEOF
3728cat confdefs.h >>conftest.$ac_ext
3729cat >>conftest.$ac_ext <<_ACEOF
3730/* end confdefs.h.  */
3731#include <string.h>
3732
3733_ACEOF
3734if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3735  $EGREP "memchr" >/dev/null 2>&1; then
3736  :
3737else
3738  ac_cv_header_stdc=no
3739fi
3740rm -f conftest*
3741
3742fi
3743
3744if test $ac_cv_header_stdc = yes; then
3745  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3746  cat >conftest.$ac_ext <<_ACEOF
3747/* confdefs.h.  */
3748_ACEOF
3749cat confdefs.h >>conftest.$ac_ext
3750cat >>conftest.$ac_ext <<_ACEOF
3751/* end confdefs.h.  */
3752#include <stdlib.h>
3753
3754_ACEOF
3755if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3756  $EGREP "free" >/dev/null 2>&1; then
3757  :
3758else
3759  ac_cv_header_stdc=no
3760fi
3761rm -f conftest*
3762
3763fi
3764
3765if test $ac_cv_header_stdc = yes; then
3766  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3767  if test "$cross_compiling" = yes; then
3768  :
3769else
3770  cat >conftest.$ac_ext <<_ACEOF
3771/* confdefs.h.  */
3772_ACEOF
3773cat confdefs.h >>conftest.$ac_ext
3774cat >>conftest.$ac_ext <<_ACEOF
3775/* end confdefs.h.  */
3776#include <ctype.h>
3777#include <stdlib.h>
3778#if ((' ' & 0x0FF) == 0x020)
3779# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3780# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3781#else
3782# define ISLOWER(c) \
3783		   (('a' <= (c) && (c) <= 'i') \
3784		     || ('j' <= (c) && (c) <= 'r') \
3785		     || ('s' <= (c) && (c) <= 'z'))
3786# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3787#endif
3788
3789#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3790int
3791main ()
3792{
3793  int i;
3794  for (i = 0; i < 256; i++)
3795    if (XOR (islower (i), ISLOWER (i))
3796	|| toupper (i) != TOUPPER (i))
3797      return 2;
3798  return 0;
3799}
3800_ACEOF
3801rm -f conftest$ac_exeext
3802if { (ac_try="$ac_link"
3803case "(($ac_try" in
3804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805  *) ac_try_echo=$ac_try;;
3806esac
3807eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808  (eval "$ac_link") 2>&5
3809  ac_status=$?
3810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3812  { (case "(($ac_try" in
3813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814  *) ac_try_echo=$ac_try;;
3815esac
3816eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817  (eval "$ac_try") 2>&5
3818  ac_status=$?
3819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820  (exit $ac_status); }; }; then
3821  :
3822else
3823  echo "$as_me: program exited with status $ac_status" >&5
3824echo "$as_me: failed program was:" >&5
3825sed 's/^/| /' conftest.$ac_ext >&5
3826
3827( exit $ac_status )
3828ac_cv_header_stdc=no
3829fi
3830rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3831fi
3832
3833
3834fi
3835fi
3836{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3837echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3838if test $ac_cv_header_stdc = yes; then
3839
3840cat >>confdefs.h <<\_ACEOF
3841#define STDC_HEADERS 1
3842_ACEOF
3843
3844fi
3845
3846# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3857		  inttypes.h stdint.h unistd.h
3858do
3859as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3860{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3861echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3862if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3863  echo $ECHO_N "(cached) $ECHO_C" >&6
3864else
3865  cat >conftest.$ac_ext <<_ACEOF
3866/* confdefs.h.  */
3867_ACEOF
3868cat confdefs.h >>conftest.$ac_ext
3869cat >>conftest.$ac_ext <<_ACEOF
3870/* end confdefs.h.  */
3871$ac_includes_default
3872
3873#include <$ac_header>
3874_ACEOF
3875rm -f conftest.$ac_objext
3876if { (ac_try="$ac_compile"
3877case "(($ac_try" in
3878  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879  *) ac_try_echo=$ac_try;;
3880esac
3881eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882  (eval "$ac_compile") 2>conftest.er1
3883  ac_status=$?
3884  grep -v '^ *+' conftest.er1 >conftest.err
3885  rm -f conftest.er1
3886  cat conftest.err >&5
3887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888  (exit $ac_status); } && {
3889	 test -z "$ac_c_werror_flag" ||
3890	 test ! -s conftest.err
3891       } && test -s conftest.$ac_objext; then
3892  eval "$as_ac_Header=yes"
3893else
3894  echo "$as_me: failed program was:" >&5
3895sed 's/^/| /' conftest.$ac_ext >&5
3896
3897	eval "$as_ac_Header=no"
3898fi
3899
3900rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901fi
3902ac_res=`eval echo '${'$as_ac_Header'}'`
3903	       { echo "$as_me:$LINENO: result: $ac_res" >&5
3904echo "${ECHO_T}$ac_res" >&6; }
3905if test `eval echo '${'$as_ac_Header'}'` = yes; then
3906  cat >>confdefs.h <<_ACEOF
3907#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3908_ACEOF
3909
3910fi
3911
3912done
3913
3914
3915{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3916echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3917if test "${ac_cv_c_bigendian+set}" = set; then
3918  echo $ECHO_N "(cached) $ECHO_C" >&6
3919else
3920  # See if sys/param.h defines the BYTE_ORDER macro.
3921cat >conftest.$ac_ext <<_ACEOF
3922/* confdefs.h.  */
3923_ACEOF
3924cat confdefs.h >>conftest.$ac_ext
3925cat >>conftest.$ac_ext <<_ACEOF
3926/* end confdefs.h.  */
3927#include <sys/types.h>
3928#include <sys/param.h>
3929
3930int
3931main ()
3932{
3933#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
3934	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
3935 bogus endian macros
3936#endif
3937
3938  ;
3939  return 0;
3940}
3941_ACEOF
3942rm -f conftest.$ac_objext
3943if { (ac_try="$ac_compile"
3944case "(($ac_try" in
3945  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946  *) ac_try_echo=$ac_try;;
3947esac
3948eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3949  (eval "$ac_compile") 2>conftest.er1
3950  ac_status=$?
3951  grep -v '^ *+' conftest.er1 >conftest.err
3952  rm -f conftest.er1
3953  cat conftest.err >&5
3954  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955  (exit $ac_status); } && {
3956	 test -z "$ac_c_werror_flag" ||
3957	 test ! -s conftest.err
3958       } && test -s conftest.$ac_objext; then
3959  # It does; now see whether it defined to BIG_ENDIAN or not.
3960cat >conftest.$ac_ext <<_ACEOF
3961/* confdefs.h.  */
3962_ACEOF
3963cat confdefs.h >>conftest.$ac_ext
3964cat >>conftest.$ac_ext <<_ACEOF
3965/* end confdefs.h.  */
3966#include <sys/types.h>
3967#include <sys/param.h>
3968
3969int
3970main ()
3971{
3972#if BYTE_ORDER != BIG_ENDIAN
3973 not big endian
3974#endif
3975
3976  ;
3977  return 0;
3978}
3979_ACEOF
3980rm -f conftest.$ac_objext
3981if { (ac_try="$ac_compile"
3982case "(($ac_try" in
3983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984  *) ac_try_echo=$ac_try;;
3985esac
3986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987  (eval "$ac_compile") 2>conftest.er1
3988  ac_status=$?
3989  grep -v '^ *+' conftest.er1 >conftest.err
3990  rm -f conftest.er1
3991  cat conftest.err >&5
3992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993  (exit $ac_status); } && {
3994	 test -z "$ac_c_werror_flag" ||
3995	 test ! -s conftest.err
3996       } && test -s conftest.$ac_objext; then
3997  ac_cv_c_bigendian=yes
3998else
3999  echo "$as_me: failed program was:" >&5
4000sed 's/^/| /' conftest.$ac_ext >&5
4001
4002	ac_cv_c_bigendian=no
4003fi
4004
4005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006else
4007  echo "$as_me: failed program was:" >&5
4008sed 's/^/| /' conftest.$ac_ext >&5
4009
4010	# It does not; compile a test program.
4011if test "$cross_compiling" = yes; then
4012  # try to guess the endianness by grepping values into an object file
4013  ac_cv_c_bigendian=unknown
4014  cat >conftest.$ac_ext <<_ACEOF
4015/* confdefs.h.  */
4016_ACEOF
4017cat confdefs.h >>conftest.$ac_ext
4018cat >>conftest.$ac_ext <<_ACEOF
4019/* end confdefs.h.  */
4020short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4021short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4022void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4023short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4024short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4025void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4026int
4027main ()
4028{
4029 _ascii (); _ebcdic ();
4030  ;
4031  return 0;
4032}
4033_ACEOF
4034rm -f conftest.$ac_objext
4035if { (ac_try="$ac_compile"
4036case "(($ac_try" in
4037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038  *) ac_try_echo=$ac_try;;
4039esac
4040eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041  (eval "$ac_compile") 2>conftest.er1
4042  ac_status=$?
4043  grep -v '^ *+' conftest.er1 >conftest.err
4044  rm -f conftest.er1
4045  cat conftest.err >&5
4046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047  (exit $ac_status); } && {
4048	 test -z "$ac_c_werror_flag" ||
4049	 test ! -s conftest.err
4050       } && test -s conftest.$ac_objext; then
4051  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4052  ac_cv_c_bigendian=yes
4053fi
4054if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4055  if test "$ac_cv_c_bigendian" = unknown; then
4056    ac_cv_c_bigendian=no
4057  else
4058    # finding both strings is unlikely to happen, but who knows?
4059    ac_cv_c_bigendian=unknown
4060  fi
4061fi
4062else
4063  echo "$as_me: failed program was:" >&5
4064sed 's/^/| /' conftest.$ac_ext >&5
4065
4066
4067fi
4068
4069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4070else
4071  cat >conftest.$ac_ext <<_ACEOF
4072/* confdefs.h.  */
4073_ACEOF
4074cat confdefs.h >>conftest.$ac_ext
4075cat >>conftest.$ac_ext <<_ACEOF
4076/* end confdefs.h.  */
4077$ac_includes_default
4078int
4079main ()
4080{
4081
4082  /* Are we little or big endian?  From Harbison&Steele.  */
4083  union
4084  {
4085    long int l;
4086    char c[sizeof (long int)];
4087  } u;
4088  u.l = 1;
4089  return u.c[sizeof (long int) - 1] == 1;
4090
4091  ;
4092  return 0;
4093}
4094_ACEOF
4095rm -f conftest$ac_exeext
4096if { (ac_try="$ac_link"
4097case "(($ac_try" in
4098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099  *) ac_try_echo=$ac_try;;
4100esac
4101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102  (eval "$ac_link") 2>&5
4103  ac_status=$?
4104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4106  { (case "(($ac_try" in
4107  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108  *) ac_try_echo=$ac_try;;
4109esac
4110eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4111  (eval "$ac_try") 2>&5
4112  ac_status=$?
4113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114  (exit $ac_status); }; }; then
4115  ac_cv_c_bigendian=no
4116else
4117  echo "$as_me: program exited with status $ac_status" >&5
4118echo "$as_me: failed program was:" >&5
4119sed 's/^/| /' conftest.$ac_ext >&5
4120
4121( exit $ac_status )
4122ac_cv_c_bigendian=yes
4123fi
4124rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4125fi
4126
4127
4128fi
4129
4130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131fi
4132{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4133echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
4134case $ac_cv_c_bigendian in
4135  yes)
4136
4137cat >>confdefs.h <<\_ACEOF
4138#define WORDS_BIGENDIAN 1
4139_ACEOF
4140 ;;
4141  no)
4142     ;;
4143  *)
4144    { { echo "$as_me:$LINENO: error: unknown endianness
4145presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4146echo "$as_me: error: unknown endianness
4147presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4148   { (exit 1); exit 1; }; } ;;
4149esac
4150
4151
4152if test "x$GCC" = "xyes" ; then
4153	CFLAGS="${CFLAGS} -fPIC"
4154fi
4155
4156# GNU bison doesn't work for us, so try to find a Berkeley yacc
4157# Extract the first word of "yacc", so it can be a program name with args.
4158set dummy yacc; ac_word=$2
4159{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4160echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4161if test "${ac_cv_path_YACC+set}" = set; then
4162  echo $ECHO_N "(cached) $ECHO_C" >&6
4163else
4164  case $YACC in
4165  [\\/]* | ?:[\\/]*)
4166  ac_cv_path_YACC="$YACC" # Let the user override the test with a path.
4167  ;;
4168  *)
4169  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170for as_dir in $PATH
4171do
4172  IFS=$as_save_IFS
4173  test -z "$as_dir" && as_dir=.
4174  for ac_exec_ext in '' $ac_executable_extensions; do
4175  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4176    ac_cv_path_YACC="$as_dir/$ac_word$ac_exec_ext"
4177    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4178    break 2
4179  fi
4180done
4181done
4182IFS=$as_save_IFS
4183
4184  ;;
4185esac
4186fi
4187YACC=$ac_cv_path_YACC
4188if test -n "$YACC"; then
4189  { echo "$as_me:$LINENO: result: $YACC" >&5
4190echo "${ECHO_T}$YACC" >&6; }
4191else
4192  { echo "$as_me:$LINENO: result: no" >&5
4193echo "${ECHO_T}no" >&6; }
4194fi
4195
4196
4197# Extract the first word of "byacc", so it can be a program name with args.
4198set dummy byacc; ac_word=$2
4199{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4200echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4201if test "${ac_cv_path_BYACC+set}" = set; then
4202  echo $ECHO_N "(cached) $ECHO_C" >&6
4203else
4204  case $BYACC in
4205  [\\/]* | ?:[\\/]*)
4206  ac_cv_path_BYACC="$BYACC" # Let the user override the test with a path.
4207  ;;
4208  *)
4209  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210for as_dir in $PATH
4211do
4212  IFS=$as_save_IFS
4213  test -z "$as_dir" && as_dir=.
4214  for ac_exec_ext in '' $ac_executable_extensions; do
4215  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216    ac_cv_path_BYACC="$as_dir/$ac_word$ac_exec_ext"
4217    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4218    break 2
4219  fi
4220done
4221done
4222IFS=$as_save_IFS
4223
4224  ;;
4225esac
4226fi
4227BYACC=$ac_cv_path_BYACC
4228if test -n "$BYACC"; then
4229  { echo "$as_me:$LINENO: result: $BYACC" >&5
4230echo "${ECHO_T}$BYACC" >&6; }
4231else
4232  { echo "$as_me:$LINENO: result: no" >&5
4233echo "${ECHO_T}no" >&6; }
4234fi
4235
4236
4237
4238# Prefer byacc if it is present
4239if test "x$BYACC" != "x" ; then
4240	YACC=$BYACC
4241
4242fi
4243
4244if test "x$YACC" == "x" ; then
4245	{ { echo "$as_me:$LINENO: error: yacc not found" >&5
4246echo "$as_me: error: yacc not found" >&2;}
4247   { (exit 1); exit 1; }; }
4248fi
4249if ${YACC} -V 2>&1 | grep -i bison >/dev/null 2>&1 ; then
4250	{ { echo "$as_me:$LINENO: error: missing Berkeley yacc - GNU bison not supported" >&5
4251echo "$as_me: error: missing Berkeley yacc - GNU bison not supported" >&2;}
4252   { (exit 1); exit 1; }; }
4253fi
4254
4255# Check for some target-specific stuff
4256case "$host" in
4257*-*-linux*)
4258
4259cat >>confdefs.h <<\_ACEOF
4260#define SPT_TYPE SPT_REUSEARGV
4261_ACEOF
4262
4263	CFLAGS="$CFLAGS -D_GNU_SOURCE"
4264	case `uname -r` in
4265	1.*|2.0.*)
4266
4267cat >>confdefs.h <<\_ACEOF
4268#define BROKEN_CMSG_TYPE
4269_ACEOF
4270
4271		;;
4272	esac
4273	;;
4274*-*-solaris*)
4275	;;
4276esac
4277
4278# Optional verbose warnings for gcc, see below
4279WFLAGS="-Wall -Waggregate-return -Wcast-align -Wcast-qual"
4280WFLAGS="$WFLAGS -Wmissing-declarations -Wmissing-prototypes"
4281WFLAGS="$WFLAGS -Wno-conversion -Wpointer-arith -Wshadow"
4282WFLAGS="$WFLAGS -Wuninitialized -Wcast-align -Wcast-qual"
4283WFLAGS="$WFLAGS -Wformat=2 -Wformat-nonliteral -Wwrite-strings"
4284
4285# Process flag arguments early, so they are available for tests later
4286# Check whether --enable-gcc-warnings was given.
4287if test "${enable_gcc_warnings+set}" = set; then
4288  enableval=$enable_gcc_warnings;  if test "x$enableval" = "xyes" ; then CFLAGS="$CFLAGS $WFLAGS"; fi
4289
4290fi
4291
4292
4293# Check whether --with-cflags was given.
4294if test "${with_cflags+set}" = set; then
4295  withval=$with_cflags;  if test "x$withval" != "xno" ; then CFLAGS="$CFLAGS $withval"; fi
4296
4297fi
4298
4299
4300# Check whether --with-cppflags was given.
4301if test "${with_cppflags+set}" = set; then
4302  withval=$with_cppflags;  if test "x$withval" != "xno"; then CPPFLAGS="$CPPFLAGS $withval"; fi
4303
4304fi
4305
4306
4307# Check whether --with-ldflags was given.
4308if test "${with_ldflags+set}" = set; then
4309  withval=$with_ldflags;  if test "x$withval" != "xno" ; then LDFLAGS="$LDFLAGS $withval"; fi
4310
4311fi
4312
4313
4314# Check whether --with-libs was given.
4315if test "${with_libs+set}" = set; then
4316  withval=$with_libs;  if test "x$withval" != "xno" ; then LIBS="$LIBS $withval"; fi
4317
4318fi
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332for ac_header in dirent.h sys/ndir.h sys/dir.h ndir.h sys/pstat.h endian.h sys/cdefs.h paths.h strings.h sys/time.h time.h
4333do
4334as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4335if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4336  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4337echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4338if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4339  echo $ECHO_N "(cached) $ECHO_C" >&6
4340fi
4341ac_res=`eval echo '${'$as_ac_Header'}'`
4342	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4343echo "${ECHO_T}$ac_res" >&6; }
4344else
4345  # Is the header compilable?
4346{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4347echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4348cat >conftest.$ac_ext <<_ACEOF
4349/* confdefs.h.  */
4350_ACEOF
4351cat confdefs.h >>conftest.$ac_ext
4352cat >>conftest.$ac_ext <<_ACEOF
4353/* end confdefs.h.  */
4354$ac_includes_default
4355#include <$ac_header>
4356_ACEOF
4357rm -f conftest.$ac_objext
4358if { (ac_try="$ac_compile"
4359case "(($ac_try" in
4360  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361  *) ac_try_echo=$ac_try;;
4362esac
4363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364  (eval "$ac_compile") 2>conftest.er1
4365  ac_status=$?
4366  grep -v '^ *+' conftest.er1 >conftest.err
4367  rm -f conftest.er1
4368  cat conftest.err >&5
4369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370  (exit $ac_status); } && {
4371	 test -z "$ac_c_werror_flag" ||
4372	 test ! -s conftest.err
4373       } && test -s conftest.$ac_objext; then
4374  ac_header_compiler=yes
4375else
4376  echo "$as_me: failed program was:" >&5
4377sed 's/^/| /' conftest.$ac_ext >&5
4378
4379	ac_header_compiler=no
4380fi
4381
4382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4383{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4384echo "${ECHO_T}$ac_header_compiler" >&6; }
4385
4386# Is the header present?
4387{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4388echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4389cat >conftest.$ac_ext <<_ACEOF
4390/* confdefs.h.  */
4391_ACEOF
4392cat confdefs.h >>conftest.$ac_ext
4393cat >>conftest.$ac_ext <<_ACEOF
4394/* end confdefs.h.  */
4395#include <$ac_header>
4396_ACEOF
4397if { (ac_try="$ac_cpp conftest.$ac_ext"
4398case "(($ac_try" in
4399  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400  *) ac_try_echo=$ac_try;;
4401esac
4402eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4403  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4404  ac_status=$?
4405  grep -v '^ *+' conftest.er1 >conftest.err
4406  rm -f conftest.er1
4407  cat conftest.err >&5
4408  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409  (exit $ac_status); } >/dev/null && {
4410	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4411	 test ! -s conftest.err
4412       }; then
4413  ac_header_preproc=yes
4414else
4415  echo "$as_me: failed program was:" >&5
4416sed 's/^/| /' conftest.$ac_ext >&5
4417
4418  ac_header_preproc=no
4419fi
4420
4421rm -f conftest.err conftest.$ac_ext
4422{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4423echo "${ECHO_T}$ac_header_preproc" >&6; }
4424
4425# So?  What about this header?
4426case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4427  yes:no: )
4428    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4429echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4430    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4431echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4432    ac_header_preproc=yes
4433    ;;
4434  no:yes:* )
4435    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4436echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4437    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4438echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4439    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4440echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4441    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4442echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4443    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4444echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4445    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4446echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4447
4448    ;;
4449esac
4450{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4451echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4452if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4453  echo $ECHO_N "(cached) $ECHO_C" >&6
4454else
4455  eval "$as_ac_Header=\$ac_header_preproc"
4456fi
4457ac_res=`eval echo '${'$as_ac_Header'}'`
4458	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4459echo "${ECHO_T}$ac_res" >&6; }
4460
4461fi
4462if test `eval echo '${'$as_ac_Header'}'` = yes; then
4463  cat >>confdefs.h <<_ACEOF
4464#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4465_ACEOF
4466
4467fi
4468
4469done
4470
4471
4472{ echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
4473echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
4474if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
4475  echo $ECHO_N "(cached) $ECHO_C" >&6
4476else
4477  cat >conftest.$ac_ext <<_ACEOF
4478/* confdefs.h.  */
4479_ACEOF
4480cat confdefs.h >>conftest.$ac_ext
4481cat >>conftest.$ac_ext <<_ACEOF
4482/* end confdefs.h.  */
4483#include <sys/types.h>
4484	 #include <sys/socket.h>
4485
4486int
4487main ()
4488{
4489static struct sockaddr ac_aggr;
4490if (ac_aggr.sa_len)
4491return 0;
4492  ;
4493  return 0;
4494}
4495_ACEOF
4496rm -f conftest.$ac_objext
4497if { (ac_try="$ac_compile"
4498case "(($ac_try" in
4499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4500  *) ac_try_echo=$ac_try;;
4501esac
4502eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4503  (eval "$ac_compile") 2>conftest.er1
4504  ac_status=$?
4505  grep -v '^ *+' conftest.er1 >conftest.err
4506  rm -f conftest.er1
4507  cat conftest.err >&5
4508  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509  (exit $ac_status); } && {
4510	 test -z "$ac_c_werror_flag" ||
4511	 test ! -s conftest.err
4512       } && test -s conftest.$ac_objext; then
4513  ac_cv_member_struct_sockaddr_sa_len=yes
4514else
4515  echo "$as_me: failed program was:" >&5
4516sed 's/^/| /' conftest.$ac_ext >&5
4517
4518	cat >conftest.$ac_ext <<_ACEOF
4519/* confdefs.h.  */
4520_ACEOF
4521cat confdefs.h >>conftest.$ac_ext
4522cat >>conftest.$ac_ext <<_ACEOF
4523/* end confdefs.h.  */
4524#include <sys/types.h>
4525	 #include <sys/socket.h>
4526
4527int
4528main ()
4529{
4530static struct sockaddr ac_aggr;
4531if (sizeof ac_aggr.sa_len)
4532return 0;
4533  ;
4534  return 0;
4535}
4536_ACEOF
4537rm -f conftest.$ac_objext
4538if { (ac_try="$ac_compile"
4539case "(($ac_try" in
4540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541  *) ac_try_echo=$ac_try;;
4542esac
4543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4544  (eval "$ac_compile") 2>conftest.er1
4545  ac_status=$?
4546  grep -v '^ *+' conftest.er1 >conftest.err
4547  rm -f conftest.er1
4548  cat conftest.err >&5
4549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4550  (exit $ac_status); } && {
4551	 test -z "$ac_c_werror_flag" ||
4552	 test ! -s conftest.err
4553       } && test -s conftest.$ac_objext; then
4554  ac_cv_member_struct_sockaddr_sa_len=yes
4555else
4556  echo "$as_me: failed program was:" >&5
4557sed 's/^/| /' conftest.$ac_ext >&5
4558
4559	ac_cv_member_struct_sockaddr_sa_len=no
4560fi
4561
4562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563fi
4564
4565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566fi
4567{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
4568echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
4569if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
4570
4571cat >>confdefs.h <<\_ACEOF
4572#define SOCK_HAS_LEN 1
4573_ACEOF
4574
4575fi
4576
4577
4578{ echo "$as_me:$LINENO: checking for library containing daemon" >&5
4579echo $ECHO_N "checking for library containing daemon... $ECHO_C" >&6; }
4580if test "${ac_cv_search_daemon+set}" = set; then
4581  echo $ECHO_N "(cached) $ECHO_C" >&6
4582else
4583  ac_func_search_save_LIBS=$LIBS
4584cat >conftest.$ac_ext <<_ACEOF
4585/* confdefs.h.  */
4586_ACEOF
4587cat confdefs.h >>conftest.$ac_ext
4588cat >>conftest.$ac_ext <<_ACEOF
4589/* end confdefs.h.  */
4590
4591/* Override any GCC internal prototype to avoid an error.
4592   Use char because int might match the return type of a GCC
4593   builtin and then its argument prototype would still apply.  */
4594#ifdef __cplusplus
4595extern "C"
4596#endif
4597char daemon ();
4598int
4599main ()
4600{
4601return daemon ();
4602  ;
4603  return 0;
4604}
4605_ACEOF
4606for ac_lib in '' bsd; do
4607  if test -z "$ac_lib"; then
4608    ac_res="none required"
4609  else
4610    ac_res=-l$ac_lib
4611    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4612  fi
4613  rm -f conftest.$ac_objext conftest$ac_exeext
4614if { (ac_try="$ac_link"
4615case "(($ac_try" in
4616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4617  *) ac_try_echo=$ac_try;;
4618esac
4619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4620  (eval "$ac_link") 2>conftest.er1
4621  ac_status=$?
4622  grep -v '^ *+' conftest.er1 >conftest.err
4623  rm -f conftest.er1
4624  cat conftest.err >&5
4625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626  (exit $ac_status); } && {
4627	 test -z "$ac_c_werror_flag" ||
4628	 test ! -s conftest.err
4629       } && test -s conftest$ac_exeext &&
4630       $as_test_x conftest$ac_exeext; then
4631  ac_cv_search_daemon=$ac_res
4632else
4633  echo "$as_me: failed program was:" >&5
4634sed 's/^/| /' conftest.$ac_ext >&5
4635
4636
4637fi
4638
4639rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4640      conftest$ac_exeext
4641  if test "${ac_cv_search_daemon+set}" = set; then
4642  break
4643fi
4644done
4645if test "${ac_cv_search_daemon+set}" = set; then
4646  :
4647else
4648  ac_cv_search_daemon=no
4649fi
4650rm conftest.$ac_ext
4651LIBS=$ac_func_search_save_LIBS
4652fi
4653{ echo "$as_me:$LINENO: result: $ac_cv_search_daemon" >&5
4654echo "${ECHO_T}$ac_cv_search_daemon" >&6; }
4655ac_res=$ac_cv_search_daemon
4656if test "$ac_res" != no; then
4657  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4658
4659fi
4660
4661{ echo "$as_me:$LINENO: checking for library containing socket" >&5
4662echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
4663if test "${ac_cv_search_socket+set}" = set; then
4664  echo $ECHO_N "(cached) $ECHO_C" >&6
4665else
4666  ac_func_search_save_LIBS=$LIBS
4667cat >conftest.$ac_ext <<_ACEOF
4668/* confdefs.h.  */
4669_ACEOF
4670cat confdefs.h >>conftest.$ac_ext
4671cat >>conftest.$ac_ext <<_ACEOF
4672/* end confdefs.h.  */
4673
4674/* Override any GCC internal prototype to avoid an error.
4675   Use char because int might match the return type of a GCC
4676   builtin and then its argument prototype would still apply.  */
4677#ifdef __cplusplus
4678extern "C"
4679#endif
4680char socket ();
4681int
4682main ()
4683{
4684return socket ();
4685  ;
4686  return 0;
4687}
4688_ACEOF
4689for ac_lib in '' socket; do
4690  if test -z "$ac_lib"; then
4691    ac_res="none required"
4692  else
4693    ac_res=-l$ac_lib
4694    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4695  fi
4696  rm -f conftest.$ac_objext conftest$ac_exeext
4697if { (ac_try="$ac_link"
4698case "(($ac_try" in
4699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700  *) ac_try_echo=$ac_try;;
4701esac
4702eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4703  (eval "$ac_link") 2>conftest.er1
4704  ac_status=$?
4705  grep -v '^ *+' conftest.er1 >conftest.err
4706  rm -f conftest.er1
4707  cat conftest.err >&5
4708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709  (exit $ac_status); } && {
4710	 test -z "$ac_c_werror_flag" ||
4711	 test ! -s conftest.err
4712       } && test -s conftest$ac_exeext &&
4713       $as_test_x conftest$ac_exeext; then
4714  ac_cv_search_socket=$ac_res
4715else
4716  echo "$as_me: failed program was:" >&5
4717sed 's/^/| /' conftest.$ac_ext >&5
4718
4719
4720fi
4721
4722rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4723      conftest$ac_exeext
4724  if test "${ac_cv_search_socket+set}" = set; then
4725  break
4726fi
4727done
4728if test "${ac_cv_search_socket+set}" = set; then
4729  :
4730else
4731  ac_cv_search_socket=no
4732fi
4733rm conftest.$ac_ext
4734LIBS=$ac_func_search_save_LIBS
4735fi
4736{ echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
4737echo "${ECHO_T}$ac_cv_search_socket" >&6; }
4738ac_res=$ac_cv_search_socket
4739if test "$ac_res" != no; then
4740  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4741
4742fi
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761for ac_func in closefrom betoh64 htobe64 daemon setresuid setreuid setresgid setregid sysconf setproctitle dirfd sendmsg recvmsg tzset strlcpy strlcat
4762do
4763as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4764{ echo "$as_me:$LINENO: checking for $ac_func" >&5
4765echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4766if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4767  echo $ECHO_N "(cached) $ECHO_C" >&6
4768else
4769  cat >conftest.$ac_ext <<_ACEOF
4770/* confdefs.h.  */
4771_ACEOF
4772cat confdefs.h >>conftest.$ac_ext
4773cat >>conftest.$ac_ext <<_ACEOF
4774/* end confdefs.h.  */
4775/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4776   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4777#define $ac_func innocuous_$ac_func
4778
4779/* System header to define __stub macros and hopefully few prototypes,
4780    which can conflict with char $ac_func (); below.
4781    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782    <limits.h> exists even on freestanding compilers.  */
4783
4784#ifdef __STDC__
4785# include <limits.h>
4786#else
4787# include <assert.h>
4788#endif
4789
4790#undef $ac_func
4791
4792/* Override any GCC internal prototype to avoid an error.
4793   Use char because int might match the return type of a GCC
4794   builtin and then its argument prototype would still apply.  */
4795#ifdef __cplusplus
4796extern "C"
4797#endif
4798char $ac_func ();
4799/* The GNU C library defines this for functions which it implements
4800    to always fail with ENOSYS.  Some functions are actually named
4801    something starting with __ and the normal name is an alias.  */
4802#if defined __stub_$ac_func || defined __stub___$ac_func
4803choke me
4804#endif
4805
4806int
4807main ()
4808{
4809return $ac_func ();
4810  ;
4811  return 0;
4812}
4813_ACEOF
4814rm -f conftest.$ac_objext conftest$ac_exeext
4815if { (ac_try="$ac_link"
4816case "(($ac_try" in
4817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818  *) ac_try_echo=$ac_try;;
4819esac
4820eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821  (eval "$ac_link") 2>conftest.er1
4822  ac_status=$?
4823  grep -v '^ *+' conftest.er1 >conftest.err
4824  rm -f conftest.er1
4825  cat conftest.err >&5
4826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827  (exit $ac_status); } && {
4828	 test -z "$ac_c_werror_flag" ||
4829	 test ! -s conftest.err
4830       } && test -s conftest$ac_exeext &&
4831       $as_test_x conftest$ac_exeext; then
4832  eval "$as_ac_var=yes"
4833else
4834  echo "$as_me: failed program was:" >&5
4835sed 's/^/| /' conftest.$ac_ext >&5
4836
4837	eval "$as_ac_var=no"
4838fi
4839
4840rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841      conftest$ac_exeext conftest.$ac_ext
4842fi
4843ac_res=`eval echo '${'$as_ac_var'}'`
4844	       { echo "$as_me:$LINENO: result: $ac_res" >&5
4845echo "${ECHO_T}$ac_res" >&6; }
4846if test `eval echo '${'$as_ac_var'}'` = yes; then
4847  cat >>confdefs.h <<_ACEOF
4848#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4849_ACEOF
4850
4851fi
4852done
4853
4854
4855{ echo "$as_me:$LINENO: checking for u_int64_t" >&5
4856echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6; }
4857if test "${ac_cv_type_u_int64_t+set}" = set; then
4858  echo $ECHO_N "(cached) $ECHO_C" >&6
4859else
4860  cat >conftest.$ac_ext <<_ACEOF
4861/* confdefs.h.  */
4862_ACEOF
4863cat confdefs.h >>conftest.$ac_ext
4864cat >>conftest.$ac_ext <<_ACEOF
4865/* end confdefs.h.  */
4866$ac_includes_default
4867typedef u_int64_t ac__type_new_;
4868int
4869main ()
4870{
4871if ((ac__type_new_ *) 0)
4872  return 0;
4873if (sizeof (ac__type_new_))
4874  return 0;
4875  ;
4876  return 0;
4877}
4878_ACEOF
4879rm -f conftest.$ac_objext
4880if { (ac_try="$ac_compile"
4881case "(($ac_try" in
4882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883  *) ac_try_echo=$ac_try;;
4884esac
4885eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886  (eval "$ac_compile") 2>conftest.er1
4887  ac_status=$?
4888  grep -v '^ *+' conftest.er1 >conftest.err
4889  rm -f conftest.er1
4890  cat conftest.err >&5
4891  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892  (exit $ac_status); } && {
4893	 test -z "$ac_c_werror_flag" ||
4894	 test ! -s conftest.err
4895       } && test -s conftest.$ac_objext; then
4896  ac_cv_type_u_int64_t=yes
4897else
4898  echo "$as_me: failed program was:" >&5
4899sed 's/^/| /' conftest.$ac_ext >&5
4900
4901	ac_cv_type_u_int64_t=no
4902fi
4903
4904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905fi
4906{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
4907echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6; }
4908if test $ac_cv_type_u_int64_t = yes; then
4909
4910cat >>confdefs.h <<_ACEOF
4911#define HAVE_U_INT64_T 1
4912_ACEOF
4913
4914
4915fi
4916{ echo "$as_me:$LINENO: checking for int64_t" >&5
4917echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
4918if test "${ac_cv_type_int64_t+set}" = set; then
4919  echo $ECHO_N "(cached) $ECHO_C" >&6
4920else
4921  cat >conftest.$ac_ext <<_ACEOF
4922/* confdefs.h.  */
4923_ACEOF
4924cat confdefs.h >>conftest.$ac_ext
4925cat >>conftest.$ac_ext <<_ACEOF
4926/* end confdefs.h.  */
4927$ac_includes_default
4928typedef int64_t ac__type_new_;
4929int
4930main ()
4931{
4932if ((ac__type_new_ *) 0)
4933  return 0;
4934if (sizeof (ac__type_new_))
4935  return 0;
4936  ;
4937  return 0;
4938}
4939_ACEOF
4940rm -f conftest.$ac_objext
4941if { (ac_try="$ac_compile"
4942case "(($ac_try" in
4943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944  *) ac_try_echo=$ac_try;;
4945esac
4946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4947  (eval "$ac_compile") 2>conftest.er1
4948  ac_status=$?
4949  grep -v '^ *+' conftest.er1 >conftest.err
4950  rm -f conftest.er1
4951  cat conftest.err >&5
4952  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953  (exit $ac_status); } && {
4954	 test -z "$ac_c_werror_flag" ||
4955	 test ! -s conftest.err
4956       } && test -s conftest.$ac_objext; then
4957  ac_cv_type_int64_t=yes
4958else
4959  echo "$as_me: failed program was:" >&5
4960sed 's/^/| /' conftest.$ac_ext >&5
4961
4962	ac_cv_type_int64_t=no
4963fi
4964
4965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966fi
4967{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
4968echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
4969if test $ac_cv_type_int64_t = yes; then
4970
4971cat >>confdefs.h <<_ACEOF
4972#define HAVE_INT64_T 1
4973_ACEOF
4974
4975
4976fi
4977{ echo "$as_me:$LINENO: checking for uint64_t" >&5
4978echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
4979if test "${ac_cv_type_uint64_t+set}" = set; then
4980  echo $ECHO_N "(cached) $ECHO_C" >&6
4981else
4982  cat >conftest.$ac_ext <<_ACEOF
4983/* confdefs.h.  */
4984_ACEOF
4985cat confdefs.h >>conftest.$ac_ext
4986cat >>conftest.$ac_ext <<_ACEOF
4987/* end confdefs.h.  */
4988$ac_includes_default
4989typedef uint64_t ac__type_new_;
4990int
4991main ()
4992{
4993if ((ac__type_new_ *) 0)
4994  return 0;
4995if (sizeof (ac__type_new_))
4996  return 0;
4997  ;
4998  return 0;
4999}
5000_ACEOF
5001rm -f conftest.$ac_objext
5002if { (ac_try="$ac_compile"
5003case "(($ac_try" in
5004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005  *) ac_try_echo=$ac_try;;
5006esac
5007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5008  (eval "$ac_compile") 2>conftest.er1
5009  ac_status=$?
5010  grep -v '^ *+' conftest.er1 >conftest.err
5011  rm -f conftest.er1
5012  cat conftest.err >&5
5013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014  (exit $ac_status); } && {
5015	 test -z "$ac_c_werror_flag" ||
5016	 test ! -s conftest.err
5017       } && test -s conftest.$ac_objext; then
5018  ac_cv_type_uint64_t=yes
5019else
5020  echo "$as_me: failed program was:" >&5
5021sed 's/^/| /' conftest.$ac_ext >&5
5022
5023	ac_cv_type_uint64_t=no
5024fi
5025
5026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027fi
5028{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5029echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
5030if test $ac_cv_type_uint64_t = yes; then
5031
5032cat >>confdefs.h <<_ACEOF
5033#define HAVE_UINT64_T 1
5034_ACEOF
5035
5036
5037fi
5038{ echo "$as_me:$LINENO: checking for u_int32_t" >&5
5039echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; }
5040if test "${ac_cv_type_u_int32_t+set}" = set; then
5041  echo $ECHO_N "(cached) $ECHO_C" >&6
5042else
5043  cat >conftest.$ac_ext <<_ACEOF
5044/* confdefs.h.  */
5045_ACEOF
5046cat confdefs.h >>conftest.$ac_ext
5047cat >>conftest.$ac_ext <<_ACEOF
5048/* end confdefs.h.  */
5049$ac_includes_default
5050typedef u_int32_t ac__type_new_;
5051int
5052main ()
5053{
5054if ((ac__type_new_ *) 0)
5055  return 0;
5056if (sizeof (ac__type_new_))
5057  return 0;
5058  ;
5059  return 0;
5060}
5061_ACEOF
5062rm -f conftest.$ac_objext
5063if { (ac_try="$ac_compile"
5064case "(($ac_try" in
5065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066  *) ac_try_echo=$ac_try;;
5067esac
5068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069  (eval "$ac_compile") 2>conftest.er1
5070  ac_status=$?
5071  grep -v '^ *+' conftest.er1 >conftest.err
5072  rm -f conftest.er1
5073  cat conftest.err >&5
5074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075  (exit $ac_status); } && {
5076	 test -z "$ac_c_werror_flag" ||
5077	 test ! -s conftest.err
5078       } && test -s conftest.$ac_objext; then
5079  ac_cv_type_u_int32_t=yes
5080else
5081  echo "$as_me: failed program was:" >&5
5082sed 's/^/| /' conftest.$ac_ext >&5
5083
5084	ac_cv_type_u_int32_t=no
5085fi
5086
5087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088fi
5089{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5090echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; }
5091if test $ac_cv_type_u_int32_t = yes; then
5092
5093cat >>confdefs.h <<_ACEOF
5094#define HAVE_U_INT32_T 1
5095_ACEOF
5096
5097
5098fi
5099{ echo "$as_me:$LINENO: checking for int32_t" >&5
5100echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; }
5101if test "${ac_cv_type_int32_t+set}" = set; then
5102  echo $ECHO_N "(cached) $ECHO_C" >&6
5103else
5104  cat >conftest.$ac_ext <<_ACEOF
5105/* confdefs.h.  */
5106_ACEOF
5107cat confdefs.h >>conftest.$ac_ext
5108cat >>conftest.$ac_ext <<_ACEOF
5109/* end confdefs.h.  */
5110$ac_includes_default
5111typedef int32_t ac__type_new_;
5112int
5113main ()
5114{
5115if ((ac__type_new_ *) 0)
5116  return 0;
5117if (sizeof (ac__type_new_))
5118  return 0;
5119  ;
5120  return 0;
5121}
5122_ACEOF
5123rm -f conftest.$ac_objext
5124if { (ac_try="$ac_compile"
5125case "(($ac_try" in
5126  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5127  *) ac_try_echo=$ac_try;;
5128esac
5129eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5130  (eval "$ac_compile") 2>conftest.er1
5131  ac_status=$?
5132  grep -v '^ *+' conftest.er1 >conftest.err
5133  rm -f conftest.er1
5134  cat conftest.err >&5
5135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136  (exit $ac_status); } && {
5137	 test -z "$ac_c_werror_flag" ||
5138	 test ! -s conftest.err
5139       } && test -s conftest.$ac_objext; then
5140  ac_cv_type_int32_t=yes
5141else
5142  echo "$as_me: failed program was:" >&5
5143sed 's/^/| /' conftest.$ac_ext >&5
5144
5145	ac_cv_type_int32_t=no
5146fi
5147
5148rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149fi
5150{ echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
5151echo "${ECHO_T}$ac_cv_type_int32_t" >&6; }
5152if test $ac_cv_type_int32_t = yes; then
5153
5154cat >>confdefs.h <<_ACEOF
5155#define HAVE_INT32_T 1
5156_ACEOF
5157
5158
5159fi
5160{ echo "$as_me:$LINENO: checking for uint32_t" >&5
5161echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
5162if test "${ac_cv_type_uint32_t+set}" = set; then
5163  echo $ECHO_N "(cached) $ECHO_C" >&6
5164else
5165  cat >conftest.$ac_ext <<_ACEOF
5166/* confdefs.h.  */
5167_ACEOF
5168cat confdefs.h >>conftest.$ac_ext
5169cat >>conftest.$ac_ext <<_ACEOF
5170/* end confdefs.h.  */
5171$ac_includes_default
5172typedef uint32_t ac__type_new_;
5173int
5174main ()
5175{
5176if ((ac__type_new_ *) 0)
5177  return 0;
5178if (sizeof (ac__type_new_))
5179  return 0;
5180  ;
5181  return 0;
5182}
5183_ACEOF
5184rm -f conftest.$ac_objext
5185if { (ac_try="$ac_compile"
5186case "(($ac_try" in
5187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5188  *) ac_try_echo=$ac_try;;
5189esac
5190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5191  (eval "$ac_compile") 2>conftest.er1
5192  ac_status=$?
5193  grep -v '^ *+' conftest.er1 >conftest.err
5194  rm -f conftest.er1
5195  cat conftest.err >&5
5196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197  (exit $ac_status); } && {
5198	 test -z "$ac_c_werror_flag" ||
5199	 test ! -s conftest.err
5200       } && test -s conftest.$ac_objext; then
5201  ac_cv_type_uint32_t=yes
5202else
5203  echo "$as_me: failed program was:" >&5
5204sed 's/^/| /' conftest.$ac_ext >&5
5205
5206	ac_cv_type_uint32_t=no
5207fi
5208
5209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5210fi
5211{ echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5212echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; }
5213if test $ac_cv_type_uint32_t = yes; then
5214
5215cat >>confdefs.h <<_ACEOF
5216#define HAVE_UINT32_T 1
5217_ACEOF
5218
5219
5220fi
5221
5222{ echo "$as_me:$LINENO: checking for u_int16_t" >&5
5223echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6; }
5224if test "${ac_cv_type_u_int16_t+set}" = set; then
5225  echo $ECHO_N "(cached) $ECHO_C" >&6
5226else
5227  cat >conftest.$ac_ext <<_ACEOF
5228/* confdefs.h.  */
5229_ACEOF
5230cat confdefs.h >>conftest.$ac_ext
5231cat >>conftest.$ac_ext <<_ACEOF
5232/* end confdefs.h.  */
5233$ac_includes_default
5234typedef u_int16_t ac__type_new_;
5235int
5236main ()
5237{
5238if ((ac__type_new_ *) 0)
5239  return 0;
5240if (sizeof (ac__type_new_))
5241  return 0;
5242  ;
5243  return 0;
5244}
5245_ACEOF
5246rm -f conftest.$ac_objext
5247if { (ac_try="$ac_compile"
5248case "(($ac_try" in
5249  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250  *) ac_try_echo=$ac_try;;
5251esac
5252eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5253  (eval "$ac_compile") 2>conftest.er1
5254  ac_status=$?
5255  grep -v '^ *+' conftest.er1 >conftest.err
5256  rm -f conftest.er1
5257  cat conftest.err >&5
5258  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259  (exit $ac_status); } && {
5260	 test -z "$ac_c_werror_flag" ||
5261	 test ! -s conftest.err
5262       } && test -s conftest.$ac_objext; then
5263  ac_cv_type_u_int16_t=yes
5264else
5265  echo "$as_me: failed program was:" >&5
5266sed 's/^/| /' conftest.$ac_ext >&5
5267
5268	ac_cv_type_u_int16_t=no
5269fi
5270
5271rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5272fi
5273{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5274echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6; }
5275if test $ac_cv_type_u_int16_t = yes; then
5276
5277cat >>confdefs.h <<_ACEOF
5278#define HAVE_U_INT16_T 1
5279_ACEOF
5280
5281
5282fi
5283{ echo "$as_me:$LINENO: checking for int16_t" >&5
5284echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; }
5285if test "${ac_cv_type_int16_t+set}" = set; then
5286  echo $ECHO_N "(cached) $ECHO_C" >&6
5287else
5288  cat >conftest.$ac_ext <<_ACEOF
5289/* confdefs.h.  */
5290_ACEOF
5291cat confdefs.h >>conftest.$ac_ext
5292cat >>conftest.$ac_ext <<_ACEOF
5293/* end confdefs.h.  */
5294$ac_includes_default
5295typedef int16_t ac__type_new_;
5296int
5297main ()
5298{
5299if ((ac__type_new_ *) 0)
5300  return 0;
5301if (sizeof (ac__type_new_))
5302  return 0;
5303  ;
5304  return 0;
5305}
5306_ACEOF
5307rm -f conftest.$ac_objext
5308if { (ac_try="$ac_compile"
5309case "(($ac_try" in
5310  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5311  *) ac_try_echo=$ac_try;;
5312esac
5313eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5314  (eval "$ac_compile") 2>conftest.er1
5315  ac_status=$?
5316  grep -v '^ *+' conftest.er1 >conftest.err
5317  rm -f conftest.er1
5318  cat conftest.err >&5
5319  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320  (exit $ac_status); } && {
5321	 test -z "$ac_c_werror_flag" ||
5322	 test ! -s conftest.err
5323       } && test -s conftest.$ac_objext; then
5324  ac_cv_type_int16_t=yes
5325else
5326  echo "$as_me: failed program was:" >&5
5327sed 's/^/| /' conftest.$ac_ext >&5
5328
5329	ac_cv_type_int16_t=no
5330fi
5331
5332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333fi
5334{ echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5335echo "${ECHO_T}$ac_cv_type_int16_t" >&6; }
5336if test $ac_cv_type_int16_t = yes; then
5337
5338cat >>confdefs.h <<_ACEOF
5339#define HAVE_INT16_T 1
5340_ACEOF
5341
5342
5343fi
5344{ echo "$as_me:$LINENO: checking for uint16_t" >&5
5345echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
5346if test "${ac_cv_type_uint16_t+set}" = set; then
5347  echo $ECHO_N "(cached) $ECHO_C" >&6
5348else
5349  cat >conftest.$ac_ext <<_ACEOF
5350/* confdefs.h.  */
5351_ACEOF
5352cat confdefs.h >>conftest.$ac_ext
5353cat >>conftest.$ac_ext <<_ACEOF
5354/* end confdefs.h.  */
5355$ac_includes_default
5356typedef uint16_t ac__type_new_;
5357int
5358main ()
5359{
5360if ((ac__type_new_ *) 0)
5361  return 0;
5362if (sizeof (ac__type_new_))
5363  return 0;
5364  ;
5365  return 0;
5366}
5367_ACEOF
5368rm -f conftest.$ac_objext
5369if { (ac_try="$ac_compile"
5370case "(($ac_try" in
5371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372  *) ac_try_echo=$ac_try;;
5373esac
5374eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5375  (eval "$ac_compile") 2>conftest.er1
5376  ac_status=$?
5377  grep -v '^ *+' conftest.er1 >conftest.err
5378  rm -f conftest.er1
5379  cat conftest.err >&5
5380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381  (exit $ac_status); } && {
5382	 test -z "$ac_c_werror_flag" ||
5383	 test ! -s conftest.err
5384       } && test -s conftest.$ac_objext; then
5385  ac_cv_type_uint16_t=yes
5386else
5387  echo "$as_me: failed program was:" >&5
5388sed 's/^/| /' conftest.$ac_ext >&5
5389
5390	ac_cv_type_uint16_t=no
5391fi
5392
5393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5394fi
5395{ echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
5396echo "${ECHO_T}$ac_cv_type_uint16_t" >&6; }
5397if test $ac_cv_type_uint16_t = yes; then
5398
5399cat >>confdefs.h <<_ACEOF
5400#define HAVE_UINT16_T 1
5401_ACEOF
5402
5403
5404fi
5405{ echo "$as_me:$LINENO: checking for u_int8_t" >&5
5406echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6; }
5407if test "${ac_cv_type_u_int8_t+set}" = set; then
5408  echo $ECHO_N "(cached) $ECHO_C" >&6
5409else
5410  cat >conftest.$ac_ext <<_ACEOF
5411/* confdefs.h.  */
5412_ACEOF
5413cat confdefs.h >>conftest.$ac_ext
5414cat >>conftest.$ac_ext <<_ACEOF
5415/* end confdefs.h.  */
5416$ac_includes_default
5417typedef u_int8_t ac__type_new_;
5418int
5419main ()
5420{
5421if ((ac__type_new_ *) 0)
5422  return 0;
5423if (sizeof (ac__type_new_))
5424  return 0;
5425  ;
5426  return 0;
5427}
5428_ACEOF
5429rm -f conftest.$ac_objext
5430if { (ac_try="$ac_compile"
5431case "(($ac_try" in
5432  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5433  *) ac_try_echo=$ac_try;;
5434esac
5435eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5436  (eval "$ac_compile") 2>conftest.er1
5437  ac_status=$?
5438  grep -v '^ *+' conftest.er1 >conftest.err
5439  rm -f conftest.er1
5440  cat conftest.err >&5
5441  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442  (exit $ac_status); } && {
5443	 test -z "$ac_c_werror_flag" ||
5444	 test ! -s conftest.err
5445       } && test -s conftest.$ac_objext; then
5446  ac_cv_type_u_int8_t=yes
5447else
5448  echo "$as_me: failed program was:" >&5
5449sed 's/^/| /' conftest.$ac_ext >&5
5450
5451	ac_cv_type_u_int8_t=no
5452fi
5453
5454rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5455fi
5456{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
5457echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6; }
5458if test $ac_cv_type_u_int8_t = yes; then
5459
5460cat >>confdefs.h <<_ACEOF
5461#define HAVE_U_INT8_T 1
5462_ACEOF
5463
5464
5465fi
5466{ echo "$as_me:$LINENO: checking for int8_t" >&5
5467echo $ECHO_N "checking for int8_t... $ECHO_C" >&6; }
5468if test "${ac_cv_type_int8_t+set}" = set; then
5469  echo $ECHO_N "(cached) $ECHO_C" >&6
5470else
5471  cat >conftest.$ac_ext <<_ACEOF
5472/* confdefs.h.  */
5473_ACEOF
5474cat confdefs.h >>conftest.$ac_ext
5475cat >>conftest.$ac_ext <<_ACEOF
5476/* end confdefs.h.  */
5477$ac_includes_default
5478typedef int8_t ac__type_new_;
5479int
5480main ()
5481{
5482if ((ac__type_new_ *) 0)
5483  return 0;
5484if (sizeof (ac__type_new_))
5485  return 0;
5486  ;
5487  return 0;
5488}
5489_ACEOF
5490rm -f conftest.$ac_objext
5491if { (ac_try="$ac_compile"
5492case "(($ac_try" in
5493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5494  *) ac_try_echo=$ac_try;;
5495esac
5496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5497  (eval "$ac_compile") 2>conftest.er1
5498  ac_status=$?
5499  grep -v '^ *+' conftest.er1 >conftest.err
5500  rm -f conftest.er1
5501  cat conftest.err >&5
5502  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503  (exit $ac_status); } && {
5504	 test -z "$ac_c_werror_flag" ||
5505	 test ! -s conftest.err
5506       } && test -s conftest.$ac_objext; then
5507  ac_cv_type_int8_t=yes
5508else
5509  echo "$as_me: failed program was:" >&5
5510sed 's/^/| /' conftest.$ac_ext >&5
5511
5512	ac_cv_type_int8_t=no
5513fi
5514
5515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5516fi
5517{ echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
5518echo "${ECHO_T}$ac_cv_type_int8_t" >&6; }
5519if test $ac_cv_type_int8_t = yes; then
5520
5521cat >>confdefs.h <<_ACEOF
5522#define HAVE_INT8_T 1
5523_ACEOF
5524
5525
5526fi
5527{ echo "$as_me:$LINENO: checking for uint8_t" >&5
5528echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6; }
5529if test "${ac_cv_type_uint8_t+set}" = set; then
5530  echo $ECHO_N "(cached) $ECHO_C" >&6
5531else
5532  cat >conftest.$ac_ext <<_ACEOF
5533/* confdefs.h.  */
5534_ACEOF
5535cat confdefs.h >>conftest.$ac_ext
5536cat >>conftest.$ac_ext <<_ACEOF
5537/* end confdefs.h.  */
5538$ac_includes_default
5539typedef uint8_t ac__type_new_;
5540int
5541main ()
5542{
5543if ((ac__type_new_ *) 0)
5544  return 0;
5545if (sizeof (ac__type_new_))
5546  return 0;
5547  ;
5548  return 0;
5549}
5550_ACEOF
5551rm -f conftest.$ac_objext
5552if { (ac_try="$ac_compile"
5553case "(($ac_try" in
5554  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5555  *) ac_try_echo=$ac_try;;
5556esac
5557eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5558  (eval "$ac_compile") 2>conftest.er1
5559  ac_status=$?
5560  grep -v '^ *+' conftest.er1 >conftest.err
5561  rm -f conftest.er1
5562  cat conftest.err >&5
5563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564  (exit $ac_status); } && {
5565	 test -z "$ac_c_werror_flag" ||
5566	 test ! -s conftest.err
5567       } && test -s conftest.$ac_objext; then
5568  ac_cv_type_uint8_t=yes
5569else
5570  echo "$as_me: failed program was:" >&5
5571sed 's/^/| /' conftest.$ac_ext >&5
5572
5573	ac_cv_type_uint8_t=no
5574fi
5575
5576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5577fi
5578{ echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
5579echo "${ECHO_T}$ac_cv_type_uint8_t" >&6; }
5580if test $ac_cv_type_uint8_t = yes; then
5581
5582cat >>confdefs.h <<_ACEOF
5583#define HAVE_UINT8_T 1
5584_ACEOF
5585
5586
5587fi
5588
5589{ echo "$as_me:$LINENO: checking for u_int" >&5
5590echo $ECHO_N "checking for u_int... $ECHO_C" >&6; }
5591if test "${ac_cv_type_u_int+set}" = set; then
5592  echo $ECHO_N "(cached) $ECHO_C" >&6
5593else
5594  cat >conftest.$ac_ext <<_ACEOF
5595/* confdefs.h.  */
5596_ACEOF
5597cat confdefs.h >>conftest.$ac_ext
5598cat >>conftest.$ac_ext <<_ACEOF
5599/* end confdefs.h.  */
5600$ac_includes_default
5601typedef u_int ac__type_new_;
5602int
5603main ()
5604{
5605if ((ac__type_new_ *) 0)
5606  return 0;
5607if (sizeof (ac__type_new_))
5608  return 0;
5609  ;
5610  return 0;
5611}
5612_ACEOF
5613rm -f conftest.$ac_objext
5614if { (ac_try="$ac_compile"
5615case "(($ac_try" in
5616  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617  *) ac_try_echo=$ac_try;;
5618esac
5619eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5620  (eval "$ac_compile") 2>conftest.er1
5621  ac_status=$?
5622  grep -v '^ *+' conftest.er1 >conftest.err
5623  rm -f conftest.er1
5624  cat conftest.err >&5
5625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626  (exit $ac_status); } && {
5627	 test -z "$ac_c_werror_flag" ||
5628	 test ! -s conftest.err
5629       } && test -s conftest.$ac_objext; then
5630  ac_cv_type_u_int=yes
5631else
5632  echo "$as_me: failed program was:" >&5
5633sed 's/^/| /' conftest.$ac_ext >&5
5634
5635	ac_cv_type_u_int=no
5636fi
5637
5638rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639fi
5640{ echo "$as_me:$LINENO: result: $ac_cv_type_u_int" >&5
5641echo "${ECHO_T}$ac_cv_type_u_int" >&6; }
5642if test $ac_cv_type_u_int = yes; then
5643
5644cat >>confdefs.h <<_ACEOF
5645#define HAVE_U_INT 1
5646_ACEOF
5647
5648
5649fi
5650
5651{ echo "$as_me:$LINENO: checking for char" >&5
5652echo $ECHO_N "checking for char... $ECHO_C" >&6; }
5653if test "${ac_cv_type_char+set}" = set; then
5654  echo $ECHO_N "(cached) $ECHO_C" >&6
5655else
5656  cat >conftest.$ac_ext <<_ACEOF
5657/* confdefs.h.  */
5658_ACEOF
5659cat confdefs.h >>conftest.$ac_ext
5660cat >>conftest.$ac_ext <<_ACEOF
5661/* end confdefs.h.  */
5662$ac_includes_default
5663typedef char ac__type_new_;
5664int
5665main ()
5666{
5667if ((ac__type_new_ *) 0)
5668  return 0;
5669if (sizeof (ac__type_new_))
5670  return 0;
5671  ;
5672  return 0;
5673}
5674_ACEOF
5675rm -f conftest.$ac_objext
5676if { (ac_try="$ac_compile"
5677case "(($ac_try" in
5678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5679  *) ac_try_echo=$ac_try;;
5680esac
5681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5682  (eval "$ac_compile") 2>conftest.er1
5683  ac_status=$?
5684  grep -v '^ *+' conftest.er1 >conftest.err
5685  rm -f conftest.er1
5686  cat conftest.err >&5
5687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688  (exit $ac_status); } && {
5689	 test -z "$ac_c_werror_flag" ||
5690	 test ! -s conftest.err
5691       } && test -s conftest.$ac_objext; then
5692  ac_cv_type_char=yes
5693else
5694  echo "$as_me: failed program was:" >&5
5695sed 's/^/| /' conftest.$ac_ext >&5
5696
5697	ac_cv_type_char=no
5698fi
5699
5700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5701fi
5702{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
5703echo "${ECHO_T}$ac_cv_type_char" >&6; }
5704
5705# The cast to long int works around a bug in the HP C Compiler
5706# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5707# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5708# This bug is HP SR number 8606223364.
5709{ echo "$as_me:$LINENO: checking size of char" >&5
5710echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
5711if test "${ac_cv_sizeof_char+set}" = set; then
5712  echo $ECHO_N "(cached) $ECHO_C" >&6
5713else
5714  if test "$cross_compiling" = yes; then
5715  # Depending upon the size, compute the lo and hi bounds.
5716cat >conftest.$ac_ext <<_ACEOF
5717/* confdefs.h.  */
5718_ACEOF
5719cat confdefs.h >>conftest.$ac_ext
5720cat >>conftest.$ac_ext <<_ACEOF
5721/* end confdefs.h.  */
5722$ac_includes_default
5723   typedef char ac__type_sizeof_;
5724int
5725main ()
5726{
5727static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5728test_array [0] = 0
5729
5730  ;
5731  return 0;
5732}
5733_ACEOF
5734rm -f conftest.$ac_objext
5735if { (ac_try="$ac_compile"
5736case "(($ac_try" in
5737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5738  *) ac_try_echo=$ac_try;;
5739esac
5740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5741  (eval "$ac_compile") 2>conftest.er1
5742  ac_status=$?
5743  grep -v '^ *+' conftest.er1 >conftest.err
5744  rm -f conftest.er1
5745  cat conftest.err >&5
5746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747  (exit $ac_status); } && {
5748	 test -z "$ac_c_werror_flag" ||
5749	 test ! -s conftest.err
5750       } && test -s conftest.$ac_objext; then
5751  ac_lo=0 ac_mid=0
5752  while :; do
5753    cat >conftest.$ac_ext <<_ACEOF
5754/* confdefs.h.  */
5755_ACEOF
5756cat confdefs.h >>conftest.$ac_ext
5757cat >>conftest.$ac_ext <<_ACEOF
5758/* end confdefs.h.  */
5759$ac_includes_default
5760   typedef char ac__type_sizeof_;
5761int
5762main ()
5763{
5764static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5765test_array [0] = 0
5766
5767  ;
5768  return 0;
5769}
5770_ACEOF
5771rm -f conftest.$ac_objext
5772if { (ac_try="$ac_compile"
5773case "(($ac_try" in
5774  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5775  *) ac_try_echo=$ac_try;;
5776esac
5777eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5778  (eval "$ac_compile") 2>conftest.er1
5779  ac_status=$?
5780  grep -v '^ *+' conftest.er1 >conftest.err
5781  rm -f conftest.er1
5782  cat conftest.err >&5
5783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784  (exit $ac_status); } && {
5785	 test -z "$ac_c_werror_flag" ||
5786	 test ! -s conftest.err
5787       } && test -s conftest.$ac_objext; then
5788  ac_hi=$ac_mid; break
5789else
5790  echo "$as_me: failed program was:" >&5
5791sed 's/^/| /' conftest.$ac_ext >&5
5792
5793	ac_lo=`expr $ac_mid + 1`
5794			if test $ac_lo -le $ac_mid; then
5795			  ac_lo= ac_hi=
5796			  break
5797			fi
5798			ac_mid=`expr 2 '*' $ac_mid + 1`
5799fi
5800
5801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5802  done
5803else
5804  echo "$as_me: failed program was:" >&5
5805sed 's/^/| /' conftest.$ac_ext >&5
5806
5807	cat >conftest.$ac_ext <<_ACEOF
5808/* confdefs.h.  */
5809_ACEOF
5810cat confdefs.h >>conftest.$ac_ext
5811cat >>conftest.$ac_ext <<_ACEOF
5812/* end confdefs.h.  */
5813$ac_includes_default
5814   typedef char ac__type_sizeof_;
5815int
5816main ()
5817{
5818static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5819test_array [0] = 0
5820
5821  ;
5822  return 0;
5823}
5824_ACEOF
5825rm -f conftest.$ac_objext
5826if { (ac_try="$ac_compile"
5827case "(($ac_try" in
5828  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5829  *) ac_try_echo=$ac_try;;
5830esac
5831eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5832  (eval "$ac_compile") 2>conftest.er1
5833  ac_status=$?
5834  grep -v '^ *+' conftest.er1 >conftest.err
5835  rm -f conftest.er1
5836  cat conftest.err >&5
5837  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838  (exit $ac_status); } && {
5839	 test -z "$ac_c_werror_flag" ||
5840	 test ! -s conftest.err
5841       } && test -s conftest.$ac_objext; then
5842  ac_hi=-1 ac_mid=-1
5843  while :; do
5844    cat >conftest.$ac_ext <<_ACEOF
5845/* confdefs.h.  */
5846_ACEOF
5847cat confdefs.h >>conftest.$ac_ext
5848cat >>conftest.$ac_ext <<_ACEOF
5849/* end confdefs.h.  */
5850$ac_includes_default
5851   typedef char ac__type_sizeof_;
5852int
5853main ()
5854{
5855static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5856test_array [0] = 0
5857
5858  ;
5859  return 0;
5860}
5861_ACEOF
5862rm -f conftest.$ac_objext
5863if { (ac_try="$ac_compile"
5864case "(($ac_try" in
5865  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5866  *) ac_try_echo=$ac_try;;
5867esac
5868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5869  (eval "$ac_compile") 2>conftest.er1
5870  ac_status=$?
5871  grep -v '^ *+' conftest.er1 >conftest.err
5872  rm -f conftest.er1
5873  cat conftest.err >&5
5874  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875  (exit $ac_status); } && {
5876	 test -z "$ac_c_werror_flag" ||
5877	 test ! -s conftest.err
5878       } && test -s conftest.$ac_objext; then
5879  ac_lo=$ac_mid; break
5880else
5881  echo "$as_me: failed program was:" >&5
5882sed 's/^/| /' conftest.$ac_ext >&5
5883
5884	ac_hi=`expr '(' $ac_mid ')' - 1`
5885			if test $ac_mid -le $ac_hi; then
5886			  ac_lo= ac_hi=
5887			  break
5888			fi
5889			ac_mid=`expr 2 '*' $ac_mid`
5890fi
5891
5892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893  done
5894else
5895  echo "$as_me: failed program was:" >&5
5896sed 's/^/| /' conftest.$ac_ext >&5
5897
5898	ac_lo= ac_hi=
5899fi
5900
5901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5902fi
5903
5904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5905# Binary search between lo and hi bounds.
5906while test "x$ac_lo" != "x$ac_hi"; do
5907  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5908  cat >conftest.$ac_ext <<_ACEOF
5909/* confdefs.h.  */
5910_ACEOF
5911cat confdefs.h >>conftest.$ac_ext
5912cat >>conftest.$ac_ext <<_ACEOF
5913/* end confdefs.h.  */
5914$ac_includes_default
5915   typedef char ac__type_sizeof_;
5916int
5917main ()
5918{
5919static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5920test_array [0] = 0
5921
5922  ;
5923  return 0;
5924}
5925_ACEOF
5926rm -f conftest.$ac_objext
5927if { (ac_try="$ac_compile"
5928case "(($ac_try" in
5929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930  *) ac_try_echo=$ac_try;;
5931esac
5932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933  (eval "$ac_compile") 2>conftest.er1
5934  ac_status=$?
5935  grep -v '^ *+' conftest.er1 >conftest.err
5936  rm -f conftest.er1
5937  cat conftest.err >&5
5938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939  (exit $ac_status); } && {
5940	 test -z "$ac_c_werror_flag" ||
5941	 test ! -s conftest.err
5942       } && test -s conftest.$ac_objext; then
5943  ac_hi=$ac_mid
5944else
5945  echo "$as_me: failed program was:" >&5
5946sed 's/^/| /' conftest.$ac_ext >&5
5947
5948	ac_lo=`expr '(' $ac_mid ')' + 1`
5949fi
5950
5951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952done
5953case $ac_lo in
5954?*) ac_cv_sizeof_char=$ac_lo;;
5955'') if test "$ac_cv_type_char" = yes; then
5956     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
5957See \`config.log' for more details." >&5
5958echo "$as_me: error: cannot compute sizeof (char)
5959See \`config.log' for more details." >&2;}
5960   { (exit 77); exit 77; }; }
5961   else
5962     ac_cv_sizeof_char=0
5963   fi ;;
5964esac
5965else
5966  cat >conftest.$ac_ext <<_ACEOF
5967/* confdefs.h.  */
5968_ACEOF
5969cat confdefs.h >>conftest.$ac_ext
5970cat >>conftest.$ac_ext <<_ACEOF
5971/* end confdefs.h.  */
5972$ac_includes_default
5973   typedef char ac__type_sizeof_;
5974static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5975static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5976#include <stdio.h>
5977#include <stdlib.h>
5978int
5979main ()
5980{
5981
5982  FILE *f = fopen ("conftest.val", "w");
5983  if (! f)
5984    return 1;
5985  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5986    {
5987      long int i = longval ();
5988      if (i != ((long int) (sizeof (ac__type_sizeof_))))
5989	return 1;
5990      fprintf (f, "%ld\n", i);
5991    }
5992  else
5993    {
5994      unsigned long int i = ulongval ();
5995      if (i != ((long int) (sizeof (ac__type_sizeof_))))
5996	return 1;
5997      fprintf (f, "%lu\n", i);
5998    }
5999  return ferror (f) || fclose (f) != 0;
6000
6001  ;
6002  return 0;
6003}
6004_ACEOF
6005rm -f conftest$ac_exeext
6006if { (ac_try="$ac_link"
6007case "(($ac_try" in
6008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6009  *) ac_try_echo=$ac_try;;
6010esac
6011eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6012  (eval "$ac_link") 2>&5
6013  ac_status=$?
6014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6016  { (case "(($ac_try" in
6017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6018  *) ac_try_echo=$ac_try;;
6019esac
6020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021  (eval "$ac_try") 2>&5
6022  ac_status=$?
6023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024  (exit $ac_status); }; }; then
6025  ac_cv_sizeof_char=`cat conftest.val`
6026else
6027  echo "$as_me: program exited with status $ac_status" >&5
6028echo "$as_me: failed program was:" >&5
6029sed 's/^/| /' conftest.$ac_ext >&5
6030
6031( exit $ac_status )
6032if test "$ac_cv_type_char" = yes; then
6033     { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
6034See \`config.log' for more details." >&5
6035echo "$as_me: error: cannot compute sizeof (char)
6036See \`config.log' for more details." >&2;}
6037   { (exit 77); exit 77; }; }
6038   else
6039     ac_cv_sizeof_char=0
6040   fi
6041fi
6042rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6043fi
6044rm -f conftest.val
6045fi
6046{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
6047echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
6048
6049
6050
6051cat >>confdefs.h <<_ACEOF
6052#define SIZEOF_CHAR $ac_cv_sizeof_char
6053_ACEOF
6054
6055
6056{ echo "$as_me:$LINENO: checking for unsigned char" >&5
6057echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6; }
6058if test "${ac_cv_type_unsigned_char+set}" = set; then
6059  echo $ECHO_N "(cached) $ECHO_C" >&6
6060else
6061  cat >conftest.$ac_ext <<_ACEOF
6062/* confdefs.h.  */
6063_ACEOF
6064cat confdefs.h >>conftest.$ac_ext
6065cat >>conftest.$ac_ext <<_ACEOF
6066/* end confdefs.h.  */
6067$ac_includes_default
6068typedef unsigned char ac__type_new_;
6069int
6070main ()
6071{
6072if ((ac__type_new_ *) 0)
6073  return 0;
6074if (sizeof (ac__type_new_))
6075  return 0;
6076  ;
6077  return 0;
6078}
6079_ACEOF
6080rm -f conftest.$ac_objext
6081if { (ac_try="$ac_compile"
6082case "(($ac_try" in
6083  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6084  *) ac_try_echo=$ac_try;;
6085esac
6086eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6087  (eval "$ac_compile") 2>conftest.er1
6088  ac_status=$?
6089  grep -v '^ *+' conftest.er1 >conftest.err
6090  rm -f conftest.er1
6091  cat conftest.err >&5
6092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093  (exit $ac_status); } && {
6094	 test -z "$ac_c_werror_flag" ||
6095	 test ! -s conftest.err
6096       } && test -s conftest.$ac_objext; then
6097  ac_cv_type_unsigned_char=yes
6098else
6099  echo "$as_me: failed program was:" >&5
6100sed 's/^/| /' conftest.$ac_ext >&5
6101
6102	ac_cv_type_unsigned_char=no
6103fi
6104
6105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6106fi
6107{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5
6108echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6; }
6109
6110# The cast to long int works around a bug in the HP C Compiler
6111# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6112# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6113# This bug is HP SR number 8606223364.
6114{ echo "$as_me:$LINENO: checking size of unsigned char" >&5
6115echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6; }
6116if test "${ac_cv_sizeof_unsigned_char+set}" = set; then
6117  echo $ECHO_N "(cached) $ECHO_C" >&6
6118else
6119  if test "$cross_compiling" = yes; then
6120  # Depending upon the size, compute the lo and hi bounds.
6121cat >conftest.$ac_ext <<_ACEOF
6122/* confdefs.h.  */
6123_ACEOF
6124cat confdefs.h >>conftest.$ac_ext
6125cat >>conftest.$ac_ext <<_ACEOF
6126/* end confdefs.h.  */
6127$ac_includes_default
6128   typedef unsigned char ac__type_sizeof_;
6129int
6130main ()
6131{
6132static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6133test_array [0] = 0
6134
6135  ;
6136  return 0;
6137}
6138_ACEOF
6139rm -f conftest.$ac_objext
6140if { (ac_try="$ac_compile"
6141case "(($ac_try" in
6142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6143  *) ac_try_echo=$ac_try;;
6144esac
6145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6146  (eval "$ac_compile") 2>conftest.er1
6147  ac_status=$?
6148  grep -v '^ *+' conftest.er1 >conftest.err
6149  rm -f conftest.er1
6150  cat conftest.err >&5
6151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152  (exit $ac_status); } && {
6153	 test -z "$ac_c_werror_flag" ||
6154	 test ! -s conftest.err
6155       } && test -s conftest.$ac_objext; then
6156  ac_lo=0 ac_mid=0
6157  while :; do
6158    cat >conftest.$ac_ext <<_ACEOF
6159/* confdefs.h.  */
6160_ACEOF
6161cat confdefs.h >>conftest.$ac_ext
6162cat >>conftest.$ac_ext <<_ACEOF
6163/* end confdefs.h.  */
6164$ac_includes_default
6165   typedef unsigned char ac__type_sizeof_;
6166int
6167main ()
6168{
6169static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6170test_array [0] = 0
6171
6172  ;
6173  return 0;
6174}
6175_ACEOF
6176rm -f conftest.$ac_objext
6177if { (ac_try="$ac_compile"
6178case "(($ac_try" in
6179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6180  *) ac_try_echo=$ac_try;;
6181esac
6182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183  (eval "$ac_compile") 2>conftest.er1
6184  ac_status=$?
6185  grep -v '^ *+' conftest.er1 >conftest.err
6186  rm -f conftest.er1
6187  cat conftest.err >&5
6188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189  (exit $ac_status); } && {
6190	 test -z "$ac_c_werror_flag" ||
6191	 test ! -s conftest.err
6192       } && test -s conftest.$ac_objext; then
6193  ac_hi=$ac_mid; break
6194else
6195  echo "$as_me: failed program was:" >&5
6196sed 's/^/| /' conftest.$ac_ext >&5
6197
6198	ac_lo=`expr $ac_mid + 1`
6199			if test $ac_lo -le $ac_mid; then
6200			  ac_lo= ac_hi=
6201			  break
6202			fi
6203			ac_mid=`expr 2 '*' $ac_mid + 1`
6204fi
6205
6206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207  done
6208else
6209  echo "$as_me: failed program was:" >&5
6210sed 's/^/| /' conftest.$ac_ext >&5
6211
6212	cat >conftest.$ac_ext <<_ACEOF
6213/* confdefs.h.  */
6214_ACEOF
6215cat confdefs.h >>conftest.$ac_ext
6216cat >>conftest.$ac_ext <<_ACEOF
6217/* end confdefs.h.  */
6218$ac_includes_default
6219   typedef unsigned char ac__type_sizeof_;
6220int
6221main ()
6222{
6223static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6224test_array [0] = 0
6225
6226  ;
6227  return 0;
6228}
6229_ACEOF
6230rm -f conftest.$ac_objext
6231if { (ac_try="$ac_compile"
6232case "(($ac_try" in
6233  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234  *) ac_try_echo=$ac_try;;
6235esac
6236eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6237  (eval "$ac_compile") 2>conftest.er1
6238  ac_status=$?
6239  grep -v '^ *+' conftest.er1 >conftest.err
6240  rm -f conftest.er1
6241  cat conftest.err >&5
6242  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243  (exit $ac_status); } && {
6244	 test -z "$ac_c_werror_flag" ||
6245	 test ! -s conftest.err
6246       } && test -s conftest.$ac_objext; then
6247  ac_hi=-1 ac_mid=-1
6248  while :; do
6249    cat >conftest.$ac_ext <<_ACEOF
6250/* confdefs.h.  */
6251_ACEOF
6252cat confdefs.h >>conftest.$ac_ext
6253cat >>conftest.$ac_ext <<_ACEOF
6254/* end confdefs.h.  */
6255$ac_includes_default
6256   typedef unsigned char ac__type_sizeof_;
6257int
6258main ()
6259{
6260static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6261test_array [0] = 0
6262
6263  ;
6264  return 0;
6265}
6266_ACEOF
6267rm -f conftest.$ac_objext
6268if { (ac_try="$ac_compile"
6269case "(($ac_try" in
6270  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6271  *) ac_try_echo=$ac_try;;
6272esac
6273eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6274  (eval "$ac_compile") 2>conftest.er1
6275  ac_status=$?
6276  grep -v '^ *+' conftest.er1 >conftest.err
6277  rm -f conftest.er1
6278  cat conftest.err >&5
6279  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280  (exit $ac_status); } && {
6281	 test -z "$ac_c_werror_flag" ||
6282	 test ! -s conftest.err
6283       } && test -s conftest.$ac_objext; then
6284  ac_lo=$ac_mid; break
6285else
6286  echo "$as_me: failed program was:" >&5
6287sed 's/^/| /' conftest.$ac_ext >&5
6288
6289	ac_hi=`expr '(' $ac_mid ')' - 1`
6290			if test $ac_mid -le $ac_hi; then
6291			  ac_lo= ac_hi=
6292			  break
6293			fi
6294			ac_mid=`expr 2 '*' $ac_mid`
6295fi
6296
6297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6298  done
6299else
6300  echo "$as_me: failed program was:" >&5
6301sed 's/^/| /' conftest.$ac_ext >&5
6302
6303	ac_lo= ac_hi=
6304fi
6305
6306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6307fi
6308
6309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6310# Binary search between lo and hi bounds.
6311while test "x$ac_lo" != "x$ac_hi"; do
6312  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6313  cat >conftest.$ac_ext <<_ACEOF
6314/* confdefs.h.  */
6315_ACEOF
6316cat confdefs.h >>conftest.$ac_ext
6317cat >>conftest.$ac_ext <<_ACEOF
6318/* end confdefs.h.  */
6319$ac_includes_default
6320   typedef unsigned char ac__type_sizeof_;
6321int
6322main ()
6323{
6324static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6325test_array [0] = 0
6326
6327  ;
6328  return 0;
6329}
6330_ACEOF
6331rm -f conftest.$ac_objext
6332if { (ac_try="$ac_compile"
6333case "(($ac_try" in
6334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6335  *) ac_try_echo=$ac_try;;
6336esac
6337eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6338  (eval "$ac_compile") 2>conftest.er1
6339  ac_status=$?
6340  grep -v '^ *+' conftest.er1 >conftest.err
6341  rm -f conftest.er1
6342  cat conftest.err >&5
6343  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344  (exit $ac_status); } && {
6345	 test -z "$ac_c_werror_flag" ||
6346	 test ! -s conftest.err
6347       } && test -s conftest.$ac_objext; then
6348  ac_hi=$ac_mid
6349else
6350  echo "$as_me: failed program was:" >&5
6351sed 's/^/| /' conftest.$ac_ext >&5
6352
6353	ac_lo=`expr '(' $ac_mid ')' + 1`
6354fi
6355
6356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6357done
6358case $ac_lo in
6359?*) ac_cv_sizeof_unsigned_char=$ac_lo;;
6360'') if test "$ac_cv_type_unsigned_char" = yes; then
6361     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
6362See \`config.log' for more details." >&5
6363echo "$as_me: error: cannot compute sizeof (unsigned char)
6364See \`config.log' for more details." >&2;}
6365   { (exit 77); exit 77; }; }
6366   else
6367     ac_cv_sizeof_unsigned_char=0
6368   fi ;;
6369esac
6370else
6371  cat >conftest.$ac_ext <<_ACEOF
6372/* confdefs.h.  */
6373_ACEOF
6374cat confdefs.h >>conftest.$ac_ext
6375cat >>conftest.$ac_ext <<_ACEOF
6376/* end confdefs.h.  */
6377$ac_includes_default
6378   typedef unsigned char ac__type_sizeof_;
6379static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6380static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6381#include <stdio.h>
6382#include <stdlib.h>
6383int
6384main ()
6385{
6386
6387  FILE *f = fopen ("conftest.val", "w");
6388  if (! f)
6389    return 1;
6390  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6391    {
6392      long int i = longval ();
6393      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6394	return 1;
6395      fprintf (f, "%ld\n", i);
6396    }
6397  else
6398    {
6399      unsigned long int i = ulongval ();
6400      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6401	return 1;
6402      fprintf (f, "%lu\n", i);
6403    }
6404  return ferror (f) || fclose (f) != 0;
6405
6406  ;
6407  return 0;
6408}
6409_ACEOF
6410rm -f conftest$ac_exeext
6411if { (ac_try="$ac_link"
6412case "(($ac_try" in
6413  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6414  *) ac_try_echo=$ac_try;;
6415esac
6416eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6417  (eval "$ac_link") 2>&5
6418  ac_status=$?
6419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6421  { (case "(($ac_try" in
6422  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423  *) ac_try_echo=$ac_try;;
6424esac
6425eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426  (eval "$ac_try") 2>&5
6427  ac_status=$?
6428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429  (exit $ac_status); }; }; then
6430  ac_cv_sizeof_unsigned_char=`cat conftest.val`
6431else
6432  echo "$as_me: program exited with status $ac_status" >&5
6433echo "$as_me: failed program was:" >&5
6434sed 's/^/| /' conftest.$ac_ext >&5
6435
6436( exit $ac_status )
6437if test "$ac_cv_type_unsigned_char" = yes; then
6438     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char)
6439See \`config.log' for more details." >&5
6440echo "$as_me: error: cannot compute sizeof (unsigned char)
6441See \`config.log' for more details." >&2;}
6442   { (exit 77); exit 77; }; }
6443   else
6444     ac_cv_sizeof_unsigned_char=0
6445   fi
6446fi
6447rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6448fi
6449rm -f conftest.val
6450fi
6451{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5
6452echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6; }
6453
6454
6455
6456cat >>confdefs.h <<_ACEOF
6457#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char
6458_ACEOF
6459
6460
6461{ echo "$as_me:$LINENO: checking for short int" >&5
6462echo $ECHO_N "checking for short int... $ECHO_C" >&6; }
6463if test "${ac_cv_type_short_int+set}" = set; then
6464  echo $ECHO_N "(cached) $ECHO_C" >&6
6465else
6466  cat >conftest.$ac_ext <<_ACEOF
6467/* confdefs.h.  */
6468_ACEOF
6469cat confdefs.h >>conftest.$ac_ext
6470cat >>conftest.$ac_ext <<_ACEOF
6471/* end confdefs.h.  */
6472$ac_includes_default
6473typedef short int ac__type_new_;
6474int
6475main ()
6476{
6477if ((ac__type_new_ *) 0)
6478  return 0;
6479if (sizeof (ac__type_new_))
6480  return 0;
6481  ;
6482  return 0;
6483}
6484_ACEOF
6485rm -f conftest.$ac_objext
6486if { (ac_try="$ac_compile"
6487case "(($ac_try" in
6488  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6489  *) ac_try_echo=$ac_try;;
6490esac
6491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6492  (eval "$ac_compile") 2>conftest.er1
6493  ac_status=$?
6494  grep -v '^ *+' conftest.er1 >conftest.err
6495  rm -f conftest.er1
6496  cat conftest.err >&5
6497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498  (exit $ac_status); } && {
6499	 test -z "$ac_c_werror_flag" ||
6500	 test ! -s conftest.err
6501       } && test -s conftest.$ac_objext; then
6502  ac_cv_type_short_int=yes
6503else
6504  echo "$as_me: failed program was:" >&5
6505sed 's/^/| /' conftest.$ac_ext >&5
6506
6507	ac_cv_type_short_int=no
6508fi
6509
6510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6511fi
6512{ echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
6513echo "${ECHO_T}$ac_cv_type_short_int" >&6; }
6514
6515# The cast to long int works around a bug in the HP C Compiler
6516# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6517# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6518# This bug is HP SR number 8606223364.
6519{ echo "$as_me:$LINENO: checking size of short int" >&5
6520echo $ECHO_N "checking size of short int... $ECHO_C" >&6; }
6521if test "${ac_cv_sizeof_short_int+set}" = set; then
6522  echo $ECHO_N "(cached) $ECHO_C" >&6
6523else
6524  if test "$cross_compiling" = yes; then
6525  # Depending upon the size, compute the lo and hi bounds.
6526cat >conftest.$ac_ext <<_ACEOF
6527/* confdefs.h.  */
6528_ACEOF
6529cat confdefs.h >>conftest.$ac_ext
6530cat >>conftest.$ac_ext <<_ACEOF
6531/* end confdefs.h.  */
6532$ac_includes_default
6533   typedef short int ac__type_sizeof_;
6534int
6535main ()
6536{
6537static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6538test_array [0] = 0
6539
6540  ;
6541  return 0;
6542}
6543_ACEOF
6544rm -f conftest.$ac_objext
6545if { (ac_try="$ac_compile"
6546case "(($ac_try" in
6547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6548  *) ac_try_echo=$ac_try;;
6549esac
6550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6551  (eval "$ac_compile") 2>conftest.er1
6552  ac_status=$?
6553  grep -v '^ *+' conftest.er1 >conftest.err
6554  rm -f conftest.er1
6555  cat conftest.err >&5
6556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557  (exit $ac_status); } && {
6558	 test -z "$ac_c_werror_flag" ||
6559	 test ! -s conftest.err
6560       } && test -s conftest.$ac_objext; then
6561  ac_lo=0 ac_mid=0
6562  while :; do
6563    cat >conftest.$ac_ext <<_ACEOF
6564/* confdefs.h.  */
6565_ACEOF
6566cat confdefs.h >>conftest.$ac_ext
6567cat >>conftest.$ac_ext <<_ACEOF
6568/* end confdefs.h.  */
6569$ac_includes_default
6570   typedef short int ac__type_sizeof_;
6571int
6572main ()
6573{
6574static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6575test_array [0] = 0
6576
6577  ;
6578  return 0;
6579}
6580_ACEOF
6581rm -f conftest.$ac_objext
6582if { (ac_try="$ac_compile"
6583case "(($ac_try" in
6584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6585  *) ac_try_echo=$ac_try;;
6586esac
6587eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6588  (eval "$ac_compile") 2>conftest.er1
6589  ac_status=$?
6590  grep -v '^ *+' conftest.er1 >conftest.err
6591  rm -f conftest.er1
6592  cat conftest.err >&5
6593  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594  (exit $ac_status); } && {
6595	 test -z "$ac_c_werror_flag" ||
6596	 test ! -s conftest.err
6597       } && test -s conftest.$ac_objext; then
6598  ac_hi=$ac_mid; break
6599else
6600  echo "$as_me: failed program was:" >&5
6601sed 's/^/| /' conftest.$ac_ext >&5
6602
6603	ac_lo=`expr $ac_mid + 1`
6604			if test $ac_lo -le $ac_mid; then
6605			  ac_lo= ac_hi=
6606			  break
6607			fi
6608			ac_mid=`expr 2 '*' $ac_mid + 1`
6609fi
6610
6611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6612  done
6613else
6614  echo "$as_me: failed program was:" >&5
6615sed 's/^/| /' conftest.$ac_ext >&5
6616
6617	cat >conftest.$ac_ext <<_ACEOF
6618/* confdefs.h.  */
6619_ACEOF
6620cat confdefs.h >>conftest.$ac_ext
6621cat >>conftest.$ac_ext <<_ACEOF
6622/* end confdefs.h.  */
6623$ac_includes_default
6624   typedef short int ac__type_sizeof_;
6625int
6626main ()
6627{
6628static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6629test_array [0] = 0
6630
6631  ;
6632  return 0;
6633}
6634_ACEOF
6635rm -f conftest.$ac_objext
6636if { (ac_try="$ac_compile"
6637case "(($ac_try" in
6638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6639  *) ac_try_echo=$ac_try;;
6640esac
6641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642  (eval "$ac_compile") 2>conftest.er1
6643  ac_status=$?
6644  grep -v '^ *+' conftest.er1 >conftest.err
6645  rm -f conftest.er1
6646  cat conftest.err >&5
6647  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648  (exit $ac_status); } && {
6649	 test -z "$ac_c_werror_flag" ||
6650	 test ! -s conftest.err
6651       } && test -s conftest.$ac_objext; then
6652  ac_hi=-1 ac_mid=-1
6653  while :; do
6654    cat >conftest.$ac_ext <<_ACEOF
6655/* confdefs.h.  */
6656_ACEOF
6657cat confdefs.h >>conftest.$ac_ext
6658cat >>conftest.$ac_ext <<_ACEOF
6659/* end confdefs.h.  */
6660$ac_includes_default
6661   typedef short int ac__type_sizeof_;
6662int
6663main ()
6664{
6665static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6666test_array [0] = 0
6667
6668  ;
6669  return 0;
6670}
6671_ACEOF
6672rm -f conftest.$ac_objext
6673if { (ac_try="$ac_compile"
6674case "(($ac_try" in
6675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6676  *) ac_try_echo=$ac_try;;
6677esac
6678eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6679  (eval "$ac_compile") 2>conftest.er1
6680  ac_status=$?
6681  grep -v '^ *+' conftest.er1 >conftest.err
6682  rm -f conftest.er1
6683  cat conftest.err >&5
6684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685  (exit $ac_status); } && {
6686	 test -z "$ac_c_werror_flag" ||
6687	 test ! -s conftest.err
6688       } && test -s conftest.$ac_objext; then
6689  ac_lo=$ac_mid; break
6690else
6691  echo "$as_me: failed program was:" >&5
6692sed 's/^/| /' conftest.$ac_ext >&5
6693
6694	ac_hi=`expr '(' $ac_mid ')' - 1`
6695			if test $ac_mid -le $ac_hi; then
6696			  ac_lo= ac_hi=
6697			  break
6698			fi
6699			ac_mid=`expr 2 '*' $ac_mid`
6700fi
6701
6702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703  done
6704else
6705  echo "$as_me: failed program was:" >&5
6706sed 's/^/| /' conftest.$ac_ext >&5
6707
6708	ac_lo= ac_hi=
6709fi
6710
6711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6712fi
6713
6714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715# Binary search between lo and hi bounds.
6716while test "x$ac_lo" != "x$ac_hi"; do
6717  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6718  cat >conftest.$ac_ext <<_ACEOF
6719/* confdefs.h.  */
6720_ACEOF
6721cat confdefs.h >>conftest.$ac_ext
6722cat >>conftest.$ac_ext <<_ACEOF
6723/* end confdefs.h.  */
6724$ac_includes_default
6725   typedef short int ac__type_sizeof_;
6726int
6727main ()
6728{
6729static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6730test_array [0] = 0
6731
6732  ;
6733  return 0;
6734}
6735_ACEOF
6736rm -f conftest.$ac_objext
6737if { (ac_try="$ac_compile"
6738case "(($ac_try" in
6739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6740  *) ac_try_echo=$ac_try;;
6741esac
6742eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6743  (eval "$ac_compile") 2>conftest.er1
6744  ac_status=$?
6745  grep -v '^ *+' conftest.er1 >conftest.err
6746  rm -f conftest.er1
6747  cat conftest.err >&5
6748  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6749  (exit $ac_status); } && {
6750	 test -z "$ac_c_werror_flag" ||
6751	 test ! -s conftest.err
6752       } && test -s conftest.$ac_objext; then
6753  ac_hi=$ac_mid
6754else
6755  echo "$as_me: failed program was:" >&5
6756sed 's/^/| /' conftest.$ac_ext >&5
6757
6758	ac_lo=`expr '(' $ac_mid ')' + 1`
6759fi
6760
6761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6762done
6763case $ac_lo in
6764?*) ac_cv_sizeof_short_int=$ac_lo;;
6765'') if test "$ac_cv_type_short_int" = yes; then
6766     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
6767See \`config.log' for more details." >&5
6768echo "$as_me: error: cannot compute sizeof (short int)
6769See \`config.log' for more details." >&2;}
6770   { (exit 77); exit 77; }; }
6771   else
6772     ac_cv_sizeof_short_int=0
6773   fi ;;
6774esac
6775else
6776  cat >conftest.$ac_ext <<_ACEOF
6777/* confdefs.h.  */
6778_ACEOF
6779cat confdefs.h >>conftest.$ac_ext
6780cat >>conftest.$ac_ext <<_ACEOF
6781/* end confdefs.h.  */
6782$ac_includes_default
6783   typedef short int ac__type_sizeof_;
6784static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6785static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6786#include <stdio.h>
6787#include <stdlib.h>
6788int
6789main ()
6790{
6791
6792  FILE *f = fopen ("conftest.val", "w");
6793  if (! f)
6794    return 1;
6795  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6796    {
6797      long int i = longval ();
6798      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6799	return 1;
6800      fprintf (f, "%ld\n", i);
6801    }
6802  else
6803    {
6804      unsigned long int i = ulongval ();
6805      if (i != ((long int) (sizeof (ac__type_sizeof_))))
6806	return 1;
6807      fprintf (f, "%lu\n", i);
6808    }
6809  return ferror (f) || fclose (f) != 0;
6810
6811  ;
6812  return 0;
6813}
6814_ACEOF
6815rm -f conftest$ac_exeext
6816if { (ac_try="$ac_link"
6817case "(($ac_try" in
6818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6819  *) ac_try_echo=$ac_try;;
6820esac
6821eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6822  (eval "$ac_link") 2>&5
6823  ac_status=$?
6824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6826  { (case "(($ac_try" in
6827  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6828  *) ac_try_echo=$ac_try;;
6829esac
6830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6831  (eval "$ac_try") 2>&5
6832  ac_status=$?
6833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834  (exit $ac_status); }; }; then
6835  ac_cv_sizeof_short_int=`cat conftest.val`
6836else
6837  echo "$as_me: program exited with status $ac_status" >&5
6838echo "$as_me: failed program was:" >&5
6839sed 's/^/| /' conftest.$ac_ext >&5
6840
6841( exit $ac_status )
6842if test "$ac_cv_type_short_int" = yes; then
6843     { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
6844See \`config.log' for more details." >&5
6845echo "$as_me: error: cannot compute sizeof (short int)
6846See \`config.log' for more details." >&2;}
6847   { (exit 77); exit 77; }; }
6848   else
6849     ac_cv_sizeof_short_int=0
6850   fi
6851fi
6852rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6853fi
6854rm -f conftest.val
6855fi
6856{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
6857echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; }
6858
6859
6860
6861cat >>confdefs.h <<_ACEOF
6862#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
6863_ACEOF
6864
6865
6866{ echo "$as_me:$LINENO: checking for unsigned short int" >&5
6867echo $ECHO_N "checking for unsigned short int... $ECHO_C" >&6; }
6868if test "${ac_cv_type_unsigned_short_int+set}" = set; then
6869  echo $ECHO_N "(cached) $ECHO_C" >&6
6870else
6871  cat >conftest.$ac_ext <<_ACEOF
6872/* confdefs.h.  */
6873_ACEOF
6874cat confdefs.h >>conftest.$ac_ext
6875cat >>conftest.$ac_ext <<_ACEOF
6876/* end confdefs.h.  */
6877$ac_includes_default
6878typedef unsigned short int ac__type_new_;
6879int
6880main ()
6881{
6882if ((ac__type_new_ *) 0)
6883  return 0;
6884if (sizeof (ac__type_new_))
6885  return 0;
6886  ;
6887  return 0;
6888}
6889_ACEOF
6890rm -f conftest.$ac_objext
6891if { (ac_try="$ac_compile"
6892case "(($ac_try" in
6893  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894  *) ac_try_echo=$ac_try;;
6895esac
6896eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897  (eval "$ac_compile") 2>conftest.er1
6898  ac_status=$?
6899  grep -v '^ *+' conftest.er1 >conftest.err
6900  rm -f conftest.er1
6901  cat conftest.err >&5
6902  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903  (exit $ac_status); } && {
6904	 test -z "$ac_c_werror_flag" ||
6905	 test ! -s conftest.err
6906       } && test -s conftest.$ac_objext; then
6907  ac_cv_type_unsigned_short_int=yes
6908else
6909  echo "$as_me: failed program was:" >&5
6910sed 's/^/| /' conftest.$ac_ext >&5
6911
6912	ac_cv_type_unsigned_short_int=no
6913fi
6914
6915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6916fi
6917{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short_int" >&5
6918echo "${ECHO_T}$ac_cv_type_unsigned_short_int" >&6; }
6919
6920# The cast to long int works around a bug in the HP C Compiler
6921# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6922# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6923# This bug is HP SR number 8606223364.
6924{ echo "$as_me:$LINENO: checking size of unsigned short int" >&5
6925echo $ECHO_N "checking size of unsigned short int... $ECHO_C" >&6; }
6926if test "${ac_cv_sizeof_unsigned_short_int+set}" = set; then
6927  echo $ECHO_N "(cached) $ECHO_C" >&6
6928else
6929  if test "$cross_compiling" = yes; then
6930  # Depending upon the size, compute the lo and hi bounds.
6931cat >conftest.$ac_ext <<_ACEOF
6932/* confdefs.h.  */
6933_ACEOF
6934cat confdefs.h >>conftest.$ac_ext
6935cat >>conftest.$ac_ext <<_ACEOF
6936/* end confdefs.h.  */
6937$ac_includes_default
6938   typedef unsigned short int ac__type_sizeof_;
6939int
6940main ()
6941{
6942static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6943test_array [0] = 0
6944
6945  ;
6946  return 0;
6947}
6948_ACEOF
6949rm -f conftest.$ac_objext
6950if { (ac_try="$ac_compile"
6951case "(($ac_try" in
6952  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6953  *) ac_try_echo=$ac_try;;
6954esac
6955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956  (eval "$ac_compile") 2>conftest.er1
6957  ac_status=$?
6958  grep -v '^ *+' conftest.er1 >conftest.err
6959  rm -f conftest.er1
6960  cat conftest.err >&5
6961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962  (exit $ac_status); } && {
6963	 test -z "$ac_c_werror_flag" ||
6964	 test ! -s conftest.err
6965       } && test -s conftest.$ac_objext; then
6966  ac_lo=0 ac_mid=0
6967  while :; do
6968    cat >conftest.$ac_ext <<_ACEOF
6969/* confdefs.h.  */
6970_ACEOF
6971cat confdefs.h >>conftest.$ac_ext
6972cat >>conftest.$ac_ext <<_ACEOF
6973/* end confdefs.h.  */
6974$ac_includes_default
6975   typedef unsigned short int ac__type_sizeof_;
6976int
6977main ()
6978{
6979static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6980test_array [0] = 0
6981
6982  ;
6983  return 0;
6984}
6985_ACEOF
6986rm -f conftest.$ac_objext
6987if { (ac_try="$ac_compile"
6988case "(($ac_try" in
6989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6990  *) ac_try_echo=$ac_try;;
6991esac
6992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6993  (eval "$ac_compile") 2>conftest.er1
6994  ac_status=$?
6995  grep -v '^ *+' conftest.er1 >conftest.err
6996  rm -f conftest.er1
6997  cat conftest.err >&5
6998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999  (exit $ac_status); } && {
7000	 test -z "$ac_c_werror_flag" ||
7001	 test ! -s conftest.err
7002       } && test -s conftest.$ac_objext; then
7003  ac_hi=$ac_mid; break
7004else
7005  echo "$as_me: failed program was:" >&5
7006sed 's/^/| /' conftest.$ac_ext >&5
7007
7008	ac_lo=`expr $ac_mid + 1`
7009			if test $ac_lo -le $ac_mid; then
7010			  ac_lo= ac_hi=
7011			  break
7012			fi
7013			ac_mid=`expr 2 '*' $ac_mid + 1`
7014fi
7015
7016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7017  done
7018else
7019  echo "$as_me: failed program was:" >&5
7020sed 's/^/| /' conftest.$ac_ext >&5
7021
7022	cat >conftest.$ac_ext <<_ACEOF
7023/* confdefs.h.  */
7024_ACEOF
7025cat confdefs.h >>conftest.$ac_ext
7026cat >>conftest.$ac_ext <<_ACEOF
7027/* end confdefs.h.  */
7028$ac_includes_default
7029   typedef unsigned short int ac__type_sizeof_;
7030int
7031main ()
7032{
7033static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7034test_array [0] = 0
7035
7036  ;
7037  return 0;
7038}
7039_ACEOF
7040rm -f conftest.$ac_objext
7041if { (ac_try="$ac_compile"
7042case "(($ac_try" in
7043  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7044  *) ac_try_echo=$ac_try;;
7045esac
7046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047  (eval "$ac_compile") 2>conftest.er1
7048  ac_status=$?
7049  grep -v '^ *+' conftest.er1 >conftest.err
7050  rm -f conftest.er1
7051  cat conftest.err >&5
7052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053  (exit $ac_status); } && {
7054	 test -z "$ac_c_werror_flag" ||
7055	 test ! -s conftest.err
7056       } && test -s conftest.$ac_objext; then
7057  ac_hi=-1 ac_mid=-1
7058  while :; do
7059    cat >conftest.$ac_ext <<_ACEOF
7060/* confdefs.h.  */
7061_ACEOF
7062cat confdefs.h >>conftest.$ac_ext
7063cat >>conftest.$ac_ext <<_ACEOF
7064/* end confdefs.h.  */
7065$ac_includes_default
7066   typedef unsigned short int ac__type_sizeof_;
7067int
7068main ()
7069{
7070static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7071test_array [0] = 0
7072
7073  ;
7074  return 0;
7075}
7076_ACEOF
7077rm -f conftest.$ac_objext
7078if { (ac_try="$ac_compile"
7079case "(($ac_try" in
7080  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7081  *) ac_try_echo=$ac_try;;
7082esac
7083eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7084  (eval "$ac_compile") 2>conftest.er1
7085  ac_status=$?
7086  grep -v '^ *+' conftest.er1 >conftest.err
7087  rm -f conftest.er1
7088  cat conftest.err >&5
7089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090  (exit $ac_status); } && {
7091	 test -z "$ac_c_werror_flag" ||
7092	 test ! -s conftest.err
7093       } && test -s conftest.$ac_objext; then
7094  ac_lo=$ac_mid; break
7095else
7096  echo "$as_me: failed program was:" >&5
7097sed 's/^/| /' conftest.$ac_ext >&5
7098
7099	ac_hi=`expr '(' $ac_mid ')' - 1`
7100			if test $ac_mid -le $ac_hi; then
7101			  ac_lo= ac_hi=
7102			  break
7103			fi
7104			ac_mid=`expr 2 '*' $ac_mid`
7105fi
7106
7107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7108  done
7109else
7110  echo "$as_me: failed program was:" >&5
7111sed 's/^/| /' conftest.$ac_ext >&5
7112
7113	ac_lo= ac_hi=
7114fi
7115
7116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7117fi
7118
7119rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7120# Binary search between lo and hi bounds.
7121while test "x$ac_lo" != "x$ac_hi"; do
7122  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7123  cat >conftest.$ac_ext <<_ACEOF
7124/* confdefs.h.  */
7125_ACEOF
7126cat confdefs.h >>conftest.$ac_ext
7127cat >>conftest.$ac_ext <<_ACEOF
7128/* end confdefs.h.  */
7129$ac_includes_default
7130   typedef unsigned short int ac__type_sizeof_;
7131int
7132main ()
7133{
7134static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7135test_array [0] = 0
7136
7137  ;
7138  return 0;
7139}
7140_ACEOF
7141rm -f conftest.$ac_objext
7142if { (ac_try="$ac_compile"
7143case "(($ac_try" in
7144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7145  *) ac_try_echo=$ac_try;;
7146esac
7147eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7148  (eval "$ac_compile") 2>conftest.er1
7149  ac_status=$?
7150  grep -v '^ *+' conftest.er1 >conftest.err
7151  rm -f conftest.er1
7152  cat conftest.err >&5
7153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154  (exit $ac_status); } && {
7155	 test -z "$ac_c_werror_flag" ||
7156	 test ! -s conftest.err
7157       } && test -s conftest.$ac_objext; then
7158  ac_hi=$ac_mid
7159else
7160  echo "$as_me: failed program was:" >&5
7161sed 's/^/| /' conftest.$ac_ext >&5
7162
7163	ac_lo=`expr '(' $ac_mid ')' + 1`
7164fi
7165
7166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7167done
7168case $ac_lo in
7169?*) ac_cv_sizeof_unsigned_short_int=$ac_lo;;
7170'') if test "$ac_cv_type_unsigned_short_int" = yes; then
7171     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int)
7172See \`config.log' for more details." >&5
7173echo "$as_me: error: cannot compute sizeof (unsigned short int)
7174See \`config.log' for more details." >&2;}
7175   { (exit 77); exit 77; }; }
7176   else
7177     ac_cv_sizeof_unsigned_short_int=0
7178   fi ;;
7179esac
7180else
7181  cat >conftest.$ac_ext <<_ACEOF
7182/* confdefs.h.  */
7183_ACEOF
7184cat confdefs.h >>conftest.$ac_ext
7185cat >>conftest.$ac_ext <<_ACEOF
7186/* end confdefs.h.  */
7187$ac_includes_default
7188   typedef unsigned short int ac__type_sizeof_;
7189static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7190static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7191#include <stdio.h>
7192#include <stdlib.h>
7193int
7194main ()
7195{
7196
7197  FILE *f = fopen ("conftest.val", "w");
7198  if (! f)
7199    return 1;
7200  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7201    {
7202      long int i = longval ();
7203      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7204	return 1;
7205      fprintf (f, "%ld\n", i);
7206    }
7207  else
7208    {
7209      unsigned long int i = ulongval ();
7210      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7211	return 1;
7212      fprintf (f, "%lu\n", i);
7213    }
7214  return ferror (f) || fclose (f) != 0;
7215
7216  ;
7217  return 0;
7218}
7219_ACEOF
7220rm -f conftest$ac_exeext
7221if { (ac_try="$ac_link"
7222case "(($ac_try" in
7223  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7224  *) ac_try_echo=$ac_try;;
7225esac
7226eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7227  (eval "$ac_link") 2>&5
7228  ac_status=$?
7229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7231  { (case "(($ac_try" in
7232  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7233  *) ac_try_echo=$ac_try;;
7234esac
7235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236  (eval "$ac_try") 2>&5
7237  ac_status=$?
7238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239  (exit $ac_status); }; }; then
7240  ac_cv_sizeof_unsigned_short_int=`cat conftest.val`
7241else
7242  echo "$as_me: program exited with status $ac_status" >&5
7243echo "$as_me: failed program was:" >&5
7244sed 's/^/| /' conftest.$ac_ext >&5
7245
7246( exit $ac_status )
7247if test "$ac_cv_type_unsigned_short_int" = yes; then
7248     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short int)
7249See \`config.log' for more details." >&5
7250echo "$as_me: error: cannot compute sizeof (unsigned short int)
7251See \`config.log' for more details." >&2;}
7252   { (exit 77); exit 77; }; }
7253   else
7254     ac_cv_sizeof_unsigned_short_int=0
7255   fi
7256fi
7257rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7258fi
7259rm -f conftest.val
7260fi
7261{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short_int" >&5
7262echo "${ECHO_T}$ac_cv_sizeof_unsigned_short_int" >&6; }
7263
7264
7265
7266cat >>confdefs.h <<_ACEOF
7267#define SIZEOF_UNSIGNED_SHORT_INT $ac_cv_sizeof_unsigned_short_int
7268_ACEOF
7269
7270
7271{ echo "$as_me:$LINENO: checking for int" >&5
7272echo $ECHO_N "checking for int... $ECHO_C" >&6; }
7273if test "${ac_cv_type_int+set}" = set; then
7274  echo $ECHO_N "(cached) $ECHO_C" >&6
7275else
7276  cat >conftest.$ac_ext <<_ACEOF
7277/* confdefs.h.  */
7278_ACEOF
7279cat confdefs.h >>conftest.$ac_ext
7280cat >>conftest.$ac_ext <<_ACEOF
7281/* end confdefs.h.  */
7282$ac_includes_default
7283typedef int ac__type_new_;
7284int
7285main ()
7286{
7287if ((ac__type_new_ *) 0)
7288  return 0;
7289if (sizeof (ac__type_new_))
7290  return 0;
7291  ;
7292  return 0;
7293}
7294_ACEOF
7295rm -f conftest.$ac_objext
7296if { (ac_try="$ac_compile"
7297case "(($ac_try" in
7298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7299  *) ac_try_echo=$ac_try;;
7300esac
7301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7302  (eval "$ac_compile") 2>conftest.er1
7303  ac_status=$?
7304  grep -v '^ *+' conftest.er1 >conftest.err
7305  rm -f conftest.er1
7306  cat conftest.err >&5
7307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7308  (exit $ac_status); } && {
7309	 test -z "$ac_c_werror_flag" ||
7310	 test ! -s conftest.err
7311       } && test -s conftest.$ac_objext; then
7312  ac_cv_type_int=yes
7313else
7314  echo "$as_me: failed program was:" >&5
7315sed 's/^/| /' conftest.$ac_ext >&5
7316
7317	ac_cv_type_int=no
7318fi
7319
7320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7321fi
7322{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
7323echo "${ECHO_T}$ac_cv_type_int" >&6; }
7324
7325# The cast to long int works around a bug in the HP C Compiler
7326# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7327# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7328# This bug is HP SR number 8606223364.
7329{ echo "$as_me:$LINENO: checking size of int" >&5
7330echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
7331if test "${ac_cv_sizeof_int+set}" = set; then
7332  echo $ECHO_N "(cached) $ECHO_C" >&6
7333else
7334  if test "$cross_compiling" = yes; then
7335  # Depending upon the size, compute the lo and hi bounds.
7336cat >conftest.$ac_ext <<_ACEOF
7337/* confdefs.h.  */
7338_ACEOF
7339cat confdefs.h >>conftest.$ac_ext
7340cat >>conftest.$ac_ext <<_ACEOF
7341/* end confdefs.h.  */
7342$ac_includes_default
7343   typedef int ac__type_sizeof_;
7344int
7345main ()
7346{
7347static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7348test_array [0] = 0
7349
7350  ;
7351  return 0;
7352}
7353_ACEOF
7354rm -f conftest.$ac_objext
7355if { (ac_try="$ac_compile"
7356case "(($ac_try" in
7357  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358  *) ac_try_echo=$ac_try;;
7359esac
7360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361  (eval "$ac_compile") 2>conftest.er1
7362  ac_status=$?
7363  grep -v '^ *+' conftest.er1 >conftest.err
7364  rm -f conftest.er1
7365  cat conftest.err >&5
7366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367  (exit $ac_status); } && {
7368	 test -z "$ac_c_werror_flag" ||
7369	 test ! -s conftest.err
7370       } && test -s conftest.$ac_objext; then
7371  ac_lo=0 ac_mid=0
7372  while :; do
7373    cat >conftest.$ac_ext <<_ACEOF
7374/* confdefs.h.  */
7375_ACEOF
7376cat confdefs.h >>conftest.$ac_ext
7377cat >>conftest.$ac_ext <<_ACEOF
7378/* end confdefs.h.  */
7379$ac_includes_default
7380   typedef int ac__type_sizeof_;
7381int
7382main ()
7383{
7384static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7385test_array [0] = 0
7386
7387  ;
7388  return 0;
7389}
7390_ACEOF
7391rm -f conftest.$ac_objext
7392if { (ac_try="$ac_compile"
7393case "(($ac_try" in
7394  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7395  *) ac_try_echo=$ac_try;;
7396esac
7397eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7398  (eval "$ac_compile") 2>conftest.er1
7399  ac_status=$?
7400  grep -v '^ *+' conftest.er1 >conftest.err
7401  rm -f conftest.er1
7402  cat conftest.err >&5
7403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404  (exit $ac_status); } && {
7405	 test -z "$ac_c_werror_flag" ||
7406	 test ! -s conftest.err
7407       } && test -s conftest.$ac_objext; then
7408  ac_hi=$ac_mid; break
7409else
7410  echo "$as_me: failed program was:" >&5
7411sed 's/^/| /' conftest.$ac_ext >&5
7412
7413	ac_lo=`expr $ac_mid + 1`
7414			if test $ac_lo -le $ac_mid; then
7415			  ac_lo= ac_hi=
7416			  break
7417			fi
7418			ac_mid=`expr 2 '*' $ac_mid + 1`
7419fi
7420
7421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7422  done
7423else
7424  echo "$as_me: failed program was:" >&5
7425sed 's/^/| /' conftest.$ac_ext >&5
7426
7427	cat >conftest.$ac_ext <<_ACEOF
7428/* confdefs.h.  */
7429_ACEOF
7430cat confdefs.h >>conftest.$ac_ext
7431cat >>conftest.$ac_ext <<_ACEOF
7432/* end confdefs.h.  */
7433$ac_includes_default
7434   typedef int ac__type_sizeof_;
7435int
7436main ()
7437{
7438static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7439test_array [0] = 0
7440
7441  ;
7442  return 0;
7443}
7444_ACEOF
7445rm -f conftest.$ac_objext
7446if { (ac_try="$ac_compile"
7447case "(($ac_try" in
7448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449  *) ac_try_echo=$ac_try;;
7450esac
7451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452  (eval "$ac_compile") 2>conftest.er1
7453  ac_status=$?
7454  grep -v '^ *+' conftest.er1 >conftest.err
7455  rm -f conftest.er1
7456  cat conftest.err >&5
7457  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458  (exit $ac_status); } && {
7459	 test -z "$ac_c_werror_flag" ||
7460	 test ! -s conftest.err
7461       } && test -s conftest.$ac_objext; then
7462  ac_hi=-1 ac_mid=-1
7463  while :; do
7464    cat >conftest.$ac_ext <<_ACEOF
7465/* confdefs.h.  */
7466_ACEOF
7467cat confdefs.h >>conftest.$ac_ext
7468cat >>conftest.$ac_ext <<_ACEOF
7469/* end confdefs.h.  */
7470$ac_includes_default
7471   typedef int ac__type_sizeof_;
7472int
7473main ()
7474{
7475static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7476test_array [0] = 0
7477
7478  ;
7479  return 0;
7480}
7481_ACEOF
7482rm -f conftest.$ac_objext
7483if { (ac_try="$ac_compile"
7484case "(($ac_try" in
7485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7486  *) ac_try_echo=$ac_try;;
7487esac
7488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7489  (eval "$ac_compile") 2>conftest.er1
7490  ac_status=$?
7491  grep -v '^ *+' conftest.er1 >conftest.err
7492  rm -f conftest.er1
7493  cat conftest.err >&5
7494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495  (exit $ac_status); } && {
7496	 test -z "$ac_c_werror_flag" ||
7497	 test ! -s conftest.err
7498       } && test -s conftest.$ac_objext; then
7499  ac_lo=$ac_mid; break
7500else
7501  echo "$as_me: failed program was:" >&5
7502sed 's/^/| /' conftest.$ac_ext >&5
7503
7504	ac_hi=`expr '(' $ac_mid ')' - 1`
7505			if test $ac_mid -le $ac_hi; then
7506			  ac_lo= ac_hi=
7507			  break
7508			fi
7509			ac_mid=`expr 2 '*' $ac_mid`
7510fi
7511
7512rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7513  done
7514else
7515  echo "$as_me: failed program was:" >&5
7516sed 's/^/| /' conftest.$ac_ext >&5
7517
7518	ac_lo= ac_hi=
7519fi
7520
7521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522fi
7523
7524rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525# Binary search between lo and hi bounds.
7526while test "x$ac_lo" != "x$ac_hi"; do
7527  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7528  cat >conftest.$ac_ext <<_ACEOF
7529/* confdefs.h.  */
7530_ACEOF
7531cat confdefs.h >>conftest.$ac_ext
7532cat >>conftest.$ac_ext <<_ACEOF
7533/* end confdefs.h.  */
7534$ac_includes_default
7535   typedef int ac__type_sizeof_;
7536int
7537main ()
7538{
7539static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7540test_array [0] = 0
7541
7542  ;
7543  return 0;
7544}
7545_ACEOF
7546rm -f conftest.$ac_objext
7547if { (ac_try="$ac_compile"
7548case "(($ac_try" in
7549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7550  *) ac_try_echo=$ac_try;;
7551esac
7552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7553  (eval "$ac_compile") 2>conftest.er1
7554  ac_status=$?
7555  grep -v '^ *+' conftest.er1 >conftest.err
7556  rm -f conftest.er1
7557  cat conftest.err >&5
7558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7559  (exit $ac_status); } && {
7560	 test -z "$ac_c_werror_flag" ||
7561	 test ! -s conftest.err
7562       } && test -s conftest.$ac_objext; then
7563  ac_hi=$ac_mid
7564else
7565  echo "$as_me: failed program was:" >&5
7566sed 's/^/| /' conftest.$ac_ext >&5
7567
7568	ac_lo=`expr '(' $ac_mid ')' + 1`
7569fi
7570
7571rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7572done
7573case $ac_lo in
7574?*) ac_cv_sizeof_int=$ac_lo;;
7575'') if test "$ac_cv_type_int" = yes; then
7576     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
7577See \`config.log' for more details." >&5
7578echo "$as_me: error: cannot compute sizeof (int)
7579See \`config.log' for more details." >&2;}
7580   { (exit 77); exit 77; }; }
7581   else
7582     ac_cv_sizeof_int=0
7583   fi ;;
7584esac
7585else
7586  cat >conftest.$ac_ext <<_ACEOF
7587/* confdefs.h.  */
7588_ACEOF
7589cat confdefs.h >>conftest.$ac_ext
7590cat >>conftest.$ac_ext <<_ACEOF
7591/* end confdefs.h.  */
7592$ac_includes_default
7593   typedef int ac__type_sizeof_;
7594static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7595static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7596#include <stdio.h>
7597#include <stdlib.h>
7598int
7599main ()
7600{
7601
7602  FILE *f = fopen ("conftest.val", "w");
7603  if (! f)
7604    return 1;
7605  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7606    {
7607      long int i = longval ();
7608      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7609	return 1;
7610      fprintf (f, "%ld\n", i);
7611    }
7612  else
7613    {
7614      unsigned long int i = ulongval ();
7615      if (i != ((long int) (sizeof (ac__type_sizeof_))))
7616	return 1;
7617      fprintf (f, "%lu\n", i);
7618    }
7619  return ferror (f) || fclose (f) != 0;
7620
7621  ;
7622  return 0;
7623}
7624_ACEOF
7625rm -f conftest$ac_exeext
7626if { (ac_try="$ac_link"
7627case "(($ac_try" in
7628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7629  *) ac_try_echo=$ac_try;;
7630esac
7631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7632  (eval "$ac_link") 2>&5
7633  ac_status=$?
7634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7636  { (case "(($ac_try" in
7637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7638  *) ac_try_echo=$ac_try;;
7639esac
7640eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7641  (eval "$ac_try") 2>&5
7642  ac_status=$?
7643  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644  (exit $ac_status); }; }; then
7645  ac_cv_sizeof_int=`cat conftest.val`
7646else
7647  echo "$as_me: program exited with status $ac_status" >&5
7648echo "$as_me: failed program was:" >&5
7649sed 's/^/| /' conftest.$ac_ext >&5
7650
7651( exit $ac_status )
7652if test "$ac_cv_type_int" = yes; then
7653     { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
7654See \`config.log' for more details." >&5
7655echo "$as_me: error: cannot compute sizeof (int)
7656See \`config.log' for more details." >&2;}
7657   { (exit 77); exit 77; }; }
7658   else
7659     ac_cv_sizeof_int=0
7660   fi
7661fi
7662rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7663fi
7664rm -f conftest.val
7665fi
7666{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
7667echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
7668
7669
7670
7671cat >>confdefs.h <<_ACEOF
7672#define SIZEOF_INT $ac_cv_sizeof_int
7673_ACEOF
7674
7675
7676{ echo "$as_me:$LINENO: checking for unsigned int" >&5
7677echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6; }
7678if test "${ac_cv_type_unsigned_int+set}" = set; then
7679  echo $ECHO_N "(cached) $ECHO_C" >&6
7680else
7681  cat >conftest.$ac_ext <<_ACEOF
7682/* confdefs.h.  */
7683_ACEOF
7684cat confdefs.h >>conftest.$ac_ext
7685cat >>conftest.$ac_ext <<_ACEOF
7686/* end confdefs.h.  */
7687$ac_includes_default
7688typedef unsigned int ac__type_new_;
7689int
7690main ()
7691{
7692if ((ac__type_new_ *) 0)
7693  return 0;
7694if (sizeof (ac__type_new_))
7695  return 0;
7696  ;
7697  return 0;
7698}
7699_ACEOF
7700rm -f conftest.$ac_objext
7701if { (ac_try="$ac_compile"
7702case "(($ac_try" in
7703  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7704  *) ac_try_echo=$ac_try;;
7705esac
7706eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7707  (eval "$ac_compile") 2>conftest.er1
7708  ac_status=$?
7709  grep -v '^ *+' conftest.er1 >conftest.err
7710  rm -f conftest.er1
7711  cat conftest.err >&5
7712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713  (exit $ac_status); } && {
7714	 test -z "$ac_c_werror_flag" ||
7715	 test ! -s conftest.err
7716       } && test -s conftest.$ac_objext; then
7717  ac_cv_type_unsigned_int=yes
7718else
7719  echo "$as_me: failed program was:" >&5
7720sed 's/^/| /' conftest.$ac_ext >&5
7721
7722	ac_cv_type_unsigned_int=no
7723fi
7724
7725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7726fi
7727{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
7728echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6; }
7729
7730# The cast to long int works around a bug in the HP C Compiler
7731# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
7732# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
7733# This bug is HP SR number 8606223364.
7734{ echo "$as_me:$LINENO: checking size of unsigned int" >&5
7735echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6; }
7736if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
7737  echo $ECHO_N "(cached) $ECHO_C" >&6
7738else
7739  if test "$cross_compiling" = yes; then
7740  # Depending upon the size, compute the lo and hi bounds.
7741cat >conftest.$ac_ext <<_ACEOF
7742/* confdefs.h.  */
7743_ACEOF
7744cat confdefs.h >>conftest.$ac_ext
7745cat >>conftest.$ac_ext <<_ACEOF
7746/* end confdefs.h.  */
7747$ac_includes_default
7748   typedef unsigned int ac__type_sizeof_;
7749int
7750main ()
7751{
7752static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
7753test_array [0] = 0
7754
7755  ;
7756  return 0;
7757}
7758_ACEOF
7759rm -f conftest.$ac_objext
7760if { (ac_try="$ac_compile"
7761case "(($ac_try" in
7762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7763  *) ac_try_echo=$ac_try;;
7764esac
7765eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7766  (eval "$ac_compile") 2>conftest.er1
7767  ac_status=$?
7768  grep -v '^ *+' conftest.er1 >conftest.err
7769  rm -f conftest.er1
7770  cat conftest.err >&5
7771  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7772  (exit $ac_status); } && {
7773	 test -z "$ac_c_werror_flag" ||
7774	 test ! -s conftest.err
7775       } && test -s conftest.$ac_objext; then
7776  ac_lo=0 ac_mid=0
7777  while :; do
7778    cat >conftest.$ac_ext <<_ACEOF
7779/* confdefs.h.  */
7780_ACEOF
7781cat confdefs.h >>conftest.$ac_ext
7782cat >>conftest.$ac_ext <<_ACEOF
7783/* end confdefs.h.  */
7784$ac_includes_default
7785   typedef unsigned int ac__type_sizeof_;
7786int
7787main ()
7788{
7789static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7790test_array [0] = 0
7791
7792  ;
7793  return 0;
7794}
7795_ACEOF
7796rm -f conftest.$ac_objext
7797if { (ac_try="$ac_compile"
7798case "(($ac_try" in
7799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800  *) ac_try_echo=$ac_try;;
7801esac
7802eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803  (eval "$ac_compile") 2>conftest.er1
7804  ac_status=$?
7805  grep -v '^ *+' conftest.er1 >conftest.err
7806  rm -f conftest.er1
7807  cat conftest.err >&5
7808  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809  (exit $ac_status); } && {
7810	 test -z "$ac_c_werror_flag" ||
7811	 test ! -s conftest.err
7812       } && test -s conftest.$ac_objext; then
7813  ac_hi=$ac_mid; break
7814else
7815  echo "$as_me: failed program was:" >&5
7816sed 's/^/| /' conftest.$ac_ext >&5
7817
7818	ac_lo=`expr $ac_mid + 1`
7819			if test $ac_lo -le $ac_mid; then
7820			  ac_lo= ac_hi=
7821			  break
7822			fi
7823			ac_mid=`expr 2 '*' $ac_mid + 1`
7824fi
7825
7826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827  done
7828else
7829  echo "$as_me: failed program was:" >&5
7830sed 's/^/| /' conftest.$ac_ext >&5
7831
7832	cat >conftest.$ac_ext <<_ACEOF
7833/* confdefs.h.  */
7834_ACEOF
7835cat confdefs.h >>conftest.$ac_ext
7836cat >>conftest.$ac_ext <<_ACEOF
7837/* end confdefs.h.  */
7838$ac_includes_default
7839   typedef unsigned int ac__type_sizeof_;
7840int
7841main ()
7842{
7843static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7844test_array [0] = 0
7845
7846  ;
7847  return 0;
7848}
7849_ACEOF
7850rm -f conftest.$ac_objext
7851if { (ac_try="$ac_compile"
7852case "(($ac_try" in
7853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7854  *) ac_try_echo=$ac_try;;
7855esac
7856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857  (eval "$ac_compile") 2>conftest.er1
7858  ac_status=$?
7859  grep -v '^ *+' conftest.er1 >conftest.err
7860  rm -f conftest.er1
7861  cat conftest.err >&5
7862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863  (exit $ac_status); } && {
7864	 test -z "$ac_c_werror_flag" ||
7865	 test ! -s conftest.err
7866       } && test -s conftest.$ac_objext; then
7867  ac_hi=-1 ac_mid=-1
7868  while :; do
7869    cat >conftest.$ac_ext <<_ACEOF
7870/* confdefs.h.  */
7871_ACEOF
7872cat confdefs.h >>conftest.$ac_ext
7873cat >>conftest.$ac_ext <<_ACEOF
7874/* end confdefs.h.  */
7875$ac_includes_default
7876   typedef unsigned int ac__type_sizeof_;
7877int
7878main ()
7879{
7880static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7881test_array [0] = 0
7882
7883  ;
7884  return 0;
7885}
7886_ACEOF
7887rm -f conftest.$ac_objext
7888if { (ac_try="$ac_compile"
7889case "(($ac_try" in
7890  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7891  *) ac_try_echo=$ac_try;;
7892esac
7893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7894  (eval "$ac_compile") 2>conftest.er1
7895  ac_status=$?
7896  grep -v '^ *+' conftest.er1 >conftest.err
7897  rm -f conftest.er1
7898  cat conftest.err >&5
7899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7900  (exit $ac_status); } && {
7901	 test -z "$ac_c_werror_flag" ||
7902	 test ! -s conftest.err
7903       } && test -s conftest.$ac_objext; then
7904  ac_lo=$ac_mid; break
7905else
7906  echo "$as_me: failed program was:" >&5
7907sed 's/^/| /' conftest.$ac_ext >&5
7908
7909	ac_hi=`expr '(' $ac_mid ')' - 1`
7910			if test $ac_mid -le $ac_hi; then
7911			  ac_lo= ac_hi=
7912			  break
7913			fi
7914			ac_mid=`expr 2 '*' $ac_mid`
7915fi
7916
7917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7918  done
7919else
7920  echo "$as_me: failed program was:" >&5
7921sed 's/^/| /' conftest.$ac_ext >&5
7922
7923	ac_lo= ac_hi=
7924fi
7925
7926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7927fi
7928
7929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930# Binary search between lo and hi bounds.
7931while test "x$ac_lo" != "x$ac_hi"; do
7932  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7933  cat >conftest.$ac_ext <<_ACEOF
7934/* confdefs.h.  */
7935_ACEOF
7936cat confdefs.h >>conftest.$ac_ext
7937cat >>conftest.$ac_ext <<_ACEOF
7938/* end confdefs.h.  */
7939$ac_includes_default
7940   typedef unsigned int ac__type_sizeof_;
7941int
7942main ()
7943{
7944static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7945test_array [0] = 0
7946
7947  ;
7948  return 0;
7949}
7950_ACEOF
7951rm -f conftest.$ac_objext
7952if { (ac_try="$ac_compile"
7953case "(($ac_try" in
7954  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7955  *) ac_try_echo=$ac_try;;
7956esac
7957eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7958  (eval "$ac_compile") 2>conftest.er1
7959  ac_status=$?
7960  grep -v '^ *+' conftest.er1 >conftest.err
7961  rm -f conftest.er1
7962  cat conftest.err >&5
7963  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964  (exit $ac_status); } && {
7965	 test -z "$ac_c_werror_flag" ||
7966	 test ! -s conftest.err
7967       } && test -s conftest.$ac_objext; then
7968  ac_hi=$ac_mid
7969else
7970  echo "$as_me: failed program was:" >&5
7971sed 's/^/| /' conftest.$ac_ext >&5
7972
7973	ac_lo=`expr '(' $ac_mid ')' + 1`
7974fi
7975
7976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977done
7978case $ac_lo in
7979?*) ac_cv_sizeof_unsigned_int=$ac_lo;;
7980'') if test "$ac_cv_type_unsigned_int" = yes; then
7981     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
7982See \`config.log' for more details." >&5
7983echo "$as_me: error: cannot compute sizeof (unsigned int)
7984See \`config.log' for more details." >&2;}
7985   { (exit 77); exit 77; }; }
7986   else
7987     ac_cv_sizeof_unsigned_int=0
7988   fi ;;
7989esac
7990else
7991  cat >conftest.$ac_ext <<_ACEOF
7992/* confdefs.h.  */
7993_ACEOF
7994cat confdefs.h >>conftest.$ac_ext
7995cat >>conftest.$ac_ext <<_ACEOF
7996/* end confdefs.h.  */
7997$ac_includes_default
7998   typedef unsigned int ac__type_sizeof_;
7999static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8000static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8001#include <stdio.h>
8002#include <stdlib.h>
8003int
8004main ()
8005{
8006
8007  FILE *f = fopen ("conftest.val", "w");
8008  if (! f)
8009    return 1;
8010  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8011    {
8012      long int i = longval ();
8013      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8014	return 1;
8015      fprintf (f, "%ld\n", i);
8016    }
8017  else
8018    {
8019      unsigned long int i = ulongval ();
8020      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8021	return 1;
8022      fprintf (f, "%lu\n", i);
8023    }
8024  return ferror (f) || fclose (f) != 0;
8025
8026  ;
8027  return 0;
8028}
8029_ACEOF
8030rm -f conftest$ac_exeext
8031if { (ac_try="$ac_link"
8032case "(($ac_try" in
8033  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034  *) ac_try_echo=$ac_try;;
8035esac
8036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037  (eval "$ac_link") 2>&5
8038  ac_status=$?
8039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8041  { (case "(($ac_try" in
8042  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043  *) ac_try_echo=$ac_try;;
8044esac
8045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8046  (eval "$ac_try") 2>&5
8047  ac_status=$?
8048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049  (exit $ac_status); }; }; then
8050  ac_cv_sizeof_unsigned_int=`cat conftest.val`
8051else
8052  echo "$as_me: program exited with status $ac_status" >&5
8053echo "$as_me: failed program was:" >&5
8054sed 's/^/| /' conftest.$ac_ext >&5
8055
8056( exit $ac_status )
8057if test "$ac_cv_type_unsigned_int" = yes; then
8058     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int)
8059See \`config.log' for more details." >&5
8060echo "$as_me: error: cannot compute sizeof (unsigned int)
8061See \`config.log' for more details." >&2;}
8062   { (exit 77); exit 77; }; }
8063   else
8064     ac_cv_sizeof_unsigned_int=0
8065   fi
8066fi
8067rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8068fi
8069rm -f conftest.val
8070fi
8071{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
8072echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6; }
8073
8074
8075
8076cat >>confdefs.h <<_ACEOF
8077#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
8078_ACEOF
8079
8080
8081{ echo "$as_me:$LINENO: checking for long int" >&5
8082echo $ECHO_N "checking for long int... $ECHO_C" >&6; }
8083if test "${ac_cv_type_long_int+set}" = set; then
8084  echo $ECHO_N "(cached) $ECHO_C" >&6
8085else
8086  cat >conftest.$ac_ext <<_ACEOF
8087/* confdefs.h.  */
8088_ACEOF
8089cat confdefs.h >>conftest.$ac_ext
8090cat >>conftest.$ac_ext <<_ACEOF
8091/* end confdefs.h.  */
8092$ac_includes_default
8093typedef long int ac__type_new_;
8094int
8095main ()
8096{
8097if ((ac__type_new_ *) 0)
8098  return 0;
8099if (sizeof (ac__type_new_))
8100  return 0;
8101  ;
8102  return 0;
8103}
8104_ACEOF
8105rm -f conftest.$ac_objext
8106if { (ac_try="$ac_compile"
8107case "(($ac_try" in
8108  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8109  *) ac_try_echo=$ac_try;;
8110esac
8111eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8112  (eval "$ac_compile") 2>conftest.er1
8113  ac_status=$?
8114  grep -v '^ *+' conftest.er1 >conftest.err
8115  rm -f conftest.er1
8116  cat conftest.err >&5
8117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118  (exit $ac_status); } && {
8119	 test -z "$ac_c_werror_flag" ||
8120	 test ! -s conftest.err
8121       } && test -s conftest.$ac_objext; then
8122  ac_cv_type_long_int=yes
8123else
8124  echo "$as_me: failed program was:" >&5
8125sed 's/^/| /' conftest.$ac_ext >&5
8126
8127	ac_cv_type_long_int=no
8128fi
8129
8130rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8131fi
8132{ echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
8133echo "${ECHO_T}$ac_cv_type_long_int" >&6; }
8134
8135# The cast to long int works around a bug in the HP C Compiler
8136# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8137# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8138# This bug is HP SR number 8606223364.
8139{ echo "$as_me:$LINENO: checking size of long int" >&5
8140echo $ECHO_N "checking size of long int... $ECHO_C" >&6; }
8141if test "${ac_cv_sizeof_long_int+set}" = set; then
8142  echo $ECHO_N "(cached) $ECHO_C" >&6
8143else
8144  if test "$cross_compiling" = yes; then
8145  # Depending upon the size, compute the lo and hi bounds.
8146cat >conftest.$ac_ext <<_ACEOF
8147/* confdefs.h.  */
8148_ACEOF
8149cat confdefs.h >>conftest.$ac_ext
8150cat >>conftest.$ac_ext <<_ACEOF
8151/* end confdefs.h.  */
8152$ac_includes_default
8153   typedef long int ac__type_sizeof_;
8154int
8155main ()
8156{
8157static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8158test_array [0] = 0
8159
8160  ;
8161  return 0;
8162}
8163_ACEOF
8164rm -f conftest.$ac_objext
8165if { (ac_try="$ac_compile"
8166case "(($ac_try" in
8167  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8168  *) ac_try_echo=$ac_try;;
8169esac
8170eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8171  (eval "$ac_compile") 2>conftest.er1
8172  ac_status=$?
8173  grep -v '^ *+' conftest.er1 >conftest.err
8174  rm -f conftest.er1
8175  cat conftest.err >&5
8176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8177  (exit $ac_status); } && {
8178	 test -z "$ac_c_werror_flag" ||
8179	 test ! -s conftest.err
8180       } && test -s conftest.$ac_objext; then
8181  ac_lo=0 ac_mid=0
8182  while :; do
8183    cat >conftest.$ac_ext <<_ACEOF
8184/* confdefs.h.  */
8185_ACEOF
8186cat confdefs.h >>conftest.$ac_ext
8187cat >>conftest.$ac_ext <<_ACEOF
8188/* end confdefs.h.  */
8189$ac_includes_default
8190   typedef long int ac__type_sizeof_;
8191int
8192main ()
8193{
8194static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8195test_array [0] = 0
8196
8197  ;
8198  return 0;
8199}
8200_ACEOF
8201rm -f conftest.$ac_objext
8202if { (ac_try="$ac_compile"
8203case "(($ac_try" in
8204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8205  *) ac_try_echo=$ac_try;;
8206esac
8207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8208  (eval "$ac_compile") 2>conftest.er1
8209  ac_status=$?
8210  grep -v '^ *+' conftest.er1 >conftest.err
8211  rm -f conftest.er1
8212  cat conftest.err >&5
8213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214  (exit $ac_status); } && {
8215	 test -z "$ac_c_werror_flag" ||
8216	 test ! -s conftest.err
8217       } && test -s conftest.$ac_objext; then
8218  ac_hi=$ac_mid; break
8219else
8220  echo "$as_me: failed program was:" >&5
8221sed 's/^/| /' conftest.$ac_ext >&5
8222
8223	ac_lo=`expr $ac_mid + 1`
8224			if test $ac_lo -le $ac_mid; then
8225			  ac_lo= ac_hi=
8226			  break
8227			fi
8228			ac_mid=`expr 2 '*' $ac_mid + 1`
8229fi
8230
8231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8232  done
8233else
8234  echo "$as_me: failed program was:" >&5
8235sed 's/^/| /' conftest.$ac_ext >&5
8236
8237	cat >conftest.$ac_ext <<_ACEOF
8238/* confdefs.h.  */
8239_ACEOF
8240cat confdefs.h >>conftest.$ac_ext
8241cat >>conftest.$ac_ext <<_ACEOF
8242/* end confdefs.h.  */
8243$ac_includes_default
8244   typedef long int ac__type_sizeof_;
8245int
8246main ()
8247{
8248static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8249test_array [0] = 0
8250
8251  ;
8252  return 0;
8253}
8254_ACEOF
8255rm -f conftest.$ac_objext
8256if { (ac_try="$ac_compile"
8257case "(($ac_try" in
8258  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8259  *) ac_try_echo=$ac_try;;
8260esac
8261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8262  (eval "$ac_compile") 2>conftest.er1
8263  ac_status=$?
8264  grep -v '^ *+' conftest.er1 >conftest.err
8265  rm -f conftest.er1
8266  cat conftest.err >&5
8267  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268  (exit $ac_status); } && {
8269	 test -z "$ac_c_werror_flag" ||
8270	 test ! -s conftest.err
8271       } && test -s conftest.$ac_objext; then
8272  ac_hi=-1 ac_mid=-1
8273  while :; do
8274    cat >conftest.$ac_ext <<_ACEOF
8275/* confdefs.h.  */
8276_ACEOF
8277cat confdefs.h >>conftest.$ac_ext
8278cat >>conftest.$ac_ext <<_ACEOF
8279/* end confdefs.h.  */
8280$ac_includes_default
8281   typedef long int ac__type_sizeof_;
8282int
8283main ()
8284{
8285static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8286test_array [0] = 0
8287
8288  ;
8289  return 0;
8290}
8291_ACEOF
8292rm -f conftest.$ac_objext
8293if { (ac_try="$ac_compile"
8294case "(($ac_try" in
8295  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8296  *) ac_try_echo=$ac_try;;
8297esac
8298eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299  (eval "$ac_compile") 2>conftest.er1
8300  ac_status=$?
8301  grep -v '^ *+' conftest.er1 >conftest.err
8302  rm -f conftest.er1
8303  cat conftest.err >&5
8304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305  (exit $ac_status); } && {
8306	 test -z "$ac_c_werror_flag" ||
8307	 test ! -s conftest.err
8308       } && test -s conftest.$ac_objext; then
8309  ac_lo=$ac_mid; break
8310else
8311  echo "$as_me: failed program was:" >&5
8312sed 's/^/| /' conftest.$ac_ext >&5
8313
8314	ac_hi=`expr '(' $ac_mid ')' - 1`
8315			if test $ac_mid -le $ac_hi; then
8316			  ac_lo= ac_hi=
8317			  break
8318			fi
8319			ac_mid=`expr 2 '*' $ac_mid`
8320fi
8321
8322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323  done
8324else
8325  echo "$as_me: failed program was:" >&5
8326sed 's/^/| /' conftest.$ac_ext >&5
8327
8328	ac_lo= ac_hi=
8329fi
8330
8331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8332fi
8333
8334rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8335# Binary search between lo and hi bounds.
8336while test "x$ac_lo" != "x$ac_hi"; do
8337  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8338  cat >conftest.$ac_ext <<_ACEOF
8339/* confdefs.h.  */
8340_ACEOF
8341cat confdefs.h >>conftest.$ac_ext
8342cat >>conftest.$ac_ext <<_ACEOF
8343/* end confdefs.h.  */
8344$ac_includes_default
8345   typedef long int ac__type_sizeof_;
8346int
8347main ()
8348{
8349static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8350test_array [0] = 0
8351
8352  ;
8353  return 0;
8354}
8355_ACEOF
8356rm -f conftest.$ac_objext
8357if { (ac_try="$ac_compile"
8358case "(($ac_try" in
8359  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8360  *) ac_try_echo=$ac_try;;
8361esac
8362eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8363  (eval "$ac_compile") 2>conftest.er1
8364  ac_status=$?
8365  grep -v '^ *+' conftest.er1 >conftest.err
8366  rm -f conftest.er1
8367  cat conftest.err >&5
8368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369  (exit $ac_status); } && {
8370	 test -z "$ac_c_werror_flag" ||
8371	 test ! -s conftest.err
8372       } && test -s conftest.$ac_objext; then
8373  ac_hi=$ac_mid
8374else
8375  echo "$as_me: failed program was:" >&5
8376sed 's/^/| /' conftest.$ac_ext >&5
8377
8378	ac_lo=`expr '(' $ac_mid ')' + 1`
8379fi
8380
8381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8382done
8383case $ac_lo in
8384?*) ac_cv_sizeof_long_int=$ac_lo;;
8385'') if test "$ac_cv_type_long_int" = yes; then
8386     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
8387See \`config.log' for more details." >&5
8388echo "$as_me: error: cannot compute sizeof (long int)
8389See \`config.log' for more details." >&2;}
8390   { (exit 77); exit 77; }; }
8391   else
8392     ac_cv_sizeof_long_int=0
8393   fi ;;
8394esac
8395else
8396  cat >conftest.$ac_ext <<_ACEOF
8397/* confdefs.h.  */
8398_ACEOF
8399cat confdefs.h >>conftest.$ac_ext
8400cat >>conftest.$ac_ext <<_ACEOF
8401/* end confdefs.h.  */
8402$ac_includes_default
8403   typedef long int ac__type_sizeof_;
8404static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8405static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8406#include <stdio.h>
8407#include <stdlib.h>
8408int
8409main ()
8410{
8411
8412  FILE *f = fopen ("conftest.val", "w");
8413  if (! f)
8414    return 1;
8415  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8416    {
8417      long int i = longval ();
8418      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8419	return 1;
8420      fprintf (f, "%ld\n", i);
8421    }
8422  else
8423    {
8424      unsigned long int i = ulongval ();
8425      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8426	return 1;
8427      fprintf (f, "%lu\n", i);
8428    }
8429  return ferror (f) || fclose (f) != 0;
8430
8431  ;
8432  return 0;
8433}
8434_ACEOF
8435rm -f conftest$ac_exeext
8436if { (ac_try="$ac_link"
8437case "(($ac_try" in
8438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8439  *) ac_try_echo=$ac_try;;
8440esac
8441eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8442  (eval "$ac_link") 2>&5
8443  ac_status=$?
8444  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8446  { (case "(($ac_try" in
8447  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8448  *) ac_try_echo=$ac_try;;
8449esac
8450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8451  (eval "$ac_try") 2>&5
8452  ac_status=$?
8453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8454  (exit $ac_status); }; }; then
8455  ac_cv_sizeof_long_int=`cat conftest.val`
8456else
8457  echo "$as_me: program exited with status $ac_status" >&5
8458echo "$as_me: failed program was:" >&5
8459sed 's/^/| /' conftest.$ac_ext >&5
8460
8461( exit $ac_status )
8462if test "$ac_cv_type_long_int" = yes; then
8463     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
8464See \`config.log' for more details." >&5
8465echo "$as_me: error: cannot compute sizeof (long int)
8466See \`config.log' for more details." >&2;}
8467   { (exit 77); exit 77; }; }
8468   else
8469     ac_cv_sizeof_long_int=0
8470   fi
8471fi
8472rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8473fi
8474rm -f conftest.val
8475fi
8476{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
8477echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; }
8478
8479
8480
8481cat >>confdefs.h <<_ACEOF
8482#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
8483_ACEOF
8484
8485
8486{ echo "$as_me:$LINENO: checking for unsigned long int" >&5
8487echo $ECHO_N "checking for unsigned long int... $ECHO_C" >&6; }
8488if test "${ac_cv_type_unsigned_long_int+set}" = set; then
8489  echo $ECHO_N "(cached) $ECHO_C" >&6
8490else
8491  cat >conftest.$ac_ext <<_ACEOF
8492/* confdefs.h.  */
8493_ACEOF
8494cat confdefs.h >>conftest.$ac_ext
8495cat >>conftest.$ac_ext <<_ACEOF
8496/* end confdefs.h.  */
8497$ac_includes_default
8498typedef unsigned long int ac__type_new_;
8499int
8500main ()
8501{
8502if ((ac__type_new_ *) 0)
8503  return 0;
8504if (sizeof (ac__type_new_))
8505  return 0;
8506  ;
8507  return 0;
8508}
8509_ACEOF
8510rm -f conftest.$ac_objext
8511if { (ac_try="$ac_compile"
8512case "(($ac_try" in
8513  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514  *) ac_try_echo=$ac_try;;
8515esac
8516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517  (eval "$ac_compile") 2>conftest.er1
8518  ac_status=$?
8519  grep -v '^ *+' conftest.er1 >conftest.err
8520  rm -f conftest.er1
8521  cat conftest.err >&5
8522  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523  (exit $ac_status); } && {
8524	 test -z "$ac_c_werror_flag" ||
8525	 test ! -s conftest.err
8526       } && test -s conftest.$ac_objext; then
8527  ac_cv_type_unsigned_long_int=yes
8528else
8529  echo "$as_me: failed program was:" >&5
8530sed 's/^/| /' conftest.$ac_ext >&5
8531
8532	ac_cv_type_unsigned_long_int=no
8533fi
8534
8535rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536fi
8537{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_int" >&5
8538echo "${ECHO_T}$ac_cv_type_unsigned_long_int" >&6; }
8539
8540# The cast to long int works around a bug in the HP C Compiler
8541# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8542# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8543# This bug is HP SR number 8606223364.
8544{ echo "$as_me:$LINENO: checking size of unsigned long int" >&5
8545echo $ECHO_N "checking size of unsigned long int... $ECHO_C" >&6; }
8546if test "${ac_cv_sizeof_unsigned_long_int+set}" = set; then
8547  echo $ECHO_N "(cached) $ECHO_C" >&6
8548else
8549  if test "$cross_compiling" = yes; then
8550  # Depending upon the size, compute the lo and hi bounds.
8551cat >conftest.$ac_ext <<_ACEOF
8552/* confdefs.h.  */
8553_ACEOF
8554cat confdefs.h >>conftest.$ac_ext
8555cat >>conftest.$ac_ext <<_ACEOF
8556/* end confdefs.h.  */
8557$ac_includes_default
8558   typedef unsigned long int ac__type_sizeof_;
8559int
8560main ()
8561{
8562static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8563test_array [0] = 0
8564
8565  ;
8566  return 0;
8567}
8568_ACEOF
8569rm -f conftest.$ac_objext
8570if { (ac_try="$ac_compile"
8571case "(($ac_try" in
8572  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8573  *) ac_try_echo=$ac_try;;
8574esac
8575eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8576  (eval "$ac_compile") 2>conftest.er1
8577  ac_status=$?
8578  grep -v '^ *+' conftest.er1 >conftest.err
8579  rm -f conftest.er1
8580  cat conftest.err >&5
8581  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582  (exit $ac_status); } && {
8583	 test -z "$ac_c_werror_flag" ||
8584	 test ! -s conftest.err
8585       } && test -s conftest.$ac_objext; then
8586  ac_lo=0 ac_mid=0
8587  while :; do
8588    cat >conftest.$ac_ext <<_ACEOF
8589/* confdefs.h.  */
8590_ACEOF
8591cat confdefs.h >>conftest.$ac_ext
8592cat >>conftest.$ac_ext <<_ACEOF
8593/* end confdefs.h.  */
8594$ac_includes_default
8595   typedef unsigned long int ac__type_sizeof_;
8596int
8597main ()
8598{
8599static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8600test_array [0] = 0
8601
8602  ;
8603  return 0;
8604}
8605_ACEOF
8606rm -f conftest.$ac_objext
8607if { (ac_try="$ac_compile"
8608case "(($ac_try" in
8609  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610  *) ac_try_echo=$ac_try;;
8611esac
8612eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613  (eval "$ac_compile") 2>conftest.er1
8614  ac_status=$?
8615  grep -v '^ *+' conftest.er1 >conftest.err
8616  rm -f conftest.er1
8617  cat conftest.err >&5
8618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619  (exit $ac_status); } && {
8620	 test -z "$ac_c_werror_flag" ||
8621	 test ! -s conftest.err
8622       } && test -s conftest.$ac_objext; then
8623  ac_hi=$ac_mid; break
8624else
8625  echo "$as_me: failed program was:" >&5
8626sed 's/^/| /' conftest.$ac_ext >&5
8627
8628	ac_lo=`expr $ac_mid + 1`
8629			if test $ac_lo -le $ac_mid; then
8630			  ac_lo= ac_hi=
8631			  break
8632			fi
8633			ac_mid=`expr 2 '*' $ac_mid + 1`
8634fi
8635
8636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8637  done
8638else
8639  echo "$as_me: failed program was:" >&5
8640sed 's/^/| /' conftest.$ac_ext >&5
8641
8642	cat >conftest.$ac_ext <<_ACEOF
8643/* confdefs.h.  */
8644_ACEOF
8645cat confdefs.h >>conftest.$ac_ext
8646cat >>conftest.$ac_ext <<_ACEOF
8647/* end confdefs.h.  */
8648$ac_includes_default
8649   typedef unsigned long int ac__type_sizeof_;
8650int
8651main ()
8652{
8653static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8654test_array [0] = 0
8655
8656  ;
8657  return 0;
8658}
8659_ACEOF
8660rm -f conftest.$ac_objext
8661if { (ac_try="$ac_compile"
8662case "(($ac_try" in
8663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8664  *) ac_try_echo=$ac_try;;
8665esac
8666eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8667  (eval "$ac_compile") 2>conftest.er1
8668  ac_status=$?
8669  grep -v '^ *+' conftest.er1 >conftest.err
8670  rm -f conftest.er1
8671  cat conftest.err >&5
8672  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8673  (exit $ac_status); } && {
8674	 test -z "$ac_c_werror_flag" ||
8675	 test ! -s conftest.err
8676       } && test -s conftest.$ac_objext; then
8677  ac_hi=-1 ac_mid=-1
8678  while :; do
8679    cat >conftest.$ac_ext <<_ACEOF
8680/* confdefs.h.  */
8681_ACEOF
8682cat confdefs.h >>conftest.$ac_ext
8683cat >>conftest.$ac_ext <<_ACEOF
8684/* end confdefs.h.  */
8685$ac_includes_default
8686   typedef unsigned long int ac__type_sizeof_;
8687int
8688main ()
8689{
8690static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8691test_array [0] = 0
8692
8693  ;
8694  return 0;
8695}
8696_ACEOF
8697rm -f conftest.$ac_objext
8698if { (ac_try="$ac_compile"
8699case "(($ac_try" in
8700  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8701  *) ac_try_echo=$ac_try;;
8702esac
8703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8704  (eval "$ac_compile") 2>conftest.er1
8705  ac_status=$?
8706  grep -v '^ *+' conftest.er1 >conftest.err
8707  rm -f conftest.er1
8708  cat conftest.err >&5
8709  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710  (exit $ac_status); } && {
8711	 test -z "$ac_c_werror_flag" ||
8712	 test ! -s conftest.err
8713       } && test -s conftest.$ac_objext; then
8714  ac_lo=$ac_mid; break
8715else
8716  echo "$as_me: failed program was:" >&5
8717sed 's/^/| /' conftest.$ac_ext >&5
8718
8719	ac_hi=`expr '(' $ac_mid ')' - 1`
8720			if test $ac_mid -le $ac_hi; then
8721			  ac_lo= ac_hi=
8722			  break
8723			fi
8724			ac_mid=`expr 2 '*' $ac_mid`
8725fi
8726
8727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8728  done
8729else
8730  echo "$as_me: failed program was:" >&5
8731sed 's/^/| /' conftest.$ac_ext >&5
8732
8733	ac_lo= ac_hi=
8734fi
8735
8736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8737fi
8738
8739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8740# Binary search between lo and hi bounds.
8741while test "x$ac_lo" != "x$ac_hi"; do
8742  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8743  cat >conftest.$ac_ext <<_ACEOF
8744/* confdefs.h.  */
8745_ACEOF
8746cat confdefs.h >>conftest.$ac_ext
8747cat >>conftest.$ac_ext <<_ACEOF
8748/* end confdefs.h.  */
8749$ac_includes_default
8750   typedef unsigned long int ac__type_sizeof_;
8751int
8752main ()
8753{
8754static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8755test_array [0] = 0
8756
8757  ;
8758  return 0;
8759}
8760_ACEOF
8761rm -f conftest.$ac_objext
8762if { (ac_try="$ac_compile"
8763case "(($ac_try" in
8764  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765  *) ac_try_echo=$ac_try;;
8766esac
8767eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768  (eval "$ac_compile") 2>conftest.er1
8769  ac_status=$?
8770  grep -v '^ *+' conftest.er1 >conftest.err
8771  rm -f conftest.er1
8772  cat conftest.err >&5
8773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774  (exit $ac_status); } && {
8775	 test -z "$ac_c_werror_flag" ||
8776	 test ! -s conftest.err
8777       } && test -s conftest.$ac_objext; then
8778  ac_hi=$ac_mid
8779else
8780  echo "$as_me: failed program was:" >&5
8781sed 's/^/| /' conftest.$ac_ext >&5
8782
8783	ac_lo=`expr '(' $ac_mid ')' + 1`
8784fi
8785
8786rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8787done
8788case $ac_lo in
8789?*) ac_cv_sizeof_unsigned_long_int=$ac_lo;;
8790'') if test "$ac_cv_type_unsigned_long_int" = yes; then
8791     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int)
8792See \`config.log' for more details." >&5
8793echo "$as_me: error: cannot compute sizeof (unsigned long int)
8794See \`config.log' for more details." >&2;}
8795   { (exit 77); exit 77; }; }
8796   else
8797     ac_cv_sizeof_unsigned_long_int=0
8798   fi ;;
8799esac
8800else
8801  cat >conftest.$ac_ext <<_ACEOF
8802/* confdefs.h.  */
8803_ACEOF
8804cat confdefs.h >>conftest.$ac_ext
8805cat >>conftest.$ac_ext <<_ACEOF
8806/* end confdefs.h.  */
8807$ac_includes_default
8808   typedef unsigned long int ac__type_sizeof_;
8809static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8810static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8811#include <stdio.h>
8812#include <stdlib.h>
8813int
8814main ()
8815{
8816
8817  FILE *f = fopen ("conftest.val", "w");
8818  if (! f)
8819    return 1;
8820  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8821    {
8822      long int i = longval ();
8823      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8824	return 1;
8825      fprintf (f, "%ld\n", i);
8826    }
8827  else
8828    {
8829      unsigned long int i = ulongval ();
8830      if (i != ((long int) (sizeof (ac__type_sizeof_))))
8831	return 1;
8832      fprintf (f, "%lu\n", i);
8833    }
8834  return ferror (f) || fclose (f) != 0;
8835
8836  ;
8837  return 0;
8838}
8839_ACEOF
8840rm -f conftest$ac_exeext
8841if { (ac_try="$ac_link"
8842case "(($ac_try" in
8843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8844  *) ac_try_echo=$ac_try;;
8845esac
8846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8847  (eval "$ac_link") 2>&5
8848  ac_status=$?
8849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8851  { (case "(($ac_try" in
8852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8853  *) ac_try_echo=$ac_try;;
8854esac
8855eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8856  (eval "$ac_try") 2>&5
8857  ac_status=$?
8858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859  (exit $ac_status); }; }; then
8860  ac_cv_sizeof_unsigned_long_int=`cat conftest.val`
8861else
8862  echo "$as_me: program exited with status $ac_status" >&5
8863echo "$as_me: failed program was:" >&5
8864sed 's/^/| /' conftest.$ac_ext >&5
8865
8866( exit $ac_status )
8867if test "$ac_cv_type_unsigned_long_int" = yes; then
8868     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long int)
8869See \`config.log' for more details." >&5
8870echo "$as_me: error: cannot compute sizeof (unsigned long int)
8871See \`config.log' for more details." >&2;}
8872   { (exit 77); exit 77; }; }
8873   else
8874     ac_cv_sizeof_unsigned_long_int=0
8875   fi
8876fi
8877rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8878fi
8879rm -f conftest.val
8880fi
8881{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_int" >&5
8882echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_int" >&6; }
8883
8884
8885
8886cat >>confdefs.h <<_ACEOF
8887#define SIZEOF_UNSIGNED_LONG_INT $ac_cv_sizeof_unsigned_long_int
8888_ACEOF
8889
8890
8891{ echo "$as_me:$LINENO: checking for long long int" >&5
8892echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
8893if test "${ac_cv_type_long_long_int+set}" = set; then
8894  echo $ECHO_N "(cached) $ECHO_C" >&6
8895else
8896  cat >conftest.$ac_ext <<_ACEOF
8897/* confdefs.h.  */
8898_ACEOF
8899cat confdefs.h >>conftest.$ac_ext
8900cat >>conftest.$ac_ext <<_ACEOF
8901/* end confdefs.h.  */
8902$ac_includes_default
8903typedef long long int ac__type_new_;
8904int
8905main ()
8906{
8907if ((ac__type_new_ *) 0)
8908  return 0;
8909if (sizeof (ac__type_new_))
8910  return 0;
8911  ;
8912  return 0;
8913}
8914_ACEOF
8915rm -f conftest.$ac_objext
8916if { (ac_try="$ac_compile"
8917case "(($ac_try" in
8918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8919  *) ac_try_echo=$ac_try;;
8920esac
8921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8922  (eval "$ac_compile") 2>conftest.er1
8923  ac_status=$?
8924  grep -v '^ *+' conftest.er1 >conftest.err
8925  rm -f conftest.er1
8926  cat conftest.err >&5
8927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928  (exit $ac_status); } && {
8929	 test -z "$ac_c_werror_flag" ||
8930	 test ! -s conftest.err
8931       } && test -s conftest.$ac_objext; then
8932  ac_cv_type_long_long_int=yes
8933else
8934  echo "$as_me: failed program was:" >&5
8935sed 's/^/| /' conftest.$ac_ext >&5
8936
8937	ac_cv_type_long_long_int=no
8938fi
8939
8940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8941fi
8942{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
8943echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
8944
8945# The cast to long int works around a bug in the HP C Compiler
8946# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8947# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8948# This bug is HP SR number 8606223364.
8949{ echo "$as_me:$LINENO: checking size of long long int" >&5
8950echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; }
8951if test "${ac_cv_sizeof_long_long_int+set}" = set; then
8952  echo $ECHO_N "(cached) $ECHO_C" >&6
8953else
8954  if test "$cross_compiling" = yes; then
8955  # Depending upon the size, compute the lo and hi bounds.
8956cat >conftest.$ac_ext <<_ACEOF
8957/* confdefs.h.  */
8958_ACEOF
8959cat confdefs.h >>conftest.$ac_ext
8960cat >>conftest.$ac_ext <<_ACEOF
8961/* end confdefs.h.  */
8962$ac_includes_default
8963   typedef long long int ac__type_sizeof_;
8964int
8965main ()
8966{
8967static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8968test_array [0] = 0
8969
8970  ;
8971  return 0;
8972}
8973_ACEOF
8974rm -f conftest.$ac_objext
8975if { (ac_try="$ac_compile"
8976case "(($ac_try" in
8977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8978  *) ac_try_echo=$ac_try;;
8979esac
8980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8981  (eval "$ac_compile") 2>conftest.er1
8982  ac_status=$?
8983  grep -v '^ *+' conftest.er1 >conftest.err
8984  rm -f conftest.er1
8985  cat conftest.err >&5
8986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987  (exit $ac_status); } && {
8988	 test -z "$ac_c_werror_flag" ||
8989	 test ! -s conftest.err
8990       } && test -s conftest.$ac_objext; then
8991  ac_lo=0 ac_mid=0
8992  while :; do
8993    cat >conftest.$ac_ext <<_ACEOF
8994/* confdefs.h.  */
8995_ACEOF
8996cat confdefs.h >>conftest.$ac_ext
8997cat >>conftest.$ac_ext <<_ACEOF
8998/* end confdefs.h.  */
8999$ac_includes_default
9000   typedef long long int ac__type_sizeof_;
9001int
9002main ()
9003{
9004static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9005test_array [0] = 0
9006
9007  ;
9008  return 0;
9009}
9010_ACEOF
9011rm -f conftest.$ac_objext
9012if { (ac_try="$ac_compile"
9013case "(($ac_try" in
9014  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9015  *) ac_try_echo=$ac_try;;
9016esac
9017eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9018  (eval "$ac_compile") 2>conftest.er1
9019  ac_status=$?
9020  grep -v '^ *+' conftest.er1 >conftest.err
9021  rm -f conftest.er1
9022  cat conftest.err >&5
9023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024  (exit $ac_status); } && {
9025	 test -z "$ac_c_werror_flag" ||
9026	 test ! -s conftest.err
9027       } && test -s conftest.$ac_objext; then
9028  ac_hi=$ac_mid; break
9029else
9030  echo "$as_me: failed program was:" >&5
9031sed 's/^/| /' conftest.$ac_ext >&5
9032
9033	ac_lo=`expr $ac_mid + 1`
9034			if test $ac_lo -le $ac_mid; then
9035			  ac_lo= ac_hi=
9036			  break
9037			fi
9038			ac_mid=`expr 2 '*' $ac_mid + 1`
9039fi
9040
9041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9042  done
9043else
9044  echo "$as_me: failed program was:" >&5
9045sed 's/^/| /' conftest.$ac_ext >&5
9046
9047	cat >conftest.$ac_ext <<_ACEOF
9048/* confdefs.h.  */
9049_ACEOF
9050cat confdefs.h >>conftest.$ac_ext
9051cat >>conftest.$ac_ext <<_ACEOF
9052/* end confdefs.h.  */
9053$ac_includes_default
9054   typedef long long int ac__type_sizeof_;
9055int
9056main ()
9057{
9058static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9059test_array [0] = 0
9060
9061  ;
9062  return 0;
9063}
9064_ACEOF
9065rm -f conftest.$ac_objext
9066if { (ac_try="$ac_compile"
9067case "(($ac_try" in
9068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9069  *) ac_try_echo=$ac_try;;
9070esac
9071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9072  (eval "$ac_compile") 2>conftest.er1
9073  ac_status=$?
9074  grep -v '^ *+' conftest.er1 >conftest.err
9075  rm -f conftest.er1
9076  cat conftest.err >&5
9077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9078  (exit $ac_status); } && {
9079	 test -z "$ac_c_werror_flag" ||
9080	 test ! -s conftest.err
9081       } && test -s conftest.$ac_objext; then
9082  ac_hi=-1 ac_mid=-1
9083  while :; do
9084    cat >conftest.$ac_ext <<_ACEOF
9085/* confdefs.h.  */
9086_ACEOF
9087cat confdefs.h >>conftest.$ac_ext
9088cat >>conftest.$ac_ext <<_ACEOF
9089/* end confdefs.h.  */
9090$ac_includes_default
9091   typedef long long int ac__type_sizeof_;
9092int
9093main ()
9094{
9095static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9096test_array [0] = 0
9097
9098  ;
9099  return 0;
9100}
9101_ACEOF
9102rm -f conftest.$ac_objext
9103if { (ac_try="$ac_compile"
9104case "(($ac_try" in
9105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9106  *) ac_try_echo=$ac_try;;
9107esac
9108eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9109  (eval "$ac_compile") 2>conftest.er1
9110  ac_status=$?
9111  grep -v '^ *+' conftest.er1 >conftest.err
9112  rm -f conftest.er1
9113  cat conftest.err >&5
9114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9115  (exit $ac_status); } && {
9116	 test -z "$ac_c_werror_flag" ||
9117	 test ! -s conftest.err
9118       } && test -s conftest.$ac_objext; then
9119  ac_lo=$ac_mid; break
9120else
9121  echo "$as_me: failed program was:" >&5
9122sed 's/^/| /' conftest.$ac_ext >&5
9123
9124	ac_hi=`expr '(' $ac_mid ')' - 1`
9125			if test $ac_mid -le $ac_hi; then
9126			  ac_lo= ac_hi=
9127			  break
9128			fi
9129			ac_mid=`expr 2 '*' $ac_mid`
9130fi
9131
9132rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9133  done
9134else
9135  echo "$as_me: failed program was:" >&5
9136sed 's/^/| /' conftest.$ac_ext >&5
9137
9138	ac_lo= ac_hi=
9139fi
9140
9141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9142fi
9143
9144rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9145# Binary search between lo and hi bounds.
9146while test "x$ac_lo" != "x$ac_hi"; do
9147  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9148  cat >conftest.$ac_ext <<_ACEOF
9149/* confdefs.h.  */
9150_ACEOF
9151cat confdefs.h >>conftest.$ac_ext
9152cat >>conftest.$ac_ext <<_ACEOF
9153/* end confdefs.h.  */
9154$ac_includes_default
9155   typedef long long int ac__type_sizeof_;
9156int
9157main ()
9158{
9159static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9160test_array [0] = 0
9161
9162  ;
9163  return 0;
9164}
9165_ACEOF
9166rm -f conftest.$ac_objext
9167if { (ac_try="$ac_compile"
9168case "(($ac_try" in
9169  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9170  *) ac_try_echo=$ac_try;;
9171esac
9172eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9173  (eval "$ac_compile") 2>conftest.er1
9174  ac_status=$?
9175  grep -v '^ *+' conftest.er1 >conftest.err
9176  rm -f conftest.er1
9177  cat conftest.err >&5
9178  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179  (exit $ac_status); } && {
9180	 test -z "$ac_c_werror_flag" ||
9181	 test ! -s conftest.err
9182       } && test -s conftest.$ac_objext; then
9183  ac_hi=$ac_mid
9184else
9185  echo "$as_me: failed program was:" >&5
9186sed 's/^/| /' conftest.$ac_ext >&5
9187
9188	ac_lo=`expr '(' $ac_mid ')' + 1`
9189fi
9190
9191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9192done
9193case $ac_lo in
9194?*) ac_cv_sizeof_long_long_int=$ac_lo;;
9195'') if test "$ac_cv_type_long_long_int" = yes; then
9196     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
9197See \`config.log' for more details." >&5
9198echo "$as_me: error: cannot compute sizeof (long long int)
9199See \`config.log' for more details." >&2;}
9200   { (exit 77); exit 77; }; }
9201   else
9202     ac_cv_sizeof_long_long_int=0
9203   fi ;;
9204esac
9205else
9206  cat >conftest.$ac_ext <<_ACEOF
9207/* confdefs.h.  */
9208_ACEOF
9209cat confdefs.h >>conftest.$ac_ext
9210cat >>conftest.$ac_ext <<_ACEOF
9211/* end confdefs.h.  */
9212$ac_includes_default
9213   typedef long long int ac__type_sizeof_;
9214static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9215static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9216#include <stdio.h>
9217#include <stdlib.h>
9218int
9219main ()
9220{
9221
9222  FILE *f = fopen ("conftest.val", "w");
9223  if (! f)
9224    return 1;
9225  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9226    {
9227      long int i = longval ();
9228      if (i != ((long int) (sizeof (ac__type_sizeof_))))
9229	return 1;
9230      fprintf (f, "%ld\n", i);
9231    }
9232  else
9233    {
9234      unsigned long int i = ulongval ();
9235      if (i != ((long int) (sizeof (ac__type_sizeof_))))
9236	return 1;
9237      fprintf (f, "%lu\n", i);
9238    }
9239  return ferror (f) || fclose (f) != 0;
9240
9241  ;
9242  return 0;
9243}
9244_ACEOF
9245rm -f conftest$ac_exeext
9246if { (ac_try="$ac_link"
9247case "(($ac_try" in
9248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9249  *) ac_try_echo=$ac_try;;
9250esac
9251eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9252  (eval "$ac_link") 2>&5
9253  ac_status=$?
9254  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9256  { (case "(($ac_try" in
9257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9258  *) ac_try_echo=$ac_try;;
9259esac
9260eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9261  (eval "$ac_try") 2>&5
9262  ac_status=$?
9263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264  (exit $ac_status); }; }; then
9265  ac_cv_sizeof_long_long_int=`cat conftest.val`
9266else
9267  echo "$as_me: program exited with status $ac_status" >&5
9268echo "$as_me: failed program was:" >&5
9269sed 's/^/| /' conftest.$ac_ext >&5
9270
9271( exit $ac_status )
9272if test "$ac_cv_type_long_long_int" = yes; then
9273     { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
9274See \`config.log' for more details." >&5
9275echo "$as_me: error: cannot compute sizeof (long long int)
9276See \`config.log' for more details." >&2;}
9277   { (exit 77); exit 77; }; }
9278   else
9279     ac_cv_sizeof_long_long_int=0
9280   fi
9281fi
9282rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9283fi
9284rm -f conftest.val
9285fi
9286{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
9287echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; }
9288
9289
9290
9291cat >>confdefs.h <<_ACEOF
9292#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
9293_ACEOF
9294
9295
9296{ echo "$as_me:$LINENO: checking for unsigned long long int" >&5
9297echo $ECHO_N "checking for unsigned long long int... $ECHO_C" >&6; }
9298if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
9299  echo $ECHO_N "(cached) $ECHO_C" >&6
9300else
9301  cat >conftest.$ac_ext <<_ACEOF
9302/* confdefs.h.  */
9303_ACEOF
9304cat confdefs.h >>conftest.$ac_ext
9305cat >>conftest.$ac_ext <<_ACEOF
9306/* end confdefs.h.  */
9307$ac_includes_default
9308typedef unsigned long long int ac__type_new_;
9309int
9310main ()
9311{
9312if ((ac__type_new_ *) 0)
9313  return 0;
9314if (sizeof (ac__type_new_))
9315  return 0;
9316  ;
9317  return 0;
9318}
9319_ACEOF
9320rm -f conftest.$ac_objext
9321if { (ac_try="$ac_compile"
9322case "(($ac_try" in
9323  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9324  *) ac_try_echo=$ac_try;;
9325esac
9326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9327  (eval "$ac_compile") 2>conftest.er1
9328  ac_status=$?
9329  grep -v '^ *+' conftest.er1 >conftest.err
9330  rm -f conftest.er1
9331  cat conftest.err >&5
9332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333  (exit $ac_status); } && {
9334	 test -z "$ac_c_werror_flag" ||
9335	 test ! -s conftest.err
9336       } && test -s conftest.$ac_objext; then
9337  ac_cv_type_unsigned_long_long_int=yes
9338else
9339  echo "$as_me: failed program was:" >&5
9340sed 's/^/| /' conftest.$ac_ext >&5
9341
9342	ac_cv_type_unsigned_long_long_int=no
9343fi
9344
9345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9346fi
9347{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
9348echo "${ECHO_T}$ac_cv_type_unsigned_long_long_int" >&6; }
9349
9350# The cast to long int works around a bug in the HP C Compiler
9351# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9352# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9353# This bug is HP SR number 8606223364.
9354{ echo "$as_me:$LINENO: checking size of unsigned long long int" >&5
9355echo $ECHO_N "checking size of unsigned long long int... $ECHO_C" >&6; }
9356if test "${ac_cv_sizeof_unsigned_long_long_int+set}" = set; then
9357  echo $ECHO_N "(cached) $ECHO_C" >&6
9358else
9359  if test "$cross_compiling" = yes; then
9360  # Depending upon the size, compute the lo and hi bounds.
9361cat >conftest.$ac_ext <<_ACEOF
9362/* confdefs.h.  */
9363_ACEOF
9364cat confdefs.h >>conftest.$ac_ext
9365cat >>conftest.$ac_ext <<_ACEOF
9366/* end confdefs.h.  */
9367$ac_includes_default
9368   typedef unsigned long long int ac__type_sizeof_;
9369int
9370main ()
9371{
9372static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9373test_array [0] = 0
9374
9375  ;
9376  return 0;
9377}
9378_ACEOF
9379rm -f conftest.$ac_objext
9380if { (ac_try="$ac_compile"
9381case "(($ac_try" in
9382  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9383  *) ac_try_echo=$ac_try;;
9384esac
9385eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9386  (eval "$ac_compile") 2>conftest.er1
9387  ac_status=$?
9388  grep -v '^ *+' conftest.er1 >conftest.err
9389  rm -f conftest.er1
9390  cat conftest.err >&5
9391  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9392  (exit $ac_status); } && {
9393	 test -z "$ac_c_werror_flag" ||
9394	 test ! -s conftest.err
9395       } && test -s conftest.$ac_objext; then
9396  ac_lo=0 ac_mid=0
9397  while :; do
9398    cat >conftest.$ac_ext <<_ACEOF
9399/* confdefs.h.  */
9400_ACEOF
9401cat confdefs.h >>conftest.$ac_ext
9402cat >>conftest.$ac_ext <<_ACEOF
9403/* end confdefs.h.  */
9404$ac_includes_default
9405   typedef unsigned long long int ac__type_sizeof_;
9406int
9407main ()
9408{
9409static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9410test_array [0] = 0
9411
9412  ;
9413  return 0;
9414}
9415_ACEOF
9416rm -f conftest.$ac_objext
9417if { (ac_try="$ac_compile"
9418case "(($ac_try" in
9419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9420  *) ac_try_echo=$ac_try;;
9421esac
9422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9423  (eval "$ac_compile") 2>conftest.er1
9424  ac_status=$?
9425  grep -v '^ *+' conftest.er1 >conftest.err
9426  rm -f conftest.er1
9427  cat conftest.err >&5
9428  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429  (exit $ac_status); } && {
9430	 test -z "$ac_c_werror_flag" ||
9431	 test ! -s conftest.err
9432       } && test -s conftest.$ac_objext; then
9433  ac_hi=$ac_mid; break
9434else
9435  echo "$as_me: failed program was:" >&5
9436sed 's/^/| /' conftest.$ac_ext >&5
9437
9438	ac_lo=`expr $ac_mid + 1`
9439			if test $ac_lo -le $ac_mid; then
9440			  ac_lo= ac_hi=
9441			  break
9442			fi
9443			ac_mid=`expr 2 '*' $ac_mid + 1`
9444fi
9445
9446rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9447  done
9448else
9449  echo "$as_me: failed program was:" >&5
9450sed 's/^/| /' conftest.$ac_ext >&5
9451
9452	cat >conftest.$ac_ext <<_ACEOF
9453/* confdefs.h.  */
9454_ACEOF
9455cat confdefs.h >>conftest.$ac_ext
9456cat >>conftest.$ac_ext <<_ACEOF
9457/* end confdefs.h.  */
9458$ac_includes_default
9459   typedef unsigned long long int ac__type_sizeof_;
9460int
9461main ()
9462{
9463static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9464test_array [0] = 0
9465
9466  ;
9467  return 0;
9468}
9469_ACEOF
9470rm -f conftest.$ac_objext
9471if { (ac_try="$ac_compile"
9472case "(($ac_try" in
9473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9474  *) ac_try_echo=$ac_try;;
9475esac
9476eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477  (eval "$ac_compile") 2>conftest.er1
9478  ac_status=$?
9479  grep -v '^ *+' conftest.er1 >conftest.err
9480  rm -f conftest.er1
9481  cat conftest.err >&5
9482  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483  (exit $ac_status); } && {
9484	 test -z "$ac_c_werror_flag" ||
9485	 test ! -s conftest.err
9486       } && test -s conftest.$ac_objext; then
9487  ac_hi=-1 ac_mid=-1
9488  while :; do
9489    cat >conftest.$ac_ext <<_ACEOF
9490/* confdefs.h.  */
9491_ACEOF
9492cat confdefs.h >>conftest.$ac_ext
9493cat >>conftest.$ac_ext <<_ACEOF
9494/* end confdefs.h.  */
9495$ac_includes_default
9496   typedef unsigned long long int ac__type_sizeof_;
9497int
9498main ()
9499{
9500static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9501test_array [0] = 0
9502
9503  ;
9504  return 0;
9505}
9506_ACEOF
9507rm -f conftest.$ac_objext
9508if { (ac_try="$ac_compile"
9509case "(($ac_try" in
9510  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511  *) ac_try_echo=$ac_try;;
9512esac
9513eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514  (eval "$ac_compile") 2>conftest.er1
9515  ac_status=$?
9516  grep -v '^ *+' conftest.er1 >conftest.err
9517  rm -f conftest.er1
9518  cat conftest.err >&5
9519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520  (exit $ac_status); } && {
9521	 test -z "$ac_c_werror_flag" ||
9522	 test ! -s conftest.err
9523       } && test -s conftest.$ac_objext; then
9524  ac_lo=$ac_mid; break
9525else
9526  echo "$as_me: failed program was:" >&5
9527sed 's/^/| /' conftest.$ac_ext >&5
9528
9529	ac_hi=`expr '(' $ac_mid ')' - 1`
9530			if test $ac_mid -le $ac_hi; then
9531			  ac_lo= ac_hi=
9532			  break
9533			fi
9534			ac_mid=`expr 2 '*' $ac_mid`
9535fi
9536
9537rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9538  done
9539else
9540  echo "$as_me: failed program was:" >&5
9541sed 's/^/| /' conftest.$ac_ext >&5
9542
9543	ac_lo= ac_hi=
9544fi
9545
9546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9547fi
9548
9549rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9550# Binary search between lo and hi bounds.
9551while test "x$ac_lo" != "x$ac_hi"; do
9552  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9553  cat >conftest.$ac_ext <<_ACEOF
9554/* confdefs.h.  */
9555_ACEOF
9556cat confdefs.h >>conftest.$ac_ext
9557cat >>conftest.$ac_ext <<_ACEOF
9558/* end confdefs.h.  */
9559$ac_includes_default
9560   typedef unsigned long long int ac__type_sizeof_;
9561int
9562main ()
9563{
9564static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9565test_array [0] = 0
9566
9567  ;
9568  return 0;
9569}
9570_ACEOF
9571rm -f conftest.$ac_objext
9572if { (ac_try="$ac_compile"
9573case "(($ac_try" in
9574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9575  *) ac_try_echo=$ac_try;;
9576esac
9577eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9578  (eval "$ac_compile") 2>conftest.er1
9579  ac_status=$?
9580  grep -v '^ *+' conftest.er1 >conftest.err
9581  rm -f conftest.er1
9582  cat conftest.err >&5
9583  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584  (exit $ac_status); } && {
9585	 test -z "$ac_c_werror_flag" ||
9586	 test ! -s conftest.err
9587       } && test -s conftest.$ac_objext; then
9588  ac_hi=$ac_mid
9589else
9590  echo "$as_me: failed program was:" >&5
9591sed 's/^/| /' conftest.$ac_ext >&5
9592
9593	ac_lo=`expr '(' $ac_mid ')' + 1`
9594fi
9595
9596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9597done
9598case $ac_lo in
9599?*) ac_cv_sizeof_unsigned_long_long_int=$ac_lo;;
9600'') if test "$ac_cv_type_unsigned_long_long_int" = yes; then
9601     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long int)
9602See \`config.log' for more details." >&5
9603echo "$as_me: error: cannot compute sizeof (unsigned long long int)
9604See \`config.log' for more details." >&2;}
9605   { (exit 77); exit 77; }; }
9606   else
9607     ac_cv_sizeof_unsigned_long_long_int=0
9608   fi ;;
9609esac
9610else
9611  cat >conftest.$ac_ext <<_ACEOF
9612/* confdefs.h.  */
9613_ACEOF
9614cat confdefs.h >>conftest.$ac_ext
9615cat >>conftest.$ac_ext <<_ACEOF
9616/* end confdefs.h.  */
9617$ac_includes_default
9618   typedef unsigned long long int ac__type_sizeof_;
9619static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9620static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9621#include <stdio.h>
9622#include <stdlib.h>
9623int
9624main ()
9625{
9626
9627  FILE *f = fopen ("conftest.val", "w");
9628  if (! f)
9629    return 1;
9630  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9631    {
9632      long int i = longval ();
9633      if (i != ((long int) (sizeof (ac__type_sizeof_))))
9634	return 1;
9635      fprintf (f, "%ld\n", i);
9636    }
9637  else
9638    {
9639      unsigned long int i = ulongval ();
9640      if (i != ((long int) (sizeof (ac__type_sizeof_))))
9641	return 1;
9642      fprintf (f, "%lu\n", i);
9643    }
9644  return ferror (f) || fclose (f) != 0;
9645
9646  ;
9647  return 0;
9648}
9649_ACEOF
9650rm -f conftest$ac_exeext
9651if { (ac_try="$ac_link"
9652case "(($ac_try" in
9653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9654  *) ac_try_echo=$ac_try;;
9655esac
9656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9657  (eval "$ac_link") 2>&5
9658  ac_status=$?
9659  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9660  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9661  { (case "(($ac_try" in
9662  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9663  *) ac_try_echo=$ac_try;;
9664esac
9665eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666  (eval "$ac_try") 2>&5
9667  ac_status=$?
9668  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669  (exit $ac_status); }; }; then
9670  ac_cv_sizeof_unsigned_long_long_int=`cat conftest.val`
9671else
9672  echo "$as_me: program exited with status $ac_status" >&5
9673echo "$as_me: failed program was:" >&5
9674sed 's/^/| /' conftest.$ac_ext >&5
9675
9676( exit $ac_status )
9677if test "$ac_cv_type_unsigned_long_long_int" = yes; then
9678     { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long int)
9679See \`config.log' for more details." >&5
9680echo "$as_me: error: cannot compute sizeof (unsigned long long int)
9681See \`config.log' for more details." >&2;}
9682   { (exit 77); exit 77; }; }
9683   else
9684     ac_cv_sizeof_unsigned_long_long_int=0
9685   fi
9686fi
9687rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9688fi
9689rm -f conftest.val
9690fi
9691{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long_int" >&5
9692echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long_int" >&6; }
9693
9694
9695
9696cat >>confdefs.h <<_ACEOF
9697#define SIZEOF_UNSIGNED_LONG_LONG_INT $ac_cv_sizeof_unsigned_long_long_int
9698_ACEOF
9699
9700
9701
9702{ echo "$as_me:$LINENO: checking for sa_family_t" >&5
9703echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; }
9704if test "${ac_cv_type_sa_family_t+set}" = set; then
9705  echo $ECHO_N "(cached) $ECHO_C" >&6
9706else
9707  cat >conftest.$ac_ext <<_ACEOF
9708/* confdefs.h.  */
9709_ACEOF
9710cat confdefs.h >>conftest.$ac_ext
9711cat >>conftest.$ac_ext <<_ACEOF
9712/* end confdefs.h.  */
9713
9714#include <stdio.h>
9715#include <sys/socket.h>
9716#include <netinet/in.h>
9717
9718
9719typedef sa_family_t ac__type_new_;
9720int
9721main ()
9722{
9723if ((ac__type_new_ *) 0)
9724  return 0;
9725if (sizeof (ac__type_new_))
9726  return 0;
9727  ;
9728  return 0;
9729}
9730_ACEOF
9731rm -f conftest.$ac_objext
9732if { (ac_try="$ac_compile"
9733case "(($ac_try" in
9734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9735  *) ac_try_echo=$ac_try;;
9736esac
9737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738  (eval "$ac_compile") 2>conftest.er1
9739  ac_status=$?
9740  grep -v '^ *+' conftest.er1 >conftest.err
9741  rm -f conftest.er1
9742  cat conftest.err >&5
9743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744  (exit $ac_status); } && {
9745	 test -z "$ac_c_werror_flag" ||
9746	 test ! -s conftest.err
9747       } && test -s conftest.$ac_objext; then
9748  ac_cv_type_sa_family_t=yes
9749else
9750  echo "$as_me: failed program was:" >&5
9751sed 's/^/| /' conftest.$ac_ext >&5
9752
9753	ac_cv_type_sa_family_t=no
9754fi
9755
9756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9757fi
9758{ echo "$as_me:$LINENO: result: $ac_cv_type_sa_family_t" >&5
9759echo "${ECHO_T}$ac_cv_type_sa_family_t" >&6; }
9760
9761# The cast to long int works around a bug in the HP C Compiler
9762# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9763# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9764# This bug is HP SR number 8606223364.
9765{ echo "$as_me:$LINENO: checking size of sa_family_t" >&5
9766echo $ECHO_N "checking size of sa_family_t... $ECHO_C" >&6; }
9767if test "${ac_cv_sizeof_sa_family_t+set}" = set; then
9768  echo $ECHO_N "(cached) $ECHO_C" >&6
9769else
9770  if test "$cross_compiling" = yes; then
9771  # Depending upon the size, compute the lo and hi bounds.
9772cat >conftest.$ac_ext <<_ACEOF
9773/* confdefs.h.  */
9774_ACEOF
9775cat confdefs.h >>conftest.$ac_ext
9776cat >>conftest.$ac_ext <<_ACEOF
9777/* end confdefs.h.  */
9778
9779#include <stdio.h>
9780#include <sys/socket.h>
9781#include <netinet/in.h>
9782
9783
9784   typedef sa_family_t ac__type_sizeof_;
9785int
9786main ()
9787{
9788static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9789test_array [0] = 0
9790
9791  ;
9792  return 0;
9793}
9794_ACEOF
9795rm -f conftest.$ac_objext
9796if { (ac_try="$ac_compile"
9797case "(($ac_try" in
9798  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9799  *) ac_try_echo=$ac_try;;
9800esac
9801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9802  (eval "$ac_compile") 2>conftest.er1
9803  ac_status=$?
9804  grep -v '^ *+' conftest.er1 >conftest.err
9805  rm -f conftest.er1
9806  cat conftest.err >&5
9807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808  (exit $ac_status); } && {
9809	 test -z "$ac_c_werror_flag" ||
9810	 test ! -s conftest.err
9811       } && test -s conftest.$ac_objext; then
9812  ac_lo=0 ac_mid=0
9813  while :; do
9814    cat >conftest.$ac_ext <<_ACEOF
9815/* confdefs.h.  */
9816_ACEOF
9817cat confdefs.h >>conftest.$ac_ext
9818cat >>conftest.$ac_ext <<_ACEOF
9819/* end confdefs.h.  */
9820
9821#include <stdio.h>
9822#include <sys/socket.h>
9823#include <netinet/in.h>
9824
9825
9826   typedef sa_family_t ac__type_sizeof_;
9827int
9828main ()
9829{
9830static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9831test_array [0] = 0
9832
9833  ;
9834  return 0;
9835}
9836_ACEOF
9837rm -f conftest.$ac_objext
9838if { (ac_try="$ac_compile"
9839case "(($ac_try" in
9840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9841  *) ac_try_echo=$ac_try;;
9842esac
9843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9844  (eval "$ac_compile") 2>conftest.er1
9845  ac_status=$?
9846  grep -v '^ *+' conftest.er1 >conftest.err
9847  rm -f conftest.er1
9848  cat conftest.err >&5
9849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850  (exit $ac_status); } && {
9851	 test -z "$ac_c_werror_flag" ||
9852	 test ! -s conftest.err
9853       } && test -s conftest.$ac_objext; then
9854  ac_hi=$ac_mid; break
9855else
9856  echo "$as_me: failed program was:" >&5
9857sed 's/^/| /' conftest.$ac_ext >&5
9858
9859	ac_lo=`expr $ac_mid + 1`
9860			if test $ac_lo -le $ac_mid; then
9861			  ac_lo= ac_hi=
9862			  break
9863			fi
9864			ac_mid=`expr 2 '*' $ac_mid + 1`
9865fi
9866
9867rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9868  done
9869else
9870  echo "$as_me: failed program was:" >&5
9871sed 's/^/| /' conftest.$ac_ext >&5
9872
9873	cat >conftest.$ac_ext <<_ACEOF
9874/* confdefs.h.  */
9875_ACEOF
9876cat confdefs.h >>conftest.$ac_ext
9877cat >>conftest.$ac_ext <<_ACEOF
9878/* end confdefs.h.  */
9879
9880#include <stdio.h>
9881#include <sys/socket.h>
9882#include <netinet/in.h>
9883
9884
9885   typedef sa_family_t ac__type_sizeof_;
9886int
9887main ()
9888{
9889static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9890test_array [0] = 0
9891
9892  ;
9893  return 0;
9894}
9895_ACEOF
9896rm -f conftest.$ac_objext
9897if { (ac_try="$ac_compile"
9898case "(($ac_try" in
9899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9900  *) ac_try_echo=$ac_try;;
9901esac
9902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9903  (eval "$ac_compile") 2>conftest.er1
9904  ac_status=$?
9905  grep -v '^ *+' conftest.er1 >conftest.err
9906  rm -f conftest.er1
9907  cat conftest.err >&5
9908  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909  (exit $ac_status); } && {
9910	 test -z "$ac_c_werror_flag" ||
9911	 test ! -s conftest.err
9912       } && test -s conftest.$ac_objext; then
9913  ac_hi=-1 ac_mid=-1
9914  while :; do
9915    cat >conftest.$ac_ext <<_ACEOF
9916/* confdefs.h.  */
9917_ACEOF
9918cat confdefs.h >>conftest.$ac_ext
9919cat >>conftest.$ac_ext <<_ACEOF
9920/* end confdefs.h.  */
9921
9922#include <stdio.h>
9923#include <sys/socket.h>
9924#include <netinet/in.h>
9925
9926
9927   typedef sa_family_t ac__type_sizeof_;
9928int
9929main ()
9930{
9931static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9932test_array [0] = 0
9933
9934  ;
9935  return 0;
9936}
9937_ACEOF
9938rm -f conftest.$ac_objext
9939if { (ac_try="$ac_compile"
9940case "(($ac_try" in
9941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9942  *) ac_try_echo=$ac_try;;
9943esac
9944eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9945  (eval "$ac_compile") 2>conftest.er1
9946  ac_status=$?
9947  grep -v '^ *+' conftest.er1 >conftest.err
9948  rm -f conftest.er1
9949  cat conftest.err >&5
9950  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951  (exit $ac_status); } && {
9952	 test -z "$ac_c_werror_flag" ||
9953	 test ! -s conftest.err
9954       } && test -s conftest.$ac_objext; then
9955  ac_lo=$ac_mid; break
9956else
9957  echo "$as_me: failed program was:" >&5
9958sed 's/^/| /' conftest.$ac_ext >&5
9959
9960	ac_hi=`expr '(' $ac_mid ')' - 1`
9961			if test $ac_mid -le $ac_hi; then
9962			  ac_lo= ac_hi=
9963			  break
9964			fi
9965			ac_mid=`expr 2 '*' $ac_mid`
9966fi
9967
9968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9969  done
9970else
9971  echo "$as_me: failed program was:" >&5
9972sed 's/^/| /' conftest.$ac_ext >&5
9973
9974	ac_lo= ac_hi=
9975fi
9976
9977rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9978fi
9979
9980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9981# Binary search between lo and hi bounds.
9982while test "x$ac_lo" != "x$ac_hi"; do
9983  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9984  cat >conftest.$ac_ext <<_ACEOF
9985/* confdefs.h.  */
9986_ACEOF
9987cat confdefs.h >>conftest.$ac_ext
9988cat >>conftest.$ac_ext <<_ACEOF
9989/* end confdefs.h.  */
9990
9991#include <stdio.h>
9992#include <sys/socket.h>
9993#include <netinet/in.h>
9994
9995
9996   typedef sa_family_t ac__type_sizeof_;
9997int
9998main ()
9999{
10000static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10001test_array [0] = 0
10002
10003  ;
10004  return 0;
10005}
10006_ACEOF
10007rm -f conftest.$ac_objext
10008if { (ac_try="$ac_compile"
10009case "(($ac_try" in
10010  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10011  *) ac_try_echo=$ac_try;;
10012esac
10013eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10014  (eval "$ac_compile") 2>conftest.er1
10015  ac_status=$?
10016  grep -v '^ *+' conftest.er1 >conftest.err
10017  rm -f conftest.er1
10018  cat conftest.err >&5
10019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020  (exit $ac_status); } && {
10021	 test -z "$ac_c_werror_flag" ||
10022	 test ! -s conftest.err
10023       } && test -s conftest.$ac_objext; then
10024  ac_hi=$ac_mid
10025else
10026  echo "$as_me: failed program was:" >&5
10027sed 's/^/| /' conftest.$ac_ext >&5
10028
10029	ac_lo=`expr '(' $ac_mid ')' + 1`
10030fi
10031
10032rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10033done
10034case $ac_lo in
10035?*) ac_cv_sizeof_sa_family_t=$ac_lo;;
10036'') if test "$ac_cv_type_sa_family_t" = yes; then
10037     { { echo "$as_me:$LINENO: error: cannot compute sizeof (sa_family_t)
10038See \`config.log' for more details." >&5
10039echo "$as_me: error: cannot compute sizeof (sa_family_t)
10040See \`config.log' for more details." >&2;}
10041   { (exit 77); exit 77; }; }
10042   else
10043     ac_cv_sizeof_sa_family_t=0
10044   fi ;;
10045esac
10046else
10047  cat >conftest.$ac_ext <<_ACEOF
10048/* confdefs.h.  */
10049_ACEOF
10050cat confdefs.h >>conftest.$ac_ext
10051cat >>conftest.$ac_ext <<_ACEOF
10052/* end confdefs.h.  */
10053
10054#include <stdio.h>
10055#include <sys/socket.h>
10056#include <netinet/in.h>
10057
10058
10059   typedef sa_family_t ac__type_sizeof_;
10060static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10061static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10062#include <stdio.h>
10063#include <stdlib.h>
10064int
10065main ()
10066{
10067
10068  FILE *f = fopen ("conftest.val", "w");
10069  if (! f)
10070    return 1;
10071  if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10072    {
10073      long int i = longval ();
10074      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10075	return 1;
10076      fprintf (f, "%ld\n", i);
10077    }
10078  else
10079    {
10080      unsigned long int i = ulongval ();
10081      if (i != ((long int) (sizeof (ac__type_sizeof_))))
10082	return 1;
10083      fprintf (f, "%lu\n", i);
10084    }
10085  return ferror (f) || fclose (f) != 0;
10086
10087  ;
10088  return 0;
10089}
10090_ACEOF
10091rm -f conftest$ac_exeext
10092if { (ac_try="$ac_link"
10093case "(($ac_try" in
10094  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10095  *) ac_try_echo=$ac_try;;
10096esac
10097eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10098  (eval "$ac_link") 2>&5
10099  ac_status=$?
10100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10102  { (case "(($ac_try" in
10103  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10104  *) ac_try_echo=$ac_try;;
10105esac
10106eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10107  (eval "$ac_try") 2>&5
10108  ac_status=$?
10109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110  (exit $ac_status); }; }; then
10111  ac_cv_sizeof_sa_family_t=`cat conftest.val`
10112else
10113  echo "$as_me: program exited with status $ac_status" >&5
10114echo "$as_me: failed program was:" >&5
10115sed 's/^/| /' conftest.$ac_ext >&5
10116
10117( exit $ac_status )
10118if test "$ac_cv_type_sa_family_t" = yes; then
10119     { { echo "$as_me:$LINENO: error: cannot compute sizeof (sa_family_t)
10120See \`config.log' for more details." >&5
10121echo "$as_me: error: cannot compute sizeof (sa_family_t)
10122See \`config.log' for more details." >&2;}
10123   { (exit 77); exit 77; }; }
10124   else
10125     ac_cv_sizeof_sa_family_t=0
10126   fi
10127fi
10128rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10129fi
10130rm -f conftest.val
10131fi
10132{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_sa_family_t" >&5
10133echo "${ECHO_T}$ac_cv_sizeof_sa_family_t" >&6; }
10134
10135
10136
10137cat >>confdefs.h <<_ACEOF
10138#define SIZEOF_SA_FAMILY_T $ac_cv_sizeof_sa_family_t
10139_ACEOF
10140
10141
10142
10143{ echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
10144echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; }
10145if test -d "/proc/$$/fd" ; then
10146
10147cat >>confdefs.h <<\_ACEOF
10148#define HAVE_PROC_PID
10149_ACEOF
10150
10151	{ echo "$as_me:$LINENO: result: yes" >&5
10152echo "${ECHO_T}yes" >&6; }
10153else
10154	{ echo "$as_me:$LINENO: result: no" >&5
10155echo "${ECHO_T}no" >&6; }
10156fi
10157
10158{ echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
10159echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; }
10160if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
10161  echo $ECHO_N "(cached) $ECHO_C" >&6
10162else
10163
10164	if test "$cross_compiling" = yes; then
10165  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10166See \`config.log' for more details." >&5
10167echo "$as_me: error: cannot run test program while cross compiling
10168See \`config.log' for more details." >&2;}
10169   { (exit 1); exit 1; }; }
10170else
10171  cat >conftest.$ac_ext <<_ACEOF
10172/* confdefs.h.  */
10173_ACEOF
10174cat confdefs.h >>conftest.$ac_ext
10175cat >>conftest.$ac_ext <<_ACEOF
10176/* end confdefs.h.  */
10177
10178#include <sys/types.h>
10179#include <sys/socket.h>
10180#include <sys/uio.h>
10181int main() {
10182#ifdef msg_accrights
10183exit(1);
10184#endif
10185struct msghdr m;
10186m.msg_accrights = 0;
10187exit(0);
10188}
10189
10190_ACEOF
10191rm -f conftest$ac_exeext
10192if { (ac_try="$ac_link"
10193case "(($ac_try" in
10194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10195  *) ac_try_echo=$ac_try;;
10196esac
10197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10198  (eval "$ac_link") 2>&5
10199  ac_status=$?
10200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10202  { (case "(($ac_try" in
10203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204  *) ac_try_echo=$ac_try;;
10205esac
10206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207  (eval "$ac_try") 2>&5
10208  ac_status=$?
10209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210  (exit $ac_status); }; }; then
10211   ac_cv_have_accrights_in_msghdr="yes"
10212else
10213  echo "$as_me: program exited with status $ac_status" >&5
10214echo "$as_me: failed program was:" >&5
10215sed 's/^/| /' conftest.$ac_ext >&5
10216
10217( exit $ac_status )
10218 ac_cv_have_accrights_in_msghdr="no"
10219
10220fi
10221rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10222fi
10223
10224
10225
10226fi
10227{ echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
10228echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; }
10229if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
10230
10231cat >>confdefs.h <<\_ACEOF
10232#define HAVE_ACCRIGHTS_IN_MSGHDR
10233_ACEOF
10234
10235fi
10236
10237{ echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
10238echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; }
10239if test "${ac_cv_have_control_in_msghdr+set}" = set; then
10240  echo $ECHO_N "(cached) $ECHO_C" >&6
10241else
10242
10243	if test "$cross_compiling" = yes; then
10244  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10245See \`config.log' for more details." >&5
10246echo "$as_me: error: cannot run test program while cross compiling
10247See \`config.log' for more details." >&2;}
10248   { (exit 1); exit 1; }; }
10249else
10250  cat >conftest.$ac_ext <<_ACEOF
10251/* confdefs.h.  */
10252_ACEOF
10253cat confdefs.h >>conftest.$ac_ext
10254cat >>conftest.$ac_ext <<_ACEOF
10255/* end confdefs.h.  */
10256
10257#include <sys/types.h>
10258#include <sys/socket.h>
10259#include <sys/uio.h>
10260int main() {
10261#ifdef msg_control
10262exit(1);
10263#endif
10264struct msghdr m;
10265m.msg_control = 0;
10266exit(0);
10267}
10268
10269_ACEOF
10270rm -f conftest$ac_exeext
10271if { (ac_try="$ac_link"
10272case "(($ac_try" in
10273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10274  *) ac_try_echo=$ac_try;;
10275esac
10276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10277  (eval "$ac_link") 2>&5
10278  ac_status=$?
10279  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10281  { (case "(($ac_try" in
10282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10283  *) ac_try_echo=$ac_try;;
10284esac
10285eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10286  (eval "$ac_try") 2>&5
10287  ac_status=$?
10288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289  (exit $ac_status); }; }; then
10290   ac_cv_have_control_in_msghdr="yes"
10291else
10292  echo "$as_me: program exited with status $ac_status" >&5
10293echo "$as_me: failed program was:" >&5
10294sed 's/^/| /' conftest.$ac_ext >&5
10295
10296( exit $ac_status )
10297 ac_cv_have_control_in_msghdr="no"
10298
10299fi
10300rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10301fi
10302
10303
10304
10305fi
10306{ echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
10307echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; }
10308if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
10309
10310cat >>confdefs.h <<\_ACEOF
10311#define HAVE_CONTROL_IN_MSGHDR
10312_ACEOF
10313
10314fi
10315
10316{ echo "$as_me:$LINENO: checking if libc defines __progname" >&5
10317echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; }
10318if test "${ac_cv_libc_defines___progname+set}" = set; then
10319  echo $ECHO_N "(cached) $ECHO_C" >&6
10320else
10321
10322	cat >conftest.$ac_ext <<_ACEOF
10323/* confdefs.h.  */
10324_ACEOF
10325cat confdefs.h >>conftest.$ac_ext
10326cat >>conftest.$ac_ext <<_ACEOF
10327/* end confdefs.h.  */
10328
10329int
10330main ()
10331{
10332 extern char *__progname; printf("%s", __progname);
10333  ;
10334  return 0;
10335}
10336_ACEOF
10337rm -f conftest.$ac_objext conftest$ac_exeext
10338if { (ac_try="$ac_link"
10339case "(($ac_try" in
10340  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10341  *) ac_try_echo=$ac_try;;
10342esac
10343eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10344  (eval "$ac_link") 2>conftest.er1
10345  ac_status=$?
10346  grep -v '^ *+' conftest.er1 >conftest.err
10347  rm -f conftest.er1
10348  cat conftest.err >&5
10349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350  (exit $ac_status); } && {
10351	 test -z "$ac_c_werror_flag" ||
10352	 test ! -s conftest.err
10353       } && test -s conftest$ac_exeext &&
10354       $as_test_x conftest$ac_exeext; then
10355   ac_cv_libc_defines___progname="yes"
10356else
10357  echo "$as_me: failed program was:" >&5
10358sed 's/^/| /' conftest.$ac_ext >&5
10359
10360	 ac_cv_libc_defines___progname="no"
10361
10362fi
10363
10364rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10365      conftest$ac_exeext conftest.$ac_ext
10366
10367fi
10368{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
10369echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; }
10370if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
10371
10372cat >>confdefs.h <<\_ACEOF
10373#define HAVE___PROGNAME
10374_ACEOF
10375
10376fi
10377
10378if test "x$ac_cv_type_uint8_t" = "xyes" ; then
10379
10380cat >>confdefs.h <<\_ACEOF
10381#define OUR_CFG_U_INT8_T uint8_t
10382_ACEOF
10383
10384elif test "x$ac_cv_sizeof_char" = "x1" ; then
10385
10386cat >>confdefs.h <<\_ACEOF
10387#define OUR_CFG_U_INT8_T unsigned char
10388_ACEOF
10389
10390else
10391	{ { echo "$as_me:$LINENO: error: No 8-bit unsigned int type found" >&5
10392echo "$as_me: error: No 8-bit unsigned int type found" >&2;}
10393   { (exit 1); exit 1; }; }
10394fi
10395if test "x$ac_cv_sizeof_char" = "x1" ; then
10396
10397cat >>confdefs.h <<\_ACEOF
10398#define OUR_CFG_INT8_T signed char
10399_ACEOF
10400
10401else
10402	{ { echo "$as_me:$LINENO: error: No 8-bit signed int type found" >&5
10403echo "$as_me: error: No 8-bit signed int type found" >&2;}
10404   { (exit 1); exit 1; }; }
10405fi
10406
10407if test "x$ac_cv_type_uint16_t" = "xyes" ; then
10408
10409cat >>confdefs.h <<\_ACEOF
10410#define OUR_CFG_U_INT16_T uint16_t
10411_ACEOF
10412
10413elif test "x$ac_cv_sizeof_short_int" = "x2" ; then
10414
10415cat >>confdefs.h <<\_ACEOF
10416#define OUR_CFG_U_INT16_T unsigned short int
10417_ACEOF
10418
10419else
10420	{ { echo "$as_me:$LINENO: error: No 16-bit unsigned int type found" >&5
10421echo "$as_me: error: No 16-bit unsigned int type found" >&2;}
10422   { (exit 1); exit 1; }; }
10423fi
10424if test "x$ac_cv_sizeof_short_int" = "x2" ; then
10425
10426cat >>confdefs.h <<\_ACEOF
10427#define OUR_CFG_INT16_T short int
10428_ACEOF
10429
10430else
10431	{ { echo "$as_me:$LINENO: error: No 16-bit signed int type found" >&5
10432echo "$as_me: error: No 16-bit signed int type found" >&2;}
10433   { (exit 1); exit 1; }; }
10434fi
10435
10436if test "x$ac_cv_type_uint32_t" = "xyes" ; then
10437
10438cat >>confdefs.h <<\_ACEOF
10439#define OUR_CFG_U_INT32_T uint32_t
10440_ACEOF
10441
10442elif test "x$ac_cv_sizeof_int" = "x4" ; then
10443
10444cat >>confdefs.h <<\_ACEOF
10445#define OUR_CFG_U_INT32_T unsigned int
10446_ACEOF
10447
10448else
10449	{ { echo "$as_me:$LINENO: error: No 32-bit unsigned int type found" >&5
10450echo "$as_me: error: No 32-bit unsigned int type found" >&2;}
10451   { (exit 1); exit 1; }; }
10452fi
10453if test "x$ac_cv_sizeof_int" = "x4" ; then
10454
10455cat >>confdefs.h <<\_ACEOF
10456#define OUR_CFG_INT32_T int
10457_ACEOF
10458
10459else
10460	{ { echo "$as_me:$LINENO: error: No 32-bit signed int type found" >&5
10461echo "$as_me: error: No 32-bit signed int type found" >&2;}
10462   { (exit 1); exit 1; }; }
10463fi
10464
10465if test "x$ac_cv_type_uint64_t" = "xyes" ; then
10466
10467cat >>confdefs.h <<\_ACEOF
10468#define OUR_CFG_U_INT64_T uint64_t
10469_ACEOF
10470
10471elif test "x$ac_cv_sizeof_long_int" = "x8" ; then
10472
10473cat >>confdefs.h <<\_ACEOF
10474#define OUR_CFG_U_INT64_T unsigned long int
10475_ACEOF
10476
10477elif test "x$ac_cv_sizeof_long_long_int" = "x8" ; then
10478
10479cat >>confdefs.h <<\_ACEOF
10480#define OUR_CFG_U_INT64_T unsigned long long int
10481_ACEOF
10482
10483else
10484	{ { echo "$as_me:$LINENO: error: No 64-bit unsigned int type found" >&5
10485echo "$as_me: error: No 64-bit unsigned int type found" >&2;}
10486   { (exit 1); exit 1; }; }
10487fi
10488if test "x$ac_cv_sizeof_long_int" = "x8" ; then
10489
10490cat >>confdefs.h <<\_ACEOF
10491#define OUR_CFG_INT64_T long int
10492_ACEOF
10493
10494elif test "x$ac_cv_sizeof_long_long_int" = "x8" ; then
10495
10496cat >>confdefs.h <<\_ACEOF
10497#define OUR_CFG_INT64_T long long int
10498_ACEOF
10499
10500else
10501	{ { echo "$as_me:$LINENO: error: No 64-bit signed int type found" >&5
10502echo "$as_me: error: No 64-bit signed int type found" >&2;}
10503   { (exit 1); exit 1; }; }
10504fi
10505
10506# Python structmember.h types
10507if test "x$ac_cv_sizeof_unsigned_char" = "x1" ; then
10508	FL_T_U8='T_UBYTE'
10509else
10510	{ { echo "$as_me:$LINENO: error: No 8-bit unsigned int type found" >&5
10511echo "$as_me: error: No 8-bit unsigned int type found" >&2;}
10512   { (exit 1); exit 1; }; }
10513fi
10514if test "x$ac_cv_sizeof_unsigned_short_int" = "x2" ; then
10515	FL_T_U16='T_USHORT'
10516elif test "x$ac_cv_sizeof_unsigned_int" = "x2" ; then
10517	FL_T_U16='T_UINT'
10518else
10519	{ { echo "$as_me:$LINENO: error: No 16-bit unsigned int type found" >&5
10520echo "$as_me: error: No 16-bit unsigned int type found" >&2;}
10521   { (exit 1); exit 1; }; }
10522fi
10523if test "x$ac_cv_sizeof_unsigned_long_int" = "x4" ; then
10524	FL_T_U32='T_ULONG'
10525elif test "x$ac_cv_sizeof_unsigned_int" = "x4" ; then
10526	FL_T_U32='T_UINT'
10527else
10528	{ { echo "$as_me:$LINENO: error: No 32-bit int type found" >&5
10529echo "$as_me: error: No 32-bit int type found" >&2;}
10530   { (exit 1); exit 1; }; }
10531fi
10532if test "x$ac_cv_sizeof_unsigned_char" = "x$ac_cv_sizeof_sa_family_t" ; then
10533	FL_T_AF='T_UBYTE'
10534elif test "x$ac_cv_sizeof_unsigned_short_int" = "x$ac_cv_sizeof_sa_family_t" ; then
10535	FL_T_AF='T_USHORT'
10536elif test "x$ac_cv_sizeof_unsigned_int" = "x$ac_cv_sizeof_sa_family_t" ; then
10537	FL_T_AF='T_UINT'
10538else
10539	{ { echo "$as_me:$LINENO: error: No 16-bit unsigned int type found" >&5
10540echo "$as_me: error: No 16-bit unsigned int type found" >&2;}
10541   { (exit 1); exit 1; }; }
10542fi
10543
10544
10545
10546
10547
10548piddir="${localstatedir}/run"
10549
10550	test "x$prefix" = xNONE && prefix="$ac_default_prefix"
10551	test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10552	ac_define_dir=`eval echo $piddir`
10553	ac_define_dir=`eval echo $ac_define_dir`
10554	PIDPATH="$ac_define_dir"
10555
10556
10557cat >>confdefs.h <<_ACEOF
10558#define PIDPATH "$ac_define_dir"
10559_ACEOF
10560
10561
10562
10563
10564	test "x$prefix" = xNONE && prefix="$ac_default_prefix"
10565	test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10566	ac_define_dir=`eval echo $sysconfdir`
10567	ac_define_dir=`eval echo $ac_define_dir`
10568	CONFPATH="$ac_define_dir"
10569
10570
10571cat >>confdefs.h <<_ACEOF
10572#define CONFPATH "$ac_define_dir"
10573_ACEOF
10574
10575
10576
10577
10578
10579ac_config_files="$ac_config_files Makefile flowd.8 flowd-reader.8 flowd.conf.5 flowd-pytypes.h"
10580
10581cat >confcache <<\_ACEOF
10582# This file is a shell script that caches the results of configure
10583# tests run on this system so they can be shared between configure
10584# scripts and configure runs, see configure's option --config-cache.
10585# It is not useful on other systems.  If it contains results you don't
10586# want to keep, you may remove or edit it.
10587#
10588# config.status only pays attention to the cache file if you give it
10589# the --recheck option to rerun configure.
10590#
10591# `ac_cv_env_foo' variables (set or unset) will be overridden when
10592# loading this file, other *unset* `ac_cv_foo' will be assigned the
10593# following values.
10594
10595_ACEOF
10596
10597# The following way of writing the cache mishandles newlines in values,
10598# but we know of no workaround that is simple, portable, and efficient.
10599# So, we kill variables containing newlines.
10600# Ultrix sh set writes to stderr and can't be redirected directly,
10601# and sets the high bit in the cache file unless we assign to the vars.
10602(
10603  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10604    eval ac_val=\$$ac_var
10605    case $ac_val in #(
10606    *${as_nl}*)
10607      case $ac_var in #(
10608      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10609echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10610      esac
10611      case $ac_var in #(
10612      _ | IFS | as_nl) ;; #(
10613      *) $as_unset $ac_var ;;
10614      esac ;;
10615    esac
10616  done
10617
10618  (set) 2>&1 |
10619    case $as_nl`(ac_space=' '; set) 2>&1` in #(
10620    *${as_nl}ac_space=\ *)
10621      # `set' does not quote correctly, so add quotes (double-quote
10622      # substitution turns \\\\ into \\, and sed turns \\ into \).
10623      sed -n \
10624	"s/'/'\\\\''/g;
10625	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10626      ;; #(
10627    *)
10628      # `set' quotes correctly as required by POSIX, so do not add quotes.
10629      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10630      ;;
10631    esac |
10632    sort
10633) |
10634  sed '
10635     /^ac_cv_env_/b end
10636     t clear
10637     :clear
10638     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10639     t end
10640     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10641     :end' >>confcache
10642if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10643  if test -w "$cache_file"; then
10644    test "x$cache_file" != "x/dev/null" &&
10645      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10646echo "$as_me: updating cache $cache_file" >&6;}
10647    cat confcache >$cache_file
10648  else
10649    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10650echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10651  fi
10652fi
10653rm -f confcache
10654
10655test "x$prefix" = xNONE && prefix=$ac_default_prefix
10656# Let make expand exec_prefix.
10657test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10658
10659DEFS=-DHAVE_CONFIG_H
10660
10661ac_libobjs=
10662ac_ltlibobjs=
10663for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10664  # 1. Remove the extension, and $U if already installed.
10665  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10666  ac_i=`echo "$ac_i" | sed "$ac_script"`
10667  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
10668  #    will be set to the directory where LIBOBJS objects are built.
10669  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10670  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10671done
10672LIBOBJS=$ac_libobjs
10673
10674LTLIBOBJS=$ac_ltlibobjs
10675
10676
10677
10678: ${CONFIG_STATUS=./config.status}
10679ac_clean_files_save=$ac_clean_files
10680ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10681{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10682echo "$as_me: creating $CONFIG_STATUS" >&6;}
10683cat >$CONFIG_STATUS <<_ACEOF
10684#! $SHELL
10685# Generated by $as_me.
10686# Run this file to recreate the current configuration.
10687# Compiler output produced by configure, useful for debugging
10688# configure, is in config.log if it exists.
10689
10690debug=false
10691ac_cs_recheck=false
10692ac_cs_silent=false
10693SHELL=\${CONFIG_SHELL-$SHELL}
10694_ACEOF
10695
10696cat >>$CONFIG_STATUS <<\_ACEOF
10697## --------------------- ##
10698## M4sh Initialization.  ##
10699## --------------------- ##
10700
10701# Be more Bourne compatible
10702DUALCASE=1; export DUALCASE # for MKS sh
10703if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10704  emulate sh
10705  NULLCMD=:
10706  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10707  # is contrary to our usage.  Disable this feature.
10708  alias -g '${1+"$@"}'='"$@"'
10709  setopt NO_GLOB_SUBST
10710else
10711  case `(set -o) 2>/dev/null` in
10712  *posix*) set -o posix ;;
10713esac
10714
10715fi
10716
10717
10718
10719
10720# PATH needs CR
10721# Avoid depending upon Character Ranges.
10722as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10723as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10724as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10725as_cr_digits='0123456789'
10726as_cr_alnum=$as_cr_Letters$as_cr_digits
10727
10728# The user is always right.
10729if test "${PATH_SEPARATOR+set}" != set; then
10730  echo "#! /bin/sh" >conf$$.sh
10731  echo  "exit 0"   >>conf$$.sh
10732  chmod +x conf$$.sh
10733  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10734    PATH_SEPARATOR=';'
10735  else
10736    PATH_SEPARATOR=:
10737  fi
10738  rm -f conf$$.sh
10739fi
10740
10741# Support unset when possible.
10742if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10743  as_unset=unset
10744else
10745  as_unset=false
10746fi
10747
10748
10749# IFS
10750# We need space, tab and new line, in precisely that order.  Quoting is
10751# there to prevent editors from complaining about space-tab.
10752# (If _AS_PATH_WALK were called with IFS unset, it would disable word
10753# splitting by setting IFS to empty value.)
10754as_nl='
10755'
10756IFS=" ""	$as_nl"
10757
10758# Find who we are.  Look in the path if we contain no directory separator.
10759case $0 in
10760  *[\\/]* ) as_myself=$0 ;;
10761  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10762for as_dir in $PATH
10763do
10764  IFS=$as_save_IFS
10765  test -z "$as_dir" && as_dir=.
10766  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10767done
10768IFS=$as_save_IFS
10769
10770     ;;
10771esac
10772# We did not find ourselves, most probably we were run as `sh COMMAND'
10773# in which case we are not to be found in the path.
10774if test "x$as_myself" = x; then
10775  as_myself=$0
10776fi
10777if test ! -f "$as_myself"; then
10778  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10779  { (exit 1); exit 1; }
10780fi
10781
10782# Work around bugs in pre-3.0 UWIN ksh.
10783for as_var in ENV MAIL MAILPATH
10784do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10785done
10786PS1='$ '
10787PS2='> '
10788PS4='+ '
10789
10790# NLS nuisances.
10791for as_var in \
10792  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10793  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10794  LC_TELEPHONE LC_TIME
10795do
10796  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10797    eval $as_var=C; export $as_var
10798  else
10799    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10800  fi
10801done
10802
10803# Required to use basename.
10804if expr a : '\(a\)' >/dev/null 2>&1 &&
10805   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10806  as_expr=expr
10807else
10808  as_expr=false
10809fi
10810
10811if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10812  as_basename=basename
10813else
10814  as_basename=false
10815fi
10816
10817
10818# Name of the executable.
10819as_me=`$as_basename -- "$0" ||
10820$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10821	 X"$0" : 'X\(//\)$' \| \
10822	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10823echo X/"$0" |
10824    sed '/^.*\/\([^/][^/]*\)\/*$/{
10825	    s//\1/
10826	    q
10827	  }
10828	  /^X\/\(\/\/\)$/{
10829	    s//\1/
10830	    q
10831	  }
10832	  /^X\/\(\/\).*/{
10833	    s//\1/
10834	    q
10835	  }
10836	  s/.*/./; q'`
10837
10838# CDPATH.
10839$as_unset CDPATH
10840
10841
10842
10843  as_lineno_1=$LINENO
10844  as_lineno_2=$LINENO
10845  test "x$as_lineno_1" != "x$as_lineno_2" &&
10846  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10847
10848  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10849  # uniformly replaced by the line number.  The first 'sed' inserts a
10850  # line-number line after each line using $LINENO; the second 'sed'
10851  # does the real work.  The second script uses 'N' to pair each
10852  # line-number line with the line containing $LINENO, and appends
10853  # trailing '-' during substitution so that $LINENO is not a special
10854  # case at line end.
10855  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10856  # scripts with optimization help from Paolo Bonzini.  Blame Lee
10857  # E. McMahon (1931-1989) for sed's syntax.  :-)
10858  sed -n '
10859    p
10860    /[$]LINENO/=
10861  ' <$as_myself |
10862    sed '
10863      s/[$]LINENO.*/&-/
10864      t lineno
10865      b
10866      :lineno
10867      N
10868      :loop
10869      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10870      t loop
10871      s/-\n.*//
10872    ' >$as_me.lineno &&
10873  chmod +x "$as_me.lineno" ||
10874    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10875   { (exit 1); exit 1; }; }
10876
10877  # Don't try to exec as it changes $[0], causing all sort of problems
10878  # (the dirname of $[0] is not the place where we might find the
10879  # original and so on.  Autoconf is especially sensitive to this).
10880  . "./$as_me.lineno"
10881  # Exit status is that of the last command.
10882  exit
10883}
10884
10885
10886if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10887  as_dirname=dirname
10888else
10889  as_dirname=false
10890fi
10891
10892ECHO_C= ECHO_N= ECHO_T=
10893case `echo -n x` in
10894-n*)
10895  case `echo 'x\c'` in
10896  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
10897  *)   ECHO_C='\c';;
10898  esac;;
10899*)
10900  ECHO_N='-n';;
10901esac
10902
10903if expr a : '\(a\)' >/dev/null 2>&1 &&
10904   test "X`expr 00001 : '.*\(...\)'`" = X001; then
10905  as_expr=expr
10906else
10907  as_expr=false
10908fi
10909
10910rm -f conf$$ conf$$.exe conf$$.file
10911if test -d conf$$.dir; then
10912  rm -f conf$$.dir/conf$$.file
10913else
10914  rm -f conf$$.dir
10915  mkdir conf$$.dir
10916fi
10917echo >conf$$.file
10918if ln -s conf$$.file conf$$ 2>/dev/null; then
10919  as_ln_s='ln -s'
10920  # ... but there are two gotchas:
10921  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10922  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10923  # In both cases, we have to default to `cp -p'.
10924  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10925    as_ln_s='cp -p'
10926elif ln conf$$.file conf$$ 2>/dev/null; then
10927  as_ln_s=ln
10928else
10929  as_ln_s='cp -p'
10930fi
10931rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10932rmdir conf$$.dir 2>/dev/null
10933
10934if mkdir -p . 2>/dev/null; then
10935  as_mkdir_p=:
10936else
10937  test -d ./-p && rmdir ./-p
10938  as_mkdir_p=false
10939fi
10940
10941if test -x / >/dev/null 2>&1; then
10942  as_test_x='test -x'
10943else
10944  if ls -dL / >/dev/null 2>&1; then
10945    as_ls_L_option=L
10946  else
10947    as_ls_L_option=
10948  fi
10949  as_test_x='
10950    eval sh -c '\''
10951      if test -d "$1"; then
10952        test -d "$1/.";
10953      else
10954	case $1 in
10955        -*)set "./$1";;
10956	esac;
10957	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10958	???[sx]*):;;*)false;;esac;fi
10959    '\'' sh
10960  '
10961fi
10962as_executable_p=$as_test_x
10963
10964# Sed expression to map a string onto a valid CPP name.
10965as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10966
10967# Sed expression to map a string onto a valid variable name.
10968as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10969
10970
10971exec 6>&1
10972
10973# Save the log message, to keep $[0] and so on meaningful, and to
10974# report actual input values of CONFIG_FILES etc. instead of their
10975# values after options handling.
10976ac_log="
10977This file was extended by $as_me, which was
10978generated by GNU Autoconf 2.61.  Invocation command line was
10979
10980  CONFIG_FILES    = $CONFIG_FILES
10981  CONFIG_HEADERS  = $CONFIG_HEADERS
10982  CONFIG_LINKS    = $CONFIG_LINKS
10983  CONFIG_COMMANDS = $CONFIG_COMMANDS
10984  $ $0 $@
10985
10986on `(hostname || uname -n) 2>/dev/null | sed 1q`
10987"
10988
10989_ACEOF
10990
10991cat >>$CONFIG_STATUS <<_ACEOF
10992# Files that config.status was made for.
10993config_files="$ac_config_files"
10994config_headers="$ac_config_headers"
10995
10996_ACEOF
10997
10998cat >>$CONFIG_STATUS <<\_ACEOF
10999ac_cs_usage="\
11000\`$as_me' instantiates files from templates according to the
11001current configuration.
11002
11003Usage: $0 [OPTIONS] [FILE]...
11004
11005  -h, --help       print this help, then exit
11006  -V, --version    print version number and configuration settings, then exit
11007  -q, --quiet      do not print progress messages
11008  -d, --debug      don't remove temporary files
11009      --recheck    update $as_me by reconfiguring in the same conditions
11010  --file=FILE[:TEMPLATE]
11011		   instantiate the configuration file FILE
11012  --header=FILE[:TEMPLATE]
11013		   instantiate the configuration header FILE
11014
11015Configuration files:
11016$config_files
11017
11018Configuration headers:
11019$config_headers
11020
11021Report bugs to <bug-autoconf@gnu.org>."
11022
11023_ACEOF
11024cat >>$CONFIG_STATUS <<_ACEOF
11025ac_cs_version="\\
11026config.status
11027configured by $0, generated by GNU Autoconf 2.61,
11028  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11029
11030Copyright (C) 2006 Free Software Foundation, Inc.
11031This config.status script is free software; the Free Software Foundation
11032gives unlimited permission to copy, distribute and modify it."
11033
11034ac_pwd='$ac_pwd'
11035srcdir='$srcdir'
11036INSTALL='$INSTALL'
11037_ACEOF
11038
11039cat >>$CONFIG_STATUS <<\_ACEOF
11040# If no file are specified by the user, then we need to provide default
11041# value.  By we need to know if files were specified by the user.
11042ac_need_defaults=:
11043while test $# != 0
11044do
11045  case $1 in
11046  --*=*)
11047    ac_option=`expr "X$1" : 'X\([^=]*\)='`
11048    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11049    ac_shift=:
11050    ;;
11051  *)
11052    ac_option=$1
11053    ac_optarg=$2
11054    ac_shift=shift
11055    ;;
11056  esac
11057
11058  case $ac_option in
11059  # Handling of the options.
11060  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11061    ac_cs_recheck=: ;;
11062  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11063    echo "$ac_cs_version"; exit ;;
11064  --debug | --debu | --deb | --de | --d | -d )
11065    debug=: ;;
11066  --file | --fil | --fi | --f )
11067    $ac_shift
11068    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11069    ac_need_defaults=false;;
11070  --header | --heade | --head | --hea )
11071    $ac_shift
11072    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11073    ac_need_defaults=false;;
11074  --he | --h)
11075    # Conflict between --help and --header
11076    { echo "$as_me: error: ambiguous option: $1
11077Try \`$0 --help' for more information." >&2
11078   { (exit 1); exit 1; }; };;
11079  --help | --hel | -h )
11080    echo "$ac_cs_usage"; exit ;;
11081  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11082  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11083    ac_cs_silent=: ;;
11084
11085  # This is an error.
11086  -*) { echo "$as_me: error: unrecognized option: $1
11087Try \`$0 --help' for more information." >&2
11088   { (exit 1); exit 1; }; } ;;
11089
11090  *) ac_config_targets="$ac_config_targets $1"
11091     ac_need_defaults=false ;;
11092
11093  esac
11094  shift
11095done
11096
11097ac_configure_extra_args=
11098
11099if $ac_cs_silent; then
11100  exec 6>/dev/null
11101  ac_configure_extra_args="$ac_configure_extra_args --silent"
11102fi
11103
11104_ACEOF
11105cat >>$CONFIG_STATUS <<_ACEOF
11106if \$ac_cs_recheck; then
11107  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11108  CONFIG_SHELL=$SHELL
11109  export CONFIG_SHELL
11110  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11111fi
11112
11113_ACEOF
11114cat >>$CONFIG_STATUS <<\_ACEOF
11115exec 5>>config.log
11116{
11117  echo
11118  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11119## Running $as_me. ##
11120_ASBOX
11121  echo "$ac_log"
11122} >&5
11123
11124_ACEOF
11125cat >>$CONFIG_STATUS <<_ACEOF
11126_ACEOF
11127
11128cat >>$CONFIG_STATUS <<\_ACEOF
11129
11130# Handling of arguments.
11131for ac_config_target in $ac_config_targets
11132do
11133  case $ac_config_target in
11134    "flowd-config.h") CONFIG_HEADERS="$CONFIG_HEADERS flowd-config.h" ;;
11135    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11136    "flowd.8") CONFIG_FILES="$CONFIG_FILES flowd.8" ;;
11137    "flowd-reader.8") CONFIG_FILES="$CONFIG_FILES flowd-reader.8" ;;
11138    "flowd.conf.5") CONFIG_FILES="$CONFIG_FILES flowd.conf.5" ;;
11139    "flowd-pytypes.h") CONFIG_FILES="$CONFIG_FILES flowd-pytypes.h" ;;
11140
11141  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11142echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11143   { (exit 1); exit 1; }; };;
11144  esac
11145done
11146
11147
11148# If the user did not use the arguments to specify the items to instantiate,
11149# then the envvar interface is used.  Set only those that are not.
11150# We use the long form for the default assignment because of an extremely
11151# bizarre bug on SunOS 4.1.3.
11152if $ac_need_defaults; then
11153  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11154  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11155fi
11156
11157# Have a temporary directory for convenience.  Make it in the build tree
11158# simply because there is no reason against having it here, and in addition,
11159# creating and moving files from /tmp can sometimes cause problems.
11160# Hook for its removal unless debugging.
11161# Note that there is a small window in which the directory will not be cleaned:
11162# after its creation but before its name has been assigned to `$tmp'.
11163$debug ||
11164{
11165  tmp=
11166  trap 'exit_status=$?
11167  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11168' 0
11169  trap '{ (exit 1); exit 1; }' 1 2 13 15
11170}
11171# Create a (secure) tmp directory for tmp files.
11172
11173{
11174  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11175  test -n "$tmp" && test -d "$tmp"
11176}  ||
11177{
11178  tmp=./conf$$-$RANDOM
11179  (umask 077 && mkdir "$tmp")
11180} ||
11181{
11182   echo "$me: cannot create a temporary directory in ." >&2
11183   { (exit 1); exit 1; }
11184}
11185
11186#
11187# Set up the sed scripts for CONFIG_FILES section.
11188#
11189
11190# No need to generate the scripts if there are no CONFIG_FILES.
11191# This happens for instance when ./config.status config.h
11192if test -n "$CONFIG_FILES"; then
11193
11194_ACEOF
11195
11196
11197
11198ac_delim='%!_!# '
11199for ac_last_try in false false false false false :; do
11200  cat >conf$$subs.sed <<_ACEOF
11201SHELL!$SHELL$ac_delim
11202PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11203PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11204PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11205PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11206PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11207PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11208exec_prefix!$exec_prefix$ac_delim
11209prefix!$prefix$ac_delim
11210program_transform_name!$program_transform_name$ac_delim
11211bindir!$bindir$ac_delim
11212sbindir!$sbindir$ac_delim
11213libexecdir!$libexecdir$ac_delim
11214datarootdir!$datarootdir$ac_delim
11215datadir!$datadir$ac_delim
11216sysconfdir!$sysconfdir$ac_delim
11217sharedstatedir!$sharedstatedir$ac_delim
11218localstatedir!$localstatedir$ac_delim
11219includedir!$includedir$ac_delim
11220oldincludedir!$oldincludedir$ac_delim
11221docdir!$docdir$ac_delim
11222infodir!$infodir$ac_delim
11223htmldir!$htmldir$ac_delim
11224dvidir!$dvidir$ac_delim
11225pdfdir!$pdfdir$ac_delim
11226psdir!$psdir$ac_delim
11227libdir!$libdir$ac_delim
11228localedir!$localedir$ac_delim
11229mandir!$mandir$ac_delim
11230DEFS!$DEFS$ac_delim
11231ECHO_C!$ECHO_C$ac_delim
11232ECHO_N!$ECHO_N$ac_delim
11233ECHO_T!$ECHO_T$ac_delim
11234LIBS!$LIBS$ac_delim
11235build_alias!$build_alias$ac_delim
11236host_alias!$host_alias$ac_delim
11237target_alias!$target_alias$ac_delim
11238PROGVER!$PROGVER$ac_delim
11239build!$build$ac_delim
11240build_cpu!$build_cpu$ac_delim
11241build_vendor!$build_vendor$ac_delim
11242build_os!$build_os$ac_delim
11243host!$host$ac_delim
11244host_cpu!$host_cpu$ac_delim
11245host_vendor!$host_vendor$ac_delim
11246host_os!$host_os$ac_delim
11247CC!$CC$ac_delim
11248CFLAGS!$CFLAGS$ac_delim
11249LDFLAGS!$LDFLAGS$ac_delim
11250CPPFLAGS!$CPPFLAGS$ac_delim
11251ac_ct_CC!$ac_ct_CC$ac_delim
11252EXEEXT!$EXEEXT$ac_delim
11253OBJEXT!$OBJEXT$ac_delim
11254INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11255INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11256INSTALL_DATA!$INSTALL_DATA$ac_delim
11257RANLIB!$RANLIB$ac_delim
11258CPP!$CPP$ac_delim
11259GREP!$GREP$ac_delim
11260EGREP!$EGREP$ac_delim
11261YACC!$YACC$ac_delim
11262BYACC!$BYACC$ac_delim
11263FL_T_U8!$FL_T_U8$ac_delim
11264FL_T_U16!$FL_T_U16$ac_delim
11265FL_T_U32!$FL_T_U32$ac_delim
11266FL_T_AF!$FL_T_AF$ac_delim
11267PIDPATH!$PIDPATH$ac_delim
11268CONFPATH!$CONFPATH$ac_delim
11269LIBOBJS!$LIBOBJS$ac_delim
11270LTLIBOBJS!$LTLIBOBJS$ac_delim
11271_ACEOF
11272
11273  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 70; then
11274    break
11275  elif $ac_last_try; then
11276    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11277echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11278   { (exit 1); exit 1; }; }
11279  else
11280    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11281  fi
11282done
11283
11284ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11285if test -n "$ac_eof"; then
11286  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11287  ac_eof=`expr $ac_eof + 1`
11288fi
11289
11290cat >>$CONFIG_STATUS <<_ACEOF
11291cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11292/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11293_ACEOF
11294sed '
11295s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11296s/^/s,@/; s/!/@,|#_!!_#|/
11297:n
11298t n
11299s/'"$ac_delim"'$/,g/; t
11300s/$/\\/; p
11301N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11302' >>$CONFIG_STATUS <conf$$subs.sed
11303rm -f conf$$subs.sed
11304cat >>$CONFIG_STATUS <<_ACEOF
11305:end
11306s/|#_!!_#|//g
11307CEOF$ac_eof
11308_ACEOF
11309
11310
11311# VPATH may cause trouble with some makes, so we remove $(srcdir),
11312# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11313# trailing colons and then remove the whole line if VPATH becomes empty
11314# (actually we leave an empty line to preserve line numbers).
11315if test "x$srcdir" = x.; then
11316  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
11317s/:*\$(srcdir):*/:/
11318s/:*\${srcdir}:*/:/
11319s/:*@srcdir@:*/:/
11320s/^\([^=]*=[	 ]*\):*/\1/
11321s/:*$//
11322s/^[^=]*=[	 ]*$//
11323}'
11324fi
11325
11326cat >>$CONFIG_STATUS <<\_ACEOF
11327fi # test -n "$CONFIG_FILES"
11328
11329
11330for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
11331do
11332  case $ac_tag in
11333  :[FHLC]) ac_mode=$ac_tag; continue;;
11334  esac
11335  case $ac_mode$ac_tag in
11336  :[FHL]*:*);;
11337  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11338echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11339   { (exit 1); exit 1; }; };;
11340  :[FH]-) ac_tag=-:-;;
11341  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11342  esac
11343  ac_save_IFS=$IFS
11344  IFS=:
11345  set x $ac_tag
11346  IFS=$ac_save_IFS
11347  shift
11348  ac_file=$1
11349  shift
11350
11351  case $ac_mode in
11352  :L) ac_source=$1;;
11353  :[FH])
11354    ac_file_inputs=
11355    for ac_f
11356    do
11357      case $ac_f in
11358      -) ac_f="$tmp/stdin";;
11359      *) # Look for the file first in the build tree, then in the source tree
11360	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
11361	 # because $ac_f cannot contain `:'.
11362	 test -f "$ac_f" ||
11363	   case $ac_f in
11364	   [\\/$]*) false;;
11365	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11366	   esac ||
11367	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11368echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11369   { (exit 1); exit 1; }; };;
11370      esac
11371      ac_file_inputs="$ac_file_inputs $ac_f"
11372    done
11373
11374    # Let's still pretend it is `configure' which instantiates (i.e., don't
11375    # use $as_me), people would be surprised to read:
11376    #    /* config.h.  Generated by config.status.  */
11377    configure_input="Generated from "`IFS=:
11378	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11379    if test x"$ac_file" != x-; then
11380      configure_input="$ac_file.  $configure_input"
11381      { echo "$as_me:$LINENO: creating $ac_file" >&5
11382echo "$as_me: creating $ac_file" >&6;}
11383    fi
11384
11385    case $ac_tag in
11386    *:-:* | *:-) cat >"$tmp/stdin";;
11387    esac
11388    ;;
11389  esac
11390
11391  ac_dir=`$as_dirname -- "$ac_file" ||
11392$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11393	 X"$ac_file" : 'X\(//\)[^/]' \| \
11394	 X"$ac_file" : 'X\(//\)$' \| \
11395	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11396echo X"$ac_file" |
11397    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11398	    s//\1/
11399	    q
11400	  }
11401	  /^X\(\/\/\)[^/].*/{
11402	    s//\1/
11403	    q
11404	  }
11405	  /^X\(\/\/\)$/{
11406	    s//\1/
11407	    q
11408	  }
11409	  /^X\(\/\).*/{
11410	    s//\1/
11411	    q
11412	  }
11413	  s/.*/./; q'`
11414  { as_dir="$ac_dir"
11415  case $as_dir in #(
11416  -*) as_dir=./$as_dir;;
11417  esac
11418  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11419    as_dirs=
11420    while :; do
11421      case $as_dir in #(
11422      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11423      *) as_qdir=$as_dir;;
11424      esac
11425      as_dirs="'$as_qdir' $as_dirs"
11426      as_dir=`$as_dirname -- "$as_dir" ||
11427$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11428	 X"$as_dir" : 'X\(//\)[^/]' \| \
11429	 X"$as_dir" : 'X\(//\)$' \| \
11430	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11431echo X"$as_dir" |
11432    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11433	    s//\1/
11434	    q
11435	  }
11436	  /^X\(\/\/\)[^/].*/{
11437	    s//\1/
11438	    q
11439	  }
11440	  /^X\(\/\/\)$/{
11441	    s//\1/
11442	    q
11443	  }
11444	  /^X\(\/\).*/{
11445	    s//\1/
11446	    q
11447	  }
11448	  s/.*/./; q'`
11449      test -d "$as_dir" && break
11450    done
11451    test -z "$as_dirs" || eval "mkdir $as_dirs"
11452  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11453echo "$as_me: error: cannot create directory $as_dir" >&2;}
11454   { (exit 1); exit 1; }; }; }
11455  ac_builddir=.
11456
11457case "$ac_dir" in
11458.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11459*)
11460  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11461  # A ".." for each directory in $ac_dir_suffix.
11462  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11463  case $ac_top_builddir_sub in
11464  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11465  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11466  esac ;;
11467esac
11468ac_abs_top_builddir=$ac_pwd
11469ac_abs_builddir=$ac_pwd$ac_dir_suffix
11470# for backward compatibility:
11471ac_top_builddir=$ac_top_build_prefix
11472
11473case $srcdir in
11474  .)  # We are building in place.
11475    ac_srcdir=.
11476    ac_top_srcdir=$ac_top_builddir_sub
11477    ac_abs_top_srcdir=$ac_pwd ;;
11478  [\\/]* | ?:[\\/]* )  # Absolute name.
11479    ac_srcdir=$srcdir$ac_dir_suffix;
11480    ac_top_srcdir=$srcdir
11481    ac_abs_top_srcdir=$srcdir ;;
11482  *) # Relative name.
11483    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11484    ac_top_srcdir=$ac_top_build_prefix$srcdir
11485    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11486esac
11487ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11488
11489
11490  case $ac_mode in
11491  :F)
11492  #
11493  # CONFIG_FILE
11494  #
11495
11496  case $INSTALL in
11497  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11498  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11499  esac
11500_ACEOF
11501
11502cat >>$CONFIG_STATUS <<\_ACEOF
11503# If the template does not know about datarootdir, expand it.
11504# FIXME: This hack should be removed a few years after 2.60.
11505ac_datarootdir_hack=; ac_datarootdir_seen=
11506
11507case `sed -n '/datarootdir/ {
11508  p
11509  q
11510}
11511/@datadir@/p
11512/@docdir@/p
11513/@infodir@/p
11514/@localedir@/p
11515/@mandir@/p
11516' $ac_file_inputs` in
11517*datarootdir*) ac_datarootdir_seen=yes;;
11518*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11519  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11520echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11521_ACEOF
11522cat >>$CONFIG_STATUS <<_ACEOF
11523  ac_datarootdir_hack='
11524  s&@datadir@&$datadir&g
11525  s&@docdir@&$docdir&g
11526  s&@infodir@&$infodir&g
11527  s&@localedir@&$localedir&g
11528  s&@mandir@&$mandir&g
11529    s&\\\${datarootdir}&$datarootdir&g' ;;
11530esac
11531_ACEOF
11532
11533# Neutralize VPATH when `$srcdir' = `.'.
11534# Shell code in configure.ac might set extrasub.
11535# FIXME: do we really want to maintain this feature?
11536cat >>$CONFIG_STATUS <<_ACEOF
11537  sed "$ac_vpsub
11538$extrasub
11539_ACEOF
11540cat >>$CONFIG_STATUS <<\_ACEOF
11541:t
11542/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11543s&@configure_input@&$configure_input&;t t
11544s&@top_builddir@&$ac_top_builddir_sub&;t t
11545s&@srcdir@&$ac_srcdir&;t t
11546s&@abs_srcdir@&$ac_abs_srcdir&;t t
11547s&@top_srcdir@&$ac_top_srcdir&;t t
11548s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11549s&@builddir@&$ac_builddir&;t t
11550s&@abs_builddir@&$ac_abs_builddir&;t t
11551s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11552s&@INSTALL@&$ac_INSTALL&;t t
11553$ac_datarootdir_hack
11554" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
11555
11556test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11557  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11558  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11559  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11560which seems to be undefined.  Please make sure it is defined." >&5
11561echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11562which seems to be undefined.  Please make sure it is defined." >&2;}
11563
11564  rm -f "$tmp/stdin"
11565  case $ac_file in
11566  -) cat "$tmp/out"; rm -f "$tmp/out";;
11567  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11568  esac
11569 ;;
11570  :H)
11571  #
11572  # CONFIG_HEADER
11573  #
11574_ACEOF
11575
11576# Transform confdefs.h into a sed script `conftest.defines', that
11577# substitutes the proper values into config.h.in to produce config.h.
11578rm -f conftest.defines conftest.tail
11579# First, append a space to every undef/define line, to ease matching.
11580echo 's/$/ /' >conftest.defines
11581# Then, protect against being on the right side of a sed subst, or in
11582# an unquoted here document, in config.status.  If some macros were
11583# called several times there might be several #defines for the same
11584# symbol, which is useless.  But do not sort them, since the last
11585# AC_DEFINE must be honored.
11586ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11587# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11588# NAME is the cpp macro being defined, VALUE is the value it is being given.
11589# PARAMS is the parameter list in the macro definition--in most cases, it's
11590# just an empty string.
11591ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
11592ac_dB='\\)[	 (].*,\\1define\\2'
11593ac_dC=' '
11594ac_dD=' ,'
11595
11596uniq confdefs.h |
11597  sed -n '
11598	t rset
11599	:rset
11600	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
11601	t ok
11602	d
11603	:ok
11604	s/[\\&,]/\\&/g
11605	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11606	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11607  ' >>conftest.defines
11608
11609# Remove the space that was appended to ease matching.
11610# Then replace #undef with comments.  This is necessary, for
11611# example, in the case of _POSIX_SOURCE, which is predefined and required
11612# on some systems where configure will not decide to define it.
11613# (The regexp can be short, since the line contains either #define or #undef.)
11614echo 's/ $//
11615s,^[	 #]*u.*,/* & */,' >>conftest.defines
11616
11617# Break up conftest.defines:
11618ac_max_sed_lines=50
11619
11620# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11621# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11622# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11623# et cetera.
11624ac_in='$ac_file_inputs'
11625ac_out='"$tmp/out1"'
11626ac_nxt='"$tmp/out2"'
11627
11628while :
11629do
11630  # Write a here document:
11631    cat >>$CONFIG_STATUS <<_ACEOF
11632    # First, check the format of the line:
11633    cat >"\$tmp/defines.sed" <<\\CEOF
11634/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
11635/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
11636b
11637:def
11638_ACEOF
11639  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11640  echo 'CEOF
11641    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11642  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11643  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11644  grep . conftest.tail >/dev/null || break
11645  rm -f conftest.defines
11646  mv conftest.tail conftest.defines
11647done
11648rm -f conftest.defines conftest.tail
11649
11650echo "ac_result=$ac_in" >>$CONFIG_STATUS
11651cat >>$CONFIG_STATUS <<\_ACEOF
11652  if test x"$ac_file" != x-; then
11653    echo "/* $configure_input  */" >"$tmp/config.h"
11654    cat "$ac_result" >>"$tmp/config.h"
11655    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11656      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11657echo "$as_me: $ac_file is unchanged" >&6;}
11658    else
11659      rm -f $ac_file
11660      mv "$tmp/config.h" $ac_file
11661    fi
11662  else
11663    echo "/* $configure_input  */"
11664    cat "$ac_result"
11665  fi
11666  rm -f "$tmp/out12"
11667 ;;
11668
11669
11670  esac
11671
11672done # for ac_tag
11673
11674
11675{ (exit 0); exit 0; }
11676_ACEOF
11677chmod +x $CONFIG_STATUS
11678ac_clean_files=$ac_clean_files_save
11679
11680
11681# configure is writing to config.log, and then calls config.status.
11682# config.status does its own redirection, appending to config.log.
11683# Unfortunately, on DOS this fails, as config.log is still kept open
11684# by configure, so config.status won't be able to write to it; its
11685# output is simply discarded.  So we exec the FD to /dev/null,
11686# effectively closing config.log, so it can be properly (re)opened and
11687# appended to by config.status.  When coming back to configure, we
11688# need to make the FD available again.
11689if test "$no_create" != yes; then
11690  ac_cs_success=:
11691  ac_config_status_args=
11692  test "$silent" = yes &&
11693    ac_config_status_args="$ac_config_status_args --quiet"
11694  exec 5>/dev/null
11695  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11696  exec 5>>config.log
11697  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11698  # would make configure fail if this is the last instruction.
11699  $ac_cs_success || { (exit 1); exit 1; }
11700fi
11701
11702