Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1.2.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for DHCP 4.4.1.
      4 #
      5 # Report bugs to <dhcp-users (at] 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 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and dhcp-users (at] isc.org
    270 $0: about your system, including any error possibly output
    271 $0: before this message. Then install a modern shell, or
    272 $0: manually run the script under such a shell if you do
    273 $0: have one."
    274   fi
    275   exit 1
    276 fi
    277 fi
    278 fi
    279 SHELL=${CONFIG_SHELL-/bin/sh}
    280 export SHELL
    281 # Unset more variables known to interfere with behavior of common tools.
    282 CLICOLOR_FORCE= GREP_OPTIONS=
    283 unset CLICOLOR_FORCE GREP_OPTIONS
    284 
    285 ## --------------------- ##
    286 ## M4sh Shell Functions. ##
    287 ## --------------------- ##
    288 # as_fn_unset VAR
    289 # ---------------
    290 # Portably unset VAR.
    291 as_fn_unset ()
    292 {
    293   { eval $1=; unset $1;}
    294 }
    295 as_unset=as_fn_unset
    296 
    297 # as_fn_set_status STATUS
    298 # -----------------------
    299 # Set $? to STATUS, without forking.
    300 as_fn_set_status ()
    301 {
    302   return $1
    303 } # as_fn_set_status
    304 
    305 # as_fn_exit STATUS
    306 # -----------------
    307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    308 as_fn_exit ()
    309 {
    310   set +e
    311   as_fn_set_status $1
    312   exit $1
    313 } # as_fn_exit
    314 
    315 # as_fn_mkdir_p
    316 # -------------
    317 # Create "$as_dir" as a directory, including parents if necessary.
    318 as_fn_mkdir_p ()
    319 {
    320 
    321   case $as_dir in #(
    322   -*) as_dir=./$as_dir;;
    323   esac
    324   test -d "$as_dir" || eval $as_mkdir_p || {
    325     as_dirs=
    326     while :; do
    327       case $as_dir in #(
    328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    329       *) as_qdir=$as_dir;;
    330       esac
    331       as_dirs="'$as_qdir' $as_dirs"
    332       as_dir=`$as_dirname -- "$as_dir" ||
    333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    334 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    335 	 X"$as_dir" : 'X\(//\)$' \| \
    336 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    337 $as_echo X"$as_dir" |
    338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    339 	    s//\1/
    340 	    q
    341 	  }
    342 	  /^X\(\/\/\)[^/].*/{
    343 	    s//\1/
    344 	    q
    345 	  }
    346 	  /^X\(\/\/\)$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\).*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  s/.*/./; q'`
    355       test -d "$as_dir" && break
    356     done
    357     test -z "$as_dirs" || eval "mkdir $as_dirs"
    358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    359 
    360 
    361 } # as_fn_mkdir_p
    362 
    363 # as_fn_executable_p FILE
    364 # -----------------------
    365 # Test if FILE is an executable regular file.
    366 as_fn_executable_p ()
    367 {
    368   test -f "$1" && test -x "$1"
    369 } # as_fn_executable_p
    370 # as_fn_append VAR VALUE
    371 # ----------------------
    372 # Append the text in VALUE to the end of the definition contained in VAR. Take
    373 # advantage of any shell optimizations that allow amortized linear growth over
    374 # repeated appends, instead of the typical quadratic growth present in naive
    375 # implementations.
    376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    377   eval 'as_fn_append ()
    378   {
    379     eval $1+=\$2
    380   }'
    381 else
    382   as_fn_append ()
    383   {
    384     eval $1=\$$1\$2
    385   }
    386 fi # as_fn_append
    387 
    388 # as_fn_arith ARG...
    389 # ------------------
    390 # Perform arithmetic evaluation on the ARGs, and store the result in the
    391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    392 # must be portable across $(()) and expr.
    393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    394   eval 'as_fn_arith ()
    395   {
    396     as_val=$(( $* ))
    397   }'
    398 else
    399   as_fn_arith ()
    400   {
    401     as_val=`expr "$@" || test $? -eq 1`
    402   }
    403 fi # as_fn_arith
    404 
    405 
    406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    407 # ----------------------------------------
    408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    410 # script with STATUS, using 1 if that was 0.
    411 as_fn_error ()
    412 {
    413   as_status=$1; test $as_status -eq 0 && as_status=1
    414   if test "$4"; then
    415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    417   fi
    418   $as_echo "$as_me: error: $2" >&2
    419   as_fn_exit $as_status
    420 } # as_fn_error
    421 
    422 if expr a : '\(a\)' >/dev/null 2>&1 &&
    423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    424   as_expr=expr
    425 else
    426   as_expr=false
    427 fi
    428 
    429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    430   as_basename=basename
    431 else
    432   as_basename=false
    433 fi
    434 
    435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    436   as_dirname=dirname
    437 else
    438   as_dirname=false
    439 fi
    440 
    441 as_me=`$as_basename -- "$0" ||
    442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    443 	 X"$0" : 'X\(//\)$' \| \
    444 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    445 $as_echo X/"$0" |
    446     sed '/^.*\/\([^/][^/]*\)\/*$/{
    447 	    s//\1/
    448 	    q
    449 	  }
    450 	  /^X\/\(\/\/\)$/{
    451 	    s//\1/
    452 	    q
    453 	  }
    454 	  /^X\/\(\/\).*/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  s/.*/./; q'`
    459 
    460 # Avoid depending upon Character Ranges.
    461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    464 as_cr_digits='0123456789'
    465 as_cr_alnum=$as_cr_Letters$as_cr_digits
    466 
    467 
    468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    473   sed -n '
    474     p
    475     /[$]LINENO/=
    476   ' <$as_myself |
    477     sed '
    478       s/[$]LINENO.*/&-/
    479       t lineno
    480       b
    481       :lineno
    482       N
    483       :loop
    484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    485       t loop
    486       s/-\n.*//
    487     ' >$as_me.lineno &&
    488   chmod +x "$as_me.lineno" ||
    489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    490 
    491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    492   # already done that, so ensure we don't try to do so again and fall
    493   # in an infinite loop.  This has already happened in practice.
    494   _as_can_reexec=no; export _as_can_reexec
    495   # Don't try to exec as it changes $[0], causing all sort of problems
    496   # (the dirname of $[0] is not the place where we might find the
    497   # original and so on.  Autoconf is especially sensitive to this).
    498   . "./$as_me.lineno"
    499   # Exit status is that of the last command.
    500   exit
    501 }
    502 
    503 ECHO_C= ECHO_N= ECHO_T=
    504 case `echo -n x` in #(((((
    505 -n*)
    506   case `echo 'xy\c'` in
    507   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    508   xy)  ECHO_C='\c';;
    509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    510        ECHO_T='	';;
    511   esac;;
    512 *)
    513   ECHO_N='-n';;
    514 esac
    515 
    516 rm -f conf$$ conf$$.exe conf$$.file
    517 if test -d conf$$.dir; then
    518   rm -f conf$$.dir/conf$$.file
    519 else
    520   rm -f conf$$.dir
    521   mkdir conf$$.dir 2>/dev/null
    522 fi
    523 if (echo >conf$$.file) 2>/dev/null; then
    524   if ln -s conf$$.file conf$$ 2>/dev/null; then
    525     as_ln_s='ln -s'
    526     # ... but there are two gotchas:
    527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    529     # In both cases, we have to default to `cp -pR'.
    530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    531       as_ln_s='cp -pR'
    532   elif ln conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s=ln
    534   else
    535     as_ln_s='cp -pR'
    536   fi
    537 else
    538   as_ln_s='cp -pR'
    539 fi
    540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    541 rmdir conf$$.dir 2>/dev/null
    542 
    543 if mkdir -p . 2>/dev/null; then
    544   as_mkdir_p='mkdir -p "$as_dir"'
    545 else
    546   test -d ./-p && rmdir ./-p
    547   as_mkdir_p=false
    548 fi
    549 
    550 as_test_x='test -x'
    551 as_executable_p=as_fn_executable_p
    552 
    553 # Sed expression to map a string onto a valid CPP name.
    554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    555 
    556 # Sed expression to map a string onto a valid variable name.
    557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558 
    559 
    560 test -n "$DJDIR" || exec 7<&0 </dev/null
    561 exec 6>&1
    562 
    563 # Name of the host.
    564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    565 # so uname gets run too.
    566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    567 
    568 #
    569 # Initializations.
    570 #
    571 ac_default_prefix=/usr/local
    572 ac_clean_files=
    573 ac_config_libobj_dir=.
    574 LIBOBJS=
    575 cross_compiling=no
    576 subdirs=
    577 MFLAGS=
    578 MAKEFLAGS=
    579 
    580 # Identity of this package.
    581 PACKAGE_NAME='DHCP'
    582 PACKAGE_TARNAME='dhcp'
    583 PACKAGE_VERSION='4.4.1'
    584 PACKAGE_STRING='DHCP 4.4.1'
    585 PACKAGE_BUGREPORT='dhcp-users (at] isc.org'
    586 PACKAGE_URL=''
    587 
    588 # Factoring default headers for most tests.
    589 ac_includes_default="\
    590 #include <stdio.h>
    591 #ifdef HAVE_SYS_TYPES_H
    592 # include <sys/types.h>
    593 #endif
    594 #ifdef HAVE_SYS_STAT_H
    595 # include <sys/stat.h>
    596 #endif
    597 #ifdef STDC_HEADERS
    598 # include <stdlib.h>
    599 # include <stddef.h>
    600 #else
    601 # ifdef HAVE_STDLIB_H
    602 #  include <stdlib.h>
    603 # endif
    604 #endif
    605 #ifdef HAVE_STRING_H
    606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    607 #  include <memory.h>
    608 # endif
    609 # include <string.h>
    610 #endif
    611 #ifdef HAVE_STRINGS_H
    612 # include <strings.h>
    613 #endif
    614 #ifdef HAVE_INTTYPES_H
    615 # include <inttypes.h>
    616 #endif
    617 #ifdef HAVE_STDINT_H
    618 # include <stdint.h>
    619 #endif
    620 #ifdef HAVE_UNISTD_H
    621 # include <unistd.h>
    622 #endif"
    623 
    624 ac_subst_vars='am__EXEEXT_FALSE
    625 am__EXEEXT_TRUE
    626 LTLIBOBJS
    627 LIBOBJS
    628 LDAP_CFLAGS
    629 LDAP_LIBS
    630 INSTALL_BIND_FALSE
    631 INSTALL_BIND_TRUE
    632 Q
    633 DISTCHECK_LIBTOOL_CONFIGURE_FLAG
    634 BINDLT
    635 A
    636 DHLIBS
    637 HAVE_BINDDIR_FALSE
    638 HAVE_BINDDIR_TRUE
    639 DISTCHECK_LIBBIND_CONFIGURE_FLAG
    640 BINDLIBISCDIR
    641 BINDLIBISCCFGDIR
    642 BINDLIBDNSDIR
    643 BINDLIBIRSDIR
    644 BINDSRCDIR
    645 BINDDIR
    646 BINDSUBDIR
    647 BINDIOMUX
    648 ac_prefix_program
    649 DISTCHECK_ATF_CONFIGURE_FLAG
    650 HAVE_ATF_FALSE
    651 HAVE_ATF_TRUE
    652 UNITTESTS
    653 pkgcfg_found
    654 ATF_BIN
    655 ATF_LDFLAGS
    656 ATF_CFLAGS
    657 BIND_ATF_FALSE
    658 BIND_ATF_TRUE
    659 byte_order
    660 AR
    661 RANLIB
    662 EGREP
    663 GREP
    664 CPP
    665 BINDCONFIG
    666 am__fastdepCC_FALSE
    667 am__fastdepCC_TRUE
    668 CCDEPMODE
    669 am__nodep
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 host_os
    684 host_vendor
    685 host_cpu
    686 host
    687 build_os
    688 build_vendor
    689 build_cpu
    690 build
    691 MAINT
    692 MAINTAINER_MODE_FALSE
    693 MAINTAINER_MODE_TRUE
    694 AM_BACKSLASH
    695 AM_DEFAULT_VERBOSITY
    696 AM_DEFAULT_V
    697 AM_V
    698 am__untar
    699 am__tar
    700 AMTAR
    701 am__leading_dot
    702 SET_MAKE
    703 AWK
    704 mkdir_p
    705 MKDIR_P
    706 INSTALL_STRIP_PROGRAM
    707 STRIP
    708 install_sh
    709 MAKEINFO
    710 AUTOHEADER
    711 AUTOMAKE
    712 AUTOCONF
    713 ACLOCAL
    714 VERSION
    715 PACKAGE
    716 CYGPATH_W
    717 am__isrc
    718 INSTALL_DATA
    719 INSTALL_SCRIPT
    720 INSTALL_PROGRAM
    721 target_alias
    722 host_alias
    723 build_alias
    724 LIBS
    725 ECHO_T
    726 ECHO_N
    727 ECHO_C
    728 DEFS
    729 mandir
    730 localedir
    731 libdir
    732 psdir
    733 pdfdir
    734 dvidir
    735 htmldir
    736 infodir
    737 docdir
    738 oldincludedir
    739 includedir
    740 localstatedir
    741 sharedstatedir
    742 sysconfdir
    743 datadir
    744 datarootdir
    745 libexecdir
    746 sbindir
    747 bindir
    748 program_transform_name
    749 prefix
    750 exec_prefix
    751 PACKAGE_URL
    752 PACKAGE_BUGREPORT
    753 PACKAGE_STRING
    754 PACKAGE_VERSION
    755 PACKAGE_TARNAME
    756 PACKAGE_NAME
    757 PATH_SEPARATOR
    758 SHELL'
    759 ac_subst_files=''
    760 ac_user_opts='
    761 enable_option_checking
    762 enable_silent_rules
    763 enable_maintainer_mode
    764 enable_dependency_tracking
    765 enable_debug
    766 enable_failover
    767 enable_execute
    768 enable_tracing
    769 enable_delayed_ack
    770 enable_dhcpv6
    771 enable_dhcpv4o6
    772 enable_relay_port
    773 enable_paranoia
    774 enable_early_chroot
    775 enable_ipv4_pktinfo
    776 enable_use_sockets
    777 enable_log_pid
    778 enable_binary_leases
    779 with_atf
    780 with_srv_conf_file
    781 with_srv_lease_file
    782 with_srv6_lease_file
    783 with_cli_lease_file
    784 with_cli6_lease_file
    785 with_srv_pid_file
    786 with_srv6_pid_file
    787 with_cli_pid_file
    788 with_cli6_pid_file
    789 with_relay_pid_file
    790 with_relay6_pid_file
    791 with_randomdev
    792 enable_kqueue
    793 enable_epoll
    794 enable_devpoll
    795 with_bind_extra_config
    796 with_libbind
    797 enable_libtool
    798 enable_bind_install
    799 with_ldap
    800 with_ldapcrypto
    801 with_ldap_gssapi
    802 with_ldapcasa
    803 '
    804       ac_precious_vars='build_alias
    805 host_alias
    806 target_alias
    807 CC
    808 CFLAGS
    809 LDFLAGS
    810 LIBS
    811 CPPFLAGS
    812 CPP'
    813 
    814 
    815 # Initialize some variables set by options.
    816 ac_init_help=
    817 ac_init_version=false
    818 ac_unrecognized_opts=
    819 ac_unrecognized_sep=
    820 # The variables have the same names as the options, with
    821 # dashes changed to underlines.
    822 cache_file=/dev/null
    823 exec_prefix=NONE
    824 no_create=
    825 no_recursion=
    826 prefix=NONE
    827 program_prefix=NONE
    828 program_suffix=NONE
    829 program_transform_name=s,x,x,
    830 silent=
    831 site=
    832 srcdir=
    833 verbose=
    834 x_includes=NONE
    835 x_libraries=NONE
    836 
    837 # Installation directory options.
    838 # These are left unexpanded so users can "make install exec_prefix=/foo"
    839 # and all the variables that are supposed to be based on exec_prefix
    840 # by default will actually change.
    841 # Use braces instead of parens because sh, perl, etc. also accept them.
    842 # (The list follows the same order as the GNU Coding Standards.)
    843 bindir='${exec_prefix}/bin'
    844 sbindir='${exec_prefix}/sbin'
    845 libexecdir='${exec_prefix}/libexec'
    846 datarootdir='${prefix}/share'
    847 datadir='${datarootdir}'
    848 sysconfdir='${prefix}/etc'
    849 sharedstatedir='${prefix}/com'
    850 localstatedir='${prefix}/var'
    851 includedir='${prefix}/include'
    852 oldincludedir='/usr/include'
    853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    854 infodir='${datarootdir}/info'
    855 htmldir='${docdir}'
    856 dvidir='${docdir}'
    857 pdfdir='${docdir}'
    858 psdir='${docdir}'
    859 libdir='${exec_prefix}/lib'
    860 localedir='${datarootdir}/locale'
    861 mandir='${datarootdir}/man'
    862 
    863 ac_prev=
    864 ac_dashdash=
    865 for ac_option
    866 do
    867   # If the previous option needs an argument, assign it.
    868   if test -n "$ac_prev"; then
    869     eval $ac_prev=\$ac_option
    870     ac_prev=
    871     continue
    872   fi
    873 
    874   case $ac_option in
    875   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    876   *=)   ac_optarg= ;;
    877   *)    ac_optarg=yes ;;
    878   esac
    879 
    880   # Accept the important Cygnus configure options, so we can diagnose typos.
    881 
    882   case $ac_dashdash$ac_option in
    883   --)
    884     ac_dashdash=yes ;;
    885 
    886   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    887     ac_prev=bindir ;;
    888   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    889     bindir=$ac_optarg ;;
    890 
    891   -build | --build | --buil | --bui | --bu)
    892     ac_prev=build_alias ;;
    893   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    894     build_alias=$ac_optarg ;;
    895 
    896   -cache-file | --cache-file | --cache-fil | --cache-fi \
    897   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    898     ac_prev=cache_file ;;
    899   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    900   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    901     cache_file=$ac_optarg ;;
    902 
    903   --config-cache | -C)
    904     cache_file=config.cache ;;
    905 
    906   -datadir | --datadir | --datadi | --datad)
    907     ac_prev=datadir ;;
    908   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    909     datadir=$ac_optarg ;;
    910 
    911   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    912   | --dataroo | --dataro | --datar)
    913     ac_prev=datarootdir ;;
    914   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    915   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    916     datarootdir=$ac_optarg ;;
    917 
    918   -disable-* | --disable-*)
    919     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    920     # Reject names that are not valid shell variable names.
    921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    922       as_fn_error $? "invalid feature name: $ac_useropt"
    923     ac_useropt_orig=$ac_useropt
    924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    925     case $ac_user_opts in
    926       *"
    927 "enable_$ac_useropt"
    928 "*) ;;
    929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    930 	 ac_unrecognized_sep=', ';;
    931     esac
    932     eval enable_$ac_useropt=no ;;
    933 
    934   -docdir | --docdir | --docdi | --doc | --do)
    935     ac_prev=docdir ;;
    936   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    937     docdir=$ac_optarg ;;
    938 
    939   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    940     ac_prev=dvidir ;;
    941   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    942     dvidir=$ac_optarg ;;
    943 
    944   -enable-* | --enable-*)
    945     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    946     # Reject names that are not valid shell variable names.
    947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    948       as_fn_error $? "invalid feature name: $ac_useropt"
    949     ac_useropt_orig=$ac_useropt
    950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    951     case $ac_user_opts in
    952       *"
    953 "enable_$ac_useropt"
    954 "*) ;;
    955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    956 	 ac_unrecognized_sep=', ';;
    957     esac
    958     eval enable_$ac_useropt=\$ac_optarg ;;
    959 
    960   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    961   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    962   | --exec | --exe | --ex)
    963     ac_prev=exec_prefix ;;
    964   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    965   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    966   | --exec=* | --exe=* | --ex=*)
    967     exec_prefix=$ac_optarg ;;
    968 
    969   -gas | --gas | --ga | --g)
    970     # Obsolete; use --with-gas.
    971     with_gas=yes ;;
    972 
    973   -help | --help | --hel | --he | -h)
    974     ac_init_help=long ;;
    975   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    976     ac_init_help=recursive ;;
    977   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    978     ac_init_help=short ;;
    979 
    980   -host | --host | --hos | --ho)
    981     ac_prev=host_alias ;;
    982   -host=* | --host=* | --hos=* | --ho=*)
    983     host_alias=$ac_optarg ;;
    984 
    985   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    986     ac_prev=htmldir ;;
    987   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    988   | --ht=*)
    989     htmldir=$ac_optarg ;;
    990 
    991   -includedir | --includedir | --includedi | --included | --include \
    992   | --includ | --inclu | --incl | --inc)
    993     ac_prev=includedir ;;
    994   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    995   | --includ=* | --inclu=* | --incl=* | --inc=*)
    996     includedir=$ac_optarg ;;
    997 
    998   -infodir | --infodir | --infodi | --infod | --info | --inf)
    999     ac_prev=infodir ;;
   1000   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1001     infodir=$ac_optarg ;;
   1002 
   1003   -libdir | --libdir | --libdi | --libd)
   1004     ac_prev=libdir ;;
   1005   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1006     libdir=$ac_optarg ;;
   1007 
   1008   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1009   | --libexe | --libex | --libe)
   1010     ac_prev=libexecdir ;;
   1011   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1012   | --libexe=* | --libex=* | --libe=*)
   1013     libexecdir=$ac_optarg ;;
   1014 
   1015   -localedir | --localedir | --localedi | --localed | --locale)
   1016     ac_prev=localedir ;;
   1017   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1018     localedir=$ac_optarg ;;
   1019 
   1020   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1021   | --localstate | --localstat | --localsta | --localst | --locals)
   1022     ac_prev=localstatedir ;;
   1023   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1024   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1025     localstatedir=$ac_optarg ;;
   1026 
   1027   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1028     ac_prev=mandir ;;
   1029   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1030     mandir=$ac_optarg ;;
   1031 
   1032   -nfp | --nfp | --nf)
   1033     # Obsolete; use --without-fp.
   1034     with_fp=no ;;
   1035 
   1036   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1037   | --no-cr | --no-c | -n)
   1038     no_create=yes ;;
   1039 
   1040   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1041   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1042     no_recursion=yes ;;
   1043 
   1044   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1045   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1046   | --oldin | --oldi | --old | --ol | --o)
   1047     ac_prev=oldincludedir ;;
   1048   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1049   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1050   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1051     oldincludedir=$ac_optarg ;;
   1052 
   1053   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1054     ac_prev=prefix ;;
   1055   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1056     prefix=$ac_optarg ;;
   1057 
   1058   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1059   | --program-pre | --program-pr | --program-p)
   1060     ac_prev=program_prefix ;;
   1061   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1062   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1063     program_prefix=$ac_optarg ;;
   1064 
   1065   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1066   | --program-suf | --program-su | --program-s)
   1067     ac_prev=program_suffix ;;
   1068   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1069   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1070     program_suffix=$ac_optarg ;;
   1071 
   1072   -program-transform-name | --program-transform-name \
   1073   | --program-transform-nam | --program-transform-na \
   1074   | --program-transform-n | --program-transform- \
   1075   | --program-transform | --program-transfor \
   1076   | --program-transfo | --program-transf \
   1077   | --program-trans | --program-tran \
   1078   | --progr-tra | --program-tr | --program-t)
   1079     ac_prev=program_transform_name ;;
   1080   -program-transform-name=* | --program-transform-name=* \
   1081   | --program-transform-nam=* | --program-transform-na=* \
   1082   | --program-transform-n=* | --program-transform-=* \
   1083   | --program-transform=* | --program-transfor=* \
   1084   | --program-transfo=* | --program-transf=* \
   1085   | --program-trans=* | --program-tran=* \
   1086   | --progr-tra=* | --program-tr=* | --program-t=*)
   1087     program_transform_name=$ac_optarg ;;
   1088 
   1089   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1090     ac_prev=pdfdir ;;
   1091   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1092     pdfdir=$ac_optarg ;;
   1093 
   1094   -psdir | --psdir | --psdi | --psd | --ps)
   1095     ac_prev=psdir ;;
   1096   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1097     psdir=$ac_optarg ;;
   1098 
   1099   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1100   | -silent | --silent | --silen | --sile | --sil)
   1101     silent=yes ;;
   1102 
   1103   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1104     ac_prev=sbindir ;;
   1105   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1106   | --sbi=* | --sb=*)
   1107     sbindir=$ac_optarg ;;
   1108 
   1109   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1110   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1111   | --sharedst | --shareds | --shared | --share | --shar \
   1112   | --sha | --sh)
   1113     ac_prev=sharedstatedir ;;
   1114   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1115   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1116   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1117   | --sha=* | --sh=*)
   1118     sharedstatedir=$ac_optarg ;;
   1119 
   1120   -site | --site | --sit)
   1121     ac_prev=site ;;
   1122   -site=* | --site=* | --sit=*)
   1123     site=$ac_optarg ;;
   1124 
   1125   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1126     ac_prev=srcdir ;;
   1127   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1128     srcdir=$ac_optarg ;;
   1129 
   1130   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1131   | --syscon | --sysco | --sysc | --sys | --sy)
   1132     ac_prev=sysconfdir ;;
   1133   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1134   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1135     sysconfdir=$ac_optarg ;;
   1136 
   1137   -target | --target | --targe | --targ | --tar | --ta | --t)
   1138     ac_prev=target_alias ;;
   1139   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1140     target_alias=$ac_optarg ;;
   1141 
   1142   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1143     verbose=yes ;;
   1144 
   1145   -version | --version | --versio | --versi | --vers | -V)
   1146     ac_init_version=: ;;
   1147 
   1148   -with-* | --with-*)
   1149     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1150     # Reject names that are not valid shell variable names.
   1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1152       as_fn_error $? "invalid package name: $ac_useropt"
   1153     ac_useropt_orig=$ac_useropt
   1154     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1155     case $ac_user_opts in
   1156       *"
   1157 "with_$ac_useropt"
   1158 "*) ;;
   1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1160 	 ac_unrecognized_sep=', ';;
   1161     esac
   1162     eval with_$ac_useropt=\$ac_optarg ;;
   1163 
   1164   -without-* | --without-*)
   1165     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1166     # Reject names that are not valid shell variable names.
   1167     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1168       as_fn_error $? "invalid package name: $ac_useropt"
   1169     ac_useropt_orig=$ac_useropt
   1170     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1171     case $ac_user_opts in
   1172       *"
   1173 "with_$ac_useropt"
   1174 "*) ;;
   1175       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1176 	 ac_unrecognized_sep=', ';;
   1177     esac
   1178     eval with_$ac_useropt=no ;;
   1179 
   1180   --x)
   1181     # Obsolete; use --with-x.
   1182     with_x=yes ;;
   1183 
   1184   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1185   | --x-incl | --x-inc | --x-in | --x-i)
   1186     ac_prev=x_includes ;;
   1187   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1188   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1189     x_includes=$ac_optarg ;;
   1190 
   1191   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1192   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1193     ac_prev=x_libraries ;;
   1194   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1195   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1196     x_libraries=$ac_optarg ;;
   1197 
   1198   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1199 Try \`$0 --help' for more information"
   1200     ;;
   1201 
   1202   *=*)
   1203     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1204     # Reject names that are not valid shell variable names.
   1205     case $ac_envvar in #(
   1206       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1207       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1208     esac
   1209     eval $ac_envvar=\$ac_optarg
   1210     export $ac_envvar ;;
   1211 
   1212   *)
   1213     # FIXME: should be removed in autoconf 3.0.
   1214     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1215     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1216       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1217     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1218     ;;
   1219 
   1220   esac
   1221 done
   1222 
   1223 if test -n "$ac_prev"; then
   1224   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1225   as_fn_error $? "missing argument to $ac_option"
   1226 fi
   1227 
   1228 if test -n "$ac_unrecognized_opts"; then
   1229   case $enable_option_checking in
   1230     no) ;;
   1231     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1232     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1233   esac
   1234 fi
   1235 
   1236 # Check all directory arguments for consistency.
   1237 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1238 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1239 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1240 		libdir localedir mandir
   1241 do
   1242   eval ac_val=\$$ac_var
   1243   # Remove trailing slashes.
   1244   case $ac_val in
   1245     */ )
   1246       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1247       eval $ac_var=\$ac_val;;
   1248   esac
   1249   # Be sure to have absolute directory names.
   1250   case $ac_val in
   1251     [\\/$]* | ?:[\\/]* )  continue;;
   1252     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1253   esac
   1254   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1255 done
   1256 
   1257 # There might be people who depend on the old broken behavior: `$host'
   1258 # used to hold the argument of --host etc.
   1259 # FIXME: To remove some day.
   1260 build=$build_alias
   1261 host=$host_alias
   1262 target=$target_alias
   1263 
   1264 # FIXME: To remove some day.
   1265 if test "x$host_alias" != x; then
   1266   if test "x$build_alias" = x; then
   1267     cross_compiling=maybe
   1268   elif test "x$build_alias" != "x$host_alias"; then
   1269     cross_compiling=yes
   1270   fi
   1271 fi
   1272 
   1273 ac_tool_prefix=
   1274 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1275 
   1276 test "$silent" = yes && exec 6>/dev/null
   1277 
   1278 
   1279 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1280 ac_ls_di=`ls -di .` &&
   1281 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1282   as_fn_error $? "working directory cannot be determined"
   1283 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1284   as_fn_error $? "pwd does not report name of working directory"
   1285 
   1286 
   1287 # Find the source files, if location was not specified.
   1288 if test -z "$srcdir"; then
   1289   ac_srcdir_defaulted=yes
   1290   # Try the directory containing this script, then the parent directory.
   1291   ac_confdir=`$as_dirname -- "$as_myself" ||
   1292 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1293 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1294 	 X"$as_myself" : 'X\(//\)$' \| \
   1295 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1296 $as_echo X"$as_myself" |
   1297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)[^/].*/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\/\)$/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  /^X\(\/\).*/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  s/.*/./; q'`
   1314   srcdir=$ac_confdir
   1315   if test ! -r "$srcdir/$ac_unique_file"; then
   1316     srcdir=..
   1317   fi
   1318 else
   1319   ac_srcdir_defaulted=no
   1320 fi
   1321 if test ! -r "$srcdir/$ac_unique_file"; then
   1322   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1323   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1324 fi
   1325 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1326 ac_abs_confdir=`(
   1327 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1328 	pwd)`
   1329 # When building in place, set srcdir=.
   1330 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1331   srcdir=.
   1332 fi
   1333 # Remove unnecessary trailing slashes from srcdir.
   1334 # Double slashes in file names in object file debugging info
   1335 # mess up M-x gdb in Emacs.
   1336 case $srcdir in
   1337 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1338 esac
   1339 for ac_var in $ac_precious_vars; do
   1340   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1341   eval ac_env_${ac_var}_value=\$${ac_var}
   1342   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1343   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1344 done
   1345 
   1346 #
   1347 # Report the --help message.
   1348 #
   1349 if test "$ac_init_help" = "long"; then
   1350   # Omit some internal or obsolete options to make the list less imposing.
   1351   # This message is too long to be a string in the A/UX 3.1 sh.
   1352   cat <<_ACEOF
   1353 \`configure' configures DHCP 4.4.1 to adapt to many kinds of systems.
   1354 
   1355 Usage: $0 [OPTION]... [VAR=VALUE]...
   1356 
   1357 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1358 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1359 
   1360 Defaults for the options are specified in brackets.
   1361 
   1362 Configuration:
   1363   -h, --help              display this help and exit
   1364       --help=short        display options specific to this package
   1365       --help=recursive    display the short help of all the included packages
   1366   -V, --version           display version information and exit
   1367   -q, --quiet, --silent   do not print \`checking ...' messages
   1368       --cache-file=FILE   cache test results in FILE [disabled]
   1369   -C, --config-cache      alias for \`--cache-file=config.cache'
   1370   -n, --no-create         do not create output files
   1371       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1372 
   1373 Installation directories:
   1374   --prefix=PREFIX         install architecture-independent files in PREFIX
   1375                           [$ac_default_prefix]
   1376   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1377                           [PREFIX]
   1378 
   1379 By default, \`make install' will install all the files in
   1380 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1381 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1382 for instance \`--prefix=\$HOME'.
   1383 
   1384 For better control, use the options below.
   1385 
   1386 Fine tuning of the installation directories:
   1387   --bindir=DIR            user executables [EPREFIX/bin]
   1388   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1389   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1390   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1391   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1392   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1393   --libdir=DIR            object code libraries [EPREFIX/lib]
   1394   --includedir=DIR        C header files [PREFIX/include]
   1395   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1396   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1397   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1398   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1399   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1400   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1401   --docdir=DIR            documentation root [DATAROOTDIR/doc/dhcp]
   1402   --htmldir=DIR           html documentation [DOCDIR]
   1403   --dvidir=DIR            dvi documentation [DOCDIR]
   1404   --pdfdir=DIR            pdf documentation [DOCDIR]
   1405   --psdir=DIR             ps documentation [DOCDIR]
   1406 _ACEOF
   1407 
   1408   cat <<\_ACEOF
   1409 
   1410 Program names:
   1411   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1412   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1413   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1414 
   1415 System types:
   1416   --build=BUILD     configure for building on BUILD [guessed]
   1417   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1418 _ACEOF
   1419 fi
   1420 
   1421 if test -n "$ac_init_help"; then
   1422   case $ac_init_help in
   1423      short | recursive ) echo "Configuration of DHCP 4.4.1:";;
   1424    esac
   1425   cat <<\_ACEOF
   1426 
   1427 Optional Features:
   1428   --disable-option-checking  ignore unrecognized --enable/--with options
   1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1431   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1432   --disable-silent-rules  verbose build output (undo: "make V=0")
   1433   --enable-maintainer-mode
   1434                           enable make rules and dependencies not useful (and
   1435                           sometimes confusing) to the casual installer
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --enable-debug          create a debug-only version of the software (default
   1441                           is no).
   1442   --enable-failover       enable support for failover (default is yes)
   1443   --enable-execute        enable support for execute() in config (default is
   1444                           yes)
   1445   --enable-tracing        enable support for server activity tracing (default
   1446                           is yes)
   1447   --enable-delayed-ack    queues multiple DHCPACK replies (default is yes)
   1448   --enable-dhcpv6         enable support for DHCPv6 (default is yes)
   1449   --enable-dhcpv4o6       enable support for DHCPv4-over-DHCPv6 (default is
   1450                           no)
   1451   --enable-relay-port     enable support for relay port (default is no)
   1452   --enable-paranoia       enable support for chroot/setuid (default is no)
   1453   --enable-early-chroot   enable chrooting prior to configuration (default is
   1454                           no)
   1455   --enable-ipv4-pktinfo   enable use of pktinfo on IPv4 sockets (default is
   1456                           no)
   1457   --enable-use-sockets    use the standard BSD socket API (default is no)
   1458   --enable-log-pid        Include PIDs in syslog messages (default is no).
   1459   --enable-binary-leases  enable support for binary insertion of leases
   1460                           (default is no)
   1461   --enable-kqueue         use BSD kqueue (default is no)
   1462   --enable-epoll          use Linux epoll (default is no)
   1463   --enable-devpoll        use /dev/poll (default is no)
   1464   --enable-libtool        use GNU libtool for dynamic shared libraries
   1465                           (default is no).
   1466   --enable-bind-install   install bind includes and libraries (default is no).
   1467 
   1468 Optional Packages:
   1469   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1470   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1471   --with-atf=PATH         specify location where atf was installed (or "bind")
   1472   --with-srv-conf-file=PATH
   1473                           Default file containing dhcpd configuration (default
   1474                           is typically /etc/dhcpd.conf)
   1475   --with-srv-lease-file=PATH
   1476                           File for dhcpd leases (default is
   1477                           LOCALSTATEDIR/db/dhcpd.leases)
   1478   --with-srv6-lease-file=PATH
   1479                           File for dhcpd6 leases (default is
   1480                           LOCALSTATEDIR/db/dhcpd6.leases)
   1481   --with-cli-lease-file=PATH
   1482                           File for dhclient leases (default is
   1483                           LOCALSTATEDIR/db/dhclient.leases)
   1484   --with-cli6-lease-file=PATH
   1485                           File for dhclient6 leases (default is
   1486                           LOCALSTATEDIR/db/dhclient6.leases)
   1487   --with-srv-pid-file=PATH
   1488                           File for dhcpd process information (default is
   1489                           LOCALSTATEDIR/run/dhcpd.pid)
   1490   --with-srv6-pid-file=PATH
   1491                           File for dhcpd6 process information (default is
   1492                           LOCALSTATEDIR/run/dhcpd6.pid)
   1493   --with-cli-pid-file=PATH
   1494                           File for dhclient process information (default is
   1495                           LOCALSTATEDIR/run/dhclient.pid)
   1496   --with-cli6-pid-file=PATH
   1497                           File for dhclient6 process information (default is
   1498                           LOCALSTATEDIR/run/dhclient6.pid)
   1499   --with-relay-pid-file=PATH
   1500                           File for dhcrelay process information (default is
   1501                           LOCALSTATEDIR/run/dhcrelay.pid)
   1502   --with-relay6-pid-file=PATH
   1503                           File for dhcrelay6 process information (default is
   1504                           LOCALSTATEDIR/run/dhcrelay6.pid)
   1505   --with-randomdev=PATH   Path for random device (default is /dev/random)
   1506   --with-bind-extra-config
   1507                           configure bind librairies with some extra options
   1508                           (default is none)
   1509   --with-libbind=PATH     bind includes and libraries are in PATH
   1510   --with-ldap             enable OpenLDAP support in dhcpd (default is no)
   1511   --with-ldapcrypto       enable OpenLDAP crypto support in dhcpd (default is
   1512                           no)
   1513   --with-ldap-gssapi      enable krb5/gssapi authentication for OpenLDAP in
   1514                           dhcpd (default is no)
   1515   --with-ldapcasa         enable LDAP CASA auth support in dhcpd (default is
   1516                           no)
   1517 
   1518 Some influential environment variables:
   1519   CC          C compiler command
   1520   CFLAGS      C compiler flags
   1521   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1522               nonstandard directory <lib dir>
   1523   LIBS        libraries to pass to the linker, e.g. -l<library>
   1524   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1525               you have headers in a nonstandard directory <include dir>
   1526   CPP         C preprocessor
   1527 
   1528 Use these variables to override the choices made by `configure' or to help
   1529 it to find libraries and programs with nonstandard names/locations.
   1530 
   1531 Report bugs to <dhcp-users@isc.org>.
   1532 _ACEOF
   1533 ac_status=$?
   1534 fi
   1535 
   1536 if test "$ac_init_help" = "recursive"; then
   1537   # If there are subdirs, report their specific --help.
   1538   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1539     test -d "$ac_dir" ||
   1540       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1541       continue
   1542     ac_builddir=.
   1543 
   1544 case "$ac_dir" in
   1545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1546 *)
   1547   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1548   # A ".." for each directory in $ac_dir_suffix.
   1549   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1550   case $ac_top_builddir_sub in
   1551   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1552   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1553   esac ;;
   1554 esac
   1555 ac_abs_top_builddir=$ac_pwd
   1556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1557 # for backward compatibility:
   1558 ac_top_builddir=$ac_top_build_prefix
   1559 
   1560 case $srcdir in
   1561   .)  # We are building in place.
   1562     ac_srcdir=.
   1563     ac_top_srcdir=$ac_top_builddir_sub
   1564     ac_abs_top_srcdir=$ac_pwd ;;
   1565   [\\/]* | ?:[\\/]* )  # Absolute name.
   1566     ac_srcdir=$srcdir$ac_dir_suffix;
   1567     ac_top_srcdir=$srcdir
   1568     ac_abs_top_srcdir=$srcdir ;;
   1569   *) # Relative name.
   1570     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1571     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1572     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1573 esac
   1574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1575 
   1576     cd "$ac_dir" || { ac_status=$?; continue; }
   1577     # Check for guested configure.
   1578     if test -f "$ac_srcdir/configure.gnu"; then
   1579       echo &&
   1580       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1581     elif test -f "$ac_srcdir/configure"; then
   1582       echo &&
   1583       $SHELL "$ac_srcdir/configure" --help=recursive
   1584     else
   1585       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1586     fi || ac_status=$?
   1587     cd "$ac_pwd" || { ac_status=$?; break; }
   1588   done
   1589 fi
   1590 
   1591 test -n "$ac_init_help" && exit $ac_status
   1592 if $ac_init_version; then
   1593   cat <<\_ACEOF
   1594 DHCP configure 4.4.1
   1595 generated by GNU Autoconf 2.69
   1596 
   1597 Copyright (C) 2012 Free Software Foundation, Inc.
   1598 This configure script is free software; the Free Software Foundation
   1599 gives unlimited permission to copy, distribute and modify it.
   1600 _ACEOF
   1601   exit
   1602 fi
   1603 
   1604 ## ------------------------ ##
   1605 ## Autoconf initialization. ##
   1606 ## ------------------------ ##
   1607 
   1608 # ac_fn_c_try_compile LINENO
   1609 # --------------------------
   1610 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1611 ac_fn_c_try_compile ()
   1612 {
   1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1614   rm -f conftest.$ac_objext
   1615   if { { ac_try="$ac_compile"
   1616 case "(($ac_try" in
   1617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1618   *) ac_try_echo=$ac_try;;
   1619 esac
   1620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1621 $as_echo "$ac_try_echo"; } >&5
   1622   (eval "$ac_compile") 2>conftest.err
   1623   ac_status=$?
   1624   if test -s conftest.err; then
   1625     grep -v '^ *+' conftest.err >conftest.er1
   1626     cat conftest.er1 >&5
   1627     mv -f conftest.er1 conftest.err
   1628   fi
   1629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1630   test $ac_status = 0; } && {
   1631 	 test -z "$ac_c_werror_flag" ||
   1632 	 test ! -s conftest.err
   1633        } && test -s conftest.$ac_objext; then :
   1634   ac_retval=0
   1635 else
   1636   $as_echo "$as_me: failed program was:" >&5
   1637 sed 's/^/| /' conftest.$ac_ext >&5
   1638 
   1639 	ac_retval=1
   1640 fi
   1641   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1642   as_fn_set_status $ac_retval
   1643 
   1644 } # ac_fn_c_try_compile
   1645 
   1646 # ac_fn_c_try_cpp LINENO
   1647 # ----------------------
   1648 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1649 ac_fn_c_try_cpp ()
   1650 {
   1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1652   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1653 case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1660   ac_status=$?
   1661   if test -s conftest.err; then
   1662     grep -v '^ *+' conftest.err >conftest.er1
   1663     cat conftest.er1 >&5
   1664     mv -f conftest.er1 conftest.err
   1665   fi
   1666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1667   test $ac_status = 0; } > conftest.i && {
   1668 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1669 	 test ! -s conftest.err
   1670        }; then :
   1671   ac_retval=0
   1672 else
   1673   $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676     ac_retval=1
   1677 fi
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_cpp
   1682 
   1683 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1684 # -------------------------------------------------------
   1685 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1686 # the include files in INCLUDES and setting the cache variable VAR
   1687 # accordingly.
   1688 ac_fn_c_check_header_mongrel ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   if eval \${$3+:} false; then :
   1692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1693 $as_echo_n "checking for $2... " >&6; }
   1694 if eval \${$3+:} false; then :
   1695   $as_echo_n "(cached) " >&6
   1696 fi
   1697 eval ac_res=\$$3
   1698 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1699 $as_echo "$ac_res" >&6; }
   1700 else
   1701   # Is the header compilable?
   1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1703 $as_echo_n "checking $2 usability... " >&6; }
   1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1705 /* end confdefs.h.  */
   1706 $4
   1707 #include <$2>
   1708 _ACEOF
   1709 if ac_fn_c_try_compile "$LINENO"; then :
   1710   ac_header_compiler=yes
   1711 else
   1712   ac_header_compiler=no
   1713 fi
   1714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1716 $as_echo "$ac_header_compiler" >&6; }
   1717 
   1718 # Is the header present?
   1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1720 $as_echo_n "checking $2 presence... " >&6; }
   1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1722 /* end confdefs.h.  */
   1723 #include <$2>
   1724 _ACEOF
   1725 if ac_fn_c_try_cpp "$LINENO"; then :
   1726   ac_header_preproc=yes
   1727 else
   1728   ac_header_preproc=no
   1729 fi
   1730 rm -f conftest.err conftest.i conftest.$ac_ext
   1731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1732 $as_echo "$ac_header_preproc" >&6; }
   1733 
   1734 # So?  What about this header?
   1735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1736   yes:no: )
   1737     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1738 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1739     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1740 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1741     ;;
   1742   no:yes:* )
   1743     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1744 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1745     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1746 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1748 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1749     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1750 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1751     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1752 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1753 ( $as_echo "## --------------------------------- ##
   1754 ## Report this to dhcp-users (at] isc.org ##
   1755 ## --------------------------------- ##"
   1756      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1757     ;;
   1758 esac
   1759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1760 $as_echo_n "checking for $2... " >&6; }
   1761 if eval \${$3+:} false; then :
   1762   $as_echo_n "(cached) " >&6
   1763 else
   1764   eval "$3=\$ac_header_compiler"
   1765 fi
   1766 eval ac_res=\$$3
   1767 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1768 $as_echo "$ac_res" >&6; }
   1769 fi
   1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1771 
   1772 } # ac_fn_c_check_header_mongrel
   1773 
   1774 # ac_fn_c_try_run LINENO
   1775 # ----------------------
   1776 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1777 # that executables *can* be run.
   1778 ac_fn_c_try_run ()
   1779 {
   1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1781   if { { ac_try="$ac_link"
   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_link") 2>&5
   1789   ac_status=$?
   1790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1791   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1792   { { case "(($ac_try" in
   1793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1794   *) ac_try_echo=$ac_try;;
   1795 esac
   1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1797 $as_echo "$ac_try_echo"; } >&5
   1798   (eval "$ac_try") 2>&5
   1799   ac_status=$?
   1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; }; }; then :
   1802   ac_retval=0
   1803 else
   1804   $as_echo "$as_me: program exited with status $ac_status" >&5
   1805        $as_echo "$as_me: failed program was:" >&5
   1806 sed 's/^/| /' conftest.$ac_ext >&5
   1807 
   1808        ac_retval=$ac_status
   1809 fi
   1810   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1811   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1812   as_fn_set_status $ac_retval
   1813 
   1814 } # ac_fn_c_try_run
   1815 
   1816 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1817 # -------------------------------------------------------
   1818 # Tests whether HEADER exists and can be compiled using the include files in
   1819 # INCLUDES, setting the cache variable VAR accordingly.
   1820 ac_fn_c_check_header_compile ()
   1821 {
   1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1824 $as_echo_n "checking for $2... " >&6; }
   1825 if eval \${$3+:} false; then :
   1826   $as_echo_n "(cached) " >&6
   1827 else
   1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1829 /* end confdefs.h.  */
   1830 $4
   1831 #include <$2>
   1832 _ACEOF
   1833 if ac_fn_c_try_compile "$LINENO"; then :
   1834   eval "$3=yes"
   1835 else
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1839 fi
   1840 eval ac_res=\$$3
   1841 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842 $as_echo "$ac_res" >&6; }
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844 
   1845 } # ac_fn_c_check_header_compile
   1846 
   1847 # ac_fn_c_find_intX_t LINENO BITS VAR
   1848 # -----------------------------------
   1849 # Finds a signed integer type with width BITS, setting cache variable VAR
   1850 # accordingly.
   1851 ac_fn_c_find_intX_t ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
   1855 $as_echo_n "checking for int$2_t... " >&6; }
   1856 if eval \${$3+:} false; then :
   1857   $as_echo_n "(cached) " >&6
   1858 else
   1859   eval "$3=no"
   1860      # Order is important - never check a type that is potentially smaller
   1861      # than half of the expected target width.
   1862      for ac_type in int$2_t 'int' 'long int' \
   1863 	 'long long int' 'short int' 'signed char'; do
   1864        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1865 /* end confdefs.h.  */
   1866 $ac_includes_default
   1867 	     enum { N = $2 / 2 - 1 };
   1868 int
   1869 main ()
   1870 {
   1871 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
   1872 test_array [0] = 0;
   1873 return test_array [0];
   1874 
   1875   ;
   1876   return 0;
   1877 }
   1878 _ACEOF
   1879 if ac_fn_c_try_compile "$LINENO"; then :
   1880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1881 /* end confdefs.h.  */
   1882 $ac_includes_default
   1883 	        enum { N = $2 / 2 - 1 };
   1884 int
   1885 main ()
   1886 {
   1887 static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
   1888 		 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
   1889 test_array [0] = 0;
   1890 return test_array [0];
   1891 
   1892   ;
   1893   return 0;
   1894 }
   1895 _ACEOF
   1896 if ac_fn_c_try_compile "$LINENO"; then :
   1897 
   1898 else
   1899   case $ac_type in #(
   1900   int$2_t) :
   1901     eval "$3=yes" ;; #(
   1902   *) :
   1903     eval "$3=\$ac_type" ;;
   1904 esac
   1905 fi
   1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1907 fi
   1908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1909        if eval test \"x\$"$3"\" = x"no"; then :
   1910 
   1911 else
   1912   break
   1913 fi
   1914      done
   1915 fi
   1916 eval ac_res=\$$3
   1917 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1918 $as_echo "$ac_res" >&6; }
   1919   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1920 
   1921 } # ac_fn_c_find_intX_t
   1922 
   1923 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1924 # -------------------------------------------
   1925 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1926 # variable VAR accordingly.
   1927 ac_fn_c_check_type ()
   1928 {
   1929   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1931 $as_echo_n "checking for $2... " >&6; }
   1932 if eval \${$3+:} false; then :
   1933   $as_echo_n "(cached) " >&6
   1934 else
   1935   eval "$3=no"
   1936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1937 /* end confdefs.h.  */
   1938 $4
   1939 int
   1940 main ()
   1941 {
   1942 if (sizeof ($2))
   1943 	 return 0;
   1944   ;
   1945   return 0;
   1946 }
   1947 _ACEOF
   1948 if ac_fn_c_try_compile "$LINENO"; then :
   1949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1950 /* end confdefs.h.  */
   1951 $4
   1952 int
   1953 main ()
   1954 {
   1955 if (sizeof (($2)))
   1956 	    return 0;
   1957   ;
   1958   return 0;
   1959 }
   1960 _ACEOF
   1961 if ac_fn_c_try_compile "$LINENO"; then :
   1962 
   1963 else
   1964   eval "$3=yes"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1967 fi
   1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1969 fi
   1970 eval ac_res=\$$3
   1971 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1972 $as_echo "$ac_res" >&6; }
   1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1974 
   1975 } # ac_fn_c_check_type
   1976 
   1977 # ac_fn_c_find_uintX_t LINENO BITS VAR
   1978 # ------------------------------------
   1979 # Finds an unsigned integer type with width BITS, setting cache variable VAR
   1980 # accordingly.
   1981 ac_fn_c_find_uintX_t ()
   1982 {
   1983   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
   1985 $as_echo_n "checking for uint$2_t... " >&6; }
   1986 if eval \${$3+:} false; then :
   1987   $as_echo_n "(cached) " >&6
   1988 else
   1989   eval "$3=no"
   1990      # Order is important - never check a type that is potentially smaller
   1991      # than half of the expected target width.
   1992      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
   1993 	 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
   1994        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1995 /* end confdefs.h.  */
   1996 $ac_includes_default
   1997 int
   1998 main ()
   1999 {
   2000 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
   2001 test_array [0] = 0;
   2002 return test_array [0];
   2003 
   2004   ;
   2005   return 0;
   2006 }
   2007 _ACEOF
   2008 if ac_fn_c_try_compile "$LINENO"; then :
   2009   case $ac_type in #(
   2010   uint$2_t) :
   2011     eval "$3=yes" ;; #(
   2012   *) :
   2013     eval "$3=\$ac_type" ;;
   2014 esac
   2015 fi
   2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2017        if eval test \"x\$"$3"\" = x"no"; then :
   2018 
   2019 else
   2020   break
   2021 fi
   2022      done
   2023 fi
   2024 eval ac_res=\$$3
   2025 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2026 $as_echo "$ac_res" >&6; }
   2027   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2028 
   2029 } # ac_fn_c_find_uintX_t
   2030 
   2031 # ac_fn_c_try_link LINENO
   2032 # -----------------------
   2033 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2034 ac_fn_c_try_link ()
   2035 {
   2036   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2037   rm -f conftest.$ac_objext conftest$ac_exeext
   2038   if { { ac_try="$ac_link"
   2039 case "(($ac_try" in
   2040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2041   *) ac_try_echo=$ac_try;;
   2042 esac
   2043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2044 $as_echo "$ac_try_echo"; } >&5
   2045   (eval "$ac_link") 2>conftest.err
   2046   ac_status=$?
   2047   if test -s conftest.err; then
   2048     grep -v '^ *+' conftest.err >conftest.er1
   2049     cat conftest.er1 >&5
   2050     mv -f conftest.er1 conftest.err
   2051   fi
   2052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2053   test $ac_status = 0; } && {
   2054 	 test -z "$ac_c_werror_flag" ||
   2055 	 test ! -s conftest.err
   2056        } && test -s conftest$ac_exeext && {
   2057 	 test "$cross_compiling" = yes ||
   2058 	 test -x conftest$ac_exeext
   2059        }; then :
   2060   ac_retval=0
   2061 else
   2062   $as_echo "$as_me: failed program was:" >&5
   2063 sed 's/^/| /' conftest.$ac_ext >&5
   2064 
   2065 	ac_retval=1
   2066 fi
   2067   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2068   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2069   # interfere with the next link command; also delete a directory that is
   2070   # left behind by Apple's compiler.  We do this before executing the actions.
   2071   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2072   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2073   as_fn_set_status $ac_retval
   2074 
   2075 } # ac_fn_c_try_link
   2076 
   2077 # ac_fn_c_check_func LINENO FUNC VAR
   2078 # ----------------------------------
   2079 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   2080 ac_fn_c_check_func ()
   2081 {
   2082   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2084 $as_echo_n "checking for $2... " >&6; }
   2085 if eval \${$3+:} false; then :
   2086   $as_echo_n "(cached) " >&6
   2087 else
   2088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2089 /* end confdefs.h.  */
   2090 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   2091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   2092 #define $2 innocuous_$2
   2093 
   2094 /* System header to define __stub macros and hopefully few prototypes,
   2095     which can conflict with char $2 (); below.
   2096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2097     <limits.h> exists even on freestanding compilers.  */
   2098 
   2099 #ifdef __STDC__
   2100 # include <limits.h>
   2101 #else
   2102 # include <assert.h>
   2103 #endif
   2104 
   2105 #undef $2
   2106 
   2107 /* Override any GCC internal prototype to avoid an error.
   2108    Use char because int might match the return type of a GCC
   2109    builtin and then its argument prototype would still apply.  */
   2110 #ifdef __cplusplus
   2111 extern "C"
   2112 #endif
   2113 char $2 ();
   2114 /* The GNU C library defines this for functions which it implements
   2115     to always fail with ENOSYS.  Some functions are actually named
   2116     something starting with __ and the normal name is an alias.  */
   2117 #if defined __stub_$2 || defined __stub___$2
   2118 choke me
   2119 #endif
   2120 
   2121 int
   2122 main ()
   2123 {
   2124 return $2 ();
   2125   ;
   2126   return 0;
   2127 }
   2128 _ACEOF
   2129 if ac_fn_c_try_link "$LINENO"; then :
   2130   eval "$3=yes"
   2131 else
   2132   eval "$3=no"
   2133 fi
   2134 rm -f core conftest.err conftest.$ac_objext \
   2135     conftest$ac_exeext conftest.$ac_ext
   2136 fi
   2137 eval ac_res=\$$3
   2138 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2139 $as_echo "$ac_res" >&6; }
   2140   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2141 
   2142 } # ac_fn_c_check_func
   2143 
   2144 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2145 # ----------------------------------------------------
   2146 # Tries to find if the field MEMBER exists in type AGGR, after including
   2147 # INCLUDES, setting cache variable VAR accordingly.
   2148 ac_fn_c_check_member ()
   2149 {
   2150   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2152 $as_echo_n "checking for $2.$3... " >&6; }
   2153 if eval \${$4+:} false; then :
   2154   $as_echo_n "(cached) " >&6
   2155 else
   2156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2157 /* end confdefs.h.  */
   2158 $5
   2159 int
   2160 main ()
   2161 {
   2162 static $2 ac_aggr;
   2163 if (ac_aggr.$3)
   2164 return 0;
   2165   ;
   2166   return 0;
   2167 }
   2168 _ACEOF
   2169 if ac_fn_c_try_compile "$LINENO"; then :
   2170   eval "$4=yes"
   2171 else
   2172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2173 /* end confdefs.h.  */
   2174 $5
   2175 int
   2176 main ()
   2177 {
   2178 static $2 ac_aggr;
   2179 if (sizeof ac_aggr.$3)
   2180 return 0;
   2181   ;
   2182   return 0;
   2183 }
   2184 _ACEOF
   2185 if ac_fn_c_try_compile "$LINENO"; then :
   2186   eval "$4=yes"
   2187 else
   2188   eval "$4=no"
   2189 fi
   2190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2191 fi
   2192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2193 fi
   2194 eval ac_res=\$$4
   2195 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2196 $as_echo "$ac_res" >&6; }
   2197   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2198 
   2199 } # ac_fn_c_check_member
   2200 
   2201 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2202 # --------------------------------------------
   2203 # Tries to find the compile-time value of EXPR in a program that includes
   2204 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2205 # computed
   2206 ac_fn_c_compute_int ()
   2207 {
   2208   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2209   if test "$cross_compiling" = yes; then
   2210     # Depending upon the size, compute the lo and hi bounds.
   2211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2212 /* end confdefs.h.  */
   2213 $4
   2214 int
   2215 main ()
   2216 {
   2217 static int test_array [1 - 2 * !(($2) >= 0)];
   2218 test_array [0] = 0;
   2219 return test_array [0];
   2220 
   2221   ;
   2222   return 0;
   2223 }
   2224 _ACEOF
   2225 if ac_fn_c_try_compile "$LINENO"; then :
   2226   ac_lo=0 ac_mid=0
   2227   while :; do
   2228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2229 /* end confdefs.h.  */
   2230 $4
   2231 int
   2232 main ()
   2233 {
   2234 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2235 test_array [0] = 0;
   2236 return test_array [0];
   2237 
   2238   ;
   2239   return 0;
   2240 }
   2241 _ACEOF
   2242 if ac_fn_c_try_compile "$LINENO"; then :
   2243   ac_hi=$ac_mid; break
   2244 else
   2245   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2246 			if test $ac_lo -le $ac_mid; then
   2247 			  ac_lo= ac_hi=
   2248 			  break
   2249 			fi
   2250 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2251 fi
   2252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2253   done
   2254 else
   2255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2256 /* end confdefs.h.  */
   2257 $4
   2258 int
   2259 main ()
   2260 {
   2261 static int test_array [1 - 2 * !(($2) < 0)];
   2262 test_array [0] = 0;
   2263 return test_array [0];
   2264 
   2265   ;
   2266   return 0;
   2267 }
   2268 _ACEOF
   2269 if ac_fn_c_try_compile "$LINENO"; then :
   2270   ac_hi=-1 ac_mid=-1
   2271   while :; do
   2272     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2273 /* end confdefs.h.  */
   2274 $4
   2275 int
   2276 main ()
   2277 {
   2278 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2279 test_array [0] = 0;
   2280 return test_array [0];
   2281 
   2282   ;
   2283   return 0;
   2284 }
   2285 _ACEOF
   2286 if ac_fn_c_try_compile "$LINENO"; then :
   2287   ac_lo=$ac_mid; break
   2288 else
   2289   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2290 			if test $ac_mid -le $ac_hi; then
   2291 			  ac_lo= ac_hi=
   2292 			  break
   2293 			fi
   2294 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2295 fi
   2296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2297   done
   2298 else
   2299   ac_lo= ac_hi=
   2300 fi
   2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2302 fi
   2303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2304 # Binary search between lo and hi bounds.
   2305 while test "x$ac_lo" != "x$ac_hi"; do
   2306   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2308 /* end confdefs.h.  */
   2309 $4
   2310 int
   2311 main ()
   2312 {
   2313 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2314 test_array [0] = 0;
   2315 return test_array [0];
   2316 
   2317   ;
   2318   return 0;
   2319 }
   2320 _ACEOF
   2321 if ac_fn_c_try_compile "$LINENO"; then :
   2322   ac_hi=$ac_mid
   2323 else
   2324   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2325 fi
   2326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2327 done
   2328 case $ac_lo in #((
   2329 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2330 '') ac_retval=1 ;;
   2331 esac
   2332   else
   2333     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2334 /* end confdefs.h.  */
   2335 $4
   2336 static long int longval () { return $2; }
   2337 static unsigned long int ulongval () { return $2; }
   2338 #include <stdio.h>
   2339 #include <stdlib.h>
   2340 int
   2341 main ()
   2342 {
   2343 
   2344   FILE *f = fopen ("conftest.val", "w");
   2345   if (! f)
   2346     return 1;
   2347   if (($2) < 0)
   2348     {
   2349       long int i = longval ();
   2350       if (i != ($2))
   2351 	return 1;
   2352       fprintf (f, "%ld", i);
   2353     }
   2354   else
   2355     {
   2356       unsigned long int i = ulongval ();
   2357       if (i != ($2))
   2358 	return 1;
   2359       fprintf (f, "%lu", i);
   2360     }
   2361   /* Do not output a trailing newline, as this causes \r\n confusion
   2362      on some platforms.  */
   2363   return ferror (f) || fclose (f) != 0;
   2364 
   2365   ;
   2366   return 0;
   2367 }
   2368 _ACEOF
   2369 if ac_fn_c_try_run "$LINENO"; then :
   2370   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2371 else
   2372   ac_retval=1
   2373 fi
   2374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2375   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2376 rm -f conftest.val
   2377 
   2378   fi
   2379   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2380   as_fn_set_status $ac_retval
   2381 
   2382 } # ac_fn_c_compute_int
   2383 cat >config.log <<_ACEOF
   2384 This file contains any messages produced by compilers while
   2385 running configure, to aid debugging if configure makes a mistake.
   2386 
   2387 It was created by DHCP $as_me 4.4.1, which was
   2388 generated by GNU Autoconf 2.69.  Invocation command line was
   2389 
   2390   $ $0 $@
   2391 
   2392 _ACEOF
   2393 exec 5>>config.log
   2394 {
   2395 cat <<_ASUNAME
   2396 ## --------- ##
   2397 ## Platform. ##
   2398 ## --------- ##
   2399 
   2400 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2401 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2402 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2403 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2404 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2405 
   2406 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2407 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2408 
   2409 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2410 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2411 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2412 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2413 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2414 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2415 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2416 
   2417 _ASUNAME
   2418 
   2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2420 for as_dir in $PATH
   2421 do
   2422   IFS=$as_save_IFS
   2423   test -z "$as_dir" && as_dir=.
   2424     $as_echo "PATH: $as_dir"
   2425   done
   2426 IFS=$as_save_IFS
   2427 
   2428 } >&5
   2429 
   2430 cat >&5 <<_ACEOF
   2431 
   2432 
   2433 ## ----------- ##
   2434 ## Core tests. ##
   2435 ## ----------- ##
   2436 
   2437 _ACEOF
   2438 
   2439 
   2440 # Keep a trace of the command line.
   2441 # Strip out --no-create and --no-recursion so they do not pile up.
   2442 # Strip out --silent because we don't want to record it for future runs.
   2443 # Also quote any args containing shell meta-characters.
   2444 # Make two passes to allow for proper duplicate-argument suppression.
   2445 ac_configure_args=
   2446 ac_configure_args0=
   2447 ac_configure_args1=
   2448 ac_must_keep_next=false
   2449 for ac_pass in 1 2
   2450 do
   2451   for ac_arg
   2452   do
   2453     case $ac_arg in
   2454     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2455     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2456     | -silent | --silent | --silen | --sile | --sil)
   2457       continue ;;
   2458     *\'*)
   2459       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2460     esac
   2461     case $ac_pass in
   2462     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2463     2)
   2464       as_fn_append ac_configure_args1 " '$ac_arg'"
   2465       if test $ac_must_keep_next = true; then
   2466 	ac_must_keep_next=false # Got value, back to normal.
   2467       else
   2468 	case $ac_arg in
   2469 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2470 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2471 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2472 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2473 	    case "$ac_configure_args0 " in
   2474 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2475 	    esac
   2476 	    ;;
   2477 	  -* ) ac_must_keep_next=true ;;
   2478 	esac
   2479       fi
   2480       as_fn_append ac_configure_args " '$ac_arg'"
   2481       ;;
   2482     esac
   2483   done
   2484 done
   2485 { ac_configure_args0=; unset ac_configure_args0;}
   2486 { ac_configure_args1=; unset ac_configure_args1;}
   2487 
   2488 # When interrupted or exit'd, cleanup temporary files, and complete
   2489 # config.log.  We remove comments because anyway the quotes in there
   2490 # would cause problems or look ugly.
   2491 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2492 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2493 trap 'exit_status=$?
   2494   # Save into config.log some information that might help in debugging.
   2495   {
   2496     echo
   2497 
   2498     $as_echo "## ---------------- ##
   2499 ## Cache variables. ##
   2500 ## ---------------- ##"
   2501     echo
   2502     # The following way of writing the cache mishandles newlines in values,
   2503 (
   2504   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2505     eval ac_val=\$$ac_var
   2506     case $ac_val in #(
   2507     *${as_nl}*)
   2508       case $ac_var in #(
   2509       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2511       esac
   2512       case $ac_var in #(
   2513       _ | IFS | as_nl) ;; #(
   2514       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2515       *) { eval $ac_var=; unset $ac_var;} ;;
   2516       esac ;;
   2517     esac
   2518   done
   2519   (set) 2>&1 |
   2520     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2521     *${as_nl}ac_space=\ *)
   2522       sed -n \
   2523 	"s/'\''/'\''\\\\'\'''\''/g;
   2524 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2525       ;; #(
   2526     *)
   2527       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2528       ;;
   2529     esac |
   2530     sort
   2531 )
   2532     echo
   2533 
   2534     $as_echo "## ----------------- ##
   2535 ## Output variables. ##
   2536 ## ----------------- ##"
   2537     echo
   2538     for ac_var in $ac_subst_vars
   2539     do
   2540       eval ac_val=\$$ac_var
   2541       case $ac_val in
   2542       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2543       esac
   2544       $as_echo "$ac_var='\''$ac_val'\''"
   2545     done | sort
   2546     echo
   2547 
   2548     if test -n "$ac_subst_files"; then
   2549       $as_echo "## ------------------- ##
   2550 ## File substitutions. ##
   2551 ## ------------------- ##"
   2552       echo
   2553       for ac_var in $ac_subst_files
   2554       do
   2555 	eval ac_val=\$$ac_var
   2556 	case $ac_val in
   2557 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2558 	esac
   2559 	$as_echo "$ac_var='\''$ac_val'\''"
   2560       done | sort
   2561       echo
   2562     fi
   2563 
   2564     if test -s confdefs.h; then
   2565       $as_echo "## ----------- ##
   2566 ## confdefs.h. ##
   2567 ## ----------- ##"
   2568       echo
   2569       cat confdefs.h
   2570       echo
   2571     fi
   2572     test "$ac_signal" != 0 &&
   2573       $as_echo "$as_me: caught signal $ac_signal"
   2574     $as_echo "$as_me: exit $exit_status"
   2575   } >&5
   2576   rm -f core *.core core.conftest.* &&
   2577     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2578     exit $exit_status
   2579 ' 0
   2580 for ac_signal in 1 2 13 15; do
   2581   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2582 done
   2583 ac_signal=0
   2584 
   2585 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2586 rm -f -r conftest* confdefs.h
   2587 
   2588 $as_echo "/* confdefs.h */" > confdefs.h
   2589 
   2590 # Predefined preprocessor variables.
   2591 
   2592 cat >>confdefs.h <<_ACEOF
   2593 #define PACKAGE_NAME "$PACKAGE_NAME"
   2594 _ACEOF
   2595 
   2596 cat >>confdefs.h <<_ACEOF
   2597 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2598 _ACEOF
   2599 
   2600 cat >>confdefs.h <<_ACEOF
   2601 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2602 _ACEOF
   2603 
   2604 cat >>confdefs.h <<_ACEOF
   2605 #define PACKAGE_STRING "$PACKAGE_STRING"
   2606 _ACEOF
   2607 
   2608 cat >>confdefs.h <<_ACEOF
   2609 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2610 _ACEOF
   2611 
   2612 cat >>confdefs.h <<_ACEOF
   2613 #define PACKAGE_URL "$PACKAGE_URL"
   2614 _ACEOF
   2615 
   2616 
   2617 # Let the site file select an alternate cache file if it wants to.
   2618 # Prefer an explicitly selected file to automatically selected ones.
   2619 ac_site_file1=NONE
   2620 ac_site_file2=NONE
   2621 if test -n "$CONFIG_SITE"; then
   2622   # We do not want a PATH search for config.site.
   2623   case $CONFIG_SITE in #((
   2624     -*)  ac_site_file1=./$CONFIG_SITE;;
   2625     */*) ac_site_file1=$CONFIG_SITE;;
   2626     *)   ac_site_file1=./$CONFIG_SITE;;
   2627   esac
   2628 elif test "x$prefix" != xNONE; then
   2629   ac_site_file1=$prefix/share/config.site
   2630   ac_site_file2=$prefix/etc/config.site
   2631 else
   2632   ac_site_file1=$ac_default_prefix/share/config.site
   2633   ac_site_file2=$ac_default_prefix/etc/config.site
   2634 fi
   2635 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2636 do
   2637   test "x$ac_site_file" = xNONE && continue
   2638   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2639     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2640 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2641     sed 's/^/| /' "$ac_site_file" >&5
   2642     . "$ac_site_file" \
   2643       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2645 as_fn_error $? "failed to load site script $ac_site_file
   2646 See \`config.log' for more details" "$LINENO" 5; }
   2647   fi
   2648 done
   2649 
   2650 if test -r "$cache_file"; then
   2651   # Some versions of bash will fail to source /dev/null (special files
   2652   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2653   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2654     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2655 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2656     case $cache_file in
   2657       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2658       *)                      . "./$cache_file";;
   2659     esac
   2660   fi
   2661 else
   2662   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2663 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2664   >$cache_file
   2665 fi
   2666 
   2667 # Check that the precious variables saved in the cache have kept the same
   2668 # value.
   2669 ac_cache_corrupted=false
   2670 for ac_var in $ac_precious_vars; do
   2671   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2672   eval ac_new_set=\$ac_env_${ac_var}_set
   2673   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2674   eval ac_new_val=\$ac_env_${ac_var}_value
   2675   case $ac_old_set,$ac_new_set in
   2676     set,)
   2677       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2678 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2679       ac_cache_corrupted=: ;;
   2680     ,set)
   2681       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2682 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2683       ac_cache_corrupted=: ;;
   2684     ,);;
   2685     *)
   2686       if test "x$ac_old_val" != "x$ac_new_val"; then
   2687 	# differences in whitespace do not lead to failure.
   2688 	ac_old_val_w=`echo x $ac_old_val`
   2689 	ac_new_val_w=`echo x $ac_new_val`
   2690 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2691 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2692 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2693 	  ac_cache_corrupted=:
   2694 	else
   2695 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2696 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2697 	  eval $ac_var=\$ac_old_val
   2698 	fi
   2699 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2700 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2701 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2702 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2703       fi;;
   2704   esac
   2705   # Pass precious variables to config.status.
   2706   if test "$ac_new_set" = set; then
   2707     case $ac_new_val in
   2708     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2709     *) ac_arg=$ac_var=$ac_new_val ;;
   2710     esac
   2711     case " $ac_configure_args " in
   2712       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2713       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2714     esac
   2715   fi
   2716 done
   2717 if $ac_cache_corrupted; then
   2718   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2720   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2721 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2722   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2723 fi
   2724 ## -------------------- ##
   2725 ## Main body of script. ##
   2726 ## -------------------- ##
   2727 
   2728 ac_ext=c
   2729 ac_cpp='$CPP $CPPFLAGS'
   2730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2733 
   2734 
   2735 
   2736 
   2737 # we specify "foreign" to avoid having to have the GNU mandated files,
   2738 # like AUTHORS, COPYING, and such
   2739 am__api_version='1.15'
   2740 
   2741 ac_aux_dir=
   2742 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2743   if test -f "$ac_dir/install-sh"; then
   2744     ac_aux_dir=$ac_dir
   2745     ac_install_sh="$ac_aux_dir/install-sh -c"
   2746     break
   2747   elif test -f "$ac_dir/install.sh"; then
   2748     ac_aux_dir=$ac_dir
   2749     ac_install_sh="$ac_aux_dir/install.sh -c"
   2750     break
   2751   elif test -f "$ac_dir/shtool"; then
   2752     ac_aux_dir=$ac_dir
   2753     ac_install_sh="$ac_aux_dir/shtool install -c"
   2754     break
   2755   fi
   2756 done
   2757 if test -z "$ac_aux_dir"; then
   2758   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2759 fi
   2760 
   2761 # These three variables are undocumented and unsupported,
   2762 # and are intended to be withdrawn in a future Autoconf release.
   2763 # They can cause serious problems if a builder's source tree is in a directory
   2764 # whose full name contains unusual characters.
   2765 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2766 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2767 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2768 
   2769 
   2770 # Find a good install program.  We prefer a C program (faster),
   2771 # so one script is as good as another.  But avoid the broken or
   2772 # incompatible versions:
   2773 # SysV /etc/install, /usr/sbin/install
   2774 # SunOS /usr/etc/install
   2775 # IRIX /sbin/install
   2776 # AIX /bin/install
   2777 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2781 # OS/2's system install, which has a completely different semantic
   2782 # ./install, which can be erroneously created by make from ./install.sh.
   2783 # Reject install programs that cannot install multiple files.
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2785 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2786 if test -z "$INSTALL"; then
   2787 if ${ac_cv_path_install+:} false; then :
   2788   $as_echo_n "(cached) " >&6
   2789 else
   2790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2791 for as_dir in $PATH
   2792 do
   2793   IFS=$as_save_IFS
   2794   test -z "$as_dir" && as_dir=.
   2795     # Account for people who put trailing slashes in PATH elements.
   2796 case $as_dir/ in #((
   2797   ./ | .// | /[cC]/* | \
   2798   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2799   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2800   /usr/ucb/* ) ;;
   2801   *)
   2802     # OSF1 and SCO ODT 3.0 have their own names for install.
   2803     # Don't use installbsd from OSF since it installs stuff as root
   2804     # by default.
   2805     for ac_prog in ginstall scoinst install; do
   2806       for ac_exec_ext in '' $ac_executable_extensions; do
   2807 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2808 	  if test $ac_prog = install &&
   2809 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2810 	    # AIX install.  It has an incompatible calling convention.
   2811 	    :
   2812 	  elif test $ac_prog = install &&
   2813 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2814 	    # program-specific install script used by HP pwplus--don't use.
   2815 	    :
   2816 	  else
   2817 	    rm -rf conftest.one conftest.two conftest.dir
   2818 	    echo one > conftest.one
   2819 	    echo two > conftest.two
   2820 	    mkdir conftest.dir
   2821 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2822 	      test -s conftest.one && test -s conftest.two &&
   2823 	      test -s conftest.dir/conftest.one &&
   2824 	      test -s conftest.dir/conftest.two
   2825 	    then
   2826 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2827 	      break 3
   2828 	    fi
   2829 	  fi
   2830 	fi
   2831       done
   2832     done
   2833     ;;
   2834 esac
   2835 
   2836   done
   2837 IFS=$as_save_IFS
   2838 
   2839 rm -rf conftest.one conftest.two conftest.dir
   2840 
   2841 fi
   2842   if test "${ac_cv_path_install+set}" = set; then
   2843     INSTALL=$ac_cv_path_install
   2844   else
   2845     # As a last resort, use the slow shell script.  Don't cache a
   2846     # value for INSTALL within a source directory, because that will
   2847     # break other packages using the cache if that directory is
   2848     # removed, or if the value is a relative name.
   2849     INSTALL=$ac_install_sh
   2850   fi
   2851 fi
   2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2853 $as_echo "$INSTALL" >&6; }
   2854 
   2855 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2856 # It thinks the first close brace ends the variable substitution.
   2857 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2858 
   2859 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2860 
   2861 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2862 
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2864 $as_echo_n "checking whether build environment is sane... " >&6; }
   2865 # Reject unsafe characters in $srcdir or the absolute working directory
   2866 # name.  Accept space and tab only in the latter.
   2867 am_lf='
   2868 '
   2869 case `pwd` in
   2870   *[\\\"\#\$\&\'\`$am_lf]*)
   2871     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2872 esac
   2873 case $srcdir in
   2874   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2875     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2876 esac
   2877 
   2878 # Do 'set' in a subshell so we don't clobber the current shell's
   2879 # arguments.  Must try -L first in case configure is actually a
   2880 # symlink; some systems play weird games with the mod time of symlinks
   2881 # (eg FreeBSD returns the mod time of the symlink's containing
   2882 # directory).
   2883 if (
   2884    am_has_slept=no
   2885    for am_try in 1 2; do
   2886      echo "timestamp, slept: $am_has_slept" > conftest.file
   2887      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2888      if test "$*" = "X"; then
   2889 	# -L didn't work.
   2890 	set X `ls -t "$srcdir/configure" conftest.file`
   2891      fi
   2892      if test "$*" != "X $srcdir/configure conftest.file" \
   2893 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2894 
   2895 	# If neither matched, then we have a broken ls.  This can happen
   2896 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2897 	# broken ls alias from the environment.  This has actually
   2898 	# happened.  Such a system could not be considered "sane".
   2899 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2900   alias in your environment" "$LINENO" 5
   2901      fi
   2902      if test "$2" = conftest.file || test $am_try -eq 2; then
   2903        break
   2904      fi
   2905      # Just in case.
   2906      sleep 1
   2907      am_has_slept=yes
   2908    done
   2909    test "$2" = conftest.file
   2910    )
   2911 then
   2912    # Ok.
   2913    :
   2914 else
   2915    as_fn_error $? "newly created file is older than distributed files!
   2916 Check your system clock" "$LINENO" 5
   2917 fi
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2919 $as_echo "yes" >&6; }
   2920 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2921 # generated files are strictly newer.
   2922 am_sleep_pid=
   2923 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2924   ( sleep 1 ) &
   2925   am_sleep_pid=$!
   2926 fi
   2927 
   2928 rm -f conftest.file
   2929 
   2930 test "$program_prefix" != NONE &&
   2931   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2932 # Use a double $ so make ignores it.
   2933 test "$program_suffix" != NONE &&
   2934   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2935 # Double any \ or $.
   2936 # By default was `s,x,x', remove it if useless.
   2937 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2938 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2939 
   2940 # Expand $ac_aux_dir to an absolute path.
   2941 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2942 
   2943 if test x"${MISSING+set}" != xset; then
   2944   case $am_aux_dir in
   2945   *\ * | *\	*)
   2946     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2947   *)
   2948     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2949   esac
   2950 fi
   2951 # Use eval to expand $SHELL
   2952 if eval "$MISSING --is-lightweight"; then
   2953   am_missing_run="$MISSING "
   2954 else
   2955   am_missing_run=
   2956   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2957 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2958 fi
   2959 
   2960 if test x"${install_sh+set}" != xset; then
   2961   case $am_aux_dir in
   2962   *\ * | *\	*)
   2963     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2964   *)
   2965     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2966   esac
   2967 fi
   2968 
   2969 # Installed binaries are usually stripped using 'strip' when the user
   2970 # run "make install-strip".  However 'strip' might not be the right
   2971 # tool to use in cross-compilation environments, therefore Automake
   2972 # will honor the 'STRIP' environment variable to overrule this program.
   2973 if test "$cross_compiling" != no; then
   2974   if test -n "$ac_tool_prefix"; then
   2975   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2976 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2978 $as_echo_n "checking for $ac_word... " >&6; }
   2979 if ${ac_cv_prog_STRIP+:} false; then :
   2980   $as_echo_n "(cached) " >&6
   2981 else
   2982   if test -n "$STRIP"; then
   2983   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2984 else
   2985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2986 for as_dir in $PATH
   2987 do
   2988   IFS=$as_save_IFS
   2989   test -z "$as_dir" && as_dir=.
   2990     for ac_exec_ext in '' $ac_executable_extensions; do
   2991   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2992     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2994     break 2
   2995   fi
   2996 done
   2997   done
   2998 IFS=$as_save_IFS
   2999 
   3000 fi
   3001 fi
   3002 STRIP=$ac_cv_prog_STRIP
   3003 if test -n "$STRIP"; then
   3004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3005 $as_echo "$STRIP" >&6; }
   3006 else
   3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3008 $as_echo "no" >&6; }
   3009 fi
   3010 
   3011 
   3012 fi
   3013 if test -z "$ac_cv_prog_STRIP"; then
   3014   ac_ct_STRIP=$STRIP
   3015   # Extract the first word of "strip", so it can be a program name with args.
   3016 set dummy strip; ac_word=$2
   3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3018 $as_echo_n "checking for $ac_word... " >&6; }
   3019 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3020   $as_echo_n "(cached) " >&6
   3021 else
   3022   if test -n "$ac_ct_STRIP"; then
   3023   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3024 else
   3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3026 for as_dir in $PATH
   3027 do
   3028   IFS=$as_save_IFS
   3029   test -z "$as_dir" && as_dir=.
   3030     for ac_exec_ext in '' $ac_executable_extensions; do
   3031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3032     ac_cv_prog_ac_ct_STRIP="strip"
   3033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3034     break 2
   3035   fi
   3036 done
   3037   done
   3038 IFS=$as_save_IFS
   3039 
   3040 fi
   3041 fi
   3042 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3043 if test -n "$ac_ct_STRIP"; then
   3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3045 $as_echo "$ac_ct_STRIP" >&6; }
   3046 else
   3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3048 $as_echo "no" >&6; }
   3049 fi
   3050 
   3051   if test "x$ac_ct_STRIP" = x; then
   3052     STRIP=":"
   3053   else
   3054     case $cross_compiling:$ac_tool_warned in
   3055 yes:)
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3058 ac_tool_warned=yes ;;
   3059 esac
   3060     STRIP=$ac_ct_STRIP
   3061   fi
   3062 else
   3063   STRIP="$ac_cv_prog_STRIP"
   3064 fi
   3065 
   3066 fi
   3067 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3068 
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3070 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3071 if test -z "$MKDIR_P"; then
   3072   if ${ac_cv_path_mkdir+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3076 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3077 do
   3078   IFS=$as_save_IFS
   3079   test -z "$as_dir" && as_dir=.
   3080     for ac_prog in mkdir gmkdir; do
   3081 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3082 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3083 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3084 	     'mkdir (GNU coreutils) '* | \
   3085 	     'mkdir (coreutils) '* | \
   3086 	     'mkdir (fileutils) '4.1*)
   3087 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3088 	       break 3;;
   3089 	   esac
   3090 	 done
   3091        done
   3092   done
   3093 IFS=$as_save_IFS
   3094 
   3095 fi
   3096 
   3097   test -d ./--version && rmdir ./--version
   3098   if test "${ac_cv_path_mkdir+set}" = set; then
   3099     MKDIR_P="$ac_cv_path_mkdir -p"
   3100   else
   3101     # As a last resort, use the slow shell script.  Don't cache a
   3102     # value for MKDIR_P within a source directory, because that will
   3103     # break other packages using the cache if that directory is
   3104     # removed, or if the value is a relative name.
   3105     MKDIR_P="$ac_install_sh -d"
   3106   fi
   3107 fi
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3109 $as_echo "$MKDIR_P" >&6; }
   3110 
   3111 for ac_prog in gawk mawk nawk awk
   3112 do
   3113   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3114 set dummy $ac_prog; ac_word=$2
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3116 $as_echo_n "checking for $ac_word... " >&6; }
   3117 if ${ac_cv_prog_AWK+:} false; then :
   3118   $as_echo_n "(cached) " >&6
   3119 else
   3120   if test -n "$AWK"; then
   3121   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3122 else
   3123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3124 for as_dir in $PATH
   3125 do
   3126   IFS=$as_save_IFS
   3127   test -z "$as_dir" && as_dir=.
   3128     for ac_exec_ext in '' $ac_executable_extensions; do
   3129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3130     ac_cv_prog_AWK="$ac_prog"
   3131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3132     break 2
   3133   fi
   3134 done
   3135   done
   3136 IFS=$as_save_IFS
   3137 
   3138 fi
   3139 fi
   3140 AWK=$ac_cv_prog_AWK
   3141 if test -n "$AWK"; then
   3142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3143 $as_echo "$AWK" >&6; }
   3144 else
   3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3146 $as_echo "no" >&6; }
   3147 fi
   3148 
   3149 
   3150   test -n "$AWK" && break
   3151 done
   3152 
   3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3154 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3155 set x ${MAKE-make}
   3156 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3157 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3158   $as_echo_n "(cached) " >&6
   3159 else
   3160   cat >conftest.make <<\_ACEOF
   3161 SHELL = /bin/sh
   3162 all:
   3163 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3164 _ACEOF
   3165 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3166 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3167   *@@@%%%=?*=@@@%%%*)
   3168     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3169   *)
   3170     eval ac_cv_prog_make_${ac_make}_set=no;;
   3171 esac
   3172 rm -f conftest.make
   3173 fi
   3174 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3176 $as_echo "yes" >&6; }
   3177   SET_MAKE=
   3178 else
   3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3180 $as_echo "no" >&6; }
   3181   SET_MAKE="MAKE=${MAKE-make}"
   3182 fi
   3183 
   3184 rm -rf .tst 2>/dev/null
   3185 mkdir .tst 2>/dev/null
   3186 if test -d .tst; then
   3187   am__leading_dot=.
   3188 else
   3189   am__leading_dot=_
   3190 fi
   3191 rmdir .tst 2>/dev/null
   3192 
   3193 # Check whether --enable-silent-rules was given.
   3194 if test "${enable_silent_rules+set}" = set; then :
   3195   enableval=$enable_silent_rules;
   3196 fi
   3197 
   3198 case $enable_silent_rules in # (((
   3199   yes) AM_DEFAULT_VERBOSITY=0;;
   3200    no) AM_DEFAULT_VERBOSITY=1;;
   3201     *) AM_DEFAULT_VERBOSITY=1;;
   3202 esac
   3203 am_make=${MAKE-make}
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3205 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3206 if ${am_cv_make_support_nested_variables+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if $as_echo 'TRUE=$(BAR$(V))
   3210 BAR0=false
   3211 BAR1=true
   3212 V=1
   3213 am__doit:
   3214 	@$(TRUE)
   3215 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3216   am_cv_make_support_nested_variables=yes
   3217 else
   3218   am_cv_make_support_nested_variables=no
   3219 fi
   3220 fi
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3222 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3223 if test $am_cv_make_support_nested_variables = yes; then
   3224     AM_V='$(V)'
   3225   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3226 else
   3227   AM_V=$AM_DEFAULT_VERBOSITY
   3228   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3229 fi
   3230 AM_BACKSLASH='\'
   3231 
   3232 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3233   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3234   # is not polluted with repeated "-I."
   3235   am__isrc=' -I$(srcdir)'
   3236   # test to see if srcdir already configured
   3237   if test -f $srcdir/config.status; then
   3238     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3239   fi
   3240 fi
   3241 
   3242 # test whether we have cygpath
   3243 if test -z "$CYGPATH_W"; then
   3244   if (cygpath --version) >/dev/null 2>/dev/null; then
   3245     CYGPATH_W='cygpath -w'
   3246   else
   3247     CYGPATH_W=echo
   3248   fi
   3249 fi
   3250 
   3251 
   3252 # Define the identity of the package.
   3253  PACKAGE='dhcp'
   3254  VERSION='4.4.1'
   3255 
   3256 
   3257 cat >>confdefs.h <<_ACEOF
   3258 #define PACKAGE "$PACKAGE"
   3259 _ACEOF
   3260 
   3261 
   3262 cat >>confdefs.h <<_ACEOF
   3263 #define VERSION "$VERSION"
   3264 _ACEOF
   3265 
   3266 # Some tools Automake needs.
   3267 
   3268 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3269 
   3270 
   3271 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3272 
   3273 
   3274 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3275 
   3276 
   3277 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3278 
   3279 
   3280 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3281 
   3282 # For better backward compatibility.  To be removed once Automake 1.9.x
   3283 # dies out for good.  For more background, see:
   3284 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3285 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3286 mkdir_p='$(MKDIR_P)'
   3287 
   3288 # We need awk for the "check" target (and possibly the TAP driver).  The
   3289 # system "awk" is bad on some platforms.
   3290 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3291 # in the wild :-(  We should find a proper way to deprecate it ...
   3292 AMTAR='$${TAR-tar}'
   3293 
   3294 
   3295 # We'll loop over all known methods to create a tar archive until one works.
   3296 _am_tools='gnutar  pax cpio none'
   3297 
   3298 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 # POSIX will say in a future version that running "rm -f" with no argument
   3306 # is OK; and we want to be able to make that assumption in our Makefile
   3307 # recipes.  So use an aggressive probe to check that the usage we want is
   3308 # actually supported "in the wild" to an acceptable degree.
   3309 # See automake bug#10828.
   3310 # To make any issue more visible, cause the running configure to be aborted
   3311 # by default if the 'rm' program in use doesn't match our expectations; the
   3312 # user can still override this though.
   3313 if rm -f && rm -fr && rm -rf; then : OK; else
   3314   cat >&2 <<'END'
   3315 Oops!
   3316 
   3317 Your 'rm' program seems unable to run without file operands specified
   3318 on the command line, even when the '-f' option is present.  This is contrary
   3319 to the behaviour of most rm programs out there, and not conforming with
   3320 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3321 
   3322 Please tell bug-automake@gnu.org about your system, including the value
   3323 of your $PATH and any error possibly output before this message.  This
   3324 can help us improve future automake versions.
   3325 
   3326 END
   3327   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3328     echo 'Configuration will proceed anyway, since you have set the' >&2
   3329     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3330     echo >&2
   3331   else
   3332     cat >&2 <<'END'
   3333 Aborting the configuration process, to ensure you take notice of the issue.
   3334 
   3335 You can download and install GNU coreutils to get an 'rm' implementation
   3336 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3337 
   3338 If you want to complete the configuration process using your problematic
   3339 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3340 to "yes", and re-run configure.
   3341 
   3342 END
   3343     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3344   fi
   3345 fi
   3346 
   3347 
   3348 # we specify AM_MAINTAINER_MODE to avoid problems with rebuilding
   3349 # the configure and makefiles.  Without it users doing things that
   3350 # change the timestamps on the code, like checking it into a cvs
   3351 # tree, could trigger a rebuild of the infrastructure files which
   3352 # might fail if they don't have the correct tools.
   3353 
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3355 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3356     # Check whether --enable-maintainer-mode was given.
   3357 if test "${enable_maintainer_mode+set}" = set; then :
   3358   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3359 else
   3360   USE_MAINTAINER_MODE=no
   3361 fi
   3362 
   3363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3364 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3365    if test $USE_MAINTAINER_MODE = yes; then
   3366   MAINTAINER_MODE_TRUE=
   3367   MAINTAINER_MODE_FALSE='#'
   3368 else
   3369   MAINTAINER_MODE_TRUE='#'
   3370   MAINTAINER_MODE_FALSE=
   3371 fi
   3372 
   3373   MAINT=$MAINTAINER_MODE_TRUE
   3374 
   3375 
   3376 
   3377 # Make sure we can run config.sub.
   3378 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3379   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3380 
   3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3382 $as_echo_n "checking build system type... " >&6; }
   3383 if ${ac_cv_build+:} false; then :
   3384   $as_echo_n "(cached) " >&6
   3385 else
   3386   ac_build_alias=$build_alias
   3387 test "x$ac_build_alias" = x &&
   3388   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3389 test "x$ac_build_alias" = x &&
   3390   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3391 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3392   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3393 
   3394 fi
   3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3396 $as_echo "$ac_cv_build" >&6; }
   3397 case $ac_cv_build in
   3398 *-*-*) ;;
   3399 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3400 esac
   3401 build=$ac_cv_build
   3402 ac_save_IFS=$IFS; IFS='-'
   3403 set x $ac_cv_build
   3404 shift
   3405 build_cpu=$1
   3406 build_vendor=$2
   3407 shift; shift
   3408 # Remember, the first character of IFS is used to create $*,
   3409 # except with old shells:
   3410 build_os=$*
   3411 IFS=$ac_save_IFS
   3412 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3413 
   3414 
   3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3416 $as_echo_n "checking host system type... " >&6; }
   3417 if ${ac_cv_host+:} false; then :
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   if test "x$host_alias" = x; then
   3421   ac_cv_host=$ac_cv_build
   3422 else
   3423   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3424     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3425 fi
   3426 
   3427 fi
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3429 $as_echo "$ac_cv_host" >&6; }
   3430 case $ac_cv_host in
   3431 *-*-*) ;;
   3432 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3433 esac
   3434 host=$ac_cv_host
   3435 ac_save_IFS=$IFS; IFS='-'
   3436 set x $ac_cv_host
   3437 shift
   3438 host_cpu=$1
   3439 host_vendor=$2
   3440 shift; shift
   3441 # Remember, the first character of IFS is used to create $*,
   3442 # except with old shells:
   3443 host_os=$*
   3444 IFS=$ac_save_IFS
   3445 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3446 
   3447 
   3448 
   3449 # We want to turn on warnings if we are using gcc and the user did
   3450 # not specify CFLAGS. The autoconf check for the C compiler sets the
   3451 # CFLAGS if gcc is used, so we will save it before we run that check.
   3452 SAVE_CFLAGS="$CFLAGS"
   3453 
   3454 # Now find our C compiler.
   3455 ac_ext=c
   3456 ac_cpp='$CPP $CPPFLAGS'
   3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3460 if test -n "$ac_tool_prefix"; then
   3461   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3462 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3464 $as_echo_n "checking for $ac_word... " >&6; }
   3465 if ${ac_cv_prog_CC+:} false; then :
   3466   $as_echo_n "(cached) " >&6
   3467 else
   3468   if test -n "$CC"; then
   3469   ac_cv_prog_CC="$CC" # Let the user override the test.
   3470 else
   3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3472 for as_dir in $PATH
   3473 do
   3474   IFS=$as_save_IFS
   3475   test -z "$as_dir" && as_dir=.
   3476     for ac_exec_ext in '' $ac_executable_extensions; do
   3477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3478     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3480     break 2
   3481   fi
   3482 done
   3483   done
   3484 IFS=$as_save_IFS
   3485 
   3486 fi
   3487 fi
   3488 CC=$ac_cv_prog_CC
   3489 if test -n "$CC"; then
   3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3491 $as_echo "$CC" >&6; }
   3492 else
   3493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3494 $as_echo "no" >&6; }
   3495 fi
   3496 
   3497 
   3498 fi
   3499 if test -z "$ac_cv_prog_CC"; then
   3500   ac_ct_CC=$CC
   3501   # Extract the first word of "gcc", so it can be a program name with args.
   3502 set dummy gcc; ac_word=$2
   3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3504 $as_echo_n "checking for $ac_word... " >&6; }
   3505 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3506   $as_echo_n "(cached) " >&6
   3507 else
   3508   if test -n "$ac_ct_CC"; then
   3509   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3510 else
   3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3512 for as_dir in $PATH
   3513 do
   3514   IFS=$as_save_IFS
   3515   test -z "$as_dir" && as_dir=.
   3516     for ac_exec_ext in '' $ac_executable_extensions; do
   3517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3518     ac_cv_prog_ac_ct_CC="gcc"
   3519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3520     break 2
   3521   fi
   3522 done
   3523   done
   3524 IFS=$as_save_IFS
   3525 
   3526 fi
   3527 fi
   3528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3529 if test -n "$ac_ct_CC"; then
   3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3531 $as_echo "$ac_ct_CC" >&6; }
   3532 else
   3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3534 $as_echo "no" >&6; }
   3535 fi
   3536 
   3537   if test "x$ac_ct_CC" = x; then
   3538     CC=""
   3539   else
   3540     case $cross_compiling:$ac_tool_warned in
   3541 yes:)
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3544 ac_tool_warned=yes ;;
   3545 esac
   3546     CC=$ac_ct_CC
   3547   fi
   3548 else
   3549   CC="$ac_cv_prog_CC"
   3550 fi
   3551 
   3552 if test -z "$CC"; then
   3553           if test -n "$ac_tool_prefix"; then
   3554     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3555 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3557 $as_echo_n "checking for $ac_word... " >&6; }
   3558 if ${ac_cv_prog_CC+:} false; then :
   3559   $as_echo_n "(cached) " >&6
   3560 else
   3561   if test -n "$CC"; then
   3562   ac_cv_prog_CC="$CC" # Let the user override the test.
   3563 else
   3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3565 for as_dir in $PATH
   3566 do
   3567   IFS=$as_save_IFS
   3568   test -z "$as_dir" && as_dir=.
   3569     for ac_exec_ext in '' $ac_executable_extensions; do
   3570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3571     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3573     break 2
   3574   fi
   3575 done
   3576   done
   3577 IFS=$as_save_IFS
   3578 
   3579 fi
   3580 fi
   3581 CC=$ac_cv_prog_CC
   3582 if test -n "$CC"; then
   3583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3584 $as_echo "$CC" >&6; }
   3585 else
   3586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3587 $as_echo "no" >&6; }
   3588 fi
   3589 
   3590 
   3591   fi
   3592 fi
   3593 if test -z "$CC"; then
   3594   # Extract the first word of "cc", so it can be a program name with args.
   3595 set dummy cc; ac_word=$2
   3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3597 $as_echo_n "checking for $ac_word... " >&6; }
   3598 if ${ac_cv_prog_CC+:} false; then :
   3599   $as_echo_n "(cached) " >&6
   3600 else
   3601   if test -n "$CC"; then
   3602   ac_cv_prog_CC="$CC" # Let the user override the test.
   3603 else
   3604   ac_prog_rejected=no
   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     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3613        ac_prog_rejected=yes
   3614        continue
   3615      fi
   3616     ac_cv_prog_CC="cc"
   3617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3618     break 2
   3619   fi
   3620 done
   3621   done
   3622 IFS=$as_save_IFS
   3623 
   3624 if test $ac_prog_rejected = yes; then
   3625   # We found a bogon in the path, so make sure we never use it.
   3626   set dummy $ac_cv_prog_CC
   3627   shift
   3628   if test $# != 0; then
   3629     # We chose a different compiler from the bogus one.
   3630     # However, it has the same basename, so the bogon will be chosen
   3631     # first if we set CC to just the basename; use the full file name.
   3632     shift
   3633     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3634   fi
   3635 fi
   3636 fi
   3637 fi
   3638 CC=$ac_cv_prog_CC
   3639 if test -n "$CC"; then
   3640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3641 $as_echo "$CC" >&6; }
   3642 else
   3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3644 $as_echo "no" >&6; }
   3645 fi
   3646 
   3647 
   3648 fi
   3649 if test -z "$CC"; then
   3650   if test -n "$ac_tool_prefix"; then
   3651   for ac_prog in cl.exe
   3652   do
   3653     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3654 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3656 $as_echo_n "checking for $ac_word... " >&6; }
   3657 if ${ac_cv_prog_CC+:} false; then :
   3658   $as_echo_n "(cached) " >&6
   3659 else
   3660   if test -n "$CC"; then
   3661   ac_cv_prog_CC="$CC" # Let the user override the test.
   3662 else
   3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3664 for as_dir in $PATH
   3665 do
   3666   IFS=$as_save_IFS
   3667   test -z "$as_dir" && as_dir=.
   3668     for ac_exec_ext in '' $ac_executable_extensions; do
   3669   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3670     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3672     break 2
   3673   fi
   3674 done
   3675   done
   3676 IFS=$as_save_IFS
   3677 
   3678 fi
   3679 fi
   3680 CC=$ac_cv_prog_CC
   3681 if test -n "$CC"; then
   3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3683 $as_echo "$CC" >&6; }
   3684 else
   3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3686 $as_echo "no" >&6; }
   3687 fi
   3688 
   3689 
   3690     test -n "$CC" && break
   3691   done
   3692 fi
   3693 if test -z "$CC"; then
   3694   ac_ct_CC=$CC
   3695   for ac_prog in cl.exe
   3696 do
   3697   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3698 set dummy $ac_prog; ac_word=$2
   3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3700 $as_echo_n "checking for $ac_word... " >&6; }
   3701 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3702   $as_echo_n "(cached) " >&6
   3703 else
   3704   if test -n "$ac_ct_CC"; then
   3705   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3706 else
   3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3708 for as_dir in $PATH
   3709 do
   3710   IFS=$as_save_IFS
   3711   test -z "$as_dir" && as_dir=.
   3712     for ac_exec_ext in '' $ac_executable_extensions; do
   3713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3714     ac_cv_prog_ac_ct_CC="$ac_prog"
   3715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3716     break 2
   3717   fi
   3718 done
   3719   done
   3720 IFS=$as_save_IFS
   3721 
   3722 fi
   3723 fi
   3724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3725 if test -n "$ac_ct_CC"; then
   3726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3727 $as_echo "$ac_ct_CC" >&6; }
   3728 else
   3729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3730 $as_echo "no" >&6; }
   3731 fi
   3732 
   3733 
   3734   test -n "$ac_ct_CC" && break
   3735 done
   3736 
   3737   if test "x$ac_ct_CC" = x; then
   3738     CC=""
   3739   else
   3740     case $cross_compiling:$ac_tool_warned in
   3741 yes:)
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3744 ac_tool_warned=yes ;;
   3745 esac
   3746     CC=$ac_ct_CC
   3747   fi
   3748 fi
   3749 
   3750 fi
   3751 
   3752 
   3753 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3755 as_fn_error $? "no acceptable C compiler found in \$PATH
   3756 See \`config.log' for more details" "$LINENO" 5; }
   3757 
   3758 # Provide some information about the compiler.
   3759 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3760 set X $ac_compile
   3761 ac_compiler=$2
   3762 for ac_option in --version -v -V -qversion; do
   3763   { { ac_try="$ac_compiler $ac_option >&5"
   3764 case "(($ac_try" in
   3765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3766   *) ac_try_echo=$ac_try;;
   3767 esac
   3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3769 $as_echo "$ac_try_echo"; } >&5
   3770   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3771   ac_status=$?
   3772   if test -s conftest.err; then
   3773     sed '10a\
   3774 ... rest of stderr output deleted ...
   3775          10q' conftest.err >conftest.er1
   3776     cat conftest.er1 >&5
   3777   fi
   3778   rm -f conftest.er1 conftest.err
   3779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3780   test $ac_status = 0; }
   3781 done
   3782 
   3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3784 /* end confdefs.h.  */
   3785 
   3786 int
   3787 main ()
   3788 {
   3789 
   3790   ;
   3791   return 0;
   3792 }
   3793 _ACEOF
   3794 ac_clean_files_save=$ac_clean_files
   3795 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3796 # Try to create an executable without -o first, disregard a.out.
   3797 # It will help us diagnose broken compilers, and finding out an intuition
   3798 # of exeext.
   3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3800 $as_echo_n "checking whether the C compiler works... " >&6; }
   3801 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3802 
   3803 # The possible output files:
   3804 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3805 
   3806 ac_rmfiles=
   3807 for ac_file in $ac_files
   3808 do
   3809   case $ac_file in
   3810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3811     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3812   esac
   3813 done
   3814 rm -f $ac_rmfiles
   3815 
   3816 if { { ac_try="$ac_link_default"
   3817 case "(($ac_try" in
   3818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3819   *) ac_try_echo=$ac_try;;
   3820 esac
   3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3822 $as_echo "$ac_try_echo"; } >&5
   3823   (eval "$ac_link_default") 2>&5
   3824   ac_status=$?
   3825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3826   test $ac_status = 0; }; then :
   3827   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3828 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3829 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3830 # so that the user can short-circuit this test for compilers unknown to
   3831 # Autoconf.
   3832 for ac_file in $ac_files ''
   3833 do
   3834   test -f "$ac_file" || continue
   3835   case $ac_file in
   3836     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3837 	;;
   3838     [ab].out )
   3839 	# We found the default executable, but exeext='' is most
   3840 	# certainly right.
   3841 	break;;
   3842     *.* )
   3843 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3844 	then :; else
   3845 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3846 	fi
   3847 	# We set ac_cv_exeext here because the later test for it is not
   3848 	# safe: cross compilers may not add the suffix if given an `-o'
   3849 	# argument, so we may need to know it at that point already.
   3850 	# Even if this section looks crufty: it has the advantage of
   3851 	# actually working.
   3852 	break;;
   3853     * )
   3854 	break;;
   3855   esac
   3856 done
   3857 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3858 
   3859 else
   3860   ac_file=''
   3861 fi
   3862 if test -z "$ac_file"; then :
   3863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3864 $as_echo "no" >&6; }
   3865 $as_echo "$as_me: failed program was:" >&5
   3866 sed 's/^/| /' conftest.$ac_ext >&5
   3867 
   3868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3870 as_fn_error 77 "C compiler cannot create executables
   3871 See \`config.log' for more details" "$LINENO" 5; }
   3872 else
   3873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3874 $as_echo "yes" >&6; }
   3875 fi
   3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3877 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3879 $as_echo "$ac_file" >&6; }
   3880 ac_exeext=$ac_cv_exeext
   3881 
   3882 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3883 ac_clean_files=$ac_clean_files_save
   3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3885 $as_echo_n "checking for suffix of executables... " >&6; }
   3886 if { { ac_try="$ac_link"
   3887 case "(($ac_try" in
   3888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3889   *) ac_try_echo=$ac_try;;
   3890 esac
   3891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3892 $as_echo "$ac_try_echo"; } >&5
   3893   (eval "$ac_link") 2>&5
   3894   ac_status=$?
   3895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3896   test $ac_status = 0; }; then :
   3897   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3898 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3899 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3900 # `rm'.
   3901 for ac_file in conftest.exe conftest conftest.*; do
   3902   test -f "$ac_file" || continue
   3903   case $ac_file in
   3904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3905     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3906 	  break;;
   3907     * ) break;;
   3908   esac
   3909 done
   3910 else
   3911   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3913 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3914 See \`config.log' for more details" "$LINENO" 5; }
   3915 fi
   3916 rm -f conftest conftest$ac_cv_exeext
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3918 $as_echo "$ac_cv_exeext" >&6; }
   3919 
   3920 rm -f conftest.$ac_ext
   3921 EXEEXT=$ac_cv_exeext
   3922 ac_exeext=$EXEEXT
   3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3924 /* end confdefs.h.  */
   3925 #include <stdio.h>
   3926 int
   3927 main ()
   3928 {
   3929 FILE *f = fopen ("conftest.out", "w");
   3930  return ferror (f) || fclose (f) != 0;
   3931 
   3932   ;
   3933   return 0;
   3934 }
   3935 _ACEOF
   3936 ac_clean_files="$ac_clean_files conftest.out"
   3937 # Check that the compiler produces executables we can run.  If not, either
   3938 # the compiler is broken, or we cross compile.
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3940 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3941 if test "$cross_compiling" != yes; then
   3942   { { ac_try="$ac_link"
   3943 case "(($ac_try" in
   3944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3945   *) ac_try_echo=$ac_try;;
   3946 esac
   3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3948 $as_echo "$ac_try_echo"; } >&5
   3949   (eval "$ac_link") 2>&5
   3950   ac_status=$?
   3951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3952   test $ac_status = 0; }
   3953   if { ac_try='./conftest$ac_cv_exeext'
   3954   { { case "(($ac_try" in
   3955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3956   *) ac_try_echo=$ac_try;;
   3957 esac
   3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3959 $as_echo "$ac_try_echo"; } >&5
   3960   (eval "$ac_try") 2>&5
   3961   ac_status=$?
   3962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3963   test $ac_status = 0; }; }; then
   3964     cross_compiling=no
   3965   else
   3966     if test "$cross_compiling" = maybe; then
   3967 	cross_compiling=yes
   3968     else
   3969 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3971 as_fn_error $? "cannot run C compiled programs.
   3972 If you meant to cross compile, use \`--host'.
   3973 See \`config.log' for more details" "$LINENO" 5; }
   3974     fi
   3975   fi
   3976 fi
   3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3978 $as_echo "$cross_compiling" >&6; }
   3979 
   3980 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3981 ac_clean_files=$ac_clean_files_save
   3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3983 $as_echo_n "checking for suffix of object files... " >&6; }
   3984 if ${ac_cv_objext+:} false; then :
   3985   $as_echo_n "(cached) " >&6
   3986 else
   3987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3988 /* end confdefs.h.  */
   3989 
   3990 int
   3991 main ()
   3992 {
   3993 
   3994   ;
   3995   return 0;
   3996 }
   3997 _ACEOF
   3998 rm -f conftest.o conftest.obj
   3999 if { { ac_try="$ac_compile"
   4000 case "(($ac_try" in
   4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4002   *) ac_try_echo=$ac_try;;
   4003 esac
   4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4005 $as_echo "$ac_try_echo"; } >&5
   4006   (eval "$ac_compile") 2>&5
   4007   ac_status=$?
   4008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4009   test $ac_status = 0; }; then :
   4010   for ac_file in conftest.o conftest.obj conftest.*; do
   4011   test -f "$ac_file" || continue;
   4012   case $ac_file in
   4013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4014     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4015        break;;
   4016   esac
   4017 done
   4018 else
   4019   $as_echo "$as_me: failed program was:" >&5
   4020 sed 's/^/| /' conftest.$ac_ext >&5
   4021 
   4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4024 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4025 See \`config.log' for more details" "$LINENO" 5; }
   4026 fi
   4027 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4028 fi
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4030 $as_echo "$ac_cv_objext" >&6; }
   4031 OBJEXT=$ac_cv_objext
   4032 ac_objext=$OBJEXT
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4034 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4035 if ${ac_cv_c_compiler_gnu+:} false; then :
   4036   $as_echo_n "(cached) " >&6
   4037 else
   4038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4039 /* end confdefs.h.  */
   4040 
   4041 int
   4042 main ()
   4043 {
   4044 #ifndef __GNUC__
   4045        choke me
   4046 #endif
   4047 
   4048   ;
   4049   return 0;
   4050 }
   4051 _ACEOF
   4052 if ac_fn_c_try_compile "$LINENO"; then :
   4053   ac_compiler_gnu=yes
   4054 else
   4055   ac_compiler_gnu=no
   4056 fi
   4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4059 
   4060 fi
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4062 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4063 if test $ac_compiler_gnu = yes; then
   4064   GCC=yes
   4065 else
   4066   GCC=
   4067 fi
   4068 ac_test_CFLAGS=${CFLAGS+set}
   4069 ac_save_CFLAGS=$CFLAGS
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4071 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4072 if ${ac_cv_prog_cc_g+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075   ac_save_c_werror_flag=$ac_c_werror_flag
   4076    ac_c_werror_flag=yes
   4077    ac_cv_prog_cc_g=no
   4078    CFLAGS="-g"
   4079    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4080 /* end confdefs.h.  */
   4081 
   4082 int
   4083 main ()
   4084 {
   4085 
   4086   ;
   4087   return 0;
   4088 }
   4089 _ACEOF
   4090 if ac_fn_c_try_compile "$LINENO"; then :
   4091   ac_cv_prog_cc_g=yes
   4092 else
   4093   CFLAGS=""
   4094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4095 /* end confdefs.h.  */
   4096 
   4097 int
   4098 main ()
   4099 {
   4100 
   4101   ;
   4102   return 0;
   4103 }
   4104 _ACEOF
   4105 if ac_fn_c_try_compile "$LINENO"; then :
   4106 
   4107 else
   4108   ac_c_werror_flag=$ac_save_c_werror_flag
   4109 	 CFLAGS="-g"
   4110 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4111 /* end confdefs.h.  */
   4112 
   4113 int
   4114 main ()
   4115 {
   4116 
   4117   ;
   4118   return 0;
   4119 }
   4120 _ACEOF
   4121 if ac_fn_c_try_compile "$LINENO"; then :
   4122   ac_cv_prog_cc_g=yes
   4123 fi
   4124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4125 fi
   4126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4127 fi
   4128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4129    ac_c_werror_flag=$ac_save_c_werror_flag
   4130 fi
   4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4132 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4133 if test "$ac_test_CFLAGS" = set; then
   4134   CFLAGS=$ac_save_CFLAGS
   4135 elif test $ac_cv_prog_cc_g = yes; then
   4136   if test "$GCC" = yes; then
   4137     CFLAGS="-g -O2"
   4138   else
   4139     CFLAGS="-g"
   4140   fi
   4141 else
   4142   if test "$GCC" = yes; then
   4143     CFLAGS="-O2"
   4144   else
   4145     CFLAGS=
   4146   fi
   4147 fi
   4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4149 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4150 if ${ac_cv_prog_cc_c89+:} false; then :
   4151   $as_echo_n "(cached) " >&6
   4152 else
   4153   ac_cv_prog_cc_c89=no
   4154 ac_save_CC=$CC
   4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4156 /* end confdefs.h.  */
   4157 #include <stdarg.h>
   4158 #include <stdio.h>
   4159 struct stat;
   4160 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4161 struct buf { int x; };
   4162 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4163 static char *e (p, i)
   4164      char **p;
   4165      int i;
   4166 {
   4167   return p[i];
   4168 }
   4169 static char *f (char * (*g) (char **, int), char **p, ...)
   4170 {
   4171   char *s;
   4172   va_list v;
   4173   va_start (v,p);
   4174   s = g (p, va_arg (v,int));
   4175   va_end (v);
   4176   return s;
   4177 }
   4178 
   4179 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4180    function prototypes and stuff, but not '\xHH' hex character constants.
   4181    These don't provoke an error unfortunately, instead are silently treated
   4182    as 'x'.  The following induces an error, until -std is added to get
   4183    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4184    array size at least.  It's necessary to write '\x00'==0 to get something
   4185    that's true only with -std.  */
   4186 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4187 
   4188 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4189    inside strings and character constants.  */
   4190 #define FOO(x) 'x'
   4191 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4192 
   4193 int test (int i, double x);
   4194 struct s1 {int (*f) (int a);};
   4195 struct s2 {int (*f) (double a);};
   4196 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4197 int argc;
   4198 char **argv;
   4199 int
   4200 main ()
   4201 {
   4202 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4203   ;
   4204   return 0;
   4205 }
   4206 _ACEOF
   4207 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4208 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4209 do
   4210   CC="$ac_save_CC $ac_arg"
   4211   if ac_fn_c_try_compile "$LINENO"; then :
   4212   ac_cv_prog_cc_c89=$ac_arg
   4213 fi
   4214 rm -f core conftest.err conftest.$ac_objext
   4215   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4216 done
   4217 rm -f conftest.$ac_ext
   4218 CC=$ac_save_CC
   4219 
   4220 fi
   4221 # AC_CACHE_VAL
   4222 case "x$ac_cv_prog_cc_c89" in
   4223   x)
   4224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4225 $as_echo "none needed" >&6; } ;;
   4226   xno)
   4227     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4228 $as_echo "unsupported" >&6; } ;;
   4229   *)
   4230     CC="$CC $ac_cv_prog_cc_c89"
   4231     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4232 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4233 esac
   4234 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4235 
   4236 fi
   4237 
   4238 ac_ext=c
   4239 ac_cpp='$CPP $CPPFLAGS'
   4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4243 
   4244 ac_ext=c
   4245 ac_cpp='$CPP $CPPFLAGS'
   4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4250 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4251 if ${am_cv_prog_cc_c_o+:} false; then :
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4255 /* end confdefs.h.  */
   4256 
   4257 int
   4258 main ()
   4259 {
   4260 
   4261   ;
   4262   return 0;
   4263 }
   4264 _ACEOF
   4265   # Make sure it works both with $CC and with simple cc.
   4266   # Following AC_PROG_CC_C_O, we do the test twice because some
   4267   # compilers refuse to overwrite an existing .o file with -o,
   4268   # though they will create one.
   4269   am_cv_prog_cc_c_o=yes
   4270   for am_i in 1 2; do
   4271     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4272    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4273    ac_status=$?
   4274    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4275    (exit $ac_status); } \
   4276          && test -f conftest2.$ac_objext; then
   4277       : OK
   4278     else
   4279       am_cv_prog_cc_c_o=no
   4280       break
   4281     fi
   4282   done
   4283   rm -f core conftest*
   4284   unset am_i
   4285 fi
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4287 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4288 if test "$am_cv_prog_cc_c_o" != yes; then
   4289    # Losing compiler, so override with the script.
   4290    # FIXME: It is wrong to rewrite CC.
   4291    # But if we don't then we get into trouble of one sort or another.
   4292    # A longer-term fix would be to have automake use am__CC in this case,
   4293    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4294    CC="$am_aux_dir/compile $CC"
   4295 fi
   4296 ac_ext=c
   4297 ac_cpp='$CPP $CPPFLAGS'
   4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4301 
   4302 DEPDIR="${am__leading_dot}deps"
   4303 
   4304 ac_config_commands="$ac_config_commands depfiles"
   4305 
   4306 
   4307 am_make=${MAKE-make}
   4308 cat > confinc << 'END'
   4309 am__doit:
   4310 	@echo this is the am__doit target
   4311 .PHONY: am__doit
   4312 END
   4313 # If we don't find an include directive, just comment out the code.
   4314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4315 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4316 am__include="#"
   4317 am__quote=
   4318 _am_result=none
   4319 # First try GNU make style include.
   4320 echo "include confinc" > confmf
   4321 # Ignore all kinds of additional output from 'make'.
   4322 case `$am_make -s -f confmf 2> /dev/null` in #(
   4323 *the\ am__doit\ target*)
   4324   am__include=include
   4325   am__quote=
   4326   _am_result=GNU
   4327   ;;
   4328 esac
   4329 # Now try BSD make style include.
   4330 if test "$am__include" = "#"; then
   4331    echo '.include "confinc"' > confmf
   4332    case `$am_make -s -f confmf 2> /dev/null` in #(
   4333    *the\ am__doit\ target*)
   4334      am__include=.include
   4335      am__quote="\""
   4336      _am_result=BSD
   4337      ;;
   4338    esac
   4339 fi
   4340 
   4341 
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4343 $as_echo "$_am_result" >&6; }
   4344 rm -f confinc confmf
   4345 
   4346 # Check whether --enable-dependency-tracking was given.
   4347 if test "${enable_dependency_tracking+set}" = set; then :
   4348   enableval=$enable_dependency_tracking;
   4349 fi
   4350 
   4351 if test "x$enable_dependency_tracking" != xno; then
   4352   am_depcomp="$ac_aux_dir/depcomp"
   4353   AMDEPBACKSLASH='\'
   4354   am__nodep='_no'
   4355 fi
   4356  if test "x$enable_dependency_tracking" != xno; then
   4357   AMDEP_TRUE=
   4358   AMDEP_FALSE='#'
   4359 else
   4360   AMDEP_TRUE='#'
   4361   AMDEP_FALSE=
   4362 fi
   4363 
   4364 
   4365 
   4366 depcc="$CC"   am_compiler_list=
   4367 
   4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4369 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4370 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4371   $as_echo_n "(cached) " >&6
   4372 else
   4373   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4374   # We make a subdir and do the tests there.  Otherwise we can end up
   4375   # making bogus files that we don't know about and never remove.  For
   4376   # instance it was reported that on HP-UX the gcc test will end up
   4377   # making a dummy file named 'D' -- because '-MD' means "put the output
   4378   # in D".
   4379   rm -rf conftest.dir
   4380   mkdir conftest.dir
   4381   # Copy depcomp to subdir because otherwise we won't find it if we're
   4382   # using a relative directory.
   4383   cp "$am_depcomp" conftest.dir
   4384   cd conftest.dir
   4385   # We will build objects and dependencies in a subdirectory because
   4386   # it helps to detect inapplicable dependency modes.  For instance
   4387   # both Tru64's cc and ICC support -MD to output dependencies as a
   4388   # side effect of compilation, but ICC will put the dependencies in
   4389   # the current directory while Tru64 will put them in the object
   4390   # directory.
   4391   mkdir sub
   4392 
   4393   am_cv_CC_dependencies_compiler_type=none
   4394   if test "$am_compiler_list" = ""; then
   4395      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4396   fi
   4397   am__universal=false
   4398   case " $depcc " in #(
   4399      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4400      esac
   4401 
   4402   for depmode in $am_compiler_list; do
   4403     # Setup a source with many dependencies, because some compilers
   4404     # like to wrap large dependency lists on column 80 (with \), and
   4405     # we should not choose a depcomp mode which is confused by this.
   4406     #
   4407     # We need to recreate these files for each test, as the compiler may
   4408     # overwrite some of them when testing with obscure command lines.
   4409     # This happens at least with the AIX C compiler.
   4410     : > sub/conftest.c
   4411     for i in 1 2 3 4 5 6; do
   4412       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4413       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4414       # Solaris 10 /bin/sh.
   4415       echo '/* dummy */' > sub/conftst$i.h
   4416     done
   4417     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4418 
   4419     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4420     # mode.  It turns out that the SunPro C++ compiler does not properly
   4421     # handle '-M -o', and we need to detect this.  Also, some Intel
   4422     # versions had trouble with output in subdirs.
   4423     am__obj=sub/conftest.${OBJEXT-o}
   4424     am__minus_obj="-o $am__obj"
   4425     case $depmode in
   4426     gcc)
   4427       # This depmode causes a compiler race in universal mode.
   4428       test "$am__universal" = false || continue
   4429       ;;
   4430     nosideeffect)
   4431       # After this tag, mechanisms are not by side-effect, so they'll
   4432       # only be used when explicitly requested.
   4433       if test "x$enable_dependency_tracking" = xyes; then
   4434 	continue
   4435       else
   4436 	break
   4437       fi
   4438       ;;
   4439     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4440       # This compiler won't grok '-c -o', but also, the minuso test has
   4441       # not run yet.  These depmodes are late enough in the game, and
   4442       # so weak that their functioning should not be impacted.
   4443       am__obj=conftest.${OBJEXT-o}
   4444       am__minus_obj=
   4445       ;;
   4446     none) break ;;
   4447     esac
   4448     if depmode=$depmode \
   4449        source=sub/conftest.c object=$am__obj \
   4450        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4451        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4452          >/dev/null 2>conftest.err &&
   4453        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4454        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4455        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4456        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4457       # icc doesn't choke on unknown options, it will just issue warnings
   4458       # or remarks (even with -Werror).  So we grep stderr for any message
   4459       # that says an option was ignored or not supported.
   4460       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4461       #   icc: Command line warning: ignoring option '-M'; no argument required
   4462       # The diagnosis changed in icc 8.0:
   4463       #   icc: Command line remark: option '-MP' not supported
   4464       if (grep 'ignoring option' conftest.err ||
   4465           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4466         am_cv_CC_dependencies_compiler_type=$depmode
   4467         break
   4468       fi
   4469     fi
   4470   done
   4471 
   4472   cd ..
   4473   rm -rf conftest.dir
   4474 else
   4475   am_cv_CC_dependencies_compiler_type=none
   4476 fi
   4477 
   4478 fi
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4480 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4481 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4482 
   4483  if
   4484   test "x$enable_dependency_tracking" != xno \
   4485   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4486   am__fastdepCC_TRUE=
   4487   am__fastdepCC_FALSE='#'
   4488 else
   4489   am__fastdepCC_TRUE='#'
   4490   am__fastdepCC_FALSE=
   4491 fi
   4492 
   4493 
   4494 
   4495 # Suppress warnings about --datarootdir
   4496 
   4497 
   4498 # If we have gcc, and AC_PROG_CC changed the flags, then we know the
   4499 # user did not specify any flags. Add warnings in this case.
   4500 if test "$GCC" = "yes"; then
   4501 	if test "$CFLAGS" != "$SAVE_CFLAGS"; then
   4502 		STD_CWARNINGS="$STD_CWARNINGS -Wall -Werror -fno-strict-aliasing"
   4503 	fi
   4504 fi
   4505 
   4506 # We can have some flags to pass to bind configure
   4507 BINDCONFIG=
   4508 if test "$cross_compiling" = "yes"; then
   4509 	BINDCONFIG="--host=$host"
   4510 fi
   4511 # Pass CFLAGS and co. $ac_configure_args looks like "'arg1' 'arg2' ..."
   4512 # and as there can be a space inside an argument some magic is required.
   4513 # This sets $1 ... $N to my_configure_args, arg1 ... argN
   4514 eval "set my_configure_args $ac_configure_args"
   4515 # remove my_configure_args, i.e., the guard against empty $ac_configure_args
   4516 shift
   4517 # iterate on arguments and copying 'arg' when it begins by an upper case
   4518 for a
   4519 do
   4520 	case $a in
   4521 		[A-Z]*) BINDCONFIG="$BINDCONFIG '$a'" ;;
   4522 	esac
   4523 done
   4524 
   4525 
   4526 # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
   4527 # parts of the IPv6 Advanced Socket API as a result.  This is stupid
   4528 # as it breaks how the two halves (Basic and Advanced) of the IPv6
   4529 # Socket API were designed to be used but we have to live with it.
   4530 # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
   4531 
   4532 ac_ext=c
   4533 ac_cpp='$CPP $CPPFLAGS'
   4534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4538 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4539 # On Suns, sometimes $CPP names a directory.
   4540 if test -n "$CPP" && test -d "$CPP"; then
   4541   CPP=
   4542 fi
   4543 if test -z "$CPP"; then
   4544   if ${ac_cv_prog_CPP+:} false; then :
   4545   $as_echo_n "(cached) " >&6
   4546 else
   4547       # Double quotes because CPP needs to be expanded
   4548     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4549     do
   4550       ac_preproc_ok=false
   4551 for ac_c_preproc_warn_flag in '' yes
   4552 do
   4553   # Use a header file that comes with gcc, so configuring glibc
   4554   # with a fresh cross-compiler works.
   4555   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4556   # <limits.h> exists even on freestanding compilers.
   4557   # On the NeXT, cc -E runs the code through the compiler's parser,
   4558   # not just through cpp. "Syntax error" is here to catch this case.
   4559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4560 /* end confdefs.h.  */
   4561 #ifdef __STDC__
   4562 # include <limits.h>
   4563 #else
   4564 # include <assert.h>
   4565 #endif
   4566 		     Syntax error
   4567 _ACEOF
   4568 if ac_fn_c_try_cpp "$LINENO"; then :
   4569 
   4570 else
   4571   # Broken: fails on valid input.
   4572 continue
   4573 fi
   4574 rm -f conftest.err conftest.i conftest.$ac_ext
   4575 
   4576   # OK, works on sane cases.  Now check whether nonexistent headers
   4577   # can be detected and how.
   4578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4579 /* end confdefs.h.  */
   4580 #include <ac_nonexistent.h>
   4581 _ACEOF
   4582 if ac_fn_c_try_cpp "$LINENO"; then :
   4583   # Broken: success on invalid input.
   4584 continue
   4585 else
   4586   # Passes both tests.
   4587 ac_preproc_ok=:
   4588 break
   4589 fi
   4590 rm -f conftest.err conftest.i conftest.$ac_ext
   4591 
   4592 done
   4593 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4594 rm -f conftest.i conftest.err conftest.$ac_ext
   4595 if $ac_preproc_ok; then :
   4596   break
   4597 fi
   4598 
   4599     done
   4600     ac_cv_prog_CPP=$CPP
   4601 
   4602 fi
   4603   CPP=$ac_cv_prog_CPP
   4604 else
   4605   ac_cv_prog_CPP=$CPP
   4606 fi
   4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4608 $as_echo "$CPP" >&6; }
   4609 ac_preproc_ok=false
   4610 for ac_c_preproc_warn_flag in '' yes
   4611 do
   4612   # Use a header file that comes with gcc, so configuring glibc
   4613   # with a fresh cross-compiler works.
   4614   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4615   # <limits.h> exists even on freestanding compilers.
   4616   # On the NeXT, cc -E runs the code through the compiler's parser,
   4617   # not just through cpp. "Syntax error" is here to catch this case.
   4618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4619 /* end confdefs.h.  */
   4620 #ifdef __STDC__
   4621 # include <limits.h>
   4622 #else
   4623 # include <assert.h>
   4624 #endif
   4625 		     Syntax error
   4626 _ACEOF
   4627 if ac_fn_c_try_cpp "$LINENO"; then :
   4628 
   4629 else
   4630   # Broken: fails on valid input.
   4631 continue
   4632 fi
   4633 rm -f conftest.err conftest.i conftest.$ac_ext
   4634 
   4635   # OK, works on sane cases.  Now check whether nonexistent headers
   4636   # can be detected and how.
   4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 #include <ac_nonexistent.h>
   4640 _ACEOF
   4641 if ac_fn_c_try_cpp "$LINENO"; then :
   4642   # Broken: success on invalid input.
   4643 continue
   4644 else
   4645   # Passes both tests.
   4646 ac_preproc_ok=:
   4647 break
   4648 fi
   4649 rm -f conftest.err conftest.i conftest.$ac_ext
   4650 
   4651 done
   4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4653 rm -f conftest.i conftest.err conftest.$ac_ext
   4654 if $ac_preproc_ok; then :
   4655 
   4656 else
   4657   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4659 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4660 See \`config.log' for more details" "$LINENO" 5; }
   4661 fi
   4662 
   4663 ac_ext=c
   4664 ac_cpp='$CPP $CPPFLAGS'
   4665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4668 
   4669 
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4671 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4672 if ${ac_cv_path_GREP+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675   if test -z "$GREP"; then
   4676   ac_path_GREP_found=false
   4677   # Loop through the user's path and test for each of PROGNAME-LIST
   4678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4679 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4680 do
   4681   IFS=$as_save_IFS
   4682   test -z "$as_dir" && as_dir=.
   4683     for ac_prog in grep ggrep; do
   4684     for ac_exec_ext in '' $ac_executable_extensions; do
   4685       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4686       as_fn_executable_p "$ac_path_GREP" || continue
   4687 # Check for GNU ac_path_GREP and select it if it is found.
   4688   # Check for GNU $ac_path_GREP
   4689 case `"$ac_path_GREP" --version 2>&1` in
   4690 *GNU*)
   4691   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4692 *)
   4693   ac_count=0
   4694   $as_echo_n 0123456789 >"conftest.in"
   4695   while :
   4696   do
   4697     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4698     mv "conftest.tmp" "conftest.in"
   4699     cp "conftest.in" "conftest.nl"
   4700     $as_echo 'GREP' >> "conftest.nl"
   4701     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4702     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4703     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4704     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4705       # Best one so far, save it but keep looking for a better one
   4706       ac_cv_path_GREP="$ac_path_GREP"
   4707       ac_path_GREP_max=$ac_count
   4708     fi
   4709     # 10*(2^10) chars as input seems more than enough
   4710     test $ac_count -gt 10 && break
   4711   done
   4712   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4713 esac
   4714 
   4715       $ac_path_GREP_found && break 3
   4716     done
   4717   done
   4718   done
   4719 IFS=$as_save_IFS
   4720   if test -z "$ac_cv_path_GREP"; then
   4721     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4722   fi
   4723 else
   4724   ac_cv_path_GREP=$GREP
   4725 fi
   4726 
   4727 fi
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4729 $as_echo "$ac_cv_path_GREP" >&6; }
   4730  GREP="$ac_cv_path_GREP"
   4731 
   4732 
   4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4734 $as_echo_n "checking for egrep... " >&6; }
   4735 if ${ac_cv_path_EGREP+:} false; then :
   4736   $as_echo_n "(cached) " >&6
   4737 else
   4738   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4739    then ac_cv_path_EGREP="$GREP -E"
   4740    else
   4741      if test -z "$EGREP"; then
   4742   ac_path_EGREP_found=false
   4743   # Loop through the user's path and test for each of PROGNAME-LIST
   4744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4745 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4746 do
   4747   IFS=$as_save_IFS
   4748   test -z "$as_dir" && as_dir=.
   4749     for ac_prog in egrep; do
   4750     for ac_exec_ext in '' $ac_executable_extensions; do
   4751       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4752       as_fn_executable_p "$ac_path_EGREP" || continue
   4753 # Check for GNU ac_path_EGREP and select it if it is found.
   4754   # Check for GNU $ac_path_EGREP
   4755 case `"$ac_path_EGREP" --version 2>&1` in
   4756 *GNU*)
   4757   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4758 *)
   4759   ac_count=0
   4760   $as_echo_n 0123456789 >"conftest.in"
   4761   while :
   4762   do
   4763     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4764     mv "conftest.tmp" "conftest.in"
   4765     cp "conftest.in" "conftest.nl"
   4766     $as_echo 'EGREP' >> "conftest.nl"
   4767     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4768     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4769     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4770     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4771       # Best one so far, save it but keep looking for a better one
   4772       ac_cv_path_EGREP="$ac_path_EGREP"
   4773       ac_path_EGREP_max=$ac_count
   4774     fi
   4775     # 10*(2^10) chars as input seems more than enough
   4776     test $ac_count -gt 10 && break
   4777   done
   4778   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4779 esac
   4780 
   4781       $ac_path_EGREP_found && break 3
   4782     done
   4783   done
   4784   done
   4785 IFS=$as_save_IFS
   4786   if test -z "$ac_cv_path_EGREP"; then
   4787     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4788   fi
   4789 else
   4790   ac_cv_path_EGREP=$EGREP
   4791 fi
   4792 
   4793    fi
   4794 fi
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4796 $as_echo "$ac_cv_path_EGREP" >&6; }
   4797  EGREP="$ac_cv_path_EGREP"
   4798 
   4799 
   4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4801 $as_echo_n "checking for ANSI C header files... " >&6; }
   4802 if ${ac_cv_header_stdc+:} false; then :
   4803   $as_echo_n "(cached) " >&6
   4804 else
   4805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4806 /* end confdefs.h.  */
   4807 #include <stdlib.h>
   4808 #include <stdarg.h>
   4809 #include <string.h>
   4810 #include <float.h>
   4811 
   4812 int
   4813 main ()
   4814 {
   4815 
   4816   ;
   4817   return 0;
   4818 }
   4819 _ACEOF
   4820 if ac_fn_c_try_compile "$LINENO"; then :
   4821   ac_cv_header_stdc=yes
   4822 else
   4823   ac_cv_header_stdc=no
   4824 fi
   4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4826 
   4827 if test $ac_cv_header_stdc = yes; then
   4828   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4830 /* end confdefs.h.  */
   4831 #include <string.h>
   4832 
   4833 _ACEOF
   4834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4835   $EGREP "memchr" >/dev/null 2>&1; then :
   4836 
   4837 else
   4838   ac_cv_header_stdc=no
   4839 fi
   4840 rm -f conftest*
   4841 
   4842 fi
   4843 
   4844 if test $ac_cv_header_stdc = yes; then
   4845   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4847 /* end confdefs.h.  */
   4848 #include <stdlib.h>
   4849 
   4850 _ACEOF
   4851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4852   $EGREP "free" >/dev/null 2>&1; then :
   4853 
   4854 else
   4855   ac_cv_header_stdc=no
   4856 fi
   4857 rm -f conftest*
   4858 
   4859 fi
   4860 
   4861 if test $ac_cv_header_stdc = yes; then
   4862   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4863   if test "$cross_compiling" = yes; then :
   4864   :
   4865 else
   4866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4867 /* end confdefs.h.  */
   4868 #include <ctype.h>
   4869 #include <stdlib.h>
   4870 #if ((' ' & 0x0FF) == 0x020)
   4871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4873 #else
   4874 # define ISLOWER(c) \
   4875 		   (('a' <= (c) && (c) <= 'i') \
   4876 		     || ('j' <= (c) && (c) <= 'r') \
   4877 		     || ('s' <= (c) && (c) <= 'z'))
   4878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4879 #endif
   4880 
   4881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4882 int
   4883 main ()
   4884 {
   4885   int i;
   4886   for (i = 0; i < 256; i++)
   4887     if (XOR (islower (i), ISLOWER (i))
   4888 	|| toupper (i) != TOUPPER (i))
   4889       return 2;
   4890   return 0;
   4891 }
   4892 _ACEOF
   4893 if ac_fn_c_try_run "$LINENO"; then :
   4894 
   4895 else
   4896   ac_cv_header_stdc=no
   4897 fi
   4898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4899   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4900 fi
   4901 
   4902 fi
   4903 fi
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4905 $as_echo "$ac_cv_header_stdc" >&6; }
   4906 if test $ac_cv_header_stdc = yes; then
   4907 
   4908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4909 
   4910 fi
   4911 
   4912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4914 		  inttypes.h stdint.h unistd.h
   4915 do :
   4916   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4918 "
   4919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4920   cat >>confdefs.h <<_ACEOF
   4921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4922 _ACEOF
   4923 
   4924 fi
   4925 
   4926 done
   4927 
   4928 
   4929 
   4930   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4931 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4932   MINIX=yes
   4933 else
   4934   MINIX=
   4935 fi
   4936 
   4937 
   4938   if test "$MINIX" = yes; then
   4939 
   4940 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4941 
   4942 
   4943 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4944 
   4945 
   4946 $as_echo "#define _MINIX 1" >>confdefs.h
   4947 
   4948   fi
   4949 
   4950 
   4951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4952 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4953 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4954   $as_echo_n "(cached) " >&6
   4955 else
   4956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4957 /* end confdefs.h.  */
   4958 
   4959 #         define __EXTENSIONS__ 1
   4960           $ac_includes_default
   4961 int
   4962 main ()
   4963 {
   4964 
   4965   ;
   4966   return 0;
   4967 }
   4968 _ACEOF
   4969 if ac_fn_c_try_compile "$LINENO"; then :
   4970   ac_cv_safe_to_define___extensions__=yes
   4971 else
   4972   ac_cv_safe_to_define___extensions__=no
   4973 fi
   4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4975 fi
   4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4977 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4978   test $ac_cv_safe_to_define___extensions__ = yes &&
   4979     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4980 
   4981   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4982 
   4983   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4984 
   4985   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4986 
   4987   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4988 
   4989 
   4990 
   4991 if test -n "$ac_tool_prefix"; then
   4992   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   4993 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4995 $as_echo_n "checking for $ac_word... " >&6; }
   4996 if ${ac_cv_prog_RANLIB+:} false; then :
   4997   $as_echo_n "(cached) " >&6
   4998 else
   4999   if test -n "$RANLIB"; then
   5000   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5001 else
   5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5003 for as_dir in $PATH
   5004 do
   5005   IFS=$as_save_IFS
   5006   test -z "$as_dir" && as_dir=.
   5007     for ac_exec_ext in '' $ac_executable_extensions; do
   5008   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5009     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5010     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5011     break 2
   5012   fi
   5013 done
   5014   done
   5015 IFS=$as_save_IFS
   5016 
   5017 fi
   5018 fi
   5019 RANLIB=$ac_cv_prog_RANLIB
   5020 if test -n "$RANLIB"; then
   5021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5022 $as_echo "$RANLIB" >&6; }
   5023 else
   5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5025 $as_echo "no" >&6; }
   5026 fi
   5027 
   5028 
   5029 fi
   5030 if test -z "$ac_cv_prog_RANLIB"; then
   5031   ac_ct_RANLIB=$RANLIB
   5032   # Extract the first word of "ranlib", so it can be a program name with args.
   5033 set dummy ranlib; ac_word=$2
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5035 $as_echo_n "checking for $ac_word... " >&6; }
   5036 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   if test -n "$ac_ct_RANLIB"; then
   5040   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5041 else
   5042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5043 for as_dir in $PATH
   5044 do
   5045   IFS=$as_save_IFS
   5046   test -z "$as_dir" && as_dir=.
   5047     for ac_exec_ext in '' $ac_executable_extensions; do
   5048   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5049     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5051     break 2
   5052   fi
   5053 done
   5054   done
   5055 IFS=$as_save_IFS
   5056 
   5057 fi
   5058 fi
   5059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5060 if test -n "$ac_ct_RANLIB"; then
   5061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5062 $as_echo "$ac_ct_RANLIB" >&6; }
   5063 else
   5064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5065 $as_echo "no" >&6; }
   5066 fi
   5067 
   5068   if test "x$ac_ct_RANLIB" = x; then
   5069     RANLIB=":"
   5070   else
   5071     case $cross_compiling:$ac_tool_warned in
   5072 yes:)
   5073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5074 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5075 ac_tool_warned=yes ;;
   5076 esac
   5077     RANLIB=$ac_ct_RANLIB
   5078   fi
   5079 else
   5080   RANLIB="$ac_cv_prog_RANLIB"
   5081 fi
   5082 
   5083 
   5084 # Extract the first word of "ar", so it can be a program name with args.
   5085 set dummy ar; ac_word=$2
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5087 $as_echo_n "checking for $ac_word... " >&6; }
   5088 if ${ac_cv_path_AR+:} false; then :
   5089   $as_echo_n "(cached) " >&6
   5090 else
   5091   case $AR in
   5092   [\\/]* | ?:[\\/]*)
   5093   ac_cv_path_AR="$AR" # Let the user override the test with a path.
   5094   ;;
   5095   *)
   5096   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5097 for as_dir in $PATH
   5098 do
   5099   IFS=$as_save_IFS
   5100   test -z "$as_dir" && as_dir=.
   5101     for ac_exec_ext in '' $ac_executable_extensions; do
   5102   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5103     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
   5104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5105     break 2
   5106   fi
   5107 done
   5108   done
   5109 IFS=$as_save_IFS
   5110 
   5111   ;;
   5112 esac
   5113 fi
   5114 AR=$ac_cv_path_AR
   5115 if test -n "$AR"; then
   5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5117 $as_echo "$AR" >&6; }
   5118 else
   5119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5120 $as_echo "no" >&6; }
   5121 fi
   5122 
   5123 
   5124 
   5125 
   5126 if test "X$AR" = "X"; then
   5127 	as_fn_error $? "
   5128 ar program not found.  Please fix your PATH to include the directory in
   5129 which ar resides, or set AR in the environment with the full path to ar." "$LINENO" 5
   5130 fi
   5131 
   5132 ac_config_headers="$ac_config_headers includes/config.h"
   5133 
   5134 
   5135 # we sometimes need to know byte order for building packets
   5136  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   5137 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   5138 if ${ac_cv_c_bigendian+:} false; then :
   5139   $as_echo_n "(cached) " >&6
   5140 else
   5141   ac_cv_c_bigendian=unknown
   5142     # See if we're dealing with a universal compiler.
   5143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5144 /* end confdefs.h.  */
   5145 #ifndef __APPLE_CC__
   5146 	       not a universal capable compiler
   5147 	     #endif
   5148 	     typedef int dummy;
   5149 
   5150 _ACEOF
   5151 if ac_fn_c_try_compile "$LINENO"; then :
   5152 
   5153 	# Check for potential -arch flags.  It is not universal unless
   5154 	# there are at least two -arch flags with different values.
   5155 	ac_arch=
   5156 	ac_prev=
   5157 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   5158 	 if test -n "$ac_prev"; then
   5159 	   case $ac_word in
   5160 	     i?86 | x86_64 | ppc | ppc64)
   5161 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   5162 		 ac_arch=$ac_word
   5163 	       else
   5164 		 ac_cv_c_bigendian=universal
   5165 		 break
   5166 	       fi
   5167 	       ;;
   5168 	   esac
   5169 	   ac_prev=
   5170 	 elif test "x$ac_word" = "x-arch"; then
   5171 	   ac_prev=arch
   5172 	 fi
   5173        done
   5174 fi
   5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5176     if test $ac_cv_c_bigendian = unknown; then
   5177       # See if sys/param.h defines the BYTE_ORDER macro.
   5178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5179 /* end confdefs.h.  */
   5180 #include <sys/types.h>
   5181 	     #include <sys/param.h>
   5182 
   5183 int
   5184 main ()
   5185 {
   5186 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   5187 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   5188 		     && LITTLE_ENDIAN)
   5189 	      bogus endian macros
   5190 	     #endif
   5191 
   5192   ;
   5193   return 0;
   5194 }
   5195 _ACEOF
   5196 if ac_fn_c_try_compile "$LINENO"; then :
   5197   # It does; now see whether it defined to BIG_ENDIAN or not.
   5198 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5199 /* end confdefs.h.  */
   5200 #include <sys/types.h>
   5201 		#include <sys/param.h>
   5202 
   5203 int
   5204 main ()
   5205 {
   5206 #if BYTE_ORDER != BIG_ENDIAN
   5207 		 not big endian
   5208 		#endif
   5209 
   5210   ;
   5211   return 0;
   5212 }
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"; then :
   5215   ac_cv_c_bigendian=yes
   5216 else
   5217   ac_cv_c_bigendian=no
   5218 fi
   5219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5220 fi
   5221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5222     fi
   5223     if test $ac_cv_c_bigendian = unknown; then
   5224       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   5225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 #include <limits.h>
   5228 
   5229 int
   5230 main ()
   5231 {
   5232 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   5233 	      bogus endian macros
   5234 	     #endif
   5235 
   5236   ;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 if ac_fn_c_try_compile "$LINENO"; then :
   5241   # It does; now see whether it defined to _BIG_ENDIAN or not.
   5242 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5243 /* end confdefs.h.  */
   5244 #include <limits.h>
   5245 
   5246 int
   5247 main ()
   5248 {
   5249 #ifndef _BIG_ENDIAN
   5250 		 not big endian
   5251 		#endif
   5252 
   5253   ;
   5254   return 0;
   5255 }
   5256 _ACEOF
   5257 if ac_fn_c_try_compile "$LINENO"; then :
   5258   ac_cv_c_bigendian=yes
   5259 else
   5260   ac_cv_c_bigendian=no
   5261 fi
   5262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5263 fi
   5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5265     fi
   5266     if test $ac_cv_c_bigendian = unknown; then
   5267       # Compile a test program.
   5268       if test "$cross_compiling" = yes; then :
   5269   # Try to guess by grepping values from an object file.
   5270 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 short int ascii_mm[] =
   5273 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   5274 		short int ascii_ii[] =
   5275 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   5276 		int use_ascii (int i) {
   5277 		  return ascii_mm[i] + ascii_ii[i];
   5278 		}
   5279 		short int ebcdic_ii[] =
   5280 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   5281 		short int ebcdic_mm[] =
   5282 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   5283 		int use_ebcdic (int i) {
   5284 		  return ebcdic_mm[i] + ebcdic_ii[i];
   5285 		}
   5286 		extern int foo;
   5287 
   5288 int
   5289 main ()
   5290 {
   5291 return use_ascii (foo) == use_ebcdic (foo);
   5292   ;
   5293   return 0;
   5294 }
   5295 _ACEOF
   5296 if ac_fn_c_try_compile "$LINENO"; then :
   5297   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   5298 	      ac_cv_c_bigendian=yes
   5299 	    fi
   5300 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   5301 	      if test "$ac_cv_c_bigendian" = unknown; then
   5302 		ac_cv_c_bigendian=no
   5303 	      else
   5304 		# finding both strings is unlikely to happen, but who knows?
   5305 		ac_cv_c_bigendian=unknown
   5306 	      fi
   5307 	    fi
   5308 fi
   5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5310 else
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 $ac_includes_default
   5314 int
   5315 main ()
   5316 {
   5317 
   5318 	     /* Are we little or big endian?  From Harbison&Steele.  */
   5319 	     union
   5320 	     {
   5321 	       long int l;
   5322 	       char c[sizeof (long int)];
   5323 	     } u;
   5324 	     u.l = 1;
   5325 	     return u.c[sizeof (long int) - 1] == 1;
   5326 
   5327   ;
   5328   return 0;
   5329 }
   5330 _ACEOF
   5331 if ac_fn_c_try_run "$LINENO"; then :
   5332   ac_cv_c_bigendian=no
   5333 else
   5334   ac_cv_c_bigendian=yes
   5335 fi
   5336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5337   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5338 fi
   5339 
   5340     fi
   5341 fi
   5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   5343 $as_echo "$ac_cv_c_bigendian" >&6; }
   5344  case $ac_cv_c_bigendian in #(
   5345    yes)
   5346      byte_order=BIG_ENDIAN
   5347 ;; #(
   5348    no)
   5349      byte_order=LITTLE_ENDIAN
   5350  ;; #(
   5351    universal)
   5352 
   5353 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   5354 
   5355      ;; #(
   5356    *)
   5357      as_fn_error $? "unknown endianness
   5358  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   5359  esac
   5360 
   5361 
   5362 cat >>confdefs.h <<_ACEOF
   5363 #define DHCP_BYTE_ORDER $byte_order
   5364 _ACEOF
   5365 
   5366 
   5367 # Optional compile-time DEBUGging.
   5368 # Check whether --enable-debug was given.
   5369 if test "${enable_debug+set}" = set; then :
   5370   enableval=$enable_debug; case "${enableval}" in
   5371     yes) enable_debug=yes
   5372 
   5373 $as_echo "#define DEBUG 1" >>confdefs.h
   5374 
   5375         # Just override CFLAGS totally to remove optimization.
   5376         CFLAGS="-g";;
   5377     no)  enable_debug=no ;;
   5378     *)   as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
   5379   esac
   5380 else
   5381   enable_debug=no
   5382 fi
   5383 
   5384 
   5385 # XXX: there are actually quite a lot more DEBUG_ features we could enable,
   5386 # but I don't want to pollute the --help space.
   5387 #
   5388 #/* #define DEBUG_TOKENS */
   5389 #/* #define DEBUG_PACKET */
   5390 #/* #define DEBUG_EXPRESSIONS */
   5391 #/* #define DEBUG_FIND_LEASE */
   5392 #/* #define DEBUG_EXPRESSION_PARSE */
   5393 #/* #define DEBUG_CLASS_MATCHING */
   5394 #/* #define DEBUG_MEMORY_LEAKAGE */
   5395 #/* #define DEBUG_MALLOC_POOL */
   5396 #/* #define DEBUG_LEASE_STATE_TRANSITIONS */
   5397 #/* #define DEBUG_RC_HISTORY */
   5398 #/* #define DEBUG_RC_HISTORY_EXHAUSTIVELY */
   5399 #/* #define RC_HISTORY_MAX 10240 */
   5400 #/* #define POINTER_DEBUG */
   5401 #/* #define DEBUG_FAILOVER_MESSAGES */
   5402 #/* #define DEBUG_FAILOVER_TIMING */
   5403 #/* #define DEBUG_DUMP_ALL_LEASES */
   5404 
   5405 # Failover optional compile-time feature.
   5406 # Check whether --enable-failover was given.
   5407 if test "${enable_failover+set}" = set; then :
   5408   enableval=$enable_failover;
   5409 fi
   5410 
   5411 # Failover is on by default, so define if it is not explicitly disabled.
   5412 if test "$enable_failover" != "no"; then
   5413     enable_failover="yes"
   5414 
   5415 $as_echo "#define FAILOVER_PROTOCOL 1" >>confdefs.h
   5416 
   5417 fi
   5418 
   5419 # execute() support.
   5420 # Check whether --enable-execute was given.
   5421 if test "${enable_execute+set}" = set; then :
   5422   enableval=$enable_execute;
   5423 fi
   5424 
   5425 # execute() is on by default, so define if it is not explicitly disabled.
   5426 if test "$enable_execute" != "no" ; then
   5427     enable_execute="yes"
   5428 
   5429 $as_echo "#define ENABLE_EXECUTE 1" >>confdefs.h
   5430 
   5431 fi
   5432 
   5433 # Server tracing support.
   5434 # Check whether --enable-tracing was given.
   5435 if test "${enable_tracing+set}" = set; then :
   5436   enableval=$enable_tracing;
   5437 fi
   5438 
   5439 # tracing is on by default, so define if it is not explicitly disabled.
   5440 if test "$enable_tracing" != "no" ; then
   5441 
   5442 $as_echo "#define TRACING 1" >>confdefs.h
   5443 
   5444 fi
   5445 
   5446 # Delayed-ack feature support.
   5447 # Check whether --enable-delayed_ack was given.
   5448 if test "${enable_delayed_ack+set}" = set; then :
   5449   enableval=$enable_delayed_ack;
   5450 fi
   5451 
   5452 if test "$enable_delayed_ack" != "no"; then
   5453     enable_delayed_ack="yes"
   5454 
   5455 $as_echo "#define DELAYED_ACK 1" >>confdefs.h
   5456 
   5457 fi
   5458 
   5459 # DHCPv6 optional compile-time feature.
   5460 # Check whether --enable-dhcpv6 was given.
   5461 if test "${enable_dhcpv6+set}" = set; then :
   5462   enableval=$enable_dhcpv6;
   5463 fi
   5464 
   5465 # DHCPv6 is on by default, so define if it is not explicitly disabled.
   5466 if test "$enable_dhcpv6" != "no"; then
   5467     enable_dhcpv6="yes"
   5468 
   5469 $as_echo "#define DHCPv6 1" >>confdefs.h
   5470 
   5471 fi
   5472 
   5473 # DHCPv4o6 optional compile-time feature.
   5474 # Check whether --enable-dhcpv4o6 was given.
   5475 if test "${enable_dhcpv4o6+set}" = set; then :
   5476   enableval=$enable_dhcpv4o6;
   5477 fi
   5478 
   5479 # DHCPv4o6 is off by default, so define if it is explicitly enabled.
   5480 if test "$enable_dhcpv4o6" = "yes"; then
   5481 	# DHCPv4o6 requires DHCPv6
   5482 	if test "$enable_dhcpv6" = "no"; then
   5483 		as_fn_error $? "dhcpv4o6 requires dhcpv6" "$LINENO" 5
   5484 	fi
   5485 
   5486 $as_echo "#define DHCP4o6 1" >>confdefs.h
   5487 
   5488 else
   5489     # so we can report below
   5490     enable_dhcpv4o6="no"
   5491 fi
   5492 
   5493 # Relay port (draft-ietf-dhc-relay-port-10.txt) optional compile-time feature.
   5494 # Check whether --enable-relay-port was given.
   5495 if test "${enable_relay_port+set}" = set; then :
   5496   enableval=$enable_relay_port;
   5497 fi
   5498 
   5499 # Relay port is off by default (for now)
   5500 if test "$enable_relay_port" = "yes"; then
   5501 
   5502 $as_echo "#define RELAY_PORT 1" >>confdefs.h
   5503 
   5504 else
   5505 	# so we can report below
   5506 	enable_relay_port="no"
   5507 fi
   5508 
   5509 # PARANOIA is off by default (until we can test it with all features)
   5510 # Check whether --enable-paranoia was given.
   5511 if test "${enable_paranoia+set}" = set; then :
   5512   enableval=$enable_paranoia;
   5513 fi
   5514 
   5515 # Check whether --enable-early_chroot was given.
   5516 if test "${enable_early_chroot+set}" = set; then :
   5517   enableval=$enable_early_chroot;
   5518 fi
   5519 
   5520 # If someone enables early chroot, but does not enable paranoia, do so for
   5521 # them.
   5522 if test "$enable_paranoia" != "yes" && \
   5523    test "$enable_early_chroot" = "yes" ; then
   5524 	enable_paranoia="yes"
   5525 fi
   5526 
   5527 if test "$enable_paranoia" = "yes" ; then
   5528 
   5529 $as_echo "#define PARANOIA 1" >>confdefs.h
   5530 
   5531 fi
   5532 if test "$enable_early_chroot" = "yes" ; then
   5533 
   5534 $as_echo "#define EARLY_CHROOT 1" >>confdefs.h
   5535 
   5536 fi
   5537 
   5538 # Check whether --enable-ipv4_pktinfo was given.
   5539 if test "${enable_ipv4_pktinfo+set}" = set; then :
   5540   enableval=$enable_ipv4_pktinfo;
   5541 fi
   5542 
   5543 
   5544 if test "$enable_ipv4_pktinfo" = "yes"; then
   5545 
   5546 $as_echo "#define USE_V4_PKTINFO 1" >>confdefs.h
   5547 
   5548 fi
   5549 
   5550 # Check whether --enable-use_sockets was given.
   5551 if test "${enable_use_sockets+set}" = set; then :
   5552   enableval=$enable_use_sockets;
   5553 fi
   5554 
   5555 
   5556 if test "$enable_use_sockets" = "yes"; then
   5557 
   5558 $as_echo "#define USE_SOCKETS 1" >>confdefs.h
   5559 
   5560 fi
   5561 
   5562 # Include the PID in the log messages.  This is useful when there may
   5563 # be multiple instances of a program.
   5564 # This is off by default
   5565 # Check whether --enable-log_pid was given.
   5566 if test "${enable_log_pid+set}" = set; then :
   5567   enableval=$enable_log_pid;
   5568 fi
   5569 
   5570 if test "$enable_log_pid" = "yes" ; then
   5571 
   5572 $as_echo "#define USE_LOG_PID 1" >>confdefs.h
   5573 
   5574 fi
   5575 
   5576 # Allow for binary search when inserting v4 leases into queues
   5577 # Check whether --enable-binary_leases was given.
   5578 if test "${enable_binary_leases+set}" = set; then :
   5579   enableval=$enable_binary_leases;
   5580 fi
   5581 
   5582 # binary_leases is off by default.
   5583 if test "$enable_binary_leases" = "yes"; then
   5584 
   5585 $as_echo "#define BINARY_LEASES 1" >>confdefs.h
   5586 
   5587 else
   5588     enable_binary_leases="no"
   5589 fi
   5590 
   5591 # Testing section
   5592 
   5593 DISTCHECK_ATF_CONFIGURE_FLAG=
   5594 atf_path="no"
   5595 
   5596 # Check whether --with-atf was given.
   5597 if test "${with_atf+set}" = set; then :
   5598   withval=$with_atf; atf_path="$withval"
   5599 fi
   5600 
   5601  if test "$atf_path" = "bind"; then
   5602   BIND_ATF_TRUE=
   5603   BIND_ATF_FALSE='#'
   5604 else
   5605   BIND_ATF_TRUE='#'
   5606   BIND_ATF_FALSE=
   5607 fi
   5608 
   5609 if test "$atf_path" = "bind" ; then
   5610     DISTCHECK_ATF_CONFIGURE_FLAG="--with-atf=bind"
   5611     atf_pcp="bind"
   5612     atf_path="\${top_srcdir}/bind/atf"
   5613     ATF_CFLAGS="-I$atf_path/include -DUNIT_TEST"
   5614     ATF_LDFLAGS="-L$atf_path/lib -latf-c"
   5615     ATF_BIN=`cd $srcdir; pwd`/bind/atf/bin
   5616 
   5617 
   5618 
   5619     BINDCONFIG="$BINDCONFIG --with-atf"
   5620 elif test "$atf_path" != "no" ; then
   5621     DISTCHECK_ATF_CONFIGURE_FLAG="--with-atf=$atf_path"
   5622     # Config path for pkg-config
   5623     atf_pcp=""
   5624     if test "$atf_path" != "yes" ; then
   5625         if test -f $atf_path/lib/pkgconfig/atf-c.pc ; then
   5626             atf_pcp=$atf_path/lib/pkgconfig
   5627         elif test -f $atf_path/lib64/pkgconfig/atf-c.pc ; then
   5628             atf_pcp=$atf_path/lib64/pkgconfig
   5629         fi
   5630     else
   5631         # Not specified, try some common paths
   5632         atf_dirs="/usr /usr/local /usr/pkg /opt /opt/local"
   5633         for d in $atf_dirs
   5634         do
   5635             if test -f $d/lib/pkgconfig/atf-c.pc ; then
   5636                 atf_pcp=$d/lib/pkgconfig
   5637                 atf_path=$d
   5638             elif test -f $d/lib64/pkgconfig/atf-c.pc ; then
   5639                 atf_pcp=$d/lib64/pkgconfig
   5640                 atf_path=$d
   5641             fi
   5642         done
   5643     fi
   5644 
   5645     if test "$atf_pcp" = "" ; then
   5646         as_fn_error $? "Unable to find atf files in location specified" "$LINENO" 5
   5647     else
   5648         # Extract the first word of "pkg-config", so it can be a program name with args.
   5649 set dummy pkg-config; ac_word=$2
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5651 $as_echo_n "checking for $ac_word... " >&6; }
   5652 if ${ac_cv_prog_pkgcfg_found+:} false; then :
   5653   $as_echo_n "(cached) " >&6
   5654 else
   5655   if test -n "$pkgcfg_found"; then
   5656   ac_cv_prog_pkgcfg_found="$pkgcfg_found" # Let the user override the test.
   5657 else
   5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5659 for as_dir in $PATH
   5660 do
   5661   IFS=$as_save_IFS
   5662   test -z "$as_dir" && as_dir=.
   5663     for ac_exec_ext in '' $ac_executable_extensions; do
   5664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5665     ac_cv_prog_pkgcfg_found="pkg-config"
   5666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5667     break 2
   5668   fi
   5669 done
   5670   done
   5671 IFS=$as_save_IFS
   5672 
   5673 fi
   5674 fi
   5675 pkgcfg_found=$ac_cv_prog_pkgcfg_found
   5676 if test -n "$pkgcfg_found"; then
   5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pkgcfg_found" >&5
   5678 $as_echo "$pkgcfg_found" >&6; }
   5679 else
   5680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5681 $as_echo "no" >&6; }
   5682 fi
   5683 
   5684 
   5685         if test "$pkgcfg_found" = ""; then
   5686             as_fn_error $? "Could not locate ATF, pkg-config not installed" "$LINENO" 5
   5687         fi
   5688         ATF_CFLAGS="`PKG_CONFIG_PATH=$atf_pcp pkg-config --cflags atf-c` -DUNIT_TEST"
   5689         ATF_LDFLAGS="`PKG_CONFIG_PATH=$atf_pcp pkg-config --libs atf-c`"
   5690         if  test -f $atf_pcp/atf-sh.pc ; then
   5691                 ATF_BIN="`PKG_CONFIG_PATH=$atf_pcp pkg-config --variable=exec_prefix atf-sh`/bin"
   5692         else
   5693                 # older versions don't have atf-sh, try usual place
   5694                 ATF_BIN=$atf_path/bin
   5695         fi
   5696 
   5697         UNITTESTS=tests
   5698 
   5699 
   5700 
   5701 
   5702 
   5703     fi
   5704 fi
   5705 
   5706  if test "$atf_pcp" != ""; then
   5707   HAVE_ATF_TRUE=
   5708   HAVE_ATF_FALSE='#'
   5709 else
   5710   HAVE_ATF_TRUE='#'
   5711   HAVE_ATF_FALSE=
   5712 fi
   5713 
   5714 if test -z "$HAVE_ATF_TRUE"; then :
   5715 
   5716 $as_echo "#define HAVE_ATF 1" >>confdefs.h
   5717 
   5718 fi
   5719 
   5720 
   5721 ###
   5722 ### Path fun.  Older versions of DHCP were installed in /usr/sbin, so we
   5723 ### need to look there and potentially overwrite by default (but not if
   5724 ### the user configures an alternate value).  LOCALSTATEDIR is totally
   5725 ### braindead.  No one uses /usr/local/var/db/ nor /usr/local/var/run, and
   5726 ### they would be insane for suggesting it.  We need to look in /var/for
   5727 ### 'db' and 'state/dhcp' for db files, and /var/run for pid files by
   5728 ### default.
   5729 ###
   5730 if test "x$prefix" = xNONE; then
   5731   $as_echo_n "checking for prefix by " >&6
   5732   # Extract the first word of "dhcpd", so it can be a program name with args.
   5733 set dummy dhcpd; ac_word=$2
   5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5735 $as_echo_n "checking for $ac_word... " >&6; }
   5736 if ${ac_cv_path_ac_prefix_program+:} false; then :
   5737   $as_echo_n "(cached) " >&6
   5738 else
   5739   case $ac_prefix_program in
   5740   [\\/]* | ?:[\\/]*)
   5741   ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
   5742   ;;
   5743   *)
   5744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5745 for as_dir in $PATH
   5746 do
   5747   IFS=$as_save_IFS
   5748   test -z "$as_dir" && as_dir=.
   5749     for ac_exec_ext in '' $ac_executable_extensions; do
   5750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5751     ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
   5752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5753     break 2
   5754   fi
   5755 done
   5756   done
   5757 IFS=$as_save_IFS
   5758 
   5759   ;;
   5760 esac
   5761 fi
   5762 ac_prefix_program=$ac_cv_path_ac_prefix_program
   5763 if test -n "$ac_prefix_program"; then
   5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prefix_program" >&5
   5765 $as_echo "$ac_prefix_program" >&6; }
   5766 else
   5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5768 $as_echo "no" >&6; }
   5769 fi
   5770 
   5771 
   5772   if test -n "$ac_prefix_program"; then
   5773     prefix=`$as_dirname -- "$ac_prefix_program" ||
   5774 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5775 	 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
   5776 	 X"$ac_prefix_program" : 'X\(//\)$' \| \
   5777 	 X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null ||
   5778 $as_echo X"$ac_prefix_program" |
   5779     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5780 	    s//\1/
   5781 	    q
   5782 	  }
   5783 	  /^X\(\/\/\)[^/].*/{
   5784 	    s//\1/
   5785 	    q
   5786 	  }
   5787 	  /^X\(\/\/\)$/{
   5788 	    s//\1/
   5789 	    q
   5790 	  }
   5791 	  /^X\(\/\).*/{
   5792 	    s//\1/
   5793 	    q
   5794 	  }
   5795 	  s/.*/./; q'`
   5796     prefix=`$as_dirname -- "$prefix" ||
   5797 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5798 	 X"$prefix" : 'X\(//\)[^/]' \| \
   5799 	 X"$prefix" : 'X\(//\)$' \| \
   5800 	 X"$prefix" : 'X\(/\)' \| . 2>/dev/null ||
   5801 $as_echo X"$prefix" |
   5802     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5803 	    s//\1/
   5804 	    q
   5805 	  }
   5806 	  /^X\(\/\/\)[^/].*/{
   5807 	    s//\1/
   5808 	    q
   5809 	  }
   5810 	  /^X\(\/\/\)$/{
   5811 	    s//\1/
   5812 	    q
   5813 	  }
   5814 	  /^X\(\/\).*/{
   5815 	    s//\1/
   5816 	    q
   5817 	  }
   5818 	  s/.*/./; q'`
   5819   fi
   5820 fi
   5821 
   5822 
   5823 # XXX - isn't there SOME WAY to default autoconf to /var instead of
   5824 # /usr/local/var/no/one/has/this/please/stop/trying?
   5825 case "$localstatedir" in
   5826 	'${prefix}/var')
   5827 		localstatedir=/var
   5828 		;;
   5829 esac
   5830 
   5831 # Default server configuration file.
   5832 
   5833 # Check whether --with-srv-conf-file was given.
   5834 if test "${with_srv_conf_file+set}" = set; then :
   5835   withval=$with_srv_conf_file;
   5836 cat >>confdefs.h <<_ACEOF
   5837 #define _PATH_DHCPD_CONF "$withval"
   5838 _ACEOF
   5839 
   5840 fi
   5841 
   5842 
   5843 # Allow specification of alternate state files
   5844 
   5845 # Check whether --with-srv-lease-file was given.
   5846 if test "${with_srv_lease_file+set}" = set; then :
   5847   withval=$with_srv_lease_file;
   5848 cat >>confdefs.h <<_ACEOF
   5849 #define _PATH_DHCPD_DB "$withval"
   5850 _ACEOF
   5851 
   5852 fi
   5853 
   5854 
   5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd.leases location" >&5
   5856 $as_echo_n "checking for dhcpd.leases location... " >&6; }
   5857 if [ "x$with_srv_lease_file" = "x" ] ; then
   5858 	if [ -d "${localstatedir}/db" ] ; then
   5859 		with_srv_lease_file="${localstatedir}/db/dhcpd.leases"
   5860 	elif [ -d "${localstatedir}/state" ] ; then
   5861 		if [ -d "${localstatedir}/state/dhcp" ] ; then
   5862 			with_srv_lease_file="${localstatedir}/state/dhcp/dhcpd.leases"
   5863 		else
   5864 			with_srv_lease_file="${localstatedir}/state/dhcpd.leases"
   5865 		fi
   5866 	elif [ -d "${localstatedir}/lib" ] ; then
   5867 		if [ -d "${localstatedir}/lib/dhcp" ] ; then
   5868 			with_srv_lease_file="${localstatedir}/lib/dhcp/dhcpd.leases"
   5869 		else
   5870 			with_srv_lease_file="${localstatedir}/lib/dhcpd.leases"
   5871 		fi
   5872 	elif [ -d "${localstatedir}/etc" ] ; then
   5873 		with_srv_lease_file="${localstatedir}/etc/dhcpd.leases"
   5874 	else
   5875 		with_srv_lease_file="/etc/dhcpd.leases"
   5876 	fi
   5877 fi
   5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv_lease_file" >&5
   5879 $as_echo "$with_srv_lease_file" >&6; }
   5880 
   5881 
   5882 # Check whether --with-srv6-lease-file was given.
   5883 if test "${with_srv6_lease_file+set}" = set; then :
   5884   withval=$with_srv6_lease_file;
   5885 cat >>confdefs.h <<_ACEOF
   5886 #define _PATH_DHCPD6_DB "$withval"
   5887 _ACEOF
   5888 
   5889 fi
   5890 
   5891 
   5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhcpd6.leases location" >&5
   5893 $as_echo_n "checking for dhcpd6.leases location... " >&6; }
   5894 if [ "x$with_srv6_lease_file" = "x" ] ; then
   5895 	if [ -d "${localstatedir}/db" ] ; then
   5896 		with_srv6_lease_file="${localstatedir}/db/dhcpd6.leases"
   5897 	elif [ -d "${localstatedir}/state" ] ; then
   5898 		if [ -d "${localstatedir}/state/dhcp" ] ; then
   5899 			with_srv6_lease_file="${localstatedir}/state/dhcp/dhcpd6.leases"
   5900 		else
   5901 			with_srv6_lease_file="${localstatedir}/state/dhcpd6.leases"
   5902 		fi
   5903 	elif [ -d "${localstatedir}/lib" ] ; then
   5904 		if [ -d "${localstatedir}/lib/dhcp" ] ; then
   5905 			with_srv6_lease_file="${localstatedir}/lib/dhcp/dhcpd6.leases"
   5906 		else
   5907 			with_srv6_lease_file="${localstatedir}/lib/dhcpd6.leases"
   5908 		fi
   5909 	elif [ -d "${localstatedir}/etc" ] ; then
   5910 		with_srv6_lease_file="${localstatedir}/etc/dhcpd6.leases"
   5911 	else
   5912 		with_srv6_lease_file="/etc/dhcpd6.leases"
   5913 	fi
   5914 fi
   5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_srv6_lease_file" >&5
   5916 $as_echo "$with_srv6_lease_file" >&6; }
   5917 
   5918 
   5919 # Check whether --with-cli-lease-file was given.
   5920 if test "${with_cli_lease_file+set}" = set; then :
   5921   withval=$with_cli_lease_file;
   5922 cat >>confdefs.h <<_ACEOF
   5923 #define _PATH_DHCLIENT_DB "$withval"
   5924 _ACEOF
   5925 
   5926 fi
   5927 
   5928 
   5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient.leases location" >&5
   5930 $as_echo_n "checking for dhclient.leases location... " >&6; }
   5931 if [ "x$with_cli_lease_file" = "x" ] ; then
   5932 	if [ -d "${localstatedir}/db" ] ; then
   5933 		with_cli_lease_file="${localstatedir}/db/dhclient.leases"
   5934 	elif [ -d "${localstatedir}/state" ] ; then
   5935 		if [ -d "${localstatedir}/state/dhcp" ] ; then
   5936 			with_cli_lease_file="${localstatedir}/state/dhcp/dhclient.leases"
   5937 		else
   5938 			with_cli_lease_file="${localstatedir}/state/dhclient.leases"
   5939 		fi
   5940 	elif [ -d "${localstatedir}/lib" ] ; then
   5941 		if [ -d "${localstatedir}/lib/dhcp" ] ; then
   5942 			with_cli_lease_file="${localstatedir}/lib/dhcp/dhclient.leases"
   5943 		else
   5944 			with_cli_lease_file="${localstatedir}/lib/dhclient.leases"
   5945 		fi
   5946 	elif [ -d "${localstatedir}/etc" ] ; then
   5947 		with_cli_lease_file="${localstatedir}/etc/dhclient.leases"
   5948 	else
   5949 		with_cli_lease_file="/etc/dhclient.leases"
   5950 	fi
   5951 fi
   5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli_lease_file" >&5
   5953 $as_echo "$with_cli_lease_file" >&6; }
   5954 
   5955 
   5956 # Check whether --with-cli6-lease-file was given.
   5957 if test "${with_cli6_lease_file+set}" = set; then :
   5958   withval=$with_cli6_lease_file;
   5959 cat >>confdefs.h <<_ACEOF
   5960 #define _PATH_DHCLIENT6_DB "$withval"
   5961 _ACEOF
   5962 
   5963 fi
   5964 
   5965 
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dhclient6.leases location" >&5
   5967 $as_echo_n "checking for dhclient6.leases location... " >&6; }
   5968 if [ "x$with_cli6_lease_file" = "x" ] ; then
   5969 	if [ -d "${localstatedir}/db" ] ; then
   5970 		with_cli6_lease_file="${localstatedir}/db/dhclient6.leases"
   5971 	elif [ -d "${localstatedir}/state" ] ; then
   5972 		if [ -d "${localstatedir}/state/dhcp" ] ; then
   5973 			with_cli6_lease_file="${localstatedir}/state/dhcp/dhclient6.leases"
   5974 		else
   5975 			with_cli6_lease_file="${localstatedir}/state/dhclient6.leases"
   5976 		fi
   5977 	elif [ -d "${localstatedir}/lib" ] ; then
   5978 		if [ -d "${localstatedir}/lib/dhcp" ] ; then
   5979 			with_cli6_lease_file="${localstatedir}/lib/dhcp/dhclient6.leases"
   5980 		else
   5981 			with_cli6_lease_file="${localstatedir}/lib/dhclient6.leases"
   5982 		fi
   5983 	elif [ -d "${localstatedir}/etc" ] ; then
   5984 		with_cli6_lease_file="${localstatedir}/etc/dhclient6.leases"
   5985 	else
   5986 		with_cli6_lease_file="/etc/dhclient6.leases"
   5987 	fi
   5988 fi
   5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_cli6_lease_file" >&5
   5990 $as_echo "$with_cli6_lease_file" >&6; }
   5991 
   5992 
   5993 # Check whether --with-srv-pid-file was given.
   5994 if test "${with_srv_pid_file+set}" = set; then :
   5995   withval=$with_srv_pid_file;
   5996 cat >>confdefs.h <<_ACEOF
   5997 #define _PATH_DHCPD_PID "$withval"
   5998 _ACEOF
   5999 
   6000 fi
   6001 
   6002 
   6003 # Check whether --with-srv6-pid-file was given.
   6004 if test "${with_srv6_pid_file+set}" = set; then :
   6005   withval=$with_srv6_pid_file;
   6006 cat >>confdefs.h <<_ACEOF
   6007 #define _PATH_DHCPD6_PID "$withval"
   6008 _ACEOF
   6009 
   6010 fi
   6011 
   6012 
   6013 # Check whether --with-cli-pid-file was given.
   6014 if test "${with_cli_pid_file+set}" = set; then :
   6015   withval=$with_cli_pid_file;
   6016 cat >>confdefs.h <<_ACEOF
   6017 #define _PATH_DHCLIENT_PID "$withval"
   6018 _ACEOF
   6019 
   6020 fi
   6021 
   6022 
   6023 # Check whether --with-cli6-pid-file was given.
   6024 if test "${with_cli6_pid_file+set}" = set; then :
   6025   withval=$with_cli6_pid_file;
   6026 cat >>confdefs.h <<_ACEOF
   6027 #define _PATH_DHCLIENT6_PID "$withval"
   6028 _ACEOF
   6029 
   6030 fi
   6031 
   6032 
   6033 # Check whether --with-relay-pid-file was given.
   6034 if test "${with_relay_pid_file+set}" = set; then :
   6035   withval=$with_relay_pid_file;
   6036 cat >>confdefs.h <<_ACEOF
   6037 #define _PATH_DHCRELAY_PID "$withval"
   6038 _ACEOF
   6039 
   6040 fi
   6041 
   6042 
   6043 # Check whether --with-relay6-pid-file was given.
   6044 if test "${with_relay6_pid_file+set}" = set; then :
   6045   withval=$with_relay6_pid_file;
   6046 cat >>confdefs.h <<_ACEOF
   6047 #define _PATH_DHCRELAY6_PID "$withval"
   6048 _ACEOF
   6049 
   6050 fi
   6051 
   6052 
   6053 # Check basic types.
   6054 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
   6055 case $ac_cv_c_int8_t in #(
   6056   no|yes) ;; #(
   6057   *)
   6058 
   6059 cat >>confdefs.h <<_ACEOF
   6060 #define int8_t $ac_cv_c_int8_t
   6061 _ACEOF
   6062 ;;
   6063 esac
   6064 
   6065 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
   6066 case $ac_cv_c_int16_t in #(
   6067   no|yes) ;; #(
   6068   *)
   6069 
   6070 cat >>confdefs.h <<_ACEOF
   6071 #define int16_t $ac_cv_c_int16_t
   6072 _ACEOF
   6073 ;;
   6074 esac
   6075 
   6076 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
   6077 case $ac_cv_c_int32_t in #(
   6078   no|yes) ;; #(
   6079   *)
   6080 
   6081 cat >>confdefs.h <<_ACEOF
   6082 #define int32_t $ac_cv_c_int32_t
   6083 _ACEOF
   6084 ;;
   6085 esac
   6086 
   6087 ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
   6088 case $ac_cv_c_int64_t in #(
   6089   no|yes) ;; #(
   6090   *)
   6091 
   6092 cat >>confdefs.h <<_ACEOF
   6093 #define int64_t $ac_cv_c_int64_t
   6094 _ACEOF
   6095 ;;
   6096 esac
   6097 
   6098 
   6099 # Some systems need the u_intX_t types defined across.
   6100 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
   6101 if test "x$ac_cv_type_u_int8_t" = xyes; then :
   6102 
   6103 else
   6104 
   6105   ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
   6106 case $ac_cv_c_uint8_t in #(
   6107   no|yes) ;; #(
   6108   *)
   6109 
   6110 $as_echo "#define _UINT8_T 1" >>confdefs.h
   6111 
   6112 
   6113 cat >>confdefs.h <<_ACEOF
   6114 #define uint8_t $ac_cv_c_uint8_t
   6115 _ACEOF
   6116 ;;
   6117   esac
   6118 
   6119 
   6120 $as_echo "#define u_int8_t uint8_t" >>confdefs.h
   6121 
   6122 
   6123 fi
   6124 
   6125 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
   6126 if test "x$ac_cv_type_u_int16_t" = xyes; then :
   6127 
   6128 else
   6129 
   6130   ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
   6131 case $ac_cv_c_uint16_t in #(
   6132   no|yes) ;; #(
   6133   *)
   6134 
   6135 
   6136 cat >>confdefs.h <<_ACEOF
   6137 #define uint16_t $ac_cv_c_uint16_t
   6138 _ACEOF
   6139 ;;
   6140   esac
   6141 
   6142 
   6143 $as_echo "#define u_int16_t uint16_t" >>confdefs.h
   6144 
   6145 
   6146 fi
   6147 
   6148 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
   6149 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   6150 
   6151 else
   6152 
   6153   ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
   6154 case $ac_cv_c_uint32_t in #(
   6155   no|yes) ;; #(
   6156   *)
   6157 
   6158 $as_echo "#define _UINT32_T 1" >>confdefs.h
   6159 
   6160 
   6161 cat >>confdefs.h <<_ACEOF
   6162 #define uint32_t $ac_cv_c_uint32_t
   6163 _ACEOF
   6164 ;;
   6165   esac
   6166 
   6167 
   6168 $as_echo "#define u_int32_t uint32_t" >>confdefs.h
   6169 
   6170 
   6171 fi
   6172 
   6173 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "$ac_includes_default"
   6174 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   6175 
   6176 else
   6177 
   6178   ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
   6179 case $ac_cv_c_uint64_t in #(
   6180   no|yes) ;; #(
   6181   *)
   6182 
   6183 $as_echo "#define _UINT64_T 1" >>confdefs.h
   6184 
   6185 
   6186 cat >>confdefs.h <<_ACEOF
   6187 #define uint64_t $ac_cv_c_uint64_t
   6188 _ACEOF
   6189 ;;
   6190   esac
   6191 
   6192 
   6193 $as_echo "#define u_int64_t uint64_t" >>confdefs.h
   6194 
   6195 
   6196 fi
   6197 
   6198 
   6199 # see if ifaddrs.h is available
   6200 for ac_header in ifaddrs.h
   6201 do :
   6202   ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
   6203 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
   6204   cat >>confdefs.h <<_ACEOF
   6205 #define HAVE_IFADDRS_H 1
   6206 _ACEOF
   6207 
   6208 fi
   6209 
   6210 done
   6211 
   6212 
   6213 # figure out what IPv4 interface code to use
   6214 for ac_header in linux/types.h
   6215 do :
   6216   ac_fn_c_check_header_mongrel "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
   6217 if test "x$ac_cv_header_linux_types_h" = xyes; then :
   6218   cat >>confdefs.h <<_ACEOF
   6219 #define HAVE_LINUX_TYPES_H 1
   6220 _ACEOF
   6221 
   6222 fi
   6223 
   6224 done
   6225   # needed for linux/filter.h on old systems
   6226 
   6227 relay_port_supported="no"
   6228 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "
   6229 #ifdef HAVE_LINUX_TYPES_H
   6230 #include <linux/types.h>
   6231 #endif
   6232 
   6233 "
   6234 if test "x$ac_cv_header_linux_filter_h" = xyes; then :
   6235   DO_LPF=1
   6236 fi
   6237 
   6238 
   6239 if test -n "$DO_LPF"
   6240 then
   6241 
   6242 $as_echo "#define HAVE_LPF 1" >>confdefs.h
   6243 
   6244 	relay_port_supported="yes"
   6245 else
   6246 	ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
   6247 if test "x$ac_cv_header_sys_dlpi_h" = xyes; then :
   6248   DO_DLPI=1
   6249 fi
   6250 
   6251 
   6252 	if test -n "$DO_DLPI"
   6253 	then
   6254 
   6255 $as_echo "#define HAVE_DLPI 1" >>confdefs.h
   6256 
   6257 	else
   6258 		ac_fn_c_check_header_mongrel "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
   6259 if test "x$ac_cv_header_net_bpf_h" = xyes; then :
   6260   DO_BPF=1
   6261 fi
   6262 
   6263 
   6264 		if test -n "$DO_BPF"
   6265 		then
   6266 
   6267 $as_echo "#define HAVE_BPF 1" >>confdefs.h
   6268 
   6269 			relay_port_supported="yes"
   6270 		fi
   6271 	fi
   6272 fi
   6273 
   6274 if test "$enable_relay_port" = "yes"; then
   6275 	if test "$relay_port_supported" != "yes"; then
   6276 		as_fn_error $? "--enable-relay-port requires BPF or LPF" "$LINENO" 5
   6277 	fi
   6278 fi
   6279 
   6280 # SIOCGLIFCONF uses some transport structures.  Trick is not all platforms
   6281 # use the same structures.  We like to use 'struct lifconf' and 'struct
   6282 # lifreq', but we'll use these other structures if they're present.  HPUX
   6283 # does not define 'struct lifnum', but does use SIOCGLIFNUM - they use an
   6284 # int value.
   6285 #
   6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct lifnum" >&5
   6287 $as_echo_n "checking for struct lifnum... " >&6; }
   6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6289 /* end confdefs.h.  */
   6290  #include <sys/types.h>
   6291   #include <sys/socket.h>
   6292   #include <net/if.h>
   6293 
   6294 int
   6295 main ()
   6296 {
   6297  struct lifnum a;
   6298 
   6299   ;
   6300   return 0;
   6301 }
   6302 _ACEOF
   6303 if ac_fn_c_try_compile "$LINENO"; then :
   6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6305 $as_echo "yes" >&6; }
   6306 
   6307 $as_echo "#define ISC_PLATFORM_HAVELIFNUM 1" >>confdefs.h
   6308 
   6309 else
   6310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6311 $as_echo "no" >&6; }
   6312 fi
   6313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6314 
   6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
   6316 $as_echo_n "checking for struct if_laddrconf... " >&6; }
   6317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6318 /* end confdefs.h.  */
   6319  #include <sys/types.h>
   6320   #include <net/if6.h>
   6321 
   6322 int
   6323 main ()
   6324 {
   6325  struct if_laddrconf a;
   6326 
   6327   ;
   6328   return 0;
   6329 }
   6330 _ACEOF
   6331 if ac_fn_c_try_compile "$LINENO"; then :
   6332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6333 $as_echo "yes" >&6; }
   6334 
   6335 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
   6336 
   6337 else
   6338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6339 $as_echo "no" >&6; }
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6342 
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
   6344 $as_echo_n "checking for struct if_laddrreq... " >&6; }
   6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6346 /* end confdefs.h.  */
   6347 #include <sys/types.h>
   6348  #include <net/if6.h>
   6349 
   6350 int
   6351 main ()
   6352 {
   6353  struct if_laddrreq a;
   6354 
   6355   ;
   6356   return 0;
   6357 }
   6358 _ACEOF
   6359 if ac_fn_c_try_link "$LINENO"; then :
   6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6361 $as_echo "yes" >&6; }
   6362 
   6363 $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
   6364 
   6365 else
   6366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6367 $as_echo "no" >&6; }
   6368 fi
   6369 rm -f core conftest.err conftest.$ac_objext \
   6370     conftest$ac_exeext conftest.$ac_ext
   6371 
   6372 #
   6373 # check for GCC noreturn attribute
   6374 #
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC noreturn attribute" >&5
   6376 $as_echo_n "checking for GCC noreturn attribute... " >&6; }
   6377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 
   6380 int
   6381 main ()
   6382 {
   6383 void foo() __attribute__((noreturn));
   6384   ;
   6385   return 0;
   6386 }
   6387 _ACEOF
   6388 if ac_fn_c_try_compile "$LINENO"; then :
   6389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6390 $as_echo "yes" >&6; }
   6391 
   6392 $as_echo "#define ISC_DHCP_NORETURN __attribute__((noreturn))" >>confdefs.h
   6393 
   6394 else
   6395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6396 $as_echo "no" >&6; }
   6397 
   6398 $as_echo "#define ISC_DHCP_NORETURN /**/" >>confdefs.h
   6399 
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6402 
   6403 # Look for optional headers.
   6404 for ac_header in sys/socket.h net/if_dl.h net/if6.h regex.h
   6405 do :
   6406   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6407 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   6408 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   6409   cat >>confdefs.h <<_ACEOF
   6410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6411 _ACEOF
   6412 
   6413 fi
   6414 
   6415 done
   6416 
   6417 
   6418 # Solaris needs some libraries for functions
   6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   6420 $as_echo_n "checking for library containing socket... " >&6; }
   6421 if ${ac_cv_search_socket+:} false; then :
   6422   $as_echo_n "(cached) " >&6
   6423 else
   6424   ac_func_search_save_LIBS=$LIBS
   6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6426 /* end confdefs.h.  */
   6427 
   6428 /* Override any GCC internal prototype to avoid an error.
   6429    Use char because int might match the return type of a GCC
   6430    builtin and then its argument prototype would still apply.  */
   6431 #ifdef __cplusplus
   6432 extern "C"
   6433 #endif
   6434 char socket ();
   6435 int
   6436 main ()
   6437 {
   6438 return socket ();
   6439   ;
   6440   return 0;
   6441 }
   6442 _ACEOF
   6443 for ac_lib in '' socket; do
   6444   if test -z "$ac_lib"; then
   6445     ac_res="none required"
   6446   else
   6447     ac_res=-l$ac_lib
   6448     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6449   fi
   6450   if ac_fn_c_try_link "$LINENO"; then :
   6451   ac_cv_search_socket=$ac_res
   6452 fi
   6453 rm -f core conftest.err conftest.$ac_objext \
   6454     conftest$ac_exeext
   6455   if ${ac_cv_search_socket+:} false; then :
   6456   break
   6457 fi
   6458 done
   6459 if ${ac_cv_search_socket+:} false; then :
   6460 
   6461 else
   6462   ac_cv_search_socket=no
   6463 fi
   6464 rm conftest.$ac_ext
   6465 LIBS=$ac_func_search_save_LIBS
   6466 fi
   6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   6468 $as_echo "$ac_cv_search_socket" >&6; }
   6469 ac_res=$ac_cv_search_socket
   6470 if test "$ac_res" != no; then :
   6471   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6472 
   6473 fi
   6474 
   6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntoa" >&5
   6476 $as_echo_n "checking for library containing inet_ntoa... " >&6; }
   6477 if ${ac_cv_search_inet_ntoa+:} false; then :
   6478   $as_echo_n "(cached) " >&6
   6479 else
   6480   ac_func_search_save_LIBS=$LIBS
   6481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 
   6484 /* Override any GCC internal prototype to avoid an error.
   6485    Use char because int might match the return type of a GCC
   6486    builtin and then its argument prototype would still apply.  */
   6487 #ifdef __cplusplus
   6488 extern "C"
   6489 #endif
   6490 char inet_ntoa ();
   6491 int
   6492 main ()
   6493 {
   6494 return inet_ntoa ();
   6495   ;
   6496   return 0;
   6497 }
   6498 _ACEOF
   6499 for ac_lib in '' nsl; do
   6500   if test -z "$ac_lib"; then
   6501     ac_res="none required"
   6502   else
   6503     ac_res=-l$ac_lib
   6504     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6505   fi
   6506   if ac_fn_c_try_link "$LINENO"; then :
   6507   ac_cv_search_inet_ntoa=$ac_res
   6508 fi
   6509 rm -f core conftest.err conftest.$ac_objext \
   6510     conftest$ac_exeext
   6511   if ${ac_cv_search_inet_ntoa+:} false; then :
   6512   break
   6513 fi
   6514 done
   6515 if ${ac_cv_search_inet_ntoa+:} false; then :
   6516 
   6517 else
   6518   ac_cv_search_inet_ntoa=no
   6519 fi
   6520 rm conftest.$ac_ext
   6521 LIBS=$ac_func_search_save_LIBS
   6522 fi
   6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntoa" >&5
   6524 $as_echo "$ac_cv_search_inet_ntoa" >&6; }
   6525 ac_res=$ac_cv_search_inet_ntoa
   6526 if test "$ac_res" != no; then :
   6527   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6528 
   6529 fi
   6530 
   6531 
   6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
   6533 $as_echo_n "checking for library containing inet_aton... " >&6; }
   6534 if ${ac_cv_search_inet_aton+:} false; then :
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537   ac_func_search_save_LIBS=$LIBS
   6538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6539 /* end confdefs.h.  */
   6540 
   6541 /* Override any GCC internal prototype to avoid an error.
   6542    Use char because int might match the return type of a GCC
   6543    builtin and then its argument prototype would still apply.  */
   6544 #ifdef __cplusplus
   6545 extern "C"
   6546 #endif
   6547 char inet_aton ();
   6548 int
   6549 main ()
   6550 {
   6551 return inet_aton ();
   6552   ;
   6553   return 0;
   6554 }
   6555 _ACEOF
   6556 for ac_lib in '' socket nsl; do
   6557   if test -z "$ac_lib"; then
   6558     ac_res="none required"
   6559   else
   6560     ac_res=-l$ac_lib
   6561     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6562   fi
   6563   if ac_fn_c_try_link "$LINENO"; then :
   6564   ac_cv_search_inet_aton=$ac_res
   6565 fi
   6566 rm -f core conftest.err conftest.$ac_objext \
   6567     conftest$ac_exeext
   6568   if ${ac_cv_search_inet_aton+:} false; then :
   6569   break
   6570 fi
   6571 done
   6572 if ${ac_cv_search_inet_aton+:} false; then :
   6573 
   6574 else
   6575   ac_cv_search_inet_aton=no
   6576 fi
   6577 rm conftest.$ac_ext
   6578 LIBS=$ac_func_search_save_LIBS
   6579 fi
   6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
   6581 $as_echo "$ac_cv_search_inet_aton" >&6; }
   6582 ac_res=$ac_cv_search_inet_aton
   6583 if test "$ac_res" != no; then :
   6584   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6585 
   6586 else
   6587 
   6588 $as_echo "#define NEED_INET_ATON 1" >>confdefs.h
   6589 
   6590 fi
   6591 
   6592 
   6593 # Check for a standalone regex library.
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
   6595 $as_echo_n "checking for library containing regcomp... " >&6; }
   6596 if ${ac_cv_search_regcomp+:} false; then :
   6597   $as_echo_n "(cached) " >&6
   6598 else
   6599   ac_func_search_save_LIBS=$LIBS
   6600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 
   6603 /* Override any GCC internal prototype to avoid an error.
   6604    Use char because int might match the return type of a GCC
   6605    builtin and then its argument prototype would still apply.  */
   6606 #ifdef __cplusplus
   6607 extern "C"
   6608 #endif
   6609 char regcomp ();
   6610 int
   6611 main ()
   6612 {
   6613 return regcomp ();
   6614   ;
   6615   return 0;
   6616 }
   6617 _ACEOF
   6618 for ac_lib in '' regex; do
   6619   if test -z "$ac_lib"; then
   6620     ac_res="none required"
   6621   else
   6622     ac_res=-l$ac_lib
   6623     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6624   fi
   6625   if ac_fn_c_try_link "$LINENO"; then :
   6626   ac_cv_search_regcomp=$ac_res
   6627 fi
   6628 rm -f core conftest.err conftest.$ac_objext \
   6629     conftest$ac_exeext
   6630   if ${ac_cv_search_regcomp+:} false; then :
   6631   break
   6632 fi
   6633 done
   6634 if ${ac_cv_search_regcomp+:} false; then :
   6635 
   6636 else
   6637   ac_cv_search_regcomp=no
   6638 fi
   6639 rm conftest.$ac_ext
   6640 LIBS=$ac_func_search_save_LIBS
   6641 fi
   6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
   6643 $as_echo "$ac_cv_search_regcomp" >&6; }
   6644 ac_res=$ac_cv_search_regcomp
   6645 if test "$ac_res" != no; then :
   6646   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6647 
   6648 fi
   6649 
   6650 
   6651 for ac_func in strlcat
   6652 do :
   6653   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   6654 if test "x$ac_cv_func_strlcat" = xyes; then :
   6655   cat >>confdefs.h <<_ACEOF
   6656 #define HAVE_STRLCAT 1
   6657 _ACEOF
   6658 
   6659 fi
   6660 done
   6661 
   6662 
   6663 # For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
   6665 $as_echo_n "checking for library containing if_nametoindex... " >&6; }
   6666 if ${ac_cv_search_if_nametoindex+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   ac_func_search_save_LIBS=$LIBS
   6670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6671 /* end confdefs.h.  */
   6672 
   6673 /* Override any GCC internal prototype to avoid an error.
   6674    Use char because int might match the return type of a GCC
   6675    builtin and then its argument prototype would still apply.  */
   6676 #ifdef __cplusplus
   6677 extern "C"
   6678 #endif
   6679 char if_nametoindex ();
   6680 int
   6681 main ()
   6682 {
   6683 return if_nametoindex ();
   6684   ;
   6685   return 0;
   6686 }
   6687 _ACEOF
   6688 for ac_lib in '' ipv6; do
   6689   if test -z "$ac_lib"; then
   6690     ac_res="none required"
   6691   else
   6692     ac_res=-l$ac_lib
   6693     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   6694   fi
   6695   if ac_fn_c_try_link "$LINENO"; then :
   6696   ac_cv_search_if_nametoindex=$ac_res
   6697 fi
   6698 rm -f core conftest.err conftest.$ac_objext \
   6699     conftest$ac_exeext
   6700   if ${ac_cv_search_if_nametoindex+:} false; then :
   6701   break
   6702 fi
   6703 done
   6704 if ${ac_cv_search_if_nametoindex+:} false; then :
   6705 
   6706 else
   6707   ac_cv_search_if_nametoindex=no
   6708 fi
   6709 rm conftest.$ac_ext
   6710 LIBS=$ac_func_search_save_LIBS
   6711 fi
   6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
   6713 $as_echo "$ac_cv_search_if_nametoindex" >&6; }
   6714 ac_res=$ac_cv_search_if_nametoindex
   6715 if test "$ac_res" != no; then :
   6716   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   6717 
   6718 fi
   6719 
   6720 
   6721 # For some Solaris nanosleep is found by BIND in librt
   6722 have_nanosleep="no"
   6723 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
   6724 if test "x$ac_cv_func_nanosleep" = xyes; then :
   6725   have_nanosleep="yes"
   6726 fi
   6727 
   6728 if test "$have_nanosleep" = "no"; then
   6729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
   6730 $as_echo_n "checking for nanosleep in -lrt... " >&6; }
   6731 if ${ac_cv_lib_rt_nanosleep+:} false; then :
   6732   $as_echo_n "(cached) " >&6
   6733 else
   6734   ac_check_lib_save_LIBS=$LIBS
   6735 LIBS="-lrt  $LIBS"
   6736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6737 /* end confdefs.h.  */
   6738 
   6739 /* Override any GCC internal prototype to avoid an error.
   6740    Use char because int might match the return type of a GCC
   6741    builtin and then its argument prototype would still apply.  */
   6742 #ifdef __cplusplus
   6743 extern "C"
   6744 #endif
   6745 char nanosleep ();
   6746 int
   6747 main ()
   6748 {
   6749 return nanosleep ();
   6750   ;
   6751   return 0;
   6752 }
   6753 _ACEOF
   6754 if ac_fn_c_try_link "$LINENO"; then :
   6755   ac_cv_lib_rt_nanosleep=yes
   6756 else
   6757   ac_cv_lib_rt_nanosleep=no
   6758 fi
   6759 rm -f core conftest.err conftest.$ac_objext \
   6760     conftest$ac_exeext conftest.$ac_ext
   6761 LIBS=$ac_check_lib_save_LIBS
   6762 fi
   6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
   6764 $as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
   6765 if test "x$ac_cv_lib_rt_nanosleep" = xyes; then :
   6766   have_nanosleep="rt"
   6767 fi
   6768 
   6769 fi
   6770 if test "$have_nanosleep" = "rt"; then
   6771 	LIBS="-lrt $LIBS"
   6772 fi
   6773 
   6774 # check for /dev/random (declares HAVE_DEV_RANDOM)
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for random device" >&5
   6776 $as_echo_n "checking for random device... " >&6; }
   6777 
   6778 # Check whether --with-randomdev was given.
   6779 if test "${with_randomdev+set}" = set; then :
   6780   withval=$with_randomdev; use_randomdev="$withval"
   6781 else
   6782   use_randomdev="unspec"
   6783 fi
   6784 
   6785 if test "$use_randomdev" = "unspec"; then
   6786 	if test "$cross_compiling" = "yes"; then
   6787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unspecified" >&5
   6788 $as_echo "unspecified" >&6; }
   6789 		as_fn_error $? " need --with-randomdev=PATH or --with-randomdev=no" "$LINENO" 5
   6790 	fi
   6791 	use_randomdev="/dev/random"
   6792 elif test "$use_randomdev" = "yes"; then
   6793 	use_randomdev="/dev/random"
   6794 fi
   6795 if test "$use_randomdev" = "no"; then
   6796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
   6797 $as_echo "disabled" >&6; }
   6798 	BINDCONFIG="$BINDCONFIG --with-randomdev=no"
   6799 else
   6800 	if test "$cross_compiling" = "yes"; then
   6801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev (unchecked)" >&5
   6802 $as_echo "$use_randomdev (unchecked)" >&6; }
   6803 	else
   6804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_randomdev" >&5
   6805 $as_echo "$use_randomdev" >&6; }
   6806 		as_ac_File=`$as_echo "ac_cv_file_$use_randomdev" | $as_tr_sh`
   6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $use_randomdev" >&5
   6808 $as_echo_n "checking for $use_randomdev... " >&6; }
   6809 if eval \${$as_ac_File+:} false; then :
   6810   $as_echo_n "(cached) " >&6
   6811 else
   6812   test "$cross_compiling" = yes &&
   6813   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   6814 if test -r "$use_randomdev"; then
   6815   eval "$as_ac_File=yes"
   6816 else
   6817   eval "$as_ac_File=no"
   6818 fi
   6819 fi
   6820 eval ac_res=\$$as_ac_File
   6821 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   6822 $as_echo "$ac_res" >&6; }
   6823 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   6824 
   6825 $as_echo "#define HAVE_DEV_RANDOM 1" >>confdefs.h
   6826 
   6827 else
   6828   as_fn_error $? "cannot find $use_randomdev" "$LINENO" 5
   6829 fi
   6830 
   6831 	fi
   6832 	BINDCONFIG="$BINDCONFIG --with-randomdev=$use_randomdev"
   6833 fi
   6834 
   6835 BINDIOMUX="--disable-kqueue --disable-epoll --disable-devpoll"
   6836 # check kqueue/epoll/devpoll alternative to select
   6837 # Check whether --enable-kqueue was given.
   6838 if test "${enable_kqueue+set}" = set; then :
   6839   enableval=$enable_kqueue; want_kqueue="$enableval"
   6840 else
   6841   want_kqueue="no"
   6842 fi
   6843 
   6844 if test "$want_kqueue" = "yes"; then
   6845 	BINDIOMUX="--enable-kqueue"
   6846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&5
   6847 $as_echo "$as_me: WARNING: --enable-kqueue is not supported: it may lead to issues such as server looping" >&2;}
   6848 fi
   6849 # Check whether --enable-epoll was given.
   6850 if test "${enable_epoll+set}" = set; then :
   6851   enableval=$enable_epoll; want_epoll="$enableval"
   6852 else
   6853   want_epoll="no"
   6854 fi
   6855 
   6856 if test "$want_epoll" = "yes"; then
   6857 	BINDIOMUX="--enable-epoll"
   6858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&5
   6859 $as_echo "$as_me: WARNING: --enable-epoll is not supported: it may lead to issues such as server looping" >&2;}
   6860 fi
   6861 # Check whether --enable-devpoll was given.
   6862 if test "${enable_devpoll+set}" = set; then :
   6863   enableval=$enable_devpoll; want_devpoll="$enableval"
   6864 else
   6865   want_devpoll="no"
   6866 fi
   6867 
   6868 if test "$want_devpoll" = "yes"; then
   6869 	BINDIOMUX="--enable-devpoll"
   6870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&5
   6871 $as_echo "$as_me: WARNING: --enable-devpoll is not supported: it may lead to issues such as server looping" >&2;}
   6872 fi
   6873 
   6874 
   6875 # general extra bind configure arguments
   6876 
   6877 # Check whether --with-bind-extra-config was given.
   6878 if test "${with_bind_extra_config+set}" = set; then :
   6879   withval=$with_bind_extra_config; use_xbindconfig="$withval"
   6880 else
   6881   use_xbindconfig=""
   6882 fi
   6883 
   6884 case "$use_xbindconfig" in
   6885 yes|no|'')
   6886 	;;
   6887 *)
   6888 	BINDCONFIG="$BINDCONFIG $use_xbindconfig"
   6889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&5
   6890 $as_echo "$as_me: WARNING: Most options to bind configure are not supported when used by ISC DHCP" >&2;}
   6891 	;;
   6892 esac
   6893 
   6894 # see if there is a "sa_len" field in our interface information structure
   6895 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
   6896 "
   6897 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
   6898 
   6899 $as_echo "#define HAVE_SA_LEN /**/" >>confdefs.h
   6900 
   6901 fi
   6902 
   6903 
   6904 # figure out pointer size
   6905 SAVE_CFLAGS="$CFLAGS"
   6906 CFLAGS="$CFLAGS -I$srcdir"
   6907 # The cast to long int works around a bug in the HP C Compiler
   6908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   6909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   6910 # This bug is HP SR number 8606223364.
   6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of struct iaddr *" >&5
   6912 $as_echo_n "checking size of struct iaddr *... " >&6; }
   6913 if ${ac_cv_sizeof_struct_iaddr_p+:} false; then :
   6914   $as_echo_n "(cached) " >&6
   6915 else
   6916   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (struct iaddr *))" "ac_cv_sizeof_struct_iaddr_p"        "
   6917 #include \"includes/inet.h\"
   6918 #include <stdio.h>
   6919 
   6920 "; then :
   6921 
   6922 else
   6923   if test "$ac_cv_type_struct_iaddr_p" = yes; then
   6924      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   6925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6926 as_fn_error 77 "cannot compute sizeof (struct iaddr *)
   6927 See \`config.log' for more details" "$LINENO" 5; }
   6928    else
   6929      ac_cv_sizeof_struct_iaddr_p=0
   6930    fi
   6931 fi
   6932 
   6933 fi
   6934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_struct_iaddr_p" >&5
   6935 $as_echo "$ac_cv_sizeof_struct_iaddr_p" >&6; }
   6936 
   6937 
   6938 
   6939 cat >>confdefs.h <<_ACEOF
   6940 #define SIZEOF_STRUCT_IADDR_P $ac_cv_sizeof_struct_iaddr_p
   6941 _ACEOF
   6942 
   6943 
   6944 CFLAGS="$SAVE_CFLAGS"
   6945 
   6946 # Solaris does not have the msg_control or msg_controlen members
   6947 # in the msghdr structure unless you define:
   6948 #
   6949 #   _XOPEN_SOURCE, _XOPEN_SOURCE_EXTENDED, and __EXTENSIONS__
   6950 #
   6951 # See the "standards" man page for details.
   6952 #
   6953 # We check for the msg_control member, and if it is not found, we check
   6954 # again with the appropriate defines added to the CFLAGS. (In order to
   6955 # do this we have to remove the check from the cache, which is what the
   6956 # "unset" is for.)
   6957 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   6958 #include <sys/types.h>
   6959 #include <sys/socket.h>
   6960 
   6961 "
   6962 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   6963 
   6964 else
   6965   CFLAGS="$CFLAGS -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
   6966 	 CFLAGS="$CFLAGS -D__EXTENSIONS__"
   6967 	 unset ac_cv_member_struct_msghdr_msg_control
   6968 	 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   6969 #include <sys/types.h>
   6970 #include <sys/socket.h>
   6971 
   6972 "
   6973 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   6974 
   6975 else
   6976   as_fn_error $? "Missing msg_control member in
   6977 			       msg_control structure." "$LINENO" 5
   6978 fi
   6979 
   6980 
   6981 fi
   6982 
   6983 
   6984 ac_fn_c_check_member "$LINENO" "struct tpacket_auxdata" "tp_vlan_tci" "ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" "#include <linux/if_packet.h>
   6985 "
   6986 if test "x$ac_cv_member_struct_tpacket_auxdata_tp_vlan_tci" = xyes; then :
   6987 
   6988 $as_echo "#define VLAN_TCI_PRESENT 1" >>confdefs.h
   6989 
   6990 
   6991 fi
   6992 
   6993 
   6994 # bind/Makefile.in is not from automake so we need 2 variables for bind dir
   6995 BINDSUBDIR=
   6996 BINDDIR=
   6997 BINDSRCDIR=
   6998 BINDLIBIRSDIR=
   6999 BINDLIBDNSDIR=
   7000 BINDLIBISCCFGDIR=
   7001 BINDLIBISCDIR=
   7002 DISTCHECK_LIBBIND_CONFIGURE_FLAG=
   7003 
   7004 # Check whether --with-libbind was given.
   7005 if test "${with_libbind+set}" = set; then :
   7006   withval=$with_libbind; use_libbind="$withval"
   7007 else
   7008   use_libbind="no"
   7009 fi
   7010 
   7011 case "$use_libbind" in
   7012 yes)
   7013 	as_fn_error $? "PATH is required in --with-libbind=PATH" "$LINENO" 5
   7014 	;;
   7015 no)
   7016 	BINDSUBDIR="\${top_srcdir}/bind"
   7017 	my_abs_srcdir=`cd $srcdir && pwd`
   7018 	BINDDIR="${my_abs_srcdir}/bind"
   7019 	if test ! -d "$srcdir/bind"; then
   7020 		as_fn_error $? "Where to find or build bind includes and libraries must be specified" "$LINENO" 5
   7021 	fi
   7022 	if test -d "$srcdir/bind/bind9"; then
   7023 		BINDSRCDIR="${my_abs_srcdir}/bind/bind9"
   7024 	else
   7025 		if test ! -f "$srcdir/bind/version.tmp"; then
   7026 			as_fn_error $? "Cannot find $srcdir/bind/version.tmp" "$LINENO" 5
   7027 		fi
   7028 		. "$srcdir/bind/version.tmp"
   7029 		bindversion=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}
   7030 		BINDSRCDIR="${my_abs_srcdir}/bind/bind-$bindversion"
   7031 	fi
   7032 	ac_config_files="$ac_config_files $srcdir/bind/Makefile"
   7033 
   7034 
   7035 	BINDLIBIRSDIR="$BINDSRCDIR/lib/irs"
   7036 	BINDLIBDNSDIR="$BINDSRCDIR/lib/dns"
   7037 	BINDLIBISCCFGDIR="$BINDSRCDIR/lib/isccfg"
   7038 	BINDLIBISCDIR="$BINDSRCDIR/lib/isc"
   7039 	;;
   7040 *)
   7041 	if test ! -d "$use_libbind"; then
   7042 		as_fn_error $? "Cannot find bind directory at $use_libbind" "$LINENO" 5
   7043 	fi
   7044 	if test ! -d "$use_libbind/include" -o \
   7045 	        ! -f "$use_libbind/include/isc/buffer.h"
   7046 	then
   7047 		as_fn_error $? "Cannot find bind includes at $use_libbind/include" "$LINENO" 5
   7048 	fi
   7049 	if test	! -d "$use_libbind/lib" -o \
   7050 	        \( ! -f "$use_libbind/lib/libisc.a" -a \
   7051 		   ! -f	"$use_libbind/lib/libisc.la" \)
   7052 	then
   7053 		as_fn_error $? "Cannot find bind libraries at $use_libbind/lib" "$LINENO" 5
   7054 	fi
   7055 	BINDDIR="$use_libbind"
   7056 	BINDLIBIRSDIR="$BINDDIR/lib"
   7057 	BINDLIBDNSDIR="$BINDDIR/lib"
   7058 	BINDLIBISCCFGDIR="$BINDDIR/lib"
   7059 	BINDLIBISCDIR="$BINDDIR/lib"
   7060 	DISTCHECK_LIBBIND_CONFIGURE_FLAG="--with-libbind=$use_libbind"
   7061 	;;
   7062 esac
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071  if test "$use_libbind" = "no"; then
   7072   HAVE_BINDDIR_TRUE=
   7073   HAVE_BINDDIR_FALSE='#'
   7074 else
   7075   HAVE_BINDDIR_TRUE='#'
   7076   HAVE_BINDDIR_FALSE=
   7077 fi
   7078 
   7079 
   7080 #
   7081 # GNU libtool support
   7082 #
   7083 case "$build_os" in
   7084 	sunos*)
   7085 		# Just set the maximum command line length for sunos
   7086 		# as it otherwise takes a exceptionally long time to
   7087 		# work it out. Required for libtool.
   7088 
   7089 		lt_cv_sys_max_cmd_len=4096
   7090 		;;
   7091 esac
   7092 
   7093 want_libtool="no"
   7094 
   7095 BINDLT=
   7096 DISTCHECK_LIBTOOL_CONFIGURE_FLAG=
   7097 # Check whether --enable-libtool was given.
   7098 if test "${enable_libtool+set}" = set; then :
   7099   enableval=$enable_libtool; want_libtool="$enableval"
   7100 fi
   7101 
   7102 
   7103 if test "$use_libbind" != "no"; then
   7104 	if test "$want_libtool" = "yes" -a \
   7105 	        ! -f "$use_libbind/lib/libisc.la"
   7106 	then
   7107 		as_fn_error $? "Cannot find dynamic libraries at $use_libbind/lib" "$LINENO" 5
   7108 	fi
   7109 	if test "$want_libtool" = "no" -a \
   7110 	        ! -f "$use_libbind/lib/libisc.a"
   7111 	then
   7112 		as_fn_error $? "Cannot find static libraries at $use_libbind/lib" "$LINENO" 5
   7113 	fi
   7114 fi
   7115 
   7116 
   7117 if test "$want_libtool" = "yes"; then
   7118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: legacy configure is used but libtool is enabled. Trying to recover..." >&5
   7119 $as_echo "$as_me: WARNING: legacy configure is used but libtool is enabled. Trying to recover..." >&2;}
   7120 	# expand $ac_configure_args
   7121 	eval "set my_configure_args $ac_configure_args"
   7122 	shift
   7123 	cd $srcdir; exec ./config+lt "$@"
   7124 	as_fn_error $? "Recovering failed" "$LINENO" 5
   7125 fi
   7126 
   7127 DHLIBS=LIBRARIES
   7128 A=a
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 # quoting in Makefile.am.in
   7136 Q=@
   7137 
   7138 
   7139 # install bind includes and libraries
   7140 
   7141 want_install_bind="no"
   7142 if test "$want_libtool" = "yes"; then
   7143 	want_install_bind="yes"
   7144 fi
   7145 if test "$use_libbind" != "no"; then
   7146 	want_install_bind="no"
   7147 fi
   7148 # Check whether --enable-bind_install was given.
   7149 if test "${enable_bind_install+set}" = set; then :
   7150   enableval=$enable_bind_install; want_install_bind="$enableval"
   7151 fi
   7152 
   7153 if test "$want_install_bind" = "yes"; then
   7154         if test "$use_libbind" != "no"; then
   7155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-bind-install does nothing when --with-libbind is set" >&5
   7156 $as_echo "$as_me: WARNING: --enable-bind-install does nothing when --with-libbind is set" >&2;}
   7157 	fi
   7158 elif test "$want_libtool" = "yes" -a "$use_libbind" = "no"; then
   7159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: embedded dynamic bind libraries must be installed" >&5
   7160 $as_echo "$as_me: WARNING: embedded dynamic bind libraries must be installed" >&2;}
   7161 fi
   7162  if test "$want_install_bind" = "yes"; then
   7163   INSTALL_BIND_TRUE=
   7164   INSTALL_BIND_FALSE='#'
   7165 else
   7166   INSTALL_BIND_TRUE='#'
   7167   INSTALL_BIND_FALSE=
   7168 fi
   7169 
   7170 
   7171 # OpenLDAP support.
   7172 
   7173 # Check whether --with-ldap was given.
   7174 if test "${with_ldap+set}" = set; then :
   7175   withval=$with_ldap; ldap=$withval
   7176 else
   7177   ldap=no
   7178 fi
   7179 
   7180 
   7181 # OpenLDAP with SSL support.
   7182 
   7183 # Check whether --with-ldapcrypto was given.
   7184 if test "${with_ldapcrypto+set}" = set; then :
   7185   withval=$with_ldapcrypto; ldapcrypto=$withval
   7186 else
   7187   ldapcrypto=no
   7188 fi
   7189 
   7190 
   7191 # Gssapi to allow LDAP to authenticate with a keytab
   7192 
   7193 # Check whether --with-ldap-gssapi was given.
   7194 if test "${with_ldap_gssapi+set}" = set; then :
   7195   withval=$with_ldap_gssapi; ldap_gssapi=$withval
   7196 else
   7197   ldap_gssapi=no
   7198 fi
   7199 
   7200 
   7201 
   7202 # LDAP CASA auth support.
   7203 
   7204 # Check whether --with-ldapcasa was given.
   7205 if test "${with_ldapcasa+set}" = set; then :
   7206   withval=$with_ldapcasa; ldapcasa=$withval
   7207 else
   7208   ldapcasa=no
   7209 fi
   7210 
   7211 
   7212 # OpenLDAP support is disabled by default, if enabled then SSL support is an
   7213 # extra optional that is also disabled by default.  Enabling LDAP SSL support
   7214 # implies enabling LDAP support. Similarly, KRB5 support implies LDAP support,
   7215 # but doesn't include SSL. The two are not dependant.
   7216 if test x$ldap = xyes || test x$ldapcrypto = xyes || test x$ldap_gssapi = xyes; then
   7217     saved_LIBS="$LIBS"
   7218     LIBS=""
   7219     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
   7220 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
   7221 if ${ac_cv_search_ldap_initialize+:} false; then :
   7222   $as_echo_n "(cached) " >&6
   7223 else
   7224   ac_func_search_save_LIBS=$LIBS
   7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 
   7228 /* Override any GCC internal prototype to avoid an error.
   7229    Use char because int might match the return type of a GCC
   7230    builtin and then its argument prototype would still apply.  */
   7231 #ifdef __cplusplus
   7232 extern "C"
   7233 #endif
   7234 char ldap_initialize ();
   7235 int
   7236 main ()
   7237 {
   7238 return ldap_initialize ();
   7239   ;
   7240   return 0;
   7241 }
   7242 _ACEOF
   7243 for ac_lib in '' ldap; do
   7244   if test -z "$ac_lib"; then
   7245     ac_res="none required"
   7246   else
   7247     ac_res=-l$ac_lib
   7248     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   7249   fi
   7250   if ac_fn_c_try_link "$LINENO"; then :
   7251   ac_cv_search_ldap_initialize=$ac_res
   7252 fi
   7253 rm -f core conftest.err conftest.$ac_objext \
   7254     conftest$ac_exeext
   7255   if ${ac_cv_search_ldap_initialize+:} false; then :
   7256   break
   7257 fi
   7258 done
   7259 if ${ac_cv_search_ldap_initialize+:} false; then :
   7260 
   7261 else
   7262   ac_cv_search_ldap_initialize=no
   7263 fi
   7264 rm conftest.$ac_ext
   7265 LIBS=$ac_func_search_save_LIBS
   7266 fi
   7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
   7268 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
   7269 ac_res=$ac_cv_search_ldap_initialize
   7270 if test "$ac_res" != no; then :
   7271   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   7272 
   7273 else
   7274   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7276 as_fn_error $? "*** Cannot find ldap_initialize with -lldap - do you need to install an OpenLDAP2 Devel package?
   7277 See \`config.log' for more details" "$LINENO" 5; }
   7278 fi
   7279 
   7280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ber_pvt_opt_on" >&5
   7281 $as_echo_n "checking for library containing ber_pvt_opt_on... " >&6; }
   7282 if ${ac_cv_search_ber_pvt_opt_on+:} false; then :
   7283   $as_echo_n "(cached) " >&6
   7284 else
   7285   ac_func_search_save_LIBS=$LIBS
   7286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7287 /* end confdefs.h.  */
   7288 
   7289 /* Override any GCC internal prototype to avoid an error.
   7290    Use char because int might match the return type of a GCC
   7291    builtin and then its argument prototype would still apply.  */
   7292 #ifdef __cplusplus
   7293 extern "C"
   7294 #endif
   7295 char ber_pvt_opt_on ();
   7296 int
   7297 main ()
   7298 {
   7299 return ber_pvt_opt_on ();
   7300   ;
   7301   return 0;
   7302 }
   7303 _ACEOF
   7304 for ac_lib in '' lber; do
   7305   if test -z "$ac_lib"; then
   7306     ac_res="none required"
   7307   else
   7308     ac_res=-l$ac_lib
   7309     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   7310   fi
   7311   if ac_fn_c_try_link "$LINENO"; then :
   7312   ac_cv_search_ber_pvt_opt_on=$ac_res
   7313 fi
   7314 rm -f core conftest.err conftest.$ac_objext \
   7315     conftest$ac_exeext
   7316   if ${ac_cv_search_ber_pvt_opt_on+:} false; then :
   7317   break
   7318 fi
   7319 done
   7320 if ${ac_cv_search_ber_pvt_opt_on+:} false; then :
   7321 
   7322 else
   7323   ac_cv_search_ber_pvt_opt_on=no
   7324 fi
   7325 rm conftest.$ac_ext
   7326 LIBS=$ac_func_search_save_LIBS
   7327 fi
   7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ber_pvt_opt_on" >&5
   7329 $as_echo "$ac_cv_search_ber_pvt_opt_on" >&6; }
   7330 ac_res=$ac_cv_search_ber_pvt_opt_on
   7331 if test "$ac_res" != no; then :
   7332   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   7333 
   7334 else
   7335   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7337 as_fn_error $? "*** Cannot find ber_pvt_opt_on with -llber - do you need to install an OpenLDAP2 Devel package?
   7338 See \`config.log' for more details" "$LINENO" 5; }
   7339 fi
   7340 
   7341     if test x$ldap_gssapi = xyes ; then
   7342     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing krb5_init_context" >&5
   7343 $as_echo_n "checking for library containing krb5_init_context... " >&6; }
   7344 if ${ac_cv_search_krb5_init_context+:} false; then :
   7345   $as_echo_n "(cached) " >&6
   7346 else
   7347   ac_func_search_save_LIBS=$LIBS
   7348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7349 /* end confdefs.h.  */
   7350 
   7351 /* Override any GCC internal prototype to avoid an error.
   7352    Use char because int might match the return type of a GCC
   7353    builtin and then its argument prototype would still apply.  */
   7354 #ifdef __cplusplus
   7355 extern "C"
   7356 #endif
   7357 char krb5_init_context ();
   7358 int
   7359 main ()
   7360 {
   7361 return krb5_init_context ();
   7362   ;
   7363   return 0;
   7364 }
   7365 _ACEOF
   7366 for ac_lib in '' krb5; do
   7367   if test -z "$ac_lib"; then
   7368     ac_res="none required"
   7369   else
   7370     ac_res=-l$ac_lib
   7371     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   7372   fi
   7373   if ac_fn_c_try_link "$LINENO"; then :
   7374   ac_cv_search_krb5_init_context=$ac_res
   7375 fi
   7376 rm -f core conftest.err conftest.$ac_objext \
   7377     conftest$ac_exeext
   7378   if ${ac_cv_search_krb5_init_context+:} false; then :
   7379   break
   7380 fi
   7381 done
   7382 if ${ac_cv_search_krb5_init_context+:} false; then :
   7383 
   7384 else
   7385   ac_cv_search_krb5_init_context=no
   7386 fi
   7387 rm conftest.$ac_ext
   7388 LIBS=$ac_func_search_save_LIBS
   7389 fi
   7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_krb5_init_context" >&5
   7391 $as_echo "$ac_cv_search_krb5_init_context" >&6; }
   7392 ac_res=$ac_cv_search_krb5_init_context
   7393 if test "$ac_res" != no; then :
   7394   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   7395 
   7396 else
   7397   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7399 as_fn_error $? "*** Cannot find krb5_init_context with -lkrb5 - do you need to install a Kerberos Devel package?
   7400 See \`config.log' for more details" "$LINENO" 5; }
   7401 fi
   7402 
   7403     fi
   7404 
   7405     # Create LDAP_LIBS which we specify them explicitly rather than lumping them in with LIBS
   7406     LDAP_LIBS=$LIBS
   7407 
   7408     LIBS="$saved_LIBS"
   7409 
   7410 
   7411     for ac_header in ldap.h
   7412 do :
   7413   ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
   7414 if test "x$ac_cv_header_ldap_h" = xyes; then :
   7415   cat >>confdefs.h <<_ACEOF
   7416 #define HAVE_LDAP_H 1
   7417 _ACEOF
   7418 
   7419 fi
   7420 
   7421 done
   7422 
   7423     for ac_func in inet_pton inet_ntop
   7424 do :
   7425   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   7427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   7428   cat >>confdefs.h <<_ACEOF
   7429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7430 _ACEOF
   7431 
   7432 fi
   7433 done
   7434 
   7435 
   7436 
   7437     LDAP_CFLAGS="-DLDAP_CONFIGURATION"
   7438 
   7439     if test x$ldapcasa = xyes ; then
   7440     for ac_header in micasa_mgmd.h
   7441 do :
   7442   ac_fn_c_check_header_mongrel "$LINENO" "micasa_mgmd.h" "ac_cv_header_micasa_mgmd_h" "$ac_includes_default"
   7443 if test "x$ac_cv_header_micasa_mgmd_h" = xyes; then :
   7444   cat >>confdefs.h <<_ACEOF
   7445 #define HAVE_MICASA_MGMD_H 1
   7446 _ACEOF
   7447 
   7448            LDAP_CFLAGS="$LDAP_CFLAGS -DLDAP_CASA_AUTH"
   7449 
   7450 else
   7451   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7453 as_fn_error $? "*** Cannot find micasa_mgmd.h for ldap casa auth support
   7454 See \`config.log' for more details" "$LINENO" 5; }
   7455 fi
   7456 
   7457 done
   7458 
   7459     fi
   7460 
   7461     if test x$ldapcrypto = xyes ; then
   7462     LDAP_CFLAGS="$LDAP_CFLAGS -DLDAP_USE_SSL"
   7463     fi
   7464 
   7465     if test x$ldap_gssapi = xyes; then
   7466     LDAP_CFLAGS="$LDAP_CFLAGS -DLDAP_USE_GSSAPI"
   7467     fi
   7468 
   7469     LDAP_CFLAGS=$LDAP_CFLAGS
   7470 
   7471 fi
   7472 
   7473 # Append selected warning levels to CFLAGS before substitution (but after
   7474 # AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) & etc).
   7475 CFLAGS="$CFLAGS $STD_CWARNINGS"
   7476 
   7477 # Try to add the bind and dhcp include directories
   7478 CFLAGS="$CFLAGS -I\$(top_srcdir)/includes -I$BINDDIR/include"
   7479 
   7480 case "$host" in
   7481 *-darwin*)
   7482     CFLAGS="$CFLAGS -D__APPLE_USE_RFC_3542";;
   7483 *-solaris*)
   7484     # As of Solaris 11, ethernet dev files are in /dev/net
   7485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/net" >&5
   7486 $as_echo_n "checking for /dev/net... " >&6; }
   7487 if ${ac_cv_file__dev_net+:} false; then :
   7488   $as_echo_n "(cached) " >&6
   7489 else
   7490   test "$cross_compiling" = yes &&
   7491   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   7492 if test -r "/dev/net"; then
   7493   ac_cv_file__dev_net=yes
   7494 else
   7495   ac_cv_file__dev_net=no
   7496 fi
   7497 fi
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__dev_net" >&5
   7499 $as_echo "$ac_cv_file__dev_net" >&6; }
   7500 if test "x$ac_cv_file__dev_net" = xyes; then :
   7501 
   7502 $as_echo "#define USE_DEV_NET 1" >>confdefs.h
   7503 
   7504 fi
   7505 
   7506     ;;
   7507 esac
   7508 
   7509 
   7510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
   7511 $as_echo_n "checking for flexible array members... " >&6; }
   7512 if ${ac_cv_c_flexmember+:} false; then :
   7513   $as_echo_n "(cached) " >&6
   7514 else
   7515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7516 /* end confdefs.h.  */
   7517 #include <stdlib.h>
   7518 	    #include <stdio.h>
   7519 	    #include <stddef.h>
   7520 	    struct s { int n; double d[]; };
   7521 int
   7522 main ()
   7523 {
   7524 int m = getchar ();
   7525 	    struct s *p = malloc (offsetof (struct s, d)
   7526 				  + m * sizeof (double));
   7527 	    p->d[0] = 0.0;
   7528 	    return p->d != (double *) NULL;
   7529   ;
   7530   return 0;
   7531 }
   7532 _ACEOF
   7533 if ac_fn_c_try_compile "$LINENO"; then :
   7534   ac_cv_c_flexmember=yes
   7535 else
   7536   ac_cv_c_flexmember=no
   7537 fi
   7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7539 fi
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
   7541 $as_echo "$ac_cv_c_flexmember" >&6; }
   7542   if test $ac_cv_c_flexmember = yes; then
   7543 
   7544 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
   7545 
   7546   else
   7547     $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
   7548 
   7549   fi
   7550 
   7551 
   7552 ac_config_files="$ac_config_files Makefile client/Makefile client/tests/Makefile common/Makefile.am common/Makefile common/tests/Makefile dhcpctl/Makefile.am dhcpctl/Makefile includes/Makefile omapip/Makefile.am omapip/Makefile relay/Makefile server/Makefile tests/Makefile.am tests/Makefile tests/unittest.sh server/tests/Makefile doc/devel/doxyfile"
   7553 
   7554 cat >confcache <<\_ACEOF
   7555 # This file is a shell script that caches the results of configure
   7556 # tests run on this system so they can be shared between configure
   7557 # scripts and configure runs, see configure's option --config-cache.
   7558 # It is not useful on other systems.  If it contains results you don't
   7559 # want to keep, you may remove or edit it.
   7560 #
   7561 # config.status only pays attention to the cache file if you give it
   7562 # the --recheck option to rerun configure.
   7563 #
   7564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   7565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   7566 # following values.
   7567 
   7568 _ACEOF
   7569 
   7570 # The following way of writing the cache mishandles newlines in values,
   7571 # but we know of no workaround that is simple, portable, and efficient.
   7572 # So, we kill variables containing newlines.
   7573 # Ultrix sh set writes to stderr and can't be redirected directly,
   7574 # and sets the high bit in the cache file unless we assign to the vars.
   7575 (
   7576   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   7577     eval ac_val=\$$ac_var
   7578     case $ac_val in #(
   7579     *${as_nl}*)
   7580       case $ac_var in #(
   7581       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   7582 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   7583       esac
   7584       case $ac_var in #(
   7585       _ | IFS | as_nl) ;; #(
   7586       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   7587       *) { eval $ac_var=; unset $ac_var;} ;;
   7588       esac ;;
   7589     esac
   7590   done
   7591 
   7592   (set) 2>&1 |
   7593     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   7594     *${as_nl}ac_space=\ *)
   7595       # `set' does not quote correctly, so add quotes: double-quote
   7596       # substitution turns \\\\ into \\, and sed turns \\ into \.
   7597       sed -n \
   7598 	"s/'/'\\\\''/g;
   7599 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   7600       ;; #(
   7601     *)
   7602       # `set' quotes correctly as required by POSIX, so do not add quotes.
   7603       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   7604       ;;
   7605     esac |
   7606     sort
   7607 ) |
   7608   sed '
   7609      /^ac_cv_env_/b end
   7610      t clear
   7611      :clear
   7612      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   7613      t end
   7614      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   7615      :end' >>confcache
   7616 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   7617   if test -w "$cache_file"; then
   7618     if test "x$cache_file" != "x/dev/null"; then
   7619       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   7620 $as_echo "$as_me: updating cache $cache_file" >&6;}
   7621       if test ! -f "$cache_file" || test -h "$cache_file"; then
   7622 	cat confcache >"$cache_file"
   7623       else
   7624         case $cache_file in #(
   7625         */* | ?:*)
   7626 	  mv -f confcache "$cache_file"$$ &&
   7627 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   7628         *)
   7629 	  mv -f confcache "$cache_file" ;;
   7630 	esac
   7631       fi
   7632     fi
   7633   else
   7634     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   7635 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   7636   fi
   7637 fi
   7638 rm -f confcache
   7639 
   7640 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   7641 # Let make expand exec_prefix.
   7642 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   7643 
   7644 DEFS=-DHAVE_CONFIG_H
   7645 
   7646 ac_libobjs=
   7647 ac_ltlibobjs=
   7648 U=
   7649 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   7650   # 1. Remove the extension, and $U if already installed.
   7651   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   7652   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   7653   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   7654   #    will be set to the directory where LIBOBJS objects are built.
   7655   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   7656   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   7657 done
   7658 LIBOBJS=$ac_libobjs
   7659 
   7660 LTLIBOBJS=$ac_ltlibobjs
   7661 
   7662 
   7663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   7664 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   7665    if test -n "$am_sleep_pid"; then
   7666      # Hide warnings about reused PIDs.
   7667      wait $am_sleep_pid 2>/dev/null
   7668    fi
   7669    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   7670 $as_echo "done" >&6; }
   7671  if test -n "$EXEEXT"; then
   7672   am__EXEEXT_TRUE=
   7673   am__EXEEXT_FALSE='#'
   7674 else
   7675   am__EXEEXT_TRUE='#'
   7676   am__EXEEXT_FALSE=
   7677 fi
   7678 
   7679 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   7680   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   7681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7682 fi
   7683 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   7684   as_fn_error $? "conditional \"AMDEP\" was never defined.
   7685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7686 fi
   7687 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   7688   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   7689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7690 fi
   7691 
   7692 if test -z "${BIND_ATF_TRUE}" && test -z "${BIND_ATF_FALSE}"; then
   7693   as_fn_error $? "conditional \"BIND_ATF\" was never defined.
   7694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7695 fi
   7696 if test -z "${HAVE_ATF_TRUE}" && test -z "${HAVE_ATF_FALSE}"; then
   7697   as_fn_error $? "conditional \"HAVE_ATF\" was never defined.
   7698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7699 fi
   7700 if test -z "${HAVE_BINDDIR_TRUE}" && test -z "${HAVE_BINDDIR_FALSE}"; then
   7701   as_fn_error $? "conditional \"HAVE_BINDDIR\" was never defined.
   7702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7703 fi
   7704 if test -z "${INSTALL_BIND_TRUE}" && test -z "${INSTALL_BIND_FALSE}"; then
   7705   as_fn_error $? "conditional \"INSTALL_BIND\" was never defined.
   7706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   7707 fi
   7708 
   7709 : "${CONFIG_STATUS=./config.status}"
   7710 ac_write_fail=0
   7711 ac_clean_files_save=$ac_clean_files
   7712 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   7713 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   7714 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   7715 as_write_fail=0
   7716 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   7717 #! $SHELL
   7718 # Generated by $as_me.
   7719 # Run this file to recreate the current configuration.
   7720 # Compiler output produced by configure, useful for debugging
   7721 # configure, is in config.log if it exists.
   7722 
   7723 debug=false
   7724 ac_cs_recheck=false
   7725 ac_cs_silent=false
   7726 
   7727 SHELL=\${CONFIG_SHELL-$SHELL}
   7728 export SHELL
   7729 _ASEOF
   7730 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   7731 ## -------------------- ##
   7732 ## M4sh Initialization. ##
   7733 ## -------------------- ##
   7734 
   7735 # Be more Bourne compatible
   7736 DUALCASE=1; export DUALCASE # for MKS sh
   7737 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   7738   emulate sh
   7739   NULLCMD=:
   7740   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   7741   # is contrary to our usage.  Disable this feature.
   7742   alias -g '${1+"$@"}'='"$@"'
   7743   setopt NO_GLOB_SUBST
   7744 else
   7745   case `(set -o) 2>/dev/null` in #(
   7746   *posix*) :
   7747     set -o posix ;; #(
   7748   *) :
   7749      ;;
   7750 esac
   7751 fi
   7752 
   7753 
   7754 as_nl='
   7755 '
   7756 export as_nl
   7757 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   7758 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   7759 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   7760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   7761 # Prefer a ksh shell builtin over an external printf program on Solaris,
   7762 # but without wasting forks for bash or zsh.
   7763 if test -z "$BASH_VERSION$ZSH_VERSION" \
   7764     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   7765   as_echo='print -r --'
   7766   as_echo_n='print -rn --'
   7767 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   7768   as_echo='printf %s\n'
   7769   as_echo_n='printf %s'
   7770 else
   7771   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   7772     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   7773     as_echo_n='/usr/ucb/echo -n'
   7774   else
   7775     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   7776     as_echo_n_body='eval
   7777       arg=$1;
   7778       case $arg in #(
   7779       *"$as_nl"*)
   7780 	expr "X$arg" : "X\\(.*\\)$as_nl";
   7781 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   7782       esac;
   7783       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   7784     '
   7785     export as_echo_n_body
   7786     as_echo_n='sh -c $as_echo_n_body as_echo'
   7787   fi
   7788   export as_echo_body
   7789   as_echo='sh -c $as_echo_body as_echo'
   7790 fi
   7791 
   7792 # The user is always right.
   7793 if test "${PATH_SEPARATOR+set}" != set; then
   7794   PATH_SEPARATOR=:
   7795   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   7796     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   7797       PATH_SEPARATOR=';'
   7798   }
   7799 fi
   7800 
   7801 
   7802 # IFS
   7803 # We need space, tab and new line, in precisely that order.  Quoting is
   7804 # there to prevent editors from complaining about space-tab.
   7805 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   7806 # splitting by setting IFS to empty value.)
   7807 IFS=" ""	$as_nl"
   7808 
   7809 # Find who we are.  Look in the path if we contain no directory separator.
   7810 as_myself=
   7811 case $0 in #((
   7812   *[\\/]* ) as_myself=$0 ;;
   7813   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7814 for as_dir in $PATH
   7815 do
   7816   IFS=$as_save_IFS
   7817   test -z "$as_dir" && as_dir=.
   7818     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   7819   done
   7820 IFS=$as_save_IFS
   7821 
   7822      ;;
   7823 esac
   7824 # We did not find ourselves, most probably we were run as `sh COMMAND'
   7825 # in which case we are not to be found in the path.
   7826 if test "x$as_myself" = x; then
   7827   as_myself=$0
   7828 fi
   7829 if test ! -f "$as_myself"; then
   7830   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   7831   exit 1
   7832 fi
   7833 
   7834 # Unset variables that we do not need and which cause bugs (e.g. in
   7835 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   7836 # suppresses any "Segmentation fault" message there.  '((' could
   7837 # trigger a bug in pdksh 5.2.14.
   7838 for as_var in BASH_ENV ENV MAIL MAILPATH
   7839 do eval test x\${$as_var+set} = xset \
   7840   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   7841 done
   7842 PS1='$ '
   7843 PS2='> '
   7844 PS4='+ '
   7845 
   7846 # NLS nuisances.
   7847 LC_ALL=C
   7848 export LC_ALL
   7849 LANGUAGE=C
   7850 export LANGUAGE
   7851 
   7852 # CDPATH.
   7853 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   7854 
   7855 
   7856 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   7857 # ----------------------------------------
   7858 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   7859 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   7860 # script with STATUS, using 1 if that was 0.
   7861 as_fn_error ()
   7862 {
   7863   as_status=$1; test $as_status -eq 0 && as_status=1
   7864   if test "$4"; then
   7865     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   7866     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   7867   fi
   7868   $as_echo "$as_me: error: $2" >&2
   7869   as_fn_exit $as_status
   7870 } # as_fn_error
   7871 
   7872 
   7873 # as_fn_set_status STATUS
   7874 # -----------------------
   7875 # Set $? to STATUS, without forking.
   7876 as_fn_set_status ()
   7877 {
   7878   return $1
   7879 } # as_fn_set_status
   7880 
   7881 # as_fn_exit STATUS
   7882 # -----------------
   7883 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   7884 as_fn_exit ()
   7885 {
   7886   set +e
   7887   as_fn_set_status $1
   7888   exit $1
   7889 } # as_fn_exit
   7890 
   7891 # as_fn_unset VAR
   7892 # ---------------
   7893 # Portably unset VAR.
   7894 as_fn_unset ()
   7895 {
   7896   { eval $1=; unset $1;}
   7897 }
   7898 as_unset=as_fn_unset
   7899 # as_fn_append VAR VALUE
   7900 # ----------------------
   7901 # Append the text in VALUE to the end of the definition contained in VAR. Take
   7902 # advantage of any shell optimizations that allow amortized linear growth over
   7903 # repeated appends, instead of the typical quadratic growth present in naive
   7904 # implementations.
   7905 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   7906   eval 'as_fn_append ()
   7907   {
   7908     eval $1+=\$2
   7909   }'
   7910 else
   7911   as_fn_append ()
   7912   {
   7913     eval $1=\$$1\$2
   7914   }
   7915 fi # as_fn_append
   7916 
   7917 # as_fn_arith ARG...
   7918 # ------------------
   7919 # Perform arithmetic evaluation on the ARGs, and store the result in the
   7920 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   7921 # must be portable across $(()) and expr.
   7922 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   7923   eval 'as_fn_arith ()
   7924   {
   7925     as_val=$(( $* ))
   7926   }'
   7927 else
   7928   as_fn_arith ()
   7929   {
   7930     as_val=`expr "$@" || test $? -eq 1`
   7931   }
   7932 fi # as_fn_arith
   7933 
   7934 
   7935 if expr a : '\(a\)' >/dev/null 2>&1 &&
   7936    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   7937   as_expr=expr
   7938 else
   7939   as_expr=false
   7940 fi
   7941 
   7942 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   7943   as_basename=basename
   7944 else
   7945   as_basename=false
   7946 fi
   7947 
   7948 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   7949   as_dirname=dirname
   7950 else
   7951   as_dirname=false
   7952 fi
   7953 
   7954 as_me=`$as_basename -- "$0" ||
   7955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   7956 	 X"$0" : 'X\(//\)$' \| \
   7957 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   7958 $as_echo X/"$0" |
   7959     sed '/^.*\/\([^/][^/]*\)\/*$/{
   7960 	    s//\1/
   7961 	    q
   7962 	  }
   7963 	  /^X\/\(\/\/\)$/{
   7964 	    s//\1/
   7965 	    q
   7966 	  }
   7967 	  /^X\/\(\/\).*/{
   7968 	    s//\1/
   7969 	    q
   7970 	  }
   7971 	  s/.*/./; q'`
   7972 
   7973 # Avoid depending upon Character Ranges.
   7974 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   7975 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   7976 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   7977 as_cr_digits='0123456789'
   7978 as_cr_alnum=$as_cr_Letters$as_cr_digits
   7979 
   7980 ECHO_C= ECHO_N= ECHO_T=
   7981 case `echo -n x` in #(((((
   7982 -n*)
   7983   case `echo 'xy\c'` in
   7984   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   7985   xy)  ECHO_C='\c';;
   7986   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   7987        ECHO_T='	';;
   7988   esac;;
   7989 *)
   7990   ECHO_N='-n';;
   7991 esac
   7992 
   7993 rm -f conf$$ conf$$.exe conf$$.file
   7994 if test -d conf$$.dir; then
   7995   rm -f conf$$.dir/conf$$.file
   7996 else
   7997   rm -f conf$$.dir
   7998   mkdir conf$$.dir 2>/dev/null
   7999 fi
   8000 if (echo >conf$$.file) 2>/dev/null; then
   8001   if ln -s conf$$.file conf$$ 2>/dev/null; then
   8002     as_ln_s='ln -s'
   8003     # ... but there are two gotchas:
   8004     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   8005     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   8006     # In both cases, we have to default to `cp -pR'.
   8007     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   8008       as_ln_s='cp -pR'
   8009   elif ln conf$$.file conf$$ 2>/dev/null; then
   8010     as_ln_s=ln
   8011   else
   8012     as_ln_s='cp -pR'
   8013   fi
   8014 else
   8015   as_ln_s='cp -pR'
   8016 fi
   8017 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   8018 rmdir conf$$.dir 2>/dev/null
   8019 
   8020 
   8021 # as_fn_mkdir_p
   8022 # -------------
   8023 # Create "$as_dir" as a directory, including parents if necessary.
   8024 as_fn_mkdir_p ()
   8025 {
   8026 
   8027   case $as_dir in #(
   8028   -*) as_dir=./$as_dir;;
   8029   esac
   8030   test -d "$as_dir" || eval $as_mkdir_p || {
   8031     as_dirs=
   8032     while :; do
   8033       case $as_dir in #(
   8034       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   8035       *) as_qdir=$as_dir;;
   8036       esac
   8037       as_dirs="'$as_qdir' $as_dirs"
   8038       as_dir=`$as_dirname -- "$as_dir" ||
   8039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8040 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   8041 	 X"$as_dir" : 'X\(//\)$' \| \
   8042 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   8043 $as_echo X"$as_dir" |
   8044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8045 	    s//\1/
   8046 	    q
   8047 	  }
   8048 	  /^X\(\/\/\)[^/].*/{
   8049 	    s//\1/
   8050 	    q
   8051 	  }
   8052 	  /^X\(\/\/\)$/{
   8053 	    s//\1/
   8054 	    q
   8055 	  }
   8056 	  /^X\(\/\).*/{
   8057 	    s//\1/
   8058 	    q
   8059 	  }
   8060 	  s/.*/./; q'`
   8061       test -d "$as_dir" && break
   8062     done
   8063     test -z "$as_dirs" || eval "mkdir $as_dirs"
   8064   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   8065 
   8066 
   8067 } # as_fn_mkdir_p
   8068 if mkdir -p . 2>/dev/null; then
   8069   as_mkdir_p='mkdir -p "$as_dir"'
   8070 else
   8071   test -d ./-p && rmdir ./-p
   8072   as_mkdir_p=false
   8073 fi
   8074 
   8075 
   8076 # as_fn_executable_p FILE
   8077 # -----------------------
   8078 # Test if FILE is an executable regular file.
   8079 as_fn_executable_p ()
   8080 {
   8081   test -f "$1" && test -x "$1"
   8082 } # as_fn_executable_p
   8083 as_test_x='test -x'
   8084 as_executable_p=as_fn_executable_p
   8085 
   8086 # Sed expression to map a string onto a valid CPP name.
   8087 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   8088 
   8089 # Sed expression to map a string onto a valid variable name.
   8090 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   8091 
   8092 
   8093 exec 6>&1
   8094 ## ----------------------------------- ##
   8095 ## Main body of $CONFIG_STATUS script. ##
   8096 ## ----------------------------------- ##
   8097 _ASEOF
   8098 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   8099 
   8100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8101 # Save the log message, to keep $0 and so on meaningful, and to
   8102 # report actual input values of CONFIG_FILES etc. instead of their
   8103 # values after options handling.
   8104 ac_log="
   8105 This file was extended by DHCP $as_me 4.4.1, which was
   8106 generated by GNU Autoconf 2.69.  Invocation command line was
   8107 
   8108   CONFIG_FILES    = $CONFIG_FILES
   8109   CONFIG_HEADERS  = $CONFIG_HEADERS
   8110   CONFIG_LINKS    = $CONFIG_LINKS
   8111   CONFIG_COMMANDS = $CONFIG_COMMANDS
   8112   $ $0 $@
   8113 
   8114 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   8115 "
   8116 
   8117 _ACEOF
   8118 
   8119 case $ac_config_files in *"
   8120 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   8121 esac
   8122 
   8123 case $ac_config_headers in *"
   8124 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   8125 esac
   8126 
   8127 
   8128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8129 # Files that config.status was made for.
   8130 config_files="$ac_config_files"
   8131 config_headers="$ac_config_headers"
   8132 config_commands="$ac_config_commands"
   8133 
   8134 _ACEOF
   8135 
   8136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8137 ac_cs_usage="\
   8138 \`$as_me' instantiates files and other configuration actions
   8139 from templates according to the current configuration.  Unless the files
   8140 and actions are specified as TAGs, all are instantiated by default.
   8141 
   8142 Usage: $0 [OPTION]... [TAG]...
   8143 
   8144   -h, --help       print this help, then exit
   8145   -V, --version    print version number and configuration settings, then exit
   8146       --config     print configuration, then exit
   8147   -q, --quiet, --silent
   8148                    do not print progress messages
   8149   -d, --debug      don't remove temporary files
   8150       --recheck    update $as_me by reconfiguring in the same conditions
   8151       --file=FILE[:TEMPLATE]
   8152                    instantiate the configuration file FILE
   8153       --header=FILE[:TEMPLATE]
   8154                    instantiate the configuration header FILE
   8155 
   8156 Configuration files:
   8157 $config_files
   8158 
   8159 Configuration headers:
   8160 $config_headers
   8161 
   8162 Configuration commands:
   8163 $config_commands
   8164 
   8165 Report bugs to <dhcp-users@isc.org>."
   8166 
   8167 _ACEOF
   8168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8169 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   8170 ac_cs_version="\\
   8171 DHCP config.status 4.4.1
   8172 configured by $0, generated by GNU Autoconf 2.69,
   8173   with options \\"\$ac_cs_config\\"
   8174 
   8175 Copyright (C) 2012 Free Software Foundation, Inc.
   8176 This config.status script is free software; the Free Software Foundation
   8177 gives unlimited permission to copy, distribute and modify it."
   8178 
   8179 ac_pwd='$ac_pwd'
   8180 srcdir='$srcdir'
   8181 INSTALL='$INSTALL'
   8182 MKDIR_P='$MKDIR_P'
   8183 AWK='$AWK'
   8184 test -n "\$AWK" || AWK=awk
   8185 _ACEOF
   8186 
   8187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8188 # The default lists apply if the user does not specify any file.
   8189 ac_need_defaults=:
   8190 while test $# != 0
   8191 do
   8192   case $1 in
   8193   --*=?*)
   8194     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   8195     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   8196     ac_shift=:
   8197     ;;
   8198   --*=)
   8199     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   8200     ac_optarg=
   8201     ac_shift=:
   8202     ;;
   8203   *)
   8204     ac_option=$1
   8205     ac_optarg=$2
   8206     ac_shift=shift
   8207     ;;
   8208   esac
   8209 
   8210   case $ac_option in
   8211   # Handling of the options.
   8212   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   8213     ac_cs_recheck=: ;;
   8214   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   8215     $as_echo "$ac_cs_version"; exit ;;
   8216   --config | --confi | --conf | --con | --co | --c )
   8217     $as_echo "$ac_cs_config"; exit ;;
   8218   --debug | --debu | --deb | --de | --d | -d )
   8219     debug=: ;;
   8220   --file | --fil | --fi | --f )
   8221     $ac_shift
   8222     case $ac_optarg in
   8223     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   8224     '') as_fn_error $? "missing file argument" ;;
   8225     esac
   8226     as_fn_append CONFIG_FILES " '$ac_optarg'"
   8227     ac_need_defaults=false;;
   8228   --header | --heade | --head | --hea )
   8229     $ac_shift
   8230     case $ac_optarg in
   8231     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   8232     esac
   8233     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   8234     ac_need_defaults=false;;
   8235   --he | --h)
   8236     # Conflict between --help and --header
   8237     as_fn_error $? "ambiguous option: \`$1'
   8238 Try \`$0 --help' for more information.";;
   8239   --help | --hel | -h )
   8240     $as_echo "$ac_cs_usage"; exit ;;
   8241   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   8242   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   8243     ac_cs_silent=: ;;
   8244 
   8245   # This is an error.
   8246   -*) as_fn_error $? "unrecognized option: \`$1'
   8247 Try \`$0 --help' for more information." ;;
   8248 
   8249   *) as_fn_append ac_config_targets " $1"
   8250      ac_need_defaults=false ;;
   8251 
   8252   esac
   8253   shift
   8254 done
   8255 
   8256 ac_configure_extra_args=
   8257 
   8258 if $ac_cs_silent; then
   8259   exec 6>/dev/null
   8260   ac_configure_extra_args="$ac_configure_extra_args --silent"
   8261 fi
   8262 
   8263 _ACEOF
   8264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8265 if \$ac_cs_recheck; then
   8266   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   8267   shift
   8268   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   8269   CONFIG_SHELL='$SHELL'
   8270   export CONFIG_SHELL
   8271   exec "\$@"
   8272 fi
   8273 
   8274 _ACEOF
   8275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8276 exec 5>>config.log
   8277 {
   8278   echo
   8279   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   8280 ## Running $as_me. ##
   8281 _ASBOX
   8282   $as_echo "$ac_log"
   8283 } >&5
   8284 
   8285 _ACEOF
   8286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8287 #
   8288 # INIT-COMMANDS
   8289 #
   8290 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   8291 
   8292 _ACEOF
   8293 
   8294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8295 
   8296 # Handling of arguments.
   8297 for ac_config_target in $ac_config_targets
   8298 do
   8299   case $ac_config_target in
   8300     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   8301     "includes/config.h") CONFIG_HEADERS="$CONFIG_HEADERS includes/config.h" ;;
   8302     "$srcdir/bind/Makefile") CONFIG_FILES="$CONFIG_FILES $srcdir/bind/Makefile" ;;
   8303     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   8304     "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;;
   8305     "client/tests/Makefile") CONFIG_FILES="$CONFIG_FILES client/tests/Makefile" ;;
   8306     "common/Makefile.am") CONFIG_FILES="$CONFIG_FILES common/Makefile.am" ;;
   8307     "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
   8308     "common/tests/Makefile") CONFIG_FILES="$CONFIG_FILES common/tests/Makefile" ;;
   8309     "dhcpctl/Makefile.am") CONFIG_FILES="$CONFIG_FILES dhcpctl/Makefile.am" ;;
   8310     "dhcpctl/Makefile") CONFIG_FILES="$CONFIG_FILES dhcpctl/Makefile" ;;
   8311     "includes/Makefile") CONFIG_FILES="$CONFIG_FILES includes/Makefile" ;;
   8312     "omapip/Makefile.am") CONFIG_FILES="$CONFIG_FILES omapip/Makefile.am" ;;
   8313     "omapip/Makefile") CONFIG_FILES="$CONFIG_FILES omapip/Makefile" ;;
   8314     "relay/Makefile") CONFIG_FILES="$CONFIG_FILES relay/Makefile" ;;
   8315     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
   8316     "tests/Makefile.am") CONFIG_FILES="$CONFIG_FILES tests/Makefile.am" ;;
   8317     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   8318     "tests/unittest.sh") CONFIG_FILES="$CONFIG_FILES tests/unittest.sh" ;;
   8319     "server/tests/Makefile") CONFIG_FILES="$CONFIG_FILES server/tests/Makefile" ;;
   8320     "doc/devel/doxyfile") CONFIG_FILES="$CONFIG_FILES doc/devel/doxyfile" ;;
   8321 
   8322   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   8323   esac
   8324 done
   8325 
   8326 
   8327 # If the user did not use the arguments to specify the items to instantiate,
   8328 # then the envvar interface is used.  Set only those that are not.
   8329 # We use the long form for the default assignment because of an extremely
   8330 # bizarre bug on SunOS 4.1.3.
   8331 if $ac_need_defaults; then
   8332   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   8333   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   8334   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   8335 fi
   8336 
   8337 # Have a temporary directory for convenience.  Make it in the build tree
   8338 # simply because there is no reason against having it here, and in addition,
   8339 # creating and moving files from /tmp can sometimes cause problems.
   8340 # Hook for its removal unless debugging.
   8341 # Note that there is a small window in which the directory will not be cleaned:
   8342 # after its creation but before its name has been assigned to `$tmp'.
   8343 $debug ||
   8344 {
   8345   tmp= ac_tmp=
   8346   trap 'exit_status=$?
   8347   : "${ac_tmp:=$tmp}"
   8348   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   8349 ' 0
   8350   trap 'as_fn_exit 1' 1 2 13 15
   8351 }
   8352 # Create a (secure) tmp directory for tmp files.
   8353 
   8354 {
   8355   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   8356   test -d "$tmp"
   8357 }  ||
   8358 {
   8359   tmp=./conf$$-$RANDOM
   8360   (umask 077 && mkdir "$tmp")
   8361 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   8362 ac_tmp=$tmp
   8363 
   8364 # Set up the scripts for CONFIG_FILES section.
   8365 # No need to generate them if there are no CONFIG_FILES.
   8366 # This happens for instance with `./config.status config.h'.
   8367 if test -n "$CONFIG_FILES"; then
   8368 
   8369 
   8370 ac_cr=`echo X | tr X '\015'`
   8371 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   8372 # But we know of no other shell where ac_cr would be empty at this
   8373 # point, so we can use a bashism as a fallback.
   8374 if test "x$ac_cr" = x; then
   8375   eval ac_cr=\$\'\\r\'
   8376 fi
   8377 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   8378 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   8379   ac_cs_awk_cr='\\r'
   8380 else
   8381   ac_cs_awk_cr=$ac_cr
   8382 fi
   8383 
   8384 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   8385 _ACEOF
   8386 
   8387 
   8388 {
   8389   echo "cat >conf$$subs.awk <<_ACEOF" &&
   8390   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   8391   echo "_ACEOF"
   8392 } >conf$$subs.sh ||
   8393   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8394 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   8395 ac_delim='%!_!# '
   8396 for ac_last_try in false false false false false :; do
   8397   . ./conf$$subs.sh ||
   8398     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8399 
   8400   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   8401   if test $ac_delim_n = $ac_delim_num; then
   8402     break
   8403   elif $ac_last_try; then
   8404     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   8405   else
   8406     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   8407   fi
   8408 done
   8409 rm -f conf$$subs.sh
   8410 
   8411 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8412 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   8413 _ACEOF
   8414 sed -n '
   8415 h
   8416 s/^/S["/; s/!.*/"]=/
   8417 p
   8418 g
   8419 s/^[^!]*!//
   8420 :repl
   8421 t repl
   8422 s/'"$ac_delim"'$//
   8423 t delim
   8424 :nl
   8425 h
   8426 s/\(.\{148\}\)..*/\1/
   8427 t more1
   8428 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   8429 p
   8430 n
   8431 b repl
   8432 :more1
   8433 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8434 p
   8435 g
   8436 s/.\{148\}//
   8437 t nl
   8438 :delim
   8439 h
   8440 s/\(.\{148\}\)..*/\1/
   8441 t more2
   8442 s/["\\]/\\&/g; s/^/"/; s/$/"/
   8443 p
   8444 b
   8445 :more2
   8446 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   8447 p
   8448 g
   8449 s/.\{148\}//
   8450 t delim
   8451 ' <conf$$subs.awk | sed '
   8452 /^[^""]/{
   8453   N
   8454   s/\n//
   8455 }
   8456 ' >>$CONFIG_STATUS || ac_write_fail=1
   8457 rm -f conf$$subs.awk
   8458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8459 _ACAWK
   8460 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   8461   for (key in S) S_is_set[key] = 1
   8462   FS = ""
   8463 
   8464 }
   8465 {
   8466   line = $ 0
   8467   nfields = split(line, field, "@")
   8468   substed = 0
   8469   len = length(field[1])
   8470   for (i = 2; i < nfields; i++) {
   8471     key = field[i]
   8472     keylen = length(key)
   8473     if (S_is_set[key]) {
   8474       value = S[key]
   8475       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   8476       len += length(value) + length(field[++i])
   8477       substed = 1
   8478     } else
   8479       len += 1 + keylen
   8480   }
   8481 
   8482   print line
   8483 }
   8484 
   8485 _ACAWK
   8486 _ACEOF
   8487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8488 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   8489   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   8490 else
   8491   cat
   8492 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   8493   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   8494 _ACEOF
   8495 
   8496 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   8497 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   8498 # trailing colons and then remove the whole line if VPATH becomes empty
   8499 # (actually we leave an empty line to preserve line numbers).
   8500 if test "x$srcdir" = x.; then
   8501   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   8502 h
   8503 s///
   8504 s/^/:/
   8505 s/[	 ]*$/:/
   8506 s/:\$(srcdir):/:/g
   8507 s/:\${srcdir}:/:/g
   8508 s/:@srcdir@:/:/g
   8509 s/^:*//
   8510 s/:*$//
   8511 x
   8512 s/\(=[	 ]*\).*/\1/
   8513 G
   8514 s/\n//
   8515 s/^[^=]*=[	 ]*$//
   8516 }'
   8517 fi
   8518 
   8519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8520 fi # test -n "$CONFIG_FILES"
   8521 
   8522 # Set up the scripts for CONFIG_HEADERS section.
   8523 # No need to generate them if there are no CONFIG_HEADERS.
   8524 # This happens for instance with `./config.status Makefile'.
   8525 if test -n "$CONFIG_HEADERS"; then
   8526 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   8527 BEGIN {
   8528 _ACEOF
   8529 
   8530 # Transform confdefs.h into an awk script `defines.awk', embedded as
   8531 # here-document in config.status, that substitutes the proper values into
   8532 # config.h.in to produce config.h.
   8533 
   8534 # Create a delimiter string that does not exist in confdefs.h, to ease
   8535 # handling of long lines.
   8536 ac_delim='%!_!# '
   8537 for ac_last_try in false false :; do
   8538   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   8539   if test -z "$ac_tt"; then
   8540     break
   8541   elif $ac_last_try; then
   8542     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   8543   else
   8544     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   8545   fi
   8546 done
   8547 
   8548 # For the awk script, D is an array of macro values keyed by name,
   8549 # likewise P contains macro parameters if any.  Preserve backslash
   8550 # newline sequences.
   8551 
   8552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   8553 sed -n '
   8554 s/.\{148\}/&'"$ac_delim"'/g
   8555 t rset
   8556 :rset
   8557 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   8558 t def
   8559 d
   8560 :def
   8561 s/\\$//
   8562 t bsnl
   8563 s/["\\]/\\&/g
   8564 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   8565 D["\1"]=" \3"/p
   8566 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   8567 d
   8568 :bsnl
   8569 s/["\\]/\\&/g
   8570 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   8571 D["\1"]=" \3\\\\\\n"\\/p
   8572 t cont
   8573 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   8574 t cont
   8575 d
   8576 :cont
   8577 n
   8578 s/.\{148\}/&'"$ac_delim"'/g
   8579 t clear
   8580 :clear
   8581 s/\\$//
   8582 t bsnlc
   8583 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   8584 d
   8585 :bsnlc
   8586 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   8587 b cont
   8588 ' <confdefs.h | sed '
   8589 s/'"$ac_delim"'/"\\\
   8590 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   8591 
   8592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8593   for (key in D) D_is_set[key] = 1
   8594   FS = ""
   8595 }
   8596 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   8597   line = \$ 0
   8598   split(line, arg, " ")
   8599   if (arg[1] == "#") {
   8600     defundef = arg[2]
   8601     mac1 = arg[3]
   8602   } else {
   8603     defundef = substr(arg[1], 2)
   8604     mac1 = arg[2]
   8605   }
   8606   split(mac1, mac2, "(") #)
   8607   macro = mac2[1]
   8608   prefix = substr(line, 1, index(line, defundef) - 1)
   8609   if (D_is_set[macro]) {
   8610     # Preserve the white space surrounding the "#".
   8611     print prefix "define", macro P[macro] D[macro]
   8612     next
   8613   } else {
   8614     # Replace #undef with comments.  This is necessary, for example,
   8615     # in the case of _POSIX_SOURCE, which is predefined and required
   8616     # on some systems where configure will not decide to define it.
   8617     if (defundef == "undef") {
   8618       print "/*", prefix defundef, macro, "*/"
   8619       next
   8620     }
   8621   }
   8622 }
   8623 { print }
   8624 _ACAWK
   8625 _ACEOF
   8626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8627   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   8628 fi # test -n "$CONFIG_HEADERS"
   8629 
   8630 
   8631 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   8632 shift
   8633 for ac_tag
   8634 do
   8635   case $ac_tag in
   8636   :[FHLC]) ac_mode=$ac_tag; continue;;
   8637   esac
   8638   case $ac_mode$ac_tag in
   8639   :[FHL]*:*);;
   8640   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   8641   :[FH]-) ac_tag=-:-;;
   8642   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   8643   esac
   8644   ac_save_IFS=$IFS
   8645   IFS=:
   8646   set x $ac_tag
   8647   IFS=$ac_save_IFS
   8648   shift
   8649   ac_file=$1
   8650   shift
   8651 
   8652   case $ac_mode in
   8653   :L) ac_source=$1;;
   8654   :[FH])
   8655     ac_file_inputs=
   8656     for ac_f
   8657     do
   8658       case $ac_f in
   8659       -) ac_f="$ac_tmp/stdin";;
   8660       *) # Look for the file first in the build tree, then in the source tree
   8661 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   8662 	 # because $ac_f cannot contain `:'.
   8663 	 test -f "$ac_f" ||
   8664 	   case $ac_f in
   8665 	   [\\/$]*) false;;
   8666 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   8667 	   esac ||
   8668 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   8669       esac
   8670       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   8671       as_fn_append ac_file_inputs " '$ac_f'"
   8672     done
   8673 
   8674     # Let's still pretend it is `configure' which instantiates (i.e., don't
   8675     # use $as_me), people would be surprised to read:
   8676     #    /* config.h.  Generated by config.status.  */
   8677     configure_input='Generated from '`
   8678 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   8679 	`' by configure.'
   8680     if test x"$ac_file" != x-; then
   8681       configure_input="$ac_file.  $configure_input"
   8682       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   8683 $as_echo "$as_me: creating $ac_file" >&6;}
   8684     fi
   8685     # Neutralize special characters interpreted by sed in replacement strings.
   8686     case $configure_input in #(
   8687     *\&* | *\|* | *\\* )
   8688        ac_sed_conf_input=`$as_echo "$configure_input" |
   8689        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   8690     *) ac_sed_conf_input=$configure_input;;
   8691     esac
   8692 
   8693     case $ac_tag in
   8694     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   8695       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   8696     esac
   8697     ;;
   8698   esac
   8699 
   8700   ac_dir=`$as_dirname -- "$ac_file" ||
   8701 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8702 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   8703 	 X"$ac_file" : 'X\(//\)$' \| \
   8704 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   8705 $as_echo X"$ac_file" |
   8706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8707 	    s//\1/
   8708 	    q
   8709 	  }
   8710 	  /^X\(\/\/\)[^/].*/{
   8711 	    s//\1/
   8712 	    q
   8713 	  }
   8714 	  /^X\(\/\/\)$/{
   8715 	    s//\1/
   8716 	    q
   8717 	  }
   8718 	  /^X\(\/\).*/{
   8719 	    s//\1/
   8720 	    q
   8721 	  }
   8722 	  s/.*/./; q'`
   8723   as_dir="$ac_dir"; as_fn_mkdir_p
   8724   ac_builddir=.
   8725 
   8726 case "$ac_dir" in
   8727 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8728 *)
   8729   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   8730   # A ".." for each directory in $ac_dir_suffix.
   8731   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   8732   case $ac_top_builddir_sub in
   8733   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   8734   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   8735   esac ;;
   8736 esac
   8737 ac_abs_top_builddir=$ac_pwd
   8738 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   8739 # for backward compatibility:
   8740 ac_top_builddir=$ac_top_build_prefix
   8741 
   8742 case $srcdir in
   8743   .)  # We are building in place.
   8744     ac_srcdir=.
   8745     ac_top_srcdir=$ac_top_builddir_sub
   8746     ac_abs_top_srcdir=$ac_pwd ;;
   8747   [\\/]* | ?:[\\/]* )  # Absolute name.
   8748     ac_srcdir=$srcdir$ac_dir_suffix;
   8749     ac_top_srcdir=$srcdir
   8750     ac_abs_top_srcdir=$srcdir ;;
   8751   *) # Relative name.
   8752     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   8753     ac_top_srcdir=$ac_top_build_prefix$srcdir
   8754     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   8755 esac
   8756 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   8757 
   8758 
   8759   case $ac_mode in
   8760   :F)
   8761   #
   8762   # CONFIG_FILE
   8763   #
   8764 
   8765   case $INSTALL in
   8766   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   8767   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   8768   esac
   8769   ac_MKDIR_P=$MKDIR_P
   8770   case $MKDIR_P in
   8771   [\\/$]* | ?:[\\/]* ) ;;
   8772   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   8773   esac
   8774 _ACEOF
   8775 
   8776 
   8777 # Neutralize VPATH when `$srcdir' = `.'.
   8778 # Shell code in configure.ac might set extrasub.
   8779 # FIXME: do we really want to maintain this feature?
   8780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   8781 ac_sed_extra="$ac_vpsub
   8782 $extrasub
   8783 _ACEOF
   8784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   8785 :t
   8786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   8787 s|@configure_input@|$ac_sed_conf_input|;t t
   8788 s&@top_builddir@&$ac_top_builddir_sub&;t t
   8789 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   8790 s&@srcdir@&$ac_srcdir&;t t
   8791 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   8792 s&@top_srcdir@&$ac_top_srcdir&;t t
   8793 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   8794 s&@builddir@&$ac_builddir&;t t
   8795 s&@abs_builddir@&$ac_abs_builddir&;t t
   8796 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   8797 s&@INSTALL@&$ac_INSTALL&;t t
   8798 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   8799 "
   8800 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   8801   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8802 
   8803 
   8804   rm -f "$ac_tmp/stdin"
   8805   case $ac_file in
   8806   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   8807   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   8808   esac \
   8809   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8810  ;;
   8811   :H)
   8812   #
   8813   # CONFIG_HEADER
   8814   #
   8815   if test x"$ac_file" != x-; then
   8816     {
   8817       $as_echo "/* $configure_input  */" \
   8818       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   8819     } >"$ac_tmp/config.h" \
   8820       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8821     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   8822       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   8823 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   8824     else
   8825       rm -f "$ac_file"
   8826       mv "$ac_tmp/config.h" "$ac_file" \
   8827 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   8828     fi
   8829   else
   8830     $as_echo "/* $configure_input  */" \
   8831       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   8832       || as_fn_error $? "could not create -" "$LINENO" 5
   8833   fi
   8834 # Compute "$ac_file"'s index in $config_headers.
   8835 _am_arg="$ac_file"
   8836 _am_stamp_count=1
   8837 for _am_header in $config_headers :; do
   8838   case $_am_header in
   8839     $_am_arg | $_am_arg:* )
   8840       break ;;
   8841     * )
   8842       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   8843   esac
   8844 done
   8845 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   8846 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8847 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   8848 	 X"$_am_arg" : 'X\(//\)$' \| \
   8849 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   8850 $as_echo X"$_am_arg" |
   8851     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8852 	    s//\1/
   8853 	    q
   8854 	  }
   8855 	  /^X\(\/\/\)[^/].*/{
   8856 	    s//\1/
   8857 	    q
   8858 	  }
   8859 	  /^X\(\/\/\)$/{
   8860 	    s//\1/
   8861 	    q
   8862 	  }
   8863 	  /^X\(\/\).*/{
   8864 	    s//\1/
   8865 	    q
   8866 	  }
   8867 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   8868  ;;
   8869 
   8870   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   8871 $as_echo "$as_me: executing $ac_file commands" >&6;}
   8872  ;;
   8873   esac
   8874 
   8875 
   8876   case $ac_file$ac_mode in
   8877     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   8878   # Older Autoconf quotes --file arguments for eval, but not when files
   8879   # are listed without --file.  Let's play safe and only enable the eval
   8880   # if we detect the quoting.
   8881   case $CONFIG_FILES in
   8882   *\'*) eval set x "$CONFIG_FILES" ;;
   8883   *)   set x $CONFIG_FILES ;;
   8884   esac
   8885   shift
   8886   for mf
   8887   do
   8888     # Strip MF so we end up with the name of the file.
   8889     mf=`echo "$mf" | sed -e 's/:.*$//'`
   8890     # Check whether this is an Automake generated Makefile or not.
   8891     # We used to match only the files named 'Makefile.in', but
   8892     # some people rename them; so instead we look at the file content.
   8893     # Grep'ing the first line is not enough: some people post-process
   8894     # each Makefile.in and add a new line on top of each file to say so.
   8895     # Grep'ing the whole file is not good either: AIX grep has a line
   8896     # limit of 2048, but all sed's we know have understand at least 4000.
   8897     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   8898       dirpart=`$as_dirname -- "$mf" ||
   8899 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8900 	 X"$mf" : 'X\(//\)[^/]' \| \
   8901 	 X"$mf" : 'X\(//\)$' \| \
   8902 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   8903 $as_echo X"$mf" |
   8904     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8905 	    s//\1/
   8906 	    q
   8907 	  }
   8908 	  /^X\(\/\/\)[^/].*/{
   8909 	    s//\1/
   8910 	    q
   8911 	  }
   8912 	  /^X\(\/\/\)$/{
   8913 	    s//\1/
   8914 	    q
   8915 	  }
   8916 	  /^X\(\/\).*/{
   8917 	    s//\1/
   8918 	    q
   8919 	  }
   8920 	  s/.*/./; q'`
   8921     else
   8922       continue
   8923     fi
   8924     # Extract the definition of DEPDIR, am__include, and am__quote
   8925     # from the Makefile without running 'make'.
   8926     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   8927     test -z "$DEPDIR" && continue
   8928     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   8929     test -z "$am__include" && continue
   8930     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   8931     # Find all dependency output files, they are included files with
   8932     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   8933     # simplest approach to changing $(DEPDIR) to its actual value in the
   8934     # expansion.
   8935     for file in `sed -n "
   8936       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   8937 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   8938       # Make sure the directory exists.
   8939       test -f "$dirpart/$file" && continue
   8940       fdir=`$as_dirname -- "$file" ||
   8941 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   8942 	 X"$file" : 'X\(//\)[^/]' \| \
   8943 	 X"$file" : 'X\(//\)$' \| \
   8944 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   8945 $as_echo X"$file" |
   8946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   8947 	    s//\1/
   8948 	    q
   8949 	  }
   8950 	  /^X\(\/\/\)[^/].*/{
   8951 	    s//\1/
   8952 	    q
   8953 	  }
   8954 	  /^X\(\/\/\)$/{
   8955 	    s//\1/
   8956 	    q
   8957 	  }
   8958 	  /^X\(\/\).*/{
   8959 	    s//\1/
   8960 	    q
   8961 	  }
   8962 	  s/.*/./; q'`
   8963       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   8964       # echo "creating $dirpart/$file"
   8965       echo '# dummy' > "$dirpart/$file"
   8966     done
   8967   done
   8968 }
   8969  ;;
   8970 
   8971   esac
   8972 done # for ac_tag
   8973 
   8974 
   8975 as_fn_exit 0
   8976 _ACEOF
   8977 ac_clean_files=$ac_clean_files_save
   8978 
   8979 test $ac_write_fail = 0 ||
   8980   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   8981 
   8982 
   8983 # configure is writing to config.log, and then calls config.status.
   8984 # config.status does its own redirection, appending to config.log.
   8985 # Unfortunately, on DOS this fails, as config.log is still kept open
   8986 # by configure, so config.status won't be able to write to it; its
   8987 # output is simply discarded.  So we exec the FD to /dev/null,
   8988 # effectively closing config.log, so it can be properly (re)opened and
   8989 # appended to by config.status.  When coming back to configure, we
   8990 # need to make the FD available again.
   8991 if test "$no_create" != yes; then
   8992   ac_cs_success=:
   8993   ac_config_status_args=
   8994   test "$silent" = yes &&
   8995     ac_config_status_args="$ac_config_status_args --quiet"
   8996   exec 5>/dev/null
   8997   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   8998   exec 5>>config.log
   8999   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   9000   # would make configure fail if this is the last instruction.
   9001   $ac_cs_success || as_fn_exit 1
   9002 fi
   9003 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   9004   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   9005 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   9006 fi
   9007 
   9008 
   9009 
   9010 if test "$enable_dhcpv4o6" = "yes"; then
   9011 	DHCP_VERSIONS="DHCPv4, DHCPv6 and DHCPv4-over-DHCPv6"
   9012 elif test "$enable_dhcpv6" != "no"; then
   9013 	DHCP_VERSIONS="DHCPv4 and DHCPv6"
   9014 else
   9015 	DHCP_VERSIONS="DHCPv4"
   9016 fi
   9017 
   9018 cat > config.report << END
   9019 
   9020      ISC DHCP source configure results:
   9021     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   9022 
   9023 Package:
   9024   Name:          $PACKAGE_NAME
   9025   Version:       $PACKAGE_VERSION
   9026 
   9027 C Compiler:      $CC
   9028 
   9029 Flags:
   9030   DEFS:          $DEFS
   9031   CFLAGS:        $CFLAGS
   9032 
   9033 DHCP versions:   $DHCP_VERSIONS
   9034 
   9035 Features:
   9036   debug:         $enable_debug
   9037   failover:      $enable_failover
   9038   execute:       $enable_execute
   9039   binary-leases: $enable_binary_leases
   9040   dhcpv6:        $enable_dhcpv6
   9041   delayed-ack:   $enable_delayed_ack
   9042   dhcpv4o6:      $enable_dhcpv4o6
   9043   relay-port:    $enable_relay_port
   9044 
   9045 Developer:
   9046   ATF unittests : $atf_path
   9047 
   9048 END
   9049 # TODO: Add Perl system tests
   9050 
   9051 if test "$atf_path" != "no"
   9052 then
   9053 echo "ATF_CFLAGS  : $ATF_CFLAGS" >> config.report
   9054 echo "ATF_LDFLAGS : $ATF_LDFLAGS" >> config.report
   9055 echo "ATF_BIN : $ATF_BIN" >> config.report
   9056 echo
   9057 fi
   9058 
   9059 cat config.report
   9060 
   9061 echo
   9062 echo Now you can type "make" to build ISC DHCP
   9063 echo
   9064