4556672 [rkeene@sledge /home/rkeene/devel/dact-0.8.37]$ cat -n configure
    1 #! /bin/sh
    2 # From configure.in Revision .
    3 # Guess values for system-dependent variables and create Makefiles.
    4 # Generated by GNU Autoconf 2.59.
    5 #
    6 # Copyright (C) 2003 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 Bourne compatible
   14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   15   emulate sh
   16   NULLCMD=:
   17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   18   # is contrary to our usage.  Disable this feature.
   19   alias -g '${1+"$@"}'='"$@"'
   20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   21   set -o posix
   22 fi
   23 DUALCASE=1; export DUALCASE # for MKS sh
   24 
   25 # Support unset when possible.
   26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   27   as_unset=unset
   28 else
   29   as_unset=false
   30 fi
   31 
   32 
   33 # Work around bugs in pre-3.0 UWIN ksh.
   34 $as_unset ENV MAIL MAILPATH
   35 PS1='$ '
   36 PS2='> '
   37 PS4='+ '
   38 
   39 # NLS nuisances.
   40 for as_var in \
   41   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   42   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   43   LC_TELEPHONE LC_TIME
   44 do
   45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   46     eval $as_var=C; export $as_var
   47   else
   48     $as_unset $as_var
   49   fi
   50 done
   51 
   52 # Required to use basename.
   53 if expr a : '\(a\)' >/dev/null 2>&1; then
   54   as_expr=expr
   55 else
   56   as_expr=false
   57 fi
   58 
   59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   60   as_basename=basename
   61 else
   62   as_basename=false
   63 fi
   64 
   65 
   66 # Name of the executable.
   67 as_me=`$as_basename "$0" ||
   68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   69      X"$0" : 'X\(//\)$' \| \
   70      X"$0" : 'X\(/\)$' \| \
   71      .     : '\(.\)' 2>/dev/null ||
   72 echo X/"$0" |
   73     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   74       /^X\/\(\/\/\)$/{ s//\1/; q; }
   75       /^X\/\(\/\).*/{ s//\1/; q; }
   76       s/.*/./; q'`
   77 
   78 
   79 # PATH needs CR, and LINENO needs CR and PATH.
   80 # Avoid depending upon Character Ranges.
   81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   84 as_cr_digits='0123456789'
   85 as_cr_alnum=$as_cr_Letters$as_cr_digits
   86 
   87 # The user is always right.
   88 if test "${PATH_SEPARATOR+set}" != set; then
   89   echo "#! /bin/sh" >conf$$.sh
   90   echo  "exit 0"   >>conf$$.sh
   91   chmod +x conf$$.sh
   92   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   93     PATH_SEPARATOR=';'
   94   else
   95     PATH_SEPARATOR=:
   96   fi
   97   rm -f conf$$.sh
   98 fi
   99 
  100 
  101   as_lineno_1=$LINENO
  102   as_lineno_2=$LINENO
  103   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  104   test "x$as_lineno_1" != "x$as_lineno_2" &&
  105   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  106   # Find who we are.  Look in the path if we contain no path at all
  107   # relative or not.
  108   case $0 in
  109     *[\\/]* ) as_myself=$0 ;;
  110     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  111 for as_dir in $PATH
  112 do
  113   IFS=$as_save_IFS
  114   test -z "$as_dir" && as_dir=.
  115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  116 done
  117 
  118        ;;
  119   esac
  120   # We did not find ourselves, most probably we were run as `sh COMMAND'
  121   # in which case we are not to be found in the path.
  122   if test "x$as_myself" = x; then
  123     as_myself=$0
  124   fi
  125   if test ! -f "$as_myself"; then
  126     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  127    { (exit 1); exit 1; }; }
  128   fi
  129   case $CONFIG_SHELL in
  130   '')
  131     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  133 do
  134   IFS=$as_save_IFS
  135   test -z "$as_dir" && as_dir=.
  136   for as_base in sh bash ksh sh5; do
  137      case $as_dir in
  138      /*)
  139        if ("$as_dir/$as_base" -c '
  140   as_lineno_1=$LINENO
  141   as_lineno_2=$LINENO
  142   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  143   test "x$as_lineno_1" != "x$as_lineno_2" &&
  144   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
  145          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  146          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  147          CONFIG_SHELL=$as_dir/$as_base
  148          export CONFIG_SHELL
  149          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  150        fi;;
  151      esac
  152        done
  153 done
  154 ;;
  155   esac
  156 
  157   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  158   # uniformly replaced by the line number.  The first 'sed' inserts a
  159   # line-number line before each line; the second 'sed' does the real
  160   # work.  The second script uses 'N' to pair each line-number line
  161   # with the numbered line, and appends trailing '-' during
  162   # substitution so that $LINENO is not a special case at line end.
  163   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  164   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
  165   sed '=' <$as_myself |
  166     sed '
  167       N
  168       s,$,-,
  169       : loop
  170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  171       t loop
  172       s,-$,,
  173       s,^['$as_cr_digits']*\n,,
  174     ' >$as_me.lineno &&
  175   chmod +x $as_me.lineno ||
  176     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  177    { (exit 1); exit 1; }; }
  178 
  179   # Don't try to exec as it changes $[0], causing all sort of problems
  180   # (the dirname of $[0] is not the place where we might find the
  181   # original and so on.  Autoconf is especially sensible to this).
  182   . ./$as_me.lineno
  183   # Exit status is that of the last command.
  184   exit
  185 }
  186 
  187 
  188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  189   *c*,-n*) ECHO_N= ECHO_C='
  190 ' ECHO_T='  ' ;;
  191   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  192   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
  193 esac
  194 
  195 if expr a : '\(a\)' >/dev/null 2>&1; then
  196   as_expr=expr
  197 else
  198   as_expr=false
  199 fi
  200 
  201 rm -f conf$$ conf$$.exe conf$$.file
  202 echo >conf$$.file
  203 if ln -s conf$$.file conf$$ 2>/dev/null; then
  204   # We could just check for DJGPP; but this test a) works b) is more generic
  205   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  206   if test -f conf$$.exe; then
  207     # Don't use ln at all; we don't have any links
  208     as_ln_s='cp -p'
  209   else
  210     as_ln_s='ln -s'
  211   fi
  212 elif ln conf$$.file conf$$ 2>/dev/null; then
  213   as_ln_s=ln
  214 else
  215   as_ln_s='cp -p'
  216 fi
  217 rm -f conf$$ conf$$.exe conf$$.file
  218 
  219 if mkdir -p . 2>/dev/null; then
  220   as_mkdir_p=:
  221 else
  222   test -d ./-p && rmdir ./-p
  223   as_mkdir_p=false
  224 fi
  225 
  226 as_executable_p="test -f"
  227 
  228 # Sed expression to map a string onto a valid CPP name.
  229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  230 
  231 # Sed expression to map a string onto a valid variable name.
  232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  233 
  234 
  235 # IFS
  236 # We need space, tab and new line, in precisely that order.
  237 as_nl='
  238 '
  239 IFS="   $as_nl"
  240 
  241 # CDPATH.
  242 $as_unset CDPATH
  243 
  244 
  245 # Name of the host.
  246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  247 # so uname gets run too.
  248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  249 
  250 exec 6>&1
  251 
  252 #
  253 # Initializations.
  254 #
  255 ac_default_prefix=/usr/local
  256 ac_config_libobj_dir=.
  257 cross_compiling=no
  258 subdirs=
  259 MFLAGS=
  260 MAKEFLAGS=
  261 SHELL=${CONFIG_SHELL-/bin/sh}
  262 
  263 # Maximum number of lines to put in a shell here document.
  264 # This variable seems obsolete.  It should probably be removed, and
  265 # only ac_max_sed_lines should be used.
  266 : ${ac_max_here_lines=38}
  267 
  268 # Identity of this package.
  269 PACKAGE_NAME=
  270 PACKAGE_TARNAME=
  271 PACKAGE_VERSION=
  272 PACKAGE_STRING=
  273 PACKAGE_BUGREPORT=
  274 
  275 # Factoring default headers for most tests.
  276 ac_includes_default="\
  277 #include <stdio.h>
  278 #if HAVE_SYS_TYPES_H
  279 # include <sys/types.h>
  280 #endif
  281 #if HAVE_SYS_STAT_H
  282 # include <sys/stat.h>
  283 #endif
  284 #if STDC_HEADERS
  285 # include <stdlib.h>
  286 # include <stddef.h>
  287 #else
  288 # if HAVE_STDLIB_H
  289 #  include <stdlib.h>
  290 # endif
  291 #endif
  292 #if HAVE_STRING_H
  293 # if !STDC_HEADERS && HAVE_MEMORY_H
  294 #  include <memory.h>
  295 # endif
  296 # include <string.h>
  297 #endif
  298 #if HAVE_STRINGS_H
  299 # include <strings.h>
  300 #endif
  301 #if HAVE_INTTYPES_H
  302 # include <inttypes.h>
  303 #else
  304 # if HAVE_STDINT_H
  305 #  include <stdint.h>
  306 # endif
  307 #endif
  308 #if HAVE_UNISTD_H
  309 # include <unistd.h>
  310 #endif"
  311 
  312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT
	exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir
	libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC
	CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR ac_ct_AR RANLIB
	ac_ct_RANLIB DEPEND ALLMODLIBS ALGO MODLIBS MODLIBSCOND DEFAULT MODS NOMODS SHARED CPP EGREP LIBOBJS LTLIBOBJS'
  313 ac_subst_files=''
  314 
  315 # Initialize some variables set by options.
  316 ac_init_help=
  317 ac_init_version=false
  318 # The variables have the same names as the options, with
  319 # dashes changed to underlines.
  320 cache_file=/dev/null
  321 exec_prefix=NONE
  322 no_create=
  323 no_recursion=
  324 prefix=NONE
  325 program_prefix=NONE
  326 program_suffix=NONE
  327 program_transform_name=s,x,x,
  328 silent=
  329 site=
  330 srcdir=
  331 verbose=
  332 x_includes=NONE
  333 x_libraries=NONE
  334 
  335 # Installation directory options.
  336 # These are left unexpanded so users can "make install exec_prefix=/foo"
  337 # and all the variables that are supposed to be based on exec_prefix
  338 # by default will actually change.
  339 # Use braces instead of parens because sh, perl, etc. also accept them.
  340 bindir='${exec_prefix}/bin'
  341 sbindir='${exec_prefix}/sbin'
  342 libexecdir='${exec_prefix}/libexec'
  343 datadir='${prefix}/share'
  344 sysconfdir='${prefix}/etc'
  345 sharedstatedir='${prefix}/com'
  346 localstatedir='${prefix}/var'
  347 libdir='${exec_prefix}/lib'
  348 includedir='${prefix}/include'
  349 oldincludedir='/usr/include'
  350 infodir='${prefix}/info'
  351 mandir='${prefix}/man'
  352 
  353 ac_prev=
  354 for ac_option
  355 do
  356   # If the previous option needs an argument, assign it.
  357   if test -n "$ac_prev"; then
  358     eval "$ac_prev=\$ac_option"
  359     ac_prev=
  360     continue
  361   fi
  362 
  363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  364 
  365   # Accept the important Cygnus configure options, so we can diagnose typos.
  366 
  367   case $ac_option in
  368 
  369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  370     ac_prev=bindir ;;
  371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  372     bindir=$ac_optarg ;;
  373 
  374   -build | --build | --buil | --bui | --bu)
  375     ac_prev=build_alias ;;
  376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  377     build_alias=$ac_optarg ;;
  378 
  379   -cache-file | --cache-file | --cache-fil | --cache-fi \
  380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  381     ac_prev=cache_file ;;
  382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  384     cache_file=$ac_optarg ;;
  385 
  386   --config-cache | -C)
  387     cache_file=config.cache ;;
  388 
  389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  390     ac_prev=datadir ;;
  391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  392   | --da=*)
  393     datadir=$ac_optarg ;;
  394 
  395   -disable-* | --disable-*)
  396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  397     # Reject names that are not valid shell variable names.
  398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  400    { (exit 1); exit 1; }; }
  401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  402     eval "enable_$ac_feature=no" ;;
  403 
  404   -enable-* | --enable-*)
  405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  406     # Reject names that are not valid shell variable names.
  407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  409    { (exit 1); exit 1; }; }
  410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  411     case $ac_option in
  412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  413       *) ac_optarg=yes ;;
  414     esac
  415     eval "enable_$ac_feature='$ac_optarg'" ;;
  416 
  417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  419   | --exec | --exe | --ex)
  420     ac_prev=exec_prefix ;;
  421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  423   | --exec=* | --exe=* | --ex=*)
  424     exec_prefix=$ac_optarg ;;
  425 
  426   -gas | --gas | --ga | --g)
  427     # Obsolete; use --with-gas.
  428     with_gas=yes ;;
  429 
  430   -help | --help | --hel | --he | -h)
  431     ac_init_help=long ;;
  432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  433     ac_init_help=recursive ;;
  434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  435     ac_init_help=short ;;
  436 
  437   -host | --host | --hos | --ho)
  438     ac_prev=host_alias ;;
  439   -host=* | --host=* | --hos=* | --ho=*)
  440     host_alias=$ac_optarg ;;
  441 
  442   -includedir | --includedir | --includedi | --included | --include \
  443   | --includ | --inclu | --incl | --inc)
  444     ac_prev=includedir ;;
  445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  446   | --includ=* | --inclu=* | --incl=* | --inc=*)
  447     includedir=$ac_optarg ;;
  448 
  449   -infodir | --infodir | --infodi | --infod | --info | --inf)
  450     ac_prev=infodir ;;
  451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  452     infodir=$ac_optarg ;;
  453 
  454   -libdir | --libdir | --libdi | --libd)
  455     ac_prev=libdir ;;
  456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  457     libdir=$ac_optarg ;;
  458 
  459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  460   | --libexe | --libex | --libe)
  461     ac_prev=libexecdir ;;
  462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  463   | --libexe=* | --libex=* | --libe=*)
  464     libexecdir=$ac_optarg ;;
  465 
  466   -localstatedir | --localstatedir | --localstatedi | --localstated \
  467   | --localstate | --localstat | --localsta | --localst \
  468   | --locals | --local | --loca | --loc | --lo)
  469     ac_prev=localstatedir ;;
  470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  473     localstatedir=$ac_optarg ;;
  474 
  475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  476     ac_prev=mandir ;;
  477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  478     mandir=$ac_optarg ;;
  479 
  480   -nfp | --nfp | --nf)
  481     # Obsolete; use --without-fp.
  482     with_fp=no ;;
  483 
  484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  485   | --no-cr | --no-c | -n)
  486     no_create=yes ;;
  487 
  488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  490     no_recursion=yes ;;
  491 
  492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  494   | --oldin | --oldi | --old | --ol | --o)
  495     ac_prev=oldincludedir ;;
  496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  499     oldincludedir=$ac_optarg ;;
  500 
  501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  502     ac_prev=prefix ;;
  503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  504     prefix=$ac_optarg ;;
  505 
  506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  507   | --program-pre | --program-pr | --program-p)
  508     ac_prev=program_prefix ;;
  509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  511     program_prefix=$ac_optarg ;;
  512 
  513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  514   | --program-suf | --program-su | --program-s)
  515     ac_prev=program_suffix ;;
  516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  518     program_suffix=$ac_optarg ;;
  519 
  520   -program-transform-name | --program-transform-name \
  521   | --program-transform-nam | --program-transform-na \
  522   | --program-transform-n | --program-transform- \
  523   | --program-transform | --program-transfor \
  524   | --program-transfo | --program-transf \
  525   | --program-trans | --program-tran \
  526   | --progr-tra | --program-tr | --program-t)
  527     ac_prev=program_transform_name ;;
  528   -program-transform-name=* | --program-transform-name=* \
  529   | --program-transform-nam=* | --program-transform-na=* \
  530   | --program-transform-n=* | --program-transform-=* \
  531   | --program-transform=* | --program-transfor=* \
  532   | --program-transfo=* | --program-transf=* \
  533   | --program-trans=* | --program-tran=* \
  534   | --progr-tra=* | --program-tr=* | --program-t=*)
  535     program_transform_name=$ac_optarg ;;
  536 
  537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  538   | -silent | --silent | --silen | --sile | --sil)
  539     silent=yes ;;
  540 
  541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  542     ac_prev=sbindir ;;
  543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  544   | --sbi=* | --sb=*)
  545     sbindir=$ac_optarg ;;
  546 
  547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  549   | --sharedst | --shareds | --shared | --share | --shar \
  550   | --sha | --sh)
  551     ac_prev=sharedstatedir ;;
  552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  555   | --sha=* | --sh=*)
  556     sharedstatedir=$ac_optarg ;;
  557 
  558   -site | --site | --sit)
  559     ac_prev=site ;;
  560   -site=* | --site=* | --sit=*)
  561     site=$ac_optarg ;;
  562 
  563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  564     ac_prev=srcdir ;;
  565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  566     srcdir=$ac_optarg ;;
  567 
  568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  569   | --syscon | --sysco | --sysc | --sys | --sy)
  570     ac_prev=sysconfdir ;;
  571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  573     sysconfdir=$ac_optarg ;;
  574 
  575   -target | --target | --targe | --targ | --tar | --ta | --t)
  576     ac_prev=target_alias ;;
  577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  578     target_alias=$ac_optarg ;;
  579 
  580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  581     verbose=yes ;;
  582 
  583   -version | --version | --versio | --versi | --vers | -V)
  584     ac_init_version=: ;;
  585 
  586   -with-* | --with-*)
  587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  588     # Reject names that are not valid shell variable names.
  589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  590       { echo "$as_me: error: invalid package name: $ac_package" >&2
  591    { (exit 1); exit 1; }; }
  592     ac_package=`echo $ac_package| sed 's/-/_/g'`
  593     case $ac_option in
  594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  595       *) ac_optarg=yes ;;
  596     esac
  597     eval "with_$ac_package='$ac_optarg'" ;;
  598 
  599   -without-* | --without-*)
  600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  601     # Reject names that are not valid shell variable names.
  602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  603       { echo "$as_me: error: invalid package name: $ac_package" >&2
  604    { (exit 1); exit 1; }; }
  605     ac_package=`echo $ac_package | sed 's/-/_/g'`
  606     eval "with_$ac_package=no" ;;
  607 
  608   --x)
  609     # Obsolete; use --with-x.
  610     with_x=yes ;;
  611 
  612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  613   | --x-incl | --x-inc | --x-in | --x-i)
  614     ac_prev=x_includes ;;
  615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  617     x_includes=$ac_optarg ;;
  618 
  619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  621     ac_prev=x_libraries ;;
  622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  624     x_libraries=$ac_optarg ;;
  625 
  626   -*) { echo "$as_me: error: unrecognized option: $ac_option
  627 Try \`$0 --help' for more information." >&2
  628    { (exit 1); exit 1; }; }
  629     ;;
  630 
  631   *=*)
  632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  633     # Reject names that are not valid shell variable names.
  634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  636    { (exit 1); exit 1; }; }
  637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  638     eval "$ac_envvar='$ac_optarg'"
  639     export $ac_envvar ;;
  640 
  641   *)
  642     # FIXME: should be removed in autoconf 3.0.
  643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  647     ;;
  648 
  649   esac
  650 done
  651 
  652 if test -n "$ac_prev"; then
  653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  654   { echo "$as_me: error: missing argument to $ac_option" >&2
  655    { (exit 1); exit 1; }; }
  656 fi
  657 
  658 # Be sure to have absolute paths.
  659 for ac_var in exec_prefix prefix
  660 do
  661   eval ac_val=$`echo $ac_var`
  662   case $ac_val in
  663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  665    { (exit 1); exit 1; }; };;
  666   esac
  667 done
  668 
  669 # Be sure to have absolute paths.
  670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  671           localstatedir libdir includedir oldincludedir infodir mandir
  672 do
  673   eval ac_val=$`echo $ac_var`
  674   case $ac_val in
  675     [\\/$]* | ?:[\\/]* ) ;;
  676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  677    { (exit 1); exit 1; }; };;
  678   esac
  679 done
  680 
  681 # There might be people who depend on the old broken behavior: `$host'
  682 # used to hold the argument of --host etc.
  683 # FIXME: To remove some day.
  684 build=$build_alias
  685 host=$host_alias
  686 target=$target_alias
  687 
  688 # FIXME: To remove some day.
  689 if test "x$host_alias" != x; then
  690   if test "x$build_alias" = x; then
  691     cross_compiling=maybe
  692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  693     If a cross compiler is detected then cross compile mode will be used." >&2
  694   elif test "x$build_alias" != "x$host_alias"; then
  695     cross_compiling=yes
  696   fi
  697 fi
  698 
  699 ac_tool_prefix=
  700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  701 
  702 test "$silent" = yes && exec 6>/dev/null
  703 
  704 
  705 # Find the source files, if location was not specified.
  706 if test -z "$srcdir"; then
  707   ac_srcdir_defaulted=yes
  708   # Try the directory containing this script, then its parent.
  709   ac_confdir=`(dirname "$0") 2>/dev/null ||
  710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  711      X"$0" : 'X\(//\)[^/]' \| \
  712      X"$0" : 'X\(//\)$' \| \
  713      X"$0" : 'X\(/\)' \| \
  714      .     : '\(.\)' 2>/dev/null ||
  715 echo X"$0" |
  716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  717       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  718       /^X\(\/\/\)$/{ s//\1/; q; }
  719       /^X\(\/\).*/{ s//\1/; q; }
  720       s/.*/./; q'`
  721   srcdir=$ac_confdir
  722   if test ! -r $srcdir/$ac_unique_file; then
  723     srcdir=..
  724   fi
  725 else
  726   ac_srcdir_defaulted=no
  727 fi
  728 if test ! -r $srcdir/$ac_unique_file; then
  729   if test "$ac_srcdir_defaulted" = yes; then
  730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  731    { (exit 1); exit 1; }; }
  732   else
  733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  734    { (exit 1); exit 1; }; }
  735   fi
  736 fi
  737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  739    { (exit 1); exit 1; }; }
  740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  741 ac_env_build_alias_set=${build_alias+set}
  742 ac_env_build_alias_value=$build_alias
  743 ac_cv_env_build_alias_set=${build_alias+set}
  744 ac_cv_env_build_alias_value=$build_alias
  745 ac_env_host_alias_set=${host_alias+set}
  746 ac_env_host_alias_value=$host_alias
  747 ac_cv_env_host_alias_set=${host_alias+set}
  748 ac_cv_env_host_alias_value=$host_alias
  749 ac_env_target_alias_set=${target_alias+set}
  750 ac_env_target_alias_value=$target_alias
  751 ac_cv_env_target_alias_set=${target_alias+set}
  752 ac_cv_env_target_alias_value=$target_alias
  753 ac_env_CC_set=${CC+set}
  754 ac_env_CC_value=$CC
  755 ac_cv_env_CC_set=${CC+set}
  756 ac_cv_env_CC_value=$CC
  757 ac_env_CFLAGS_set=${CFLAGS+set}
  758 ac_env_CFLAGS_value=$CFLAGS
  759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
  760 ac_cv_env_CFLAGS_value=$CFLAGS
  761 ac_env_LDFLAGS_set=${LDFLAGS+set}
  762 ac_env_LDFLAGS_value=$LDFLAGS
  763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
  764 ac_cv_env_LDFLAGS_value=$LDFLAGS
  765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
  766 ac_env_CPPFLAGS_value=$CPPFLAGS
  767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
  768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
  769 ac_env_CPP_set=${CPP+set}
  770 ac_env_CPP_value=$CPP
  771 ac_cv_env_CPP_set=${CPP+set}
  772 ac_cv_env_CPP_value=$CPP
  773 
  774 #
  775 # Report the --help message.
  776 #
  777 if test "$ac_init_help" = "long"; then
  778   # Omit some internal or obsolete options to make the list less imposing.
  779   # This message is too long to be a string in the A/UX 3.1 sh.
  780   cat <<_ACEOF
  781 \`configure' configures this package to adapt to many kinds of systems.
  782 
  783 Usage: $0 [OPTION]... [VAR=VALUE]...
  784 
  785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  786 VAR=VALUE.  See below for descriptions of some of the useful variables.
  787 
  788 Defaults for the options are specified in brackets.
  789 
  790 Configuration:
  791   -h, --help              display this help and exit
  792       --help=short        display options specific to this package
  793       --help=recursive    display the short help of all the included packages
  794   -V, --version           display version information and exit
  795   -q, --quiet, --silent   do not print \`checking...' messages
  796       --cache-file=FILE   cache test results in FILE [disabled]
  797   -C, --config-cache      alias for \`--cache-file=config.cache'
  798   -n, --no-create         do not create output files
  799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  800 
  801 _ACEOF
  802 
  803   cat <<_ACEOF
  804 Installation directories:
  805   --prefix=PREFIX         install architecture-independent files in PREFIX
  806               [$ac_default_prefix]
  807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  808               [PREFIX]
  809 
  810 By default, \`make install' will install all the files in
  811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  813 for instance \`--prefix=\$HOME'.
  814 
  815 For better control, use the options below.
  816 
  817 Fine tuning of the installation directories:
  818   --bindir=DIR           user executables [EPREFIX/bin]
  819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  820   --libexecdir=DIR       program executables [EPREFIX/libexec]
  821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  825   --libdir=DIR           object code libraries [EPREFIX/lib]
  826   --includedir=DIR       C header files [PREFIX/include]
  827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  828   --infodir=DIR          info documentation [PREFIX/info]
  829   --mandir=DIR           man documentation [PREFIX/man]
  830 _ACEOF
  831 
  832   cat <<\_ACEOF
  833 _ACEOF
  834 fi
  835 
  836 if test -n "$ac_init_help"; then
  837 
  838   cat <<\_ACEOF
  839 
  840 Optional Features:
  841   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  842   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  843   --disable-chkvers       Completely disable the ability to check for new versions
  844   --disable-network       Disable DACT's network activity completely
  845   --enable-debug          Enable developmental code
  846   --disable-modules       Disable use of modules
  847   --enable-debianupgrade  Use the Debian upgrade procedure instead of the DACT one
  848 
  849 Some influential environment variables:
  850   CC          C compiler command
  851   CFLAGS      C compiler flags
  852   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  853               nonstandard directory <lib dir>
  854   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
  855               headers in a nonstandard directory <include dir>
  856   CPP         C preprocessor
  857 
  858 Use these variables to override the choices made by `configure' or to help
  859 it to find libraries and programs with nonstandard names/locations.
  860 
  861 _ACEOF
  862 fi
  863 
  864 if test "$ac_init_help" = "recursive"; then
  865   # If there are subdirs, report their specific --help.
  866   ac_popdir=`pwd`
  867   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  868     test -d $ac_dir || continue
  869     ac_builddir=.
  870 
  871 if test "$ac_dir" != .; then
  872   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  873   # A "../" for each directory in $ac_dir_suffix.
  874   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  875 else
  876   ac_dir_suffix= ac_top_builddir=
  877 fi
  878 
  879 case $srcdir in
  880   .)  # No --srcdir option.  We are building in place.
  881     ac_srcdir=.
  882     if test -z "$ac_top_builddir"; then
  883        ac_top_srcdir=.
  884     else
  885        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  886     fi ;;
  887   [\\/]* | ?:[\\/]* )  # Absolute path.
  888     ac_srcdir=$srcdir$ac_dir_suffix;
  889     ac_top_srcdir=$srcdir ;;
  890   *) # Relative path.
  891     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  892     ac_top_srcdir=$ac_top_builddir$srcdir ;;
  893 esac
  894 
  895 # Do not use `cd foo && pwd` to compute absolute paths, because
  896 # the directories may not exist.
  897 case `pwd` in
  898 .) ac_abs_builddir="$ac_dir";;
  899 *)
  900   case "$ac_dir" in
  901   .) ac_abs_builddir=`pwd`;;
  902   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
  903   *) ac_abs_builddir=`pwd`/"$ac_dir";;
  904   esac;;
  905 esac
  906 case $ac_abs_builddir in
  907 .) ac_abs_top_builddir=${ac_top_builddir}.;;
  908 *)
  909   case ${ac_top_builddir}. in
  910   .) ac_abs_top_builddir=$ac_abs_builddir;;
  911   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
  912   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
  913   esac;;
  914 esac
  915 case $ac_abs_builddir in
  916 .) ac_abs_srcdir=$ac_srcdir;;
  917 *)
  918   case $ac_srcdir in
  919   .) ac_abs_srcdir=$ac_abs_builddir;;
  920   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
  921   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
  922   esac;;
  923 esac
  924 case $ac_abs_builddir in
  925 .) ac_abs_top_srcdir=$ac_top_srcdir;;
  926 *)
  927   case $ac_top_srcdir in
  928   .) ac_abs_top_srcdir=$ac_abs_builddir;;
  929   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
  930   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
  931   esac;;
  932 esac
  933 
  934     cd $ac_dir
  935     # Check for guested configure; otherwise get Cygnus style configure.
  936     if test -f $ac_srcdir/configure.gnu; then
  937       echo
  938       $SHELL $ac_srcdir/configure.gnu  --help=recursive
  939     elif test -f $ac_srcdir/configure; then
  940       echo
  941       $SHELL $ac_srcdir/configure  --help=recursive
  942     elif test -f $ac_srcdir/configure.ac ||
  943        test -f $ac_srcdir/configure.in; then
  944       echo
  945       $ac_configure --help
  946     else
  947       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  948     fi
  949     cd "$ac_popdir"
  950   done
  951 fi
  952 
  953 test -n "$ac_init_help" && exit 0
  954 if $ac_init_version; then
  955   cat <<\_ACEOF
  956 
  957 Copyright (C) 2003 Free Software Foundation, Inc.
  958 This configure script is free software; the Free Software Foundation
  959 gives unlimited permission to copy, distribute and modify it.
  960 _ACEOF
  961   exit 0
  962 fi
  963 exec 5>config.log
  964 cat >&5 <<_ACEOF
  965 This file contains any messages produced by compilers while
  966 running configure, to aid debugging if configure makes a mistake.
  967 
  968 It was created by $as_me, which was
  969 generated by GNU Autoconf 2.59.  Invocation command line was
  970 
  971   $ $0 $@
  972 
  973 _ACEOF
  974 {
  975 cat <<_ASUNAME
  976 ## --------- ##
  977 ## Platform. ##
  978 ## --------- ##
  979 
  980 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  981 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  982 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  983 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  984 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  985 
  986 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  987 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  988 
  989 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  990 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  991 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  992 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
  993 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  994 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  995 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  996 
  997 _ASUNAME
  998 
  999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1000 for as_dir in $PATH
 1001 do
 1002   IFS=$as_save_IFS
 1003   test -z "$as_dir" && as_dir=.
 1004   echo "PATH: $as_dir"
 1005 done
 1006 
 1007 } >&5
 1008 
 1009 cat >&5 <<_ACEOF
 1010 
 1011 
 1012 ## ----------- ##
 1013 ## Core tests. ##
 1014 ## ----------- ##
 1015 
 1016 _ACEOF
 1017 
 1018 
 1019 # Keep a trace of the command line.
 1020 # Strip out --no-create and --no-recursion so they do not pile up.
 1021 # Strip out --silent because we don't want to record it for future runs.
 1022 # Also quote any args containing shell meta-characters.
 1023 # Make two passes to allow for proper duplicate-argument suppression.
 1024 ac_configure_args=
 1025 ac_configure_args0=
 1026 ac_configure_args1=
 1027 ac_sep=
 1028 ac_must_keep_next=false
 1029 for ac_pass in 1 2
 1030 do
 1031   for ac_arg
 1032   do
 1033     case $ac_arg in
 1034     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 1035     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 1036     | -silent | --silent | --silen | --sile | --sil)
 1037       continue ;;
 1038     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1039       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 1040     esac
 1041     case $ac_pass in
 1042     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 1043     2)
 1044       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 1045       if test $ac_must_keep_next = true; then
 1046     ac_must_keep_next=false # Got value, back to normal.
 1047       else
 1048     case $ac_arg in
 1049       *=* | --config-cache | -C | -disable-* | --disable-* \
 1050       | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 1051       | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 1052       | -with-* | --with-* | -without-* | --without-* | --x)
 1053         case "$ac_configure_args0 " in
 1054           "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 1055         esac
 1056         ;;
 1057       -* ) ac_must_keep_next=true ;;
 1058     esac
 1059       fi
 1060       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
 1061       # Get rid of the leading space.
 1062       ac_sep=" "
 1063       ;;
 1064     esac
 1065   done
 1066 done
 1067 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export
	ac_configure_args0; }
 1068 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export
	ac_configure_args1; }
 1069 
 1070 # When interrupted or exit'd, cleanup temporary files, and complete
 1071 # config.log.  We remove comments because anyway the quotes in there
 1072 # would cause problems or look ugly.
 1073 # WARNING: Be sure not to use single quotes in there, as some shells,
 1074 # such as our DU 5.0 friend, will then `close' the trap.
 1075 trap 'exit_status=$?
 1076   # Save into config.log some information that might help in debugging.
 1077   {
 1078     echo
 1079 
 1080     cat <<\_ASBOX
 1081 ## ---------------- ##
 1082 ## Cache variables. ##
 1083 ## ---------------- ##
 1084 _ASBOX
 1085     echo
 1086     # The following way of writing the cache mishandles newlines in values,
 1087 {
 1088   (set) 2>&1 |
 1089     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
 1090     *ac_space=\ *)
 1091       sed -n \
 1092     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
 1093       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
 1094       ;;
 1095     *)
 1096       sed -n \
 1097     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 1098       ;;
 1099     esac;
 1100 }
 1101     echo
 1102 
 1103     cat <<\_ASBOX
 1104 ## ----------------- ##
 1105 ## Output variables. ##
 1106 ## ----------------- ##
 1107 _ASBOX
 1108     echo
 1109     for ac_var in $ac_subst_vars
 1110     do
 1111       eval ac_val=$`echo $ac_var`
 1112       echo "$ac_var='"'"'$ac_val'"'"'"
 1113     done | sort
 1114     echo
 1115 
 1116     if test -n "$ac_subst_files"; then
 1117       cat <<\_ASBOX
 1118 ## ------------- ##
 1119 ## Output files. ##
 1120 ## ------------- ##
 1121 _ASBOX
 1122       echo
 1123       for ac_var in $ac_subst_files
 1124       do
 1125     eval ac_val=$`echo $ac_var`
 1126     echo "$ac_var='"'"'$ac_val'"'"'"
 1127       done | sort
 1128       echo
 1129     fi
 1130 
 1131     if test -s confdefs.h; then
 1132       cat <<\_ASBOX
 1133 ## ----------- ##
 1134 ## confdefs.h. ##
 1135 ## ----------- ##
 1136 _ASBOX
 1137       echo
 1138       sed "/^$/d" confdefs.h | sort
 1139       echo
 1140     fi
 1141     test "$ac_signal" != 0 &&
 1142       echo "$as_me: caught signal $ac_signal"
 1143     echo "$as_me: exit $exit_status"
 1144   } >&5
 1145   rm -f core *.core &&
 1146   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 1147     exit $exit_status
 1148      ' 0
 1149 for ac_signal in 1 2 13 15; do
 1150   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 1151 done
 1152 ac_signal=0
 1153 
 1154 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 1155 rm -rf conftest* confdefs.h
 1156 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 1157 echo >confdefs.h
 1158 
 1159 # Predefined preprocessor variables.
 1160 
 1161 cat >>confdefs.h <<_ACEOF
 1162 #define PACKAGE_NAME "$PACKAGE_NAME"
 1163 _ACEOF
 1164 
 1165 
 1166 cat >>confdefs.h <<_ACEOF
 1167 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 1168 _ACEOF
 1169 
 1170 
 1171 cat >>confdefs.h <<_ACEOF
 1172 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 1173 _ACEOF
 1174 
 1175 
 1176 cat >>confdefs.h <<_ACEOF
 1177 #define PACKAGE_STRING "$PACKAGE_STRING"
 1178 _ACEOF
 1179 
 1180 
 1181 cat >>confdefs.h <<_ACEOF
 1182 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 1183 _ACEOF
 1184 
 1185 
 1186 # Let the site file select an alternate cache file if it wants to.
 1187 # Prefer explicitly selected file to automatically selected ones.
 1188 if test -z "$CONFIG_SITE"; then
 1189   if test "x$prefix" != xNONE; then
 1190     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 1191   else
 1192     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 1193   fi
 1194 fi
 1195 for ac_site_file in $CONFIG_SITE; do
 1196   if test -r "$ac_site_file"; then
 1197     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 1198 echo "$as_me: loading site script $ac_site_file" >&6;}
 1199     sed 's/^/| /' "$ac_site_file" >&5
 1200     . "$ac_site_file"
 1201   fi
 1202 done
 1203 
 1204 if test -r "$cache_file"; then
 1205   # Some versions of bash will fail to source /dev/null (special
 1206   # files actually), so we avoid doing that.
 1207   if test -f "$cache_file"; then
 1208     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
 1209 echo "$as_me: loading cache $cache_file" >&6;}
 1210     case $cache_file in
 1211       [\\/]* | ?:[\\/]* ) . $cache_file;;
 1212       *)                      . ./$cache_file;;
 1213     esac
 1214   fi
 1215 else
 1216   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
 1217 echo "$as_me: creating cache $cache_file" >&6;}
 1218   >$cache_file
 1219 fi
 1220 
 1221 # Check that the precious variables saved in the cache have kept the same
 1222 # value.
 1223 ac_cache_corrupted=false
 1224 for ac_var in `(set) 2>&1 |
 1225            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 1226   eval ac_old_set=\$ac_cv_env_${ac_var}_set
 1227   eval ac_new_set=\$ac_env_${ac_var}_set
 1228   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
 1229   eval ac_new_val="\$ac_env_${ac_var}_value"
 1230   case $ac_old_set,$ac_new_set in
 1231     set,)
 1232       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 1233 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 1234       ac_cache_corrupted=: ;;
 1235     ,set)
 1236       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 1237 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 1238       ac_cache_corrupted=: ;;
 1239     ,);;
 1240     *)
 1241       if test "x$ac_old_val" != "x$ac_new_val"; then
 1242     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 1243 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 1244     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
 1245 echo "$as_me:   former value:  $ac_old_val" >&2;}
 1246     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
 1247 echo "$as_me:   current value: $ac_new_val" >&2;}
 1248     ac_cache_corrupted=:
 1249       fi;;
 1250   esac
 1251   # Pass precious variables to config.status.
 1252   if test "$ac_new_set" = set; then
 1253     case $ac_new_val in
 1254     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 1255       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 1256     *) ac_arg=$ac_var=$ac_new_val ;;
 1257     esac
 1258     case " $ac_configure_args " in
 1259       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 1260       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 1261     esac
 1262   fi
 1263 done
 1264 if $ac_cache_corrupted; then
 1265   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 1266 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 1267   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 1268 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 1269    { (exit 1); exit 1; }; }
 1270 fi
 1271 
 1272 ac_ext=c
 1273 ac_cpp='$CPP $CPPFLAGS'
 1274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1277 
 1278 
 1279 
 1280 
 1281 
 1282 
 1283 
 1284 
 1285 
 1286 
 1287 
 1288 
 1289 
 1290 
 1291 
 1292 
 1293 
 1294 
 1295 
 1296           ac_config_headers="$ac_config_headers config.h"
 1297 
 1298 
 1299 ac_ext=c
 1300 ac_cpp='$CPP $CPPFLAGS'
 1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 1302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 1304 if test -n "$ac_tool_prefix"; then
 1305   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 1306 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 1307 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1309 if test "${ac_cv_prog_CC+set}" = set; then
 1310   echo $ECHO_N "(cached) $ECHO_C" >&6
 1311 else
 1312   if test -n "$CC"; then
 1313   ac_cv_prog_CC="$CC" # Let the user override the test.
 1314 else
 1315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1316 for as_dir in $PATH
 1317 do
 1318   IFS=$as_save_IFS
 1319   test -z "$as_dir" && as_dir=.
 1320   for ac_exec_ext in '' $ac_executable_extensions; do
 1321   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1322     ac_cv_prog_CC="${ac_tool_prefix}gcc"
 1323     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1324     break 2
 1325   fi
 1326 done
 1327 done
 1328 
 1329 fi
 1330 fi
 1331 CC=$ac_cv_prog_CC
 1332 if test -n "$CC"; then
 1333   echo "$as_me:$LINENO: result: $CC" >&5
 1334 echo "${ECHO_T}$CC" >&6
 1335 else
 1336   echo "$as_me:$LINENO: result: no" >&5
 1337 echo "${ECHO_T}no" >&6
 1338 fi
 1339 
 1340 fi
 1341 if test -z "$ac_cv_prog_CC"; then
 1342   ac_ct_CC=$CC
 1343   # Extract the first word of "gcc", so it can be a program name with args.
 1344 set dummy gcc; ac_word=$2
 1345 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1348   echo $ECHO_N "(cached) $ECHO_C" >&6
 1349 else
 1350   if test -n "$ac_ct_CC"; then
 1351   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1352 else
 1353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1354 for as_dir in $PATH
 1355 do
 1356   IFS=$as_save_IFS
 1357   test -z "$as_dir" && as_dir=.
 1358   for ac_exec_ext in '' $ac_executable_extensions; do
 1359   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1360     ac_cv_prog_ac_ct_CC="gcc"
 1361     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1362     break 2
 1363   fi
 1364 done
 1365 done
 1366 
 1367 fi
 1368 fi
 1369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1370 if test -n "$ac_ct_CC"; then
 1371   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1372 echo "${ECHO_T}$ac_ct_CC" >&6
 1373 else
 1374   echo "$as_me:$LINENO: result: no" >&5
 1375 echo "${ECHO_T}no" >&6
 1376 fi
 1377 
 1378   CC=$ac_ct_CC
 1379 else
 1380   CC="$ac_cv_prog_CC"
 1381 fi
 1382 
 1383 if test -z "$CC"; then
 1384   if test -n "$ac_tool_prefix"; then
 1385   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 1386 set dummy ${ac_tool_prefix}cc; ac_word=$2
 1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1389 if test "${ac_cv_prog_CC+set}" = set; then
 1390   echo $ECHO_N "(cached) $ECHO_C" >&6
 1391 else
 1392   if test -n "$CC"; then
 1393   ac_cv_prog_CC="$CC" # Let the user override the test.
 1394 else
 1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1396 for as_dir in $PATH
 1397 do
 1398   IFS=$as_save_IFS
 1399   test -z "$as_dir" && as_dir=.
 1400   for ac_exec_ext in '' $ac_executable_extensions; do
 1401   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1402     ac_cv_prog_CC="${ac_tool_prefix}cc"
 1403     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1404     break 2
 1405   fi
 1406 done
 1407 done
 1408 
 1409 fi
 1410 fi
 1411 CC=$ac_cv_prog_CC
 1412 if test -n "$CC"; then
 1413   echo "$as_me:$LINENO: result: $CC" >&5
 1414 echo "${ECHO_T}$CC" >&6
 1415 else
 1416   echo "$as_me:$LINENO: result: no" >&5
 1417 echo "${ECHO_T}no" >&6
 1418 fi
 1419 
 1420 fi
 1421 if test -z "$ac_cv_prog_CC"; then
 1422   ac_ct_CC=$CC
 1423   # Extract the first word of "cc", so it can be a program name with args.
 1424 set dummy cc; ac_word=$2
 1425 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1428   echo $ECHO_N "(cached) $ECHO_C" >&6
 1429 else
 1430   if test -n "$ac_ct_CC"; then
 1431   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1432 else
 1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1434 for as_dir in $PATH
 1435 do
 1436   IFS=$as_save_IFS
 1437   test -z "$as_dir" && as_dir=.
 1438   for ac_exec_ext in '' $ac_executable_extensions; do
 1439   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1440     ac_cv_prog_ac_ct_CC="cc"
 1441     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1442     break 2
 1443   fi
 1444 done
 1445 done
 1446 
 1447 fi
 1448 fi
 1449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1450 if test -n "$ac_ct_CC"; then
 1451   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1452 echo "${ECHO_T}$ac_ct_CC" >&6
 1453 else
 1454   echo "$as_me:$LINENO: result: no" >&5
 1455 echo "${ECHO_T}no" >&6
 1456 fi
 1457 
 1458   CC=$ac_ct_CC
 1459 else
 1460   CC="$ac_cv_prog_CC"
 1461 fi
 1462 
 1463 fi
 1464 if test -z "$CC"; then
 1465   # Extract the first word of "cc", so it can be a program name with args.
 1466 set dummy cc; ac_word=$2
 1467 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1469 if test "${ac_cv_prog_CC+set}" = set; then
 1470   echo $ECHO_N "(cached) $ECHO_C" >&6
 1471 else
 1472   if test -n "$CC"; then
 1473   ac_cv_prog_CC="$CC" # Let the user override the test.
 1474 else
 1475   ac_prog_rejected=no
 1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1477 for as_dir in $PATH
 1478 do
 1479   IFS=$as_save_IFS
 1480   test -z "$as_dir" && as_dir=.
 1481   for ac_exec_ext in '' $ac_executable_extensions; do
 1482   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1483     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 1484        ac_prog_rejected=yes
 1485        continue
 1486      fi
 1487     ac_cv_prog_CC="cc"
 1488     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1489     break 2
 1490   fi
 1491 done
 1492 done
 1493 
 1494 if test $ac_prog_rejected = yes; then
 1495   # We found a bogon in the path, so make sure we never use it.
 1496   set dummy $ac_cv_prog_CC
 1497   shift
 1498   if test $# != 0; then
 1499     # We chose a different compiler from the bogus one.
 1500     # However, it has the same basename, so the bogon will be chosen
 1501     # first if we set CC to just the basename; use the full file name.
 1502     shift
 1503     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 1504   fi
 1505 fi
 1506 fi
 1507 fi
 1508 CC=$ac_cv_prog_CC
 1509 if test -n "$CC"; then
 1510   echo "$as_me:$LINENO: result: $CC" >&5
 1511 echo "${ECHO_T}$CC" >&6
 1512 else
 1513   echo "$as_me:$LINENO: result: no" >&5
 1514 echo "${ECHO_T}no" >&6
 1515 fi
 1516 
 1517 fi
 1518 if test -z "$CC"; then
 1519   if test -n "$ac_tool_prefix"; then
 1520   for ac_prog in cl
 1521   do
 1522     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 1523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 1524 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1526 if test "${ac_cv_prog_CC+set}" = set; then
 1527   echo $ECHO_N "(cached) $ECHO_C" >&6
 1528 else
 1529   if test -n "$CC"; then
 1530   ac_cv_prog_CC="$CC" # Let the user override the test.
 1531 else
 1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1533 for as_dir in $PATH
 1534 do
 1535   IFS=$as_save_IFS
 1536   test -z "$as_dir" && as_dir=.
 1537   for ac_exec_ext in '' $ac_executable_extensions; do
 1538   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1539     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 1540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1541     break 2
 1542   fi
 1543 done
 1544 done
 1545 
 1546 fi
 1547 fi
 1548 CC=$ac_cv_prog_CC
 1549 if test -n "$CC"; then
 1550   echo "$as_me:$LINENO: result: $CC" >&5
 1551 echo "${ECHO_T}$CC" >&6
 1552 else
 1553   echo "$as_me:$LINENO: result: no" >&5
 1554 echo "${ECHO_T}no" >&6
 1555 fi
 1556 
 1557     test -n "$CC" && break
 1558   done
 1559 fi
 1560 if test -z "$CC"; then
 1561   ac_ct_CC=$CC
 1562   for ac_prog in cl
 1563 do
 1564   # Extract the first word of "$ac_prog", so it can be a program name with args.
 1565 set dummy $ac_prog; ac_word=$2
 1566 echo "$as_me:$LINENO: checking for $ac_word" >&5
 1567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 1568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 1569   echo $ECHO_N "(cached) $ECHO_C" >&6
 1570 else
 1571   if test -n "$ac_ct_CC"; then
 1572   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 1573 else
 1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 1575 for as_dir in $PATH
 1576 do
 1577   IFS=$as_save_IFS
 1578   test -z "$as_dir" && as_dir=.
 1579   for ac_exec_ext in '' $ac_executable_extensions; do
 1580   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 1581     ac_cv_prog_ac_ct_CC="$ac_prog"
 1582     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 1583     break 2
 1584   fi
 1585 done
 1586 done
 1587 
 1588 fi
 1589 fi
 1590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 1591 if test -n "$ac_ct_CC"; then
 1592   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 1593 echo "${ECHO_T}$ac_ct_CC" >&6
 1594 else
 1595   echo "$as_me:$LINENO: result: no" >&5
 1596 echo "${ECHO_T}no" >&6
 1597 fi
 1598 
 1599   test -n "$ac_ct_CC" && break
 1600 done
 1601 
 1602   CC=$ac_ct_CC
 1603 fi
 1604 
 1605 fi
 1606 
 1607 
 1608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 1609 See \`config.log' for more details." >&5
 1610 echo "$as_me: error: no acceptable C compiler found in \$PATH
 1611 See \`config.log' for more details." >&2;}
 1612    { (exit 1); exit 1; }; }
 1613 
 1614 # Provide some information about the compiler.
 1615 echo "$as_me:$LINENO:" \
 1616      "checking for C compiler version" >&5
 1617 ac_compiler=`set X $ac_compile; echo $2`
 1618 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
 1619   (eval $ac_compiler --version </dev/null >&5) 2>&5
 1620   ac_status=$?
 1621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1622   (exit $ac_status); }
 1623 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
 1624   (eval $ac_compiler -v </dev/null >&5) 2>&5
 1625   ac_status=$?
 1626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1627   (exit $ac_status); }
 1628 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
 1629   (eval $ac_compiler -V </dev/null >&5) 2>&5
 1630   ac_status=$?
 1631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1632   (exit $ac_status); }
 1633 
 1634 cat >conftest.$ac_ext <<_ACEOF
 1635 /* confdefs.h.  */
 1636 _ACEOF
 1637 cat confdefs.h >>conftest.$ac_ext
 1638 cat >>conftest.$ac_ext <<_ACEOF
 1639 /* end confdefs.h.  */
 1640 
 1641 int
 1642 main ()
 1643 {
 1644 
 1645   ;
 1646   return 0;
 1647 }
 1648 _ACEOF
 1649 ac_clean_files_save=$ac_clean_files
 1650 ac_clean_files="$ac_clean_files a.out a.exe b.out"
 1651 # Try to create an executable without -o first, disregard a.out.
 1652 # It will help us diagnose broken compilers, and finding out an intuition
 1653 # of exeext.
 1654 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 1655 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 1656 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 1657 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
 1658   (eval $ac_link_default) 2>&5
 1659   ac_status=$?
 1660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1661   (exit $ac_status); }; then
 1662   # Find the output, starting from the most likely.  This scheme is
 1663 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
 1664 # resort.
 1665 
 1666 # Be careful to initialize this variable, since it used to be cached.
 1667 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
 1668 ac_cv_exeext=
 1669 # b.out is created by i960 compilers.
 1670 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 1671 do
 1672   test -f "$ac_file" || continue
 1673   case $ac_file in
 1674     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
 1675     ;;
 1676     conftest.$ac_ext )
 1677     # This is the source file.
 1678     ;;
 1679     [ab].out )
 1680     # We found the default executable, but exeext='' is most
 1681     # certainly right.
 1682     break;;
 1683     *.* )
 1684     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1685     # FIXME: I believe we export ac_cv_exeext for Libtool,
 1686     # but it would be cool to find out if it's true.  Does anybody
 1687     # maintain Libtool? --akim.
 1688     export ac_cv_exeext
 1689     break;;
 1690     * )
 1691     break;;
 1692   esac
 1693 done
 1694 else
 1695   echo "$as_me: failed program was:" >&5
 1696 sed 's/^/| /' conftest.$ac_ext >&5
 1697 
 1698 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
 1699 See \`config.log' for more details." >&5
 1700 echo "$as_me: error: C compiler cannot create executables
 1701 See \`config.log' for more details." >&2;}
 1702    { (exit 77); exit 77; }; }
 1703 fi
 1704 
 1705 ac_exeext=$ac_cv_exeext
 1706 echo "$as_me:$LINENO: result: $ac_file" >&5
 1707 echo "${ECHO_T}$ac_file" >&6
 1708 
 1709 # Check the compiler produces executables we can run.  If not, either
 1710 # the compiler is broken, or we cross compile.
 1711 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 1712 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 1713 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
 1714 # If not cross compiling, check that we can run a simple program.
 1715 if test "$cross_compiling" != yes; then
 1716   if { ac_try='./$ac_file'
 1717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1718   (eval $ac_try) 2>&5
 1719   ac_status=$?
 1720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1721   (exit $ac_status); }; }; then
 1722     cross_compiling=no
 1723   else
 1724     if test "$cross_compiling" = maybe; then
 1725     cross_compiling=yes
 1726     else
 1727     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 1728 If you meant to cross compile, use \`--host'.
 1729 See \`config.log' for more details." >&5
 1730 echo "$as_me: error: cannot run C compiled programs.
 1731 If you meant to cross compile, use \`--host'.
 1732 See \`config.log' for more details." >&2;}
 1733    { (exit 1); exit 1; }; }
 1734     fi
 1735   fi
 1736 fi
 1737 echo "$as_me:$LINENO: result: yes" >&5
 1738 echo "${ECHO_T}yes" >&6
 1739 
 1740 rm -f a.out a.exe conftest$ac_cv_exeext b.out
 1741 ac_clean_files=$ac_clean_files_save
 1742 # Check the compiler produces executables we can run.  If not, either
 1743 # the compiler is broken, or we cross compile.
 1744 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 1745 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
 1746 echo "$as_me:$LINENO: result: $cross_compiling" >&5
 1747 echo "${ECHO_T}$cross_compiling" >&6
 1748 
 1749 echo "$as_me:$LINENO: checking for suffix of executables" >&5
 1750 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
 1751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 1752   (eval $ac_link) 2>&5
 1753   ac_status=$?
 1754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1755   (exit $ac_status); }; then
 1756   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 1757 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 1758 # work properly (i.e., refer to `conftest.exe'), while it won't with
 1759 # `rm'.
 1760 for ac_file in conftest.exe conftest conftest.*; do
 1761   test -f "$ac_file" || continue
 1762   case $ac_file in
 1763     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 1764     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 1765       export ac_cv_exeext
 1766       break;;
 1767     * ) break;;
 1768   esac
 1769 done
 1770 else
 1771   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 1772 See \`config.log' for more details." >&5
 1773 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 1774 See \`config.log' for more details." >&2;}
 1775    { (exit 1); exit 1; }; }
 1776 fi
 1777 
 1778 rm -f conftest$ac_cv_exeext
 1779 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 1780 echo "${ECHO_T}$ac_cv_exeext" >&6
 1781 
 1782 rm -f conftest.$ac_ext
 1783 EXEEXT=$ac_cv_exeext
 1784 ac_exeext=$EXEEXT
 1785 echo "$as_me:$LINENO: checking for suffix of object files" >&5
 1786 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 1787 if test "${ac_cv_objext+set}" = set; then
 1788   echo $ECHO_N "(cached) $ECHO_C" >&6
 1789 else
 1790   cat >conftest.$ac_ext <<_ACEOF
 1791 /* confdefs.h.  */
 1792 _ACEOF
 1793 cat confdefs.h >>conftest.$ac_ext
 1794 cat >>conftest.$ac_ext <<_ACEOF
 1795 /* end confdefs.h.  */
 1796 
 1797 int
 1798 main ()
 1799 {
 1800 
 1801   ;
 1802   return 0;
 1803 }
 1804 _ACEOF
 1805 rm -f conftest.o conftest.obj
 1806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1807   (eval $ac_compile) 2>&5
 1808   ac_status=$?
 1809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1810   (exit $ac_status); }; then
 1811   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 1812   case $ac_file in
 1813     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 1814     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 1815        break;;
 1816   esac
 1817 done
 1818 else
 1819   echo "$as_me: failed program was:" >&5
 1820 sed 's/^/| /' conftest.$ac_ext >&5
 1821 
 1822 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 1823 See \`config.log' for more details." >&5
 1824 echo "$as_me: error: cannot compute suffix of object files: cannot compile
 1825 See \`config.log' for more details." >&2;}
 1826    { (exit 1); exit 1; }; }
 1827 fi
 1828 
 1829 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 1830 fi
 1831 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 1832 echo "${ECHO_T}$ac_cv_objext" >&6
 1833 OBJEXT=$ac_cv_objext
 1834 ac_objext=$OBJEXT
 1835 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 1836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 1837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
 1838   echo $ECHO_N "(cached) $ECHO_C" >&6
 1839 else
 1840   cat >conftest.$ac_ext <<_ACEOF
 1841 /* confdefs.h.  */
 1842 _ACEOF
 1843 cat confdefs.h >>conftest.$ac_ext
 1844 cat >>conftest.$ac_ext <<_ACEOF
 1845 /* end confdefs.h.  */
 1846 
 1847 int
 1848 main ()
 1849 {
 1850 #ifndef __GNUC__
 1851        choke me
 1852 #endif
 1853 
 1854   ;
 1855   return 0;
 1856 }
 1857 _ACEOF
 1858 rm -f conftest.$ac_objext
 1859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1860   (eval $ac_compile) 2>conftest.er1
 1861   ac_status=$?
 1862   grep -v '^ *+' conftest.er1 >conftest.err
 1863   rm -f conftest.er1
 1864   cat conftest.err >&5
 1865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1866   (exit $ac_status); } &&
 1867      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 1868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1869   (eval $ac_try) 2>&5
 1870   ac_status=$?
 1871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1872   (exit $ac_status); }; } &&
 1873      { ac_try='test -s conftest.$ac_objext'
 1874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1875   (eval $ac_try) 2>&5
 1876   ac_status=$?
 1877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1878   (exit $ac_status); }; }; then
 1879   ac_compiler_gnu=yes
 1880 else
 1881   echo "$as_me: failed program was:" >&5
 1882 sed 's/^/| /' conftest.$ac_ext >&5
 1883 
 1884 ac_compiler_gnu=no
 1885 fi
 1886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 1887 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 1888 
 1889 fi
 1890 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 1891 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 1892 GCC=`test $ac_compiler_gnu = yes && echo yes`
 1893 ac_test_CFLAGS=${CFLAGS+set}
 1894 ac_save_CFLAGS=$CFLAGS
 1895 CFLAGS="-g"
 1896 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 1897 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 1898 if test "${ac_cv_prog_cc_g+set}" = set; then
 1899   echo $ECHO_N "(cached) $ECHO_C" >&6
 1900 else
 1901   cat >conftest.$ac_ext <<_ACEOF
 1902 /* confdefs.h.  */
 1903 _ACEOF
 1904 cat confdefs.h >>conftest.$ac_ext
 1905 cat >>conftest.$ac_ext <<_ACEOF
 1906 /* end confdefs.h.  */
 1907 
 1908 int
 1909 main ()
 1910 {
 1911 
 1912   ;
 1913   return 0;
 1914 }
 1915 _ACEOF
 1916 rm -f conftest.$ac_objext
 1917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 1918   (eval $ac_compile) 2>conftest.er1
 1919   ac_status=$?
 1920   grep -v '^ *+' conftest.er1 >conftest.err
 1921   rm -f conftest.er1
 1922   cat conftest.err >&5
 1923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1924   (exit $ac_status); } &&
 1925      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 1926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1927   (eval $ac_try) 2>&5
 1928   ac_status=$?
 1929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1930   (exit $ac_status); }; } &&
 1931      { ac_try='test -s conftest.$ac_objext'
 1932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 1933   (eval $ac_try) 2>&5
 1934   ac_status=$?
 1935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 1936   (exit $ac_status); }; }; then
 1937   ac_cv_prog_cc_g=yes
 1938 else
 1939   echo "$as_me: failed program was:" >&5
 1940 sed 's/^/| /' conftest.$ac_ext >&5
 1941 
 1942 ac_cv_prog_cc_g=no
 1943 fi
 1944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 1945 fi
 1946 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 1947 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 1948 if test "$ac_test_CFLAGS" = set; then
 1949   CFLAGS=$ac_save_CFLAGS
 1950 elif test $ac_cv_prog_cc_g = yes; then
 1951   if test "$GCC" = yes; then
 1952     CFLAGS="-g -O2"
 1953   else
 1954     CFLAGS="-g"
 1955   fi
 1956 else
 1957   if test "$GCC" = yes; then
 1958     CFLAGS="-O2"
 1959   else
 1960     CFLAGS=
 1961   fi
 1962 fi
 1963 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
 1964 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 1965 if test "${ac_cv_prog_cc_stdc+set}" = set; then
 1966   echo $ECHO_N "(cached) $ECHO_C" >&6
 1967 else
 1968   ac_cv_prog_cc_stdc=no
 1969 ac_save_CC=$CC
 1970 cat >conftest.$ac_ext <<_ACEOF
 1971 /* confdefs.h.  */
 1972 _ACEOF
 1973 cat confdefs.h >>conftest.$ac_ext
 1974 cat >>conftest.$ac_ext <<_ACEOF
 1975 /* end confdefs.h.  */
 1976 #include <stdarg.h>
 1977 #include <stdio.h>
 1978 #include <sys/types.h>
 1979 #include <sys/stat.h>
 1980 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 1981 struct buf { int x; };
 1982 FILE * (*rcsopen) (struct buf *, struct stat *, int);
 1983 static char *e (p, i)
 1984      char **p;
 1985      int i;
 1986 {
 1987   return p[i];
 1988 }
 1989 static char *f (char * (*g) (char **, int), char **p, ...)
 1990 {
 1991   char *s;
 1992   va_list v;
 1993   va_start (v,p);
 1994   s = g (p, va_arg (v,int));
 1995   va_end (v);
 1996   return s;
 1997 }
 1998 
 1999 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 2000    function prototypes and stuff, but not '\xHH' hex character constants.
 2001    These don't provoke an error unfortunately, instead are silently treated
 2002    as 'x'.  The following induces an error, until -std1 is added to get
 2003    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 2004    array size at least.  It's necessary to write '\x00'==0 to get something
 2005    that's true only with -std1.  */
 2006 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 2007 
 2008 int test (int i, double x);
 2009 struct s1 {int (*f) (int a);};
 2010 struct s2 {int (*f) (double a);};
 2011 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 2012 int argc;
 2013 char **argv;
 2014 int
 2015 main ()
 2016 {
 2017 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 2018   ;
 2019   return 0;
 2020 }
 2021 _ACEOF
 2022 # Don't try gcc -ansi; that turns off useful extensions and
 2023 # breaks some systems' header files.
 2024 # AIX           -qlanglvl=ansi
 2025 # Ultrix and OSF/1  -std1
 2026 # HP-UX 10.20 and later -Ae
 2027 # HP-UX older versions  -Aa -D_HPUX_SOURCE
 2028 # SVR4          -Xc -D__EXTENSIONS__
 2029 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 2030 do
 2031   CC="$ac_save_CC $ac_arg"
 2032   rm -f conftest.$ac_objext
 2033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2034   (eval $ac_compile) 2>conftest.er1
 2035   ac_status=$?
 2036   grep -v '^ *+' conftest.er1 >conftest.err
 2037   rm -f conftest.er1
 2038   cat conftest.err >&5
 2039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2040   (exit $ac_status); } &&
 2041      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2043   (eval $ac_try) 2>&5
 2044   ac_status=$?
 2045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2046   (exit $ac_status); }; } &&
 2047      { ac_try='test -s conftest.$ac_objext'
 2048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2049   (eval $ac_try) 2>&5
 2050   ac_status=$?
 2051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2052   (exit $ac_status); }; }; then
 2053   ac_cv_prog_cc_stdc=$ac_arg
 2054 break
 2055 else
 2056   echo "$as_me: failed program was:" >&5
 2057 sed 's/^/| /' conftest.$ac_ext >&5
 2058 
 2059 fi
 2060 rm -f conftest.err conftest.$ac_objext
 2061 done
 2062 rm -f conftest.$ac_ext conftest.$ac_objext
 2063 CC=$ac_save_CC
 2064 
 2065 fi
 2066 
 2067 case "x$ac_cv_prog_cc_stdc" in
 2068   x|xno)
 2069     echo "$as_me:$LINENO: result: none needed" >&5
 2070 echo "${ECHO_T}none needed" >&6 ;;
 2071   *)
 2072     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
 2073 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
 2074     CC="$CC $ac_cv_prog_cc_stdc" ;;
 2075 esac
 2076 
 2077 # Some people use a C++ compiler to compile C.  Since we use `exit',
 2078 # in C++ we need to declare it.  In case someone uses the same compiler
 2079 # for both compiling C and C++ we need to have the C++ compiler decide
 2080 # the declaration of exit, since it's the most demanding environment.
 2081 cat >conftest.$ac_ext <<_ACEOF
 2082 #ifndef __cplusplus
 2083   choke me
 2084 #endif
 2085 _ACEOF
 2086 rm -f conftest.$ac_objext
 2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2088   (eval $ac_compile) 2>conftest.er1
 2089   ac_status=$?
 2090   grep -v '^ *+' conftest.er1 >conftest.err
 2091   rm -f conftest.er1
 2092   cat conftest.err >&5
 2093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2094   (exit $ac_status); } &&
 2095      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2097   (eval $ac_try) 2>&5
 2098   ac_status=$?
 2099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2100   (exit $ac_status); }; } &&
 2101      { ac_try='test -s conftest.$ac_objext'
 2102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2103   (eval $ac_try) 2>&5
 2104   ac_status=$?
 2105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2106   (exit $ac_status); }; }; then
 2107   for ac_declaration in \
 2108    '' \
 2109    'extern "C" void std::exit (int) throw (); using std::exit;' \
 2110    'extern "C" void std::exit (int); using std::exit;' \
 2111    'extern "C" void exit (int) throw ();' \
 2112    'extern "C" void exit (int);' \
 2113    'void exit (int);'
 2114 do
 2115   cat >conftest.$ac_ext <<_ACEOF
 2116 /* confdefs.h.  */
 2117 _ACEOF
 2118 cat confdefs.h >>conftest.$ac_ext
 2119 cat >>conftest.$ac_ext <<_ACEOF
 2120 /* end confdefs.h.  */
 2121 $ac_declaration
 2122 #include <stdlib.h>
 2123 int
 2124 main ()
 2125 {
 2126 exit (42);
 2127   ;
 2128   return 0;
 2129 }
 2130 _ACEOF
 2131 rm -f conftest.$ac_objext
 2132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2133   (eval $ac_compile) 2>conftest.er1
 2134   ac_status=$?
 2135   grep -v '^ *+' conftest.er1 >conftest.err
 2136   rm -f conftest.er1
 2137   cat conftest.err >&5
 2138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2139   (exit $ac_status); } &&
 2140      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2142   (eval $ac_try) 2>&5
 2143   ac_status=$?
 2144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2145   (exit $ac_status); }; } &&
 2146      { ac_try='test -s conftest.$ac_objext'
 2147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2148   (eval $ac_try) 2>&5
 2149   ac_status=$?
 2150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2151   (exit $ac_status); }; }; then
 2152   :
 2153 else
 2154   echo "$as_me: failed program was:" >&5
 2155 sed 's/^/| /' conftest.$ac_ext >&5
 2156 
 2157 continue
 2158 fi
 2159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2160   cat >conftest.$ac_ext <<_ACEOF
 2161 /* confdefs.h.  */
 2162 _ACEOF
 2163 cat confdefs.h >>conftest.$ac_ext
 2164 cat >>conftest.$ac_ext <<_ACEOF
 2165 /* end confdefs.h.  */
 2166 $ac_declaration
 2167 int
 2168 main ()
 2169 {
 2170 exit (42);
 2171   ;
 2172   return 0;
 2173 }
 2174 _ACEOF
 2175 rm -f conftest.$ac_objext
 2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 2177   (eval $ac_compile) 2>conftest.er1
 2178   ac_status=$?
 2179   grep -v '^ *+' conftest.er1 >conftest.err
 2180   rm -f conftest.er1
 2181   cat conftest.err >&5
 2182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2183   (exit $ac_status); } &&
 2184      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2186   (eval $ac_try) 2>&5
 2187   ac_status=$?
 2188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2189   (exit $ac_status); }; } &&
 2190      { ac_try='test -s conftest.$ac_objext'
 2191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2192   (eval $ac_try) 2>&5
 2193   ac_status=$?
 2194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2195   (exit $ac_status); }; }; then
 2196   break
 2197 else
 2198   echo "$as_me: failed program was:" >&5
 2199 sed 's/^/| /' conftest.$ac_ext >&5
 2200 
 2201 fi
 2202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2203 done
 2204 rm -f conftest*
 2205 if test -n "$ac_declaration"; then
 2206   echo '#ifdef __cplusplus' >>confdefs.h
 2207   echo $ac_declaration      >>confdefs.h
 2208   echo '#endif'             >>confdefs.h
 2209 fi
 2210 
 2211 else
 2212   echo "$as_me: failed program was:" >&5
 2213 sed 's/^/| /' conftest.$ac_ext >&5
 2214 
 2215 fi
 2216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 2217 ac_ext=c
 2218 ac_cpp='$CPP $CPPFLAGS'
 2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 2222 
 2223 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 2224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 2225 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 2226 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 2227   echo $ECHO_N "(cached) $ECHO_C" >&6
 2228 else
 2229   cat >conftest.make <<\_ACEOF
 2230 all:
 2231     @echo 'ac_maketemp="$(MAKE)"'
 2232 _ACEOF
 2233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 2234 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 2235 if test -n "$ac_maketemp"; then
 2236   eval ac_cv_prog_make_${ac_make}_set=yes
 2237 else
 2238   eval ac_cv_prog_make_${ac_make}_set=no
 2239 fi
 2240 rm -f conftest.make
 2241 fi
 2242 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 2243   echo "$as_me:$LINENO: result: yes" >&5
 2244 echo "${ECHO_T}yes" >&6
 2245   SET_MAKE=
 2246 else
 2247   echo "$as_me:$LINENO: result: no" >&5
 2248 echo "${ECHO_T}no" >&6
 2249   SET_MAKE="MAKE=${MAKE-make}"
 2250 fi
 2251 
 2252 ac_aux_dir=
 2253 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
 2254   if test -f $ac_dir/install-sh; then
 2255     ac_aux_dir=$ac_dir
 2256     ac_install_sh="$ac_aux_dir/install-sh -c"
 2257     break
 2258   elif test -f $ac_dir/install.sh; then
 2259     ac_aux_dir=$ac_dir
 2260     ac_install_sh="$ac_aux_dir/install.sh -c"
 2261     break
 2262   elif test -f $ac_dir/shtool; then
 2263     ac_aux_dir=$ac_dir
 2264     ac_install_sh="$ac_aux_dir/shtool install -c"
 2265     break
 2266   fi
 2267 done
 2268 if test -z "$ac_aux_dir"; then
 2269   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
 2270 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 2271    { (exit 1); exit 1; }; }
 2272 fi
 2273 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 2274 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 2275 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 2276 
 2277 # Find a good install program.  We prefer a C program (faster),
 2278 # so one script is as good as another.  But avoid the broken or
 2279 # incompatible versions:
 2280 # SysV /etc/install, /usr/sbin/install
 2281 # SunOS /usr/etc/install
 2282 # IRIX /sbin/install
 2283 # AIX /bin/install
 2284 # AmigaOS /C/install, which installs bootblocks on floppy discs
 2285 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 2286 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 2287 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 2288 # OS/2's system install, which has a completely different semantic
 2289 # ./install, which can be erroneously created by make from ./install.sh.
 2290 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 2291 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 2292 if test -z "$INSTALL"; then
 2293 if test "${ac_cv_path_install+set}" = set; then
 2294   echo $ECHO_N "(cached) $ECHO_C" >&6
 2295 else
 2296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2297 for as_dir in $PATH
 2298 do
 2299   IFS=$as_save_IFS
 2300   test -z "$as_dir" && as_dir=.
 2301   # Account for people who put trailing slashes in PATH elements.
 2302 case $as_dir/ in
 2303   ./ | .// | /cC/* | \
 2304   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 2305   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 2306   /usr/ucb/* ) ;;
 2307   *)
 2308     # OSF1 and SCO ODT 3.0 have their own names for install.
 2309     # Don't use installbsd from OSF since it installs stuff as root
 2310     # by default.
 2311     for ac_prog in ginstall scoinst install; do
 2312       for ac_exec_ext in '' $ac_executable_extensions; do
 2313     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 2314       if test $ac_prog = install &&
 2315         grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2316         # AIX install.  It has an incompatible calling convention.
 2317         :
 2318       elif test $ac_prog = install &&
 2319         grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 2320         # program-specific install script used by HP pwplus--don't use.
 2321         :
 2322       else
 2323         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 2324         break 3
 2325       fi
 2326     fi
 2327       done
 2328     done
 2329     ;;
 2330 esac
 2331 done
 2332 
 2333 
 2334 fi
 2335   if test "${ac_cv_path_install+set}" = set; then
 2336     INSTALL=$ac_cv_path_install
 2337   else
 2338     # As a last resort, use the slow shell script.  We don't cache a
 2339     # path for INSTALL within a source directory, because that will
 2340     # break other packages using the cache if that directory is
 2341     # removed, or if the path is relative.
 2342     INSTALL=$ac_install_sh
 2343   fi
 2344 fi
 2345 echo "$as_me:$LINENO: result: $INSTALL" >&5
 2346 echo "${ECHO_T}$INSTALL" >&6
 2347 
 2348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 2349 # It thinks the first close brace ends the variable substitution.
 2350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 2351 
 2352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 2353 
 2354 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 2355 
 2356 if test -n "$ac_tool_prefix"; then
 2357   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 2358 set dummy ${ac_tool_prefix}ar; ac_word=$2
 2359 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2361 if test "${ac_cv_prog_AR+set}" = set; then
 2362   echo $ECHO_N "(cached) $ECHO_C" >&6
 2363 else
 2364   if test -n "$AR"; then
 2365   ac_cv_prog_AR="$AR" # Let the user override the test.
 2366 else
 2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2368 for as_dir in $PATH
 2369 do
 2370   IFS=$as_save_IFS
 2371   test -z "$as_dir" && as_dir=.
 2372   for ac_exec_ext in '' $ac_executable_extensions; do
 2373   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2374     ac_cv_prog_AR="${ac_tool_prefix}ar"
 2375     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2376     break 2
 2377   fi
 2378 done
 2379 done
 2380 
 2381 fi
 2382 fi
 2383 AR=$ac_cv_prog_AR
 2384 if test -n "$AR"; then
 2385   echo "$as_me:$LINENO: result: $AR" >&5
 2386 echo "${ECHO_T}$AR" >&6
 2387 else
 2388   echo "$as_me:$LINENO: result: no" >&5
 2389 echo "${ECHO_T}no" >&6
 2390 fi
 2391 
 2392 fi
 2393 if test -z "$ac_cv_prog_AR"; then
 2394   ac_ct_AR=$AR
 2395   # Extract the first word of "ar", so it can be a program name with args.
 2396 set dummy ar; ac_word=$2
 2397 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2399 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 2400   echo $ECHO_N "(cached) $ECHO_C" >&6
 2401 else
 2402   if test -n "$ac_ct_AR"; then
 2403   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 2404 else
 2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2406 for as_dir in $PATH
 2407 do
 2408   IFS=$as_save_IFS
 2409   test -z "$as_dir" && as_dir=.
 2410   for ac_exec_ext in '' $ac_executable_extensions; do
 2411   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2412     ac_cv_prog_ac_ct_AR="ar"
 2413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2414     break 2
 2415   fi
 2416 done
 2417 done
 2418 
 2419   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="#"
 2420 fi
 2421 fi
 2422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
 2423 if test -n "$ac_ct_AR"; then
 2424   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 2425 echo "${ECHO_T}$ac_ct_AR" >&6
 2426 else
 2427   echo "$as_me:$LINENO: result: no" >&5
 2428 echo "${ECHO_T}no" >&6
 2429 fi
 2430 
 2431   AR=$ac_ct_AR
 2432 else
 2433   AR="$ac_cv_prog_AR"
 2434 fi
 2435 
 2436 if test -n "$ac_tool_prefix"; then
 2437   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 2438 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 2439 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2441 if test "${ac_cv_prog_RANLIB+set}" = set; then
 2442   echo $ECHO_N "(cached) $ECHO_C" >&6
 2443 else
 2444   if test -n "$RANLIB"; then
 2445   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 2446 else
 2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2448 for as_dir in $PATH
 2449 do
 2450   IFS=$as_save_IFS
 2451   test -z "$as_dir" && as_dir=.
 2452   for ac_exec_ext in '' $ac_executable_extensions; do
 2453   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2454     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 2455     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2456     break 2
 2457   fi
 2458 done
 2459 done
 2460 
 2461 fi
 2462 fi
 2463 RANLIB=$ac_cv_prog_RANLIB
 2464 if test -n "$RANLIB"; then
 2465   echo "$as_me:$LINENO: result: $RANLIB" >&5
 2466 echo "${ECHO_T}$RANLIB" >&6
 2467 else
 2468   echo "$as_me:$LINENO: result: no" >&5
 2469 echo "${ECHO_T}no" >&6
 2470 fi
 2471 
 2472 fi
 2473 if test -z "$ac_cv_prog_RANLIB"; then
 2474   ac_ct_RANLIB=$RANLIB
 2475   # Extract the first word of "ranlib", so it can be a program name with args.
 2476 set dummy ranlib; ac_word=$2
 2477 echo "$as_me:$LINENO: checking for $ac_word" >&5
 2478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 2479 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 2480   echo $ECHO_N "(cached) $ECHO_C" >&6
 2481 else
 2482   if test -n "$ac_ct_RANLIB"; then
 2483   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 2484 else
 2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 2486 for as_dir in $PATH
 2487 do
 2488   IFS=$as_save_IFS
 2489   test -z "$as_dir" && as_dir=.
 2490   for ac_exec_ext in '' $ac_executable_extensions; do
 2491   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 2492     ac_cv_prog_ac_ct_RANLIB="ranlib"
 2493     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 2494     break 2
 2495   fi
 2496 done
 2497 done
 2498 
 2499   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="#"
 2500 fi
 2501 fi
 2502 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 2503 if test -n "$ac_ct_RANLIB"; then
 2504   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 2505 echo "${ECHO_T}$ac_ct_RANLIB" >&6
 2506 else
 2507   echo "$as_me:$LINENO: result: no" >&5
 2508 echo "${ECHO_T}no" >&6
 2509 fi
 2510 
 2511   RANLIB=$ac_ct_RANLIB
 2512 else
 2513   RANLIB="$ac_cv_prog_RANLIB"
 2514 fi
 2515 
 2516 
 2517 
 2518 
 2519 
 2520   if test -n "$GCC"; then
 2521     CFLAGS="$CFLAGS -Wall"
 2522     DEPEND="Makefile.dep"
 2523   fi
 2524 
 2525 
 2526 
 2527 
 2528 
 2529     echo "$as_me:$LINENO: checking for dlopen" >&5
 2530 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 2531 if test "${ac_cv_func_dlopen+set}" = set; then
 2532   echo $ECHO_N "(cached) $ECHO_C" >&6
 2533 else
 2534   cat >conftest.$ac_ext <<_ACEOF
 2535 /* confdefs.h.  */
 2536 _ACEOF
 2537 cat confdefs.h >>conftest.$ac_ext
 2538 cat >>conftest.$ac_ext <<_ACEOF
 2539 /* end confdefs.h.  */
 2540 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 2541    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 2542 #define dlopen innocuous_dlopen
 2543 
 2544 /* System header to define __stub macros and hopefully few prototypes,
 2545     which can conflict with char dlopen (); below.
 2546     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 2547     <limits.h> exists even on freestanding compilers.  */
 2548 
 2549 #ifdef __STDC__
 2550 # include <limits.h>
 2551 #else
 2552 # include <assert.h>
 2553 #endif
 2554 
 2555 #undef dlopen
 2556 
 2557 /* Override any gcc2 internal prototype to avoid an error.  */
 2558 #ifdef __cplusplus
 2559 extern "C"
 2560 {
 2561 #endif
 2562 /* We use char because int might match the return type of a gcc2
 2563    builtin and then its argument prototype would still apply.  */
 2564 char dlopen ();
 2565 /* The GNU C library defines this for functions which it implements
 2566     to always fail with ENOSYS.  Some functions are actually named
 2567     something starting with __ and the normal name is an alias.  */
 2568 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 2569 choke me
 2570 #else
 2571 char (*f) () = dlopen;
 2572 #endif
 2573 #ifdef __cplusplus
 2574 }
 2575 #endif
 2576 
 2577 int
 2578 main ()
 2579 {
 2580 return f != dlopen;
 2581   ;
 2582   return 0;
 2583 }
 2584 _ACEOF
 2585 rm -f conftest.$ac_objext conftest$ac_exeext
 2586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2587   (eval $ac_link) 2>conftest.er1
 2588   ac_status=$?
 2589   grep -v '^ *+' conftest.er1 >conftest.err
 2590   rm -f conftest.er1
 2591   cat conftest.err >&5
 2592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2593   (exit $ac_status); } &&
 2594      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2596   (eval $ac_try) 2>&5
 2597   ac_status=$?
 2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2599   (exit $ac_status); }; } &&
 2600      { ac_try='test -s conftest$ac_exeext'
 2601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2602   (eval $ac_try) 2>&5
 2603   ac_status=$?
 2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2605   (exit $ac_status); }; }; then
 2606   ac_cv_func_dlopen=yes
 2607 else
 2608   echo "$as_me: failed program was:" >&5
 2609 sed 's/^/| /' conftest.$ac_ext >&5
 2610 
 2611 ac_cv_func_dlopen=no
 2612 fi
 2613 rm -f conftest.err conftest.$ac_objext \
 2614       conftest$ac_exeext conftest.$ac_ext
 2615 fi
 2616 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 2617 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 2618 if test $ac_cv_func_dlopen = yes; then
 2619 
 2620 
 2621 cat >>confdefs.h <<\_ACEOF
 2622 #define HAVE_DLOPEN 1
 2623 _ACEOF
 2624 
 2625         HAVEDLOPEN=yes
 2626 
 2627 fi
 2628 
 2629     if test "$ac_cv_func_dlopen" = "no"; then
 2630         echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 2631 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 2632 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 2633   echo $ECHO_N "(cached) $ECHO_C" >&6
 2634 else
 2635   ac_check_lib_save_LIBS=$LIBS
 2636 LIBS="-ldl  $LIBS"
 2637 cat >conftest.$ac_ext <<_ACEOF
 2638 /* confdefs.h.  */
 2639 _ACEOF
 2640 cat confdefs.h >>conftest.$ac_ext
 2641 cat >>conftest.$ac_ext <<_ACEOF
 2642 /* end confdefs.h.  */
 2643 
 2644 /* Override any gcc2 internal prototype to avoid an error.  */
 2645 #ifdef __cplusplus
 2646 extern "C"
 2647 #endif
 2648 /* We use char because int might match the return type of a gcc2
 2649    builtin and then its argument prototype would still apply.  */
 2650 char dlopen ();
 2651 int
 2652 main ()
 2653 {
 2654 dlopen ();
 2655   ;
 2656   return 0;
 2657 }
 2658 _ACEOF
 2659 rm -f conftest.$ac_objext conftest$ac_exeext
 2660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2661   (eval $ac_link) 2>conftest.er1
 2662   ac_status=$?
 2663   grep -v '^ *+' conftest.er1 >conftest.err
 2664   rm -f conftest.er1
 2665   cat conftest.err >&5
 2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2667   (exit $ac_status); } &&
 2668      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2670   (eval $ac_try) 2>&5
 2671   ac_status=$?
 2672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2673   (exit $ac_status); }; } &&
 2674      { ac_try='test -s conftest$ac_exeext'
 2675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2676   (eval $ac_try) 2>&5
 2677   ac_status=$?
 2678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2679   (exit $ac_status); }; }; then
 2680   ac_cv_lib_dl_dlopen=yes
 2681 else
 2682   echo "$as_me: failed program was:" >&5
 2683 sed 's/^/| /' conftest.$ac_ext >&5
 2684 
 2685 ac_cv_lib_dl_dlopen=no
 2686 fi
 2687 rm -f conftest.err conftest.$ac_objext \
 2688       conftest$ac_exeext conftest.$ac_ext
 2689 LIBS=$ac_check_lib_save_LIBS
 2690 fi
 2691 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 2692 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 2693 if test $ac_cv_lib_dl_dlopen = yes; then
 2694 
 2695 
 2696 cat >>confdefs.h <<\_ACEOF
 2697 #define HAVE_DLOPEN 1
 2698 _ACEOF
 2699 
 2700             ALLMODLIBS=-ldl
 2701 
 2702             HAVEDLOPEN=yes
 2703 
 2704 fi
 2705 
 2706     fi
 2707 
 2708 
 2709 
 2710 
 2711 
 2712   echo "$as_me:$LINENO: checking for main in -lz" >&5
 2713 echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6
 2714 if test "${ac_cv_lib_z_main+set}" = set; then
 2715   echo $ECHO_N "(cached) $ECHO_C" >&6
 2716 else
 2717   ac_check_lib_save_LIBS=$LIBS
 2718 LIBS="-lz  $LIBS"
 2719 cat >conftest.$ac_ext <<_ACEOF
 2720 /* confdefs.h.  */
 2721 _ACEOF
 2722 cat confdefs.h >>conftest.$ac_ext
 2723 cat >>conftest.$ac_ext <<_ACEOF
 2724 /* end confdefs.h.  */
 2725 
 2726 
 2727 int
 2728 main ()
 2729 {
 2730 main ();
 2731   ;
 2732   return 0;
 2733 }
 2734 _ACEOF
 2735 rm -f conftest.$ac_objext conftest$ac_exeext
 2736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2737   (eval $ac_link) 2>conftest.er1
 2738   ac_status=$?
 2739   grep -v '^ *+' conftest.er1 >conftest.err
 2740   rm -f conftest.er1
 2741   cat conftest.err >&5
 2742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2743   (exit $ac_status); } &&
 2744      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2746   (eval $ac_try) 2>&5
 2747   ac_status=$?
 2748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2749   (exit $ac_status); }; } &&
 2750      { ac_try='test -s conftest$ac_exeext'
 2751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2752   (eval $ac_try) 2>&5
 2753   ac_status=$?
 2754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2755   (exit $ac_status); }; }; then
 2756   ac_cv_lib_z_main=yes
 2757 else
 2758   echo "$as_me: failed program was:" >&5
 2759 sed 's/^/| /' conftest.$ac_ext >&5
 2760 
 2761 ac_cv_lib_z_main=no
 2762 fi
 2763 rm -f conftest.err conftest.$ac_objext \
 2764       conftest$ac_exeext conftest.$ac_ext
 2765 LIBS=$ac_check_lib_save_LIBS
 2766 fi
 2767 echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
 2768 echo "${ECHO_T}$ac_cv_lib_z_main" >&6
 2769 if test $ac_cv_lib_z_main = yes; then
 2770 
 2771     ALGO="comp_zlib.c comp_mzlib.c comp_mzlib2.c $ALGO"
 2772     MODLIBS="-lz $MODLIBS"
 2773 
 2774 cat >>confdefs.h <<\_ACEOF
 2775 #define HAVE_LIBZ
 2776 _ACEOF
 2777 
 2778 
 2779 fi
 2780 
 2781 
 2782 
 2783 
 2784 
 2785 
 2786   echo "$as_me:$LINENO: checking for main in -lbz2" >&5
 2787 echo $ECHO_N "checking for main in -lbz2... $ECHO_C" >&6
 2788 if test "${ac_cv_lib_bz2_main+set}" = set; then
 2789   echo $ECHO_N "(cached) $ECHO_C" >&6
 2790 else
 2791   ac_check_lib_save_LIBS=$LIBS
 2792 LIBS="-lbz2  $LIBS"
 2793 cat >conftest.$ac_ext <<_ACEOF
 2794 /* confdefs.h.  */
 2795 _ACEOF
 2796 cat confdefs.h >>conftest.$ac_ext
 2797 cat >>conftest.$ac_ext <<_ACEOF
 2798 /* end confdefs.h.  */
 2799 
 2800 
 2801 int
 2802 main ()
 2803 {
 2804 main ();
 2805   ;
 2806   return 0;
 2807 }
 2808 _ACEOF
 2809 rm -f conftest.$ac_objext conftest$ac_exeext
 2810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2811   (eval $ac_link) 2>conftest.er1
 2812   ac_status=$?
 2813   grep -v '^ *+' conftest.er1 >conftest.err
 2814   rm -f conftest.er1
 2815   cat conftest.err >&5
 2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2817   (exit $ac_status); } &&
 2818      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2820   (eval $ac_try) 2>&5
 2821   ac_status=$?
 2822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2823   (exit $ac_status); }; } &&
 2824      { ac_try='test -s conftest$ac_exeext'
 2825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2826   (eval $ac_try) 2>&5
 2827   ac_status=$?
 2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2829   (exit $ac_status); }; }; then
 2830   ac_cv_lib_bz2_main=yes
 2831 else
 2832   echo "$as_me: failed program was:" >&5
 2833 sed 's/^/| /' conftest.$ac_ext >&5
 2834 
 2835 ac_cv_lib_bz2_main=no
 2836 fi
 2837 rm -f conftest.err conftest.$ac_objext \
 2838       conftest$ac_exeext conftest.$ac_ext
 2839 LIBS=$ac_check_lib_save_LIBS
 2840 fi
 2841 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_main" >&5
 2842 echo "${ECHO_T}$ac_cv_lib_bz2_main" >&6
 2843 if test $ac_cv_lib_bz2_main = yes; then
 2844 
 2845     ALGO="comp_bzlib.c $ALGO"
 2846     MODLIBS="-lbz2 $MODLIBS"
 2847 
 2848 cat >>confdefs.h <<\_ACEOF
 2849 #define HAVE_LIBBZ2
 2850 _ACEOF
 2851 
 2852 
 2853 fi
 2854 
 2855 
 2856 
 2857 
 2858 
 2859 
 2860   echo "$as_me:$LINENO: checking for main in -lmcrypt" >&5
 2861 echo $ECHO_N "checking for main in -lmcrypt... $ECHO_C" >&6
 2862 if test "${ac_cv_lib_mcrypt_main+set}" = set; then
 2863   echo $ECHO_N "(cached) $ECHO_C" >&6
 2864 else
 2865   ac_check_lib_save_LIBS=$LIBS
 2866 LIBS="-lmcrypt  $LIBS"
 2867 cat >conftest.$ac_ext <<_ACEOF
 2868 /* confdefs.h.  */
 2869 _ACEOF
 2870 cat confdefs.h >>conftest.$ac_ext
 2871 cat >>conftest.$ac_ext <<_ACEOF
 2872 /* end confdefs.h.  */
 2873 
 2874 
 2875 int
 2876 main ()
 2877 {
 2878 main ();
 2879   ;
 2880   return 0;
 2881 }
 2882 _ACEOF
 2883 rm -f conftest.$ac_objext conftest$ac_exeext
 2884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2885   (eval $ac_link) 2>conftest.er1
 2886   ac_status=$?
 2887   grep -v '^ *+' conftest.er1 >conftest.err
 2888   rm -f conftest.er1
 2889   cat conftest.err >&5
 2890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2891   (exit $ac_status); } &&
 2892      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2894   (eval $ac_try) 2>&5
 2895   ac_status=$?
 2896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2897   (exit $ac_status); }; } &&
 2898      { ac_try='test -s conftest$ac_exeext'
 2899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2900   (eval $ac_try) 2>&5
 2901   ac_status=$?
 2902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2903   (exit $ac_status); }; }; then
 2904   ac_cv_lib_mcrypt_main=yes
 2905 else
 2906   echo "$as_me: failed program was:" >&5
 2907 sed 's/^/| /' conftest.$ac_ext >&5
 2908 
 2909 ac_cv_lib_mcrypt_main=no
 2910 fi
 2911 rm -f conftest.err conftest.$ac_objext \
 2912       conftest$ac_exeext conftest.$ac_ext
 2913 LIBS=$ac_check_lib_save_LIBS
 2914 fi
 2915 echo "$as_me:$LINENO: result: $ac_cv_lib_mcrypt_main" >&5
 2916 echo "${ECHO_T}$ac_cv_lib_mcrypt_main" >&6
 2917 if test $ac_cv_lib_mcrypt_main = yes; then
 2918 
 2919     ALGO="cipher_serpent.c $ALGO"
 2920     MODLIBS="-lmcrypt $MODLIBS"
 2921 
 2922 cat >>confdefs.h <<\_ACEOF
 2923 #define HAVE_LIBMCRYPT
 2924 _ACEOF
 2925 
 2926 
 2927 fi
 2928 
 2929 
 2930 
 2931 
 2932 
 2933 
 2934   echo "$as_me:$LINENO: checking for main in -llzo" >&5
 2935 echo $ECHO_N "checking for main in -llzo... $ECHO_C" >&6
 2936 if test "${ac_cv_lib_lzo_main+set}" = set; then
 2937   echo $ECHO_N "(cached) $ECHO_C" >&6
 2938 else
 2939   ac_check_lib_save_LIBS=$LIBS
 2940 LIBS="-llzo  $LIBS"
 2941 cat >conftest.$ac_ext <<_ACEOF
 2942 /* confdefs.h.  */
 2943 _ACEOF
 2944 cat confdefs.h >>conftest.$ac_ext
 2945 cat >>conftest.$ac_ext <<_ACEOF
 2946 /* end confdefs.h.  */
 2947 
 2948 
 2949 int
 2950 main ()
 2951 {
 2952 main ();
 2953   ;
 2954   return 0;
 2955 }
 2956 _ACEOF
 2957 rm -f conftest.$ac_objext conftest$ac_exeext
 2958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 2959   (eval $ac_link) 2>conftest.er1
 2960   ac_status=$?
 2961   grep -v '^ *+' conftest.er1 >conftest.err
 2962   rm -f conftest.er1
 2963   cat conftest.err >&5
 2964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2965   (exit $ac_status); } &&
 2966      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 2967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2968   (eval $ac_try) 2>&5
 2969   ac_status=$?
 2970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2971   (exit $ac_status); }; } &&
 2972      { ac_try='test -s conftest$ac_exeext'
 2973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 2974   (eval $ac_try) 2>&5
 2975   ac_status=$?
 2976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 2977   (exit $ac_status); }; }; then
 2978   ac_cv_lib_lzo_main=yes
 2979 else
 2980   echo "$as_me: failed program was:" >&5
 2981 sed 's/^/| /' conftest.$ac_ext >&5
 2982 
 2983 ac_cv_lib_lzo_main=no
 2984 fi
 2985 rm -f conftest.err conftest.$ac_objext \
 2986       conftest$ac_exeext conftest.$ac_ext
 2987 LIBS=$ac_check_lib_save_LIBS
 2988 fi
 2989 echo "$as_me:$LINENO: result: $ac_cv_lib_lzo_main" >&5
 2990 echo "${ECHO_T}$ac_cv_lib_lzo_main" >&6
 2991 if test $ac_cv_lib_lzo_main = yes; then
 2992 
 2993     ALGO="comp_lzoox.c comp_lzooy.c comp_lzota.c $ALGO"
 2994     MODLIBSCOND="-llzo $(eval echo $(echo \$MODLIBSCOND))"
 2995 
 2996 cat >>confdefs.h <<\_ACEOF
 2997 #define HAVE_LIBLZO
 2998 _ACEOF
 2999 
 3000 
 3001 fi
 3002 
 3003 
 3004 
 3005 
 3006   # Check whether --enable-chkvers or --disable-chkvers was given.
 3007 if test "${enable_chkvers+set}" = set; then
 3008   enableval="$enable_chkvers"
 3009 
 3010     case "$enableval" in
 3011       no)
 3012       ;;
 3013       *)
 3014 
 3015 cat >>confdefs.h <<\_ACEOF
 3016 #define CHECK_VERSION
 3017 _ACEOF
 3018 
 3019       ;;
 3020     esac
 3021 
 3022 else
 3023 
 3024 cat >>confdefs.h <<\_ACEOF
 3025 #define CHECK_VERSION
 3026 _ACEOF
 3027 
 3028 fi;
 3029 
 3030 
 3031   # Check whether --enable-network or --disable-network was given.
 3032 if test "${enable_network+set}" = set; then
 3033   enableval="$enable_network"
 3034 
 3035     case "$enableval" in
 3036       no)
 3037 
 3038 cat >>confdefs.h <<\_ACEOF
 3039 #define NO_NETWORK
 3040 _ACEOF
 3041 
 3042       ;;
 3043       *)
 3044 
 3045   echo "$as_me:$LINENO: checking for library containing socket" >&5
 3046 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
 3047 if test "${ac_cv_search_socket+set}" = set; then
 3048   echo $ECHO_N "(cached) $ECHO_C" >&6
 3049 else
 3050   ac_func_search_save_LIBS=$LIBS
 3051 ac_cv_search_socket=no
 3052 cat >conftest.$ac_ext <<_ACEOF
 3053 /* confdefs.h.  */
 3054 _ACEOF
 3055 cat confdefs.h >>conftest.$ac_ext
 3056 cat >>conftest.$ac_ext <<_ACEOF
 3057 /* end confdefs.h.  */
 3058 
 3059 /* Override any gcc2 internal prototype to avoid an error.  */
 3060 #ifdef __cplusplus
 3061 extern "C"
 3062 #endif
 3063 /* We use char because int might match the return type of a gcc2
 3064    builtin and then its argument prototype would still apply.  */
 3065 char socket ();
 3066 int
 3067 main ()
 3068 {
 3069 socket ();
 3070   ;
 3071   return 0;
 3072 }
 3073 _ACEOF
 3074 rm -f conftest.$ac_objext conftest$ac_exeext
 3075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3076   (eval $ac_link) 2>conftest.er1
 3077   ac_status=$?
 3078   grep -v '^ *+' conftest.er1 >conftest.err
 3079   rm -f conftest.er1
 3080   cat conftest.err >&5
 3081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3082   (exit $ac_status); } &&
 3083      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3085   (eval $ac_try) 2>&5
 3086   ac_status=$?
 3087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3088   (exit $ac_status); }; } &&
 3089      { ac_try='test -s conftest$ac_exeext'
 3090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3091   (eval $ac_try) 2>&5
 3092   ac_status=$?
 3093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3094   (exit $ac_status); }; }; then
 3095   ac_cv_search_socket="none required"
 3096 else
 3097   echo "$as_me: failed program was:" >&5
 3098 sed 's/^/| /' conftest.$ac_ext >&5
 3099 
 3100 fi
 3101 rm -f conftest.err conftest.$ac_objext \
 3102       conftest$ac_exeext conftest.$ac_ext
 3103 if test "$ac_cv_search_socket" = no; then
 3104   for ac_lib in socket nsl ws2_32 wsock32; do
 3105     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3106     cat >conftest.$ac_ext <<_ACEOF
 3107 /* confdefs.h.  */
 3108 _ACEOF
 3109 cat confdefs.h >>conftest.$ac_ext
 3110 cat >>conftest.$ac_ext <<_ACEOF
 3111 /* end confdefs.h.  */
 3112 
 3113 /* Override any gcc2 internal prototype to avoid an error.  */
 3114 #ifdef __cplusplus
 3115 extern "C"
 3116 #endif
 3117 /* We use char because int might match the return type of a gcc2
 3118    builtin and then its argument prototype would still apply.  */
 3119 char socket ();
 3120 int
 3121 main ()
 3122 {
 3123 socket ();
 3124   ;
 3125   return 0;
 3126 }
 3127 _ACEOF
 3128 rm -f conftest.$ac_objext conftest$ac_exeext
 3129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3130   (eval $ac_link) 2>conftest.er1
 3131   ac_status=$?
 3132   grep -v '^ *+' conftest.er1 >conftest.err
 3133   rm -f conftest.er1
 3134   cat conftest.err >&5
 3135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3136   (exit $ac_status); } &&
 3137      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3139   (eval $ac_try) 2>&5
 3140   ac_status=$?
 3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3142   (exit $ac_status); }; } &&
 3143      { ac_try='test -s conftest$ac_exeext'
 3144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3145   (eval $ac_try) 2>&5
 3146   ac_status=$?
 3147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3148   (exit $ac_status); }; }; then
 3149   ac_cv_search_socket="-l$ac_lib"
 3150 break
 3151 else
 3152   echo "$as_me: failed program was:" >&5
 3153 sed 's/^/| /' conftest.$ac_ext >&5
 3154 
 3155 fi
 3156 rm -f conftest.err conftest.$ac_objext \
 3157       conftest$ac_exeext conftest.$ac_ext
 3158   done
 3159 fi
 3160 LIBS=$ac_func_search_save_LIBS
 3161 fi
 3162 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 3163 echo "${ECHO_T}$ac_cv_search_socket" >&6
 3164 if test "$ac_cv_search_socket" != no; then
 3165   test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
 3166 
 3167 cat >>confdefs.h <<\_ACEOF
 3168 #define HAVE_SOCKET
 3169 _ACEOF
 3170 
 3171 fi
 3172 
 3173   echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 3174 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
 3175 if test "${ac_cv_search_gethostbyname+set}" = set; then
 3176   echo $ECHO_N "(cached) $ECHO_C" >&6
 3177 else
 3178   ac_func_search_save_LIBS=$LIBS
 3179 ac_cv_search_gethostbyname=no
 3180 cat >conftest.$ac_ext <<_ACEOF
 3181 /* confdefs.h.  */
 3182 _ACEOF
 3183 cat confdefs.h >>conftest.$ac_ext
 3184 cat >>conftest.$ac_ext <<_ACEOF
 3185 /* end confdefs.h.  */
 3186 
 3187 /* Override any gcc2 internal prototype to avoid an error.  */
 3188 #ifdef __cplusplus
 3189 extern "C"
 3190 #endif
 3191 /* We use char because int might match the return type of a gcc2
 3192    builtin and then its argument prototype would still apply.  */
 3193 char gethostbyname ();
 3194 int
 3195 main ()
 3196 {
 3197 gethostbyname ();
 3198   ;
 3199   return 0;
 3200 }
 3201 _ACEOF
 3202 rm -f conftest.$ac_objext conftest$ac_exeext
 3203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3204   (eval $ac_link) 2>conftest.er1
 3205   ac_status=$?
 3206   grep -v '^ *+' conftest.er1 >conftest.err
 3207   rm -f conftest.er1
 3208   cat conftest.err >&5
 3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3210   (exit $ac_status); } &&
 3211      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3213   (eval $ac_try) 2>&5
 3214   ac_status=$?
 3215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3216   (exit $ac_status); }; } &&
 3217      { ac_try='test -s conftest$ac_exeext'
 3218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3219   (eval $ac_try) 2>&5
 3220   ac_status=$?
 3221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3222   (exit $ac_status); }; }; then
 3223   ac_cv_search_gethostbyname="none required"
 3224 else
 3225   echo "$as_me: failed program was:" >&5
 3226 sed 's/^/| /' conftest.$ac_ext >&5
 3227 
 3228 fi
 3229 rm -f conftest.err conftest.$ac_objext \
 3230       conftest$ac_exeext conftest.$ac_ext
 3231 if test "$ac_cv_search_gethostbyname" = no; then
 3232   for ac_lib in nsl ws2_32 wsock32; do
 3233     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3234     cat >conftest.$ac_ext <<_ACEOF
 3235 /* confdefs.h.  */
 3236 _ACEOF
 3237 cat confdefs.h >>conftest.$ac_ext
 3238 cat >>conftest.$ac_ext <<_ACEOF
 3239 /* end confdefs.h.  */
 3240 
 3241 /* Override any gcc2 internal prototype to avoid an error.  */
 3242 #ifdef __cplusplus
 3243 extern "C"
 3244 #endif
 3245 /* We use char because int might match the return type of a gcc2
 3246    builtin and then its argument prototype would still apply.  */
 3247 char gethostbyname ();
 3248 int
 3249 main ()
 3250 {
 3251 gethostbyname ();
 3252   ;
 3253   return 0;
 3254 }
 3255 _ACEOF
 3256 rm -f conftest.$ac_objext conftest$ac_exeext
 3257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3258   (eval $ac_link) 2>conftest.er1
 3259   ac_status=$?
 3260   grep -v '^ *+' conftest.er1 >conftest.err
 3261   rm -f conftest.er1
 3262   cat conftest.err >&5
 3263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3264   (exit $ac_status); } &&
 3265      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3267   (eval $ac_try) 2>&5
 3268   ac_status=$?
 3269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3270   (exit $ac_status); }; } &&
 3271      { ac_try='test -s conftest$ac_exeext'
 3272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3273   (eval $ac_try) 2>&5
 3274   ac_status=$?
 3275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3276   (exit $ac_status); }; }; then
 3277   ac_cv_search_gethostbyname="-l$ac_lib"
 3278 break
 3279 else
 3280   echo "$as_me: failed program was:" >&5
 3281 sed 's/^/| /' conftest.$ac_ext >&5
 3282 
 3283 fi
 3284 rm -f conftest.err conftest.$ac_objext \
 3285       conftest$ac_exeext conftest.$ac_ext
 3286   done
 3287 fi
 3288 LIBS=$ac_func_search_save_LIBS
 3289 fi
 3290 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 3291 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
 3292 if test "$ac_cv_search_gethostbyname" != no; then
 3293   test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
 3294 
 3295 cat >>confdefs.h <<\_ACEOF
 3296 #define HAVE_GETHOSTBYNAME
 3297 _ACEOF
 3298 
 3299 fi
 3300 
 3301   echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
 3302 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6
 3303 if test "${ac_cv_search_inet_aton+set}" = set; then
 3304   echo $ECHO_N "(cached) $ECHO_C" >&6
 3305 else
 3306   ac_func_search_save_LIBS=$LIBS
 3307 ac_cv_search_inet_aton=no
 3308 cat >conftest.$ac_ext <<_ACEOF
 3309 /* confdefs.h.  */
 3310 _ACEOF
 3311 cat confdefs.h >>conftest.$ac_ext
 3312 cat >>conftest.$ac_ext <<_ACEOF
 3313 /* end confdefs.h.  */
 3314 
 3315 /* Override any gcc2 internal prototype to avoid an error.  */
 3316 #ifdef __cplusplus
 3317 extern "C"
 3318 #endif
 3319 /* We use char because int might match the return type of a gcc2
 3320    builtin and then its argument prototype would still apply.  */
 3321 char inet_aton ();
 3322 int
 3323 main ()
 3324 {
 3325 inet_aton ();
 3326   ;
 3327   return 0;
 3328 }
 3329 _ACEOF
 3330 rm -f conftest.$ac_objext conftest$ac_exeext
 3331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3332   (eval $ac_link) 2>conftest.er1
 3333   ac_status=$?
 3334   grep -v '^ *+' conftest.er1 >conftest.err
 3335   rm -f conftest.er1
 3336   cat conftest.err >&5
 3337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3338   (exit $ac_status); } &&
 3339      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3341   (eval $ac_try) 2>&5
 3342   ac_status=$?
 3343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3344   (exit $ac_status); }; } &&
 3345      { ac_try='test -s conftest$ac_exeext'
 3346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3347   (eval $ac_try) 2>&5
 3348   ac_status=$?
 3349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3350   (exit $ac_status); }; }; then
 3351   ac_cv_search_inet_aton="none required"
 3352 else
 3353   echo "$as_me: failed program was:" >&5
 3354 sed 's/^/| /' conftest.$ac_ext >&5
 3355 
 3356 fi
 3357 rm -f conftest.err conftest.$ac_objext \
 3358       conftest$ac_exeext conftest.$ac_ext
 3359 if test "$ac_cv_search_inet_aton" = no; then
 3360   for ac_lib in xnet ws2_32 wsock32; do
 3361     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3362     cat >conftest.$ac_ext <<_ACEOF
 3363 /* confdefs.h.  */
 3364 _ACEOF
 3365 cat confdefs.h >>conftest.$ac_ext
 3366 cat >>conftest.$ac_ext <<_ACEOF
 3367 /* end confdefs.h.  */
 3368 
 3369 /* Override any gcc2 internal prototype to avoid an error.  */
 3370 #ifdef __cplusplus
 3371 extern "C"
 3372 #endif
 3373 /* We use char because int might match the return type of a gcc2
 3374    builtin and then its argument prototype would still apply.  */
 3375 char inet_aton ();
 3376 int
 3377 main ()
 3378 {
 3379 inet_aton ();
 3380   ;
 3381   return 0;
 3382 }
 3383 _ACEOF
 3384 rm -f conftest.$ac_objext conftest$ac_exeext
 3385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3386   (eval $ac_link) 2>conftest.er1
 3387   ac_status=$?
 3388   grep -v '^ *+' conftest.er1 >conftest.err
 3389   rm -f conftest.er1
 3390   cat conftest.err >&5
 3391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3392   (exit $ac_status); } &&
 3393      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3395   (eval $ac_try) 2>&5
 3396   ac_status=$?
 3397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3398   (exit $ac_status); }; } &&
 3399      { ac_try='test -s conftest$ac_exeext'
 3400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3401   (eval $ac_try) 2>&5
 3402   ac_status=$?
 3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3404   (exit $ac_status); }; }; then
 3405   ac_cv_search_inet_aton="-l$ac_lib"
 3406 break
 3407 else
 3408   echo "$as_me: failed program was:" >&5
 3409 sed 's/^/| /' conftest.$ac_ext >&5
 3410 
 3411 fi
 3412 rm -f conftest.err conftest.$ac_objext \
 3413       conftest$ac_exeext conftest.$ac_ext
 3414   done
 3415 fi
 3416 LIBS=$ac_func_search_save_LIBS
 3417 fi
 3418 echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
 3419 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6
 3420 if test "$ac_cv_search_inet_aton" != no; then
 3421   test "$ac_cv_search_inet_aton" = "none required" || LIBS="$ac_cv_search_inet_aton $LIBS"
 3422 
 3423 cat >>confdefs.h <<\_ACEOF
 3424 #define HAVE_INET_ATON
 3425 _ACEOF
 3426 
 3427 else
 3428   echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
 3429 echo $ECHO_N "checking for library containing inet_addr... $ECHO_C" >&6
 3430 if test "${ac_cv_search_inet_addr+set}" = set; then
 3431   echo $ECHO_N "(cached) $ECHO_C" >&6
 3432 else
 3433   ac_func_search_save_LIBS=$LIBS
 3434 ac_cv_search_inet_addr=no
 3435 cat >conftest.$ac_ext <<_ACEOF
 3436 /* confdefs.h.  */
 3437 _ACEOF
 3438 cat confdefs.h >>conftest.$ac_ext
 3439 cat >>conftest.$ac_ext <<_ACEOF
 3440 /* end confdefs.h.  */
 3441 
 3442 /* Override any gcc2 internal prototype to avoid an error.  */
 3443 #ifdef __cplusplus
 3444 extern "C"
 3445 #endif
 3446 /* We use char because int might match the return type of a gcc2
 3447    builtin and then its argument prototype would still apply.  */
 3448 char inet_addr ();
 3449 int
 3450 main ()
 3451 {
 3452 inet_addr ();
 3453   ;
 3454   return 0;
 3455 }
 3456 _ACEOF
 3457 rm -f conftest.$ac_objext conftest$ac_exeext
 3458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3459   (eval $ac_link) 2>conftest.er1
 3460   ac_status=$?
 3461   grep -v '^ *+' conftest.er1 >conftest.err
 3462   rm -f conftest.er1
 3463   cat conftest.err >&5
 3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3465   (exit $ac_status); } &&
 3466      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3468   (eval $ac_try) 2>&5
 3469   ac_status=$?
 3470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3471   (exit $ac_status); }; } &&
 3472      { ac_try='test -s conftest$ac_exeext'
 3473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3474   (eval $ac_try) 2>&5
 3475   ac_status=$?
 3476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3477   (exit $ac_status); }; }; then
 3478   ac_cv_search_inet_addr="none required"
 3479 else
 3480   echo "$as_me: failed program was:" >&5
 3481 sed 's/^/| /' conftest.$ac_ext >&5
 3482 
 3483 fi
 3484 rm -f conftest.err conftest.$ac_objext \
 3485       conftest$ac_exeext conftest.$ac_ext
 3486 if test "$ac_cv_search_inet_addr" = no; then
 3487   for ac_lib in nsl ws2_32 wsock32; do
 3488     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3489     cat >conftest.$ac_ext <<_ACEOF
 3490 /* confdefs.h.  */
 3491 _ACEOF
 3492 cat confdefs.h >>conftest.$ac_ext
 3493 cat >>conftest.$ac_ext <<_ACEOF
 3494 /* end confdefs.h.  */
 3495 
 3496 /* Override any gcc2 internal prototype to avoid an error.  */
 3497 #ifdef __cplusplus
 3498 extern "C"
 3499 #endif
 3500 /* We use char because int might match the return type of a gcc2
 3501    builtin and then its argument prototype would still apply.  */
 3502 char inet_addr ();
 3503 int
 3504 main ()
 3505 {
 3506 inet_addr ();
 3507   ;
 3508   return 0;
 3509 }
 3510 _ACEOF
 3511 rm -f conftest.$ac_objext conftest$ac_exeext
 3512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3513   (eval $ac_link) 2>conftest.er1
 3514   ac_status=$?
 3515   grep -v '^ *+' conftest.er1 >conftest.err
 3516   rm -f conftest.er1
 3517   cat conftest.err >&5
 3518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3519   (exit $ac_status); } &&
 3520      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3522   (eval $ac_try) 2>&5
 3523   ac_status=$?
 3524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3525   (exit $ac_status); }; } &&
 3526      { ac_try='test -s conftest$ac_exeext'
 3527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3528   (eval $ac_try) 2>&5
 3529   ac_status=$?
 3530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3531   (exit $ac_status); }; }; then
 3532   ac_cv_search_inet_addr="-l$ac_lib"
 3533 break
 3534 else
 3535   echo "$as_me: failed program was:" >&5
 3536 sed 's/^/| /' conftest.$ac_ext >&5
 3537 
 3538 fi
 3539 rm -f conftest.err conftest.$ac_objext \
 3540       conftest$ac_exeext conftest.$ac_ext
 3541   done
 3542 fi
 3543 LIBS=$ac_func_search_save_LIBS
 3544 fi
 3545 echo "$as_me:$LINENO: result: $ac_cv_search_inet_addr" >&5
 3546 echo "${ECHO_T}$ac_cv_search_inet_addr" >&6
 3547 if test "$ac_cv_search_inet_addr" != no; then
 3548   test "$ac_cv_search_inet_addr" = "none required" || LIBS="$ac_cv_search_inet_addr $LIBS"
 3549 
 3550 cat >>confdefs.h <<\_ACEOF
 3551 #define HAVE_INET_ADDR
 3552 _ACEOF
 3553 
 3554 fi
 3555 
 3556 fi
 3557 
 3558 
 3559       ;;
 3560     esac
 3561 
 3562 else
 3563 
 3564   echo "$as_me:$LINENO: checking for library containing socket" >&5
 3565 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6
 3566 if test "${ac_cv_search_socket+set}" = set; then
 3567   echo $ECHO_N "(cached) $ECHO_C" >&6
 3568 else
 3569   ac_func_search_save_LIBS=$LIBS
 3570 ac_cv_search_socket=no
 3571 cat >conftest.$ac_ext <<_ACEOF
 3572 /* confdefs.h.  */
 3573 _ACEOF
 3574 cat confdefs.h >>conftest.$ac_ext
 3575 cat >>conftest.$ac_ext <<_ACEOF
 3576 /* end confdefs.h.  */
 3577 
 3578 /* Override any gcc2 internal prototype to avoid an error.  */
 3579 #ifdef __cplusplus
 3580 extern "C"
 3581 #endif
 3582 /* We use char because int might match the return type of a gcc2
 3583    builtin and then its argument prototype would still apply.  */
 3584 char socket ();
 3585 int
 3586 main ()
 3587 {
 3588 socket ();
 3589   ;
 3590   return 0;
 3591 }
 3592 _ACEOF
 3593 rm -f conftest.$ac_objext conftest$ac_exeext
 3594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3595   (eval $ac_link) 2>conftest.er1
 3596   ac_status=$?
 3597   grep -v '^ *+' conftest.er1 >conftest.err
 3598   rm -f conftest.er1
 3599   cat conftest.err >&5
 3600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3601   (exit $ac_status); } &&
 3602      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3604   (eval $ac_try) 2>&5
 3605   ac_status=$?
 3606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3607   (exit $ac_status); }; } &&
 3608      { ac_try='test -s conftest$ac_exeext'
 3609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3610   (eval $ac_try) 2>&5
 3611   ac_status=$?
 3612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3613   (exit $ac_status); }; }; then
 3614   ac_cv_search_socket="none required"
 3615 else
 3616   echo "$as_me: failed program was:" >&5
 3617 sed 's/^/| /' conftest.$ac_ext >&5
 3618 
 3619 fi
 3620 rm -f conftest.err conftest.$ac_objext \
 3621       conftest$ac_exeext conftest.$ac_ext
 3622 if test "$ac_cv_search_socket" = no; then
 3623   for ac_lib in socket nsl ws2_32 wsock32; do
 3624     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3625     cat >conftest.$ac_ext <<_ACEOF
 3626 /* confdefs.h.  */
 3627 _ACEOF
 3628 cat confdefs.h >>conftest.$ac_ext
 3629 cat >>conftest.$ac_ext <<_ACEOF
 3630 /* end confdefs.h.  */
 3631 
 3632 /* Override any gcc2 internal prototype to avoid an error.  */
 3633 #ifdef __cplusplus
 3634 extern "C"
 3635 #endif
 3636 /* We use char because int might match the return type of a gcc2
 3637    builtin and then its argument prototype would still apply.  */
 3638 char socket ();
 3639 int
 3640 main ()
 3641 {
 3642 socket ();
 3643   ;
 3644   return 0;
 3645 }
 3646 _ACEOF
 3647 rm -f conftest.$ac_objext conftest$ac_exeext
 3648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3649   (eval $ac_link) 2>conftest.er1
 3650   ac_status=$?
 3651   grep -v '^ *+' conftest.er1 >conftest.err
 3652   rm -f conftest.er1
 3653   cat conftest.err >&5
 3654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3655   (exit $ac_status); } &&
 3656      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3658   (eval $ac_try) 2>&5
 3659   ac_status=$?
 3660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3661   (exit $ac_status); }; } &&
 3662      { ac_try='test -s conftest$ac_exeext'
 3663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3664   (eval $ac_try) 2>&5
 3665   ac_status=$?
 3666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3667   (exit $ac_status); }; }; then
 3668   ac_cv_search_socket="-l$ac_lib"
 3669 break
 3670 else
 3671   echo "$as_me: failed program was:" >&5
 3672 sed 's/^/| /' conftest.$ac_ext >&5
 3673 
 3674 fi
 3675 rm -f conftest.err conftest.$ac_objext \
 3676       conftest$ac_exeext conftest.$ac_ext
 3677   done
 3678 fi
 3679 LIBS=$ac_func_search_save_LIBS
 3680 fi
 3681 echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 3682 echo "${ECHO_T}$ac_cv_search_socket" >&6
 3683 if test "$ac_cv_search_socket" != no; then
 3684   test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS"
 3685 
 3686 cat >>confdefs.h <<\_ACEOF
 3687 #define HAVE_SOCKET
 3688 _ACEOF
 3689 
 3690 fi
 3691 
 3692   echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 3693 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
 3694 if test "${ac_cv_search_gethostbyname+set}" = set; then
 3695   echo $ECHO_N "(cached) $ECHO_C" >&6
 3696 else
 3697   ac_func_search_save_LIBS=$LIBS
 3698 ac_cv_search_gethostbyname=no
 3699 cat >conftest.$ac_ext <<_ACEOF
 3700 /* confdefs.h.  */
 3701 _ACEOF
 3702 cat confdefs.h >>conftest.$ac_ext
 3703 cat >>conftest.$ac_ext <<_ACEOF
 3704 /* end confdefs.h.  */
 3705 
 3706 /* Override any gcc2 internal prototype to avoid an error.  */
 3707 #ifdef __cplusplus
 3708 extern "C"
 3709 #endif
 3710 /* We use char because int might match the return type of a gcc2
 3711    builtin and then its argument prototype would still apply.  */
 3712 char gethostbyname ();
 3713 int
 3714 main ()
 3715 {
 3716 gethostbyname ();
 3717   ;
 3718   return 0;
 3719 }
 3720 _ACEOF
 3721 rm -f conftest.$ac_objext conftest$ac_exeext
 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3723   (eval $ac_link) 2>conftest.er1
 3724   ac_status=$?
 3725   grep -v '^ *+' conftest.er1 >conftest.err
 3726   rm -f conftest.er1
 3727   cat conftest.err >&5
 3728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3729   (exit $ac_status); } &&
 3730      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3732   (eval $ac_try) 2>&5
 3733   ac_status=$?
 3734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3735   (exit $ac_status); }; } &&
 3736      { ac_try='test -s conftest$ac_exeext'
 3737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3738   (eval $ac_try) 2>&5
 3739   ac_status=$?
 3740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3741   (exit $ac_status); }; }; then
 3742   ac_cv_search_gethostbyname="none required"
 3743 else
 3744   echo "$as_me: failed program was:" >&5
 3745 sed 's/^/| /' conftest.$ac_ext >&5
 3746 
 3747 fi
 3748 rm -f conftest.err conftest.$ac_objext \
 3749       conftest$ac_exeext conftest.$ac_ext
 3750 if test "$ac_cv_search_gethostbyname" = no; then
 3751   for ac_lib in nsl ws2_32 wsock32; do
 3752     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3753     cat >conftest.$ac_ext <<_ACEOF
 3754 /* confdefs.h.  */
 3755 _ACEOF
 3756 cat confdefs.h >>conftest.$ac_ext
 3757 cat >>conftest.$ac_ext <<_ACEOF
 3758 /* end confdefs.h.  */
 3759 
 3760 /* Override any gcc2 internal prototype to avoid an error.  */
 3761 #ifdef __cplusplus
 3762 extern "C"
 3763 #endif
 3764 /* We use char because int might match the return type of a gcc2
 3765    builtin and then its argument prototype would still apply.  */
 3766 char gethostbyname ();
 3767 int
 3768 main ()
 3769 {
 3770 gethostbyname ();
 3771   ;
 3772   return 0;
 3773 }
 3774 _ACEOF
 3775 rm -f conftest.$ac_objext conftest$ac_exeext
 3776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3777   (eval $ac_link) 2>conftest.er1
 3778   ac_status=$?
 3779   grep -v '^ *+' conftest.er1 >conftest.err
 3780   rm -f conftest.er1
 3781   cat conftest.err >&5
 3782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3783   (exit $ac_status); } &&
 3784      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3786   (eval $ac_try) 2>&5
 3787   ac_status=$?
 3788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3789   (exit $ac_status); }; } &&
 3790      { ac_try='test -s conftest$ac_exeext'
 3791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3792   (eval $ac_try) 2>&5
 3793   ac_status=$?
 3794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3795   (exit $ac_status); }; }; then
 3796   ac_cv_search_gethostbyname="-l$ac_lib"
 3797 break
 3798 else
 3799   echo "$as_me: failed program was:" >&5
 3800 sed 's/^/| /' conftest.$ac_ext >&5
 3801 
 3802 fi
 3803 rm -f conftest.err conftest.$ac_objext \
 3804       conftest$ac_exeext conftest.$ac_ext
 3805   done
 3806 fi
 3807 LIBS=$ac_func_search_save_LIBS
 3808 fi
 3809 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 3810 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
 3811 if test "$ac_cv_search_gethostbyname" != no; then
 3812   test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
 3813 
 3814 cat >>confdefs.h <<\_ACEOF
 3815 #define HAVE_GETHOSTBYNAME
 3816 _ACEOF
 3817 
 3818 fi
 3819 
 3820   echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
 3821 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6
 3822 if test "${ac_cv_search_inet_aton+set}" = set; then
 3823   echo $ECHO_N "(cached) $ECHO_C" >&6
 3824 else
 3825   ac_func_search_save_LIBS=$LIBS
 3826 ac_cv_search_inet_aton=no
 3827 cat >conftest.$ac_ext <<_ACEOF
 3828 /* confdefs.h.  */
 3829 _ACEOF
 3830 cat confdefs.h >>conftest.$ac_ext
 3831 cat >>conftest.$ac_ext <<_ACEOF
 3832 /* end confdefs.h.  */
 3833 
 3834 /* Override any gcc2 internal prototype to avoid an error.  */
 3835 #ifdef __cplusplus
 3836 extern "C"
 3837 #endif
 3838 /* We use char because int might match the return type of a gcc2
 3839    builtin and then its argument prototype would still apply.  */
 3840 char inet_aton ();
 3841 int
 3842 main ()
 3843 {
 3844 inet_aton ();
 3845   ;
 3846   return 0;
 3847 }
 3848 _ACEOF
 3849 rm -f conftest.$ac_objext conftest$ac_exeext
 3850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3851   (eval $ac_link) 2>conftest.er1
 3852   ac_status=$?
 3853   grep -v '^ *+' conftest.er1 >conftest.err
 3854   rm -f conftest.er1
 3855   cat conftest.err >&5
 3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3857   (exit $ac_status); } &&
 3858      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3860   (eval $ac_try) 2>&5
 3861   ac_status=$?
 3862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3863   (exit $ac_status); }; } &&
 3864      { ac_try='test -s conftest$ac_exeext'
 3865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3866   (eval $ac_try) 2>&5
 3867   ac_status=$?
 3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3869   (exit $ac_status); }; }; then
 3870   ac_cv_search_inet_aton="none required"
 3871 else
 3872   echo "$as_me: failed program was:" >&5
 3873 sed 's/^/| /' conftest.$ac_ext >&5
 3874 
 3875 fi
 3876 rm -f conftest.err conftest.$ac_objext \
 3877       conftest$ac_exeext conftest.$ac_ext
 3878 if test "$ac_cv_search_inet_aton" = no; then
 3879   for ac_lib in xnet ws2_32 wsock32; do
 3880     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 3881     cat >conftest.$ac_ext <<_ACEOF
 3882 /* confdefs.h.  */
 3883 _ACEOF
 3884 cat confdefs.h >>conftest.$ac_ext
 3885 cat >>conftest.$ac_ext <<_ACEOF
 3886 /* end confdefs.h.  */
 3887 
 3888 /* Override any gcc2 internal prototype to avoid an error.  */
 3889 #ifdef __cplusplus
 3890 extern "C"
 3891 #endif
 3892 /* We use char because int might match the return type of a gcc2
 3893    builtin and then its argument prototype would still apply.  */
 3894 char inet_aton ();
 3895 int
 3896 main ()
 3897 {
 3898 inet_aton ();
 3899   ;
 3900   return 0;
 3901 }
 3902 _ACEOF
 3903 rm -f conftest.$ac_objext conftest$ac_exeext
 3904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3905   (eval $ac_link) 2>conftest.er1
 3906   ac_status=$?
 3907   grep -v '^ *+' conftest.er1 >conftest.err
 3908   rm -f conftest.er1
 3909   cat conftest.err >&5
 3910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3911   (exit $ac_status); } &&
 3912      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3914   (eval $ac_try) 2>&5
 3915   ac_status=$?
 3916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3917   (exit $ac_status); }; } &&
 3918      { ac_try='test -s conftest$ac_exeext'
 3919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3920   (eval $ac_try) 2>&5
 3921   ac_status=$?
 3922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3923   (exit $ac_status); }; }; then
 3924   ac_cv_search_inet_aton="-l$ac_lib"
 3925 break
 3926 else
 3927   echo "$as_me: failed program was:" >&5
 3928 sed 's/^/| /' conftest.$ac_ext >&5
 3929 
 3930 fi
 3931 rm -f conftest.err conftest.$ac_objext \
 3932       conftest$ac_exeext conftest.$ac_ext
 3933   done
 3934 fi
 3935 LIBS=$ac_func_search_save_LIBS
 3936 fi
 3937 echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
 3938 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6
 3939 if test "$ac_cv_search_inet_aton" != no; then
 3940   test "$ac_cv_search_inet_aton" = "none required" || LIBS="$ac_cv_search_inet_aton $LIBS"
 3941 
 3942 cat >>confdefs.h <<\_ACEOF
 3943 #define HAVE_INET_ATON
 3944 _ACEOF
 3945 
 3946 else
 3947   echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
 3948 echo $ECHO_N "checking for library containing inet_addr... $ECHO_C" >&6
 3949 if test "${ac_cv_search_inet_addr+set}" = set; then
 3950   echo $ECHO_N "(cached) $ECHO_C" >&6
 3951 else
 3952   ac_func_search_save_LIBS=$LIBS
 3953 ac_cv_search_inet_addr=no
 3954 cat >conftest.$ac_ext <<_ACEOF
 3955 /* confdefs.h.  */
 3956 _ACEOF
 3957 cat confdefs.h >>conftest.$ac_ext
 3958 cat >>conftest.$ac_ext <<_ACEOF
 3959 /* end confdefs.h.  */
 3960 
 3961 /* Override any gcc2 internal prototype to avoid an error.  */
 3962 #ifdef __cplusplus
 3963 extern "C"
 3964 #endif
 3965 /* We use char because int might match the return type of a gcc2
 3966    builtin and then its argument prototype would still apply.  */
 3967 char inet_addr ();
 3968 int
 3969 main ()
 3970 {
 3971 inet_addr ();
 3972   ;
 3973   return 0;
 3974 }
 3975 _ACEOF
 3976 rm -f conftest.$ac_objext conftest$ac_exeext
 3977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 3978   (eval $ac_link) 2>conftest.er1
 3979   ac_status=$?
 3980   grep -v '^ *+' conftest.er1 >conftest.err
 3981   rm -f conftest.er1
 3982   cat conftest.err >&5
 3983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3984   (exit $ac_status); } &&
 3985      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 3986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3987   (eval $ac_try) 2>&5
 3988   ac_status=$?
 3989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3990   (exit $ac_status); }; } &&
 3991      { ac_try='test -s conftest$ac_exeext'
 3992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 3993   (eval $ac_try) 2>&5
 3994   ac_status=$?
 3995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 3996   (exit $ac_status); }; }; then
 3997   ac_cv_search_inet_addr="none required"
 3998 else
 3999   echo "$as_me: failed program was:" >&5
 4000 sed 's/^/| /' conftest.$ac_ext >&5
 4001 
 4002 fi
 4003 rm -f conftest.err conftest.$ac_objext \
 4004       conftest$ac_exeext conftest.$ac_ext
 4005 if test "$ac_cv_search_inet_addr" = no; then
 4006   for ac_lib in nsl ws2_32 wsock32; do
 4007     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 4008     cat >conftest.$ac_ext <<_ACEOF
 4009 /* confdefs.h.  */
 4010 _ACEOF
 4011 cat confdefs.h >>conftest.$ac_ext
 4012 cat >>conftest.$ac_ext <<_ACEOF
 4013 /* end confdefs.h.  */
 4014 
 4015 /* Override any gcc2 internal prototype to avoid an error.  */
 4016 #ifdef __cplusplus
 4017 extern "C"
 4018 #endif
 4019 /* We use char because int might match the return type of a gcc2
 4020    builtin and then its argument prototype would still apply.  */
 4021 char inet_addr ();
 4022 int
 4023 main ()
 4024 {
 4025 inet_addr ();
 4026   ;
 4027   return 0;
 4028 }
 4029 _ACEOF
 4030 rm -f conftest.$ac_objext conftest$ac_exeext
 4031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4032   (eval $ac_link) 2>conftest.er1
 4033   ac_status=$?
 4034   grep -v '^ *+' conftest.er1 >conftest.err
 4035   rm -f conftest.er1
 4036   cat conftest.err >&5
 4037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4038   (exit $ac_status); } &&
 4039      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4041   (eval $ac_try) 2>&5
 4042   ac_status=$?
 4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4044   (exit $ac_status); }; } &&
 4045      { ac_try='test -s conftest$ac_exeext'
 4046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4047   (eval $ac_try) 2>&5
 4048   ac_status=$?
 4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4050   (exit $ac_status); }; }; then
 4051   ac_cv_search_inet_addr="-l$ac_lib"
 4052 break
 4053 else
 4054   echo "$as_me: failed program was:" >&5
 4055 sed 's/^/| /' conftest.$ac_ext >&5
 4056 
 4057 fi
 4058 rm -f conftest.err conftest.$ac_objext \
 4059       conftest$ac_exeext conftest.$ac_ext
 4060   done
 4061 fi
 4062 LIBS=$ac_func_search_save_LIBS
 4063 fi
 4064 echo "$as_me:$LINENO: result: $ac_cv_search_inet_addr" >&5
 4065 echo "${ECHO_T}$ac_cv_search_inet_addr" >&6
 4066 if test "$ac_cv_search_inet_addr" != no; then
 4067   test "$ac_cv_search_inet_addr" = "none required" || LIBS="$ac_cv_search_inet_addr $LIBS"
 4068 
 4069 cat >>confdefs.h <<\_ACEOF
 4070 #define HAVE_INET_ADDR
 4071 _ACEOF
 4072 
 4073 fi
 4074 
 4075 fi
 4076 
 4077 
 4078 fi;
 4079 
 4080 
 4081   # Check whether --enable-debug or --disable-debug was given.
 4082 if test "${enable_debug+set}" = set; then
 4083   enableval="$enable_debug"
 4084 
 4085     if test "$enable_version" != "no"; then
 4086 
 4087   ALGO="$ALGO \$(DEBUGALGO)"
 4088 
 4089 cat >>confdefs.h <<\_ACEOF
 4090 #define DEBUG 1
 4091 _ACEOF
 4092 
 4093 
 4094     fi
 4095 
 4096 else
 4097 
 4098     case "`uname -n`" in
 4099       rkeene | unleaded | *.saurik.com )
 4100 
 4101   ALGO="$ALGO \$(DEBUGALGO)"
 4102 
 4103 cat >>confdefs.h <<\_ACEOF
 4104 #define DEBUG 1
 4105 _ACEOF
 4106 
 4107 
 4108       ;;
 4109     esac
 4110 
 4111 fi;
 4112 
 4113 
 4114 
 4115 
 4116 
 4117 
 4118 
 4119     echo "$as_me:$LINENO: checking for dlopen" >&5
 4120 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 4121 if test "${ac_cv_func_dlopen+set}" = set; then
 4122   echo $ECHO_N "(cached) $ECHO_C" >&6
 4123 else
 4124   cat >conftest.$ac_ext <<_ACEOF
 4125 /* confdefs.h.  */
 4126 _ACEOF
 4127 cat confdefs.h >>conftest.$ac_ext
 4128 cat >>conftest.$ac_ext <<_ACEOF
 4129 /* end confdefs.h.  */
 4130 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 4131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 4132 #define dlopen innocuous_dlopen
 4133 
 4134 /* System header to define __stub macros and hopefully few prototypes,
 4135     which can conflict with char dlopen (); below.
 4136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 4137     <limits.h> exists even on freestanding compilers.  */
 4138 
 4139 #ifdef __STDC__
 4140 # include <limits.h>
 4141 #else
 4142 # include <assert.h>
 4143 #endif
 4144 
 4145 #undef dlopen
 4146 
 4147 /* Override any gcc2 internal prototype to avoid an error.  */
 4148 #ifdef __cplusplus
 4149 extern "C"
 4150 {
 4151 #endif
 4152 /* We use char because int might match the return type of a gcc2
 4153    builtin and then its argument prototype would still apply.  */
 4154 char dlopen ();
 4155 /* The GNU C library defines this for functions which it implements
 4156     to always fail with ENOSYS.  Some functions are actually named
 4157     something starting with __ and the normal name is an alias.  */
 4158 #if defined (__stub_dlopen) || defined (__stub___dlopen)
 4159 choke me
 4160 #else
 4161 char (*f) () = dlopen;
 4162 #endif
 4163 #ifdef __cplusplus
 4164 }
 4165 #endif
 4166 
 4167 int
 4168 main ()
 4169 {
 4170 return f != dlopen;
 4171   ;
 4172   return 0;
 4173 }
 4174 _ACEOF
 4175 rm -f conftest.$ac_objext conftest$ac_exeext
 4176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4177   (eval $ac_link) 2>conftest.er1
 4178   ac_status=$?
 4179   grep -v '^ *+' conftest.er1 >conftest.err
 4180   rm -f conftest.er1
 4181   cat conftest.err >&5
 4182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4183   (exit $ac_status); } &&
 4184      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4186   (eval $ac_try) 2>&5
 4187   ac_status=$?
 4188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4189   (exit $ac_status); }; } &&
 4190      { ac_try='test -s conftest$ac_exeext'
 4191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4192   (eval $ac_try) 2>&5
 4193   ac_status=$?
 4194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4195   (exit $ac_status); }; }; then
 4196   ac_cv_func_dlopen=yes
 4197 else
 4198   echo "$as_me: failed program was:" >&5
 4199 sed 's/^/| /' conftest.$ac_ext >&5
 4200 
 4201 ac_cv_func_dlopen=no
 4202 fi
 4203 rm -f conftest.err conftest.$ac_objext \
 4204       conftest$ac_exeext conftest.$ac_ext
 4205 fi
 4206 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 4207 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 4208 if test $ac_cv_func_dlopen = yes; then
 4209 
 4210 
 4211 cat >>confdefs.h <<\_ACEOF
 4212 #define HAVE_DLOPEN 1
 4213 _ACEOF
 4214 
 4215         HAVEDLOPEN=yes
 4216 
 4217 fi
 4218 
 4219     if test "$ac_cv_func_dlopen" = "no"; then
 4220         echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 4221 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 4222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 4223   echo $ECHO_N "(cached) $ECHO_C" >&6
 4224 else
 4225   ac_check_lib_save_LIBS=$LIBS
 4226 LIBS="-ldl  $LIBS"
 4227 cat >conftest.$ac_ext <<_ACEOF
 4228 /* confdefs.h.  */
 4229 _ACEOF
 4230 cat confdefs.h >>conftest.$ac_ext
 4231 cat >>conftest.$ac_ext <<_ACEOF
 4232 /* end confdefs.h.  */
 4233 
 4234 /* Override any gcc2 internal prototype to avoid an error.  */
 4235 #ifdef __cplusplus
 4236 extern "C"
 4237 #endif
 4238 /* We use char because int might match the return type of a gcc2
 4239    builtin and then its argument prototype would still apply.  */
 4240 char dlopen ();
 4241 int
 4242 main ()
 4243 {
 4244 dlopen ();
 4245   ;
 4246   return 0;
 4247 }
 4248 _ACEOF
 4249 rm -f conftest.$ac_objext conftest$ac_exeext
 4250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4251   (eval $ac_link) 2>conftest.er1
 4252   ac_status=$?
 4253   grep -v '^ *+' conftest.er1 >conftest.err
 4254   rm -f conftest.er1
 4255   cat conftest.err >&5
 4256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4257   (exit $ac_status); } &&
 4258      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4260   (eval $ac_try) 2>&5
 4261   ac_status=$?
 4262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4263   (exit $ac_status); }; } &&
 4264      { ac_try='test -s conftest$ac_exeext'
 4265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4266   (eval $ac_try) 2>&5
 4267   ac_status=$?
 4268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4269   (exit $ac_status); }; }; then
 4270   ac_cv_lib_dl_dlopen=yes
 4271 else
 4272   echo "$as_me: failed program was:" >&5
 4273 sed 's/^/| /' conftest.$ac_ext >&5
 4274 
 4275 ac_cv_lib_dl_dlopen=no
 4276 fi
 4277 rm -f conftest.err conftest.$ac_objext \
 4278       conftest$ac_exeext conftest.$ac_ext
 4279 LIBS=$ac_check_lib_save_LIBS
 4280 fi
 4281 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 4282 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 4283 if test $ac_cv_lib_dl_dlopen = yes; then
 4284 
 4285 
 4286 cat >>confdefs.h <<\_ACEOF
 4287 #define HAVE_DLOPEN 1
 4288 _ACEOF
 4289 
 4290             ALLMODLIBS=-ldl
 4291 
 4292             HAVEDLOPEN=yes
 4293 
 4294 fi
 4295 
 4296     fi
 4297 
 4298   echo "$as_me:$LINENO: checking to use modules" >&5
 4299 echo $ECHO_N "checking to use modules... $ECHO_C" >&6
 4300   # Check whether --enable-modules or --disable-modules was given.
 4301 if test "${enable_modules+set}" = set; then
 4302   enableval="$enable_modules"
 4303 
 4304     case "$enableval" in
 4305       no)
 4306     echo "$as_me:$LINENO: result: no" >&5
 4307 echo "${ECHO_T}no" >&6
 4308 
 4309   DEFAULT="static"
 4310   MODS="# "
 4311 
 4312       ;;
 4313       *)
 4314 
 4315 
 4316 
 4317   OLD_LDFLAGS="$LDFLAGS"
 4318   SHARED=""
 4319   if test -z "$SHARED"; then
 4320     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic -fPIC"
 4321     cat >conftest.$ac_ext <<_ACEOF
 4322 /* confdefs.h.  */
 4323 _ACEOF
 4324 cat confdefs.h >>conftest.$ac_ext
 4325 cat >>conftest.$ac_ext <<_ACEOF
 4326 /* end confdefs.h.  */
 4327 #include <stdio.h>
 4328 int
 4329 main ()
 4330 {
 4331  printf("okay\n"); return(0);
 4332   ;
 4333   return 0;
 4334 }
 4335 _ACEOF
 4336 rm -f conftest.$ac_objext conftest$ac_exeext
 4337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4338   (eval $ac_link) 2>conftest.er1
 4339   ac_status=$?
 4340   grep -v '^ *+' conftest.er1 >conftest.err
 4341   rm -f conftest.er1
 4342   cat conftest.err >&5
 4343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4344   (exit $ac_status); } &&
 4345      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4347   (eval $ac_try) 2>&5
 4348   ac_status=$?
 4349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4350   (exit $ac_status); }; } &&
 4351      { ac_try='test -s conftest$ac_exeext'
 4352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4353   (eval $ac_try) 2>&5
 4354   ac_status=$?
 4355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4356   (exit $ac_status); }; }; then
 4357    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 4358 else
 4359   echo "$as_me: failed program was:" >&5
 4360 sed 's/^/| /' conftest.$ac_ext >&5
 4361 
 4362 SHARED=""
 4363 fi
 4364 rm -f conftest.err conftest.$ac_objext \
 4365       conftest$ac_exeext conftest.$ac_ext;
 4366   fi
 4367   if test -z "$SHARED"; then
 4368     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic"
 4369     cat >conftest.$ac_ext <<_ACEOF
 4370 /* confdefs.h.  */
 4371 _ACEOF
 4372 cat confdefs.h >>conftest.$ac_ext
 4373 cat >>conftest.$ac_ext <<_ACEOF
 4374 /* end confdefs.h.  */
 4375 #include <stdio.h>
 4376 int
 4377 main ()
 4378 {
 4379  printf("okay\n"); return(0);
 4380   ;
 4381   return 0;
 4382 }
 4383 _ACEOF
 4384 rm -f conftest.$ac_objext conftest$ac_exeext
 4385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4386   (eval $ac_link) 2>conftest.er1
 4387   ac_status=$?
 4388   grep -v '^ *+' conftest.er1 >conftest.err
 4389   rm -f conftest.er1
 4390   cat conftest.err >&5
 4391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4392   (exit $ac_status); } &&
 4393      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4395   (eval $ac_try) 2>&5
 4396   ac_status=$?
 4397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4398   (exit $ac_status); }; } &&
 4399      { ac_try='test -s conftest$ac_exeext'
 4400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4401   (eval $ac_try) 2>&5
 4402   ac_status=$?
 4403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4404   (exit $ac_status); }; }; then
 4405    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 4406 else
 4407   echo "$as_me: failed program was:" >&5
 4408 sed 's/^/| /' conftest.$ac_ext >&5
 4409 
 4410 SHARED=""
 4411 fi
 4412 rm -f conftest.err conftest.$ac_objext \
 4413       conftest$ac_exeext conftest.$ac_ext;
 4414   fi
 4415   if test -z "$SHARED"; then
 4416     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -fPIC"
 4417     cat >conftest.$ac_ext <<_ACEOF
 4418 /* confdefs.h.  */
 4419 _ACEOF
 4420 cat confdefs.h >>conftest.$ac_ext
 4421 cat >>conftest.$ac_ext <<_ACEOF
 4422 /* end confdefs.h.  */
 4423 #include <stdio.h>
 4424 int
 4425 main ()
 4426 {
 4427  printf("okay\n"); return(0);
 4428   ;
 4429   return 0;
 4430 }
 4431 _ACEOF
 4432 rm -f conftest.$ac_objext conftest$ac_exeext
 4433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4434   (eval $ac_link) 2>conftest.er1
 4435   ac_status=$?
 4436   grep -v '^ *+' conftest.er1 >conftest.err
 4437   rm -f conftest.er1
 4438   cat conftest.err >&5
 4439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4440   (exit $ac_status); } &&
 4441      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4443   (eval $ac_try) 2>&5
 4444   ac_status=$?
 4445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4446   (exit $ac_status); }; } &&
 4447      { ac_try='test -s conftest$ac_exeext'
 4448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4449   (eval $ac_try) 2>&5
 4450   ac_status=$?
 4451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4452   (exit $ac_status); }; }; then
 4453    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 4454 else
 4455   echo "$as_me: failed program was:" >&5
 4456 sed 's/^/| /' conftest.$ac_ext >&5
 4457 
 4458 SHARED=""
 4459 fi
 4460 rm -f conftest.err conftest.$ac_objext \
 4461       conftest$ac_exeext conftest.$ac_ext;
 4462   fi
 4463   if test -z "$SHARED"; then
 4464     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff"
 4465     cat >conftest.$ac_ext <<_ACEOF
 4466 /* confdefs.h.  */
 4467 _ACEOF
 4468 cat confdefs.h >>conftest.$ac_ext
 4469 cat >>conftest.$ac_ext <<_ACEOF
 4470 /* end confdefs.h.  */
 4471 #include <stdio.h>
 4472 int
 4473 main ()
 4474 {
 4475  printf("okay\n"); return(0);
 4476   ;
 4477   return 0;
 4478 }
 4479 _ACEOF
 4480 rm -f conftest.$ac_objext conftest$ac_exeext
 4481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4482   (eval $ac_link) 2>conftest.er1
 4483   ac_status=$?
 4484   grep -v '^ *+' conftest.er1 >conftest.err
 4485   rm -f conftest.er1
 4486   cat conftest.err >&5
 4487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4488   (exit $ac_status); } &&
 4489      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4491   (eval $ac_try) 2>&5
 4492   ac_status=$?
 4493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4494   (exit $ac_status); }; } &&
 4495      { ac_try='test -s conftest$ac_exeext'
 4496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4497   (eval $ac_try) 2>&5
 4498   ac_status=$?
 4499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4500   (exit $ac_status); }; }; then
 4501    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 4502 else
 4503   echo "$as_me: failed program was:" >&5
 4504 sed 's/^/| /' conftest.$ac_ext >&5
 4505 
 4506 SHARED=""
 4507 fi
 4508 rm -f conftest.err conftest.$ac_objext \
 4509       conftest$ac_exeext conftest.$ac_ext;
 4510   fi
 4511   if test -z "$SHARED"; then
 4512     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic -fPIC"
 4513     cat >conftest.$ac_ext <<_ACEOF
 4514 /* confdefs.h.  */
 4515 _ACEOF
 4516 cat confdefs.h >>conftest.$ac_ext
 4517 cat >>conftest.$ac_ext <<_ACEOF
 4518 /* end confdefs.h.  */
 4519 #include <stdio.h>
 4520 int
 4521 main ()
 4522 {
 4523  printf("okay\n"); return(0);
 4524   ;
 4525   return 0;
 4526 }
 4527 _ACEOF
 4528 rm -f conftest.$ac_objext conftest$ac_exeext
 4529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4530   (eval $ac_link) 2>conftest.er1
 4531   ac_status=$?
 4532   grep -v '^ *+' conftest.er1 >conftest.err
 4533   rm -f conftest.er1
 4534   cat conftest.err >&5
 4535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4536   (exit $ac_status); } &&
 4537      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4539   (eval $ac_try) 2>&5
 4540   ac_status=$?
 4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4542   (exit $ac_status); }; } &&
 4543      { ac_try='test -s conftest$ac_exeext'
 4544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4545   (eval $ac_try) 2>&5
 4546   ac_status=$?
 4547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4548   (exit $ac_status); }; }; then
 4549    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 4550 else
 4551   echo "$as_me: failed program was:" >&5
 4552 sed 's/^/| /' conftest.$ac_ext >&5
 4553 
 4554 SHARED=""
 4555 fi
 4556 rm -f conftest.err conftest.$ac_objext \
 4557       conftest$ac_exeext conftest.$ac_ext;
 4558   fi
 4559   if test -z "$SHARED"; then
 4560     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic"
 4561     cat >conftest.$ac_ext <<_ACEOF
 4562 /* confdefs.h.  */
 4563 _ACEOF
 4564 cat confdefs.h >>conftest.$ac_ext
 4565 cat >>conftest.$ac_ext <<_ACEOF
 4566 /* end confdefs.h.  */
 4567 #include <stdio.h>
 4568 int
 4569 main ()
 4570 {
 4571  printf("okay\n"); return(0);
 4572   ;
 4573   return 0;
 4574 }
 4575 _ACEOF
 4576 rm -f conftest.$ac_objext conftest$ac_exeext
 4577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4578   (eval $ac_link) 2>conftest.er1
 4579   ac_status=$?
 4580   grep -v '^ *+' conftest.er1 >conftest.err
 4581   rm -f conftest.er1
 4582   cat conftest.err >&5
 4583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4584   (exit $ac_status); } &&
 4585      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4587   (eval $ac_try) 2>&5
 4588   ac_status=$?
 4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4590   (exit $ac_status); }; } &&
 4591      { ac_try='test -s conftest$ac_exeext'
 4592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4593   (eval $ac_try) 2>&5
 4594   ac_status=$?
 4595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4596   (exit $ac_status); }; }; then
 4597    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 4598 else
 4599   echo "$as_me: failed program was:" >&5
 4600 sed 's/^/| /' conftest.$ac_ext >&5
 4601 
 4602 SHARED=""
 4603 fi
 4604 rm -f conftest.err conftest.$ac_objext \
 4605       conftest$ac_exeext conftest.$ac_ext;
 4606   fi
 4607   if test -z "$SHARED"; then
 4608     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -fPIC"
 4609     cat >conftest.$ac_ext <<_ACEOF
 4610 /* confdefs.h.  */
 4611 _ACEOF
 4612 cat confdefs.h >>conftest.$ac_ext
 4613 cat >>conftest.$ac_ext <<_ACEOF
 4614 /* end confdefs.h.  */
 4615 #include <stdio.h>
 4616 int
 4617 main ()
 4618 {
 4619  printf("okay\n"); return(0);
 4620   ;
 4621   return 0;
 4622 }
 4623 _ACEOF
 4624 rm -f conftest.$ac_objext conftest$ac_exeext
 4625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4626   (eval $ac_link) 2>conftest.er1
 4627   ac_status=$?
 4628   grep -v '^ *+' conftest.er1 >conftest.err
 4629   rm -f conftest.er1
 4630   cat conftest.err >&5
 4631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4632   (exit $ac_status); } &&
 4633      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4635   (eval $ac_try) 2>&5
 4636   ac_status=$?
 4637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4638   (exit $ac_status); }; } &&
 4639      { ac_try='test -s conftest$ac_exeext'
 4640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4641   (eval $ac_try) 2>&5
 4642   ac_status=$?
 4643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4644   (exit $ac_status); }; }; then
 4645    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 4646 else
 4647   echo "$as_me: failed program was:" >&5
 4648 sed 's/^/| /' conftest.$ac_ext >&5
 4649 
 4650 SHARED=""
 4651 fi
 4652 rm -f conftest.err conftest.$ac_objext \
 4653       conftest$ac_exeext conftest.$ac_ext;
 4654   fi
 4655   if test -z "$SHARED"; then
 4656     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff"
 4657     cat >conftest.$ac_ext <<_ACEOF
 4658 /* confdefs.h.  */
 4659 _ACEOF
 4660 cat confdefs.h >>conftest.$ac_ext
 4661 cat >>conftest.$ac_ext <<_ACEOF
 4662 /* end confdefs.h.  */
 4663 #include <stdio.h>
 4664 int
 4665 main ()
 4666 {
 4667  printf("okay\n"); return(0);
 4668   ;
 4669   return 0;
 4670 }
 4671 _ACEOF
 4672 rm -f conftest.$ac_objext conftest$ac_exeext
 4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4674   (eval $ac_link) 2>conftest.er1
 4675   ac_status=$?
 4676   grep -v '^ *+' conftest.er1 >conftest.err
 4677   rm -f conftest.er1
 4678   cat conftest.err >&5
 4679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4680   (exit $ac_status); } &&
 4681      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4683   (eval $ac_try) 2>&5
 4684   ac_status=$?
 4685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4686   (exit $ac_status); }; } &&
 4687      { ac_try='test -s conftest$ac_exeext'
 4688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4689   (eval $ac_try) 2>&5
 4690   ac_status=$?
 4691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4692   (exit $ac_status); }; }; then
 4693    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 4694 else
 4695   echo "$as_me: failed program was:" >&5
 4696 sed 's/^/| /' conftest.$ac_ext >&5
 4697 
 4698 SHARED=""
 4699 fi
 4700 rm -f conftest.err conftest.$ac_objext \
 4701       conftest$ac_exeext conftest.$ac_ext;
 4702   fi
 4703   if test -z "$SHARED"; then
 4704     LDFLAGS="$LDFLAGS -shared -rdynamic -fPIC"
 4705     cat >conftest.$ac_ext <<_ACEOF
 4706 /* confdefs.h.  */
 4707 _ACEOF
 4708 cat confdefs.h >>conftest.$ac_ext
 4709 cat >>conftest.$ac_ext <<_ACEOF
 4710 /* end confdefs.h.  */
 4711 #include <stdio.h>
 4712 int
 4713 main ()
 4714 {
 4715  printf("okay\n"); return(0);
 4716   ;
 4717   return 0;
 4718 }
 4719 _ACEOF
 4720 rm -f conftest.$ac_objext conftest$ac_exeext
 4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4722   (eval $ac_link) 2>conftest.er1
 4723   ac_status=$?
 4724   grep -v '^ *+' conftest.er1 >conftest.err
 4725   rm -f conftest.er1
 4726   cat conftest.err >&5
 4727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4728   (exit $ac_status); } &&
 4729      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4731   (eval $ac_try) 2>&5
 4732   ac_status=$?
 4733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4734   (exit $ac_status); }; } &&
 4735      { ac_try='test -s conftest$ac_exeext'
 4736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4737   (eval $ac_try) 2>&5
 4738   ac_status=$?
 4739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4740   (exit $ac_status); }; }; then
 4741    SHARED="-shared -fPIC"; ADD_LDFLAGS="-rdynamic"
 4742 else
 4743   echo "$as_me: failed program was:" >&5
 4744 sed 's/^/| /' conftest.$ac_ext >&5
 4745 
 4746 SHARED=""
 4747 fi
 4748 rm -f conftest.err conftest.$ac_objext \
 4749       conftest$ac_exeext conftest.$ac_ext;
 4750   fi
 4751   if test -z "$SHARED"; then
 4752     LDFLAGS="$OLD_LDFLAGS -shared -fPIC"
 4753     cat >conftest.$ac_ext <<_ACEOF
 4754 /* confdefs.h.  */
 4755 _ACEOF
 4756 cat confdefs.h >>conftest.$ac_ext
 4757 cat >>conftest.$ac_ext <<_ACEOF
 4758 /* end confdefs.h.  */
 4759 #include <stdio.h>
 4760 int
 4761 main ()
 4762 {
 4763  printf("okay\n"); return(0);
 4764   ;
 4765   return 0;
 4766 }
 4767 _ACEOF
 4768 rm -f conftest.$ac_objext conftest$ac_exeext
 4769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4770   (eval $ac_link) 2>conftest.er1
 4771   ac_status=$?
 4772   grep -v '^ *+' conftest.er1 >conftest.err
 4773   rm -f conftest.er1
 4774   cat conftest.err >&5
 4775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4776   (exit $ac_status); } &&
 4777      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4779   (eval $ac_try) 2>&5
 4780   ac_status=$?
 4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4782   (exit $ac_status); }; } &&
 4783      { ac_try='test -s conftest$ac_exeext'
 4784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4785   (eval $ac_try) 2>&5
 4786   ac_status=$?
 4787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4788   (exit $ac_status); }; }; then
 4789    SHARED="-shared -fPIC"; ADD_LDFLAGS=""
 4790 else
 4791   echo "$as_me: failed program was:" >&5
 4792 sed 's/^/| /' conftest.$ac_ext >&5
 4793 
 4794 SHARED=""
 4795 fi
 4796 rm -f conftest.err conftest.$ac_objext \
 4797       conftest$ac_exeext conftest.$ac_ext;
 4798   fi
 4799   if test -z "$SHARED"; then
 4800     LDFLAGS="$OLD_LDFLAGS -shared"
 4801     cat >conftest.$ac_ext <<_ACEOF
 4802 /* confdefs.h.  */
 4803 _ACEOF
 4804 cat confdefs.h >>conftest.$ac_ext
 4805 cat >>conftest.$ac_ext <<_ACEOF
 4806 /* end confdefs.h.  */
 4807 #include <stdio.h>
 4808 int
 4809 main ()
 4810 {
 4811  printf("okay\n"); return(0);
 4812   ;
 4813   return 0;
 4814 }
 4815 _ACEOF
 4816 rm -f conftest.$ac_objext conftest$ac_exeext
 4817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4818   (eval $ac_link) 2>conftest.er1
 4819   ac_status=$?
 4820   grep -v '^ *+' conftest.er1 >conftest.err
 4821   rm -f conftest.er1
 4822   cat conftest.err >&5
 4823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4824   (exit $ac_status); } &&
 4825      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4827   (eval $ac_try) 2>&5
 4828   ac_status=$?
 4829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4830   (exit $ac_status); }; } &&
 4831      { ac_try='test -s conftest$ac_exeext'
 4832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4833   (eval $ac_try) 2>&5
 4834   ac_status=$?
 4835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4836   (exit $ac_status); }; }; then
 4837    SHARED="-shared"; ADD_LDFLAGS=""
 4838 else
 4839   echo "$as_me: failed program was:" >&5
 4840 sed 's/^/| /' conftest.$ac_ext >&5
 4841 
 4842 SHARED=""
 4843 fi
 4844 rm -f conftest.err conftest.$ac_objext \
 4845       conftest$ac_exeext conftest.$ac_ext;
 4846   fi
 4847   LDFLAGS="$ADD_LDFLAGS $OLD_LDFLAGS"
 4848 
 4849     if test "$HAVEDLOPEN" = yes -a -n "$SHARED"; then
 4850       echo "$as_me:$LINENO: result: yes" >&5
 4851 echo "${ECHO_T}yes" >&6
 4852 
 4853 cat >>confdefs.h <<\_ACEOF
 4854 #define USE_MODULES
 4855 _ACEOF
 4856 
 4857           NOMODS="#"
 4858       DEFAULT="module"
 4859     else
 4860       echo "$as_me:$LINENO: result: can't" >&5
 4861 echo "${ECHO_T}can't" >&6
 4862 
 4863   DEFAULT="static"
 4864   MODS="# "
 4865 
 4866     fi
 4867       ;;
 4868     esac
 4869 
 4870 else
 4871 
 4872 
 4873 
 4874 
 4875   OLD_LDFLAGS="$LDFLAGS"
 4876   SHARED=""
 4877   if test -z "$SHARED"; then
 4878     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic -fPIC"
 4879     cat >conftest.$ac_ext <<_ACEOF
 4880 /* confdefs.h.  */
 4881 _ACEOF
 4882 cat confdefs.h >>conftest.$ac_ext
 4883 cat >>conftest.$ac_ext <<_ACEOF
 4884 /* end confdefs.h.  */
 4885 #include <stdio.h>
 4886 int
 4887 main ()
 4888 {
 4889  printf("okay\n"); return(0);
 4890   ;
 4891   return 0;
 4892 }
 4893 _ACEOF
 4894 rm -f conftest.$ac_objext conftest$ac_exeext
 4895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4896   (eval $ac_link) 2>conftest.er1
 4897   ac_status=$?
 4898   grep -v '^ *+' conftest.er1 >conftest.err
 4899   rm -f conftest.er1
 4900   cat conftest.err >&5
 4901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4902   (exit $ac_status); } &&
 4903      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4905   (eval $ac_try) 2>&5
 4906   ac_status=$?
 4907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4908   (exit $ac_status); }; } &&
 4909      { ac_try='test -s conftest$ac_exeext'
 4910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4911   (eval $ac_try) 2>&5
 4912   ac_status=$?
 4913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4914   (exit $ac_status); }; }; then
 4915    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 4916 else
 4917   echo "$as_me: failed program was:" >&5
 4918 sed 's/^/| /' conftest.$ac_ext >&5
 4919 
 4920 SHARED=""
 4921 fi
 4922 rm -f conftest.err conftest.$ac_objext \
 4923       conftest$ac_exeext conftest.$ac_ext;
 4924   fi
 4925   if test -z "$SHARED"; then
 4926     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -rdynamic"
 4927     cat >conftest.$ac_ext <<_ACEOF
 4928 /* confdefs.h.  */
 4929 _ACEOF
 4930 cat confdefs.h >>conftest.$ac_ext
 4931 cat >>conftest.$ac_ext <<_ACEOF
 4932 /* end confdefs.h.  */
 4933 #include <stdio.h>
 4934 int
 4935 main ()
 4936 {
 4937  printf("okay\n"); return(0);
 4938   ;
 4939   return 0;
 4940 }
 4941 _ACEOF
 4942 rm -f conftest.$ac_objext conftest$ac_exeext
 4943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4944   (eval $ac_link) 2>conftest.er1
 4945   ac_status=$?
 4946   grep -v '^ *+' conftest.er1 >conftest.err
 4947   rm -f conftest.er1
 4948   cat conftest.err >&5
 4949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4950   (exit $ac_status); } &&
 4951      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 4952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4953   (eval $ac_try) 2>&5
 4954   ac_status=$?
 4955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4956   (exit $ac_status); }; } &&
 4957      { ac_try='test -s conftest$ac_exeext'
 4958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 4959   (eval $ac_try) 2>&5
 4960   ac_status=$?
 4961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4962   (exit $ac_status); }; }; then
 4963    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 4964 else
 4965   echo "$as_me: failed program was:" >&5
 4966 sed 's/^/| /' conftest.$ac_ext >&5
 4967 
 4968 SHARED=""
 4969 fi
 4970 rm -f conftest.err conftest.$ac_objext \
 4971       conftest$ac_exeext conftest.$ac_ext;
 4972   fi
 4973   if test -z "$SHARED"; then
 4974     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff -fPIC"
 4975     cat >conftest.$ac_ext <<_ACEOF
 4976 /* confdefs.h.  */
 4977 _ACEOF
 4978 cat confdefs.h >>conftest.$ac_ext
 4979 cat >>conftest.$ac_ext <<_ACEOF
 4980 /* end confdefs.h.  */
 4981 #include <stdio.h>
 4982 int
 4983 main ()
 4984 {
 4985  printf("okay\n"); return(0);
 4986   ;
 4987   return 0;
 4988 }
 4989 _ACEOF
 4990 rm -f conftest.$ac_objext conftest$ac_exeext
 4991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 4992   (eval $ac_link) 2>conftest.er1
 4993   ac_status=$?
 4994   grep -v '^ *+' conftest.er1 >conftest.err
 4995   rm -f conftest.er1
 4996   cat conftest.err >&5
 4997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 4998   (exit $ac_status); } &&
 4999      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5001   (eval $ac_try) 2>&5
 5002   ac_status=$?
 5003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5004   (exit $ac_status); }; } &&
 5005      { ac_try='test -s conftest$ac_exeext'
 5006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5007   (eval $ac_try) 2>&5
 5008   ac_status=$?
 5009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5010   (exit $ac_status); }; }; then
 5011    SHARED="-shared -Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 5012 else
 5013   echo "$as_me: failed program was:" >&5
 5014 sed 's/^/| /' conftest.$ac_ext >&5
 5015 
 5016 SHARED=""
 5017 fi
 5018 rm -f conftest.err conftest.$ac_objext \
 5019       conftest$ac_exeext conftest.$ac_ext;
 5020   fi
 5021   if test -z "$SHARED"; then
 5022     LDFLAGS="$OLD_LDFLAGS -shared -Wl,-G,-z,textoff"
 5023     cat >conftest.$ac_ext <<_ACEOF
 5024 /* confdefs.h.  */
 5025 _ACEOF
 5026 cat confdefs.h >>conftest.$ac_ext
 5027 cat >>conftest.$ac_ext <<_ACEOF
 5028 /* end confdefs.h.  */
 5029 #include <stdio.h>
 5030 int
 5031 main ()
 5032 {
 5033  printf("okay\n"); return(0);
 5034   ;
 5035   return 0;
 5036 }
 5037 _ACEOF
 5038 rm -f conftest.$ac_objext conftest$ac_exeext
 5039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5040   (eval $ac_link) 2>conftest.er1
 5041   ac_status=$?
 5042   grep -v '^ *+' conftest.er1 >conftest.err
 5043   rm -f conftest.er1
 5044   cat conftest.err >&5
 5045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5046   (exit $ac_status); } &&
 5047      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5049   (eval $ac_try) 2>&5
 5050   ac_status=$?
 5051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5052   (exit $ac_status); }; } &&
 5053      { ac_try='test -s conftest$ac_exeext'
 5054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5055   (eval $ac_try) 2>&5
 5056   ac_status=$?
 5057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5058   (exit $ac_status); }; }; then
 5059    SHARED="-shared -Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 5060 else
 5061   echo "$as_me: failed program was:" >&5
 5062 sed 's/^/| /' conftest.$ac_ext >&5
 5063 
 5064 SHARED=""
 5065 fi
 5066 rm -f conftest.err conftest.$ac_objext \
 5067       conftest$ac_exeext conftest.$ac_ext;
 5068   fi
 5069   if test -z "$SHARED"; then
 5070     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic -fPIC"
 5071     cat >conftest.$ac_ext <<_ACEOF
 5072 /* confdefs.h.  */
 5073 _ACEOF
 5074 cat confdefs.h >>conftest.$ac_ext
 5075 cat >>conftest.$ac_ext <<_ACEOF
 5076 /* end confdefs.h.  */
 5077 #include <stdio.h>
 5078 int
 5079 main ()
 5080 {
 5081  printf("okay\n"); return(0);
 5082   ;
 5083   return 0;
 5084 }
 5085 _ACEOF
 5086 rm -f conftest.$ac_objext conftest$ac_exeext
 5087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5088   (eval $ac_link) 2>conftest.er1
 5089   ac_status=$?
 5090   grep -v '^ *+' conftest.er1 >conftest.err
 5091   rm -f conftest.er1
 5092   cat conftest.err >&5
 5093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5094   (exit $ac_status); } &&
 5095      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5097   (eval $ac_try) 2>&5
 5098   ac_status=$?
 5099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5100   (exit $ac_status); }; } &&
 5101      { ac_try='test -s conftest$ac_exeext'
 5102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5103   (eval $ac_try) 2>&5
 5104   ac_status=$?
 5105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5106   (exit $ac_status); }; }; then
 5107    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS="-rdynamic"
 5108 else
 5109   echo "$as_me: failed program was:" >&5
 5110 sed 's/^/| /' conftest.$ac_ext >&5
 5111 
 5112 SHARED=""
 5113 fi
 5114 rm -f conftest.err conftest.$ac_objext \
 5115       conftest$ac_exeext conftest.$ac_ext;
 5116   fi
 5117   if test -z "$SHARED"; then
 5118     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -rdynamic"
 5119     cat >conftest.$ac_ext <<_ACEOF
 5120 /* confdefs.h.  */
 5121 _ACEOF
 5122 cat confdefs.h >>conftest.$ac_ext
 5123 cat >>conftest.$ac_ext <<_ACEOF
 5124 /* end confdefs.h.  */
 5125 #include <stdio.h>
 5126 int
 5127 main ()
 5128 {
 5129  printf("okay\n"); return(0);
 5130   ;
 5131   return 0;
 5132 }
 5133 _ACEOF
 5134 rm -f conftest.$ac_objext conftest$ac_exeext
 5135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5136   (eval $ac_link) 2>conftest.er1
 5137   ac_status=$?
 5138   grep -v '^ *+' conftest.er1 >conftest.err
 5139   rm -f conftest.er1
 5140   cat conftest.err >&5
 5141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5142   (exit $ac_status); } &&
 5143      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5145   (eval $ac_try) 2>&5
 5146   ac_status=$?
 5147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5148   (exit $ac_status); }; } &&
 5149      { ac_try='test -s conftest$ac_exeext'
 5150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5151   (eval $ac_try) 2>&5
 5152   ac_status=$?
 5153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5154   (exit $ac_status); }; }; then
 5155    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS="-rdynamic"
 5156 else
 5157   echo "$as_me: failed program was:" >&5
 5158 sed 's/^/| /' conftest.$ac_ext >&5
 5159 
 5160 SHARED=""
 5161 fi
 5162 rm -f conftest.err conftest.$ac_objext \
 5163       conftest$ac_exeext conftest.$ac_ext;
 5164   fi
 5165   if test -z "$SHARED"; then
 5166     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff -fPIC"
 5167     cat >conftest.$ac_ext <<_ACEOF
 5168 /* confdefs.h.  */
 5169 _ACEOF
 5170 cat confdefs.h >>conftest.$ac_ext
 5171 cat >>conftest.$ac_ext <<_ACEOF
 5172 /* end confdefs.h.  */
 5173 #include <stdio.h>
 5174 int
 5175 main ()
 5176 {
 5177  printf("okay\n"); return(0);
 5178   ;
 5179   return 0;
 5180 }
 5181 _ACEOF
 5182 rm -f conftest.$ac_objext conftest$ac_exeext
 5183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5184   (eval $ac_link) 2>conftest.er1
 5185   ac_status=$?
 5186   grep -v '^ *+' conftest.er1 >conftest.err
 5187   rm -f conftest.er1
 5188   cat conftest.err >&5
 5189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5190   (exit $ac_status); } &&
 5191      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5193   (eval $ac_try) 2>&5
 5194   ac_status=$?
 5195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5196   (exit $ac_status); }; } &&
 5197      { ac_try='test -s conftest$ac_exeext'
 5198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5199   (eval $ac_try) 2>&5
 5200   ac_status=$?
 5201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5202   (exit $ac_status); }; }; then
 5203    SHARED="-Wl,-G,-z,textoff -fPIC"; ADD_LDFLAGS=""
 5204 else
 5205   echo "$as_me: failed program was:" >&5
 5206 sed 's/^/| /' conftest.$ac_ext >&5
 5207 
 5208 SHARED=""
 5209 fi
 5210 rm -f conftest.err conftest.$ac_objext \
 5211       conftest$ac_exeext conftest.$ac_ext;
 5212   fi
 5213   if test -z "$SHARED"; then
 5214     LDFLAGS="$OLD_LDFLAGS -Wl,-G,-z,textoff"
 5215     cat >conftest.$ac_ext <<_ACEOF
 5216 /* confdefs.h.  */
 5217 _ACEOF
 5218 cat confdefs.h >>conftest.$ac_ext
 5219 cat >>conftest.$ac_ext <<_ACEOF
 5220 /* end confdefs.h.  */
 5221 #include <stdio.h>
 5222 int
 5223 main ()
 5224 {
 5225  printf("okay\n"); return(0);
 5226   ;
 5227   return 0;
 5228 }
 5229 _ACEOF
 5230 rm -f conftest.$ac_objext conftest$ac_exeext
 5231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5232   (eval $ac_link) 2>conftest.er1
 5233   ac_status=$?
 5234   grep -v '^ *+' conftest.er1 >conftest.err
 5235   rm -f conftest.er1
 5236   cat conftest.err >&5
 5237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5238   (exit $ac_status); } &&
 5239      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5241   (eval $ac_try) 2>&5
 5242   ac_status=$?
 5243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5244   (exit $ac_status); }; } &&
 5245      { ac_try='test -s conftest$ac_exeext'
 5246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5247   (eval $ac_try) 2>&5
 5248   ac_status=$?
 5249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5250   (exit $ac_status); }; }; then
 5251    SHARED="-Wl,-G,-z,textoff"; ADD_LDFLAGS=""
 5252 else
 5253   echo "$as_me: failed program was:" >&5
 5254 sed 's/^/| /' conftest.$ac_ext >&5
 5255 
 5256 SHARED=""
 5257 fi
 5258 rm -f conftest.err conftest.$ac_objext \
 5259       conftest$ac_exeext conftest.$ac_ext;
 5260   fi
 5261   if test -z "$SHARED"; then
 5262     LDFLAGS="$LDFLAGS -shared -rdynamic -fPIC"
 5263     cat >conftest.$ac_ext <<_ACEOF
 5264 /* confdefs.h.  */
 5265 _ACEOF
 5266 cat confdefs.h >>conftest.$ac_ext
 5267 cat >>conftest.$ac_ext <<_ACEOF
 5268 /* end confdefs.h.  */
 5269 #include <stdio.h>
 5270 int
 5271 main ()
 5272 {
 5273  printf("okay\n"); return(0);
 5274   ;
 5275   return 0;
 5276 }
 5277 _ACEOF
 5278 rm -f conftest.$ac_objext conftest$ac_exeext
 5279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5280   (eval $ac_link) 2>conftest.er1
 5281   ac_status=$?
 5282   grep -v '^ *+' conftest.er1 >conftest.err
 5283   rm -f conftest.er1
 5284   cat conftest.err >&5
 5285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5286   (exit $ac_status); } &&
 5287      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5289   (eval $ac_try) 2>&5
 5290   ac_status=$?
 5291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5292   (exit $ac_status); }; } &&
 5293      { ac_try='test -s conftest$ac_exeext'
 5294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5295   (eval $ac_try) 2>&5
 5296   ac_status=$?
 5297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5298   (exit $ac_status); }; }; then
 5299    SHARED="-shared -fPIC"; ADD_LDFLAGS="-rdynamic"
 5300 else
 5301   echo "$as_me: failed program was:" >&5
 5302 sed 's/^/| /' conftest.$ac_ext >&5
 5303 
 5304 SHARED=""
 5305 fi
 5306 rm -f conftest.err conftest.$ac_objext \
 5307       conftest$ac_exeext conftest.$ac_ext;
 5308   fi
 5309   if test -z "$SHARED"; then
 5310     LDFLAGS="$OLD_LDFLAGS -shared -fPIC"
 5311     cat >conftest.$ac_ext <<_ACEOF
 5312 /* confdefs.h.  */
 5313 _ACEOF
 5314 cat confdefs.h >>conftest.$ac_ext
 5315 cat >>conftest.$ac_ext <<_ACEOF
 5316 /* end confdefs.h.  */
 5317 #include <stdio.h>
 5318 int
 5319 main ()
 5320 {
 5321  printf("okay\n"); return(0);
 5322   ;
 5323   return 0;
 5324 }
 5325 _ACEOF
 5326 rm -f conftest.$ac_objext conftest$ac_exeext
 5327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5328   (eval $ac_link) 2>conftest.er1
 5329   ac_status=$?
 5330   grep -v '^ *+' conftest.er1 >conftest.err
 5331   rm -f conftest.er1
 5332   cat conftest.err >&5
 5333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5334   (exit $ac_status); } &&
 5335      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5337   (eval $ac_try) 2>&5
 5338   ac_status=$?
 5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5340   (exit $ac_status); }; } &&
 5341      { ac_try='test -s conftest$ac_exeext'
 5342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5343   (eval $ac_try) 2>&5
 5344   ac_status=$?
 5345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5346   (exit $ac_status); }; }; then
 5347    SHARED="-shared -fPIC"; ADD_LDFLAGS=""
 5348 else
 5349   echo "$as_me: failed program was:" >&5
 5350 sed 's/^/| /' conftest.$ac_ext >&5
 5351 
 5352 SHARED=""
 5353 fi
 5354 rm -f conftest.err conftest.$ac_objext \
 5355       conftest$ac_exeext conftest.$ac_ext;
 5356   fi
 5357   if test -z "$SHARED"; then
 5358     LDFLAGS="$OLD_LDFLAGS -shared"
 5359     cat >conftest.$ac_ext <<_ACEOF
 5360 /* confdefs.h.  */
 5361 _ACEOF
 5362 cat confdefs.h >>conftest.$ac_ext
 5363 cat >>conftest.$ac_ext <<_ACEOF
 5364 /* end confdefs.h.  */
 5365 #include <stdio.h>
 5366 int
 5367 main ()
 5368 {
 5369  printf("okay\n"); return(0);
 5370   ;
 5371   return 0;
 5372 }
 5373 _ACEOF
 5374 rm -f conftest.$ac_objext conftest$ac_exeext
 5375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5376   (eval $ac_link) 2>conftest.er1
 5377   ac_status=$?
 5378   grep -v '^ *+' conftest.er1 >conftest.err
 5379   rm -f conftest.er1
 5380   cat conftest.err >&5
 5381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5382   (exit $ac_status); } &&
 5383      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5385   (eval $ac_try) 2>&5
 5386   ac_status=$?
 5387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5388   (exit $ac_status); }; } &&
 5389      { ac_try='test -s conftest$ac_exeext'
 5390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5391   (eval $ac_try) 2>&5
 5392   ac_status=$?
 5393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5394   (exit $ac_status); }; }; then
 5395    SHARED="-shared"; ADD_LDFLAGS=""
 5396 else
 5397   echo "$as_me: failed program was:" >&5
 5398 sed 's/^/| /' conftest.$ac_ext >&5
 5399 
 5400 SHARED=""
 5401 fi
 5402 rm -f conftest.err conftest.$ac_objext \
 5403       conftest$ac_exeext conftest.$ac_ext;
 5404   fi
 5405   LDFLAGS="$ADD_LDFLAGS $OLD_LDFLAGS"
 5406 
 5407     if test "$HAVEDLOPEN" = yes -a -n "$SHARED"; then
 5408       echo "$as_me:$LINENO: result: yes" >&5
 5409 echo "${ECHO_T}yes" >&6
 5410       cat >>confdefs.h <<\_ACEOF
 5411 #define USE_MODULES Enable use of dynamically loadable modules?
 5412 _ACEOF
 5413 
 5414           NOMODS="#"
 5415       DEFAULT="module"
 5416     else
 5417       echo "$as_me:$LINENO: result: can't" >&5
 5418 echo "${ECHO_T}can't" >&6
 5419 
 5420   DEFAULT="static"
 5421   MODS="# "
 5422 
 5423     fi
 5424 
 5425 fi;
 5426 
 5427 
 5428   # Check whether --enable-debianupgrade or --disable-debianupgrade was given.
 5429 if test "${enable_debianupgrade+set}" = set; then
 5430   enableval="$enable_debianupgrade"
 5431 
 5432     case "$enableval" in
 5433       no)
 5434       ;;
 5435       *)
 5436 
 5437 cat >>confdefs.h <<\_ACEOF
 5438 #define DACT_DEBIAN_UPGRADE_PROC
 5439 _ACEOF
 5440 
 5441       ;;
 5442     esac
 5443 
 5444 fi;
 5445 
 5446 
 5447   if test "$cross_compiling" = "no"; then
 5448     echo "$as_me:$LINENO: checking to see if you have /dev/urandom" >&5
 5449 echo $ECHO_N "checking to see if you have /dev/urandom... $ECHO_C" >&6
 5450     if test -r "/dev/urandom"; then
 5451       echo "$as_me:$LINENO: result: yes" >&5
 5452 echo "${ECHO_T}yes" >&6
 5453 
 5454 cat >>confdefs.h <<\_ACEOF
 5455 #define HAVE_DEV_URANDOM
 5456 _ACEOF
 5457 
 5458     else
 5459       echo "$as_me:$LINENO: result: no" >&5
 5460 echo "${ECHO_T}no" >&6
 5461     fi
 5462   fi
 5463 
 5464 
 5465 ac_ext=c
 5466 ac_cpp='$CPP $CPPFLAGS'
 5467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5470 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 5471 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 5472 # On Suns, sometimes $CPP names a directory.
 5473 if test -n "$CPP" && test -d "$CPP"; then
 5474   CPP=
 5475 fi
 5476 if test -z "$CPP"; then
 5477   if test "${ac_cv_prog_CPP+set}" = set; then
 5478   echo $ECHO_N "(cached) $ECHO_C" >&6
 5479 else
 5480       # Double quotes because CPP needs to be expanded
 5481     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 5482     do
 5483       ac_preproc_ok=false
 5484 for ac_c_preproc_warn_flag in '' yes
 5485 do
 5486   # Use a header file that comes with gcc, so configuring glibc
 5487   # with a fresh cross-compiler works.
 5488   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5489   # <limits.h> exists even on freestanding compilers.
 5490   # On the NeXT, cc -E runs the code through the compiler's parser,
 5491   # not just through cpp. "Syntax error" is here to catch this case.
 5492   cat >conftest.$ac_ext <<_ACEOF
 5493 /* confdefs.h.  */
 5494 _ACEOF
 5495 cat confdefs.h >>conftest.$ac_ext
 5496 cat >>conftest.$ac_ext <<_ACEOF
 5497 /* end confdefs.h.  */
 5498 #ifdef __STDC__
 5499 # include <limits.h>
 5500 #else
 5501 # include <assert.h>
 5502 #endif
 5503              Syntax error
 5504 _ACEOF
 5505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5506   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5507   ac_status=$?
 5508   grep -v '^ *+' conftest.er1 >conftest.err
 5509   rm -f conftest.er1
 5510   cat conftest.err >&5
 5511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5512   (exit $ac_status); } >/dev/null; then
 5513   if test -s conftest.err; then
 5514     ac_cpp_err=$ac_c_preproc_warn_flag
 5515     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5516   else
 5517     ac_cpp_err=
 5518   fi
 5519 else
 5520   ac_cpp_err=yes
 5521 fi
 5522 if test -z "$ac_cpp_err"; then
 5523   :
 5524 else
 5525   echo "$as_me: failed program was:" >&5
 5526 sed 's/^/| /' conftest.$ac_ext >&5
 5527 
 5528   # Broken: fails on valid input.
 5529 continue
 5530 fi
 5531 rm -f conftest.err conftest.$ac_ext
 5532 
 5533   # OK, works on sane cases.  Now check whether non-existent headers
 5534   # can be detected and how.
 5535   cat >conftest.$ac_ext <<_ACEOF
 5536 /* confdefs.h.  */
 5537 _ACEOF
 5538 cat confdefs.h >>conftest.$ac_ext
 5539 cat >>conftest.$ac_ext <<_ACEOF
 5540 /* end confdefs.h.  */
 5541 #include <ac_nonexistent.h>
 5542 _ACEOF
 5543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5544   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5545   ac_status=$?
 5546   grep -v '^ *+' conftest.er1 >conftest.err
 5547   rm -f conftest.er1
 5548   cat conftest.err >&5
 5549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5550   (exit $ac_status); } >/dev/null; then
 5551   if test -s conftest.err; then
 5552     ac_cpp_err=$ac_c_preproc_warn_flag
 5553     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5554   else
 5555     ac_cpp_err=
 5556   fi
 5557 else
 5558   ac_cpp_err=yes
 5559 fi
 5560 if test -z "$ac_cpp_err"; then
 5561   # Broken: success on invalid input.
 5562 continue
 5563 else
 5564   echo "$as_me: failed program was:" >&5
 5565 sed 's/^/| /' conftest.$ac_ext >&5
 5566 
 5567   # Passes both tests.
 5568 ac_preproc_ok=:
 5569 break
 5570 fi
 5571 rm -f conftest.err conftest.$ac_ext
 5572 
 5573 done
 5574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5575 rm -f conftest.err conftest.$ac_ext
 5576 if $ac_preproc_ok; then
 5577   break
 5578 fi
 5579 
 5580     done
 5581     ac_cv_prog_CPP=$CPP
 5582 
 5583 fi
 5584   CPP=$ac_cv_prog_CPP
 5585 else
 5586   ac_cv_prog_CPP=$CPP
 5587 fi
 5588 echo "$as_me:$LINENO: result: $CPP" >&5
 5589 echo "${ECHO_T}$CPP" >&6
 5590 ac_preproc_ok=false
 5591 for ac_c_preproc_warn_flag in '' yes
 5592 do
 5593   # Use a header file that comes with gcc, so configuring glibc
 5594   # with a fresh cross-compiler works.
 5595   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 5596   # <limits.h> exists even on freestanding compilers.
 5597   # On the NeXT, cc -E runs the code through the compiler's parser,
 5598   # not just through cpp. "Syntax error" is here to catch this case.
 5599   cat >conftest.$ac_ext <<_ACEOF
 5600 /* confdefs.h.  */
 5601 _ACEOF
 5602 cat confdefs.h >>conftest.$ac_ext
 5603 cat >>conftest.$ac_ext <<_ACEOF
 5604 /* end confdefs.h.  */
 5605 #ifdef __STDC__
 5606 # include <limits.h>
 5607 #else
 5608 # include <assert.h>
 5609 #endif
 5610              Syntax error
 5611 _ACEOF
 5612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5613   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5614   ac_status=$?
 5615   grep -v '^ *+' conftest.er1 >conftest.err
 5616   rm -f conftest.er1
 5617   cat conftest.err >&5
 5618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5619   (exit $ac_status); } >/dev/null; then
 5620   if test -s conftest.err; then
 5621     ac_cpp_err=$ac_c_preproc_warn_flag
 5622     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5623   else
 5624     ac_cpp_err=
 5625   fi
 5626 else
 5627   ac_cpp_err=yes
 5628 fi
 5629 if test -z "$ac_cpp_err"; then
 5630   :
 5631 else
 5632   echo "$as_me: failed program was:" >&5
 5633 sed 's/^/| /' conftest.$ac_ext >&5
 5634 
 5635   # Broken: fails on valid input.
 5636 continue
 5637 fi
 5638 rm -f conftest.err conftest.$ac_ext
 5639 
 5640   # OK, works on sane cases.  Now check whether non-existent headers
 5641   # can be detected and how.
 5642   cat >conftest.$ac_ext <<_ACEOF
 5643 /* confdefs.h.  */
 5644 _ACEOF
 5645 cat confdefs.h >>conftest.$ac_ext
 5646 cat >>conftest.$ac_ext <<_ACEOF
 5647 /* end confdefs.h.  */
 5648 #include <ac_nonexistent.h>
 5649 _ACEOF
 5650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 5651   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 5652   ac_status=$?
 5653   grep -v '^ *+' conftest.er1 >conftest.err
 5654   rm -f conftest.er1
 5655   cat conftest.err >&5
 5656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5657   (exit $ac_status); } >/dev/null; then
 5658   if test -s conftest.err; then
 5659     ac_cpp_err=$ac_c_preproc_warn_flag
 5660     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 5661   else
 5662     ac_cpp_err=
 5663   fi
 5664 else
 5665   ac_cpp_err=yes
 5666 fi
 5667 if test -z "$ac_cpp_err"; then
 5668   # Broken: success on invalid input.
 5669 continue
 5670 else
 5671   echo "$as_me: failed program was:" >&5
 5672 sed 's/^/| /' conftest.$ac_ext >&5
 5673 
 5674   # Passes both tests.
 5675 ac_preproc_ok=:
 5676 break
 5677 fi
 5678 rm -f conftest.err conftest.$ac_ext
 5679 
 5680 done
 5681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 5682 rm -f conftest.err conftest.$ac_ext
 5683 if $ac_preproc_ok; then
 5684   :
 5685 else
 5686   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 5687 See \`config.log' for more details." >&5
 5688 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 5689 See \`config.log' for more details." >&2;}
 5690    { (exit 1); exit 1; }; }
 5691 fi
 5692 
 5693 ac_ext=c
 5694 ac_cpp='$CPP $CPPFLAGS'
 5695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 5696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 5697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 5698 
 5699 
 5700 echo "$as_me:$LINENO: checking for egrep" >&5
 5701 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
 5702 if test "${ac_cv_prog_egrep+set}" = set; then
 5703   echo $ECHO_N "(cached) $ECHO_C" >&6
 5704 else
 5705   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
 5706     then ac_cv_prog_egrep='grep -E'
 5707     else ac_cv_prog_egrep='egrep'
 5708     fi
 5709 fi
 5710 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
 5711 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
 5712  EGREP=$ac_cv_prog_egrep
 5713 
 5714 
 5715 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 5716 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 5717 if test "${ac_cv_header_stdc+set}" = set; then
 5718   echo $ECHO_N "(cached) $ECHO_C" >&6
 5719 else
 5720   cat >conftest.$ac_ext <<_ACEOF
 5721 /* confdefs.h.  */
 5722 _ACEOF
 5723 cat confdefs.h >>conftest.$ac_ext
 5724 cat >>conftest.$ac_ext <<_ACEOF
 5725 /* end confdefs.h.  */
 5726 #include <stdlib.h>
 5727 #include <stdarg.h>
 5728 #include <string.h>
 5729 #include <float.h>
 5730 
 5731 int
 5732 main ()
 5733 {
 5734 
 5735   ;
 5736   return 0;
 5737 }
 5738 _ACEOF
 5739 rm -f conftest.$ac_objext
 5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5750   (eval $ac_try) 2>&5
 5751   ac_status=$?
 5752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5753   (exit $ac_status); }; } &&
 5754      { ac_try='test -s conftest.$ac_objext'
 5755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5756   (eval $ac_try) 2>&5
 5757   ac_status=$?
 5758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5759   (exit $ac_status); }; }; then
 5760   ac_cv_header_stdc=yes
 5761 else
 5762   echo "$as_me: failed program was:" >&5
 5763 sed 's/^/| /' conftest.$ac_ext >&5
 5764 
 5765 ac_cv_header_stdc=no
 5766 fi
 5767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5768 
 5769 if test $ac_cv_header_stdc = yes; then
 5770   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 5771   cat >conftest.$ac_ext <<_ACEOF
 5772 /* confdefs.h.  */
 5773 _ACEOF
 5774 cat confdefs.h >>conftest.$ac_ext
 5775 cat >>conftest.$ac_ext <<_ACEOF
 5776 /* end confdefs.h.  */
 5777 #include <string.h>
 5778 
 5779 _ACEOF
 5780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5781   $EGREP "memchr" >/dev/null 2>&1; then
 5782   :
 5783 else
 5784   ac_cv_header_stdc=no
 5785 fi
 5786 rm -f conftest*
 5787 
 5788 fi
 5789 
 5790 if test $ac_cv_header_stdc = yes; then
 5791   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 5792   cat >conftest.$ac_ext <<_ACEOF
 5793 /* confdefs.h.  */
 5794 _ACEOF
 5795 cat confdefs.h >>conftest.$ac_ext
 5796 cat >>conftest.$ac_ext <<_ACEOF
 5797 /* end confdefs.h.  */
 5798 #include <stdlib.h>
 5799 
 5800 _ACEOF
 5801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 5802   $EGREP "free" >/dev/null 2>&1; then
 5803   :
 5804 else
 5805   ac_cv_header_stdc=no
 5806 fi
 5807 rm -f conftest*
 5808 
 5809 fi
 5810 
 5811 if test $ac_cv_header_stdc = yes; then
 5812   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 5813   if test "$cross_compiling" = yes; then
 5814   :
 5815 else
 5816   cat >conftest.$ac_ext <<_ACEOF
 5817 /* confdefs.h.  */
 5818 _ACEOF
 5819 cat confdefs.h >>conftest.$ac_ext
 5820 cat >>conftest.$ac_ext <<_ACEOF
 5821 /* end confdefs.h.  */
 5822 #include <ctype.h>
 5823 #if ((' ' & 0x0FF) == 0x020)
 5824 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 5825 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 5826 #else
 5827 # define ISLOWER(c) \
 5828            (('a' <= (c) && (c) <= 'i') \
 5829              || ('j' <= (c) && (c) <= 'r') \
 5830              || ('s' <= (c) && (c) <= 'z'))
 5831 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 5832 #endif
 5833 
 5834 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 5835 int
 5836 main ()
 5837 {
 5838   int i;
 5839   for (i = 0; i < 256; i++)
 5840     if (XOR (islower (i), ISLOWER (i))
 5841     || toupper (i) != TOUPPER (i))
 5842       exit(2);
 5843   exit (0);
 5844 }
 5845 _ACEOF
 5846 rm -f conftest$ac_exeext
 5847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 5848   (eval $ac_link) 2>&5
 5849   ac_status=$?
 5850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5851   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 5852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5853   (eval $ac_try) 2>&5
 5854   ac_status=$?
 5855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5856   (exit $ac_status); }; }; then
 5857   :
 5858 else
 5859   echo "$as_me: program exited with status $ac_status" >&5
 5860 echo "$as_me: failed program was:" >&5
 5861 sed 's/^/| /' conftest.$ac_ext >&5
 5862 
 5863 ( exit $ac_status )
 5864 ac_cv_header_stdc=no
 5865 fi
 5866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 5867 fi
 5868 fi
 5869 fi
 5870 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 5871 echo "${ECHO_T}$ac_cv_header_stdc" >&6
 5872 if test $ac_cv_header_stdc = yes; then
 5873 
 5874 cat >>confdefs.h <<\_ACEOF
 5875 #define STDC_HEADERS 1
 5876 _ACEOF
 5877 
 5878 fi
 5879 
 5880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 5881 
 5882 
 5883 
 5884 
 5885 
 5886 
 5887 
 5888 
 5889 
 5890 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 5891           inttypes.h stdint.h unistd.h
 5892 do
 5893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5894 echo "$as_me:$LINENO: checking for $ac_header" >&5
 5895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5897   echo $ECHO_N "(cached) $ECHO_C" >&6
 5898 else
 5899   cat >conftest.$ac_ext <<_ACEOF
 5900 /* confdefs.h.  */
 5901 _ACEOF
 5902 cat confdefs.h >>conftest.$ac_ext
 5903 cat >>conftest.$ac_ext <<_ACEOF
 5904 /* end confdefs.h.  */
 5905 $ac_includes_default
 5906 
 5907 #include <$ac_header>
 5908 _ACEOF
 5909 rm -f conftest.$ac_objext
 5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 5911   (eval $ac_compile) 2>conftest.er1
 5912   ac_status=$?
 5913   grep -v '^ *+' conftest.er1 >conftest.err
 5914   rm -f conftest.er1
 5915   cat conftest.err >&5
 5916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5917   (exit $ac_status); } &&
 5918      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 5919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5920   (eval $ac_try) 2>&5
 5921   ac_status=$?
 5922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5923   (exit $ac_status); }; } &&
 5924      { ac_try='test -s conftest.$ac_objext'
 5925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 5926   (eval $ac_try) 2>&5
 5927   ac_status=$?
 5928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 5929   (exit $ac_status); }; }; then
 5930   eval "$as_ac_Header=yes"
 5931 else
 5932   echo "$as_me: failed program was:" >&5
 5933 sed 's/^/| /' conftest.$ac_ext >&5
 5934 
 5935 eval "$as_ac_Header=no"
 5936 fi
 5937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 5938 fi
 5939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 5942   cat >>confdefs.h <<_ACEOF
 5943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 5944 _ACEOF
 5945 
 5946 fi
 5947 
 5948 done
 5949 
 5950 
 5951 
 5952 
 5953 
 5954 
 5955 
 5956 
 5957 
 5958 
 5959 
 5960 
 5961 
 5962 
 5963 
 5964 
 5965 
 5966 
 5967 
 5968 
 5969 
 5970 
 5971 
 5972 
 5973 
 5974 
 5975 
 5976 for ac_header in zlib.h getopt.h stdio.h strings.h string.h unistd.h stdint.h inttypes.h bzlib.h sys/time.h
	sys/utsname.h sys/socket.h sys/wait.h lzoconf.h lzo1x.h lzo1y.h lzo2a.h dirent.h mcrypt.h dlfcn.h stdarg.h
	netinet/in.h arpa/inet.h netdb.h errno.h
 5977 do
 5978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 5979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5980   echo "$as_me:$LINENO: checking for $ac_header" >&5
 5981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 5982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 5983   echo $ECHO_N "(cached) $ECHO_C" >&6
 5984 fi
 5985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 5986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 5987 else
 5988   # Is the header compilable?
 5989 echo "$as_me:$LINENO: checking $ac_header usability" >&5
 5990 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 5991 cat >conftest.$ac_ext <<_ACEOF
 5992 /* confdefs.h.  */
 5993 _ACEOF
 5994 cat confdefs.h >>conftest.$ac_ext
 5995 cat >>conftest.$ac_ext <<_ACEOF
 5996 /* end confdefs.h.  */
 5997 $ac_includes_default
 5998 #include <$ac_header>
 5999 _ACEOF
 6000 rm -f conftest.$ac_objext
 6001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6002   (eval $ac_compile) 2>conftest.er1
 6003   ac_status=$?
 6004   grep -v '^ *+' conftest.er1 >conftest.err
 6005   rm -f conftest.er1
 6006   cat conftest.err >&5
 6007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6008   (exit $ac_status); } &&
 6009      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6011   (eval $ac_try) 2>&5
 6012   ac_status=$?
 6013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6014   (exit $ac_status); }; } &&
 6015      { ac_try='test -s conftest.$ac_objext'
 6016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6017   (eval $ac_try) 2>&5
 6018   ac_status=$?
 6019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6020   (exit $ac_status); }; }; then
 6021   ac_header_compiler=yes
 6022 else
 6023   echo "$as_me: failed program was:" >&5
 6024 sed 's/^/| /' conftest.$ac_ext >&5
 6025 
 6026 ac_header_compiler=no
 6027 fi
 6028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 6030 echo "${ECHO_T}$ac_header_compiler" >&6
 6031 
 6032 # Is the header present?
 6033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
 6034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 6035 cat >conftest.$ac_ext <<_ACEOF
 6036 /* confdefs.h.  */
 6037 _ACEOF
 6038 cat confdefs.h >>conftest.$ac_ext
 6039 cat >>conftest.$ac_ext <<_ACEOF
 6040 /* end confdefs.h.  */
 6041 #include <$ac_header>
 6042 _ACEOF
 6043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 6044   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 6045   ac_status=$?
 6046   grep -v '^ *+' conftest.er1 >conftest.err
 6047   rm -f conftest.er1
 6048   cat conftest.err >&5
 6049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6050   (exit $ac_status); } >/dev/null; then
 6051   if test -s conftest.err; then
 6052     ac_cpp_err=$ac_c_preproc_warn_flag
 6053     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 6054   else
 6055     ac_cpp_err=
 6056   fi
 6057 else
 6058   ac_cpp_err=yes
 6059 fi
 6060 if test -z "$ac_cpp_err"; then
 6061   ac_header_preproc=yes
 6062 else
 6063   echo "$as_me: failed program was:" >&5
 6064 sed 's/^/| /' conftest.$ac_ext >&5
 6065 
 6066   ac_header_preproc=no
 6067 fi
 6068 rm -f conftest.err conftest.$ac_ext
 6069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 6070 echo "${ECHO_T}$ac_header_preproc" >&6
 6071 
 6072 # So?  What about this header?
 6073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 6074   yes:no: )
 6075     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 6076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 6077     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 6078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 6079     ac_header_preproc=yes
 6080     ;;
 6081   no:yes:* )
 6082     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 6083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 6084     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 6085 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 6086     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 6087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 6088     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 6089 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 6090     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 6091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 6092     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 6093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 6094     (
 6095       cat <<\_ASBOX
 6096 ## ------------------------------------------ ##
 6097 ## Report this to the AC_PACKAGE_NAME lists.  ##
 6098 ## ------------------------------------------ ##
 6099 _ASBOX
 6100     ) |
 6101       sed "s/^/$as_me: WARNING:     /" >&2
 6102     ;;
 6103 esac
 6104 echo "$as_me:$LINENO: checking for $ac_header" >&5
 6105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
 6106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
 6107   echo $ECHO_N "(cached) $ECHO_C" >&6
 6108 else
 6109   eval "$as_ac_Header=\$ac_header_preproc"
 6110 fi
 6111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
 6112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 6113 
 6114 fi
 6115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 6116   cat >>confdefs.h <<_ACEOF
 6117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 6118 _ACEOF
 6119 
 6120 fi
 6121 
 6122 done
 6123 
 6124 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 6125 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 6126 if test "${ac_cv_header_time+set}" = set; then
 6127   echo $ECHO_N "(cached) $ECHO_C" >&6
 6128 else
 6129   cat >conftest.$ac_ext <<_ACEOF
 6130 /* confdefs.h.  */
 6131 _ACEOF
 6132 cat confdefs.h >>conftest.$ac_ext
 6133 cat >>conftest.$ac_ext <<_ACEOF
 6134 /* end confdefs.h.  */
 6135 #include <sys/types.h>
 6136 #include <sys/time.h>
 6137 #include <time.h>
 6138 
 6139 int
 6140 main ()
 6141 {
 6142 if ((struct tm *) 0)
 6143 return 0;
 6144   ;
 6145   return 0;
 6146 }
 6147 _ACEOF
 6148 rm -f conftest.$ac_objext
 6149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6150   (eval $ac_compile) 2>conftest.er1
 6151   ac_status=$?
 6152   grep -v '^ *+' conftest.er1 >conftest.err
 6153   rm -f conftest.er1
 6154   cat conftest.err >&5
 6155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6156   (exit $ac_status); } &&
 6157      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6159   (eval $ac_try) 2>&5
 6160   ac_status=$?
 6161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6162   (exit $ac_status); }; } &&
 6163      { ac_try='test -s conftest.$ac_objext'
 6164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6165   (eval $ac_try) 2>&5
 6166   ac_status=$?
 6167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6168   (exit $ac_status); }; }; then
 6169   ac_cv_header_time=yes
 6170 else
 6171   echo "$as_me: failed program was:" >&5
 6172 sed 's/^/| /' conftest.$ac_ext >&5
 6173 
 6174 ac_cv_header_time=no
 6175 fi
 6176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6177 fi
 6178 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 6179 echo "${ECHO_T}$ac_cv_header_time" >&6
 6180 if test $ac_cv_header_time = yes; then
 6181 
 6182 cat >>confdefs.h <<\_ACEOF
 6183 #define TIME_WITH_SYS_TIME 1
 6184 _ACEOF
 6185 
 6186 fi
 6187 
 6188 
 6189 echo "$as_me:$LINENO: checking for uint" >&5
 6190 echo $ECHO_N "checking for uint... $ECHO_C" >&6
 6191 if test "${ac_cv_type_uint+set}" = set; then
 6192   echo $ECHO_N "(cached) $ECHO_C" >&6
 6193 else
 6194   cat >conftest.$ac_ext <<_ACEOF
 6195 /* confdefs.h.  */
 6196 _ACEOF
 6197 cat confdefs.h >>conftest.$ac_ext
 6198 cat >>conftest.$ac_ext <<_ACEOF
 6199 /* end confdefs.h.  */
 6200 $ac_includes_default
 6201 int
 6202 main ()
 6203 {
 6204 if ((uint *) 0)
 6205   return 0;
 6206 if (sizeof (uint))
 6207   return 0;
 6208   ;
 6209   return 0;
 6210 }
 6211 _ACEOF
 6212 rm -f conftest.$ac_objext
 6213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6214   (eval $ac_compile) 2>conftest.er1
 6215   ac_status=$?
 6216   grep -v '^ *+' conftest.er1 >conftest.err
 6217   rm -f conftest.er1
 6218   cat conftest.err >&5
 6219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6220   (exit $ac_status); } &&
 6221      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6223   (eval $ac_try) 2>&5
 6224   ac_status=$?
 6225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6226   (exit $ac_status); }; } &&
 6227      { ac_try='test -s conftest.$ac_objext'
 6228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6229   (eval $ac_try) 2>&5
 6230   ac_status=$?
 6231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6232   (exit $ac_status); }; }; then
 6233   ac_cv_type_uint=yes
 6234 else
 6235   echo "$as_me: failed program was:" >&5
 6236 sed 's/^/| /' conftest.$ac_ext >&5
 6237 
 6238 ac_cv_type_uint=no
 6239 fi
 6240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6241 fi
 6242 echo "$as_me:$LINENO: result: $ac_cv_type_uint" >&5
 6243 echo "${ECHO_T}$ac_cv_type_uint" >&6
 6244 if test $ac_cv_type_uint = yes; then
 6245   :
 6246 else
 6247 
 6248 cat >>confdefs.h <<_ACEOF
 6249 #define uint unsigned int
 6250 _ACEOF
 6251 
 6252 fi
 6253 
 6254 
 6255 
 6256 echo "$as_me:$LINENO: checking for inline" >&5
 6257 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 6258 if test "${ac_cv_c_inline+set}" = set; then
 6259   echo $ECHO_N "(cached) $ECHO_C" >&6
 6260 else
 6261   ac_cv_c_inline=no
 6262 for ac_kw in inline __inline__ __inline; do
 6263   cat >conftest.$ac_ext <<_ACEOF
 6264 /* confdefs.h.  */
 6265 _ACEOF
 6266 cat confdefs.h >>conftest.$ac_ext
 6267 cat >>conftest.$ac_ext <<_ACEOF
 6268 /* end confdefs.h.  */
 6269 #ifndef __cplusplus
 6270 typedef int foo_t;
 6271 static $ac_kw foo_t static_foo () {return 0; }
 6272 $ac_kw foo_t foo () {return 0; }
 6273 #endif
 6274 
 6275 _ACEOF
 6276 rm -f conftest.$ac_objext
 6277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6278   (eval $ac_compile) 2>conftest.er1
 6279   ac_status=$?
 6280   grep -v '^ *+' conftest.er1 >conftest.err
 6281   rm -f conftest.er1
 6282   cat conftest.err >&5
 6283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6284   (exit $ac_status); } &&
 6285      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6287   (eval $ac_try) 2>&5
 6288   ac_status=$?
 6289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6290   (exit $ac_status); }; } &&
 6291      { ac_try='test -s conftest.$ac_objext'
 6292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6293   (eval $ac_try) 2>&5
 6294   ac_status=$?
 6295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6296   (exit $ac_status); }; }; then
 6297   ac_cv_c_inline=$ac_kw; break
 6298 else
 6299   echo "$as_me: failed program was:" >&5
 6300 sed 's/^/| /' conftest.$ac_ext >&5
 6301 
 6302 fi
 6303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6304 done
 6305 
 6306 fi
 6307 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 6308 echo "${ECHO_T}$ac_cv_c_inline" >&6
 6309 
 6310 
 6311 case $ac_cv_c_inline in
 6312   inline | yes) ;;
 6313   *)
 6314     case $ac_cv_c_inline in
 6315       no) ac_val=;;
 6316       *) ac_val=$ac_cv_c_inline;;
 6317     esac
 6318     cat >>confdefs.h <<_ACEOF
 6319 #ifndef __cplusplus
 6320 #define inline $ac_val
 6321 #endif
 6322 _ACEOF
 6323     ;;
 6324 esac
 6325 
 6326 echo "$as_me:$LINENO: checking for long" >&5
 6327 echo $ECHO_N "checking for long... $ECHO_C" >&6
 6328 if test "${ac_cv_type_long+set}" = set; then
 6329   echo $ECHO_N "(cached) $ECHO_C" >&6
 6330 else
 6331   cat >conftest.$ac_ext <<_ACEOF
 6332 /* confdefs.h.  */
 6333 _ACEOF
 6334 cat confdefs.h >>conftest.$ac_ext
 6335 cat >>conftest.$ac_ext <<_ACEOF
 6336 /* end confdefs.h.  */
 6337 $ac_includes_default
 6338 int
 6339 main ()
 6340 {
 6341 if ((long *) 0)
 6342   return 0;
 6343 if (sizeof (long))
 6344   return 0;
 6345   ;
 6346   return 0;
 6347 }
 6348 _ACEOF
 6349 rm -f conftest.$ac_objext
 6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6351   (eval $ac_compile) 2>conftest.er1
 6352   ac_status=$?
 6353   grep -v '^ *+' conftest.er1 >conftest.err
 6354   rm -f conftest.er1
 6355   cat conftest.err >&5
 6356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6357   (exit $ac_status); } &&
 6358      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6360   (eval $ac_try) 2>&5
 6361   ac_status=$?
 6362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6363   (exit $ac_status); }; } &&
 6364      { ac_try='test -s conftest.$ac_objext'
 6365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6366   (eval $ac_try) 2>&5
 6367   ac_status=$?
 6368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6369   (exit $ac_status); }; }; then
 6370   ac_cv_type_long=yes
 6371 else
 6372   echo "$as_me: failed program was:" >&5
 6373 sed 's/^/| /' conftest.$ac_ext >&5
 6374 
 6375 ac_cv_type_long=no
 6376 fi
 6377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6378 fi
 6379 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 6380 echo "${ECHO_T}$ac_cv_type_long" >&6
 6381 
 6382 echo "$as_me:$LINENO: checking size of long" >&5
 6383 echo $ECHO_N "checking size of long... $ECHO_C" >&6
 6384 if test "${ac_cv_sizeof_long+set}" = set; then
 6385   echo $ECHO_N "(cached) $ECHO_C" >&6
 6386 else
 6387   if test "$ac_cv_type_long" = yes; then
 6388   # The cast to unsigned long works around a bug in the HP C Compiler
 6389   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 6390   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 6391   # This bug is HP SR number 8606223364.
 6392   if test "$cross_compiling" = yes; then
 6393   # Depending upon the size, compute the lo and hi bounds.
 6394 cat >conftest.$ac_ext <<_ACEOF
 6395 /* confdefs.h.  */
 6396 _ACEOF
 6397 cat confdefs.h >>conftest.$ac_ext
 6398 cat >>conftest.$ac_ext <<_ACEOF
 6399 /* end confdefs.h.  */
 6400 $ac_includes_default
 6401 int
 6402 main ()
 6403 {
 6404 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 6405 test_array [0] = 0
 6406 
 6407   ;
 6408   return 0;
 6409 }
 6410 _ACEOF
 6411 rm -f conftest.$ac_objext
 6412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6413   (eval $ac_compile) 2>conftest.er1
 6414   ac_status=$?
 6415   grep -v '^ *+' conftest.er1 >conftest.err
 6416   rm -f conftest.er1
 6417   cat conftest.err >&5
 6418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6419   (exit $ac_status); } &&
 6420      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6422   (eval $ac_try) 2>&5
 6423   ac_status=$?
 6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6425   (exit $ac_status); }; } &&
 6426      { ac_try='test -s conftest.$ac_objext'
 6427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6428   (eval $ac_try) 2>&5
 6429   ac_status=$?
 6430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6431   (exit $ac_status); }; }; then
 6432   ac_lo=0 ac_mid=0
 6433   while :; do
 6434     cat >conftest.$ac_ext <<_ACEOF
 6435 /* confdefs.h.  */
 6436 _ACEOF
 6437 cat confdefs.h >>conftest.$ac_ext
 6438 cat >>conftest.$ac_ext <<_ACEOF
 6439 /* end confdefs.h.  */
 6440 $ac_includes_default
 6441 int
 6442 main ()
 6443 {
 6444 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 6445 test_array [0] = 0
 6446 
 6447   ;
 6448   return 0;
 6449 }
 6450 _ACEOF
 6451 rm -f conftest.$ac_objext
 6452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6453   (eval $ac_compile) 2>conftest.er1
 6454   ac_status=$?
 6455   grep -v '^ *+' conftest.er1 >conftest.err
 6456   rm -f conftest.er1
 6457   cat conftest.err >&5
 6458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6459   (exit $ac_status); } &&
 6460      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6462   (eval $ac_try) 2>&5
 6463   ac_status=$?
 6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6465   (exit $ac_status); }; } &&
 6466      { ac_try='test -s conftest.$ac_objext'
 6467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6468   (eval $ac_try) 2>&5
 6469   ac_status=$?
 6470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6471   (exit $ac_status); }; }; then
 6472   ac_hi=$ac_mid; break
 6473 else
 6474   echo "$as_me: failed program was:" >&5
 6475 sed 's/^/| /' conftest.$ac_ext >&5
 6476 
 6477 ac_lo=`expr $ac_mid + 1`
 6478             if test $ac_lo -le $ac_mid; then
 6479               ac_lo= ac_hi=
 6480               break
 6481             fi
 6482             ac_mid=`expr 2 '*' $ac_mid + 1`
 6483 fi
 6484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6485   done
 6486 else
 6487   echo "$as_me: failed program was:" >&5
 6488 sed 's/^/| /' conftest.$ac_ext >&5
 6489 
 6490 cat >conftest.$ac_ext <<_ACEOF
 6491 /* confdefs.h.  */
 6492 _ACEOF
 6493 cat confdefs.h >>conftest.$ac_ext
 6494 cat >>conftest.$ac_ext <<_ACEOF
 6495 /* end confdefs.h.  */
 6496 $ac_includes_default
 6497 int
 6498 main ()
 6499 {
 6500 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 6501 test_array [0] = 0
 6502 
 6503   ;
 6504   return 0;
 6505 }
 6506 _ACEOF
 6507 rm -f conftest.$ac_objext
 6508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6509   (eval $ac_compile) 2>conftest.er1
 6510   ac_status=$?
 6511   grep -v '^ *+' conftest.er1 >conftest.err
 6512   rm -f conftest.er1
 6513   cat conftest.err >&5
 6514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6515   (exit $ac_status); } &&
 6516      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6518   (eval $ac_try) 2>&5
 6519   ac_status=$?
 6520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6521   (exit $ac_status); }; } &&
 6522      { ac_try='test -s conftest.$ac_objext'
 6523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6524   (eval $ac_try) 2>&5
 6525   ac_status=$?
 6526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6527   (exit $ac_status); }; }; then
 6528   ac_hi=-1 ac_mid=-1
 6529   while :; do
 6530     cat >conftest.$ac_ext <<_ACEOF
 6531 /* confdefs.h.  */
 6532 _ACEOF
 6533 cat confdefs.h >>conftest.$ac_ext
 6534 cat >>conftest.$ac_ext <<_ACEOF
 6535 /* end confdefs.h.  */
 6536 $ac_includes_default
 6537 int
 6538 main ()
 6539 {
 6540 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 6541 test_array [0] = 0
 6542 
 6543   ;
 6544   return 0;
 6545 }
 6546 _ACEOF
 6547 rm -f conftest.$ac_objext
 6548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6549   (eval $ac_compile) 2>conftest.er1
 6550   ac_status=$?
 6551   grep -v '^ *+' conftest.er1 >conftest.err
 6552   rm -f conftest.er1
 6553   cat conftest.err >&5
 6554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6555   (exit $ac_status); } &&
 6556      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6558   (eval $ac_try) 2>&5
 6559   ac_status=$?
 6560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6561   (exit $ac_status); }; } &&
 6562      { ac_try='test -s conftest.$ac_objext'
 6563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6564   (eval $ac_try) 2>&5
 6565   ac_status=$?
 6566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6567   (exit $ac_status); }; }; then
 6568   ac_lo=$ac_mid; break
 6569 else
 6570   echo "$as_me: failed program was:" >&5
 6571 sed 's/^/| /' conftest.$ac_ext >&5
 6572 
 6573 ac_hi=`expr '(' $ac_mid ')' - 1`
 6574                if test $ac_mid -le $ac_hi; then
 6575              ac_lo= ac_hi=
 6576              break
 6577                fi
 6578                ac_mid=`expr 2 '*' $ac_mid`
 6579 fi
 6580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6581   done
 6582 else
 6583   echo "$as_me: failed program was:" >&5
 6584 sed 's/^/| /' conftest.$ac_ext >&5
 6585 
 6586 ac_lo= ac_hi=
 6587 fi
 6588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6589 fi
 6590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6591 # Binary search between lo and hi bounds.
 6592 while test "x$ac_lo" != "x$ac_hi"; do
 6593   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 6594   cat >conftest.$ac_ext <<_ACEOF
 6595 /* confdefs.h.  */
 6596 _ACEOF
 6597 cat confdefs.h >>conftest.$ac_ext
 6598 cat >>conftest.$ac_ext <<_ACEOF
 6599 /* end confdefs.h.  */
 6600 $ac_includes_default
 6601 int
 6602 main ()
 6603 {
 6604 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 6605 test_array [0] = 0
 6606 
 6607   ;
 6608   return 0;
 6609 }
 6610 _ACEOF
 6611 rm -f conftest.$ac_objext
 6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6613   (eval $ac_compile) 2>conftest.er1
 6614   ac_status=$?
 6615   grep -v '^ *+' conftest.er1 >conftest.err
 6616   rm -f conftest.er1
 6617   cat conftest.err >&5
 6618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6619   (exit $ac_status); } &&
 6620      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6622   (eval $ac_try) 2>&5
 6623   ac_status=$?
 6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6625   (exit $ac_status); }; } &&
 6626      { ac_try='test -s conftest.$ac_objext'
 6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6628   (eval $ac_try) 2>&5
 6629   ac_status=$?
 6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6631   (exit $ac_status); }; }; then
 6632   ac_hi=$ac_mid
 6633 else
 6634   echo "$as_me: failed program was:" >&5
 6635 sed 's/^/| /' conftest.$ac_ext >&5
 6636 
 6637 ac_lo=`expr '(' $ac_mid ')' + 1`
 6638 fi
 6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6640 done
 6641 case $ac_lo in
 6642 ?*) ac_cv_sizeof_long=$ac_lo;;
 6643 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 6644 See \`config.log' for more details." >&5
 6645 echo "$as_me: error: cannot compute sizeof (long), 77
 6646 See \`config.log' for more details." >&2;}
 6647    { (exit 1); exit 1; }; } ;;
 6648 esac
 6649 else
 6650   if test "$cross_compiling" = yes; then
 6651   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 6652 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 6653    { (exit 1); exit 1; }; }
 6654 else
 6655   cat >conftest.$ac_ext <<_ACEOF
 6656 /* confdefs.h.  */
 6657 _ACEOF
 6658 cat confdefs.h >>conftest.$ac_ext
 6659 cat >>conftest.$ac_ext <<_ACEOF
 6660 /* end confdefs.h.  */
 6661 $ac_includes_default
 6662 long longval () { return (long) (sizeof (long)); }
 6663 unsigned long ulongval () { return (long) (sizeof (long)); }
 6664 #include <stdio.h>
 6665 #include <stdlib.h>
 6666 int
 6667 main ()
 6668 {
 6669 
 6670   FILE *f = fopen ("conftest.val", "w");
 6671   if (! f)
 6672     exit (1);
 6673   if (((long) (sizeof (long))) < 0)
 6674     {
 6675       long i = longval ();
 6676       if (i != ((long) (sizeof (long))))
 6677     exit (1);
 6678       fprintf (f, "%ld\n", i);
 6679     }
 6680   else
 6681     {
 6682       unsigned long i = ulongval ();
 6683       if (i != ((long) (sizeof (long))))
 6684     exit (1);
 6685       fprintf (f, "%lu\n", i);
 6686     }
 6687   exit (ferror (f) || fclose (f) != 0);
 6688 
 6689   ;
 6690   return 0;
 6691 }
 6692 _ACEOF
 6693 rm -f conftest$ac_exeext
 6694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 6695   (eval $ac_link) 2>&5
 6696   ac_status=$?
 6697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6698   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 6699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6700   (eval $ac_try) 2>&5
 6701   ac_status=$?
 6702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6703   (exit $ac_status); }; }; then
 6704   ac_cv_sizeof_long=`cat conftest.val`
 6705 else
 6706   echo "$as_me: program exited with status $ac_status" >&5
 6707 echo "$as_me: failed program was:" >&5
 6708 sed 's/^/| /' conftest.$ac_ext >&5
 6709 
 6710 ( exit $ac_status )
 6711 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 6712 See \`config.log' for more details." >&5
 6713 echo "$as_me: error: cannot compute sizeof (long), 77
 6714 See \`config.log' for more details." >&2;}
 6715    { (exit 1); exit 1; }; }
 6716 fi
 6717 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 6718 fi
 6719 fi
 6720 rm -f conftest.val
 6721 else
 6722   ac_cv_sizeof_long=0
 6723 fi
 6724 fi
 6725 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 6726 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 6727 cat >>confdefs.h <<_ACEOF
 6728 #define SIZEOF_LONG $ac_cv_sizeof_long
 6729 _ACEOF
 6730 
 6731 
 6732 echo "$as_me:$LINENO: checking for int" >&5
 6733 echo $ECHO_N "checking for int... $ECHO_C" >&6
 6734 if test "${ac_cv_type_int+set}" = set; then
 6735   echo $ECHO_N "(cached) $ECHO_C" >&6
 6736 else
 6737   cat >conftest.$ac_ext <<_ACEOF
 6738 /* confdefs.h.  */
 6739 _ACEOF
 6740 cat confdefs.h >>conftest.$ac_ext
 6741 cat >>conftest.$ac_ext <<_ACEOF
 6742 /* end confdefs.h.  */
 6743 $ac_includes_default
 6744 int
 6745 main ()
 6746 {
 6747 if ((int *) 0)
 6748   return 0;
 6749 if (sizeof (int))
 6750   return 0;
 6751   ;
 6752   return 0;
 6753 }
 6754 _ACEOF
 6755 rm -f conftest.$ac_objext
 6756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6757   (eval $ac_compile) 2>conftest.er1
 6758   ac_status=$?
 6759   grep -v '^ *+' conftest.er1 >conftest.err
 6760   rm -f conftest.er1
 6761   cat conftest.err >&5
 6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6763   (exit $ac_status); } &&
 6764      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6766   (eval $ac_try) 2>&5
 6767   ac_status=$?
 6768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6769   (exit $ac_status); }; } &&
 6770      { ac_try='test -s conftest.$ac_objext'
 6771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6772   (eval $ac_try) 2>&5
 6773   ac_status=$?
 6774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6775   (exit $ac_status); }; }; then
 6776   ac_cv_type_int=yes
 6777 else
 6778   echo "$as_me: failed program was:" >&5
 6779 sed 's/^/| /' conftest.$ac_ext >&5
 6780 
 6781 ac_cv_type_int=no
 6782 fi
 6783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6784 fi
 6785 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 6786 echo "${ECHO_T}$ac_cv_type_int" >&6
 6787 
 6788 echo "$as_me:$LINENO: checking size of int" >&5
 6789 echo $ECHO_N "checking size of int... $ECHO_C" >&6
 6790 if test "${ac_cv_sizeof_int+set}" = set; then
 6791   echo $ECHO_N "(cached) $ECHO_C" >&6
 6792 else
 6793   if test "$ac_cv_type_int" = yes; then
 6794   # The cast to unsigned long works around a bug in the HP C Compiler
 6795   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 6796   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 6797   # This bug is HP SR number 8606223364.
 6798   if test "$cross_compiling" = yes; then
 6799   # Depending upon the size, compute the lo and hi bounds.
 6800 cat >conftest.$ac_ext <<_ACEOF
 6801 /* confdefs.h.  */
 6802 _ACEOF
 6803 cat confdefs.h >>conftest.$ac_ext
 6804 cat >>conftest.$ac_ext <<_ACEOF
 6805 /* end confdefs.h.  */
 6806 $ac_includes_default
 6807 int
 6808 main ()
 6809 {
 6810 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 6811 test_array [0] = 0
 6812 
 6813   ;
 6814   return 0;
 6815 }
 6816 _ACEOF
 6817 rm -f conftest.$ac_objext
 6818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6819   (eval $ac_compile) 2>conftest.er1
 6820   ac_status=$?
 6821   grep -v '^ *+' conftest.er1 >conftest.err
 6822   rm -f conftest.er1
 6823   cat conftest.err >&5
 6824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6825   (exit $ac_status); } &&
 6826      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6828   (eval $ac_try) 2>&5
 6829   ac_status=$?
 6830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6831   (exit $ac_status); }; } &&
 6832      { ac_try='test -s conftest.$ac_objext'
 6833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6834   (eval $ac_try) 2>&5
 6835   ac_status=$?
 6836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6837   (exit $ac_status); }; }; then
 6838   ac_lo=0 ac_mid=0
 6839   while :; do
 6840     cat >conftest.$ac_ext <<_ACEOF
 6841 /* confdefs.h.  */
 6842 _ACEOF
 6843 cat confdefs.h >>conftest.$ac_ext
 6844 cat >>conftest.$ac_ext <<_ACEOF
 6845 /* end confdefs.h.  */
 6846 $ac_includes_default
 6847 int
 6848 main ()
 6849 {
 6850 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 6851 test_array [0] = 0
 6852 
 6853   ;
 6854   return 0;
 6855 }
 6856 _ACEOF
 6857 rm -f conftest.$ac_objext
 6858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6859   (eval $ac_compile) 2>conftest.er1
 6860   ac_status=$?
 6861   grep -v '^ *+' conftest.er1 >conftest.err
 6862   rm -f conftest.er1
 6863   cat conftest.err >&5
 6864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6865   (exit $ac_status); } &&
 6866      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6868   (eval $ac_try) 2>&5
 6869   ac_status=$?
 6870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6871   (exit $ac_status); }; } &&
 6872      { ac_try='test -s conftest.$ac_objext'
 6873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6874   (eval $ac_try) 2>&5
 6875   ac_status=$?
 6876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6877   (exit $ac_status); }; }; then
 6878   ac_hi=$ac_mid; break
 6879 else
 6880   echo "$as_me: failed program was:" >&5
 6881 sed 's/^/| /' conftest.$ac_ext >&5
 6882 
 6883 ac_lo=`expr $ac_mid + 1`
 6884             if test $ac_lo -le $ac_mid; then
 6885               ac_lo= ac_hi=
 6886               break
 6887             fi
 6888             ac_mid=`expr 2 '*' $ac_mid + 1`
 6889 fi
 6890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6891   done
 6892 else
 6893   echo "$as_me: failed program was:" >&5
 6894 sed 's/^/| /' conftest.$ac_ext >&5
 6895 
 6896 cat >conftest.$ac_ext <<_ACEOF
 6897 /* confdefs.h.  */
 6898 _ACEOF
 6899 cat confdefs.h >>conftest.$ac_ext
 6900 cat >>conftest.$ac_ext <<_ACEOF
 6901 /* end confdefs.h.  */
 6902 $ac_includes_default
 6903 int
 6904 main ()
 6905 {
 6906 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 6907 test_array [0] = 0
 6908 
 6909   ;
 6910   return 0;
 6911 }
 6912 _ACEOF
 6913 rm -f conftest.$ac_objext
 6914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6915   (eval $ac_compile) 2>conftest.er1
 6916   ac_status=$?
 6917   grep -v '^ *+' conftest.er1 >conftest.err
 6918   rm -f conftest.er1
 6919   cat conftest.err >&5
 6920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6921   (exit $ac_status); } &&
 6922      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6924   (eval $ac_try) 2>&5
 6925   ac_status=$?
 6926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6927   (exit $ac_status); }; } &&
 6928      { ac_try='test -s conftest.$ac_objext'
 6929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6930   (eval $ac_try) 2>&5
 6931   ac_status=$?
 6932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6933   (exit $ac_status); }; }; then
 6934   ac_hi=-1 ac_mid=-1
 6935   while :; do
 6936     cat >conftest.$ac_ext <<_ACEOF
 6937 /* confdefs.h.  */
 6938 _ACEOF
 6939 cat confdefs.h >>conftest.$ac_ext
 6940 cat >>conftest.$ac_ext <<_ACEOF
 6941 /* end confdefs.h.  */
 6942 $ac_includes_default
 6943 int
 6944 main ()
 6945 {
 6946 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 6947 test_array [0] = 0
 6948 
 6949   ;
 6950   return 0;
 6951 }
 6952 _ACEOF
 6953 rm -f conftest.$ac_objext
 6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 6955   (eval $ac_compile) 2>conftest.er1
 6956   ac_status=$?
 6957   grep -v '^ *+' conftest.er1 >conftest.err
 6958   rm -f conftest.er1
 6959   cat conftest.err >&5
 6960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6961   (exit $ac_status); } &&
 6962      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 6963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6964   (eval $ac_try) 2>&5
 6965   ac_status=$?
 6966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6967   (exit $ac_status); }; } &&
 6968      { ac_try='test -s conftest.$ac_objext'
 6969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 6970   (eval $ac_try) 2>&5
 6971   ac_status=$?
 6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 6973   (exit $ac_status); }; }; then
 6974   ac_lo=$ac_mid; break
 6975 else
 6976   echo "$as_me: failed program was:" >&5
 6977 sed 's/^/| /' conftest.$ac_ext >&5
 6978 
 6979 ac_hi=`expr '(' $ac_mid ')' - 1`
 6980                if test $ac_mid -le $ac_hi; then
 6981              ac_lo= ac_hi=
 6982              break
 6983                fi
 6984                ac_mid=`expr 2 '*' $ac_mid`
 6985 fi
 6986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6987   done
 6988 else
 6989   echo "$as_me: failed program was:" >&5
 6990 sed 's/^/| /' conftest.$ac_ext >&5
 6991 
 6992 ac_lo= ac_hi=
 6993 fi
 6994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6995 fi
 6996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 6997 # Binary search between lo and hi bounds.
 6998 while test "x$ac_lo" != "x$ac_hi"; do
 6999   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 7000   cat >conftest.$ac_ext <<_ACEOF
 7001 /* confdefs.h.  */
 7002 _ACEOF
 7003 cat confdefs.h >>conftest.$ac_ext
 7004 cat >>conftest.$ac_ext <<_ACEOF
 7005 /* end confdefs.h.  */
 7006 $ac_includes_default
 7007 int
 7008 main ()
 7009 {
 7010 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 7011 test_array [0] = 0
 7012 
 7013   ;
 7014   return 0;
 7015 }
 7016 _ACEOF
 7017 rm -f conftest.$ac_objext
 7018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7019   (eval $ac_compile) 2>conftest.er1
 7020   ac_status=$?
 7021   grep -v '^ *+' conftest.er1 >conftest.err
 7022   rm -f conftest.er1
 7023   cat conftest.err >&5
 7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7025   (exit $ac_status); } &&
 7026      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7028   (eval $ac_try) 2>&5
 7029   ac_status=$?
 7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7031   (exit $ac_status); }; } &&
 7032      { ac_try='test -s conftest.$ac_objext'
 7033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7034   (eval $ac_try) 2>&5
 7035   ac_status=$?
 7036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7037   (exit $ac_status); }; }; then
 7038   ac_hi=$ac_mid
 7039 else
 7040   echo "$as_me: failed program was:" >&5
 7041 sed 's/^/| /' conftest.$ac_ext >&5
 7042 
 7043 ac_lo=`expr '(' $ac_mid ')' + 1`
 7044 fi
 7045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7046 done
 7047 case $ac_lo in
 7048 ?*) ac_cv_sizeof_int=$ac_lo;;
 7049 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 7050 See \`config.log' for more details." >&5
 7051 echo "$as_me: error: cannot compute sizeof (int), 77
 7052 See \`config.log' for more details." >&2;}
 7053    { (exit 1); exit 1; }; } ;;
 7054 esac
 7055 else
 7056   if test "$cross_compiling" = yes; then
 7057   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 7058 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 7059    { (exit 1); exit 1; }; }
 7060 else
 7061   cat >conftest.$ac_ext <<_ACEOF
 7062 /* confdefs.h.  */
 7063 _ACEOF
 7064 cat confdefs.h >>conftest.$ac_ext
 7065 cat >>conftest.$ac_ext <<_ACEOF
 7066 /* end confdefs.h.  */
 7067 $ac_includes_default
 7068 long longval () { return (long) (sizeof (int)); }
 7069 unsigned long ulongval () { return (long) (sizeof (int)); }
 7070 #include <stdio.h>
 7071 #include <stdlib.h>
 7072 int
 7073 main ()
 7074 {
 7075 
 7076   FILE *f = fopen ("conftest.val", "w");
 7077   if (! f)
 7078     exit (1);
 7079   if (((long) (sizeof (int))) < 0)
 7080     {
 7081       long i = longval ();
 7082       if (i != ((long) (sizeof (int))))
 7083     exit (1);
 7084       fprintf (f, "%ld\n", i);
 7085     }
 7086   else
 7087     {
 7088       unsigned long i = ulongval ();
 7089       if (i != ((long) (sizeof (int))))
 7090     exit (1);
 7091       fprintf (f, "%lu\n", i);
 7092     }
 7093   exit (ferror (f) || fclose (f) != 0);
 7094 
 7095   ;
 7096   return 0;
 7097 }
 7098 _ACEOF
 7099 rm -f conftest$ac_exeext
 7100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7101   (eval $ac_link) 2>&5
 7102   ac_status=$?
 7103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7104   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7106   (eval $ac_try) 2>&5
 7107   ac_status=$?
 7108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7109   (exit $ac_status); }; }; then
 7110   ac_cv_sizeof_int=`cat conftest.val`
 7111 else
 7112   echo "$as_me: program exited with status $ac_status" >&5
 7113 echo "$as_me: failed program was:" >&5
 7114 sed 's/^/| /' conftest.$ac_ext >&5
 7115 
 7116 ( exit $ac_status )
 7117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 7118 See \`config.log' for more details." >&5
 7119 echo "$as_me: error: cannot compute sizeof (int), 77
 7120 See \`config.log' for more details." >&2;}
 7121    { (exit 1); exit 1; }; }
 7122 fi
 7123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7124 fi
 7125 fi
 7126 rm -f conftest.val
 7127 else
 7128   ac_cv_sizeof_int=0
 7129 fi
 7130 fi
 7131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 7132 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 7133 cat >>confdefs.h <<_ACEOF
 7134 #define SIZEOF_INT $ac_cv_sizeof_int
 7135 _ACEOF
 7136 
 7137 
 7138 echo "$as_me:$LINENO: checking for short" >&5
 7139 echo $ECHO_N "checking for short... $ECHO_C" >&6
 7140 if test "${ac_cv_type_short+set}" = set; then
 7141   echo $ECHO_N "(cached) $ECHO_C" >&6
 7142 else
 7143   cat >conftest.$ac_ext <<_ACEOF
 7144 /* confdefs.h.  */
 7145 _ACEOF
 7146 cat confdefs.h >>conftest.$ac_ext
 7147 cat >>conftest.$ac_ext <<_ACEOF
 7148 /* end confdefs.h.  */
 7149 $ac_includes_default
 7150 int
 7151 main ()
 7152 {
 7153 if ((short *) 0)
 7154   return 0;
 7155 if (sizeof (short))
 7156   return 0;
 7157   ;
 7158   return 0;
 7159 }
 7160 _ACEOF
 7161 rm -f conftest.$ac_objext
 7162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7163   (eval $ac_compile) 2>conftest.er1
 7164   ac_status=$?
 7165   grep -v '^ *+' conftest.er1 >conftest.err
 7166   rm -f conftest.er1
 7167   cat conftest.err >&5
 7168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7169   (exit $ac_status); } &&
 7170      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7172   (eval $ac_try) 2>&5
 7173   ac_status=$?
 7174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7175   (exit $ac_status); }; } &&
 7176      { ac_try='test -s conftest.$ac_objext'
 7177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7178   (eval $ac_try) 2>&5
 7179   ac_status=$?
 7180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7181   (exit $ac_status); }; }; then
 7182   ac_cv_type_short=yes
 7183 else
 7184   echo "$as_me: failed program was:" >&5
 7185 sed 's/^/| /' conftest.$ac_ext >&5
 7186 
 7187 ac_cv_type_short=no
 7188 fi
 7189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7190 fi
 7191 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 7192 echo "${ECHO_T}$ac_cv_type_short" >&6
 7193 
 7194 echo "$as_me:$LINENO: checking size of short" >&5
 7195 echo $ECHO_N "checking size of short... $ECHO_C" >&6
 7196 if test "${ac_cv_sizeof_short+set}" = set; then
 7197   echo $ECHO_N "(cached) $ECHO_C" >&6
 7198 else
 7199   if test "$ac_cv_type_short" = yes; then
 7200   # The cast to unsigned long works around a bug in the HP C Compiler
 7201   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7202   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7203   # This bug is HP SR number 8606223364.
 7204   if test "$cross_compiling" = yes; then
 7205   # Depending upon the size, compute the lo and hi bounds.
 7206 cat >conftest.$ac_ext <<_ACEOF
 7207 /* confdefs.h.  */
 7208 _ACEOF
 7209 cat confdefs.h >>conftest.$ac_ext
 7210 cat >>conftest.$ac_ext <<_ACEOF
 7211 /* end confdefs.h.  */
 7212 $ac_includes_default
 7213 int
 7214 main ()
 7215 {
 7216 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 7217 test_array [0] = 0
 7218 
 7219   ;
 7220   return 0;
 7221 }
 7222 _ACEOF
 7223 rm -f conftest.$ac_objext
 7224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7225   (eval $ac_compile) 2>conftest.er1
 7226   ac_status=$?
 7227   grep -v '^ *+' conftest.er1 >conftest.err
 7228   rm -f conftest.er1
 7229   cat conftest.err >&5
 7230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7231   (exit $ac_status); } &&
 7232      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7234   (eval $ac_try) 2>&5
 7235   ac_status=$?
 7236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7237   (exit $ac_status); }; } &&
 7238      { ac_try='test -s conftest.$ac_objext'
 7239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7240   (eval $ac_try) 2>&5
 7241   ac_status=$?
 7242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7243   (exit $ac_status); }; }; then
 7244   ac_lo=0 ac_mid=0
 7245   while :; do
 7246     cat >conftest.$ac_ext <<_ACEOF
 7247 /* confdefs.h.  */
 7248 _ACEOF
 7249 cat confdefs.h >>conftest.$ac_ext
 7250 cat >>conftest.$ac_ext <<_ACEOF
 7251 /* end confdefs.h.  */
 7252 $ac_includes_default
 7253 int
 7254 main ()
 7255 {
 7256 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 7257 test_array [0] = 0
 7258 
 7259   ;
 7260   return 0;
 7261 }
 7262 _ACEOF
 7263 rm -f conftest.$ac_objext
 7264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7265   (eval $ac_compile) 2>conftest.er1
 7266   ac_status=$?
 7267   grep -v '^ *+' conftest.er1 >conftest.err
 7268   rm -f conftest.er1
 7269   cat conftest.err >&5
 7270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7271   (exit $ac_status); } &&
 7272      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7274   (eval $ac_try) 2>&5
 7275   ac_status=$?
 7276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7277   (exit $ac_status); }; } &&
 7278      { ac_try='test -s conftest.$ac_objext'
 7279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7280   (eval $ac_try) 2>&5
 7281   ac_status=$?
 7282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7283   (exit $ac_status); }; }; then
 7284   ac_hi=$ac_mid; break
 7285 else
 7286   echo "$as_me: failed program was:" >&5
 7287 sed 's/^/| /' conftest.$ac_ext >&5
 7288 
 7289 ac_lo=`expr $ac_mid + 1`
 7290             if test $ac_lo -le $ac_mid; then
 7291               ac_lo= ac_hi=
 7292               break
 7293             fi
 7294             ac_mid=`expr 2 '*' $ac_mid + 1`
 7295 fi
 7296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7297   done
 7298 else
 7299   echo "$as_me: failed program was:" >&5
 7300 sed 's/^/| /' conftest.$ac_ext >&5
 7301 
 7302 cat >conftest.$ac_ext <<_ACEOF
 7303 /* confdefs.h.  */
 7304 _ACEOF
 7305 cat confdefs.h >>conftest.$ac_ext
 7306 cat >>conftest.$ac_ext <<_ACEOF
 7307 /* end confdefs.h.  */
 7308 $ac_includes_default
 7309 int
 7310 main ()
 7311 {
 7312 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 7313 test_array [0] = 0
 7314 
 7315   ;
 7316   return 0;
 7317 }
 7318 _ACEOF
 7319 rm -f conftest.$ac_objext
 7320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7321   (eval $ac_compile) 2>conftest.er1
 7322   ac_status=$?
 7323   grep -v '^ *+' conftest.er1 >conftest.err
 7324   rm -f conftest.er1
 7325   cat conftest.err >&5
 7326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7327   (exit $ac_status); } &&
 7328      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7330   (eval $ac_try) 2>&5
 7331   ac_status=$?
 7332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7333   (exit $ac_status); }; } &&
 7334      { ac_try='test -s conftest.$ac_objext'
 7335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7336   (eval $ac_try) 2>&5
 7337   ac_status=$?
 7338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7339   (exit $ac_status); }; }; then
 7340   ac_hi=-1 ac_mid=-1
 7341   while :; do
 7342     cat >conftest.$ac_ext <<_ACEOF
 7343 /* confdefs.h.  */
 7344 _ACEOF
 7345 cat confdefs.h >>conftest.$ac_ext
 7346 cat >>conftest.$ac_ext <<_ACEOF
 7347 /* end confdefs.h.  */
 7348 $ac_includes_default
 7349 int
 7350 main ()
 7351 {
 7352 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 7353 test_array [0] = 0
 7354 
 7355   ;
 7356   return 0;
 7357 }
 7358 _ACEOF
 7359 rm -f conftest.$ac_objext
 7360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&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      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7370   (eval $ac_try) 2>&5
 7371   ac_status=$?
 7372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7373   (exit $ac_status); }; } &&
 7374      { ac_try='test -s conftest.$ac_objext'
 7375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7376   (eval $ac_try) 2>&5
 7377   ac_status=$?
 7378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7379   (exit $ac_status); }; }; then
 7380   ac_lo=$ac_mid; break
 7381 else
 7382   echo "$as_me: failed program was:" >&5
 7383 sed 's/^/| /' conftest.$ac_ext >&5
 7384 
 7385 ac_hi=`expr '(' $ac_mid ')' - 1`
 7386                if test $ac_mid -le $ac_hi; then
 7387              ac_lo= ac_hi=
 7388              break
 7389                fi
 7390                ac_mid=`expr 2 '*' $ac_mid`
 7391 fi
 7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7393   done
 7394 else
 7395   echo "$as_me: failed program was:" >&5
 7396 sed 's/^/| /' conftest.$ac_ext >&5
 7397 
 7398 ac_lo= ac_hi=
 7399 fi
 7400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7401 fi
 7402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7403 # Binary search between lo and hi bounds.
 7404 while test "x$ac_lo" != "x$ac_hi"; do
 7405   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 7406   cat >conftest.$ac_ext <<_ACEOF
 7407 /* confdefs.h.  */
 7408 _ACEOF
 7409 cat confdefs.h >>conftest.$ac_ext
 7410 cat >>conftest.$ac_ext <<_ACEOF
 7411 /* end confdefs.h.  */
 7412 $ac_includes_default
 7413 int
 7414 main ()
 7415 {
 7416 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 7417 test_array [0] = 0
 7418 
 7419   ;
 7420   return 0;
 7421 }
 7422 _ACEOF
 7423 rm -f conftest.$ac_objext
 7424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7425   (eval $ac_compile) 2>conftest.er1
 7426   ac_status=$?
 7427   grep -v '^ *+' conftest.er1 >conftest.err
 7428   rm -f conftest.er1
 7429   cat conftest.err >&5
 7430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7431   (exit $ac_status); } &&
 7432      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7434   (eval $ac_try) 2>&5
 7435   ac_status=$?
 7436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7437   (exit $ac_status); }; } &&
 7438      { ac_try='test -s conftest.$ac_objext'
 7439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7440   (eval $ac_try) 2>&5
 7441   ac_status=$?
 7442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7443   (exit $ac_status); }; }; then
 7444   ac_hi=$ac_mid
 7445 else
 7446   echo "$as_me: failed program was:" >&5
 7447 sed 's/^/| /' conftest.$ac_ext >&5
 7448 
 7449 ac_lo=`expr '(' $ac_mid ')' + 1`
 7450 fi
 7451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7452 done
 7453 case $ac_lo in
 7454 ?*) ac_cv_sizeof_short=$ac_lo;;
 7455 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 7456 See \`config.log' for more details." >&5
 7457 echo "$as_me: error: cannot compute sizeof (short), 77
 7458 See \`config.log' for more details." >&2;}
 7459    { (exit 1); exit 1; }; } ;;
 7460 esac
 7461 else
 7462   if test "$cross_compiling" = yes; then
 7463   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 7464 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 7465    { (exit 1); exit 1; }; }
 7466 else
 7467   cat >conftest.$ac_ext <<_ACEOF
 7468 /* confdefs.h.  */
 7469 _ACEOF
 7470 cat confdefs.h >>conftest.$ac_ext
 7471 cat >>conftest.$ac_ext <<_ACEOF
 7472 /* end confdefs.h.  */
 7473 $ac_includes_default
 7474 long longval () { return (long) (sizeof (short)); }
 7475 unsigned long ulongval () { return (long) (sizeof (short)); }
 7476 #include <stdio.h>
 7477 #include <stdlib.h>
 7478 int
 7479 main ()
 7480 {
 7481 
 7482   FILE *f = fopen ("conftest.val", "w");
 7483   if (! f)
 7484     exit (1);
 7485   if (((long) (sizeof (short))) < 0)
 7486     {
 7487       long i = longval ();
 7488       if (i != ((long) (sizeof (short))))
 7489     exit (1);
 7490       fprintf (f, "%ld\n", i);
 7491     }
 7492   else
 7493     {
 7494       unsigned long i = ulongval ();
 7495       if (i != ((long) (sizeof (short))))
 7496     exit (1);
 7497       fprintf (f, "%lu\n", i);
 7498     }
 7499   exit (ferror (f) || fclose (f) != 0);
 7500 
 7501   ;
 7502   return 0;
 7503 }
 7504 _ACEOF
 7505 rm -f conftest$ac_exeext
 7506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7507   (eval $ac_link) 2>&5
 7508   ac_status=$?
 7509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7510   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7512   (eval $ac_try) 2>&5
 7513   ac_status=$?
 7514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7515   (exit $ac_status); }; }; then
 7516   ac_cv_sizeof_short=`cat conftest.val`
 7517 else
 7518   echo "$as_me: program exited with status $ac_status" >&5
 7519 echo "$as_me: failed program was:" >&5
 7520 sed 's/^/| /' conftest.$ac_ext >&5
 7521 
 7522 ( exit $ac_status )
 7523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 7524 See \`config.log' for more details." >&5
 7525 echo "$as_me: error: cannot compute sizeof (short), 77
 7526 See \`config.log' for more details." >&2;}
 7527    { (exit 1); exit 1; }; }
 7528 fi
 7529 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 7530 fi
 7531 fi
 7532 rm -f conftest.val
 7533 else
 7534   ac_cv_sizeof_short=0
 7535 fi
 7536 fi
 7537 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 7538 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 7539 cat >>confdefs.h <<_ACEOF
 7540 #define SIZEOF_SHORT $ac_cv_sizeof_short
 7541 _ACEOF
 7542 
 7543 
 7544 
 7545 
 7546     if test -z "$ac_cv_sizeof_long"; then
 7547         echo "$as_me:$LINENO: checking for inline" >&5
 7548 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 7549 if test "${ac_cv_c_inline+set}" = set; then
 7550   echo $ECHO_N "(cached) $ECHO_C" >&6
 7551 else
 7552   ac_cv_c_inline=no
 7553 for ac_kw in inline __inline__ __inline; do
 7554   cat >conftest.$ac_ext <<_ACEOF
 7555 /* confdefs.h.  */
 7556 _ACEOF
 7557 cat confdefs.h >>conftest.$ac_ext
 7558 cat >>conftest.$ac_ext <<_ACEOF
 7559 /* end confdefs.h.  */
 7560 #ifndef __cplusplus
 7561 typedef int foo_t;
 7562 static $ac_kw foo_t static_foo () {return 0; }
 7563 $ac_kw foo_t foo () {return 0; }
 7564 #endif
 7565 
 7566 _ACEOF
 7567 rm -f conftest.$ac_objext
 7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7569   (eval $ac_compile) 2>conftest.er1
 7570   ac_status=$?
 7571   grep -v '^ *+' conftest.er1 >conftest.err
 7572   rm -f conftest.er1
 7573   cat conftest.err >&5
 7574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7575   (exit $ac_status); } &&
 7576      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7578   (eval $ac_try) 2>&5
 7579   ac_status=$?
 7580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7581   (exit $ac_status); }; } &&
 7582      { ac_try='test -s conftest.$ac_objext'
 7583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7584   (eval $ac_try) 2>&5
 7585   ac_status=$?
 7586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7587   (exit $ac_status); }; }; then
 7588   ac_cv_c_inline=$ac_kw; break
 7589 else
 7590   echo "$as_me: failed program was:" >&5
 7591 sed 's/^/| /' conftest.$ac_ext >&5
 7592 
 7593 fi
 7594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7595 done
 7596 
 7597 fi
 7598 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 7599 echo "${ECHO_T}$ac_cv_c_inline" >&6
 7600 
 7601 
 7602 case $ac_cv_c_inline in
 7603   inline | yes) ;;
 7604   *)
 7605     case $ac_cv_c_inline in
 7606       no) ac_val=;;
 7607       *) ac_val=$ac_cv_c_inline;;
 7608     esac
 7609     cat >>confdefs.h <<_ACEOF
 7610 #ifndef __cplusplus
 7611 #define inline $ac_val
 7612 #endif
 7613 _ACEOF
 7614     ;;
 7615 esac
 7616 
 7617         echo "$as_me:$LINENO: checking for long" >&5
 7618 echo $ECHO_N "checking for long... $ECHO_C" >&6
 7619 if test "${ac_cv_type_long+set}" = set; then
 7620   echo $ECHO_N "(cached) $ECHO_C" >&6
 7621 else
 7622   cat >conftest.$ac_ext <<_ACEOF
 7623 /* confdefs.h.  */
 7624 _ACEOF
 7625 cat confdefs.h >>conftest.$ac_ext
 7626 cat >>conftest.$ac_ext <<_ACEOF
 7627 /* end confdefs.h.  */
 7628 $ac_includes_default
 7629 int
 7630 main ()
 7631 {
 7632 if ((long *) 0)
 7633   return 0;
 7634 if (sizeof (long))
 7635   return 0;
 7636   ;
 7637   return 0;
 7638 }
 7639 _ACEOF
 7640 rm -f conftest.$ac_objext
 7641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7642   (eval $ac_compile) 2>conftest.er1
 7643   ac_status=$?
 7644   grep -v '^ *+' conftest.er1 >conftest.err
 7645   rm -f conftest.er1
 7646   cat conftest.err >&5
 7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7648   (exit $ac_status); } &&
 7649      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7651   (eval $ac_try) 2>&5
 7652   ac_status=$?
 7653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7654   (exit $ac_status); }; } &&
 7655      { ac_try='test -s conftest.$ac_objext'
 7656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7657   (eval $ac_try) 2>&5
 7658   ac_status=$?
 7659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7660   (exit $ac_status); }; }; then
 7661   ac_cv_type_long=yes
 7662 else
 7663   echo "$as_me: failed program was:" >&5
 7664 sed 's/^/| /' conftest.$ac_ext >&5
 7665 
 7666 ac_cv_type_long=no
 7667 fi
 7668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7669 fi
 7670 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 7671 echo "${ECHO_T}$ac_cv_type_long" >&6
 7672 
 7673 echo "$as_me:$LINENO: checking size of long" >&5
 7674 echo $ECHO_N "checking size of long... $ECHO_C" >&6
 7675 if test "${ac_cv_sizeof_long+set}" = set; then
 7676   echo $ECHO_N "(cached) $ECHO_C" >&6
 7677 else
 7678   if test "$ac_cv_type_long" = yes; then
 7679   # The cast to unsigned long works around a bug in the HP C Compiler
 7680   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 7681   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 7682   # This bug is HP SR number 8606223364.
 7683   if test "$cross_compiling" = yes; then
 7684   # Depending upon the size, compute the lo and hi bounds.
 7685 cat >conftest.$ac_ext <<_ACEOF
 7686 /* confdefs.h.  */
 7687 _ACEOF
 7688 cat confdefs.h >>conftest.$ac_ext
 7689 cat >>conftest.$ac_ext <<_ACEOF
 7690 /* end confdefs.h.  */
 7691 $ac_includes_default
 7692 int
 7693 main ()
 7694 {
 7695 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 7696 test_array [0] = 0
 7697 
 7698   ;
 7699   return 0;
 7700 }
 7701 _ACEOF
 7702 rm -f conftest.$ac_objext
 7703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7704   (eval $ac_compile) 2>conftest.er1
 7705   ac_status=$?
 7706   grep -v '^ *+' conftest.er1 >conftest.err
 7707   rm -f conftest.er1
 7708   cat conftest.err >&5
 7709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7710   (exit $ac_status); } &&
 7711      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7713   (eval $ac_try) 2>&5
 7714   ac_status=$?
 7715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7716   (exit $ac_status); }; } &&
 7717      { ac_try='test -s conftest.$ac_objext'
 7718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7719   (eval $ac_try) 2>&5
 7720   ac_status=$?
 7721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7722   (exit $ac_status); }; }; then
 7723   ac_lo=0 ac_mid=0
 7724   while :; do
 7725     cat >conftest.$ac_ext <<_ACEOF
 7726 /* confdefs.h.  */
 7727 _ACEOF
 7728 cat confdefs.h >>conftest.$ac_ext
 7729 cat >>conftest.$ac_ext <<_ACEOF
 7730 /* end confdefs.h.  */
 7731 $ac_includes_default
 7732 int
 7733 main ()
 7734 {
 7735 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 7736 test_array [0] = 0
 7737 
 7738   ;
 7739   return 0;
 7740 }
 7741 _ACEOF
 7742 rm -f conftest.$ac_objext
 7743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7744   (eval $ac_compile) 2>conftest.er1
 7745   ac_status=$?
 7746   grep -v '^ *+' conftest.er1 >conftest.err
 7747   rm -f conftest.er1
 7748   cat conftest.err >&5
 7749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7750   (exit $ac_status); } &&
 7751      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7753   (eval $ac_try) 2>&5
 7754   ac_status=$?
 7755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7756   (exit $ac_status); }; } &&
 7757      { ac_try='test -s conftest.$ac_objext'
 7758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7759   (eval $ac_try) 2>&5
 7760   ac_status=$?
 7761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7762   (exit $ac_status); }; }; then
 7763   ac_hi=$ac_mid; break
 7764 else
 7765   echo "$as_me: failed program was:" >&5
 7766 sed 's/^/| /' conftest.$ac_ext >&5
 7767 
 7768 ac_lo=`expr $ac_mid + 1`
 7769             if test $ac_lo -le $ac_mid; then
 7770               ac_lo= ac_hi=
 7771               break
 7772             fi
 7773             ac_mid=`expr 2 '*' $ac_mid + 1`
 7774 fi
 7775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7776   done
 7777 else
 7778   echo "$as_me: failed program was:" >&5
 7779 sed 's/^/| /' conftest.$ac_ext >&5
 7780 
 7781 cat >conftest.$ac_ext <<_ACEOF
 7782 /* confdefs.h.  */
 7783 _ACEOF
 7784 cat confdefs.h >>conftest.$ac_ext
 7785 cat >>conftest.$ac_ext <<_ACEOF
 7786 /* end confdefs.h.  */
 7787 $ac_includes_default
 7788 int
 7789 main ()
 7790 {
 7791 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 7792 test_array [0] = 0
 7793 
 7794   ;
 7795   return 0;
 7796 }
 7797 _ACEOF
 7798 rm -f conftest.$ac_objext
 7799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7800   (eval $ac_compile) 2>conftest.er1
 7801   ac_status=$?
 7802   grep -v '^ *+' conftest.er1 >conftest.err
 7803   rm -f conftest.er1
 7804   cat conftest.err >&5
 7805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7806   (exit $ac_status); } &&
 7807      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7809   (eval $ac_try) 2>&5
 7810   ac_status=$?
 7811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7812   (exit $ac_status); }; } &&
 7813      { ac_try='test -s conftest.$ac_objext'
 7814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7815   (eval $ac_try) 2>&5
 7816   ac_status=$?
 7817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7818   (exit $ac_status); }; }; then
 7819   ac_hi=-1 ac_mid=-1
 7820   while :; do
 7821     cat >conftest.$ac_ext <<_ACEOF
 7822 /* confdefs.h.  */
 7823 _ACEOF
 7824 cat confdefs.h >>conftest.$ac_ext
 7825 cat >>conftest.$ac_ext <<_ACEOF
 7826 /* end confdefs.h.  */
 7827 $ac_includes_default
 7828 int
 7829 main ()
 7830 {
 7831 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 7832 test_array [0] = 0
 7833 
 7834   ;
 7835   return 0;
 7836 }
 7837 _ACEOF
 7838 rm -f conftest.$ac_objext
 7839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7840   (eval $ac_compile) 2>conftest.er1
 7841   ac_status=$?
 7842   grep -v '^ *+' conftest.er1 >conftest.err
 7843   rm -f conftest.er1
 7844   cat conftest.err >&5
 7845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7846   (exit $ac_status); } &&
 7847      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7849   (eval $ac_try) 2>&5
 7850   ac_status=$?
 7851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7852   (exit $ac_status); }; } &&
 7853      { ac_try='test -s conftest.$ac_objext'
 7854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7855   (eval $ac_try) 2>&5
 7856   ac_status=$?
 7857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7858   (exit $ac_status); }; }; then
 7859   ac_lo=$ac_mid; break
 7860 else
 7861   echo "$as_me: failed program was:" >&5
 7862 sed 's/^/| /' conftest.$ac_ext >&5
 7863 
 7864 ac_hi=`expr '(' $ac_mid ')' - 1`
 7865                if test $ac_mid -le $ac_hi; then
 7866              ac_lo= ac_hi=
 7867              break
 7868                fi
 7869                ac_mid=`expr 2 '*' $ac_mid`
 7870 fi
 7871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7872   done
 7873 else
 7874   echo "$as_me: failed program was:" >&5
 7875 sed 's/^/| /' conftest.$ac_ext >&5
 7876 
 7877 ac_lo= ac_hi=
 7878 fi
 7879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7880 fi
 7881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7882 # Binary search between lo and hi bounds.
 7883 while test "x$ac_lo" != "x$ac_hi"; do
 7884   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 7885   cat >conftest.$ac_ext <<_ACEOF
 7886 /* confdefs.h.  */
 7887 _ACEOF
 7888 cat confdefs.h >>conftest.$ac_ext
 7889 cat >>conftest.$ac_ext <<_ACEOF
 7890 /* end confdefs.h.  */
 7891 $ac_includes_default
 7892 int
 7893 main ()
 7894 {
 7895 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 7896 test_array [0] = 0
 7897 
 7898   ;
 7899   return 0;
 7900 }
 7901 _ACEOF
 7902 rm -f conftest.$ac_objext
 7903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 7904   (eval $ac_compile) 2>conftest.er1
 7905   ac_status=$?
 7906   grep -v '^ *+' conftest.er1 >conftest.err
 7907   rm -f conftest.er1
 7908   cat conftest.err >&5
 7909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7910   (exit $ac_status); } &&
 7911      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 7912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7913   (eval $ac_try) 2>&5
 7914   ac_status=$?
 7915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7916   (exit $ac_status); }; } &&
 7917      { ac_try='test -s conftest.$ac_objext'
 7918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7919   (eval $ac_try) 2>&5
 7920   ac_status=$?
 7921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7922   (exit $ac_status); }; }; then
 7923   ac_hi=$ac_mid
 7924 else
 7925   echo "$as_me: failed program was:" >&5
 7926 sed 's/^/| /' conftest.$ac_ext >&5
 7927 
 7928 ac_lo=`expr '(' $ac_mid ')' + 1`
 7929 fi
 7930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 7931 done
 7932 case $ac_lo in
 7933 ?*) ac_cv_sizeof_long=$ac_lo;;
 7934 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 7935 See \`config.log' for more details." >&5
 7936 echo "$as_me: error: cannot compute sizeof (long), 77
 7937 See \`config.log' for more details." >&2;}
 7938    { (exit 1); exit 1; }; } ;;
 7939 esac
 7940 else
 7941   if test "$cross_compiling" = yes; then
 7942   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 7943 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 7944    { (exit 1); exit 1; }; }
 7945 else
 7946   cat >conftest.$ac_ext <<_ACEOF
 7947 /* confdefs.h.  */
 7948 _ACEOF
 7949 cat confdefs.h >>conftest.$ac_ext
 7950 cat >>conftest.$ac_ext <<_ACEOF
 7951 /* end confdefs.h.  */
 7952 $ac_includes_default
 7953 long longval () { return (long) (sizeof (long)); }
 7954 unsigned long ulongval () { return (long) (sizeof (long)); }
 7955 #include <stdio.h>
 7956 #include <stdlib.h>
 7957 int
 7958 main ()
 7959 {
 7960 
 7961   FILE *f = fopen ("conftest.val", "w");
 7962   if (! f)
 7963     exit (1);
 7964   if (((long) (sizeof (long))) < 0)
 7965     {
 7966       long i = longval ();
 7967       if (i != ((long) (sizeof (long))))
 7968     exit (1);
 7969       fprintf (f, "%ld\n", i);
 7970     }
 7971   else
 7972     {
 7973       unsigned long i = ulongval ();
 7974       if (i != ((long) (sizeof (long))))
 7975     exit (1);
 7976       fprintf (f, "%lu\n", i);
 7977     }
 7978   exit (ferror (f) || fclose (f) != 0);
 7979 
 7980   ;
 7981   return 0;
 7982 }
 7983 _ACEOF
 7984 rm -f conftest$ac_exeext
 7985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 7986   (eval $ac_link) 2>&5
 7987   ac_status=$?
 7988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7989   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 7990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 7991   (eval $ac_try) 2>&5
 7992   ac_status=$?
 7993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 7994   (exit $ac_status); }; }; then
 7995   ac_cv_sizeof_long=`cat conftest.val`
 7996 else
 7997   echo "$as_me: program exited with status $ac_status" >&5
 7998 echo "$as_me: failed program was:" >&5
 7999 sed 's/^/| /' conftest.$ac_ext >&5
 8000 
 8001 ( exit $ac_status )
 8002 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 8003 See \`config.log' for more details." >&5
 8004 echo "$as_me: error: cannot compute sizeof (long), 77
 8005 See \`config.log' for more details." >&2;}
 8006    { (exit 1); exit 1; }; }
 8007 fi
 8008 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 8009 fi
 8010 fi
 8011 rm -f conftest.val
 8012 else
 8013   ac_cv_sizeof_long=0
 8014 fi
 8015 fi
 8016 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 8017 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 8018 cat >>confdefs.h <<_ACEOF
 8019 #define SIZEOF_LONG $ac_cv_sizeof_long
 8020 _ACEOF
 8021 
 8022 
 8023         echo "$as_me:$LINENO: checking for int" >&5
 8024 echo $ECHO_N "checking for int... $ECHO_C" >&6
 8025 if test "${ac_cv_type_int+set}" = set; then
 8026   echo $ECHO_N "(cached) $ECHO_C" >&6
 8027 else
 8028   cat >conftest.$ac_ext <<_ACEOF
 8029 /* confdefs.h.  */
 8030 _ACEOF
 8031 cat confdefs.h >>conftest.$ac_ext
 8032 cat >>conftest.$ac_ext <<_ACEOF
 8033 /* end confdefs.h.  */
 8034 $ac_includes_default
 8035 int
 8036 main ()
 8037 {
 8038 if ((int *) 0)
 8039   return 0;
 8040 if (sizeof (int))
 8041   return 0;
 8042   ;
 8043   return 0;
 8044 }
 8045 _ACEOF
 8046 rm -f conftest.$ac_objext
 8047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8048   (eval $ac_compile) 2>conftest.er1
 8049   ac_status=$?
 8050   grep -v '^ *+' conftest.er1 >conftest.err
 8051   rm -f conftest.er1
 8052   cat conftest.err >&5
 8053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8054   (exit $ac_status); } &&
 8055      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8057   (eval $ac_try) 2>&5
 8058   ac_status=$?
 8059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8060   (exit $ac_status); }; } &&
 8061      { ac_try='test -s conftest.$ac_objext'
 8062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8063   (eval $ac_try) 2>&5
 8064   ac_status=$?
 8065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8066   (exit $ac_status); }; }; then
 8067   ac_cv_type_int=yes
 8068 else
 8069   echo "$as_me: failed program was:" >&5
 8070 sed 's/^/| /' conftest.$ac_ext >&5
 8071 
 8072 ac_cv_type_int=no
 8073 fi
 8074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8075 fi
 8076 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 8077 echo "${ECHO_T}$ac_cv_type_int" >&6
 8078 
 8079 echo "$as_me:$LINENO: checking size of int" >&5
 8080 echo $ECHO_N "checking size of int... $ECHO_C" >&6
 8081 if test "${ac_cv_sizeof_int+set}" = set; then
 8082   echo $ECHO_N "(cached) $ECHO_C" >&6
 8083 else
 8084   if test "$ac_cv_type_int" = yes; then
 8085   # The cast to unsigned long works around a bug in the HP C Compiler
 8086   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8087   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8088   # This bug is HP SR number 8606223364.
 8089   if test "$cross_compiling" = yes; then
 8090   # Depending upon the size, compute the lo and hi bounds.
 8091 cat >conftest.$ac_ext <<_ACEOF
 8092 /* confdefs.h.  */
 8093 _ACEOF
 8094 cat confdefs.h >>conftest.$ac_ext
 8095 cat >>conftest.$ac_ext <<_ACEOF
 8096 /* end confdefs.h.  */
 8097 $ac_includes_default
 8098 int
 8099 main ()
 8100 {
 8101 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 8102 test_array [0] = 0
 8103 
 8104   ;
 8105   return 0;
 8106 }
 8107 _ACEOF
 8108 rm -f conftest.$ac_objext
 8109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8110   (eval $ac_compile) 2>conftest.er1
 8111   ac_status=$?
 8112   grep -v '^ *+' conftest.er1 >conftest.err
 8113   rm -f conftest.er1
 8114   cat conftest.err >&5
 8115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8116   (exit $ac_status); } &&
 8117      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8119   (eval $ac_try) 2>&5
 8120   ac_status=$?
 8121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8122   (exit $ac_status); }; } &&
 8123      { ac_try='test -s conftest.$ac_objext'
 8124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8125   (eval $ac_try) 2>&5
 8126   ac_status=$?
 8127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8128   (exit $ac_status); }; }; then
 8129   ac_lo=0 ac_mid=0
 8130   while :; do
 8131     cat >conftest.$ac_ext <<_ACEOF
 8132 /* confdefs.h.  */
 8133 _ACEOF
 8134 cat confdefs.h >>conftest.$ac_ext
 8135 cat >>conftest.$ac_ext <<_ACEOF
 8136 /* end confdefs.h.  */
 8137 $ac_includes_default
 8138 int
 8139 main ()
 8140 {
 8141 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 8142 test_array [0] = 0
 8143 
 8144   ;
 8145   return 0;
 8146 }
 8147 _ACEOF
 8148 rm -f conftest.$ac_objext
 8149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8150   (eval $ac_compile) 2>conftest.er1
 8151   ac_status=$?
 8152   grep -v '^ *+' conftest.er1 >conftest.err
 8153   rm -f conftest.er1
 8154   cat conftest.err >&5
 8155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8156   (exit $ac_status); } &&
 8157      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8159   (eval $ac_try) 2>&5
 8160   ac_status=$?
 8161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8162   (exit $ac_status); }; } &&
 8163      { ac_try='test -s conftest.$ac_objext'
 8164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8165   (eval $ac_try) 2>&5
 8166   ac_status=$?
 8167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8168   (exit $ac_status); }; }; then
 8169   ac_hi=$ac_mid; break
 8170 else
 8171   echo "$as_me: failed program was:" >&5
 8172 sed 's/^/| /' conftest.$ac_ext >&5
 8173 
 8174 ac_lo=`expr $ac_mid + 1`
 8175             if test $ac_lo -le $ac_mid; then
 8176               ac_lo= ac_hi=
 8177               break
 8178             fi
 8179             ac_mid=`expr 2 '*' $ac_mid + 1`
 8180 fi
 8181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8182   done
 8183 else
 8184   echo "$as_me: failed program was:" >&5
 8185 sed 's/^/| /' conftest.$ac_ext >&5
 8186 
 8187 cat >conftest.$ac_ext <<_ACEOF
 8188 /* confdefs.h.  */
 8189 _ACEOF
 8190 cat confdefs.h >>conftest.$ac_ext
 8191 cat >>conftest.$ac_ext <<_ACEOF
 8192 /* end confdefs.h.  */
 8193 $ac_includes_default
 8194 int
 8195 main ()
 8196 {
 8197 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 8198 test_array [0] = 0
 8199 
 8200   ;
 8201   return 0;
 8202 }
 8203 _ACEOF
 8204 rm -f conftest.$ac_objext
 8205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8206   (eval $ac_compile) 2>conftest.er1
 8207   ac_status=$?
 8208   grep -v '^ *+' conftest.er1 >conftest.err
 8209   rm -f conftest.er1
 8210   cat conftest.err >&5
 8211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8212   (exit $ac_status); } &&
 8213      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8215   (eval $ac_try) 2>&5
 8216   ac_status=$?
 8217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8218   (exit $ac_status); }; } &&
 8219      { ac_try='test -s conftest.$ac_objext'
 8220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8221   (eval $ac_try) 2>&5
 8222   ac_status=$?
 8223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8224   (exit $ac_status); }; }; then
 8225   ac_hi=-1 ac_mid=-1
 8226   while :; do
 8227     cat >conftest.$ac_ext <<_ACEOF
 8228 /* confdefs.h.  */
 8229 _ACEOF
 8230 cat confdefs.h >>conftest.$ac_ext
 8231 cat >>conftest.$ac_ext <<_ACEOF
 8232 /* end confdefs.h.  */
 8233 $ac_includes_default
 8234 int
 8235 main ()
 8236 {
 8237 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 8238 test_array [0] = 0
 8239 
 8240   ;
 8241   return 0;
 8242 }
 8243 _ACEOF
 8244 rm -f conftest.$ac_objext
 8245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8246   (eval $ac_compile) 2>conftest.er1
 8247   ac_status=$?
 8248   grep -v '^ *+' conftest.er1 >conftest.err
 8249   rm -f conftest.er1
 8250   cat conftest.err >&5
 8251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8252   (exit $ac_status); } &&
 8253      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8255   (eval $ac_try) 2>&5
 8256   ac_status=$?
 8257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8258   (exit $ac_status); }; } &&
 8259      { ac_try='test -s conftest.$ac_objext'
 8260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8261   (eval $ac_try) 2>&5
 8262   ac_status=$?
 8263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8264   (exit $ac_status); }; }; then
 8265   ac_lo=$ac_mid; break
 8266 else
 8267   echo "$as_me: failed program was:" >&5
 8268 sed 's/^/| /' conftest.$ac_ext >&5
 8269 
 8270 ac_hi=`expr '(' $ac_mid ')' - 1`
 8271                if test $ac_mid -le $ac_hi; then
 8272              ac_lo= ac_hi=
 8273              break
 8274                fi
 8275                ac_mid=`expr 2 '*' $ac_mid`
 8276 fi
 8277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8278   done
 8279 else
 8280   echo "$as_me: failed program was:" >&5
 8281 sed 's/^/| /' conftest.$ac_ext >&5
 8282 
 8283 ac_lo= ac_hi=
 8284 fi
 8285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8286 fi
 8287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8288 # Binary search between lo and hi bounds.
 8289 while test "x$ac_lo" != "x$ac_hi"; do
 8290   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 8291   cat >conftest.$ac_ext <<_ACEOF
 8292 /* confdefs.h.  */
 8293 _ACEOF
 8294 cat confdefs.h >>conftest.$ac_ext
 8295 cat >>conftest.$ac_ext <<_ACEOF
 8296 /* end confdefs.h.  */
 8297 $ac_includes_default
 8298 int
 8299 main ()
 8300 {
 8301 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 8302 test_array [0] = 0
 8303 
 8304   ;
 8305   return 0;
 8306 }
 8307 _ACEOF
 8308 rm -f conftest.$ac_objext
 8309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8310   (eval $ac_compile) 2>conftest.er1
 8311   ac_status=$?
 8312   grep -v '^ *+' conftest.er1 >conftest.err
 8313   rm -f conftest.er1
 8314   cat conftest.err >&5
 8315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8316   (exit $ac_status); } &&
 8317      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8319   (eval $ac_try) 2>&5
 8320   ac_status=$?
 8321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8322   (exit $ac_status); }; } &&
 8323      { ac_try='test -s conftest.$ac_objext'
 8324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8325   (eval $ac_try) 2>&5
 8326   ac_status=$?
 8327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8328   (exit $ac_status); }; }; then
 8329   ac_hi=$ac_mid
 8330 else
 8331   echo "$as_me: failed program was:" >&5
 8332 sed 's/^/| /' conftest.$ac_ext >&5
 8333 
 8334 ac_lo=`expr '(' $ac_mid ')' + 1`
 8335 fi
 8336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8337 done
 8338 case $ac_lo in
 8339 ?*) ac_cv_sizeof_int=$ac_lo;;
 8340 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 8341 See \`config.log' for more details." >&5
 8342 echo "$as_me: error: cannot compute sizeof (int), 77
 8343 See \`config.log' for more details." >&2;}
 8344    { (exit 1); exit 1; }; } ;;
 8345 esac
 8346 else
 8347   if test "$cross_compiling" = yes; then
 8348   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 8349 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 8350    { (exit 1); exit 1; }; }
 8351 else
 8352   cat >conftest.$ac_ext <<_ACEOF
 8353 /* confdefs.h.  */
 8354 _ACEOF
 8355 cat confdefs.h >>conftest.$ac_ext
 8356 cat >>conftest.$ac_ext <<_ACEOF
 8357 /* end confdefs.h.  */
 8358 $ac_includes_default
 8359 long longval () { return (long) (sizeof (int)); }
 8360 unsigned long ulongval () { return (long) (sizeof (int)); }
 8361 #include <stdio.h>
 8362 #include <stdlib.h>
 8363 int
 8364 main ()
 8365 {
 8366 
 8367   FILE *f = fopen ("conftest.val", "w");
 8368   if (! f)
 8369     exit (1);
 8370   if (((long) (sizeof (int))) < 0)
 8371     {
 8372       long i = longval ();
 8373       if (i != ((long) (sizeof (int))))
 8374     exit (1);
 8375       fprintf (f, "%ld\n", i);
 8376     }
 8377   else
 8378     {
 8379       unsigned long i = ulongval ();
 8380       if (i != ((long) (sizeof (int))))
 8381     exit (1);
 8382       fprintf (f, "%lu\n", i);
 8383     }
 8384   exit (ferror (f) || fclose (f) != 0);
 8385 
 8386   ;
 8387   return 0;
 8388 }
 8389 _ACEOF
 8390 rm -f conftest$ac_exeext
 8391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8392   (eval $ac_link) 2>&5
 8393   ac_status=$?
 8394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8395   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 8396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8397   (eval $ac_try) 2>&5
 8398   ac_status=$?
 8399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8400   (exit $ac_status); }; }; then
 8401   ac_cv_sizeof_int=`cat conftest.val`
 8402 else
 8403   echo "$as_me: program exited with status $ac_status" >&5
 8404 echo "$as_me: failed program was:" >&5
 8405 sed 's/^/| /' conftest.$ac_ext >&5
 8406 
 8407 ( exit $ac_status )
 8408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 8409 See \`config.log' for more details." >&5
 8410 echo "$as_me: error: cannot compute sizeof (int), 77
 8411 See \`config.log' for more details." >&2;}
 8412    { (exit 1); exit 1; }; }
 8413 fi
 8414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 8415 fi
 8416 fi
 8417 rm -f conftest.val
 8418 else
 8419   ac_cv_sizeof_int=0
 8420 fi
 8421 fi
 8422 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 8423 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 8424 cat >>confdefs.h <<_ACEOF
 8425 #define SIZEOF_INT $ac_cv_sizeof_int
 8426 _ACEOF
 8427 
 8428 
 8429         echo "$as_me:$LINENO: checking for short" >&5
 8430 echo $ECHO_N "checking for short... $ECHO_C" >&6
 8431 if test "${ac_cv_type_short+set}" = set; then
 8432   echo $ECHO_N "(cached) $ECHO_C" >&6
 8433 else
 8434   cat >conftest.$ac_ext <<_ACEOF
 8435 /* confdefs.h.  */
 8436 _ACEOF
 8437 cat confdefs.h >>conftest.$ac_ext
 8438 cat >>conftest.$ac_ext <<_ACEOF
 8439 /* end confdefs.h.  */
 8440 $ac_includes_default
 8441 int
 8442 main ()
 8443 {
 8444 if ((short *) 0)
 8445   return 0;
 8446 if (sizeof (short))
 8447   return 0;
 8448   ;
 8449   return 0;
 8450 }
 8451 _ACEOF
 8452 rm -f conftest.$ac_objext
 8453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8454   (eval $ac_compile) 2>conftest.er1
 8455   ac_status=$?
 8456   grep -v '^ *+' conftest.er1 >conftest.err
 8457   rm -f conftest.er1
 8458   cat conftest.err >&5
 8459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8460   (exit $ac_status); } &&
 8461      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8463   (eval $ac_try) 2>&5
 8464   ac_status=$?
 8465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8466   (exit $ac_status); }; } &&
 8467      { ac_try='test -s conftest.$ac_objext'
 8468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8469   (eval $ac_try) 2>&5
 8470   ac_status=$?
 8471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8472   (exit $ac_status); }; }; then
 8473   ac_cv_type_short=yes
 8474 else
 8475   echo "$as_me: failed program was:" >&5
 8476 sed 's/^/| /' conftest.$ac_ext >&5
 8477 
 8478 ac_cv_type_short=no
 8479 fi
 8480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8481 fi
 8482 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 8483 echo "${ECHO_T}$ac_cv_type_short" >&6
 8484 
 8485 echo "$as_me:$LINENO: checking size of short" >&5
 8486 echo $ECHO_N "checking size of short... $ECHO_C" >&6
 8487 if test "${ac_cv_sizeof_short+set}" = set; then
 8488   echo $ECHO_N "(cached) $ECHO_C" >&6
 8489 else
 8490   if test "$ac_cv_type_short" = yes; then
 8491   # The cast to unsigned long works around a bug in the HP C Compiler
 8492   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 8493   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 8494   # This bug is HP SR number 8606223364.
 8495   if test "$cross_compiling" = yes; then
 8496   # Depending upon the size, compute the lo and hi bounds.
 8497 cat >conftest.$ac_ext <<_ACEOF
 8498 /* confdefs.h.  */
 8499 _ACEOF
 8500 cat confdefs.h >>conftest.$ac_ext
 8501 cat >>conftest.$ac_ext <<_ACEOF
 8502 /* end confdefs.h.  */
 8503 $ac_includes_default
 8504 int
 8505 main ()
 8506 {
 8507 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
 8508 test_array [0] = 0
 8509 
 8510   ;
 8511   return 0;
 8512 }
 8513 _ACEOF
 8514 rm -f conftest.$ac_objext
 8515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8516   (eval $ac_compile) 2>conftest.er1
 8517   ac_status=$?
 8518   grep -v '^ *+' conftest.er1 >conftest.err
 8519   rm -f conftest.er1
 8520   cat conftest.err >&5
 8521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8522   (exit $ac_status); } &&
 8523      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8525   (eval $ac_try) 2>&5
 8526   ac_status=$?
 8527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8528   (exit $ac_status); }; } &&
 8529      { ac_try='test -s conftest.$ac_objext'
 8530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8531   (eval $ac_try) 2>&5
 8532   ac_status=$?
 8533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8534   (exit $ac_status); }; }; then
 8535   ac_lo=0 ac_mid=0
 8536   while :; do
 8537     cat >conftest.$ac_ext <<_ACEOF
 8538 /* confdefs.h.  */
 8539 _ACEOF
 8540 cat confdefs.h >>conftest.$ac_ext
 8541 cat >>conftest.$ac_ext <<_ACEOF
 8542 /* end confdefs.h.  */
 8543 $ac_includes_default
 8544 int
 8545 main ()
 8546 {
 8547 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 8548 test_array [0] = 0
 8549 
 8550   ;
 8551   return 0;
 8552 }
 8553 _ACEOF
 8554 rm -f conftest.$ac_objext
 8555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8556   (eval $ac_compile) 2>conftest.er1
 8557   ac_status=$?
 8558   grep -v '^ *+' conftest.er1 >conftest.err
 8559   rm -f conftest.er1
 8560   cat conftest.err >&5
 8561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8562   (exit $ac_status); } &&
 8563      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8565   (eval $ac_try) 2>&5
 8566   ac_status=$?
 8567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8568   (exit $ac_status); }; } &&
 8569      { ac_try='test -s conftest.$ac_objext'
 8570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8571   (eval $ac_try) 2>&5
 8572   ac_status=$?
 8573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8574   (exit $ac_status); }; }; then
 8575   ac_hi=$ac_mid; break
 8576 else
 8577   echo "$as_me: failed program was:" >&5
 8578 sed 's/^/| /' conftest.$ac_ext >&5
 8579 
 8580 ac_lo=`expr $ac_mid + 1`
 8581             if test $ac_lo -le $ac_mid; then
 8582               ac_lo= ac_hi=
 8583               break
 8584             fi
 8585             ac_mid=`expr 2 '*' $ac_mid + 1`
 8586 fi
 8587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8588   done
 8589 else
 8590   echo "$as_me: failed program was:" >&5
 8591 sed 's/^/| /' conftest.$ac_ext >&5
 8592 
 8593 cat >conftest.$ac_ext <<_ACEOF
 8594 /* confdefs.h.  */
 8595 _ACEOF
 8596 cat confdefs.h >>conftest.$ac_ext
 8597 cat >>conftest.$ac_ext <<_ACEOF
 8598 /* end confdefs.h.  */
 8599 $ac_includes_default
 8600 int
 8601 main ()
 8602 {
 8603 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
 8604 test_array [0] = 0
 8605 
 8606   ;
 8607   return 0;
 8608 }
 8609 _ACEOF
 8610 rm -f conftest.$ac_objext
 8611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8612   (eval $ac_compile) 2>conftest.er1
 8613   ac_status=$?
 8614   grep -v '^ *+' conftest.er1 >conftest.err
 8615   rm -f conftest.er1
 8616   cat conftest.err >&5
 8617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8618   (exit $ac_status); } &&
 8619      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8621   (eval $ac_try) 2>&5
 8622   ac_status=$?
 8623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8624   (exit $ac_status); }; } &&
 8625      { ac_try='test -s conftest.$ac_objext'
 8626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8627   (eval $ac_try) 2>&5
 8628   ac_status=$?
 8629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8630   (exit $ac_status); }; }; then
 8631   ac_hi=-1 ac_mid=-1
 8632   while :; do
 8633     cat >conftest.$ac_ext <<_ACEOF
 8634 /* confdefs.h.  */
 8635 _ACEOF
 8636 cat confdefs.h >>conftest.$ac_ext
 8637 cat >>conftest.$ac_ext <<_ACEOF
 8638 /* end confdefs.h.  */
 8639 $ac_includes_default
 8640 int
 8641 main ()
 8642 {
 8643 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
 8644 test_array [0] = 0
 8645 
 8646   ;
 8647   return 0;
 8648 }
 8649 _ACEOF
 8650 rm -f conftest.$ac_objext
 8651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8652   (eval $ac_compile) 2>conftest.er1
 8653   ac_status=$?
 8654   grep -v '^ *+' conftest.er1 >conftest.err
 8655   rm -f conftest.er1
 8656   cat conftest.err >&5
 8657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8658   (exit $ac_status); } &&
 8659      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8661   (eval $ac_try) 2>&5
 8662   ac_status=$?
 8663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8664   (exit $ac_status); }; } &&
 8665      { ac_try='test -s conftest.$ac_objext'
 8666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8667   (eval $ac_try) 2>&5
 8668   ac_status=$?
 8669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8670   (exit $ac_status); }; }; then
 8671   ac_lo=$ac_mid; break
 8672 else
 8673   echo "$as_me: failed program was:" >&5
 8674 sed 's/^/| /' conftest.$ac_ext >&5
 8675 
 8676 ac_hi=`expr '(' $ac_mid ')' - 1`
 8677                if test $ac_mid -le $ac_hi; then
 8678              ac_lo= ac_hi=
 8679              break
 8680                fi
 8681                ac_mid=`expr 2 '*' $ac_mid`
 8682 fi
 8683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8684   done
 8685 else
 8686   echo "$as_me: failed program was:" >&5
 8687 sed 's/^/| /' conftest.$ac_ext >&5
 8688 
 8689 ac_lo= ac_hi=
 8690 fi
 8691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8692 fi
 8693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8694 # Binary search between lo and hi bounds.
 8695 while test "x$ac_lo" != "x$ac_hi"; do
 8696   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 8697   cat >conftest.$ac_ext <<_ACEOF
 8698 /* confdefs.h.  */
 8699 _ACEOF
 8700 cat confdefs.h >>conftest.$ac_ext
 8701 cat >>conftest.$ac_ext <<_ACEOF
 8702 /* end confdefs.h.  */
 8703 $ac_includes_default
 8704 int
 8705 main ()
 8706 {
 8707 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
 8708 test_array [0] = 0
 8709 
 8710   ;
 8711   return 0;
 8712 }
 8713 _ACEOF
 8714 rm -f conftest.$ac_objext
 8715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8716   (eval $ac_compile) 2>conftest.er1
 8717   ac_status=$?
 8718   grep -v '^ *+' conftest.er1 >conftest.err
 8719   rm -f conftest.er1
 8720   cat conftest.err >&5
 8721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8722   (exit $ac_status); } &&
 8723      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8725   (eval $ac_try) 2>&5
 8726   ac_status=$?
 8727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8728   (exit $ac_status); }; } &&
 8729      { ac_try='test -s conftest.$ac_objext'
 8730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8731   (eval $ac_try) 2>&5
 8732   ac_status=$?
 8733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8734   (exit $ac_status); }; }; then
 8735   ac_hi=$ac_mid
 8736 else
 8737   echo "$as_me: failed program was:" >&5
 8738 sed 's/^/| /' conftest.$ac_ext >&5
 8739 
 8740 ac_lo=`expr '(' $ac_mid ')' + 1`
 8741 fi
 8742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8743 done
 8744 case $ac_lo in
 8745 ?*) ac_cv_sizeof_short=$ac_lo;;
 8746 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 8747 See \`config.log' for more details." >&5
 8748 echo "$as_me: error: cannot compute sizeof (short), 77
 8749 See \`config.log' for more details." >&2;}
 8750    { (exit 1); exit 1; }; } ;;
 8751 esac
 8752 else
 8753   if test "$cross_compiling" = yes; then
 8754   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 8755 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 8756    { (exit 1); exit 1; }; }
 8757 else
 8758   cat >conftest.$ac_ext <<_ACEOF
 8759 /* confdefs.h.  */
 8760 _ACEOF
 8761 cat confdefs.h >>conftest.$ac_ext
 8762 cat >>conftest.$ac_ext <<_ACEOF
 8763 /* end confdefs.h.  */
 8764 $ac_includes_default
 8765 long longval () { return (long) (sizeof (short)); }
 8766 unsigned long ulongval () { return (long) (sizeof (short)); }
 8767 #include <stdio.h>
 8768 #include <stdlib.h>
 8769 int
 8770 main ()
 8771 {
 8772 
 8773   FILE *f = fopen ("conftest.val", "w");
 8774   if (! f)
 8775     exit (1);
 8776   if (((long) (sizeof (short))) < 0)
 8777     {
 8778       long i = longval ();
 8779       if (i != ((long) (sizeof (short))))
 8780     exit (1);
 8781       fprintf (f, "%ld\n", i);
 8782     }
 8783   else
 8784     {
 8785       unsigned long i = ulongval ();
 8786       if (i != ((long) (sizeof (short))))
 8787     exit (1);
 8788       fprintf (f, "%lu\n", i);
 8789     }
 8790   exit (ferror (f) || fclose (f) != 0);
 8791 
 8792   ;
 8793   return 0;
 8794 }
 8795 _ACEOF
 8796 rm -f conftest$ac_exeext
 8797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 8798   (eval $ac_link) 2>&5
 8799   ac_status=$?
 8800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8801   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 8802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8803   (eval $ac_try) 2>&5
 8804   ac_status=$?
 8805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8806   (exit $ac_status); }; }; then
 8807   ac_cv_sizeof_short=`cat conftest.val`
 8808 else
 8809   echo "$as_me: program exited with status $ac_status" >&5
 8810 echo "$as_me: failed program was:" >&5
 8811 sed 's/^/| /' conftest.$ac_ext >&5
 8812 
 8813 ( exit $ac_status )
 8814 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
 8815 See \`config.log' for more details." >&5
 8816 echo "$as_me: error: cannot compute sizeof (short), 77
 8817 See \`config.log' for more details." >&2;}
 8818    { (exit 1); exit 1; }; }
 8819 fi
 8820 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 8821 fi
 8822 fi
 8823 rm -f conftest.val
 8824 else
 8825   ac_cv_sizeof_short=0
 8826 fi
 8827 fi
 8828 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
 8829 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
 8830 cat >>confdefs.h <<_ACEOF
 8831 #define SIZEOF_SHORT $ac_cv_sizeof_short
 8832 _ACEOF
 8833 
 8834 
 8835     fi
 8836     FOUND=0
 8837     for dc_cv_loop in \$ac_cv_sizeof_int \$ac_cv_sizeof_long \$ac_cv_sizeof_short; do
 8838         dc_cv_size=`eval echo $dc_cv_loop`
 8839         dc_cv_name=`echo $dc_cv_loop | sed s/\\\$ac_cv_sizeof_//`
 8840         if test "$dc_cv_size" = "4"; then
 8841             if test "$dc_cv_name" = "int"; then
 8842                 echo "$as_me:$LINENO: checking for uint32_t" >&5
 8843 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
 8844 if test "${ac_cv_type_uint32_t+set}" = set; then
 8845   echo $ECHO_N "(cached) $ECHO_C" >&6
 8846 else
 8847   cat >conftest.$ac_ext <<_ACEOF
 8848 /* confdefs.h.  */
 8849 _ACEOF
 8850 cat confdefs.h >>conftest.$ac_ext
 8851 cat >>conftest.$ac_ext <<_ACEOF
 8852 /* end confdefs.h.  */
 8853 $ac_includes_default
 8854 int
 8855 main ()
 8856 {
 8857 if ((uint32_t *) 0)
 8858   return 0;
 8859 if (sizeof (uint32_t))
 8860   return 0;
 8861   ;
 8862   return 0;
 8863 }
 8864 _ACEOF
 8865 rm -f conftest.$ac_objext
 8866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8867   (eval $ac_compile) 2>conftest.er1
 8868   ac_status=$?
 8869   grep -v '^ *+' conftest.er1 >conftest.err
 8870   rm -f conftest.er1
 8871   cat conftest.err >&5
 8872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8873   (exit $ac_status); } &&
 8874      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8876   (eval $ac_try) 2>&5
 8877   ac_status=$?
 8878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8879   (exit $ac_status); }; } &&
 8880      { ac_try='test -s conftest.$ac_objext'
 8881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8882   (eval $ac_try) 2>&5
 8883   ac_status=$?
 8884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8885   (exit $ac_status); }; }; then
 8886   ac_cv_type_uint32_t=yes
 8887 else
 8888   echo "$as_me: failed program was:" >&5
 8889 sed 's/^/| /' conftest.$ac_ext >&5
 8890 
 8891 ac_cv_type_uint32_t=no
 8892 fi
 8893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8894 fi
 8895 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
 8896 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
 8897 if test $ac_cv_type_uint32_t = yes; then
 8898   :
 8899 else
 8900 
 8901 cat >>confdefs.h <<_ACEOF
 8902 #define uint32_t unsigned int
 8903 _ACEOF
 8904 
 8905 fi
 8906 
 8907             fi
 8908             if test "$dc_cv_name" = "long"; then
 8909                 echo "$as_me:$LINENO: checking for uint32_t" >&5
 8910 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
 8911 if test "${ac_cv_type_uint32_t+set}" = set; then
 8912   echo $ECHO_N "(cached) $ECHO_C" >&6
 8913 else
 8914   cat >conftest.$ac_ext <<_ACEOF
 8915 /* confdefs.h.  */
 8916 _ACEOF
 8917 cat confdefs.h >>conftest.$ac_ext
 8918 cat >>conftest.$ac_ext <<_ACEOF
 8919 /* end confdefs.h.  */
 8920 $ac_includes_default
 8921 int
 8922 main ()
 8923 {
 8924 if ((uint32_t *) 0)
 8925   return 0;
 8926 if (sizeof (uint32_t))
 8927   return 0;
 8928   ;
 8929   return 0;
 8930 }
 8931 _ACEOF
 8932 rm -f conftest.$ac_objext
 8933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 8934   (eval $ac_compile) 2>conftest.er1
 8935   ac_status=$?
 8936   grep -v '^ *+' conftest.er1 >conftest.err
 8937   rm -f conftest.er1
 8938   cat conftest.err >&5
 8939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8940   (exit $ac_status); } &&
 8941      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 8942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8943   (eval $ac_try) 2>&5
 8944   ac_status=$?
 8945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8946   (exit $ac_status); }; } &&
 8947      { ac_try='test -s conftest.$ac_objext'
 8948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 8949   (eval $ac_try) 2>&5
 8950   ac_status=$?
 8951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 8952   (exit $ac_status); }; }; then
 8953   ac_cv_type_uint32_t=yes
 8954 else
 8955   echo "$as_me: failed program was:" >&5
 8956 sed 's/^/| /' conftest.$ac_ext >&5
 8957 
 8958 ac_cv_type_uint32_t=no
 8959 fi
 8960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 8961 fi
 8962 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
 8963 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
 8964 if test $ac_cv_type_uint32_t = yes; then
 8965   :
 8966 else
 8967 
 8968 cat >>confdefs.h <<_ACEOF
 8969 #define uint32_t unsigned long
 8970 _ACEOF
 8971 
 8972 fi
 8973 
 8974             fi
 8975             if test "$dc_cv_name" = "short"; then
 8976                 echo "$as_me:$LINENO: checking for uint32_t" >&5
 8977 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
 8978 if test "${ac_cv_type_uint32_t+set}" = set; then
 8979   echo $ECHO_N "(cached) $ECHO_C" >&6
 8980 else
 8981   cat >conftest.$ac_ext <<_ACEOF
 8982 /* confdefs.h.  */
 8983 _ACEOF
 8984 cat confdefs.h >>conftest.$ac_ext
 8985 cat >>conftest.$ac_ext <<_ACEOF
 8986 /* end confdefs.h.  */
 8987 $ac_includes_default
 8988 int
 8989 main ()
 8990 {
 8991 if ((uint32_t *) 0)
 8992   return 0;
 8993 if (sizeof (uint32_t))
 8994   return 0;
 8995   ;
 8996   return 0;
 8997 }
 8998 _ACEOF
 8999 rm -f conftest.$ac_objext
 9000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9001   (eval $ac_compile) 2>conftest.er1
 9002   ac_status=$?
 9003   grep -v '^ *+' conftest.er1 >conftest.err
 9004   rm -f conftest.er1
 9005   cat conftest.err >&5
 9006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9007   (exit $ac_status); } &&
 9008      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9010   (eval $ac_try) 2>&5
 9011   ac_status=$?
 9012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9013   (exit $ac_status); }; } &&
 9014      { ac_try='test -s conftest.$ac_objext'
 9015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9016   (eval $ac_try) 2>&5
 9017   ac_status=$?
 9018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9019   (exit $ac_status); }; }; then
 9020   ac_cv_type_uint32_t=yes
 9021 else
 9022   echo "$as_me: failed program was:" >&5
 9023 sed 's/^/| /' conftest.$ac_ext >&5
 9024 
 9025 ac_cv_type_uint32_t=no
 9026 fi
 9027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9028 fi
 9029 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
 9030 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
 9031 if test $ac_cv_type_uint32_t = yes; then
 9032   :
 9033 else
 9034 
 9035 cat >>confdefs.h <<_ACEOF
 9036 #define uint32_t unsigned short
 9037 _ACEOF
 9038 
 9039 fi
 9040 
 9041             fi
 9042             FOUND=1
 9043             break
 9044         fi
 9045     done
 9046 
 9047 
 9048     if test -z "$ac_cv_sizeof_long"; then
 9049         echo "$as_me:$LINENO: checking for inline" >&5
 9050 echo $ECHO_N "checking for inline... $ECHO_C" >&6
 9051 if test "${ac_cv_c_inline+set}" = set; then
 9052   echo $ECHO_N "(cached) $ECHO_C" >&6
 9053 else
 9054   ac_cv_c_inline=no
 9055 for ac_kw in inline __inline__ __inline; do
 9056   cat >conftest.$ac_ext <<_ACEOF
 9057 /* confdefs.h.  */
 9058 _ACEOF
 9059 cat confdefs.h >>conftest.$ac_ext
 9060 cat >>conftest.$ac_ext <<_ACEOF
 9061 /* end confdefs.h.  */
 9062 #ifndef __cplusplus
 9063 typedef int foo_t;
 9064 static $ac_kw foo_t static_foo () {return 0; }
 9065 $ac_kw foo_t foo () {return 0; }
 9066 #endif
 9067 
 9068 _ACEOF
 9069 rm -f conftest.$ac_objext
 9070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9071   (eval $ac_compile) 2>conftest.er1
 9072   ac_status=$?
 9073   grep -v '^ *+' conftest.er1 >conftest.err
 9074   rm -f conftest.er1
 9075   cat conftest.err >&5
 9076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9077   (exit $ac_status); } &&
 9078      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9080   (eval $ac_try) 2>&5
 9081   ac_status=$?
 9082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9083   (exit $ac_status); }; } &&
 9084      { ac_try='test -s conftest.$ac_objext'
 9085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9086   (eval $ac_try) 2>&5
 9087   ac_status=$?
 9088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9089   (exit $ac_status); }; }; then
 9090   ac_cv_c_inline=$ac_kw; break
 9091 else
 9092   echo "$as_me: failed program was:" >&5
 9093 sed 's/^/| /' conftest.$ac_ext >&5
 9094 
 9095 fi
 9096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9097 done
 9098 
 9099 fi
 9100 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 9101 echo "${ECHO_T}$ac_cv_c_inline" >&6
 9102 
 9103 
 9104 case $ac_cv_c_inline in
 9105   inline | yes) ;;
 9106   *)
 9107     case $ac_cv_c_inline in
 9108       no) ac_val=;;
 9109       *) ac_val=$ac_cv_c_inline;;
 9110     esac
 9111     cat >>confdefs.h <<_ACEOF
 9112 #ifndef __cplusplus
 9113 #define inline $ac_val
 9114 #endif
 9115 _ACEOF
 9116     ;;
 9117 esac
 9118 
 9119         echo "$as_me:$LINENO: checking for long" >&5
 9120 echo $ECHO_N "checking for long... $ECHO_C" >&6
 9121 if test "${ac_cv_type_long+set}" = set; then
 9122   echo $ECHO_N "(cached) $ECHO_C" >&6
 9123 else
 9124   cat >conftest.$ac_ext <<_ACEOF
 9125 /* confdefs.h.  */
 9126 _ACEOF
 9127 cat confdefs.h >>conftest.$ac_ext
 9128 cat >>conftest.$ac_ext <<_ACEOF
 9129 /* end confdefs.h.  */
 9130 $ac_includes_default
 9131 int
 9132 main ()
 9133 {
 9134 if ((long *) 0)
 9135   return 0;
 9136 if (sizeof (long))
 9137   return 0;
 9138   ;
 9139   return 0;
 9140 }
 9141 _ACEOF
 9142 rm -f conftest.$ac_objext
 9143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9144   (eval $ac_compile) 2>conftest.er1
 9145   ac_status=$?
 9146   grep -v '^ *+' conftest.er1 >conftest.err
 9147   rm -f conftest.er1
 9148   cat conftest.err >&5
 9149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9150   (exit $ac_status); } &&
 9151      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9153   (eval $ac_try) 2>&5
 9154   ac_status=$?
 9155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9156   (exit $ac_status); }; } &&
 9157      { ac_try='test -s conftest.$ac_objext'
 9158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9159   (eval $ac_try) 2>&5
 9160   ac_status=$?
 9161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9162   (exit $ac_status); }; }; then
 9163   ac_cv_type_long=yes
 9164 else
 9165   echo "$as_me: failed program was:" >&5
 9166 sed 's/^/| /' conftest.$ac_ext >&5
 9167 
 9168 ac_cv_type_long=no
 9169 fi
 9170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9171 fi
 9172 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
 9173 echo "${ECHO_T}$ac_cv_type_long" >&6
 9174 
 9175 echo "$as_me:$LINENO: checking size of long" >&5
 9176 echo $ECHO_N "checking size of long... $ECHO_C" >&6
 9177 if test "${ac_cv_sizeof_long+set}" = set; then
 9178   echo $ECHO_N "(cached) $ECHO_C" >&6
 9179 else
 9180   if test "$ac_cv_type_long" = yes; then
 9181   # The cast to unsigned long works around a bug in the HP C Compiler
 9182   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 9183   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 9184   # This bug is HP SR number 8606223364.
 9185   if test "$cross_compiling" = yes; then
 9186   # Depending upon the size, compute the lo and hi bounds.
 9187 cat >conftest.$ac_ext <<_ACEOF
 9188 /* confdefs.h.  */
 9189 _ACEOF
 9190 cat confdefs.h >>conftest.$ac_ext
 9191 cat >>conftest.$ac_ext <<_ACEOF
 9192 /* end confdefs.h.  */
 9193 $ac_includes_default
 9194 int
 9195 main ()
 9196 {
 9197 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
 9198 test_array [0] = 0
 9199 
 9200   ;
 9201   return 0;
 9202 }
 9203 _ACEOF
 9204 rm -f conftest.$ac_objext
 9205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9206   (eval $ac_compile) 2>conftest.er1
 9207   ac_status=$?
 9208   grep -v '^ *+' conftest.er1 >conftest.err
 9209   rm -f conftest.er1
 9210   cat conftest.err >&5
 9211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9212   (exit $ac_status); } &&
 9213      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9215   (eval $ac_try) 2>&5
 9216   ac_status=$?
 9217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9218   (exit $ac_status); }; } &&
 9219      { ac_try='test -s conftest.$ac_objext'
 9220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9221   (eval $ac_try) 2>&5
 9222   ac_status=$?
 9223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9224   (exit $ac_status); }; }; then
 9225   ac_lo=0 ac_mid=0
 9226   while :; do
 9227     cat >conftest.$ac_ext <<_ACEOF
 9228 /* confdefs.h.  */
 9229 _ACEOF
 9230 cat confdefs.h >>conftest.$ac_ext
 9231 cat >>conftest.$ac_ext <<_ACEOF
 9232 /* end confdefs.h.  */
 9233 $ac_includes_default
 9234 int
 9235 main ()
 9236 {
 9237 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 9238 test_array [0] = 0
 9239 
 9240   ;
 9241   return 0;
 9242 }
 9243 _ACEOF
 9244 rm -f conftest.$ac_objext
 9245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9246   (eval $ac_compile) 2>conftest.er1
 9247   ac_status=$?
 9248   grep -v '^ *+' conftest.er1 >conftest.err
 9249   rm -f conftest.er1
 9250   cat conftest.err >&5
 9251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9252   (exit $ac_status); } &&
 9253      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9255   (eval $ac_try) 2>&5
 9256   ac_status=$?
 9257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9258   (exit $ac_status); }; } &&
 9259      { ac_try='test -s conftest.$ac_objext'
 9260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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_hi=$ac_mid; break
 9266 else
 9267   echo "$as_me: failed program was:" >&5
 9268 sed 's/^/| /' conftest.$ac_ext >&5
 9269 
 9270 ac_lo=`expr $ac_mid + 1`
 9271             if test $ac_lo -le $ac_mid; then
 9272               ac_lo= ac_hi=
 9273               break
 9274             fi
 9275             ac_mid=`expr 2 '*' $ac_mid + 1`
 9276 fi
 9277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9278   done
 9279 else
 9280   echo "$as_me: failed program was:" >&5
 9281 sed 's/^/| /' conftest.$ac_ext >&5
 9282 
 9283 cat >conftest.$ac_ext <<_ACEOF
 9284 /* confdefs.h.  */
 9285 _ACEOF
 9286 cat confdefs.h >>conftest.$ac_ext
 9287 cat >>conftest.$ac_ext <<_ACEOF
 9288 /* end confdefs.h.  */
 9289 $ac_includes_default
 9290 int
 9291 main ()
 9292 {
 9293 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
 9294 test_array [0] = 0
 9295 
 9296   ;
 9297   return 0;
 9298 }
 9299 _ACEOF
 9300 rm -f conftest.$ac_objext
 9301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9302   (eval $ac_compile) 2>conftest.er1
 9303   ac_status=$?
 9304   grep -v '^ *+' conftest.er1 >conftest.err
 9305   rm -f conftest.er1
 9306   cat conftest.err >&5
 9307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9308   (exit $ac_status); } &&
 9309      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9311   (eval $ac_try) 2>&5
 9312   ac_status=$?
 9313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9314   (exit $ac_status); }; } &&
 9315      { ac_try='test -s conftest.$ac_objext'
 9316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9317   (eval $ac_try) 2>&5
 9318   ac_status=$?
 9319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9320   (exit $ac_status); }; }; then
 9321   ac_hi=-1 ac_mid=-1
 9322   while :; do
 9323     cat >conftest.$ac_ext <<_ACEOF
 9324 /* confdefs.h.  */
 9325 _ACEOF
 9326 cat confdefs.h >>conftest.$ac_ext
 9327 cat >>conftest.$ac_ext <<_ACEOF
 9328 /* end confdefs.h.  */
 9329 $ac_includes_default
 9330 int
 9331 main ()
 9332 {
 9333 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
 9334 test_array [0] = 0
 9335 
 9336   ;
 9337   return 0;
 9338 }
 9339 _ACEOF
 9340 rm -f conftest.$ac_objext
 9341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9342   (eval $ac_compile) 2>conftest.er1
 9343   ac_status=$?
 9344   grep -v '^ *+' conftest.er1 >conftest.err
 9345   rm -f conftest.er1
 9346   cat conftest.err >&5
 9347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9348   (exit $ac_status); } &&
 9349      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9351   (eval $ac_try) 2>&5
 9352   ac_status=$?
 9353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9354   (exit $ac_status); }; } &&
 9355      { ac_try='test -s conftest.$ac_objext'
 9356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9357   (eval $ac_try) 2>&5
 9358   ac_status=$?
 9359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9360   (exit $ac_status); }; }; then
 9361   ac_lo=$ac_mid; break
 9362 else
 9363   echo "$as_me: failed program was:" >&5
 9364 sed 's/^/| /' conftest.$ac_ext >&5
 9365 
 9366 ac_hi=`expr '(' $ac_mid ')' - 1`
 9367                if test $ac_mid -le $ac_hi; then
 9368              ac_lo= ac_hi=
 9369              break
 9370                fi
 9371                ac_mid=`expr 2 '*' $ac_mid`
 9372 fi
 9373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9374   done
 9375 else
 9376   echo "$as_me: failed program was:" >&5
 9377 sed 's/^/| /' conftest.$ac_ext >&5
 9378 
 9379 ac_lo= ac_hi=
 9380 fi
 9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9382 fi
 9383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9384 # Binary search between lo and hi bounds.
 9385 while test "x$ac_lo" != "x$ac_hi"; do
 9386   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 9387   cat >conftest.$ac_ext <<_ACEOF
 9388 /* confdefs.h.  */
 9389 _ACEOF
 9390 cat confdefs.h >>conftest.$ac_ext
 9391 cat >>conftest.$ac_ext <<_ACEOF
 9392 /* end confdefs.h.  */
 9393 $ac_includes_default
 9394 int
 9395 main ()
 9396 {
 9397 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
 9398 test_array [0] = 0
 9399 
 9400   ;
 9401   return 0;
 9402 }
 9403 _ACEOF
 9404 rm -f conftest.$ac_objext
 9405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9406   (eval $ac_compile) 2>conftest.er1
 9407   ac_status=$?
 9408   grep -v '^ *+' conftest.er1 >conftest.err
 9409   rm -f conftest.er1
 9410   cat conftest.err >&5
 9411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9412   (exit $ac_status); } &&
 9413      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9415   (eval $ac_try) 2>&5
 9416   ac_status=$?
 9417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9418   (exit $ac_status); }; } &&
 9419      { ac_try='test -s conftest.$ac_objext'
 9420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9421   (eval $ac_try) 2>&5
 9422   ac_status=$?
 9423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9424   (exit $ac_status); }; }; then
 9425   ac_hi=$ac_mid
 9426 else
 9427   echo "$as_me: failed program was:" >&5
 9428 sed 's/^/| /' conftest.$ac_ext >&5
 9429 
 9430 ac_lo=`expr '(' $ac_mid ')' + 1`
 9431 fi
 9432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9433 done
 9434 case $ac_lo in
 9435 ?*) ac_cv_sizeof_long=$ac_lo;;
 9436 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 9437 See \`config.log' for more details." >&5
 9438 echo "$as_me: error: cannot compute sizeof (long), 77
 9439 See \`config.log' for more details." >&2;}
 9440    { (exit 1); exit 1; }; } ;;
 9441 esac
 9442 else
 9443   if test "$cross_compiling" = yes; then
 9444   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 9445 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 9446    { (exit 1); exit 1; }; }
 9447 else
 9448   cat >conftest.$ac_ext <<_ACEOF
 9449 /* confdefs.h.  */
 9450 _ACEOF
 9451 cat confdefs.h >>conftest.$ac_ext
 9452 cat >>conftest.$ac_ext <<_ACEOF
 9453 /* end confdefs.h.  */
 9454 $ac_includes_default
 9455 long longval () { return (long) (sizeof (long)); }
 9456 unsigned long ulongval () { return (long) (sizeof (long)); }
 9457 #include <stdio.h>
 9458 #include <stdlib.h>
 9459 int
 9460 main ()
 9461 {
 9462 
 9463   FILE *f = fopen ("conftest.val", "w");
 9464   if (! f)
 9465     exit (1);
 9466   if (((long) (sizeof (long))) < 0)
 9467     {
 9468       long i = longval ();
 9469       if (i != ((long) (sizeof (long))))
 9470     exit (1);
 9471       fprintf (f, "%ld\n", i);
 9472     }
 9473   else
 9474     {
 9475       unsigned long i = ulongval ();
 9476       if (i != ((long) (sizeof (long))))
 9477     exit (1);
 9478       fprintf (f, "%lu\n", i);
 9479     }
 9480   exit (ferror (f) || fclose (f) != 0);
 9481 
 9482   ;
 9483   return 0;
 9484 }
 9485 _ACEOF
 9486 rm -f conftest$ac_exeext
 9487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9488   (eval $ac_link) 2>&5
 9489   ac_status=$?
 9490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9491   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 9492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9493   (eval $ac_try) 2>&5
 9494   ac_status=$?
 9495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9496   (exit $ac_status); }; }; then
 9497   ac_cv_sizeof_long=`cat conftest.val`
 9498 else
 9499   echo "$as_me: program exited with status $ac_status" >&5
 9500 echo "$as_me: failed program was:" >&5
 9501 sed 's/^/| /' conftest.$ac_ext >&5
 9502 
 9503 ( exit $ac_status )
 9504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
 9505 See \`config.log' for more details." >&5
 9506 echo "$as_me: error: cannot compute sizeof (long), 77
 9507 See \`config.log' for more details." >&2;}
 9508    { (exit 1); exit 1; }; }
 9509 fi
 9510 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 9511 fi
 9512 fi
 9513 rm -f conftest.val
 9514 else
 9515   ac_cv_sizeof_long=0
 9516 fi
 9517 fi
 9518 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
 9519 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
 9520 cat >>confdefs.h <<_ACEOF
 9521 #define SIZEOF_LONG $ac_cv_sizeof_long
 9522 _ACEOF
 9523 
 9524 
 9525         echo "$as_me:$LINENO: checking for int" >&5
 9526 echo $ECHO_N "checking for int... $ECHO_C" >&6
 9527 if test "${ac_cv_type_int+set}" = set; then
 9528   echo $ECHO_N "(cached) $ECHO_C" >&6
 9529 else
 9530   cat >conftest.$ac_ext <<_ACEOF
 9531 /* confdefs.h.  */
 9532 _ACEOF
 9533 cat confdefs.h >>conftest.$ac_ext
 9534 cat >>conftest.$ac_ext <<_ACEOF
 9535 /* end confdefs.h.  */
 9536 $ac_includes_default
 9537 int
 9538 main ()
 9539 {
 9540 if ((int *) 0)
 9541   return 0;
 9542 if (sizeof (int))
 9543   return 0;
 9544   ;
 9545   return 0;
 9546 }
 9547 _ACEOF
 9548 rm -f conftest.$ac_objext
 9549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9550   (eval $ac_compile) 2>conftest.er1
 9551   ac_status=$?
 9552   grep -v '^ *+' conftest.er1 >conftest.err
 9553   rm -f conftest.er1
 9554   cat conftest.err >&5
 9555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9556   (exit $ac_status); } &&
 9557      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9559   (eval $ac_try) 2>&5
 9560   ac_status=$?
 9561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9562   (exit $ac_status); }; } &&
 9563      { ac_try='test -s conftest.$ac_objext'
 9564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9565   (eval $ac_try) 2>&5
 9566   ac_status=$?
 9567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9568   (exit $ac_status); }; }; then
 9569   ac_cv_type_int=yes
 9570 else
 9571   echo "$as_me: failed program was:" >&5
 9572 sed 's/^/| /' conftest.$ac_ext >&5
 9573 
 9574 ac_cv_type_int=no
 9575 fi
 9576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9577 fi
 9578 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
 9579 echo "${ECHO_T}$ac_cv_type_int" >&6
 9580 
 9581 echo "$as_me:$LINENO: checking size of int" >&5
 9582 echo $ECHO_N "checking size of int... $ECHO_C" >&6
 9583 if test "${ac_cv_sizeof_int+set}" = set; then
 9584   echo $ECHO_N "(cached) $ECHO_C" >&6
 9585 else
 9586   if test "$ac_cv_type_int" = yes; then
 9587   # The cast to unsigned long works around a bug in the HP C Compiler
 9588   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 9589   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 9590   # This bug is HP SR number 8606223364.
 9591   if test "$cross_compiling" = yes; then
 9592   # Depending upon the size, compute the lo and hi bounds.
 9593 cat >conftest.$ac_ext <<_ACEOF
 9594 /* confdefs.h.  */
 9595 _ACEOF
 9596 cat confdefs.h >>conftest.$ac_ext
 9597 cat >>conftest.$ac_ext <<_ACEOF
 9598 /* end confdefs.h.  */
 9599 $ac_includes_default
 9600 int
 9601 main ()
 9602 {
 9603 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
 9604 test_array [0] = 0
 9605 
 9606   ;
 9607   return 0;
 9608 }
 9609 _ACEOF
 9610 rm -f conftest.$ac_objext
 9611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9612   (eval $ac_compile) 2>conftest.er1
 9613   ac_status=$?
 9614   grep -v '^ *+' conftest.er1 >conftest.err
 9615   rm -f conftest.er1
 9616   cat conftest.err >&5
 9617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9618   (exit $ac_status); } &&
 9619      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9621   (eval $ac_try) 2>&5
 9622   ac_status=$?
 9623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9624   (exit $ac_status); }; } &&
 9625      { ac_try='test -s conftest.$ac_objext'
 9626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9627   (eval $ac_try) 2>&5
 9628   ac_status=$?
 9629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9630   (exit $ac_status); }; }; then
 9631   ac_lo=0 ac_mid=0
 9632   while :; do
 9633     cat >conftest.$ac_ext <<_ACEOF
 9634 /* confdefs.h.  */
 9635 _ACEOF
 9636 cat confdefs.h >>conftest.$ac_ext
 9637 cat >>conftest.$ac_ext <<_ACEOF
 9638 /* end confdefs.h.  */
 9639 $ac_includes_default
 9640 int
 9641 main ()
 9642 {
 9643 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 9644 test_array [0] = 0
 9645 
 9646   ;
 9647   return 0;
 9648 }
 9649 _ACEOF
 9650 rm -f conftest.$ac_objext
 9651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9652   (eval $ac_compile) 2>conftest.er1
 9653   ac_status=$?
 9654   grep -v '^ *+' conftest.er1 >conftest.err
 9655   rm -f conftest.er1
 9656   cat conftest.err >&5
 9657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9658   (exit $ac_status); } &&
 9659      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9661   (eval $ac_try) 2>&5
 9662   ac_status=$?
 9663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9664   (exit $ac_status); }; } &&
 9665      { ac_try='test -s conftest.$ac_objext'
 9666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9667   (eval $ac_try) 2>&5
 9668   ac_status=$?
 9669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9670   (exit $ac_status); }; }; then
 9671   ac_hi=$ac_mid; break
 9672 else
 9673   echo "$as_me: failed program was:" >&5
 9674 sed 's/^/| /' conftest.$ac_ext >&5
 9675 
 9676 ac_lo=`expr $ac_mid + 1`
 9677             if test $ac_lo -le $ac_mid; then
 9678               ac_lo= ac_hi=
 9679               break
 9680             fi
 9681             ac_mid=`expr 2 '*' $ac_mid + 1`
 9682 fi
 9683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9684   done
 9685 else
 9686   echo "$as_me: failed program was:" >&5
 9687 sed 's/^/| /' conftest.$ac_ext >&5
 9688 
 9689 cat >conftest.$ac_ext <<_ACEOF
 9690 /* confdefs.h.  */
 9691 _ACEOF
 9692 cat confdefs.h >>conftest.$ac_ext
 9693 cat >>conftest.$ac_ext <<_ACEOF
 9694 /* end confdefs.h.  */
 9695 $ac_includes_default
 9696 int
 9697 main ()
 9698 {
 9699 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
 9700 test_array [0] = 0
 9701 
 9702   ;
 9703   return 0;
 9704 }
 9705 _ACEOF
 9706 rm -f conftest.$ac_objext
 9707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9708   (eval $ac_compile) 2>conftest.er1
 9709   ac_status=$?
 9710   grep -v '^ *+' conftest.er1 >conftest.err
 9711   rm -f conftest.er1
 9712   cat conftest.err >&5
 9713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9714   (exit $ac_status); } &&
 9715      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9717   (eval $ac_try) 2>&5
 9718   ac_status=$?
 9719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9720   (exit $ac_status); }; } &&
 9721      { ac_try='test -s conftest.$ac_objext'
 9722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9723   (eval $ac_try) 2>&5
 9724   ac_status=$?
 9725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9726   (exit $ac_status); }; }; then
 9727   ac_hi=-1 ac_mid=-1
 9728   while :; do
 9729     cat >conftest.$ac_ext <<_ACEOF
 9730 /* confdefs.h.  */
 9731 _ACEOF
 9732 cat confdefs.h >>conftest.$ac_ext
 9733 cat >>conftest.$ac_ext <<_ACEOF
 9734 /* end confdefs.h.  */
 9735 $ac_includes_default
 9736 int
 9737 main ()
 9738 {
 9739 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
 9740 test_array [0] = 0
 9741 
 9742   ;
 9743   return 0;
 9744 }
 9745 _ACEOF
 9746 rm -f conftest.$ac_objext
 9747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9748   (eval $ac_compile) 2>conftest.er1
 9749   ac_status=$?
 9750   grep -v '^ *+' conftest.er1 >conftest.err
 9751   rm -f conftest.er1
 9752   cat conftest.err >&5
 9753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9754   (exit $ac_status); } &&
 9755      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9757   (eval $ac_try) 2>&5
 9758   ac_status=$?
 9759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9760   (exit $ac_status); }; } &&
 9761      { ac_try='test -s conftest.$ac_objext'
 9762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9763   (eval $ac_try) 2>&5
 9764   ac_status=$?
 9765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9766   (exit $ac_status); }; }; then
 9767   ac_lo=$ac_mid; break
 9768 else
 9769   echo "$as_me: failed program was:" >&5
 9770 sed 's/^/| /' conftest.$ac_ext >&5
 9771 
 9772 ac_hi=`expr '(' $ac_mid ')' - 1`
 9773                if test $ac_mid -le $ac_hi; then
 9774              ac_lo= ac_hi=
 9775              break
 9776                fi
 9777                ac_mid=`expr 2 '*' $ac_mid`
 9778 fi
 9779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9780   done
 9781 else
 9782   echo "$as_me: failed program was:" >&5
 9783 sed 's/^/| /' conftest.$ac_ext >&5
 9784 
 9785 ac_lo= ac_hi=
 9786 fi
 9787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9788 fi
 9789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9790 # Binary search between lo and hi bounds.
 9791 while test "x$ac_lo" != "x$ac_hi"; do
 9792   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
 9793   cat >conftest.$ac_ext <<_ACEOF
 9794 /* confdefs.h.  */
 9795 _ACEOF
 9796 cat confdefs.h >>conftest.$ac_ext
 9797 cat >>conftest.$ac_ext <<_ACEOF
 9798 /* end confdefs.h.  */
 9799 $ac_includes_default
 9800 int
 9801 main ()
 9802 {
 9803 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
 9804 test_array [0] = 0
 9805 
 9806   ;
 9807   return 0;
 9808 }
 9809 _ACEOF
 9810 rm -f conftest.$ac_objext
 9811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9812   (eval $ac_compile) 2>conftest.er1
 9813   ac_status=$?
 9814   grep -v '^ *+' conftest.er1 >conftest.err
 9815   rm -f conftest.er1
 9816   cat conftest.err >&5
 9817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9818   (exit $ac_status); } &&
 9819      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9821   (eval $ac_try) 2>&5
 9822   ac_status=$?
 9823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9824   (exit $ac_status); }; } &&
 9825      { ac_try='test -s conftest.$ac_objext'
 9826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9827   (eval $ac_try) 2>&5
 9828   ac_status=$?
 9829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9830   (exit $ac_status); }; }; then
 9831   ac_hi=$ac_mid
 9832 else
 9833   echo "$as_me: failed program was:" >&5
 9834 sed 's/^/| /' conftest.$ac_ext >&5
 9835 
 9836 ac_lo=`expr '(' $ac_mid ')' + 1`
 9837 fi
 9838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9839 done
 9840 case $ac_lo in
 9841 ?*) ac_cv_sizeof_int=$ac_lo;;
 9842 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 9843 See \`config.log' for more details." >&5
 9844 echo "$as_me: error: cannot compute sizeof (int), 77
 9845 See \`config.log' for more details." >&2;}
 9846    { (exit 1); exit 1; }; } ;;
 9847 esac
 9848 else
 9849   if test "$cross_compiling" = yes; then
 9850   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
 9851 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
 9852    { (exit 1); exit 1; }; }
 9853 else
 9854   cat >conftest.$ac_ext <<_ACEOF
 9855 /* confdefs.h.  */
 9856 _ACEOF
 9857 cat confdefs.h >>conftest.$ac_ext
 9858 cat >>conftest.$ac_ext <<_ACEOF
 9859 /* end confdefs.h.  */
 9860 $ac_includes_default
 9861 long longval () { return (long) (sizeof (int)); }
 9862 unsigned long ulongval () { return (long) (sizeof (int)); }
 9863 #include <stdio.h>
 9864 #include <stdlib.h>
 9865 int
 9866 main ()
 9867 {
 9868 
 9869   FILE *f = fopen ("conftest.val", "w");
 9870   if (! f)
 9871     exit (1);
 9872   if (((long) (sizeof (int))) < 0)
 9873     {
 9874       long i = longval ();
 9875       if (i != ((long) (sizeof (int))))
 9876     exit (1);
 9877       fprintf (f, "%ld\n", i);
 9878     }
 9879   else
 9880     {
 9881       unsigned long i = ulongval ();
 9882       if (i != ((long) (sizeof (int))))
 9883     exit (1);
 9884       fprintf (f, "%lu\n", i);
 9885     }
 9886   exit (ferror (f) || fclose (f) != 0);
 9887 
 9888   ;
 9889   return 0;
 9890 }
 9891 _ACEOF
 9892 rm -f conftest$ac_exeext
 9893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 9894   (eval $ac_link) 2>&5
 9895   ac_status=$?
 9896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9897   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 9898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9899   (eval $ac_try) 2>&5
 9900   ac_status=$?
 9901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9902   (exit $ac_status); }; }; then
 9903   ac_cv_sizeof_int=`cat conftest.val`
 9904 else
 9905   echo "$as_me: program exited with status $ac_status" >&5
 9906 echo "$as_me: failed program was:" >&5
 9907 sed 's/^/| /' conftest.$ac_ext >&5
 9908 
 9909 ( exit $ac_status )
 9910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
 9911 See \`config.log' for more details." >&5
 9912 echo "$as_me: error: cannot compute sizeof (int), 77
 9913 See \`config.log' for more details." >&2;}
 9914    { (exit 1); exit 1; }; }
 9915 fi
 9916 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 9917 fi
 9918 fi
 9919 rm -f conftest.val
 9920 else
 9921   ac_cv_sizeof_int=0
 9922 fi
 9923 fi
 9924 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
 9925 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
 9926 cat >>confdefs.h <<_ACEOF
 9927 #define SIZEOF_INT $ac_cv_sizeof_int
 9928 _ACEOF
 9929 
 9930 
 9931         echo "$as_me:$LINENO: checking for short" >&5
 9932 echo $ECHO_N "checking for short... $ECHO_C" >&6
 9933 if test "${ac_cv_type_short+set}" = set; then
 9934   echo $ECHO_N "(cached) $ECHO_C" >&6
 9935 else
 9936   cat >conftest.$ac_ext <<_ACEOF
 9937 /* confdefs.h.  */
 9938 _ACEOF
 9939 cat confdefs.h >>conftest.$ac_ext
 9940 cat >>conftest.$ac_ext <<_ACEOF
 9941 /* end confdefs.h.  */
 9942 $ac_includes_default
 9943 int
 9944 main ()
 9945 {
 9946 if ((short *) 0)
 9947   return 0;
 9948 if (sizeof (short))
 9949   return 0;
 9950   ;
 9951   return 0;
 9952 }
 9953 _ACEOF
 9954 rm -f conftest.$ac_objext
 9955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 9956   (eval $ac_compile) 2>conftest.er1
 9957   ac_status=$?
 9958   grep -v '^ *+' conftest.er1 >conftest.err
 9959   rm -f conftest.er1
 9960   cat conftest.err >&5
 9961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9962   (exit $ac_status); } &&
 9963      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
 9964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9965   (eval $ac_try) 2>&5
 9966   ac_status=$?
 9967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9968   (exit $ac_status); }; } &&
 9969      { ac_try='test -s conftest.$ac_objext'
 9970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 9971   (eval $ac_try) 2>&5
 9972   ac_status=$?
 9973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 9974   (exit $ac_status); }; }; then
 9975   ac_cv_type_short=yes
 9976 else
 9977   echo "$as_me: failed program was:" >&5
 9978 sed 's/^/| /' conftest.$ac_ext >&5
 9979 
 9980 ac_cv_type_short=no
 9981 fi
 9982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 9983 fi
 9984 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
 9985 echo "${ECHO_T}$ac_cv_type_short" >&6
 9986 
 9987 echo "$as_me:$LINENO: checking size of short" >&5
 9988 echo $ECHO_N "checking size of short... $ECHO_C" >&6
 9989 if test "${ac_cv_sizeof_short+set}" = set; then
 9990   echo $ECHO_N "(cached) $ECHO_C" >&6
 9991 else
 9992   if test "$ac_cv_type_short" = yes; then
 9993   # The cast to unsigned long works around a bug in the HP C Compiler
 9994   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 9995   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 9996   # This bug is HP SR number 8606223364.
 9997   if test "$cross_compiling" = yes; then
 9998   # Depending upon the size, compute the lo and hi bounds.
 9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h.  */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h.  */
10005 $ac_includes_default
10006 int
10007 main ()
10008 {
10009 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
10010 test_array [0] = 0
10011 
10012   ;
10013   return 0;
10014 }
10015 _ACEOF
10016 rm -f conftest.$ac_objext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10018   (eval $ac_compile) 2>conftest.er1
10019   ac_status=$?
10020   grep -v '^ *+' conftest.er1 >conftest.err
10021   rm -f conftest.er1
10022   cat conftest.err >&5
10023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024   (exit $ac_status); } &&
10025      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10027   (eval $ac_try) 2>&5
10028   ac_status=$?
10029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030   (exit $ac_status); }; } &&
10031      { ac_try='test -s conftest.$ac_objext'
10032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033   (eval $ac_try) 2>&5
10034   ac_status=$?
10035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036   (exit $ac_status); }; }; then
10037   ac_lo=0 ac_mid=0
10038   while :; do
10039     cat >conftest.$ac_ext <<_ACEOF
10040 /* confdefs.h.  */
10041 _ACEOF
10042 cat confdefs.h >>conftest.$ac_ext
10043 cat >>conftest.$ac_ext <<_ACEOF
10044 /* end confdefs.h.  */
10045 $ac_includes_default
10046 int
10047 main ()
10048 {
10049 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
10050 test_array [0] = 0
10051 
10052   ;
10053   return 0;
10054 }
10055 _ACEOF
10056 rm -f conftest.$ac_objext
10057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10058   (eval $ac_compile) 2>conftest.er1
10059   ac_status=$?
10060   grep -v '^ *+' conftest.er1 >conftest.err
10061   rm -f conftest.er1
10062   cat conftest.err >&5
10063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064   (exit $ac_status); } &&
10065      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067   (eval $ac_try) 2>&5
10068   ac_status=$?
10069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10070   (exit $ac_status); }; } &&
10071      { ac_try='test -s conftest.$ac_objext'
10072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10073   (eval $ac_try) 2>&5
10074   ac_status=$?
10075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076   (exit $ac_status); }; }; then
10077   ac_hi=$ac_mid; break
10078 else
10079   echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.$ac_ext >&5
10081 
10082 ac_lo=`expr $ac_mid + 1`
10083             if test $ac_lo -le $ac_mid; then
10084               ac_lo= ac_hi=
10085               break
10086             fi
10087             ac_mid=`expr 2 '*' $ac_mid + 1`
10088 fi
10089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10090   done
10091 else
10092   echo "$as_me: failed program was:" >&5
10093 sed 's/^/| /' conftest.$ac_ext >&5
10094 
10095 cat >conftest.$ac_ext <<_ACEOF
10096 /* confdefs.h.  */
10097 _ACEOF
10098 cat confdefs.h >>conftest.$ac_ext
10099 cat >>conftest.$ac_ext <<_ACEOF
10100 /* end confdefs.h.  */
10101 $ac_includes_default
10102 int
10103 main ()
10104 {
10105 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
10106 test_array [0] = 0
10107 
10108   ;
10109   return 0;
10110 }
10111 _ACEOF
10112 rm -f conftest.$ac_objext
10113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10114   (eval $ac_compile) 2>conftest.er1
10115   ac_status=$?
10116   grep -v '^ *+' conftest.er1 >conftest.err
10117   rm -f conftest.er1
10118   cat conftest.err >&5
10119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120   (exit $ac_status); } &&
10121      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10123   (eval $ac_try) 2>&5
10124   ac_status=$?
10125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126   (exit $ac_status); }; } &&
10127      { ac_try='test -s conftest.$ac_objext'
10128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10129   (eval $ac_try) 2>&5
10130   ac_status=$?
10131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132   (exit $ac_status); }; }; then
10133   ac_hi=-1 ac_mid=-1
10134   while :; do
10135     cat >conftest.$ac_ext <<_ACEOF
10136 /* confdefs.h.  */
10137 _ACEOF
10138 cat confdefs.h >>conftest.$ac_ext
10139 cat >>conftest.$ac_ext <<_ACEOF
10140 /* end confdefs.h.  */
10141 $ac_includes_default
10142 int
10143 main ()
10144 {
10145 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
10146 test_array [0] = 0
10147 
10148   ;
10149   return 0;
10150 }
10151 _ACEOF
10152 rm -f conftest.$ac_objext
10153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154   (eval $ac_compile) 2>conftest.er1
10155   ac_status=$?
10156   grep -v '^ *+' conftest.er1 >conftest.err
10157   rm -f conftest.er1
10158   cat conftest.err >&5
10159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160   (exit $ac_status); } &&
10161      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10163   (eval $ac_try) 2>&5
10164   ac_status=$?
10165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166   (exit $ac_status); }; } &&
10167      { ac_try='test -s conftest.$ac_objext'
10168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169   (eval $ac_try) 2>&5
10170   ac_status=$?
10171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172   (exit $ac_status); }; }; then
10173   ac_lo=$ac_mid; break
10174 else
10175   echo "$as_me: failed program was:" >&5
10176 sed 's/^/| /' conftest.$ac_ext >&5
10177 
10178 ac_hi=`expr '(' $ac_mid ')' - 1`
10179                if test $ac_mid -le $ac_hi; then
10180              ac_lo= ac_hi=
10181              break
10182                fi
10183                ac_mid=`expr 2 '*' $ac_mid`
10184 fi
10185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10186   done
10187 else
10188   echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.$ac_ext >&5
10190 
10191 ac_lo= ac_hi=
10192 fi
10193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10194 fi
10195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10196 # Binary search between lo and hi bounds.
10197 while test "x$ac_lo" != "x$ac_hi"; do
10198   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10199   cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h.  */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h.  */
10205 $ac_includes_default
10206 int
10207 main ()
10208 {
10209 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
10210 test_array [0] = 0
10211 
10212   ;
10213   return 0;
10214 }
10215 _ACEOF
10216 rm -f conftest.$ac_objext
10217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10218   (eval $ac_compile) 2>conftest.er1
10219   ac_status=$?
10220   grep -v '^ *+' conftest.er1 >conftest.err
10221   rm -f conftest.er1
10222   cat conftest.err >&5
10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224   (exit $ac_status); } &&
10225      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227   (eval $ac_try) 2>&5
10228   ac_status=$?
10229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230   (exit $ac_status); }; } &&
10231      { ac_try='test -s conftest.$ac_objext'
10232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233   (eval $ac_try) 2>&5
10234   ac_status=$?
10235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236   (exit $ac_status); }; }; then
10237   ac_hi=$ac_mid
10238 else
10239   echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10241 
10242 ac_lo=`expr '(' $ac_mid ')' + 1`
10243 fi
10244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10245 done
10246 case $ac_lo in
10247 ?*) ac_cv_sizeof_short=$ac_lo;;
10248 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
10249 See \`config.log' for more details." >&5
10250 echo "$as_me: error: cannot compute sizeof (short), 77
10251 See \`config.log' for more details." >&2;}
10252    { (exit 1); exit 1; }; } ;;
10253 esac
10254 else
10255   if test "$cross_compiling" = yes; then
10256   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
10257 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
10258    { (exit 1); exit 1; }; }
10259 else
10260   cat >conftest.$ac_ext <<_ACEOF
10261 /* confdefs.h.  */
10262 _ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h.  */
10266 $ac_includes_default
10267 long longval () { return (long) (sizeof (short)); }
10268 unsigned long ulongval () { return (long) (sizeof (short)); }
10269 #include <stdio.h>
10270 #include <stdlib.h>
10271 int
10272 main ()
10273 {
10274 
10275   FILE *f = fopen ("conftest.val", "w");
10276   if (! f)
10277     exit (1);
10278   if (((long) (sizeof (short))) < 0)
10279     {
10280       long i = longval ();
10281       if (i != ((long) (sizeof (short))))
10282     exit (1);
10283       fprintf (f, "%ld\n", i);
10284     }
10285   else
10286     {
10287       unsigned long i = ulongval ();
10288       if (i != ((long) (sizeof (short))))
10289     exit (1);
10290       fprintf (f, "%lu\n", i);
10291     }
10292   exit (ferror (f) || fclose (f) != 0);
10293 
10294   ;
10295   return 0;
10296 }
10297 _ACEOF
10298 rm -f conftest$ac_exeext
10299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10300   (eval $ac_link) 2>&5
10301   ac_status=$?
10302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305   (eval $ac_try) 2>&5
10306   ac_status=$?
10307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308   (exit $ac_status); }; }; then
10309   ac_cv_sizeof_short=`cat conftest.val`
10310 else
10311   echo "$as_me: program exited with status $ac_status" >&5
10312 echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.$ac_ext >&5
10314 
10315 ( exit $ac_status )
10316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
10317 See \`config.log' for more details." >&5
10318 echo "$as_me: error: cannot compute sizeof (short), 77
10319 See \`config.log' for more details." >&2;}
10320    { (exit 1); exit 1; }; }
10321 fi
10322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10323 fi
10324 fi
10325 rm -f conftest.val
10326 else
10327   ac_cv_sizeof_short=0
10328 fi
10329 fi
10330 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
10331 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
10332 cat >>confdefs.h <<_ACEOF
10333 #define SIZEOF_SHORT $ac_cv_sizeof_short
10334 _ACEOF
10335 
10336 
10337     fi
10338     FOUND=0
10339     for dc_cv_loop in \$ac_cv_sizeof_int \$ac_cv_sizeof_long \$ac_cv_sizeof_short; do
10340         dc_cv_size=`eval echo $dc_cv_loop`
10341         dc_cv_name=`echo $dc_cv_loop | sed s/\\\$ac_cv_sizeof_//`
10342         if test "$dc_cv_size" = "4"; then
10343             if test "$dc_cv_name" = "int"; then
10344                 echo "$as_me:$LINENO: checking for int32_t" >&5
10345 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
10346 if test "${ac_cv_type_int32_t+set}" = set; then
10347   echo $ECHO_N "(cached) $ECHO_C" >&6
10348 else
10349   cat >conftest.$ac_ext <<_ACEOF
10350 /* confdefs.h.  */
10351 _ACEOF
10352 cat confdefs.h >>conftest.$ac_ext
10353 cat >>conftest.$ac_ext <<_ACEOF
10354 /* end confdefs.h.  */
10355 $ac_includes_default
10356 int
10357 main ()
10358 {
10359 if ((int32_t *) 0)
10360   return 0;
10361 if (sizeof (int32_t))
10362   return 0;
10363   ;
10364   return 0;
10365 }
10366 _ACEOF
10367 rm -f conftest.$ac_objext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10369   (eval $ac_compile) 2>conftest.er1
10370   ac_status=$?
10371   grep -v '^ *+' conftest.er1 >conftest.err
10372   rm -f conftest.er1
10373   cat conftest.err >&5
10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375   (exit $ac_status); } &&
10376      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378   (eval $ac_try) 2>&5
10379   ac_status=$?
10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381   (exit $ac_status); }; } &&
10382      { ac_try='test -s conftest.$ac_objext'
10383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384   (eval $ac_try) 2>&5
10385   ac_status=$?
10386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387   (exit $ac_status); }; }; then
10388   ac_cv_type_int32_t=yes
10389 else
10390   echo "$as_me: failed program was:" >&5
10391 sed 's/^/| /' conftest.$ac_ext >&5
10392 
10393 ac_cv_type_int32_t=no
10394 fi
10395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10396 fi
10397 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
10398 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
10399 if test $ac_cv_type_int32_t = yes; then
10400   :
10401 else
10402 
10403 cat >>confdefs.h <<_ACEOF
10404 #define int32_t signed int
10405 _ACEOF
10406 
10407 fi
10408 
10409             fi
10410             if test "$dc_cv_name" = "long"; then
10411                 echo "$as_me:$LINENO: checking for int32_t" >&5
10412 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
10413 if test "${ac_cv_type_int32_t+set}" = set; then
10414   echo $ECHO_N "(cached) $ECHO_C" >&6
10415 else
10416   cat >conftest.$ac_ext <<_ACEOF
10417 /* confdefs.h.  */
10418 _ACEOF
10419 cat confdefs.h >>conftest.$ac_ext
10420 cat >>conftest.$ac_ext <<_ACEOF
10421 /* end confdefs.h.  */
10422 $ac_includes_default
10423 int
10424 main ()
10425 {
10426 if ((int32_t *) 0)
10427   return 0;
10428 if (sizeof (int32_t))
10429   return 0;
10430   ;
10431   return 0;
10432 }
10433 _ACEOF
10434 rm -f conftest.$ac_objext
10435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10436   (eval $ac_compile) 2>conftest.er1
10437   ac_status=$?
10438   grep -v '^ *+' conftest.er1 >conftest.err
10439   rm -f conftest.er1
10440   cat conftest.err >&5
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); } &&
10443      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10445   (eval $ac_try) 2>&5
10446   ac_status=$?
10447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10448   (exit $ac_status); }; } &&
10449      { ac_try='test -s conftest.$ac_objext'
10450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10451   (eval $ac_try) 2>&5
10452   ac_status=$?
10453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454   (exit $ac_status); }; }; then
10455   ac_cv_type_int32_t=yes
10456 else
10457   echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10459 
10460 ac_cv_type_int32_t=no
10461 fi
10462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10463 fi
10464 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
10465 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
10466 if test $ac_cv_type_int32_t = yes; then
10467   :
10468 else
10469 
10470 cat >>confdefs.h <<_ACEOF
10471 #define int32_t signed long
10472 _ACEOF
10473 
10474 fi
10475 
10476             fi
10477             if test "$dc_cv_name" = "short"; then
10478                 echo "$as_me:$LINENO: checking for int32_t" >&5
10479 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
10480 if test "${ac_cv_type_int32_t+set}" = set; then
10481   echo $ECHO_N "(cached) $ECHO_C" >&6
10482 else
10483   cat >conftest.$ac_ext <<_ACEOF
10484 /* confdefs.h.  */
10485 _ACEOF
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h.  */
10489 $ac_includes_default
10490 int
10491 main ()
10492 {
10493 if ((int32_t *) 0)
10494   return 0;
10495 if (sizeof (int32_t))
10496   return 0;
10497   ;
10498   return 0;
10499 }
10500 _ACEOF
10501 rm -f conftest.$ac_objext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10503   (eval $ac_compile) 2>conftest.er1
10504   ac_status=$?
10505   grep -v '^ *+' conftest.er1 >conftest.err
10506   rm -f conftest.er1
10507   cat conftest.err >&5
10508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509   (exit $ac_status); } &&
10510      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512   (eval $ac_try) 2>&5
10513   ac_status=$?
10514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515   (exit $ac_status); }; } &&
10516      { ac_try='test -s conftest.$ac_objext'
10517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518   (eval $ac_try) 2>&5
10519   ac_status=$?
10520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521   (exit $ac_status); }; }; then
10522   ac_cv_type_int32_t=yes
10523 else
10524   echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.$ac_ext >&5
10526 
10527 ac_cv_type_int32_t=no
10528 fi
10529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10530 fi
10531 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
10532 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
10533 if test $ac_cv_type_int32_t = yes; then
10534   :
10535 else
10536 
10537 cat >>confdefs.h <<_ACEOF
10538 #define int32_t signed short
10539 _ACEOF
10540 
10541 fi
10542 
10543             fi
10544             FOUND=1
10545             break
10546         fi
10547     done
10548 
10549 
10550     if test -z "$ac_cv_sizeof_long"; then
10551         echo "$as_me:$LINENO: checking for inline" >&5
10552 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10553 if test "${ac_cv_c_inline+set}" = set; then
10554   echo $ECHO_N "(cached) $ECHO_C" >&6
10555 else
10556   ac_cv_c_inline=no
10557 for ac_kw in inline __inline__ __inline; do
10558   cat >conftest.$ac_ext <<_ACEOF
10559 /* confdefs.h.  */
10560 _ACEOF
10561 cat confdefs.h >>conftest.$ac_ext
10562 cat >>conftest.$ac_ext <<_ACEOF
10563 /* end confdefs.h.  */
10564 #ifndef __cplusplus
10565 typedef int foo_t;
10566 static $ac_kw foo_t static_foo () {return 0; }
10567 $ac_kw foo_t foo () {return 0; }
10568 #endif
10569 
10570 _ACEOF
10571 rm -f conftest.$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573   (eval $ac_compile) 2>conftest.er1
10574   ac_status=$?
10575   grep -v '^ *+' conftest.er1 >conftest.err
10576   rm -f conftest.er1
10577   cat conftest.err >&5
10578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10579   (exit $ac_status); } &&
10580      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10582   (eval $ac_try) 2>&5
10583   ac_status=$?
10584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585   (exit $ac_status); }; } &&
10586      { ac_try='test -s conftest.$ac_objext'
10587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588   (eval $ac_try) 2>&5
10589   ac_status=$?
10590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591   (exit $ac_status); }; }; then
10592   ac_cv_c_inline=$ac_kw; break
10593 else
10594   echo "$as_me: failed program was:" >&5
10595 sed 's/^/| /' conftest.$ac_ext >&5
10596 
10597 fi
10598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10599 done
10600 
10601 fi
10602 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10603 echo "${ECHO_T}$ac_cv_c_inline" >&6
10604 
10605 
10606 case $ac_cv_c_inline in
10607   inline | yes) ;;
10608   *)
10609     case $ac_cv_c_inline in
10610       no) ac_val=;;
10611       *) ac_val=$ac_cv_c_inline;;
10612     esac
10613     cat >>confdefs.h <<_ACEOF
10614 #ifndef __cplusplus
10615 #define inline $ac_val
10616 #endif
10617 _ACEOF
10618     ;;
10619 esac
10620 
10621         echo "$as_me:$LINENO: checking for long" >&5
10622 echo $ECHO_N "checking for long... $ECHO_C" >&6
10623 if test "${ac_cv_type_long+set}" = set; then
10624   echo $ECHO_N "(cached) $ECHO_C" >&6
10625 else
10626   cat >conftest.$ac_ext <<_ACEOF
10627 /* confdefs.h.  */
10628 _ACEOF
10629 cat confdefs.h >>conftest.$ac_ext
10630 cat >>conftest.$ac_ext <<_ACEOF
10631 /* end confdefs.h.  */
10632 $ac_includes_default
10633 int
10634 main ()
10635 {
10636 if ((long *) 0)
10637   return 0;
10638 if (sizeof (long))
10639   return 0;
10640   ;
10641   return 0;
10642 }
10643 _ACEOF
10644 rm -f conftest.$ac_objext
10645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10646   (eval $ac_compile) 2>conftest.er1
10647   ac_status=$?
10648   grep -v '^ *+' conftest.er1 >conftest.err
10649   rm -f conftest.er1
10650   cat conftest.err >&5
10651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652   (exit $ac_status); } &&
10653      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655   (eval $ac_try) 2>&5
10656   ac_status=$?
10657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658   (exit $ac_status); }; } &&
10659      { ac_try='test -s conftest.$ac_objext'
10660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661   (eval $ac_try) 2>&5
10662   ac_status=$?
10663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664   (exit $ac_status); }; }; then
10665   ac_cv_type_long=yes
10666 else
10667   echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10669 
10670 ac_cv_type_long=no
10671 fi
10672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10673 fi
10674 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
10675 echo "${ECHO_T}$ac_cv_type_long" >&6
10676 
10677 echo "$as_me:$LINENO: checking size of long" >&5
10678 echo $ECHO_N "checking size of long... $ECHO_C" >&6
10679 if test "${ac_cv_sizeof_long+set}" = set; then
10680   echo $ECHO_N "(cached) $ECHO_C" >&6
10681 else
10682   if test "$ac_cv_type_long" = yes; then
10683   # The cast to unsigned long works around a bug in the HP C Compiler
10684   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
10685   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
10686   # This bug is HP SR number 8606223364.
10687   if test "$cross_compiling" = yes; then
10688   # Depending upon the size, compute the lo and hi bounds.
10689 cat >conftest.$ac_ext <<_ACEOF
10690 /* confdefs.h.  */
10691 _ACEOF
10692 cat confdefs.h >>conftest.$ac_ext
10693 cat >>conftest.$ac_ext <<_ACEOF
10694 /* end confdefs.h.  */
10695 $ac_includes_default
10696 int
10697 main ()
10698 {
10699 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
10700 test_array [0] = 0
10701 
10702   ;
10703   return 0;
10704 }
10705 _ACEOF
10706 rm -f conftest.$ac_objext
10707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10708   (eval $ac_compile) 2>conftest.er1
10709   ac_status=$?
10710   grep -v '^ *+' conftest.er1 >conftest.err
10711   rm -f conftest.er1
10712   cat conftest.err >&5
10713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714   (exit $ac_status); } &&
10715      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10717   (eval $ac_try) 2>&5
10718   ac_status=$?
10719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720   (exit $ac_status); }; } &&
10721      { ac_try='test -s conftest.$ac_objext'
10722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10723   (eval $ac_try) 2>&5
10724   ac_status=$?
10725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726   (exit $ac_status); }; }; then
10727   ac_lo=0 ac_mid=0
10728   while :; do
10729     cat >conftest.$ac_ext <<_ACEOF
10730 /* confdefs.h.  */
10731 _ACEOF
10732 cat confdefs.h >>conftest.$ac_ext
10733 cat >>conftest.$ac_ext <<_ACEOF
10734 /* end confdefs.h.  */
10735 $ac_includes_default
10736 int
10737 main ()
10738 {
10739 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10740 test_array [0] = 0
10741 
10742   ;
10743   return 0;
10744 }
10745 _ACEOF
10746 rm -f conftest.$ac_objext
10747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10748   (eval $ac_compile) 2>conftest.er1
10749   ac_status=$?
10750   grep -v '^ *+' conftest.er1 >conftest.err
10751   rm -f conftest.er1
10752   cat conftest.err >&5
10753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10754   (exit $ac_status); } &&
10755      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10757   (eval $ac_try) 2>&5
10758   ac_status=$?
10759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760   (exit $ac_status); }; } &&
10761      { ac_try='test -s conftest.$ac_objext'
10762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10763   (eval $ac_try) 2>&5
10764   ac_status=$?
10765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766   (exit $ac_status); }; }; then
10767   ac_hi=$ac_mid; break
10768 else
10769   echo "$as_me: failed program was:" >&5
10770 sed 's/^/| /' conftest.$ac_ext >&5
10771 
10772 ac_lo=`expr $ac_mid + 1`
10773             if test $ac_lo -le $ac_mid; then
10774               ac_lo= ac_hi=
10775               break
10776             fi
10777             ac_mid=`expr 2 '*' $ac_mid + 1`
10778 fi
10779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10780   done
10781 else
10782   echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10784 
10785 cat >conftest.$ac_ext <<_ACEOF
10786 /* confdefs.h.  */
10787 _ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h.  */
10791 $ac_includes_default
10792 int
10793 main ()
10794 {
10795 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
10796 test_array [0] = 0
10797 
10798   ;
10799   return 0;
10800 }
10801 _ACEOF
10802 rm -f conftest.$ac_objext
10803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10804   (eval $ac_compile) 2>conftest.er1
10805   ac_status=$?
10806   grep -v '^ *+' conftest.er1 >conftest.err
10807   rm -f conftest.er1
10808   cat conftest.err >&5
10809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810   (exit $ac_status); } &&
10811      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813   (eval $ac_try) 2>&5
10814   ac_status=$?
10815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816   (exit $ac_status); }; } &&
10817      { ac_try='test -s conftest.$ac_objext'
10818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819   (eval $ac_try) 2>&5
10820   ac_status=$?
10821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822   (exit $ac_status); }; }; then
10823   ac_hi=-1 ac_mid=-1
10824   while :; do
10825     cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h.  */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h.  */
10831 $ac_includes_default
10832 int
10833 main ()
10834 {
10835 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10836 test_array [0] = 0
10837 
10838   ;
10839   return 0;
10840 }
10841 _ACEOF
10842 rm -f conftest.$ac_objext
10843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10844   (eval $ac_compile) 2>conftest.er1
10845   ac_status=$?
10846   grep -v '^ *+' conftest.er1 >conftest.err
10847   rm -f conftest.er1
10848   cat conftest.err >&5
10849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850   (exit $ac_status); } &&
10851      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853   (eval $ac_try) 2>&5
10854   ac_status=$?
10855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856   (exit $ac_status); }; } &&
10857      { ac_try='test -s conftest.$ac_objext'
10858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859   (eval $ac_try) 2>&5
10860   ac_status=$?
10861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862   (exit $ac_status); }; }; then
10863   ac_lo=$ac_mid; break
10864 else
10865   echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.$ac_ext >&5
10867 
10868 ac_hi=`expr '(' $ac_mid ')' - 1`
10869                if test $ac_mid -le $ac_hi; then
10870              ac_lo= ac_hi=
10871              break
10872                fi
10873                ac_mid=`expr 2 '*' $ac_mid`
10874 fi
10875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10876   done
10877 else
10878   echo "$as_me: failed program was:" >&5
10879 sed 's/^/| /' conftest.$ac_ext >&5
10880 
10881 ac_lo= ac_hi=
10882 fi
10883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10884 fi
10885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10886 # Binary search between lo and hi bounds.
10887 while test "x$ac_lo" != "x$ac_hi"; do
10888   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10889   cat >conftest.$ac_ext <<_ACEOF
10890 /* confdefs.h.  */
10891 _ACEOF
10892 cat confdefs.h >>conftest.$ac_ext
10893 cat >>conftest.$ac_ext <<_ACEOF
10894 /* end confdefs.h.  */
10895 $ac_includes_default
10896 int
10897 main ()
10898 {
10899 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10900 test_array [0] = 0
10901 
10902   ;
10903   return 0;
10904 }
10905 _ACEOF
10906 rm -f conftest.$ac_objext
10907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10908   (eval $ac_compile) 2>conftest.er1
10909   ac_status=$?
10910   grep -v '^ *+' conftest.er1 >conftest.err
10911   rm -f conftest.er1
10912   cat conftest.err >&5
10913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914   (exit $ac_status); } &&
10915      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
10916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10917   (eval $ac_try) 2>&5
10918   ac_status=$?
10919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920   (exit $ac_status); }; } &&
10921      { ac_try='test -s conftest.$ac_objext'
10922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923   (eval $ac_try) 2>&5
10924   ac_status=$?
10925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926   (exit $ac_status); }; }; then
10927   ac_hi=$ac_mid
10928 else
10929   echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.$ac_ext >&5
10931 
10932 ac_lo=`expr '(' $ac_mid ')' + 1`
10933 fi
10934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10935 done
10936 case $ac_lo in
10937 ?*) ac_cv_sizeof_long=$ac_lo;;
10938 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10939 See \`config.log' for more details." >&5
10940 echo "$as_me: error: cannot compute sizeof (long), 77
10941 See \`config.log' for more details." >&2;}
10942    { (exit 1); exit 1; }; } ;;
10943 esac
10944 else
10945   if test "$cross_compiling" = yes; then
10946   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
10947 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
10948    { (exit 1); exit 1; }; }
10949 else
10950   cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h.  */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h.  */
10956 $ac_includes_default
10957 long longval () { return (long) (sizeof (long)); }
10958 unsigned long ulongval () { return (long) (sizeof (long)); }
10959 #include <stdio.h>
10960 #include <stdlib.h>
10961 int
10962 main ()
10963 {
10964 
10965   FILE *f = fopen ("conftest.val", "w");
10966   if (! f)
10967     exit (1);
10968   if (((long) (sizeof (long))) < 0)
10969     {
10970       long i = longval ();
10971       if (i != ((long) (sizeof (long))))
10972     exit (1);
10973       fprintf (f, "%ld\n", i);
10974     }
10975   else
10976     {
10977       unsigned long i = ulongval ();
10978       if (i != ((long) (sizeof (long))))
10979     exit (1);
10980       fprintf (f, "%lu\n", i);
10981     }
10982   exit (ferror (f) || fclose (f) != 0);
10983 
10984   ;
10985   return 0;
10986 }
10987 _ACEOF
10988 rm -f conftest$ac_exeext
10989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10990   (eval $ac_link) 2>&5
10991   ac_status=$?
10992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995   (eval $ac_try) 2>&5
10996   ac_status=$?
10997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998   (exit $ac_status); }; }; then
10999   ac_cv_sizeof_long=`cat conftest.val`
11000 else
11001   echo "$as_me: program exited with status $ac_status" >&5
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11004 
11005 ( exit $ac_status )
11006 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
11007 See \`config.log' for more details." >&5
11008 echo "$as_me: error: cannot compute sizeof (long), 77
11009 See \`config.log' for more details." >&2;}
11010    { (exit 1); exit 1; }; }
11011 fi
11012 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11013 fi
11014 fi
11015 rm -f conftest.val
11016 else
11017   ac_cv_sizeof_long=0
11018 fi
11019 fi
11020 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
11021 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
11022 cat >>confdefs.h <<_ACEOF
11023 #define SIZEOF_LONG $ac_cv_sizeof_long
11024 _ACEOF
11025 
11026 
11027         echo "$as_me:$LINENO: checking for int" >&5
11028 echo $ECHO_N "checking for int... $ECHO_C" >&6
11029 if test "${ac_cv_type_int+set}" = set; then
11030   echo $ECHO_N "(cached) $ECHO_C" >&6
11031 else
11032   cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h.  */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h.  */
11038 $ac_includes_default
11039 int
11040 main ()
11041 {
11042 if ((int *) 0)
11043   return 0;
11044 if (sizeof (int))
11045   return 0;
11046   ;
11047   return 0;
11048 }
11049 _ACEOF
11050 rm -f conftest.$ac_objext
11051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11052   (eval $ac_compile) 2>conftest.er1
11053   ac_status=$?
11054   grep -v '^ *+' conftest.er1 >conftest.err
11055   rm -f conftest.er1
11056   cat conftest.err >&5
11057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058   (exit $ac_status); } &&
11059      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11061   (eval $ac_try) 2>&5
11062   ac_status=$?
11063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064   (exit $ac_status); }; } &&
11065      { ac_try='test -s conftest.$ac_objext'
11066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067   (eval $ac_try) 2>&5
11068   ac_status=$?
11069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070   (exit $ac_status); }; }; then
11071   ac_cv_type_int=yes
11072 else
11073   echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5
11075 
11076 ac_cv_type_int=no
11077 fi
11078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11079 fi
11080 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11081 echo "${ECHO_T}$ac_cv_type_int" >&6
11082 
11083 echo "$as_me:$LINENO: checking size of int" >&5
11084 echo $ECHO_N "checking size of int... $ECHO_C" >&6
11085 if test "${ac_cv_sizeof_int+set}" = set; then
11086   echo $ECHO_N "(cached) $ECHO_C" >&6
11087 else
11088   if test "$ac_cv_type_int" = yes; then
11089   # The cast to unsigned long works around a bug in the HP C Compiler
11090   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11091   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11092   # This bug is HP SR number 8606223364.
11093   if test "$cross_compiling" = yes; then
11094   # Depending upon the size, compute the lo and hi bounds.
11095 cat >conftest.$ac_ext <<_ACEOF
11096 /* confdefs.h.  */
11097 _ACEOF
11098 cat confdefs.h >>conftest.$ac_ext
11099 cat >>conftest.$ac_ext <<_ACEOF
11100 /* end confdefs.h.  */
11101 $ac_includes_default
11102 int
11103 main ()
11104 {
11105 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
11106 test_array [0] = 0
11107 
11108   ;
11109   return 0;
11110 }
11111 _ACEOF
11112 rm -f conftest.$ac_objext
11113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11114   (eval $ac_compile) 2>conftest.er1
11115   ac_status=$?
11116   grep -v '^ *+' conftest.er1 >conftest.err
11117   rm -f conftest.er1
11118   cat conftest.err >&5
11119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120   (exit $ac_status); } &&
11121      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11123   (eval $ac_try) 2>&5
11124   ac_status=$?
11125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126   (exit $ac_status); }; } &&
11127      { ac_try='test -s conftest.$ac_objext'
11128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129   (eval $ac_try) 2>&5
11130   ac_status=$?
11131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132   (exit $ac_status); }; }; then
11133   ac_lo=0 ac_mid=0
11134   while :; do
11135     cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h.  */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h.  */
11141 $ac_includes_default
11142 int
11143 main ()
11144 {
11145 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11146 test_array [0] = 0
11147 
11148   ;
11149   return 0;
11150 }
11151 _ACEOF
11152 rm -f conftest.$ac_objext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11154   (eval $ac_compile) 2>conftest.er1
11155   ac_status=$?
11156   grep -v '^ *+' conftest.er1 >conftest.err
11157   rm -f conftest.er1
11158   cat conftest.err >&5
11159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160   (exit $ac_status); } &&
11161      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163   (eval $ac_try) 2>&5
11164   ac_status=$?
11165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166   (exit $ac_status); }; } &&
11167      { ac_try='test -s conftest.$ac_objext'
11168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169   (eval $ac_try) 2>&5
11170   ac_status=$?
11171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172   (exit $ac_status); }; }; then
11173   ac_hi=$ac_mid; break
11174 else
11175   echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11177 
11178 ac_lo=`expr $ac_mid + 1`
11179             if test $ac_lo -le $ac_mid; then
11180               ac_lo= ac_hi=
11181               break
11182             fi
11183             ac_mid=`expr 2 '*' $ac_mid + 1`
11184 fi
11185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11186   done
11187 else
11188   echo "$as_me: failed program was:" >&5
11189 sed 's/^/| /' conftest.$ac_ext >&5
11190 
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h.  */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h.  */
11197 $ac_includes_default
11198 int
11199 main ()
11200 {
11201 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
11202 test_array [0] = 0
11203 
11204   ;
11205   return 0;
11206 }
11207 _ACEOF
11208 rm -f conftest.$ac_objext
11209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11210   (eval $ac_compile) 2>conftest.er1
11211   ac_status=$?
11212   grep -v '^ *+' conftest.er1 >conftest.err
11213   rm -f conftest.er1
11214   cat conftest.err >&5
11215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216   (exit $ac_status); } &&
11217      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11219   (eval $ac_try) 2>&5
11220   ac_status=$?
11221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222   (exit $ac_status); }; } &&
11223      { ac_try='test -s conftest.$ac_objext'
11224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225   (eval $ac_try) 2>&5
11226   ac_status=$?
11227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228   (exit $ac_status); }; }; then
11229   ac_hi=-1 ac_mid=-1
11230   while :; do
11231     cat >conftest.$ac_ext <<_ACEOF
11232 /* confdefs.h.  */
11233 _ACEOF
11234 cat confdefs.h >>conftest.$ac_ext
11235 cat >>conftest.$ac_ext <<_ACEOF
11236 /* end confdefs.h.  */
11237 $ac_includes_default
11238 int
11239 main ()
11240 {
11241 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
11242 test_array [0] = 0
11243 
11244   ;
11245   return 0;
11246 }
11247 _ACEOF
11248 rm -f conftest.$ac_objext
11249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11250   (eval $ac_compile) 2>conftest.er1
11251   ac_status=$?
11252   grep -v '^ *+' conftest.er1 >conftest.err
11253   rm -f conftest.er1
11254   cat conftest.err >&5
11255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256   (exit $ac_status); } &&
11257      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259   (eval $ac_try) 2>&5
11260   ac_status=$?
11261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262   (exit $ac_status); }; } &&
11263      { ac_try='test -s conftest.$ac_objext'
11264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11265   (eval $ac_try) 2>&5
11266   ac_status=$?
11267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268   (exit $ac_status); }; }; then
11269   ac_lo=$ac_mid; break
11270 else
11271   echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11273 
11274 ac_hi=`expr '(' $ac_mid ')' - 1`
11275                if test $ac_mid -le $ac_hi; then
11276              ac_lo= ac_hi=
11277              break
11278                fi
11279                ac_mid=`expr 2 '*' $ac_mid`
11280 fi
11281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11282   done
11283 else
11284   echo "$as_me: failed program was:" >&5
11285 sed 's/^/| /' conftest.$ac_ext >&5
11286 
11287 ac_lo= ac_hi=
11288 fi
11289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11290 fi
11291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11292 # Binary search between lo and hi bounds.
11293 while test "x$ac_lo" != "x$ac_hi"; do
11294   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11295   cat >conftest.$ac_ext <<_ACEOF
11296 /* confdefs.h.  */
11297 _ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h.  */
11301 $ac_includes_default
11302 int
11303 main ()
11304 {
11305 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
11306 test_array [0] = 0
11307 
11308   ;
11309   return 0;
11310 }
11311 _ACEOF
11312 rm -f conftest.$ac_objext
11313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11314   (eval $ac_compile) 2>conftest.er1
11315   ac_status=$?
11316   grep -v '^ *+' conftest.er1 >conftest.err
11317   rm -f conftest.er1
11318   cat conftest.err >&5
11319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320   (exit $ac_status); } &&
11321      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11323   (eval $ac_try) 2>&5
11324   ac_status=$?
11325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326   (exit $ac_status); }; } &&
11327      { ac_try='test -s conftest.$ac_objext'
11328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11329   (eval $ac_try) 2>&5
11330   ac_status=$?
11331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332   (exit $ac_status); }; }; then
11333   ac_hi=$ac_mid
11334 else
11335   echo "$as_me: failed program was:" >&5
11336 sed 's/^/| /' conftest.$ac_ext >&5
11337 
11338 ac_lo=`expr '(' $ac_mid ')' + 1`
11339 fi
11340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11341 done
11342 case $ac_lo in
11343 ?*) ac_cv_sizeof_int=$ac_lo;;
11344 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11345 See \`config.log' for more details." >&5
11346 echo "$as_me: error: cannot compute sizeof (int), 77
11347 See \`config.log' for more details." >&2;}
11348    { (exit 1); exit 1; }; } ;;
11349 esac
11350 else
11351   if test "$cross_compiling" = yes; then
11352   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11353 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11354    { (exit 1); exit 1; }; }
11355 else
11356   cat >conftest.$ac_ext <<_ACEOF
11357 /* confdefs.h.  */
11358 _ACEOF
11359 cat confdefs.h >>conftest.$ac_ext
11360 cat >>conftest.$ac_ext <<_ACEOF
11361 /* end confdefs.h.  */
11362 $ac_includes_default
11363 long longval () { return (long) (sizeof (int)); }
11364 unsigned long ulongval () { return (long) (sizeof (int)); }
11365 #include <stdio.h>
11366 #include <stdlib.h>
11367 int
11368 main ()
11369 {
11370 
11371   FILE *f = fopen ("conftest.val", "w");
11372   if (! f)
11373     exit (1);
11374   if (((long) (sizeof (int))) < 0)
11375     {
11376       long i = longval ();
11377       if (i != ((long) (sizeof (int))))
11378     exit (1);
11379       fprintf (f, "%ld\n", i);
11380     }
11381   else
11382     {
11383       unsigned long i = ulongval ();
11384       if (i != ((long) (sizeof (int))))
11385     exit (1);
11386       fprintf (f, "%lu\n", i);
11387     }
11388   exit (ferror (f) || fclose (f) != 0);
11389 
11390   ;
11391   return 0;
11392 }
11393 _ACEOF
11394 rm -f conftest$ac_exeext
11395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11396   (eval $ac_link) 2>&5
11397   ac_status=$?
11398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401   (eval $ac_try) 2>&5
11402   ac_status=$?
11403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404   (exit $ac_status); }; }; then
11405   ac_cv_sizeof_int=`cat conftest.val`
11406 else
11407   echo "$as_me: program exited with status $ac_status" >&5
11408 echo "$as_me: failed program was:" >&5
11409 sed 's/^/| /' conftest.$ac_ext >&5
11410 
11411 ( exit $ac_status )
11412 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
11413 See \`config.log' for more details." >&5
11414 echo "$as_me: error: cannot compute sizeof (int), 77
11415 See \`config.log' for more details." >&2;}
11416    { (exit 1); exit 1; }; }
11417 fi
11418 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11419 fi
11420 fi
11421 rm -f conftest.val
11422 else
11423   ac_cv_sizeof_int=0
11424 fi
11425 fi
11426 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11427 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11428 cat >>confdefs.h <<_ACEOF
11429 #define SIZEOF_INT $ac_cv_sizeof_int
11430 _ACEOF
11431 
11432 
11433         echo "$as_me:$LINENO: checking for short" >&5
11434 echo $ECHO_N "checking for short... $ECHO_C" >&6
11435 if test "${ac_cv_type_short+set}" = set; then
11436   echo $ECHO_N "(cached) $ECHO_C" >&6
11437 else
11438   cat >conftest.$ac_ext <<_ACEOF
11439 /* confdefs.h.  */
11440 _ACEOF
11441 cat confdefs.h >>conftest.$ac_ext
11442 cat >>conftest.$ac_ext <<_ACEOF
11443 /* end confdefs.h.  */
11444 $ac_includes_default
11445 int
11446 main ()
11447 {
11448 if ((short *) 0)
11449   return 0;
11450 if (sizeof (short))
11451   return 0;
11452   ;
11453   return 0;
11454 }
11455 _ACEOF
11456 rm -f conftest.$ac_objext
11457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11458   (eval $ac_compile) 2>conftest.er1
11459   ac_status=$?
11460   grep -v '^ *+' conftest.er1 >conftest.err
11461   rm -f conftest.er1
11462   cat conftest.err >&5
11463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464   (exit $ac_status); } &&
11465      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11467   (eval $ac_try) 2>&5
11468   ac_status=$?
11469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470   (exit $ac_status); }; } &&
11471      { ac_try='test -s conftest.$ac_objext'
11472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11473   (eval $ac_try) 2>&5
11474   ac_status=$?
11475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476   (exit $ac_status); }; }; then
11477   ac_cv_type_short=yes
11478 else
11479   echo "$as_me: failed program was:" >&5
11480 sed 's/^/| /' conftest.$ac_ext >&5
11481 
11482 ac_cv_type_short=no
11483 fi
11484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11485 fi
11486 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
11487 echo "${ECHO_T}$ac_cv_type_short" >&6
11488 
11489 echo "$as_me:$LINENO: checking size of short" >&5
11490 echo $ECHO_N "checking size of short... $ECHO_C" >&6
11491 if test "${ac_cv_sizeof_short+set}" = set; then
11492   echo $ECHO_N "(cached) $ECHO_C" >&6
11493 else
11494   if test "$ac_cv_type_short" = yes; then
11495   # The cast to unsigned long works around a bug in the HP C Compiler
11496   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11497   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11498   # This bug is HP SR number 8606223364.
11499   if test "$cross_compiling" = yes; then
11500   # Depending upon the size, compute the lo and hi bounds.
11501 cat >conftest.$ac_ext <<_ACEOF
11502 /* confdefs.h.  */
11503 _ACEOF
11504 cat confdefs.h >>conftest.$ac_ext
11505 cat >>conftest.$ac_ext <<_ACEOF
11506 /* end confdefs.h.  */
11507 $ac_includes_default
11508 int
11509 main ()
11510 {
11511 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
11512 test_array [0] = 0
11513 
11514   ;
11515   return 0;
11516 }
11517 _ACEOF
11518 rm -f conftest.$ac_objext
11519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11520   (eval $ac_compile) 2>conftest.er1
11521   ac_status=$?
11522   grep -v '^ *+' conftest.er1 >conftest.err
11523   rm -f conftest.er1
11524   cat conftest.err >&5
11525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11526   (exit $ac_status); } &&
11527      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11529   (eval $ac_try) 2>&5
11530   ac_status=$?
11531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532   (exit $ac_status); }; } &&
11533      { ac_try='test -s conftest.$ac_objext'
11534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11535   (eval $ac_try) 2>&5
11536   ac_status=$?
11537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538   (exit $ac_status); }; }; then
11539   ac_lo=0 ac_mid=0
11540   while :; do
11541     cat >conftest.$ac_ext <<_ACEOF
11542 /* confdefs.h.  */
11543 _ACEOF
11544 cat confdefs.h >>conftest.$ac_ext
11545 cat >>conftest.$ac_ext <<_ACEOF
11546 /* end confdefs.h.  */
11547 $ac_includes_default
11548 int
11549 main ()
11550 {
11551 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
11552 test_array [0] = 0
11553 
11554   ;
11555   return 0;
11556 }
11557 _ACEOF
11558 rm -f conftest.$ac_objext
11559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11560   (eval $ac_compile) 2>conftest.er1
11561   ac_status=$?
11562   grep -v '^ *+' conftest.er1 >conftest.err
11563   rm -f conftest.er1
11564   cat conftest.err >&5
11565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566   (exit $ac_status); } &&
11567      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569   (eval $ac_try) 2>&5
11570   ac_status=$?
11571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572   (exit $ac_status); }; } &&
11573      { ac_try='test -s conftest.$ac_objext'
11574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575   (eval $ac_try) 2>&5
11576   ac_status=$?
11577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578   (exit $ac_status); }; }; then
11579   ac_hi=$ac_mid; break
11580 else
11581   echo "$as_me: failed program was:" >&5
11582 sed 's/^/| /' conftest.$ac_ext >&5
11583 
11584 ac_lo=`expr $ac_mid + 1`
11585             if test $ac_lo -le $ac_mid; then
11586               ac_lo= ac_hi=
11587               break
11588             fi
11589             ac_mid=`expr 2 '*' $ac_mid + 1`
11590 fi
11591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11592   done
11593 else
11594   echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11596 
11597 cat >conftest.$ac_ext <<_ACEOF
11598 /* confdefs.h.  */
11599 _ACEOF
11600 cat confdefs.h >>conftest.$ac_ext
11601 cat >>conftest.$ac_ext <<_ACEOF
11602 /* end confdefs.h.  */
11603 $ac_includes_default
11604 int
11605 main ()
11606 {
11607 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
11608 test_array [0] = 0
11609 
11610   ;
11611   return 0;
11612 }
11613 _ACEOF
11614 rm -f conftest.$ac_objext
11615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616   (eval $ac_compile) 2>conftest.er1
11617   ac_status=$?
11618   grep -v '^ *+' conftest.er1 >conftest.err
11619   rm -f conftest.er1
11620   cat conftest.err >&5
11621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622   (exit $ac_status); } &&
11623      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625   (eval $ac_try) 2>&5
11626   ac_status=$?
11627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628   (exit $ac_status); }; } &&
11629      { ac_try='test -s conftest.$ac_objext'
11630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631   (eval $ac_try) 2>&5
11632   ac_status=$?
11633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634   (exit $ac_status); }; }; then
11635   ac_hi=-1 ac_mid=-1
11636   while :; do
11637     cat >conftest.$ac_ext <<_ACEOF
11638 /* confdefs.h.  */
11639 _ACEOF
11640 cat confdefs.h >>conftest.$ac_ext
11641 cat >>conftest.$ac_ext <<_ACEOF
11642 /* end confdefs.h.  */
11643 $ac_includes_default
11644 int
11645 main ()
11646 {
11647 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
11648 test_array [0] = 0
11649 
11650   ;
11651   return 0;
11652 }
11653 _ACEOF
11654 rm -f conftest.$ac_objext
11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11656   (eval $ac_compile) 2>conftest.er1
11657   ac_status=$?
11658   grep -v '^ *+' conftest.er1 >conftest.err
11659   rm -f conftest.er1
11660   cat conftest.err >&5
11661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662   (exit $ac_status); } &&
11663      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665   (eval $ac_try) 2>&5
11666   ac_status=$?
11667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668   (exit $ac_status); }; } &&
11669      { ac_try='test -s conftest.$ac_objext'
11670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671   (eval $ac_try) 2>&5
11672   ac_status=$?
11673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674   (exit $ac_status); }; }; then
11675   ac_lo=$ac_mid; break
11676 else
11677   echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.$ac_ext >&5
11679 
11680 ac_hi=`expr '(' $ac_mid ')' - 1`
11681                if test $ac_mid -le $ac_hi; then
11682              ac_lo= ac_hi=
11683              break
11684                fi
11685                ac_mid=`expr 2 '*' $ac_mid`
11686 fi
11687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11688   done
11689 else
11690   echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.$ac_ext >&5
11692 
11693 ac_lo= ac_hi=
11694 fi
11695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11696 fi
11697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11698 # Binary search between lo and hi bounds.
11699 while test "x$ac_lo" != "x$ac_hi"; do
11700   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11701   cat >conftest.$ac_ext <<_ACEOF
11702 /* confdefs.h.  */
11703 _ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h.  */
11707 $ac_includes_default
11708 int
11709 main ()
11710 {
11711 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
11712 test_array [0] = 0
11713 
11714   ;
11715   return 0;
11716 }
11717 _ACEOF
11718 rm -f conftest.$ac_objext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11720   (eval $ac_compile) 2>conftest.er1
11721   ac_status=$?
11722   grep -v '^ *+' conftest.er1 >conftest.err
11723   rm -f conftest.er1
11724   cat conftest.err >&5
11725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726   (exit $ac_status); } &&
11727      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729   (eval $ac_try) 2>&5
11730   ac_status=$?
11731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732   (exit $ac_status); }; } &&
11733      { ac_try='test -s conftest.$ac_objext'
11734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735   (eval $ac_try) 2>&5
11736   ac_status=$?
11737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738   (exit $ac_status); }; }; then
11739   ac_hi=$ac_mid
11740 else
11741   echo "$as_me: failed program was:" >&5
11742 sed 's/^/| /' conftest.$ac_ext >&5
11743 
11744 ac_lo=`expr '(' $ac_mid ')' + 1`
11745 fi
11746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11747 done
11748 case $ac_lo in
11749 ?*) ac_cv_sizeof_short=$ac_lo;;
11750 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
11751 See \`config.log' for more details." >&5
11752 echo "$as_me: error: cannot compute sizeof (short), 77
11753 See \`config.log' for more details." >&2;}
11754    { (exit 1); exit 1; }; } ;;
11755 esac
11756 else
11757   if test "$cross_compiling" = yes; then
11758   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
11759 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
11760    { (exit 1); exit 1; }; }
11761 else
11762   cat >conftest.$ac_ext <<_ACEOF
11763 /* confdefs.h.  */
11764 _ACEOF
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h.  */
11768 $ac_includes_default
11769 long longval () { return (long) (sizeof (short)); }
11770 unsigned long ulongval () { return (long) (sizeof (short)); }
11771 #include <stdio.h>
11772 #include <stdlib.h>
11773 int
11774 main ()
11775 {
11776 
11777   FILE *f = fopen ("conftest.val", "w");
11778   if (! f)
11779     exit (1);
11780   if (((long) (sizeof (short))) < 0)
11781     {
11782       long i = longval ();
11783       if (i != ((long) (sizeof (short))))
11784     exit (1);
11785       fprintf (f, "%ld\n", i);
11786     }
11787   else
11788     {
11789       unsigned long i = ulongval ();
11790       if (i != ((long) (sizeof (short))))
11791     exit (1);
11792       fprintf (f, "%lu\n", i);
11793     }
11794   exit (ferror (f) || fclose (f) != 0);
11795 
11796   ;
11797   return 0;
11798 }
11799 _ACEOF
11800 rm -f conftest$ac_exeext
11801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11802   (eval $ac_link) 2>&5
11803   ac_status=$?
11804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807   (eval $ac_try) 2>&5
11808   ac_status=$?
11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810   (exit $ac_status); }; }; then
11811   ac_cv_sizeof_short=`cat conftest.val`
11812 else
11813   echo "$as_me: program exited with status $ac_status" >&5
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11816 
11817 ( exit $ac_status )
11818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
11819 See \`config.log' for more details." >&5
11820 echo "$as_me: error: cannot compute sizeof (short), 77
11821 See \`config.log' for more details." >&2;}
11822    { (exit 1); exit 1; }; }
11823 fi
11824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11825 fi
11826 fi
11827 rm -f conftest.val
11828 else
11829   ac_cv_sizeof_short=0
11830 fi
11831 fi
11832 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
11833 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
11834 cat >>confdefs.h <<_ACEOF
11835 #define SIZEOF_SHORT $ac_cv_sizeof_short
11836 _ACEOF
11837 
11838 
11839     fi
11840     FOUND=0
11841     for dc_cv_loop in \$ac_cv_sizeof_int \$ac_cv_sizeof_long \$ac_cv_sizeof_short; do
11842         dc_cv_size=`eval echo $dc_cv_loop`
11843         dc_cv_name=`echo $dc_cv_loop | sed s/\\\$ac_cv_sizeof_//`
11844         if test "$dc_cv_size" = "2"; then
11845             if test "$dc_cv_name" = "int"; then
11846                 echo "$as_me:$LINENO: checking for uint16_t" >&5
11847 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
11848 if test "${ac_cv_type_uint16_t+set}" = set; then
11849   echo $ECHO_N "(cached) $ECHO_C" >&6
11850 else
11851   cat >conftest.$ac_ext <<_ACEOF
11852 /* confdefs.h.  */
11853 _ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h.  */
11857 $ac_includes_default
11858 int
11859 main ()
11860 {
11861 if ((uint16_t *) 0)
11862   return 0;
11863 if (sizeof (uint16_t))
11864   return 0;
11865   ;
11866   return 0;
11867 }
11868 _ACEOF
11869 rm -f conftest.$ac_objext
11870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11871   (eval $ac_compile) 2>conftest.er1
11872   ac_status=$?
11873   grep -v '^ *+' conftest.er1 >conftest.err
11874   rm -f conftest.er1
11875   cat conftest.err >&5
11876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877   (exit $ac_status); } &&
11878      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880   (eval $ac_try) 2>&5
11881   ac_status=$?
11882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883   (exit $ac_status); }; } &&
11884      { ac_try='test -s conftest.$ac_objext'
11885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886   (eval $ac_try) 2>&5
11887   ac_status=$?
11888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889   (exit $ac_status); }; }; then
11890   ac_cv_type_uint16_t=yes
11891 else
11892   echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.$ac_ext >&5
11894 
11895 ac_cv_type_uint16_t=no
11896 fi
11897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11898 fi
11899 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11900 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
11901 if test $ac_cv_type_uint16_t = yes; then
11902   :
11903 else
11904 
11905 cat >>confdefs.h <<_ACEOF
11906 #define uint16_t unsigned int
11907 _ACEOF
11908 
11909 fi
11910 
11911             fi
11912             if test "$dc_cv_name" = "long"; then
11913                 echo "$as_me:$LINENO: checking for uint16_t" >&5
11914 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
11915 if test "${ac_cv_type_uint16_t+set}" = set; then
11916   echo $ECHO_N "(cached) $ECHO_C" >&6
11917 else
11918   cat >conftest.$ac_ext <<_ACEOF
11919 /* confdefs.h.  */
11920 _ACEOF
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h.  */
11924 $ac_includes_default
11925 int
11926 main ()
11927 {
11928 if ((uint16_t *) 0)
11929   return 0;
11930 if (sizeof (uint16_t))
11931   return 0;
11932   ;
11933   return 0;
11934 }
11935 _ACEOF
11936 rm -f conftest.$ac_objext
11937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11938   (eval $ac_compile) 2>conftest.er1
11939   ac_status=$?
11940   grep -v '^ *+' conftest.er1 >conftest.err
11941   rm -f conftest.er1
11942   cat conftest.err >&5
11943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11944   (exit $ac_status); } &&
11945      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
11946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11947   (eval $ac_try) 2>&5
11948   ac_status=$?
11949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950   (exit $ac_status); }; } &&
11951      { ac_try='test -s conftest.$ac_objext'
11952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11953   (eval $ac_try) 2>&5
11954   ac_status=$?
11955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956   (exit $ac_status); }; }; then
11957   ac_cv_type_uint16_t=yes
11958 else
11959   echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11961 
11962 ac_cv_type_uint16_t=no
11963 fi
11964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11965 fi
11966 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
11967 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
11968 if test $ac_cv_type_uint16_t = yes; then
11969   :
11970 else
11971 
11972 cat >>confdefs.h <<_ACEOF
11973 #define uint16_t unsigned long
11974 _ACEOF
11975 
11976 fi
11977 
11978             fi
11979             if test "$dc_cv_name" = "short"; then
11980                 echo "$as_me:$LINENO: checking for uint16_t" >&5
11981 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
11982 if test "${ac_cv_type_uint16_t+set}" = set; then
11983   echo $ECHO_N "(cached) $ECHO_C" >&6
11984 else
11985   cat >conftest.$ac_ext <<_ACEOF
11986 /* confdefs.h.  */
11987 _ACEOF
11988 cat confdefs.h >>conftest.$ac_ext
11989 cat >>conftest.$ac_ext <<_ACEOF
11990 /* end confdefs.h.  */
11991 $ac_includes_default
11992 int
11993 main ()
11994 {
11995 if ((uint16_t *) 0)
11996   return 0;
11997 if (sizeof (uint16_t))
11998   return 0;
11999   ;
12000   return 0;
12001 }
12002 _ACEOF
12003 rm -f conftest.$ac_objext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12005   (eval $ac_compile) 2>conftest.er1
12006   ac_status=$?
12007   grep -v '^ *+' conftest.er1 >conftest.err
12008   rm -f conftest.er1
12009   cat conftest.err >&5
12010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011   (exit $ac_status); } &&
12012      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12014   (eval $ac_try) 2>&5
12015   ac_status=$?
12016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017   (exit $ac_status); }; } &&
12018      { ac_try='test -s conftest.$ac_objext'
12019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12020   (eval $ac_try) 2>&5
12021   ac_status=$?
12022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12023   (exit $ac_status); }; }; then
12024   ac_cv_type_uint16_t=yes
12025 else
12026   echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12028 
12029 ac_cv_type_uint16_t=no
12030 fi
12031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12032 fi
12033 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
12034 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
12035 if test $ac_cv_type_uint16_t = yes; then
12036   :
12037 else
12038 
12039 cat >>confdefs.h <<_ACEOF
12040 #define uint16_t unsigned short
12041 _ACEOF
12042 
12043 fi
12044 
12045             fi
12046             FOUND=1
12047             break
12048         fi
12049     done
12050 
12051 
12052     if test -z "$ac_cv_sizeof_long"; then
12053         echo "$as_me:$LINENO: checking for inline" >&5
12054 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12055 if test "${ac_cv_c_inline+set}" = set; then
12056   echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12058   ac_cv_c_inline=no
12059 for ac_kw in inline __inline__ __inline; do
12060   cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h.  */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h.  */
12066 #ifndef __cplusplus
12067 typedef int foo_t;
12068 static $ac_kw foo_t static_foo () {return 0; }
12069 $ac_kw foo_t foo () {return 0; }
12070 #endif
12071 
12072 _ACEOF
12073 rm -f conftest.$ac_objext
12074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12075   (eval $ac_compile) 2>conftest.er1
12076   ac_status=$?
12077   grep -v '^ *+' conftest.er1 >conftest.err
12078   rm -f conftest.er1
12079   cat conftest.err >&5
12080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081   (exit $ac_status); } &&
12082      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12084   (eval $ac_try) 2>&5
12085   ac_status=$?
12086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087   (exit $ac_status); }; } &&
12088      { ac_try='test -s conftest.$ac_objext'
12089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12090   (eval $ac_try) 2>&5
12091   ac_status=$?
12092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12093   (exit $ac_status); }; }; then
12094   ac_cv_c_inline=$ac_kw; break
12095 else
12096   echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.$ac_ext >&5
12098 
12099 fi
12100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12101 done
12102 
12103 fi
12104 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12105 echo "${ECHO_T}$ac_cv_c_inline" >&6
12106 
12107 
12108 case $ac_cv_c_inline in
12109   inline | yes) ;;
12110   *)
12111     case $ac_cv_c_inline in
12112       no) ac_val=;;
12113       *) ac_val=$ac_cv_c_inline;;
12114     esac
12115     cat >>confdefs.h <<_ACEOF
12116 #ifndef __cplusplus
12117 #define inline $ac_val
12118 #endif
12119 _ACEOF
12120     ;;
12121 esac
12122 
12123         echo "$as_me:$LINENO: checking for long" >&5
12124 echo $ECHO_N "checking for long... $ECHO_C" >&6
12125 if test "${ac_cv_type_long+set}" = set; then
12126   echo $ECHO_N "(cached) $ECHO_C" >&6
12127 else
12128   cat >conftest.$ac_ext <<_ACEOF
12129 /* confdefs.h.  */
12130 _ACEOF
12131 cat confdefs.h >>conftest.$ac_ext
12132 cat >>conftest.$ac_ext <<_ACEOF
12133 /* end confdefs.h.  */
12134 $ac_includes_default
12135 int
12136 main ()
12137 {
12138 if ((long *) 0)
12139   return 0;
12140 if (sizeof (long))
12141   return 0;
12142   ;
12143   return 0;
12144 }
12145 _ACEOF
12146 rm -f conftest.$ac_objext
12147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12148   (eval $ac_compile) 2>conftest.er1
12149   ac_status=$?
12150   grep -v '^ *+' conftest.er1 >conftest.err
12151   rm -f conftest.er1
12152   cat conftest.err >&5
12153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154   (exit $ac_status); } &&
12155      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12157   (eval $ac_try) 2>&5
12158   ac_status=$?
12159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160   (exit $ac_status); }; } &&
12161      { ac_try='test -s conftest.$ac_objext'
12162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163   (eval $ac_try) 2>&5
12164   ac_status=$?
12165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); }; }; then
12167   ac_cv_type_long=yes
12168 else
12169   echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12171 
12172 ac_cv_type_long=no
12173 fi
12174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12175 fi
12176 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
12177 echo "${ECHO_T}$ac_cv_type_long" >&6
12178 
12179 echo "$as_me:$LINENO: checking size of long" >&5
12180 echo $ECHO_N "checking size of long... $ECHO_C" >&6
12181 if test "${ac_cv_sizeof_long+set}" = set; then
12182   echo $ECHO_N "(cached) $ECHO_C" >&6
12183 else
12184   if test "$ac_cv_type_long" = yes; then
12185   # The cast to unsigned long works around a bug in the HP C Compiler
12186   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12187   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12188   # This bug is HP SR number 8606223364.
12189   if test "$cross_compiling" = yes; then
12190   # Depending upon the size, compute the lo and hi bounds.
12191 cat >conftest.$ac_ext <<_ACEOF
12192 /* confdefs.h.  */
12193 _ACEOF
12194 cat confdefs.h >>conftest.$ac_ext
12195 cat >>conftest.$ac_ext <<_ACEOF
12196 /* end confdefs.h.  */
12197 $ac_includes_default
12198 int
12199 main ()
12200 {
12201 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
12202 test_array [0] = 0
12203 
12204   ;
12205   return 0;
12206 }
12207 _ACEOF
12208 rm -f conftest.$ac_objext
12209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12210   (eval $ac_compile) 2>conftest.er1
12211   ac_status=$?
12212   grep -v '^ *+' conftest.er1 >conftest.err
12213   rm -f conftest.er1
12214   cat conftest.err >&5
12215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216   (exit $ac_status); } &&
12217      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12219   (eval $ac_try) 2>&5
12220   ac_status=$?
12221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222   (exit $ac_status); }; } &&
12223      { ac_try='test -s conftest.$ac_objext'
12224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225   (eval $ac_try) 2>&5
12226   ac_status=$?
12227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228   (exit $ac_status); }; }; then
12229   ac_lo=0 ac_mid=0
12230   while :; do
12231     cat >conftest.$ac_ext <<_ACEOF
12232 /* confdefs.h.  */
12233 _ACEOF
12234 cat confdefs.h >>conftest.$ac_ext
12235 cat >>conftest.$ac_ext <<_ACEOF
12236 /* end confdefs.h.  */
12237 $ac_includes_default
12238 int
12239 main ()
12240 {
12241 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12242 test_array [0] = 0
12243 
12244   ;
12245   return 0;
12246 }
12247 _ACEOF
12248 rm -f conftest.$ac_objext
12249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12250   (eval $ac_compile) 2>conftest.er1
12251   ac_status=$?
12252   grep -v '^ *+' conftest.er1 >conftest.err
12253   rm -f conftest.er1
12254   cat conftest.err >&5
12255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256   (exit $ac_status); } &&
12257      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259   (eval $ac_try) 2>&5
12260   ac_status=$?
12261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262   (exit $ac_status); }; } &&
12263      { ac_try='test -s conftest.$ac_objext'
12264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265   (eval $ac_try) 2>&5
12266   ac_status=$?
12267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268   (exit $ac_status); }; }; then
12269   ac_hi=$ac_mid; break
12270 else
12271   echo "$as_me: failed program was:" >&5
12272 sed 's/^/| /' conftest.$ac_ext >&5
12273 
12274 ac_lo=`expr $ac_mid + 1`
12275             if test $ac_lo -le $ac_mid; then
12276               ac_lo= ac_hi=
12277               break
12278             fi
12279             ac_mid=`expr 2 '*' $ac_mid + 1`
12280 fi
12281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12282   done
12283 else
12284   echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.$ac_ext >&5
12286 
12287 cat >conftest.$ac_ext <<_ACEOF
12288 /* confdefs.h.  */
12289 _ACEOF
12290 cat confdefs.h >>conftest.$ac_ext
12291 cat >>conftest.$ac_ext <<_ACEOF
12292 /* end confdefs.h.  */
12293 $ac_includes_default
12294 int
12295 main ()
12296 {
12297 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
12298 test_array [0] = 0
12299 
12300   ;
12301   return 0;
12302 }
12303 _ACEOF
12304 rm -f conftest.$ac_objext
12305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12306   (eval $ac_compile) 2>conftest.er1
12307   ac_status=$?
12308   grep -v '^ *+' conftest.er1 >conftest.err
12309   rm -f conftest.er1
12310   cat conftest.err >&5
12311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312   (exit $ac_status); } &&
12313      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315   (eval $ac_try) 2>&5
12316   ac_status=$?
12317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318   (exit $ac_status); }; } &&
12319      { ac_try='test -s conftest.$ac_objext'
12320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321   (eval $ac_try) 2>&5
12322   ac_status=$?
12323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324   (exit $ac_status); }; }; then
12325   ac_hi=-1 ac_mid=-1
12326   while :; do
12327     cat >conftest.$ac_ext <<_ACEOF
12328 /* confdefs.h.  */
12329 _ACEOF
12330 cat confdefs.h >>conftest.$ac_ext
12331 cat >>conftest.$ac_ext <<_ACEOF
12332 /* end confdefs.h.  */
12333 $ac_includes_default
12334 int
12335 main ()
12336 {
12337 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
12338 test_array [0] = 0
12339 
12340   ;
12341   return 0;
12342 }
12343 _ACEOF
12344 rm -f conftest.$ac_objext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12346   (eval $ac_compile) 2>conftest.er1
12347   ac_status=$?
12348   grep -v '^ *+' conftest.er1 >conftest.err
12349   rm -f conftest.er1
12350   cat conftest.err >&5
12351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352   (exit $ac_status); } &&
12353      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355   (eval $ac_try) 2>&5
12356   ac_status=$?
12357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358   (exit $ac_status); }; } &&
12359      { ac_try='test -s conftest.$ac_objext'
12360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361   (eval $ac_try) 2>&5
12362   ac_status=$?
12363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364   (exit $ac_status); }; }; then
12365   ac_lo=$ac_mid; break
12366 else
12367   echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.$ac_ext >&5
12369 
12370 ac_hi=`expr '(' $ac_mid ')' - 1`
12371                if test $ac_mid -le $ac_hi; then
12372              ac_lo= ac_hi=
12373              break
12374                fi
12375                ac_mid=`expr 2 '*' $ac_mid`
12376 fi
12377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12378   done
12379 else
12380   echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12382 
12383 ac_lo= ac_hi=
12384 fi
12385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12386 fi
12387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12388 # Binary search between lo and hi bounds.
12389 while test "x$ac_lo" != "x$ac_hi"; do
12390   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12391   cat >conftest.$ac_ext <<_ACEOF
12392 /* confdefs.h.  */
12393 _ACEOF
12394 cat confdefs.h >>conftest.$ac_ext
12395 cat >>conftest.$ac_ext <<_ACEOF
12396 /* end confdefs.h.  */
12397 $ac_includes_default
12398 int
12399 main ()
12400 {
12401 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
12402 test_array [0] = 0
12403 
12404   ;
12405   return 0;
12406 }
12407 _ACEOF
12408 rm -f conftest.$ac_objext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12410   (eval $ac_compile) 2>conftest.er1
12411   ac_status=$?
12412   grep -v '^ *+' conftest.er1 >conftest.err
12413   rm -f conftest.er1
12414   cat conftest.err >&5
12415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416   (exit $ac_status); } &&
12417      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419   (eval $ac_try) 2>&5
12420   ac_status=$?
12421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422   (exit $ac_status); }; } &&
12423      { ac_try='test -s conftest.$ac_objext'
12424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425   (eval $ac_try) 2>&5
12426   ac_status=$?
12427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428   (exit $ac_status); }; }; then
12429   ac_hi=$ac_mid
12430 else
12431   echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12433 
12434 ac_lo=`expr '(' $ac_mid ')' + 1`
12435 fi
12436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12437 done
12438 case $ac_lo in
12439 ?*) ac_cv_sizeof_long=$ac_lo;;
12440 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12441 See \`config.log' for more details." >&5
12442 echo "$as_me: error: cannot compute sizeof (long), 77
12443 See \`config.log' for more details." >&2;}
12444    { (exit 1); exit 1; }; } ;;
12445 esac
12446 else
12447   if test "$cross_compiling" = yes; then
12448   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12449 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12450    { (exit 1); exit 1; }; }
12451 else
12452   cat >conftest.$ac_ext <<_ACEOF
12453 /* confdefs.h.  */
12454 _ACEOF
12455 cat confdefs.h >>conftest.$ac_ext
12456 cat >>conftest.$ac_ext <<_ACEOF
12457 /* end confdefs.h.  */
12458 $ac_includes_default
12459 long longval () { return (long) (sizeof (long)); }
12460 unsigned long ulongval () { return (long) (sizeof (long)); }
12461 #include <stdio.h>
12462 #include <stdlib.h>
12463 int
12464 main ()
12465 {
12466 
12467   FILE *f = fopen ("conftest.val", "w");
12468   if (! f)
12469     exit (1);
12470   if (((long) (sizeof (long))) < 0)
12471     {
12472       long i = longval ();
12473       if (i != ((long) (sizeof (long))))
12474     exit (1);
12475       fprintf (f, "%ld\n", i);
12476     }
12477   else
12478     {
12479       unsigned long i = ulongval ();
12480       if (i != ((long) (sizeof (long))))
12481     exit (1);
12482       fprintf (f, "%lu\n", i);
12483     }
12484   exit (ferror (f) || fclose (f) != 0);
12485 
12486   ;
12487   return 0;
12488 }
12489 _ACEOF
12490 rm -f conftest$ac_exeext
12491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12492   (eval $ac_link) 2>&5
12493   ac_status=$?
12494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12497   (eval $ac_try) 2>&5
12498   ac_status=$?
12499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500   (exit $ac_status); }; }; then
12501   ac_cv_sizeof_long=`cat conftest.val`
12502 else
12503   echo "$as_me: program exited with status $ac_status" >&5
12504 echo "$as_me: failed program was:" >&5
12505 sed 's/^/| /' conftest.$ac_ext >&5
12506 
12507 ( exit $ac_status )
12508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
12509 See \`config.log' for more details." >&5
12510 echo "$as_me: error: cannot compute sizeof (long), 77
12511 See \`config.log' for more details." >&2;}
12512    { (exit 1); exit 1; }; }
12513 fi
12514 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12515 fi
12516 fi
12517 rm -f conftest.val
12518 else
12519   ac_cv_sizeof_long=0
12520 fi
12521 fi
12522 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
12523 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
12524 cat >>confdefs.h <<_ACEOF
12525 #define SIZEOF_LONG $ac_cv_sizeof_long
12526 _ACEOF
12527 
12528 
12529         echo "$as_me:$LINENO: checking for int" >&5
12530 echo $ECHO_N "checking for int... $ECHO_C" >&6
12531 if test "${ac_cv_type_int+set}" = set; then
12532   echo $ECHO_N "(cached) $ECHO_C" >&6
12533 else
12534   cat >conftest.$ac_ext <<_ACEOF
12535 /* confdefs.h.  */
12536 _ACEOF
12537 cat confdefs.h >>conftest.$ac_ext
12538 cat >>conftest.$ac_ext <<_ACEOF
12539 /* end confdefs.h.  */
12540 $ac_includes_default
12541 int
12542 main ()
12543 {
12544 if ((int *) 0)
12545   return 0;
12546 if (sizeof (int))
12547   return 0;
12548   ;
12549   return 0;
12550 }
12551 _ACEOF
12552 rm -f conftest.$ac_objext
12553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12554   (eval $ac_compile) 2>conftest.er1
12555   ac_status=$?
12556   grep -v '^ *+' conftest.er1 >conftest.err
12557   rm -f conftest.er1
12558   cat conftest.err >&5
12559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560   (exit $ac_status); } &&
12561      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563   (eval $ac_try) 2>&5
12564   ac_status=$?
12565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566   (exit $ac_status); }; } &&
12567      { ac_try='test -s conftest.$ac_objext'
12568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569   (eval $ac_try) 2>&5
12570   ac_status=$?
12571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572   (exit $ac_status); }; }; then
12573   ac_cv_type_int=yes
12574 else
12575   echo "$as_me: failed program was:" >&5
12576 sed 's/^/| /' conftest.$ac_ext >&5
12577 
12578 ac_cv_type_int=no
12579 fi
12580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12581 fi
12582 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12583 echo "${ECHO_T}$ac_cv_type_int" >&6
12584 
12585 echo "$as_me:$LINENO: checking size of int" >&5
12586 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12587 if test "${ac_cv_sizeof_int+set}" = set; then
12588   echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12590   if test "$ac_cv_type_int" = yes; then
12591   # The cast to unsigned long works around a bug in the HP C Compiler
12592   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12593   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12594   # This bug is HP SR number 8606223364.
12595   if test "$cross_compiling" = yes; then
12596   # Depending upon the size, compute the lo and hi bounds.
12597 cat >conftest.$ac_ext <<_ACEOF
12598 /* confdefs.h.  */
12599 _ACEOF
12600 cat confdefs.h >>conftest.$ac_ext
12601 cat >>conftest.$ac_ext <<_ACEOF
12602 /* end confdefs.h.  */
12603 $ac_includes_default
12604 int
12605 main ()
12606 {
12607 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
12608 test_array [0] = 0
12609 
12610   ;
12611   return 0;
12612 }
12613 _ACEOF
12614 rm -f conftest.$ac_objext
12615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12616   (eval $ac_compile) 2>conftest.er1
12617   ac_status=$?
12618   grep -v '^ *+' conftest.er1 >conftest.err
12619   rm -f conftest.er1
12620   cat conftest.err >&5
12621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622   (exit $ac_status); } &&
12623      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625   (eval $ac_try) 2>&5
12626   ac_status=$?
12627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628   (exit $ac_status); }; } &&
12629      { ac_try='test -s conftest.$ac_objext'
12630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631   (eval $ac_try) 2>&5
12632   ac_status=$?
12633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634   (exit $ac_status); }; }; then
12635   ac_lo=0 ac_mid=0
12636   while :; do
12637     cat >conftest.$ac_ext <<_ACEOF
12638 /* confdefs.h.  */
12639 _ACEOF
12640 cat confdefs.h >>conftest.$ac_ext
12641 cat >>conftest.$ac_ext <<_ACEOF
12642 /* end confdefs.h.  */
12643 $ac_includes_default
12644 int
12645 main ()
12646 {
12647 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12648 test_array [0] = 0
12649 
12650   ;
12651   return 0;
12652 }
12653 _ACEOF
12654 rm -f conftest.$ac_objext
12655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12656   (eval $ac_compile) 2>conftest.er1
12657   ac_status=$?
12658   grep -v '^ *+' conftest.er1 >conftest.err
12659   rm -f conftest.er1
12660   cat conftest.err >&5
12661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12662   (exit $ac_status); } &&
12663      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665   (eval $ac_try) 2>&5
12666   ac_status=$?
12667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668   (exit $ac_status); }; } &&
12669      { ac_try='test -s conftest.$ac_objext'
12670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671   (eval $ac_try) 2>&5
12672   ac_status=$?
12673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674   (exit $ac_status); }; }; then
12675   ac_hi=$ac_mid; break
12676 else
12677   echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12679 
12680 ac_lo=`expr $ac_mid + 1`
12681             if test $ac_lo -le $ac_mid; then
12682               ac_lo= ac_hi=
12683               break
12684             fi
12685             ac_mid=`expr 2 '*' $ac_mid + 1`
12686 fi
12687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12688   done
12689 else
12690   echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12692 
12693 cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h.  */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h.  */
12699 $ac_includes_default
12700 int
12701 main ()
12702 {
12703 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
12704 test_array [0] = 0
12705 
12706   ;
12707   return 0;
12708 }
12709 _ACEOF
12710 rm -f conftest.$ac_objext
12711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12712   (eval $ac_compile) 2>conftest.er1
12713   ac_status=$?
12714   grep -v '^ *+' conftest.er1 >conftest.err
12715   rm -f conftest.er1
12716   cat conftest.err >&5
12717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718   (exit $ac_status); } &&
12719      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721   (eval $ac_try) 2>&5
12722   ac_status=$?
12723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724   (exit $ac_status); }; } &&
12725      { ac_try='test -s conftest.$ac_objext'
12726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727   (eval $ac_try) 2>&5
12728   ac_status=$?
12729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730   (exit $ac_status); }; }; then
12731   ac_hi=-1 ac_mid=-1
12732   while :; do
12733     cat >conftest.$ac_ext <<_ACEOF
12734 /* confdefs.h.  */
12735 _ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h.  */
12739 $ac_includes_default
12740 int
12741 main ()
12742 {
12743 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
12744 test_array [0] = 0
12745 
12746   ;
12747   return 0;
12748 }
12749 _ACEOF
12750 rm -f conftest.$ac_objext
12751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12752   (eval $ac_compile) 2>conftest.er1
12753   ac_status=$?
12754   grep -v '^ *+' conftest.er1 >conftest.err
12755   rm -f conftest.er1
12756   cat conftest.err >&5
12757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758   (exit $ac_status); } &&
12759      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12761   (eval $ac_try) 2>&5
12762   ac_status=$?
12763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12764   (exit $ac_status); }; } &&
12765      { ac_try='test -s conftest.$ac_objext'
12766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12767   (eval $ac_try) 2>&5
12768   ac_status=$?
12769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12770   (exit $ac_status); }; }; then
12771   ac_lo=$ac_mid; break
12772 else
12773   echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.$ac_ext >&5
12775 
12776 ac_hi=`expr '(' $ac_mid ')' - 1`
12777                if test $ac_mid -le $ac_hi; then
12778              ac_lo= ac_hi=
12779              break
12780                fi
12781                ac_mid=`expr 2 '*' $ac_mid`
12782 fi
12783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12784   done
12785 else
12786   echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.$ac_ext >&5
12788 
12789 ac_lo= ac_hi=
12790 fi
12791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12792 fi
12793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12794 # Binary search between lo and hi bounds.
12795 while test "x$ac_lo" != "x$ac_hi"; do
12796   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12797   cat >conftest.$ac_ext <<_ACEOF
12798 /* confdefs.h.  */
12799 _ACEOF
12800 cat confdefs.h >>conftest.$ac_ext
12801 cat >>conftest.$ac_ext <<_ACEOF
12802 /* end confdefs.h.  */
12803 $ac_includes_default
12804 int
12805 main ()
12806 {
12807 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12808 test_array [0] = 0
12809 
12810   ;
12811   return 0;
12812 }
12813 _ACEOF
12814 rm -f conftest.$ac_objext
12815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12816   (eval $ac_compile) 2>conftest.er1
12817   ac_status=$?
12818   grep -v '^ *+' conftest.er1 >conftest.err
12819   rm -f conftest.er1
12820   cat conftest.err >&5
12821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822   (exit $ac_status); } &&
12823      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825   (eval $ac_try) 2>&5
12826   ac_status=$?
12827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828   (exit $ac_status); }; } &&
12829      { ac_try='test -s conftest.$ac_objext'
12830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831   (eval $ac_try) 2>&5
12832   ac_status=$?
12833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834   (exit $ac_status); }; }; then
12835   ac_hi=$ac_mid
12836 else
12837   echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.$ac_ext >&5
12839 
12840 ac_lo=`expr '(' $ac_mid ')' + 1`
12841 fi
12842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12843 done
12844 case $ac_lo in
12845 ?*) ac_cv_sizeof_int=$ac_lo;;
12846 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12847 See \`config.log' for more details." >&5
12848 echo "$as_me: error: cannot compute sizeof (int), 77
12849 See \`config.log' for more details." >&2;}
12850    { (exit 1); exit 1; }; } ;;
12851 esac
12852 else
12853   if test "$cross_compiling" = yes; then
12854   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
12855 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
12856    { (exit 1); exit 1; }; }
12857 else
12858   cat >conftest.$ac_ext <<_ACEOF
12859 /* confdefs.h.  */
12860 _ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h.  */
12864 $ac_includes_default
12865 long longval () { return (long) (sizeof (int)); }
12866 unsigned long ulongval () { return (long) (sizeof (int)); }
12867 #include <stdio.h>
12868 #include <stdlib.h>
12869 int
12870 main ()
12871 {
12872 
12873   FILE *f = fopen ("conftest.val", "w");
12874   if (! f)
12875     exit (1);
12876   if (((long) (sizeof (int))) < 0)
12877     {
12878       long i = longval ();
12879       if (i != ((long) (sizeof (int))))
12880     exit (1);
12881       fprintf (f, "%ld\n", i);
12882     }
12883   else
12884     {
12885       unsigned long i = ulongval ();
12886       if (i != ((long) (sizeof (int))))
12887     exit (1);
12888       fprintf (f, "%lu\n", i);
12889     }
12890   exit (ferror (f) || fclose (f) != 0);
12891 
12892   ;
12893   return 0;
12894 }
12895 _ACEOF
12896 rm -f conftest$ac_exeext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12898   (eval $ac_link) 2>&5
12899   ac_status=$?
12900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903   (eval $ac_try) 2>&5
12904   ac_status=$?
12905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906   (exit $ac_status); }; }; then
12907   ac_cv_sizeof_int=`cat conftest.val`
12908 else
12909   echo "$as_me: program exited with status $ac_status" >&5
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12912 
12913 ( exit $ac_status )
12914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12915 See \`config.log' for more details." >&5
12916 echo "$as_me: error: cannot compute sizeof (int), 77
12917 See \`config.log' for more details." >&2;}
12918    { (exit 1); exit 1; }; }
12919 fi
12920 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12921 fi
12922 fi
12923 rm -f conftest.val
12924 else
12925   ac_cv_sizeof_int=0
12926 fi
12927 fi
12928 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12929 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12930 cat >>confdefs.h <<_ACEOF
12931 #define SIZEOF_INT $ac_cv_sizeof_int
12932 _ACEOF
12933 
12934 
12935         echo "$as_me:$LINENO: checking for short" >&5
12936 echo $ECHO_N "checking for short... $ECHO_C" >&6
12937 if test "${ac_cv_type_short+set}" = set; then
12938   echo $ECHO_N "(cached) $ECHO_C" >&6
12939 else
12940   cat >conftest.$ac_ext <<_ACEOF
12941 /* confdefs.h.  */
12942 _ACEOF
12943 cat confdefs.h >>conftest.$ac_ext
12944 cat >>conftest.$ac_ext <<_ACEOF
12945 /* end confdefs.h.  */
12946 $ac_includes_default
12947 int
12948 main ()
12949 {
12950 if ((short *) 0)
12951   return 0;
12952 if (sizeof (short))
12953   return 0;
12954   ;
12955   return 0;
12956 }
12957 _ACEOF
12958 rm -f conftest.$ac_objext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12960   (eval $ac_compile) 2>conftest.er1
12961   ac_status=$?
12962   grep -v '^ *+' conftest.er1 >conftest.err
12963   rm -f conftest.er1
12964   cat conftest.err >&5
12965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966   (exit $ac_status); } &&
12967      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
12968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969   (eval $ac_try) 2>&5
12970   ac_status=$?
12971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972   (exit $ac_status); }; } &&
12973      { ac_try='test -s conftest.$ac_objext'
12974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975   (eval $ac_try) 2>&5
12976   ac_status=$?
12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978   (exit $ac_status); }; }; then
12979   ac_cv_type_short=yes
12980 else
12981   echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12983 
12984 ac_cv_type_short=no
12985 fi
12986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12987 fi
12988 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
12989 echo "${ECHO_T}$ac_cv_type_short" >&6
12990 
12991 echo "$as_me:$LINENO: checking size of short" >&5
12992 echo $ECHO_N "checking size of short... $ECHO_C" >&6
12993 if test "${ac_cv_sizeof_short+set}" = set; then
12994   echo $ECHO_N "(cached) $ECHO_C" >&6
12995 else
12996   if test "$ac_cv_type_short" = yes; then
12997   # The cast to unsigned long works around a bug in the HP C Compiler
12998   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12999   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13000   # This bug is HP SR number 8606223364.
13001   if test "$cross_compiling" = yes; then
13002   # Depending upon the size, compute the lo and hi bounds.
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h.  */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h.  */
13009 $ac_includes_default
13010 int
13011 main ()
13012 {
13013 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13014 test_array [0] = 0
13015 
13016   ;
13017   return 0;
13018 }
13019 _ACEOF
13020 rm -f conftest.$ac_objext
13021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13022   (eval $ac_compile) 2>conftest.er1
13023   ac_status=$?
13024   grep -v '^ *+' conftest.er1 >conftest.err
13025   rm -f conftest.er1
13026   cat conftest.err >&5
13027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028   (exit $ac_status); } &&
13029      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031   (eval $ac_try) 2>&5
13032   ac_status=$?
13033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034   (exit $ac_status); }; } &&
13035      { ac_try='test -s conftest.$ac_objext'
13036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037   (eval $ac_try) 2>&5
13038   ac_status=$?
13039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040   (exit $ac_status); }; }; then
13041   ac_lo=0 ac_mid=0
13042   while :; do
13043     cat >conftest.$ac_ext <<_ACEOF
13044 /* confdefs.h.  */
13045 _ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h.  */
13049 $ac_includes_default
13050 int
13051 main ()
13052 {
13053 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13054 test_array [0] = 0
13055 
13056   ;
13057   return 0;
13058 }
13059 _ACEOF
13060 rm -f conftest.$ac_objext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13062   (eval $ac_compile) 2>conftest.er1
13063   ac_status=$?
13064   grep -v '^ *+' conftest.er1 >conftest.err
13065   rm -f conftest.er1
13066   cat conftest.err >&5
13067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068   (exit $ac_status); } &&
13069      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071   (eval $ac_try) 2>&5
13072   ac_status=$?
13073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074   (exit $ac_status); }; } &&
13075      { ac_try='test -s conftest.$ac_objext'
13076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077   (eval $ac_try) 2>&5
13078   ac_status=$?
13079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080   (exit $ac_status); }; }; then
13081   ac_hi=$ac_mid; break
13082 else
13083   echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13085 
13086 ac_lo=`expr $ac_mid + 1`
13087             if test $ac_lo -le $ac_mid; then
13088               ac_lo= ac_hi=
13089               break
13090             fi
13091             ac_mid=`expr 2 '*' $ac_mid + 1`
13092 fi
13093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13094   done
13095 else
13096   echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13098 
13099 cat >conftest.$ac_ext <<_ACEOF
13100 /* confdefs.h.  */
13101 _ACEOF
13102 cat confdefs.h >>conftest.$ac_ext
13103 cat >>conftest.$ac_ext <<_ACEOF
13104 /* end confdefs.h.  */
13105 $ac_includes_default
13106 int
13107 main ()
13108 {
13109 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
13110 test_array [0] = 0
13111 
13112   ;
13113   return 0;
13114 }
13115 _ACEOF
13116 rm -f conftest.$ac_objext
13117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13118   (eval $ac_compile) 2>conftest.er1
13119   ac_status=$?
13120   grep -v '^ *+' conftest.er1 >conftest.err
13121   rm -f conftest.er1
13122   cat conftest.err >&5
13123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124   (exit $ac_status); } &&
13125      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13127   (eval $ac_try) 2>&5
13128   ac_status=$?
13129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130   (exit $ac_status); }; } &&
13131      { ac_try='test -s conftest.$ac_objext'
13132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133   (eval $ac_try) 2>&5
13134   ac_status=$?
13135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136   (exit $ac_status); }; }; then
13137   ac_hi=-1 ac_mid=-1
13138   while :; do
13139     cat >conftest.$ac_ext <<_ACEOF
13140 /* confdefs.h.  */
13141 _ACEOF
13142 cat confdefs.h >>conftest.$ac_ext
13143 cat >>conftest.$ac_ext <<_ACEOF
13144 /* end confdefs.h.  */
13145 $ac_includes_default
13146 int
13147 main ()
13148 {
13149 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
13150 test_array [0] = 0
13151 
13152   ;
13153   return 0;
13154 }
13155 _ACEOF
13156 rm -f conftest.$ac_objext
13157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13158   (eval $ac_compile) 2>conftest.er1
13159   ac_status=$?
13160   grep -v '^ *+' conftest.er1 >conftest.err
13161   rm -f conftest.er1
13162   cat conftest.err >&5
13163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164   (exit $ac_status); } &&
13165      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167   (eval $ac_try) 2>&5
13168   ac_status=$?
13169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170   (exit $ac_status); }; } &&
13171      { ac_try='test -s conftest.$ac_objext'
13172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13173   (eval $ac_try) 2>&5
13174   ac_status=$?
13175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176   (exit $ac_status); }; }; then
13177   ac_lo=$ac_mid; break
13178 else
13179   echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13181 
13182 ac_hi=`expr '(' $ac_mid ')' - 1`
13183                if test $ac_mid -le $ac_hi; then
13184              ac_lo= ac_hi=
13185              break
13186                fi
13187                ac_mid=`expr 2 '*' $ac_mid`
13188 fi
13189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13190   done
13191 else
13192   echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.$ac_ext >&5
13194 
13195 ac_lo= ac_hi=
13196 fi
13197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13198 fi
13199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13200 # Binary search between lo and hi bounds.
13201 while test "x$ac_lo" != "x$ac_hi"; do
13202   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13203   cat >conftest.$ac_ext <<_ACEOF
13204 /* confdefs.h.  */
13205 _ACEOF
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h.  */
13209 $ac_includes_default
13210 int
13211 main ()
13212 {
13213 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13214 test_array [0] = 0
13215 
13216   ;
13217   return 0;
13218 }
13219 _ACEOF
13220 rm -f conftest.$ac_objext
13221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13222   (eval $ac_compile) 2>conftest.er1
13223   ac_status=$?
13224   grep -v '^ *+' conftest.er1 >conftest.err
13225   rm -f conftest.er1
13226   cat conftest.err >&5
13227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13228   (exit $ac_status); } &&
13229      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231   (eval $ac_try) 2>&5
13232   ac_status=$?
13233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234   (exit $ac_status); }; } &&
13235      { ac_try='test -s conftest.$ac_objext'
13236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237   (eval $ac_try) 2>&5
13238   ac_status=$?
13239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240   (exit $ac_status); }; }; then
13241   ac_hi=$ac_mid
13242 else
13243   echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13245 
13246 ac_lo=`expr '(' $ac_mid ')' + 1`
13247 fi
13248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13249 done
13250 case $ac_lo in
13251 ?*) ac_cv_sizeof_short=$ac_lo;;
13252 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13253 See \`config.log' for more details." >&5
13254 echo "$as_me: error: cannot compute sizeof (short), 77
13255 See \`config.log' for more details." >&2;}
13256    { (exit 1); exit 1; }; } ;;
13257 esac
13258 else
13259   if test "$cross_compiling" = yes; then
13260   { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13261 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13262    { (exit 1); exit 1; }; }
13263 else
13264   cat >conftest.$ac_ext <<_ACEOF
13265 /* confdefs.h.  */
13266 _ACEOF
13267 cat confdefs.h >>conftest.$ac_ext
13268 cat >>conftest.$ac_ext <<_ACEOF
13269 /* end confdefs.h.  */
13270 $ac_includes_default
13271 long longval () { return (long) (sizeof (short)); }
13272 unsigned long ulongval () { return (long) (sizeof (short)); }
13273 #include <stdio.h>
13274 #include <stdlib.h>
13275 int
13276 main ()
13277 {
13278 
13279   FILE *f = fopen ("conftest.val", "w");
13280   if (! f)
13281     exit (1);
13282   if (((long) (sizeof (short))) < 0)
13283     {
13284       long i = longval ();
13285       if (i != ((long) (sizeof (short))))
13286     exit (1);
13287       fprintf (f, "%ld\n", i);
13288     }
13289   else
13290     {
13291       unsigned long i = ulongval ();
13292       if (i != ((long) (sizeof (short))))
13293     exit (1);
13294       fprintf (f, "%lu\n", i);
13295     }
13296   exit (ferror (f) || fclose (f) != 0);
13297 
13298   ;
13299   return 0;
13300 }
13301 _ACEOF
13302 rm -f conftest$ac_exeext
13303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13304   (eval $ac_link) 2>&5
13305   ac_status=$?
13306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309   (eval $ac_try) 2>&5
13310   ac_status=$?
13311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312   (exit $ac_status); }; }; then
13313   ac_cv_sizeof_short=`cat conftest.val`
13314 else
13315   echo "$as_me: program exited with status $ac_status" >&5
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13318 
13319 ( exit $ac_status )
13320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
13321 See \`config.log' for more details." >&5
13322 echo "$as_me: error: cannot compute sizeof (short), 77
13323 See \`config.log' for more details." >&2;}
13324    { (exit 1); exit 1; }; }
13325 fi
13326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13327 fi
13328 fi
13329 rm -f conftest.val
13330 else
13331   ac_cv_sizeof_short=0
13332 fi
13333 fi
13334 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
13335 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
13336 cat >>confdefs.h <<_ACEOF
13337 #define SIZEOF_SHORT $ac_cv_sizeof_short
13338 _ACEOF
13339 
13340 
13341     fi
13342     FOUND=0
13343     for dc_cv_loop in \$ac_cv_sizeof_int \$ac_cv_sizeof_long \$ac_cv_sizeof_short; do
13344         dc_cv_size=`eval echo $dc_cv_loop`
13345         dc_cv_name=`echo $dc_cv_loop | sed s/\\\$ac_cv_sizeof_//`
13346         if test "$dc_cv_size" = "2"; then
13347             if test "$dc_cv_name" = "int"; then
13348                 echo "$as_me:$LINENO: checking for int16_t" >&5
13349 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
13350 if test "${ac_cv_type_int16_t+set}" = set; then
13351   echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353   cat >conftest.$ac_ext <<_ACEOF
13354 /* confdefs.h.  */
13355 _ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h.  */
13359 $ac_includes_default
13360 int
13361 main ()
13362 {
13363 if ((int16_t *) 0)
13364   return 0;
13365 if (sizeof (int16_t))
13366   return 0;
13367   ;
13368   return 0;
13369 }
13370 _ACEOF
13371 rm -f conftest.$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373   (eval $ac_compile) 2>conftest.er1
13374   ac_status=$?
13375   grep -v '^ *+' conftest.er1 >conftest.err
13376   rm -f conftest.er1
13377   cat conftest.err >&5
13378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379   (exit $ac_status); } &&
13380      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382   (eval $ac_try) 2>&5
13383   ac_status=$?
13384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385   (exit $ac_status); }; } &&
13386      { ac_try='test -s conftest.$ac_objext'
13387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388   (eval $ac_try) 2>&5
13389   ac_status=$?
13390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391   (exit $ac_status); }; }; then
13392   ac_cv_type_int16_t=yes
13393 else
13394   echo "$as_me: failed program was:" >&5
13395 sed 's/^/| /' conftest.$ac_ext >&5
13396 
13397 ac_cv_type_int16_t=no
13398 fi
13399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13400 fi
13401 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
13402 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
13403 if test $ac_cv_type_int16_t = yes; then
13404   :
13405 else
13406 
13407 cat >>confdefs.h <<_ACEOF
13408 #define int16_t signed int
13409 _ACEOF
13410 
13411 fi
13412 
13413             fi
13414             if test "$dc_cv_name" = "long"; then
13415                 echo "$as_me:$LINENO: checking for int16_t" >&5
13416 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
13417 if test "${ac_cv_type_int16_t+set}" = set; then
13418   echo $ECHO_N "(cached) $ECHO_C" >&6
13419 else
13420   cat >conftest.$ac_ext <<_ACEOF
13421 /* confdefs.h.  */
13422 _ACEOF
13423 cat confdefs.h >>conftest.$ac_ext
13424 cat >>conftest.$ac_ext <<_ACEOF
13425 /* end confdefs.h.  */
13426 $ac_includes_default
13427 int
13428 main ()
13429 {
13430 if ((int16_t *) 0)
13431   return 0;
13432 if (sizeof (int16_t))
13433   return 0;
13434   ;
13435   return 0;
13436 }
13437 _ACEOF
13438 rm -f conftest.$ac_objext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13440   (eval $ac_compile) 2>conftest.er1
13441   ac_status=$?
13442   grep -v '^ *+' conftest.er1 >conftest.err
13443   rm -f conftest.er1
13444   cat conftest.err >&5
13445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446   (exit $ac_status); } &&
13447      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449   (eval $ac_try) 2>&5
13450   ac_status=$?
13451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452   (exit $ac_status); }; } &&
13453      { ac_try='test -s conftest.$ac_objext'
13454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455   (eval $ac_try) 2>&5
13456   ac_status=$?
13457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458   (exit $ac_status); }; }; then
13459   ac_cv_type_int16_t=yes
13460 else
13461   echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13463 
13464 ac_cv_type_int16_t=no
13465 fi
13466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13467 fi
13468 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
13469 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
13470 if test $ac_cv_type_int16_t = yes; then
13471   :
13472 else
13473 
13474 cat >>confdefs.h <<_ACEOF
13475 #define int16_t signed long
13476 _ACEOF
13477 
13478 fi
13479 
13480             fi
13481             if test "$dc_cv_name" = "short"; then
13482                 echo "$as_me:$LINENO: checking for int16_t" >&5
13483 echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
13484 if test "${ac_cv_type_int16_t+set}" = set; then
13485   echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487   cat >conftest.$ac_ext <<_ACEOF
13488 /* confdefs.h.  */
13489 _ACEOF
13490 cat confdefs.h >>conftest.$ac_ext
13491 cat >>conftest.$ac_ext <<_ACEOF
13492 /* end confdefs.h.  */
13493 $ac_includes_default
13494 int
13495 main ()
13496 {
13497 if ((int16_t *) 0)
13498   return 0;
13499 if (sizeof (int16_t))
13500   return 0;
13501   ;
13502   return 0;
13503 }
13504 _ACEOF
13505 rm -f conftest.$ac_objext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13507   (eval $ac_compile) 2>conftest.er1
13508   ac_status=$?
13509   grep -v '^ *+' conftest.er1 >conftest.err
13510   rm -f conftest.er1
13511   cat conftest.err >&5
13512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513   (exit $ac_status); } &&
13514      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516   (eval $ac_try) 2>&5
13517   ac_status=$?
13518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519   (exit $ac_status); }; } &&
13520      { ac_try='test -s conftest.$ac_objext'
13521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522   (eval $ac_try) 2>&5
13523   ac_status=$?
13524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525   (exit $ac_status); }; }; then
13526   ac_cv_type_int16_t=yes
13527 else
13528   echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.$ac_ext >&5
13530 
13531 ac_cv_type_int16_t=no
13532 fi
13533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13534 fi
13535 echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
13536 echo "${ECHO_T}$ac_cv_type_int16_t" >&6
13537 if test $ac_cv_type_int16_t = yes; then
13538   :
13539 else
13540 
13541 cat >>confdefs.h <<_ACEOF
13542 #define int16_t signed short
13543 _ACEOF
13544 
13545 fi
13546 
13547             fi
13548             FOUND=1
13549             break
13550         fi
13551     done
13552 
13553 
13554 echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
13555 echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
13556 if test "${ac_cv_lib_z_compress2+set}" = set; then
13557   echo $ECHO_N "(cached) $ECHO_C" >&6
13558 else
13559   ac_check_lib_save_LIBS=$LIBS
13560 LIBS="-lz  $LIBS"
13561 cat >conftest.$ac_ext <<_ACEOF
13562 /* confdefs.h.  */
13563 _ACEOF
13564 cat confdefs.h >>conftest.$ac_ext
13565 cat >>conftest.$ac_ext <<_ACEOF
13566 /* end confdefs.h.  */
13567 
13568 /* Override any gcc2 internal prototype to avoid an error.  */
13569 #ifdef __cplusplus
13570 extern "C"
13571 #endif
13572 /* We use char because int might match the return type of a gcc2
13573    builtin and then its argument prototype would still apply.  */
13574 char compress2 ();
13575 int
13576 main ()
13577 {
13578 compress2 ();
13579   ;
13580   return 0;
13581 }
13582 _ACEOF
13583 rm -f conftest.$ac_objext conftest$ac_exeext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13585   (eval $ac_link) 2>conftest.er1
13586   ac_status=$?
13587   grep -v '^ *+' conftest.er1 >conftest.err
13588   rm -f conftest.er1
13589   cat conftest.err >&5
13590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591   (exit $ac_status); } &&
13592      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594   (eval $ac_try) 2>&5
13595   ac_status=$?
13596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597   (exit $ac_status); }; } &&
13598      { ac_try='test -s conftest$ac_exeext'
13599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600   (eval $ac_try) 2>&5
13601   ac_status=$?
13602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603   (exit $ac_status); }; }; then
13604   ac_cv_lib_z_compress2=yes
13605 else
13606   echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.$ac_ext >&5
13608 
13609 ac_cv_lib_z_compress2=no
13610 fi
13611 rm -f conftest.err conftest.$ac_objext \
13612       conftest$ac_exeext conftest.$ac_ext
13613 LIBS=$ac_check_lib_save_LIBS
13614 fi
13615 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
13616 echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
13617 if test $ac_cv_lib_z_compress2 = yes; then
13618 
13619 cat >>confdefs.h <<\_ACEOF
13620 #define HAVE_COMPRESS2
13621 _ACEOF
13622 
13623 fi
13624 
13625 echo "$as_me:$LINENO: checking for gzdopen in -lz" >&5
13626 echo $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
13627 if test "${ac_cv_lib_z_gzdopen+set}" = set; then
13628   echo $ECHO_N "(cached) $ECHO_C" >&6
13629 else
13630   ac_check_lib_save_LIBS=$LIBS
13631 LIBS="-lz  $LIBS"
13632 cat >conftest.$ac_ext <<_ACEOF
13633 /* confdefs.h.  */
13634 _ACEOF
13635 cat confdefs.h >>conftest.$ac_ext
13636 cat >>conftest.$ac_ext <<_ACEOF
13637 /* end confdefs.h.  */
13638 
13639 /* Override any gcc2 internal prototype to avoid an error.  */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 /* We use char because int might match the return type of a gcc2
13644    builtin and then its argument prototype would still apply.  */
13645 char gzdopen ();
13646 int
13647 main ()
13648 {
13649 gzdopen ();
13650   ;
13651   return 0;
13652 }
13653 _ACEOF
13654 rm -f conftest.$ac_objext conftest$ac_exeext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13656   (eval $ac_link) 2>conftest.er1
13657   ac_status=$?
13658   grep -v '^ *+' conftest.er1 >conftest.err
13659   rm -f conftest.er1
13660   cat conftest.err >&5
13661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662   (exit $ac_status); } &&
13663      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665   (eval $ac_try) 2>&5
13666   ac_status=$?
13667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668   (exit $ac_status); }; } &&
13669      { ac_try='test -s conftest$ac_exeext'
13670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671   (eval $ac_try) 2>&5
13672   ac_status=$?
13673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674   (exit $ac_status); }; }; then
13675   ac_cv_lib_z_gzdopen=yes
13676 else
13677   echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13679 
13680 ac_cv_lib_z_gzdopen=no
13681 fi
13682 rm -f conftest.err conftest.$ac_objext \
13683       conftest$ac_exeext conftest.$ac_ext
13684 LIBS=$ac_check_lib_save_LIBS
13685 fi
13686 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzdopen" >&5
13687 echo "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
13688 if test $ac_cv_lib_z_gzdopen = yes; then
13689 
13690 cat >>confdefs.h <<\_ACEOF
13691 #define HAVE_GZDOPEN
13692 _ACEOF
13693 
13694 fi
13695 
13696 echo "$as_me:$LINENO: checking for bzBuffToBuffCompress in -lbz2" >&5
13697 echo $ECHO_N "checking for bzBuffToBuffCompress in -lbz2... $ECHO_C" >&6
13698 if test "${ac_cv_lib_bz2_bzBuffToBuffCompress+set}" = set; then
13699   echo $ECHO_N "(cached) $ECHO_C" >&6
13700 else
13701   ac_check_lib_save_LIBS=$LIBS
13702 LIBS="-lbz2  $LIBS"
13703 cat >conftest.$ac_ext <<_ACEOF
13704 /* confdefs.h.  */
13705 _ACEOF
13706 cat confdefs.h >>conftest.$ac_ext
13707 cat >>conftest.$ac_ext <<_ACEOF
13708 /* end confdefs.h.  */
13709 
13710 /* Override any gcc2 internal prototype to avoid an error.  */
13711 #ifdef __cplusplus
13712 extern "C"
13713 #endif
13714 /* We use char because int might match the return type of a gcc2
13715    builtin and then its argument prototype would still apply.  */
13716 char bzBuffToBuffCompress ();
13717 int
13718 main ()
13719 {
13720 bzBuffToBuffCompress ();
13721   ;
13722   return 0;
13723 }
13724 _ACEOF
13725 rm -f conftest.$ac_objext conftest$ac_exeext
13726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13727   (eval $ac_link) 2>conftest.er1
13728   ac_status=$?
13729   grep -v '^ *+' conftest.er1 >conftest.err
13730   rm -f conftest.er1
13731   cat conftest.err >&5
13732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733   (exit $ac_status); } &&
13734      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736   (eval $ac_try) 2>&5
13737   ac_status=$?
13738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739   (exit $ac_status); }; } &&
13740      { ac_try='test -s conftest$ac_exeext'
13741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742   (eval $ac_try) 2>&5
13743   ac_status=$?
13744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745   (exit $ac_status); }; }; then
13746   ac_cv_lib_bz2_bzBuffToBuffCompress=yes
13747 else
13748   echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13750 
13751 ac_cv_lib_bz2_bzBuffToBuffCompress=no
13752 fi
13753 rm -f conftest.err conftest.$ac_objext \
13754       conftest$ac_exeext conftest.$ac_ext
13755 LIBS=$ac_check_lib_save_LIBS
13756 fi
13757 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzBuffToBuffCompress" >&5
13758 echo "${ECHO_T}$ac_cv_lib_bz2_bzBuffToBuffCompress" >&6
13759 if test $ac_cv_lib_bz2_bzBuffToBuffCompress = yes; then
13760 
13761 cat >>confdefs.h <<\_ACEOF
13762 #define HAVE_OLD_BZ2
13763 _ACEOF
13764 
13765 fi
13766 
13767 echo "$as_me:$LINENO: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
13768 echo $ECHO_N "checking for BZ2_bzBuffToBuffCompress in -lbz2... $ECHO_C" >&6
13769 if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then
13770   echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772   ac_check_lib_save_LIBS=$LIBS
13773 LIBS="-lbz2  $LIBS"
13774 cat >conftest.$ac_ext <<_ACEOF
13775 /* confdefs.h.  */
13776 _ACEOF
13777 cat confdefs.h >>conftest.$ac_ext
13778 cat >>conftest.$ac_ext <<_ACEOF
13779 /* end confdefs.h.  */
13780 
13781 /* Override any gcc2 internal prototype to avoid an error.  */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 /* We use char because int might match the return type of a gcc2
13786    builtin and then its argument prototype would still apply.  */
13787 char BZ2_bzBuffToBuffCompress ();
13788 int
13789 main ()
13790 {
13791 BZ2_bzBuffToBuffCompress ();
13792   ;
13793   return 0;
13794 }
13795 _ACEOF
13796 rm -f conftest.$ac_objext conftest$ac_exeext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13798   (eval $ac_link) 2>conftest.er1
13799   ac_status=$?
13800   grep -v '^ *+' conftest.er1 >conftest.err
13801   rm -f conftest.er1
13802   cat conftest.err >&5
13803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804   (exit $ac_status); } &&
13805      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13807   (eval $ac_try) 2>&5
13808   ac_status=$?
13809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810   (exit $ac_status); }; } &&
13811      { ac_try='test -s conftest$ac_exeext'
13812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813   (eval $ac_try) 2>&5
13814   ac_status=$?
13815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816   (exit $ac_status); }; }; then
13817   ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=yes
13818 else
13819   echo "$as_me: failed program was:" >&5
13820 sed 's/^/| /' conftest.$ac_ext >&5
13821 
13822 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress=no
13823 fi
13824 rm -f conftest.err conftest.$ac_objext \
13825       conftest$ac_exeext conftest.$ac_ext
13826 LIBS=$ac_check_lib_save_LIBS
13827 fi
13828 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
13829 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6
13830 if test $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress = yes; then
13831 
13832 cat >>confdefs.h <<\_ACEOF
13833 #define HAVE_NEW_BZ2
13834 _ACEOF
13835 
13836 fi
13837 
13838 echo "$as_me:$LINENO: checking for bzdopen in -lbz2" >&5
13839 echo $ECHO_N "checking for bzdopen in -lbz2... $ECHO_C" >&6
13840 if test "${ac_cv_lib_bz2_bzdopen+set}" = set; then
13841   echo $ECHO_N "(cached) $ECHO_C" >&6
13842 else
13843   ac_check_lib_save_LIBS=$LIBS
13844 LIBS="-lbz2  $LIBS"
13845 cat >conftest.$ac_ext <<_ACEOF
13846 /* confdefs.h.  */
13847 _ACEOF
13848 cat confdefs.h >>conftest.$ac_ext
13849 cat >>conftest.$ac_ext <<_ACEOF
13850 /* end confdefs.h.  */
13851 
13852 /* Override any gcc2 internal prototype to avoid an error.  */
13853 #ifdef __cplusplus
13854 extern "C"
13855 #endif
13856 /* We use char because int might match the return type of a gcc2
13857    builtin and then its argument prototype would still apply.  */
13858 char bzdopen ();
13859 int
13860 main ()
13861 {
13862 bzdopen ();
13863   ;
13864   return 0;
13865 }
13866 _ACEOF
13867 rm -f conftest.$ac_objext conftest$ac_exeext
13868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13869   (eval $ac_link) 2>conftest.er1
13870   ac_status=$?
13871   grep -v '^ *+' conftest.er1 >conftest.err
13872   rm -f conftest.er1
13873   cat conftest.err >&5
13874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875   (exit $ac_status); } &&
13876      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878   (eval $ac_try) 2>&5
13879   ac_status=$?
13880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881   (exit $ac_status); }; } &&
13882      { ac_try='test -s conftest$ac_exeext'
13883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13884   (eval $ac_try) 2>&5
13885   ac_status=$?
13886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887   (exit $ac_status); }; }; then
13888   ac_cv_lib_bz2_bzdopen=yes
13889 else
13890   echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892 
13893 ac_cv_lib_bz2_bzdopen=no
13894 fi
13895 rm -f conftest.err conftest.$ac_objext \
13896       conftest$ac_exeext conftest.$ac_ext
13897 LIBS=$ac_check_lib_save_LIBS
13898 fi
13899 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_bzdopen" >&5
13900 echo "${ECHO_T}$ac_cv_lib_bz2_bzdopen" >&6
13901 if test $ac_cv_lib_bz2_bzdopen = yes; then
13902 
13903 cat >>confdefs.h <<\_ACEOF
13904 #define HAVE_BZDOPEN
13905 _ACEOF
13906 
13907 fi
13908 
13909 echo "$as_me:$LINENO: checking for BZ2_bzdopen in -lbz2" >&5
13910 echo $ECHO_N "checking for BZ2_bzdopen in -lbz2... $ECHO_C" >&6
13911 if test "${ac_cv_lib_bz2_BZ2_bzdopen+set}" = set; then
13912   echo $ECHO_N "(cached) $ECHO_C" >&6
13913 else
13914   ac_check_lib_save_LIBS=$LIBS
13915 LIBS="-lbz2  $LIBS"
13916 cat >conftest.$ac_ext <<_ACEOF
13917 /* confdefs.h.  */
13918 _ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h.  */
13922 
13923 /* Override any gcc2 internal prototype to avoid an error.  */
13924 #ifdef __cplusplus
13925 extern "C"
13926 #endif
13927 /* We use char because int might match the return type of a gcc2
13928    builtin and then its argument prototype would still apply.  */
13929 char BZ2_bzdopen ();
13930 int
13931 main ()
13932 {
13933 BZ2_bzdopen ();
13934   ;
13935   return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest$ac_exeext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13940   (eval $ac_link) 2>conftest.er1
13941   ac_status=$?
13942   grep -v '^ *+' conftest.er1 >conftest.err
13943   rm -f conftest.er1
13944   cat conftest.err >&5
13945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946   (exit $ac_status); } &&
13947      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
13948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949   (eval $ac_try) 2>&5
13950   ac_status=$?
13951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952   (exit $ac_status); }; } &&
13953      { ac_try='test -s conftest$ac_exeext'
13954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955   (eval $ac_try) 2>&5
13956   ac_status=$?
13957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958   (exit $ac_status); }; }; then
13959   ac_cv_lib_bz2_BZ2_bzdopen=yes
13960 else
13961   echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.$ac_ext >&5
13963 
13964 ac_cv_lib_bz2_BZ2_bzdopen=no
13965 fi
13966 rm -f conftest.err conftest.$ac_objext \
13967       conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13969 fi
13970 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzdopen" >&5
13971 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzdopen" >&6
13972 if test $ac_cv_lib_bz2_BZ2_bzdopen = yes; then
13973 
13974 cat >>confdefs.h <<\_ACEOF
13975 #define HAVE_NEW_BZDOPEN
13976 _ACEOF
13977 
13978 fi
13979 
13980 
13981 
13982 
13983 
13984 
13985 for ac_func in getopt strsep getpass mkstemp uname
13986 do
13987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13988 echo "$as_me:$LINENO: checking for $ac_func" >&5
13989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13990 if eval "test \"\${$as_ac_var+set}\" = set"; then
13991   echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993   cat >conftest.$ac_ext <<_ACEOF
13994 /* confdefs.h.  */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h.  */
13999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14001 #define $ac_func innocuous_$ac_func
14002 
14003 /* System header to define __stub macros and hopefully few prototypes,
14004     which can conflict with char $ac_func (); below.
14005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14006     <limits.h> exists even on freestanding compilers.  */
14007 
14008 #ifdef __STDC__
14009 # include <limits.h>
14010 #else
14011 # include <assert.h>
14012 #endif
14013 
14014 #undef $ac_func
14015 
14016 /* Override any gcc2 internal prototype to avoid an error.  */
14017 #ifdef __cplusplus
14018 extern "C"
14019 {
14020 #endif
14021 /* We use char because int might match the return type of a gcc2
14022    builtin and then its argument prototype would still apply.  */
14023 char $ac_func ();
14024 /* The GNU C library defines this for functions which it implements
14025     to always fail with ENOSYS.  Some functions are actually named
14026     something starting with __ and the normal name is an alias.  */
14027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14028 choke me
14029 #else
14030 char (*f) () = $ac_func;
14031 #endif
14032 #ifdef __cplusplus
14033 }
14034 #endif
14035 
14036 int
14037 main ()
14038 {
14039 return f != $ac_func;
14040   ;
14041   return 0;
14042 }
14043 _ACEOF
14044 rm -f conftest.$ac_objext conftest$ac_exeext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14046   (eval $ac_link) 2>conftest.er1
14047   ac_status=$?
14048   grep -v '^ *+' conftest.er1 >conftest.err
14049   rm -f conftest.er1
14050   cat conftest.err >&5
14051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052   (exit $ac_status); } &&
14053      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
14054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055   (eval $ac_try) 2>&5
14056   ac_status=$?
14057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058   (exit $ac_status); }; } &&
14059      { ac_try='test -s conftest$ac_exeext'
14060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061   (eval $ac_try) 2>&5
14062   ac_status=$?
14063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064   (exit $ac_status); }; }; then
14065   eval "$as_ac_var=yes"
14066 else
14067   echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069 
14070 eval "$as_ac_var=no"
14071 fi
14072 rm -f conftest.err conftest.$ac_objext \
14073       conftest$ac_exeext conftest.$ac_ext
14074 fi
14075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14077 if test `eval echo '${'$as_ac_var'}'` = yes; then
14078   cat >>confdefs.h <<_ACEOF
14079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14080 _ACEOF
14081 
14082 else
14083   case $LIBOBJS in
14084     "$ac_func.$ac_objext"   | \
14085   *" $ac_func.$ac_objext"   | \
14086     "$ac_func.$ac_objext "* | \
14087   *" $ac_func.$ac_objext "* ) ;;
14088   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
14089 esac
14090 
14091 fi
14092 done
14093 
14094 
14095 
14096 
14097 
14098 
14099 
14100 for ac_header in windows.h windowsx.h winsock2.h
14101 do
14102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14104   echo "$as_me:$LINENO: checking for $ac_header" >&5
14105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14107   echo $ECHO_N "(cached) $ECHO_C" >&6
14108 fi
14109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14111 else
14112   # Is the header compilable?
14113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14115 cat >conftest.$ac_ext <<_ACEOF
14116 /* confdefs.h.  */
14117 _ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h.  */
14121 $ac_includes_default
14122 #include <$ac_header>
14123 _ACEOF
14124 rm -f conftest.$ac_objext
14125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14126   (eval $ac_compile) 2>conftest.er1
14127   ac_status=$?
14128   grep -v '^ *+' conftest.er1 >conftest.err
14129   rm -f conftest.er1
14130   cat conftest.err >&5
14131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14132   (exit $ac_status); } &&
14133      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
14134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135   (eval $ac_try) 2>&5
14136   ac_status=$?
14137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138   (exit $ac_status); }; } &&
14139      { ac_try='test -s conftest.$ac_objext'
14140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14141   (eval $ac_try) 2>&5
14142   ac_status=$?
14143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144   (exit $ac_status); }; }; then
14145   ac_header_compiler=yes
14146 else
14147   echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14149 
14150 ac_header_compiler=no
14151 fi
14152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14154 echo "${ECHO_T}$ac_header_compiler" >&6
14155 
14156 # Is the header present?
14157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14159 cat >conftest.$ac_ext <<_ACEOF
14160 /* confdefs.h.  */
14161 _ACEOF
14162 cat confdefs.h >>conftest.$ac_ext
14163 cat >>conftest.$ac_ext <<_ACEOF
14164 /* end confdefs.h.  */
14165 #include <$ac_header>
14166 _ACEOF
14167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14168   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14169   ac_status=$?
14170   grep -v '^ *+' conftest.er1 >conftest.err
14171   rm -f conftest.er1
14172   cat conftest.err >&5
14173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174   (exit $ac_status); } >/dev/null; then
14175   if test -s conftest.err; then
14176     ac_cpp_err=$ac_c_preproc_warn_flag
14177     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14178   else
14179     ac_cpp_err=
14180   fi
14181 else
14182   ac_cpp_err=yes
14183 fi
14184 if test -z "$ac_cpp_err"; then
14185   ac_header_preproc=yes
14186 else
14187   echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14189 
14190   ac_header_preproc=no
14191 fi
14192 rm -f conftest.err conftest.$ac_ext
14193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14194 echo "${ECHO_T}$ac_header_preproc" >&6
14195 
14196 # So?  What about this header?
14197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14198   yes:no: )
14199     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14201     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14203     ac_header_preproc=yes
14204     ;;
14205   no:yes:* )
14206     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14208     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14209 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14210     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14212     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14213 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14214     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14216     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14218     (
14219       cat <<\_ASBOX
14220 ## ------------------------------------------ ##
14221 ## Report this to the AC_PACKAGE_NAME lists.  ##
14222 ## ------------------------------------------ ##
14223 _ASBOX
14224     ) |
14225       sed "s/^/$as_me: WARNING:     /" >&2
14226     ;;
14227 esac
14228 echo "$as_me:$LINENO: checking for $ac_header" >&5
14229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14231   echo $ECHO_N "(cached) $ECHO_C" >&6
14232 else
14233   eval "$as_ac_Header=\$ac_header_preproc"
14234 fi
14235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14237 
14238 fi
14239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14240   cat >>confdefs.h <<_ACEOF
14241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14242 _ACEOF
14243 
14244 fi
14245 
14246 done
14247 
14248   echo "$as_me:$LINENO: checking for main in -lwsock32" >&5
14249 echo $ECHO_N "checking for main in -lwsock32... $ECHO_C" >&6
14250 if test "${ac_cv_lib_wsock32_main+set}" = set; then
14251   echo $ECHO_N "(cached) $ECHO_C" >&6
14252 else
14253   ac_check_lib_save_LIBS=$LIBS
14254 LIBS="-lwsock32  $LIBS"
14255 cat >conftest.$ac_ext <<_ACEOF
14256 /* confdefs.h.  */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h.  */
14261 
14262 
14263 int
14264 main ()
14265 {
14266 main ();
14267   ;
14268   return 0;
14269 }
14270 _ACEOF
14271 rm -f conftest.$ac_objext conftest$ac_exeext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14273   (eval $ac_link) 2>conftest.er1
14274   ac_status=$?
14275   grep -v '^ *+' conftest.er1 >conftest.err
14276   rm -f conftest.er1
14277   cat conftest.err >&5
14278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279   (exit $ac_status); } &&
14280      { ac_try='test -z "$ac_c_werror_flag"           || test ! -s conftest.err'
14281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282   (eval $ac_try) 2>&5
14283   ac_status=$?
14284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285   (exit $ac_status); }; } &&
14286      { ac_try='test -s conftest$ac_exeext'
14287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288   (eval $ac_try) 2>&5
14289   ac_status=$?
14290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291   (exit $ac_status); }; }; then
14292   ac_cv_lib_wsock32_main=yes
14293 else
14294   echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14296 
14297 ac_cv_lib_wsock32_main=no
14298 fi
14299 rm -f conftest.err conftest.$ac_objext \
14300       conftest$ac_exeext conftest.$ac_ext
14301 LIBS=$ac_check_lib_save_LIBS
14302 fi
14303 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_main" >&5
14304 echo "${ECHO_T}$ac_cv_lib_wsock32_main" >&6
14305 if test $ac_cv_lib_wsock32_main = yes; then
14306 
14307 
14308 cat >>confdefs.h <<\_ACEOF
14309 #define HAVE_LIBWSOCK32
14310 _ACEOF
14311 
14312       LIBS="${LIBS} -lwsock32"
14313 
14314 fi
14315 
14316 
14317 
14318           ac_config_files="$ac_config_files Makefile"
14319 cat >confcache <<\_ACEOF
14320 # This file is a shell script that caches the results of configure
14321 # tests run on this system so they can be shared between configure
14322 # scripts and configure runs, see configure's option --config-cache.
14323 # It is not useful on other systems.  If it contains results you don't
14324 # want to keep, you may remove or edit it.
14325 #
14326 # config.status only pays attention to the cache file if you give it
14327 # the --recheck option to rerun configure.
14328 #
14329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14331 # following values.
14332 
14333 _ACEOF
14334 
14335 # The following way of writing the cache mishandles newlines in values,
14336 # but we know of no workaround that is simple, portable, and efficient.
14337 # So, don't put newlines in cache variables' values.
14338 # Ultrix sh set writes to stderr and can't be redirected directly,
14339 # and sets the high bit in the cache file unless we assign to the vars.
14340 {
14341   (set) 2>&1 |
14342     case `(ac_space=' '; set | grep ac_space) 2>&1` in
14343     *ac_space=\ *)
14344       # `set' does not quote correctly, so add quotes (double-quote
14345       # substitution turns \\\\ into \\, and sed turns \\ into \).
14346       sed -n \
14347     "s/'/'\\\\''/g;
14348       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14349       ;;
14350     *)
14351       # `set' quotes correctly as required by POSIX, so do not add quotes.
14352       sed -n \
14353     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14354       ;;
14355     esac;
14356 } |
14357   sed '
14358      t clear
14359      : clear
14360      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14361      t end
14362      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14363      : end' >>confcache
14364 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14365   if test -w $cache_file; then
14366     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14367     cat confcache >$cache_file
14368   else
14369     echo "not updating unwritable cache $cache_file"
14370   fi
14371 fi
14372 rm -f confcache
14373 
14374 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14375 # Let make expand exec_prefix.
14376 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14377 
14378 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14379 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14380 # trailing colons and then remove the whole line if VPATH becomes empty
14381 # (actually we leave an empty line to preserve line numbers).
14382 if test "x$srcdir" = x.; then
14383   ac_vpsub='/^[  ]*VPATH[    ]*=/{
14384 s/:*\$(srcdir):*/:/;
14385 s/:*\${srcdir}:*/:/;
14386 s/:*@srcdir@:*/:/;
14387 s/^\([^=]*=[     ]*\):*/\1/;
14388 s/:*$//;
14389 s/^[^=]*=[   ]*$//;
14390 }'
14391 fi
14392 
14393 DEFS=-DHAVE_CONFIG_H
14394 
14395 ac_libobjs=
14396 ac_ltlibobjs=
14397 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14398   # 1. Remove the extension, and $U if already installed.
14399   ac_i=`echo "$ac_i" |
14400      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14401   # 2. Add them.
14402   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14403   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14404 done
14405 LIBOBJS=$ac_libobjs
14406 
14407 LTLIBOBJS=$ac_ltlibobjs
14408 
14409 
14410 
14411 : ${CONFIG_STATUS=./config.status}
14412 ac_clean_files_save=$ac_clean_files
14413 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14414 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14415 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14416 cat >$CONFIG_STATUS <<_ACEOF
14417 #! $SHELL
14418 # Generated by $as_me.
14419 # Run this file to recreate the current configuration.
14420 # Compiler output produced by configure, useful for debugging
14421 # configure, is in config.log if it exists.
14422 
14423 debug=false
14424 ac_cs_recheck=false
14425 ac_cs_silent=false
14426 SHELL=\${CONFIG_SHELL-$SHELL}
14427 _ACEOF
14428 
14429 cat >>$CONFIG_STATUS <<\_ACEOF
14430 ## --------------------- ##
14431 ## M4sh Initialization.  ##
14432 ## --------------------- ##
14433 
14434 # Be Bourne compatible
14435 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14436   emulate sh
14437   NULLCMD=:
14438   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14439   # is contrary to our usage.  Disable this feature.
14440   alias -g '${1+"$@"}'='"$@"'
14441 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14442   set -o posix
14443 fi
14444 DUALCASE=1; export DUALCASE # for MKS sh
14445 
14446 # Support unset when possible.
14447 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14448   as_unset=unset
14449 else
14450   as_unset=false
14451 fi
14452 
14453 
14454 # Work around bugs in pre-3.0 UWIN ksh.
14455 $as_unset ENV MAIL MAILPATH
14456 PS1='$ '
14457 PS2='> '
14458 PS4='+ '
14459 
14460 # NLS nuisances.
14461 for as_var in \
14462   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14463   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14464   LC_TELEPHONE LC_TIME
14465 do
14466   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14467     eval $as_var=C; export $as_var
14468   else
14469     $as_unset $as_var
14470   fi
14471 done
14472 
14473 # Required to use basename.
14474 if expr a : '\(a\)' >/dev/null 2>&1; then
14475   as_expr=expr
14476 else
14477   as_expr=false
14478 fi
14479 
14480 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14481   as_basename=basename
14482 else
14483   as_basename=false
14484 fi
14485 
14486 
14487 # Name of the executable.
14488 as_me=`$as_basename "$0" ||
14489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14490      X"$0" : 'X\(//\)$' \| \
14491      X"$0" : 'X\(/\)$' \| \
14492      .     : '\(.\)' 2>/dev/null ||
14493 echo X/"$0" |
14494     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14495       /^X\/\(\/\/\)$/{ s//\1/; q; }
14496       /^X\/\(\/\).*/{ s//\1/; q; }
14497       s/.*/./; q'`
14498 
14499 
14500 # PATH needs CR, and LINENO needs CR and PATH.
14501 # Avoid depending upon Character Ranges.
14502 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14503 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14504 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14505 as_cr_digits='0123456789'
14506 as_cr_alnum=$as_cr_Letters$as_cr_digits
14507 
14508 # The user is always right.
14509 if test "${PATH_SEPARATOR+set}" != set; then
14510   echo "#! /bin/sh" >conf$$.sh
14511   echo  "exit 0"   >>conf$$.sh
14512   chmod +x conf$$.sh
14513   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14514     PATH_SEPARATOR=';'
14515   else
14516     PATH_SEPARATOR=:
14517   fi
14518   rm -f conf$$.sh
14519 fi
14520 
14521 
14522   as_lineno_1=$LINENO
14523   as_lineno_2=$LINENO
14524   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14525   test "x$as_lineno_1" != "x$as_lineno_2" &&
14526   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
14527   # Find who we are.  Look in the path if we contain no path at all
14528   # relative or not.
14529   case $0 in
14530     *[\\/]* ) as_myself=$0 ;;
14531     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14532 for as_dir in $PATH
14533 do
14534   IFS=$as_save_IFS
14535   test -z "$as_dir" && as_dir=.
14536   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14537 done
14538 
14539        ;;
14540   esac
14541   # We did not find ourselves, most probably we were run as `sh COMMAND'
14542   # in which case we are not to be found in the path.
14543   if test "x$as_myself" = x; then
14544     as_myself=$0
14545   fi
14546   if test ! -f "$as_myself"; then
14547     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14548 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14549    { (exit 1); exit 1; }; }
14550   fi
14551   case $CONFIG_SHELL in
14552   '')
14553     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14554 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14555 do
14556   IFS=$as_save_IFS
14557   test -z "$as_dir" && as_dir=.
14558   for as_base in sh bash ksh sh5; do
14559      case $as_dir in
14560      /*)
14561        if ("$as_dir/$as_base" -c '
14562   as_lineno_1=$LINENO
14563   as_lineno_2=$LINENO
14564   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14565   test "x$as_lineno_1" != "x$as_lineno_2" &&
14566   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
14567          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14568          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14569          CONFIG_SHELL=$as_dir/$as_base
14570          export CONFIG_SHELL
14571          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14572        fi;;
14573      esac
14574        done
14575 done
14576 ;;
14577   esac
14578 
14579   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14580   # uniformly replaced by the line number.  The first 'sed' inserts a
14581   # line-number line before each line; the second 'sed' does the real
14582   # work.  The second script uses 'N' to pair each line-number line
14583   # with the numbered line, and appends trailing '-' during
14584   # substitution so that $LINENO is not a special case at line end.
14585   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14586   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
14587   sed '=' <$as_myself |
14588     sed '
14589       N
14590       s,$,-,
14591       : loop
14592       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14593       t loop
14594       s,-$,,
14595       s,^['$as_cr_digits']*\n,,
14596     ' >$as_me.lineno &&
14597   chmod +x $as_me.lineno ||
14598     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14599 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14600    { (exit 1); exit 1; }; }
14601 
14602   # Don't try to exec as it changes $[0], causing all sort of problems
14603   # (the dirname of $[0] is not the place where we might find the
14604   # original and so on.  Autoconf is especially sensible to this).
14605   . ./$as_me.lineno
14606   # Exit status is that of the last command.
14607   exit
14608 }
14609 
14610 
14611 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14612   *c*,-n*) ECHO_N= ECHO_C='
14613 ' ECHO_T='  ' ;;
14614   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14615   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
14616 esac
14617 
14618 if expr a : '\(a\)' >/dev/null 2>&1; then
14619   as_expr=expr
14620 else
14621   as_expr=false
14622 fi
14623 
14624 rm -f conf$$ conf$$.exe conf$$.file
14625 echo >conf$$.file
14626 if ln -s conf$$.file conf$$ 2>/dev/null; then
14627   # We could just check for DJGPP; but this test a) works b) is more generic
14628   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14629   if test -f conf$$.exe; then
14630     # Don't use ln at all; we don't have any links
14631     as_ln_s='cp -p'
14632   else
14633     as_ln_s='ln -s'
14634   fi
14635 elif ln conf$$.file conf$$ 2>/dev/null; then
14636   as_ln_s=ln
14637 else
14638   as_ln_s='cp -p'
14639 fi
14640 rm -f conf$$ conf$$.exe conf$$.file
14641 
14642 if mkdir -p . 2>/dev/null; then
14643   as_mkdir_p=:
14644 else
14645   test -d ./-p && rmdir ./-p
14646   as_mkdir_p=false
14647 fi
14648 
14649 as_executable_p="test -f"
14650 
14651 # Sed expression to map a string onto a valid CPP name.
14652 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14653 
14654 # Sed expression to map a string onto a valid variable name.
14655 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14656 
14657 
14658 # IFS
14659 # We need space, tab and new line, in precisely that order.
14660 as_nl='
14661 '
14662 IFS="   $as_nl"
14663 
14664 # CDPATH.
14665 $as_unset CDPATH
14666 
14667 exec 6>&1
14668 
14669 # Open the log real soon, to keep \$[0] and so on meaningful, and to
14670 # report actual input values of CONFIG_FILES etc. instead of their
14671 # values after options handling.  Logging --version etc. is OK.
14672 exec 5>>config.log
14673 {
14674   echo
14675   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14676 ## Running $as_me. ##
14677 _ASBOX
14678 } >&5
14679 cat >&5 <<_CSEOF
14680 
14681 This file was extended by $as_me, which was
14682 generated by GNU Autoconf 2.59.  Invocation command line was
14683 
14684   CONFIG_FILES    = $CONFIG_FILES
14685   CONFIG_HEADERS  = $CONFIG_HEADERS
14686   CONFIG_LINKS    = $CONFIG_LINKS
14687   CONFIG_COMMANDS = $CONFIG_COMMANDS
14688   $ $0 $@
14689 
14690 _CSEOF
14691 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14692 echo >&5
14693 _ACEOF
14694 
14695 # Files that config.status was made for.
14696 if test -n "$ac_config_files"; then
14697   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14698 fi
14699 
14700 if test -n "$ac_config_headers"; then
14701   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14702 fi
14703 
14704 if test -n "$ac_config_links"; then
14705   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14706 fi
14707 
14708 if test -n "$ac_config_commands"; then
14709   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14710 fi
14711 
14712 cat >>$CONFIG_STATUS <<\_ACEOF
14713 
14714 ac_cs_usage="\
14715 \`$as_me' instantiates files from templates according to the
14716 current configuration.
14717 
14718 Usage: $0 [OPTIONS] [FILE]...
14719 
14720   -h, --help       print this help, then exit
14721   -V, --version    print version number, then exit
14722   -q, --quiet      do not print progress messages
14723   -d, --debug      don't remove temporary files
14724       --recheck    update $as_me by reconfiguring in the same conditions
14725   --file=FILE[:TEMPLATE]
14726            instantiate the configuration file FILE
14727   --header=FILE[:TEMPLATE]
14728            instantiate the configuration header FILE
14729 
14730 Configuration files:
14731 $config_files
14732 
14733 Configuration headers:
14734 $config_headers
14735 
14736 Report bugs to <bug-autoconf@gnu.org>."
14737 _ACEOF
14738 
14739 cat >>$CONFIG_STATUS <<_ACEOF
14740 ac_cs_version="\\
14741 config.status
14742 configured by $0, generated by GNU Autoconf 2.59,
14743   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14744 
14745 Copyright (C) 2003 Free Software Foundation, Inc.
14746 This config.status script is free software; the Free Software Foundation
14747 gives unlimited permission to copy, distribute and modify it."
14748 srcdir=$srcdir
14749 INSTALL="$INSTALL"
14750 _ACEOF
14751 
14752 cat >>$CONFIG_STATUS <<\_ACEOF
14753 # If no file are specified by the user, then we need to provide default
14754 # value.  By we need to know if files were specified by the user.
14755 ac_need_defaults=:
14756 while test $# != 0
14757 do
14758   case $1 in
14759   --*=*)
14760     ac_option=`expr "x$1" : 'x\([^=]*\)='`
14761     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14762     ac_shift=:
14763     ;;
14764   -*)
14765     ac_option=$1
14766     ac_optarg=$2
14767     ac_shift=shift
14768     ;;
14769   *) # This is not an option, so the user has probably given explicit
14770      # arguments.
14771      ac_option=$1
14772      ac_need_defaults=false;;
14773   esac
14774 
14775   case $ac_option in
14776   # Handling of the options.
14777 _ACEOF
14778 cat >>$CONFIG_STATUS <<\_ACEOF
14779   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14780     ac_cs_recheck=: ;;
14781   --version | --vers* | -V )
14782     echo "$ac_cs_version"; exit 0 ;;
14783   --he | --h)
14784     # Conflict between --help and --header
14785     { { echo "$as_me:$LINENO: error: ambiguous option: $1
14786 Try \`$0 --help' for more information." >&5
14787 echo "$as_me: error: ambiguous option: $1
14788 Try \`$0 --help' for more information." >&2;}
14789    { (exit 1); exit 1; }; };;
14790   --help | --hel | -h )
14791     echo "$ac_cs_usage"; exit 0 ;;
14792   --debug | --d* | -d )
14793     debug=: ;;
14794   --file | --fil | --fi | --f )
14795     $ac_shift
14796     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14797     ac_need_defaults=false;;
14798   --header | --heade | --head | --hea )
14799     $ac_shift
14800     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14801     ac_need_defaults=false;;
14802   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14803   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14804     ac_cs_silent=: ;;
14805 
14806   # This is an error.
14807   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14808 Try \`$0 --help' for more information." >&5
14809 echo "$as_me: error: unrecognized option: $1
14810 Try \`$0 --help' for more information." >&2;}
14811    { (exit 1); exit 1; }; } ;;
14812 
14813   *) ac_config_targets="$ac_config_targets $1" ;;
14814 
14815   esac
14816   shift
14817 done
14818 
14819 ac_configure_extra_args=
14820 
14821 if $ac_cs_silent; then
14822   exec 6>/dev/null
14823   ac_configure_extra_args="$ac_configure_extra_args --silent"
14824 fi
14825 
14826 _ACEOF
14827 cat >>$CONFIG_STATUS <<_ACEOF
14828 if \$ac_cs_recheck; then
14829   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14830   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14831 fi
14832 
14833 _ACEOF
14834 
14835 
14836 
14837 
14838 
14839 cat >>$CONFIG_STATUS <<\_ACEOF
14840 for ac_config_target in $ac_config_targets
14841 do
14842   case "$ac_config_target" in
14843   # Handling of arguments.
14844   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14845   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14846   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14847 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14848    { (exit 1); exit 1; }; };;
14849   esac
14850 done
14851 
14852 # If the user did not use the arguments to specify the items to instantiate,
14853 # then the envvar interface is used.  Set only those that are not.
14854 # We use the long form for the default assignment because of an extremely
14855 # bizarre bug on SunOS 4.1.3.
14856 if $ac_need_defaults; then
14857   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14858   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14859 fi
14860 
14861 # Have a temporary directory for convenience.  Make it in the build tree
14862 # simply because there is no reason to put it here, and in addition,
14863 # creating and moving files from /tmp can sometimes cause problems.
14864 # Create a temporary directory, and hook for its removal unless debugging.
14865 $debug ||
14866 {
14867   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14868   trap '{ (exit 1); exit 1; }' 1 2 13 15
14869 }
14870 
14871 # Create a (secure) tmp directory for tmp files.
14872 
14873 {
14874   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14875   test -n "$tmp" && test -d "$tmp"
14876 }  ||
14877 {
14878   tmp=./confstat$$-$RANDOM
14879   (umask 077 && mkdir $tmp)
14880 } ||
14881 {
14882    echo "$me: cannot create a temporary directory in ." >&2
14883    { (exit 1); exit 1; }
14884 }
14885 
14886 _ACEOF
14887 
14888 cat >>$CONFIG_STATUS <<_ACEOF
14889 
14890 #
14891 # CONFIG_FILES section.
14892 #
14893 
14894 # No need to generate the scripts if there are no CONFIG_FILES.
14895 # This happens for instance when ./config.status config.h
14896 if test -n "\$CONFIG_FILES"; then
14897   # Protect against being on the right side of a sed subst in config.status.
14898   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14899    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14900 s,@SHELL@,$SHELL,;t t
14901 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14902 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14903 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14904 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14905 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14906 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14907 s,@exec_prefix@,$exec_prefix,;t t
14908 s,@prefix@,$prefix,;t t
14909 s,@program_transform_name@,$program_transform_name,;t t
14910 s,@bindir@,$bindir,;t t
14911 s,@sbindir@,$sbindir,;t t
14912 s,@libexecdir@,$libexecdir,;t t
14913 s,@datadir@,$datadir,;t t
14914 s,@sysconfdir@,$sysconfdir,;t t
14915 s,@sharedstatedir@,$sharedstatedir,;t t
14916 s,@localstatedir@,$localstatedir,;t t
14917 s,@libdir@,$libdir,;t t
14918 s,@includedir@,$includedir,;t t
14919 s,@oldincludedir@,$oldincludedir,;t t
14920 s,@infodir@,$infodir,;t t
14921 s,@mandir@,$mandir,;t t
14922 s,@build_alias@,$build_alias,;t t
14923 s,@host_alias@,$host_alias,;t t
14924 s,@target_alias@,$target_alias,;t t
14925 s,@DEFS@,$DEFS,;t t
14926 s,@ECHO_C@,$ECHO_C,;t t
14927 s,@ECHO_N@,$ECHO_N,;t t
14928 s,@ECHO_T@,$ECHO_T,;t t
14929 s,@LIBS@,$LIBS,;t t
14930 s,@CC@,$CC,;t t
14931 s,@CFLAGS@,$CFLAGS,;t t
14932 s,@LDFLAGS@,$LDFLAGS,;t t
14933 s,@CPPFLAGS@,$CPPFLAGS,;t t
14934 s,@ac_ct_CC@,$ac_ct_CC,;t t
14935 s,@EXEEXT@,$EXEEXT,;t t
14936 s,@OBJEXT@,$OBJEXT,;t t
14937 s,@SET_MAKE@,$SET_MAKE,;t t
14938 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14939 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14940 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14941 s,@AR@,$AR,;t t
14942 s,@ac_ct_AR@,$ac_ct_AR,;t t
14943 s,@RANLIB@,$RANLIB,;t t
14944 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14945 s,@DEPEND@,$DEPEND,;t t
14946 s,@ALLMODLIBS@,$ALLMODLIBS,;t t
14947 s,@ALGO@,$ALGO,;t t
14948 s,@MODLIBS@,$MODLIBS,;t t
14949 s,@MODLIBSCOND@,$MODLIBSCOND,;t t
14950 s,@DEFAULT@,$DEFAULT,;t t
14951 s,@MODS@,$MODS,;t t
14952 s,@NOMODS@,$NOMODS,;t t
14953 s,@SHARED@,$SHARED,;t t
14954 s,@CPP@,$CPP,;t t
14955 s,@EGREP@,$EGREP,;t t
14956 s,@LIBOBJS@,$LIBOBJS,;t t
14957 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14958 CEOF
14959 
14960 _ACEOF
14961 
14962   cat >>$CONFIG_STATUS <<\_ACEOF
14963   # Split the substitutions into bite-sized pieces for seds with
14964   # small command number limits, like on Digital OSF/1 and HP-UX.
14965   ac_max_sed_lines=48
14966   ac_sed_frag=1 # Number of current file.
14967   ac_beg=1 # First line for current file.
14968   ac_end=$ac_max_sed_lines # Line after last line for current file.
14969   ac_more_lines=:
14970   ac_sed_cmds=
14971   while $ac_more_lines; do
14972     if test $ac_beg -gt 1; then
14973       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14974     else
14975       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14976     fi
14977     if test ! -s $tmp/subs.frag; then
14978       ac_more_lines=false
14979     else
14980       # The purpose of the label and of the branching condition is to
14981       # speed up the sed processing (if there are no `@' at all, there
14982       # is no need to browse any of the substitutions).
14983       # These are the two extra sed commands mentioned above.
14984       (echo ':t
14985   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14986       if test -z "$ac_sed_cmds"; then
14987     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14988       else
14989     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14990       fi
14991       ac_sed_frag=`expr $ac_sed_frag + 1`
14992       ac_beg=$ac_end
14993       ac_end=`expr $ac_end + $ac_max_sed_lines`
14994     fi
14995   done
14996   if test -z "$ac_sed_cmds"; then
14997     ac_sed_cmds=cat
14998   fi
14999 fi # test -n "$CONFIG_FILES"
15000 
15001 _ACEOF
15002 cat >>$CONFIG_STATUS <<\_ACEOF
15003 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15004   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15005   case $ac_file in
15006   - | *:- | *:-:* ) # input from stdin
15007     cat >$tmp/stdin
15008     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15009     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15010   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15011     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15012   * )   ac_file_in=$ac_file.in ;;
15013   esac
15014 
15015   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15016   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15017 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15018      X"$ac_file" : 'X\(//\)[^/]' \| \
15019      X"$ac_file" : 'X\(//\)$' \| \
15020      X"$ac_file" : 'X\(/\)' \| \
15021      .     : '\(.\)' 2>/dev/null ||
15022 echo X"$ac_file" |
15023     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15024       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15025       /^X\(\/\/\)$/{ s//\1/; q; }
15026       /^X\(\/\).*/{ s//\1/; q; }
15027       s/.*/./; q'`
15028   { if $as_mkdir_p; then
15029     mkdir -p "$ac_dir"
15030   else
15031     as_dir="$ac_dir"
15032     as_dirs=
15033     while test ! -d "$as_dir"; do
15034       as_dirs="$as_dir $as_dirs"
15035       as_dir=`(dirname "$as_dir") 2>/dev/null ||
15036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15037      X"$as_dir" : 'X\(//\)[^/]' \| \
15038      X"$as_dir" : 'X\(//\)$' \| \
15039      X"$as_dir" : 'X\(/\)' \| \
15040      .     : '\(.\)' 2>/dev/null ||
15041 echo X"$as_dir" |
15042     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15043       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15044       /^X\(\/\/\)$/{ s//\1/; q; }
15045       /^X\(\/\).*/{ s//\1/; q; }
15046       s/.*/./; q'`
15047     done
15048     test ! -n "$as_dirs" || mkdir $as_dirs
15049   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15050 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15051    { (exit 1); exit 1; }; }; }
15052 
15053   ac_builddir=.
15054 
15055 if test "$ac_dir" != .; then
15056   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15057   # A "../" for each directory in $ac_dir_suffix.
15058   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15059 else
15060   ac_dir_suffix= ac_top_builddir=
15061 fi
15062 
15063 case $srcdir in
15064   .)  # No --srcdir option.  We are building in place.
15065     ac_srcdir=.
15066     if test -z "$ac_top_builddir"; then
15067        ac_top_srcdir=.
15068     else
15069        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15070     fi ;;
15071   [\\/]* | ?:[\\/]* )  # Absolute path.
15072     ac_srcdir=$srcdir$ac_dir_suffix;
15073     ac_top_srcdir=$srcdir ;;
15074   *) # Relative path.
15075     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15076     ac_top_srcdir=$ac_top_builddir$srcdir ;;
15077 esac
15078 
15079 # Do not use `cd foo && pwd` to compute absolute paths, because
15080 # the directories may not exist.
15081 case `pwd` in
15082 .) ac_abs_builddir="$ac_dir";;
15083 *)
15084   case "$ac_dir" in
15085   .) ac_abs_builddir=`pwd`;;
15086   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15087   *) ac_abs_builddir=`pwd`/"$ac_dir";;
15088   esac;;
15089 esac
15090 case $ac_abs_builddir in
15091 .) ac_abs_top_builddir=${ac_top_builddir}.;;
15092 *)
15093   case ${ac_top_builddir}. in
15094   .) ac_abs_top_builddir=$ac_abs_builddir;;
15095   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15096   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15097   esac;;
15098 esac
15099 case $ac_abs_builddir in
15100 .) ac_abs_srcdir=$ac_srcdir;;
15101 *)
15102   case $ac_srcdir in
15103   .) ac_abs_srcdir=$ac_abs_builddir;;
15104   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15105   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15106   esac;;
15107 esac
15108 case $ac_abs_builddir in
15109 .) ac_abs_top_srcdir=$ac_top_srcdir;;
15110 *)
15111   case $ac_top_srcdir in
15112   .) ac_abs_top_srcdir=$ac_abs_builddir;;
15113   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15114   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15115   esac;;
15116 esac
15117 
15118 
15119   case $INSTALL in
15120   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15121   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15122   esac
15123 
15124   # Let's still pretend it is `configure' which instantiates (i.e., don't
15125   # use $as_me), people would be surprised to read:
15126   #    /* config.h.  Generated by config.status.  */
15127   if test x"$ac_file" = x-; then
15128     configure_input=
15129   else
15130     configure_input="$ac_file.  "
15131   fi
15132   configure_input=$configure_input"Generated from `echo $ac_file_in |
15133                      sed 's,.*/,,'` by configure."
15134 
15135   # First look for the input files in the build tree, otherwise in the
15136   # src tree.
15137   ac_file_inputs=`IFS=:
15138     for f in $ac_file_in; do
15139       case $f in
15140       -) echo $tmp/stdin ;;
15141       [\\/$]*)
15142      # Absolute (can't be DOS-style, as IFS=:)
15143      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15144 echo "$as_me: error: cannot find input file: $f" >&2;}
15145    { (exit 1); exit 1; }; }
15146      echo "$f";;
15147       *) # Relative
15148      if test -f "$f"; then
15149        # Build tree
15150        echo "$f"
15151      elif test -f "$srcdir/$f"; then
15152        # Source tree
15153        echo "$srcdir/$f"
15154      else
15155        # /dev/null tree
15156        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15157 echo "$as_me: error: cannot find input file: $f" >&2;}
15158    { (exit 1); exit 1; }; }
15159      fi;;
15160       esac
15161     done` || { (exit 1); exit 1; }
15162 
15163   if test x"$ac_file" != x-; then
15164     { echo "$as_me:$LINENO: creating $ac_file" >&5
15165 echo "$as_me: creating $ac_file" >&6;}
15166     rm -f "$ac_file"
15167   fi
15168 _ACEOF
15169 cat >>$CONFIG_STATUS <<_ACEOF
15170   sed "$ac_vpsub
15171 $extrasub
15172 _ACEOF
15173 cat >>$CONFIG_STATUS <<\_ACEOF
15174 :t
15175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15176 s,@configure_input@,$configure_input,;t t
15177 s,@srcdir@,$ac_srcdir,;t t
15178 s,@abs_srcdir@,$ac_abs_srcdir,;t t
15179 s,@top_srcdir@,$ac_top_srcdir,;t t
15180 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15181 s,@builddir@,$ac_builddir,;t t
15182 s,@abs_builddir@,$ac_abs_builddir,;t t
15183 s,@top_builddir@,$ac_top_builddir,;t t
15184 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15185 s,@INSTALL@,$ac_INSTALL,;t t
15186 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15187   rm -f $tmp/stdin
15188   if test x"$ac_file" != x-; then
15189     mv $tmp/out $ac_file
15190   else
15191     cat $tmp/out
15192     rm -f $tmp/out
15193   fi
15194 
15195 done
15196 _ACEOF
15197 cat >>$CONFIG_STATUS <<\_ACEOF
15198 
15199 #
15200 # CONFIG_HEADER section.
15201 #
15202 
15203 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15204 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15205 #
15206 # ac_d sets the value in "#define NAME VALUE" lines.
15207 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
15208 ac_dB='[     ].*$,\1#\2'
15209 ac_dC=' '
15210 ac_dD=',;t'
15211 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15212 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
15213 ac_uB='$,\1#\2define\3'
15214 ac_uC=' '
15215 ac_uD=',;t'
15216 
15217 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15218   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15219   case $ac_file in
15220   - | *:- | *:-:* ) # input from stdin
15221     cat >$tmp/stdin
15222     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15223     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15224   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15225     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15226   * )   ac_file_in=$ac_file.in ;;
15227   esac
15228 
15229   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15230 echo "$as_me: creating $ac_file" >&6;}
15231 
15232   # First look for the input files in the build tree, otherwise in the
15233   # src tree.
15234   ac_file_inputs=`IFS=:
15235     for f in $ac_file_in; do
15236       case $f in
15237       -) echo $tmp/stdin ;;
15238       [\\/$]*)
15239      # Absolute (can't be DOS-style, as IFS=:)
15240      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15241 echo "$as_me: error: cannot find input file: $f" >&2;}
15242    { (exit 1); exit 1; }; }
15243      # Do quote $f, to prevent DOS paths from being IFS'd.
15244      echo "$f";;
15245       *) # Relative
15246      if test -f "$f"; then
15247        # Build tree
15248        echo "$f"
15249      elif test -f "$srcdir/$f"; then
15250        # Source tree
15251        echo "$srcdir/$f"
15252      else
15253        # /dev/null tree
15254        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15255 echo "$as_me: error: cannot find input file: $f" >&2;}
15256    { (exit 1); exit 1; }; }
15257      fi;;
15258       esac
15259     done` || { (exit 1); exit 1; }
15260   # Remove the trailing spaces.
15261   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
15262 
15263 _ACEOF
15264 
15265 # Transform confdefs.h into two sed scripts, `conftest.defines' and
15266 # `conftest.undefs', that substitutes the proper values into
15267 # config.h.in to produce config.h.  The first handles `#define'
15268 # templates, and the second `#undef' templates.
15269 # And first: Protect against being on the right side of a sed subst in
15270 # config.status.  Protect against being in an unquoted here document
15271 # in config.status.
15272 rm -f conftest.defines conftest.undefs
15273 # Using a here document instead of a string reduces the quoting nightmare.
15274 # Putting comments in sed scripts is not portable.
15275 #
15276 # `end' is used to avoid that the second main sed command (meant for
15277 # 0-ary CPP macros) applies to n-ary macro definitions.
15278 # See the Autoconf documentation for `clear'.
15279 cat >confdef2sed.sed <<\_ACEOF
15280 s/[\\&,]/\\&/g
15281 s,[\\$`],\\&,g
15282 t clear
15283 : clear
15284 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[  
	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15285 t end
15286 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15287 : end
15288 _ACEOF
15289 # If some macros were called several times there might be several times
15290 # the same #defines, which is useless.  Nevertheless, we may not want to
15291 # sort them, since we want the *last* AC-DEFINE to be honored.
15292 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15293 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15294 rm -f confdef2sed.sed
15295 
15296 # This sed command replaces #undef with comments.  This is necessary, for
15297 # example, in the case of _POSIX_SOURCE, which is predefined and required
15298 # on some systems where configure will not decide to define it.
15299 cat >>conftest.undefs <<\_ACEOF
15300 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15301 _ACEOF
15302 
15303 # Break up conftest.defines because some shells have a limit on the size
15304 # of here documents, and old seds have small limits too (100 cmds).
15305 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15306 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15307 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15308 echo '  :' >>$CONFIG_STATUS
15309 rm -f conftest.tail
15310 while grep . conftest.defines >/dev/null
15311 do
15312   # Write a limited-size here document to $tmp/defines.sed.
15313   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15314   # Speed up: don't consider the non `#define' lines.
15315   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
15316   # Work around the forget-to-reset-the-flag bug.
15317   echo 't clr' >>$CONFIG_STATUS
15318   echo ': clr' >>$CONFIG_STATUS
15319   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15320   echo 'CEOF
15321   sed -f $tmp/defines.sed $tmp/in >$tmp/out
15322   rm -f $tmp/in
15323   mv $tmp/out $tmp/in
15324 ' >>$CONFIG_STATUS
15325   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15326   rm -f conftest.defines
15327   mv conftest.tail conftest.defines
15328 done
15329 rm -f conftest.defines
15330 echo '  fi # grep' >>$CONFIG_STATUS
15331 echo >>$CONFIG_STATUS
15332 
15333 # Break up conftest.undefs because some shells have a limit on the size
15334 # of here documents, and old seds have small limits too (100 cmds).
15335 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
15336 rm -f conftest.tail
15337 while grep . conftest.undefs >/dev/null
15338 do
15339   # Write a limited-size here document to $tmp/undefs.sed.
15340   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15341   # Speed up: don't consider the non `#undef'
15342   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
15343   # Work around the forget-to-reset-the-flag bug.
15344   echo 't clr' >>$CONFIG_STATUS
15345   echo ': clr' >>$CONFIG_STATUS
15346   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15347   echo 'CEOF
15348   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15349   rm -f $tmp/in
15350   mv $tmp/out $tmp/in
15351 ' >>$CONFIG_STATUS
15352   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15353   rm -f conftest.undefs
15354   mv conftest.tail conftest.undefs
15355 done
15356 rm -f conftest.undefs
15357 
15358 cat >>$CONFIG_STATUS <<\_ACEOF
15359   # Let's still pretend it is `configure' which instantiates (i.e., don't
15360   # use $as_me), people would be surprised to read:
15361   #    /* config.h.  Generated by config.status.  */
15362   if test x"$ac_file" = x-; then
15363     echo "/* Generated by configure.  */" >$tmp/config.h
15364   else
15365     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
15366   fi
15367   cat $tmp/in >>$tmp/config.h
15368   rm -f $tmp/in
15369   if test x"$ac_file" != x-; then
15370     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15371       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15372 echo "$as_me: $ac_file is unchanged" >&6;}
15373     else
15374       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15376      X"$ac_file" : 'X\(//\)[^/]' \| \
15377      X"$ac_file" : 'X\(//\)$' \| \
15378      X"$ac_file" : 'X\(/\)' \| \
15379      .     : '\(.\)' 2>/dev/null ||
15380 echo X"$ac_file" |
15381     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15382       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15383       /^X\(\/\/\)$/{ s//\1/; q; }
15384       /^X\(\/\).*/{ s//\1/; q; }
15385       s/.*/./; q'`
15386       { if $as_mkdir_p; then
15387     mkdir -p "$ac_dir"
15388   else
15389     as_dir="$ac_dir"
15390     as_dirs=
15391     while test ! -d "$as_dir"; do
15392       as_dirs="$as_dir $as_dirs"
15393       as_dir=`(dirname "$as_dir") 2>/dev/null ||
15394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15395      X"$as_dir" : 'X\(//\)[^/]' \| \
15396      X"$as_dir" : 'X\(//\)$' \| \
15397      X"$as_dir" : 'X\(/\)' \| \
15398      .     : '\(.\)' 2>/dev/null ||
15399 echo X"$as_dir" |
15400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15401       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15402       /^X\(\/\/\)$/{ s//\1/; q; }
15403       /^X\(\/\).*/{ s//\1/; q; }
15404       s/.*/./; q'`
15405     done
15406     test ! -n "$as_dirs" || mkdir $as_dirs
15407   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15409    { (exit 1); exit 1; }; }; }
15410 
15411       rm -f $ac_file
15412       mv $tmp/config.h $ac_file
15413     fi
15414   else
15415     cat $tmp/config.h
15416     rm -f $tmp/config.h
15417   fi
15418 done
15419 _ACEOF
15420 
15421 cat >>$CONFIG_STATUS <<\_ACEOF
15422 
15423 { (exit 0); exit 0; }
15424 _ACEOF
15425 chmod +x $CONFIG_STATUS
15426 ac_clean_files=$ac_clean_files_save
15427 
15428 
15429 # configure is writing to config.log, and then calls config.status.
15430 # config.status does its own redirection, appending to config.log.
15431 # Unfortunately, on DOS this fails, as config.log is still kept open
15432 # by configure, so config.status won't be able to write to it; its
15433 # output is simply discarded.  So we exec the FD to /dev/null,
15434 # effectively closing config.log, so it can be properly (re)opened and
15435 # appended to by config.status.  When coming back to configure, we
15436 # need to make the FD available again.
15437 if test "$no_create" != yes; then
15438   ac_cs_success=:
15439   ac_config_status_args=
15440   test "$silent" = yes &&
15441     ac_config_status_args="$ac_config_status_args --quiet"
15442   exec 5>/dev/null
15443   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15444   exec 5>>config.log
15445   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15446   # would make configure fail if this is the last instruction.
15447   $ac_cs_success || { (exit 1); exit 1; }
15448 fi
4556673 [rkeene@sledge /home/rkeene/devel/dact-0.8.37]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2004-03-01 16:39:24