"Fossies" - the Fresh Open Source Software Archive

Member "hitch-1.7.2/configure" (29 Nov 2021, 246086 Bytes) of package /linux/www/hitch-1.7.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": 1.7.0_vs_1.7.2.

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