"Fossies" - the Fresh Open Source Software Archive

Member "kea-1.6.2/configure" (21 Feb 2020, 792617 Bytes) of package /linux/misc/kea-1.6.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. 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.1_vs_1.6.2.

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