"Fossies" - the Fresh Open Source Software Archive

Member "memcached-1.6.9/configure" (21 Nov 2020, 243780 Bytes) of package /linux/www/memcached-1.6.9.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.6.8_vs_1.6.9.

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