"Fossies" - the Fresh Open Source Software Archive

Member "neon-0.31.2/configure" (20 Jun 2020, 565197 Bytes) of package /linux/www/neon-0.31.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. See also the latest Fossies "Diffs" side-by-side code changes report for "configure": 0.31.1_vs_0.31.2.

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