"Fossies" - the Fresh Open Source Software Archive

Member "zsync-0.6.2/configure" (20 Sep 2010, 194818 Bytes) of package /linux/privat/old/zsync-0.6.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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