Annotation of embedaddon/arping/configure, revision 1.1.1.4

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.4 ! misho       3: # Generated by GNU Autoconf 2.69 for arping 2.21.
1.1.1.2   misho       4: #
                      5: # Report bugs to <thomas@habets.se>.
                      6: #
                      7: #
                      8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.1.1.2   misho      13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.1       misho      16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.2   misho      19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      20:   emulate sh
                     21:   NULLCMD=:
1.1.1.2   misho      22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho      23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.1.1.2   misho      27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.1       misho      32: esac
                     33: fi
                     34: 
                     35: 
1.1.1.2   misho      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'
1.1       misho      56:   else
1.1.1.2   misho      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'
1.1       misho      69:   fi
1.1.1.2   misho      70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho      72: fi
                     73: 
1.1.1.2   misho      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:   }
1.1       misho      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.
1.1.1.2   misho      92: as_myself=
                     93: case $0 in #((
1.1       misho      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=.
1.1.1.2   misho     100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
1.1       misho     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
1.1.1.2   misho     112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
1.1       misho     114: fi
                    115: 
1.1.1.2   misho     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 || :
1.1       misho     123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.1.1.2   misho     129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
1.1       misho     133: 
                    134: # CDPATH.
1.1.1.2   misho     135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misho     136: 
1.1.1.2   misho     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;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
1.1.1.2   misho     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
1.1       misho     170: else
1.1.1.2   misho     171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
1.1       misho     177: fi
1.1.1.2   misho     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; }
1.1       misho     184: 
                    185: exitcode=0
1.1.1.2   misho     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
1.1       misho     204: else
1.1.1.2   misho     205:   as_have_required=no
1.1       misho     206: fi
1.1.1.2   misho     207:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.1       misho     208: 
                    209: else
1.1.1.2   misho     210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    211: as_found=false
1.1       misho     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=.
1.1.1.2   misho     216:   as_found=:
                    217:   case $as_dir in #(
1.1       misho     218:         /*)
                    219:           for as_base in sh bash ksh sh5; do
1.1.1.2   misho     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
1.1       misho     229:           done;;
                    230:        esac
1.1.1.2   misho     231:   as_found=false
1.1       misho     232: done
1.1.1.2   misho     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; }
1.1       misho     237: IFS=$as_save_IFS
                    238: 
                    239: 
1.1.1.2   misho     240:       if test "x$CONFIG_SHELL" != x; then :
                    241:   export CONFIG_SHELL
                    242:              # We cannot yet assume a decent shell, so we have to provide a
                    243: # neutralization value for shells without unset; and this also
                    244: # works around shells that cannot unset nonexistent variables.
                    245: # Preserve -v and -x to the replacement shell.
                    246: BASH_ENV=/dev/null
                    247: ENV=/dev/null
                    248: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    249: case $- in # ((((
                    250:   *v*x* | *x*v* ) as_opts=-vx ;;
                    251:   *v* ) as_opts=-v ;;
                    252:   *x* ) as_opts=-x ;;
                    253:   * ) as_opts= ;;
                    254: esac
                    255: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    256: # Admittedly, this is quite paranoid, since all the known shells bail
                    257: # out after a failed `exec'.
                    258: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    259: exit 255
                    260: fi
                    261: 
                    262:     if test x$as_have_required = xno; then :
                    263:   $as_echo "$0: This script requires a shell more modern than all"
                    264:   $as_echo "$0: the shells that I found on your system."
                    265:   if test x${ZSH_VERSION+set} = xset ; then
                    266:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    267:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    268:   else
                    269:     $as_echo "$0: Please tell bug-autoconf@gnu.org and thomas@habets.se
                    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
1.1       misho     276: fi
                    277: fi
                    278: fi
1.1.1.2   misho     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
1.1       misho     284: 
1.1.1.2   misho     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
1.1       misho     296: 
1.1.1.2   misho     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
1.1       misho     304: 
1.1.1.2   misho     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: {
1.1       misho     320: 
1.1.1.2   misho     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"
1.1       misho     359: 
                    360: 
1.1.1.2   misho     361: } # as_fn_mkdir_p
1.1       misho     362: 
1.1.1.2   misho     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
1.1       misho     387: 
1.1.1.2   misho     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
1.1       misho     404: 
                    405: 
1.1.1.2   misho     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
1.1       misho     421: 
1.1.1.2   misho     422: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    423:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    424:   as_expr=expr
1.1       misho     425: else
1.1.1.2   misho     426:   as_expr=false
1.1       misho     427: fi
                    428: 
1.1.1.2   misho     429: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    430:   as_basename=basename
1.1       misho     431: else
1.1.1.2   misho     432:   as_basename=false
1.1       misho     433: fi
                    434: 
1.1.1.2   misho     435: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    436:   as_dirname=dirname
1.1       misho     437: else
1.1.1.2   misho     438:   as_dirname=false
1.1       misho     439: fi
                    440: 
1.1.1.2   misho     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'`
1.1       misho     459: 
1.1.1.2   misho     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
1.1       misho     466: 
                    467: 
1.1.1.2   misho     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.  :-)
1.1       misho     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" ||
1.1.1.2   misho     489:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misho     490: 
1.1.1.2   misho     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
1.1       misho     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=
1.1.1.2   misho     504: case `echo -n x` in #(((((
1.1       misho     505: -n*)
1.1.1.2   misho     506:   case `echo 'xy\c'` in
1.1       misho     507:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.1.1.2   misho     508:   xy)  ECHO_C='\c';;
                    509:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    510:        ECHO_T='        ';;
1.1       misho     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
1.1.1.2   misho     521:   mkdir conf$$.dir 2>/dev/null
1.1       misho     522: fi
1.1.1.2   misho     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
1.1       misho     537: else
1.1.1.2   misho     538:   as_ln_s='cp -pR'
1.1       misho     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
1.1.1.2   misho     544:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     545: else
                    546:   test -d ./-p && rmdir ./-p
                    547:   as_mkdir_p=false
                    548: fi
                    549: 
1.1.1.2   misho     550: as_test_x='test -x'
                    551: as_executable_p=as_fn_executable_p
1.1       misho     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: 
1.1.1.2   misho     560: test -n "$DJDIR" || exec 7<&0 </dev/null
                    561: exec 6>&1
1.1       misho     562: 
                    563: # Name of the host.
1.1.1.2   misho     564: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     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='arping'
                    582: PACKAGE_TARNAME='arping'
1.1.1.4 ! misho     583: PACKAGE_VERSION='2.21'
        !           584: PACKAGE_STRING='arping 2.21'
1.1.1.2   misho     585: PACKAGE_BUGREPORT='thomas@habets.se'
                    586: PACKAGE_URL=''
1.1       misho     587: 
                    588: ac_unique_file="src/arping.c"
                    589: # Factoring default headers for most tests.
1.1.1.2   misho     590: ac_includes_default="\
                    591: #include <stdio.h>
                    592: #ifdef HAVE_SYS_TYPES_H
                    593: # include <sys/types.h>
                    594: #endif
                    595: #ifdef HAVE_SYS_STAT_H
                    596: # include <sys/stat.h>
                    597: #endif
                    598: #ifdef STDC_HEADERS
                    599: # include <stdlib.h>
                    600: # include <stddef.h>
                    601: #else
                    602: # ifdef HAVE_STDLIB_H
                    603: #  include <stdlib.h>
                    604: # endif
                    605: #endif
                    606: #ifdef HAVE_STRING_H
                    607: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    608: #  include <memory.h>
                    609: # endif
                    610: # include <string.h>
                    611: #endif
                    612: #ifdef HAVE_STRINGS_H
                    613: # include <strings.h>
                    614: #endif
                    615: #ifdef HAVE_INTTYPES_H
                    616: # include <inttypes.h>
                    617: #endif
                    618: #ifdef HAVE_STDINT_H
                    619: # include <stdint.h>
                    620: #endif
                    621: #ifdef HAVE_UNISTD_H
                    622: # include <unistd.h>
                    623: #endif"
                    624: 
                    625: ac_subst_vars='am__EXEEXT_FALSE
                    626: am__EXEEXT_TRUE
                    627: LTLIBOBJS
                    628: HAVE_CLOCK_MONOTONIC_FALSE
                    629: HAVE_CLOCK_MONOTONIC_TRUE
1.1       misho     630: LIBOBJS
1.1.1.2   misho     631: EGREP
                    632: GREP
                    633: CPP
                    634: am__fastdepCC_FALSE
                    635: am__fastdepCC_TRUE
                    636: CCDEPMODE
                    637: am__nodep
                    638: AMDEPBACKSLASH
                    639: AMDEP_FALSE
                    640: AMDEP_TRUE
                    641: am__include
                    642: DEPDIR
                    643: OBJEXT
                    644: EXEEXT
                    645: ac_ct_CC
                    646: CPPFLAGS
                    647: LDFLAGS
                    648: CFLAGS
                    649: CC
                    650: MAINT
                    651: MAINTAINER_MODE_FALSE
                    652: MAINTAINER_MODE_TRUE
1.1.1.4 ! misho     653: AM_BACKSLASH
        !           654: AM_DEFAULT_VERBOSITY
        !           655: AM_DEFAULT_V
        !           656: AM_V
1.1.1.2   misho     657: am__untar
                    658: am__tar
                    659: AMTAR
                    660: am__leading_dot
                    661: SET_MAKE
                    662: AWK
                    663: mkdir_p
                    664: MKDIR_P
                    665: INSTALL_STRIP_PROGRAM
                    666: STRIP
                    667: install_sh
                    668: MAKEINFO
                    669: AUTOHEADER
                    670: AUTOMAKE
                    671: AUTOCONF
                    672: ACLOCAL
                    673: VERSION
                    674: PACKAGE
                    675: CYGPATH_W
                    676: am__isrc
                    677: INSTALL_DATA
                    678: INSTALL_SCRIPT
                    679: INSTALL_PROGRAM
                    680: target_os
                    681: target_vendor
                    682: target_cpu
                    683: target
                    684: host_os
                    685: host_vendor
                    686: host_cpu
                    687: host
                    688: build_os
                    689: build_vendor
                    690: build_cpu
                    691: build
                    692: target_alias
                    693: host_alias
                    694: build_alias
                    695: LIBS
                    696: ECHO_T
                    697: ECHO_N
                    698: ECHO_C
                    699: DEFS
                    700: mandir
                    701: localedir
                    702: libdir
                    703: psdir
                    704: pdfdir
                    705: dvidir
                    706: htmldir
                    707: infodir
                    708: docdir
                    709: oldincludedir
                    710: includedir
1.1.1.4 ! misho     711: runstatedir
1.1.1.2   misho     712: localstatedir
                    713: sharedstatedir
                    714: sysconfdir
                    715: datadir
                    716: datarootdir
                    717: libexecdir
                    718: sbindir
                    719: bindir
                    720: program_transform_name
                    721: prefix
                    722: exec_prefix
                    723: PACKAGE_URL
                    724: PACKAGE_BUGREPORT
                    725: PACKAGE_STRING
                    726: PACKAGE_VERSION
                    727: PACKAGE_TARNAME
                    728: PACKAGE_NAME
                    729: PATH_SEPARATOR
1.1.1.4 ! misho     730: SHELL
        !           731: am__quote'
1.1       misho     732: ac_subst_files=''
1.1.1.2   misho     733: ac_user_opts='
                    734: enable_option_checking
1.1.1.4 ! misho     735: enable_silent_rules
1.1.1.2   misho     736: enable_maintainer_mode
                    737: enable_dependency_tracking
1.1.1.4 ! misho     738: enable_hardened
        !           739: enable_warnings
1.1.1.2   misho     740: '
1.1       misho     741:       ac_precious_vars='build_alias
                    742: host_alias
                    743: target_alias
                    744: CC
                    745: CFLAGS
                    746: LDFLAGS
                    747: LIBS
                    748: CPPFLAGS
                    749: CPP'
                    750: 
                    751: 
                    752: # Initialize some variables set by options.
                    753: ac_init_help=
                    754: ac_init_version=false
1.1.1.2   misho     755: ac_unrecognized_opts=
                    756: ac_unrecognized_sep=
1.1       misho     757: # The variables have the same names as the options, with
                    758: # dashes changed to underlines.
                    759: cache_file=/dev/null
                    760: exec_prefix=NONE
                    761: no_create=
                    762: no_recursion=
                    763: prefix=NONE
                    764: program_prefix=NONE
                    765: program_suffix=NONE
                    766: program_transform_name=s,x,x,
                    767: silent=
                    768: site=
                    769: srcdir=
                    770: verbose=
                    771: x_includes=NONE
                    772: x_libraries=NONE
                    773: 
                    774: # Installation directory options.
                    775: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    776: # and all the variables that are supposed to be based on exec_prefix
                    777: # by default will actually change.
                    778: # Use braces instead of parens because sh, perl, etc. also accept them.
                    779: # (The list follows the same order as the GNU Coding Standards.)
                    780: bindir='${exec_prefix}/bin'
                    781: sbindir='${exec_prefix}/sbin'
                    782: libexecdir='${exec_prefix}/libexec'
                    783: datarootdir='${prefix}/share'
                    784: datadir='${datarootdir}'
                    785: sysconfdir='${prefix}/etc'
                    786: sharedstatedir='${prefix}/com'
                    787: localstatedir='${prefix}/var'
1.1.1.4 ! misho     788: runstatedir='${localstatedir}/run'
1.1       misho     789: includedir='${prefix}/include'
                    790: oldincludedir='/usr/include'
                    791: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    792: infodir='${datarootdir}/info'
                    793: htmldir='${docdir}'
                    794: dvidir='${docdir}'
                    795: pdfdir='${docdir}'
                    796: psdir='${docdir}'
                    797: libdir='${exec_prefix}/lib'
                    798: localedir='${datarootdir}/locale'
                    799: mandir='${datarootdir}/man'
                    800: 
                    801: ac_prev=
                    802: ac_dashdash=
                    803: for ac_option
                    804: do
                    805:   # If the previous option needs an argument, assign it.
                    806:   if test -n "$ac_prev"; then
                    807:     eval $ac_prev=\$ac_option
                    808:     ac_prev=
                    809:     continue
                    810:   fi
                    811: 
                    812:   case $ac_option in
1.1.1.2   misho     813:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    814:   *=)   ac_optarg= ;;
                    815:   *)    ac_optarg=yes ;;
1.1       misho     816:   esac
                    817: 
                    818:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    819: 
                    820:   case $ac_dashdash$ac_option in
                    821:   --)
                    822:     ac_dashdash=yes ;;
                    823: 
                    824:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    825:     ac_prev=bindir ;;
                    826:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    827:     bindir=$ac_optarg ;;
                    828: 
                    829:   -build | --build | --buil | --bui | --bu)
                    830:     ac_prev=build_alias ;;
                    831:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    832:     build_alias=$ac_optarg ;;
                    833: 
                    834:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    835:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    836:     ac_prev=cache_file ;;
                    837:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    838:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    839:     cache_file=$ac_optarg ;;
                    840: 
                    841:   --config-cache | -C)
                    842:     cache_file=config.cache ;;
                    843: 
                    844:   -datadir | --datadir | --datadi | --datad)
                    845:     ac_prev=datadir ;;
                    846:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    847:     datadir=$ac_optarg ;;
                    848: 
                    849:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    850:   | --dataroo | --dataro | --datar)
                    851:     ac_prev=datarootdir ;;
                    852:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    853:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    854:     datarootdir=$ac_optarg ;;
                    855: 
                    856:   -disable-* | --disable-*)
1.1.1.2   misho     857:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misho     858:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     859:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    860:       as_fn_error $? "invalid feature name: $ac_useropt"
                    861:     ac_useropt_orig=$ac_useropt
                    862:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    863:     case $ac_user_opts in
                    864:       *"
                    865: "enable_$ac_useropt"
                    866: "*) ;;
                    867:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    868:         ac_unrecognized_sep=', ';;
                    869:     esac
                    870:     eval enable_$ac_useropt=no ;;
1.1       misho     871: 
                    872:   -docdir | --docdir | --docdi | --doc | --do)
                    873:     ac_prev=docdir ;;
                    874:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    875:     docdir=$ac_optarg ;;
                    876: 
                    877:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    878:     ac_prev=dvidir ;;
                    879:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    880:     dvidir=$ac_optarg ;;
                    881: 
                    882:   -enable-* | --enable-*)
1.1.1.2   misho     883:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misho     884:     # Reject names that are not valid shell variable names.
1.1.1.2   misho     885:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    886:       as_fn_error $? "invalid feature name: $ac_useropt"
                    887:     ac_useropt_orig=$ac_useropt
                    888:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    889:     case $ac_user_opts in
                    890:       *"
                    891: "enable_$ac_useropt"
                    892: "*) ;;
                    893:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    894:         ac_unrecognized_sep=', ';;
                    895:     esac
                    896:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       misho     897: 
                    898:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    899:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    900:   | --exec | --exe | --ex)
                    901:     ac_prev=exec_prefix ;;
                    902:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    903:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    904:   | --exec=* | --exe=* | --ex=*)
                    905:     exec_prefix=$ac_optarg ;;
                    906: 
                    907:   -gas | --gas | --ga | --g)
                    908:     # Obsolete; use --with-gas.
                    909:     with_gas=yes ;;
                    910: 
                    911:   -help | --help | --hel | --he | -h)
                    912:     ac_init_help=long ;;
                    913:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    914:     ac_init_help=recursive ;;
                    915:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    916:     ac_init_help=short ;;
                    917: 
                    918:   -host | --host | --hos | --ho)
                    919:     ac_prev=host_alias ;;
                    920:   -host=* | --host=* | --hos=* | --ho=*)
                    921:     host_alias=$ac_optarg ;;
                    922: 
                    923:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    924:     ac_prev=htmldir ;;
                    925:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    926:   | --ht=*)
                    927:     htmldir=$ac_optarg ;;
                    928: 
                    929:   -includedir | --includedir | --includedi | --included | --include \
                    930:   | --includ | --inclu | --incl | --inc)
                    931:     ac_prev=includedir ;;
                    932:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    933:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    934:     includedir=$ac_optarg ;;
                    935: 
                    936:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    937:     ac_prev=infodir ;;
                    938:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    939:     infodir=$ac_optarg ;;
                    940: 
                    941:   -libdir | --libdir | --libdi | --libd)
                    942:     ac_prev=libdir ;;
                    943:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    944:     libdir=$ac_optarg ;;
                    945: 
                    946:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    947:   | --libexe | --libex | --libe)
                    948:     ac_prev=libexecdir ;;
                    949:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    950:   | --libexe=* | --libex=* | --libe=*)
                    951:     libexecdir=$ac_optarg ;;
                    952: 
                    953:   -localedir | --localedir | --localedi | --localed | --locale)
                    954:     ac_prev=localedir ;;
                    955:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    956:     localedir=$ac_optarg ;;
                    957: 
                    958:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    959:   | --localstate | --localstat | --localsta | --localst | --locals)
                    960:     ac_prev=localstatedir ;;
                    961:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    962:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    963:     localstatedir=$ac_optarg ;;
                    964: 
                    965:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    966:     ac_prev=mandir ;;
                    967:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    968:     mandir=$ac_optarg ;;
                    969: 
                    970:   -nfp | --nfp | --nf)
                    971:     # Obsolete; use --without-fp.
                    972:     with_fp=no ;;
                    973: 
                    974:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    975:   | --no-cr | --no-c | -n)
                    976:     no_create=yes ;;
                    977: 
                    978:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    979:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    980:     no_recursion=yes ;;
                    981: 
                    982:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    983:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    984:   | --oldin | --oldi | --old | --ol | --o)
                    985:     ac_prev=oldincludedir ;;
                    986:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    987:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    988:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    989:     oldincludedir=$ac_optarg ;;
                    990: 
                    991:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    992:     ac_prev=prefix ;;
                    993:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    994:     prefix=$ac_optarg ;;
                    995: 
                    996:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    997:   | --program-pre | --program-pr | --program-p)
                    998:     ac_prev=program_prefix ;;
                    999:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1000:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1001:     program_prefix=$ac_optarg ;;
                   1002: 
                   1003:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1004:   | --program-suf | --program-su | --program-s)
                   1005:     ac_prev=program_suffix ;;
                   1006:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1007:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1008:     program_suffix=$ac_optarg ;;
                   1009: 
                   1010:   -program-transform-name | --program-transform-name \
                   1011:   | --program-transform-nam | --program-transform-na \
                   1012:   | --program-transform-n | --program-transform- \
                   1013:   | --program-transform | --program-transfor \
                   1014:   | --program-transfo | --program-transf \
                   1015:   | --program-trans | --program-tran \
                   1016:   | --progr-tra | --program-tr | --program-t)
                   1017:     ac_prev=program_transform_name ;;
                   1018:   -program-transform-name=* | --program-transform-name=* \
                   1019:   | --program-transform-nam=* | --program-transform-na=* \
                   1020:   | --program-transform-n=* | --program-transform-=* \
                   1021:   | --program-transform=* | --program-transfor=* \
                   1022:   | --program-transfo=* | --program-transf=* \
                   1023:   | --program-trans=* | --program-tran=* \
                   1024:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1025:     program_transform_name=$ac_optarg ;;
                   1026: 
                   1027:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1028:     ac_prev=pdfdir ;;
                   1029:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1030:     pdfdir=$ac_optarg ;;
                   1031: 
                   1032:   -psdir | --psdir | --psdi | --psd | --ps)
                   1033:     ac_prev=psdir ;;
                   1034:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1035:     psdir=$ac_optarg ;;
                   1036: 
                   1037:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1038:   | -silent | --silent | --silen | --sile | --sil)
                   1039:     silent=yes ;;
                   1040: 
1.1.1.4 ! misho    1041:   -runstatedir | --runstatedir | --runstatedi | --runstated \
        !          1042:   | --runstate | --runstat | --runsta | --runst | --runs \
        !          1043:   | --run | --ru | --r)
        !          1044:     ac_prev=runstatedir ;;
        !          1045:   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
        !          1046:   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
        !          1047:   | --run=* | --ru=* | --r=*)
        !          1048:     runstatedir=$ac_optarg ;;
        !          1049: 
1.1       misho    1050:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1051:     ac_prev=sbindir ;;
                   1052:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1053:   | --sbi=* | --sb=*)
                   1054:     sbindir=$ac_optarg ;;
                   1055: 
                   1056:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1057:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1058:   | --sharedst | --shareds | --shared | --share | --shar \
                   1059:   | --sha | --sh)
                   1060:     ac_prev=sharedstatedir ;;
                   1061:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1062:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1063:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1064:   | --sha=* | --sh=*)
                   1065:     sharedstatedir=$ac_optarg ;;
                   1066: 
                   1067:   -site | --site | --sit)
                   1068:     ac_prev=site ;;
                   1069:   -site=* | --site=* | --sit=*)
                   1070:     site=$ac_optarg ;;
                   1071: 
                   1072:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1073:     ac_prev=srcdir ;;
                   1074:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1075:     srcdir=$ac_optarg ;;
                   1076: 
                   1077:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1078:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1079:     ac_prev=sysconfdir ;;
                   1080:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1081:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1082:     sysconfdir=$ac_optarg ;;
                   1083: 
                   1084:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1085:     ac_prev=target_alias ;;
                   1086:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1087:     target_alias=$ac_optarg ;;
                   1088: 
                   1089:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1090:     verbose=yes ;;
                   1091: 
                   1092:   -version | --version | --versio | --versi | --vers | -V)
                   1093:     ac_init_version=: ;;
                   1094: 
                   1095:   -with-* | --with-*)
1.1.1.2   misho    1096:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misho    1097:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1098:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1099:       as_fn_error $? "invalid package name: $ac_useropt"
                   1100:     ac_useropt_orig=$ac_useropt
                   1101:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1102:     case $ac_user_opts in
                   1103:       *"
                   1104: "with_$ac_useropt"
                   1105: "*) ;;
                   1106:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1107:         ac_unrecognized_sep=', ';;
                   1108:     esac
                   1109:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       misho    1110: 
                   1111:   -without-* | --without-*)
1.1.1.2   misho    1112:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misho    1113:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1114:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1115:       as_fn_error $? "invalid package name: $ac_useropt"
                   1116:     ac_useropt_orig=$ac_useropt
                   1117:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1118:     case $ac_user_opts in
                   1119:       *"
                   1120: "with_$ac_useropt"
                   1121: "*) ;;
                   1122:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1123:         ac_unrecognized_sep=', ';;
                   1124:     esac
                   1125:     eval with_$ac_useropt=no ;;
1.1       misho    1126: 
                   1127:   --x)
                   1128:     # Obsolete; use --with-x.
                   1129:     with_x=yes ;;
                   1130: 
                   1131:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1132:   | --x-incl | --x-inc | --x-in | --x-i)
                   1133:     ac_prev=x_includes ;;
                   1134:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1135:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1136:     x_includes=$ac_optarg ;;
                   1137: 
                   1138:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1139:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1140:     ac_prev=x_libraries ;;
                   1141:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1142:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1143:     x_libraries=$ac_optarg ;;
                   1144: 
1.1.1.2   misho    1145:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1146: Try \`$0 --help' for more information"
1.1       misho    1147:     ;;
                   1148: 
                   1149:   *=*)
                   1150:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1151:     # Reject names that are not valid shell variable names.
1.1.1.2   misho    1152:     case $ac_envvar in #(
                   1153:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1154:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1155:     esac
1.1       misho    1156:     eval $ac_envvar=\$ac_optarg
                   1157:     export $ac_envvar ;;
                   1158: 
                   1159:   *)
                   1160:     # FIXME: should be removed in autoconf 3.0.
1.1.1.2   misho    1161:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misho    1162:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.1.1.2   misho    1163:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1164:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1165:     ;;
                   1166: 
                   1167:   esac
                   1168: done
                   1169: 
                   1170: if test -n "$ac_prev"; then
                   1171:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1.2   misho    1172:   as_fn_error $? "missing argument to $ac_option"
                   1173: fi
                   1174: 
                   1175: if test -n "$ac_unrecognized_opts"; then
                   1176:   case $enable_option_checking in
                   1177:     no) ;;
                   1178:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1179:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1180:   esac
1.1       misho    1181: fi
                   1182: 
1.1.1.2   misho    1183: # Check all directory arguments for consistency.
1.1       misho    1184: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1185:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1186:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1.1.1.4 ! misho    1187:                libdir localedir mandir runstatedir
1.1       misho    1188: do
                   1189:   eval ac_val=\$$ac_var
1.1.1.2   misho    1190:   # Remove trailing slashes.
                   1191:   case $ac_val in
                   1192:     */ )
                   1193:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1194:       eval $ac_var=\$ac_val;;
                   1195:   esac
                   1196:   # Be sure to have absolute directory names.
1.1       misho    1197:   case $ac_val in
                   1198:     [\\/$]* | ?:[\\/]* )  continue;;
                   1199:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1200:   esac
1.1.1.2   misho    1201:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1202: done
                   1203: 
                   1204: # There might be people who depend on the old broken behavior: `$host'
                   1205: # used to hold the argument of --host etc.
                   1206: # FIXME: To remove some day.
                   1207: build=$build_alias
                   1208: host=$host_alias
                   1209: target=$target_alias
                   1210: 
                   1211: # FIXME: To remove some day.
                   1212: if test "x$host_alias" != x; then
                   1213:   if test "x$build_alias" = x; then
                   1214:     cross_compiling=maybe
                   1215:   elif test "x$build_alias" != "x$host_alias"; then
                   1216:     cross_compiling=yes
                   1217:   fi
                   1218: fi
                   1219: 
                   1220: ac_tool_prefix=
                   1221: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1222: 
                   1223: test "$silent" = yes && exec 6>/dev/null
                   1224: 
                   1225: 
                   1226: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1227: ac_ls_di=`ls -di .` &&
                   1228: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1.1.2   misho    1229:   as_fn_error $? "working directory cannot be determined"
1.1       misho    1230: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1.1.2   misho    1231:   as_fn_error $? "pwd does not report name of working directory"
1.1       misho    1232: 
                   1233: 
                   1234: # Find the source files, if location was not specified.
                   1235: if test -z "$srcdir"; then
                   1236:   ac_srcdir_defaulted=yes
                   1237:   # Try the directory containing this script, then the parent directory.
1.1.1.2   misho    1238:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1239: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1240:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1241:         X"$as_myself" : 'X\(//\)$' \| \
                   1242:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1243: $as_echo X"$as_myself" |
1.1       misho    1244:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1245:            s//\1/
                   1246:            q
                   1247:          }
                   1248:          /^X\(\/\/\)[^/].*/{
                   1249:            s//\1/
                   1250:            q
                   1251:          }
                   1252:          /^X\(\/\/\)$/{
                   1253:            s//\1/
                   1254:            q
                   1255:          }
                   1256:          /^X\(\/\).*/{
                   1257:            s//\1/
                   1258:            q
                   1259:          }
                   1260:          s/.*/./; q'`
                   1261:   srcdir=$ac_confdir
                   1262:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1263:     srcdir=..
                   1264:   fi
                   1265: else
                   1266:   ac_srcdir_defaulted=no
                   1267: fi
                   1268: if test ! -r "$srcdir/$ac_unique_file"; then
                   1269:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1.1.2   misho    1270:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       misho    1271: fi
                   1272: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1273: ac_abs_confdir=`(
1.1.1.2   misho    1274:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       misho    1275:        pwd)`
                   1276: # When building in place, set srcdir=.
                   1277: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1278:   srcdir=.
                   1279: fi
                   1280: # Remove unnecessary trailing slashes from srcdir.
                   1281: # Double slashes in file names in object file debugging info
                   1282: # mess up M-x gdb in Emacs.
                   1283: case $srcdir in
                   1284: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1285: esac
                   1286: for ac_var in $ac_precious_vars; do
                   1287:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1288:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1289:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1290:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1291: done
                   1292: 
                   1293: #
                   1294: # Report the --help message.
                   1295: #
                   1296: if test "$ac_init_help" = "long"; then
                   1297:   # Omit some internal or obsolete options to make the list less imposing.
                   1298:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1299:   cat <<_ACEOF
1.1.1.4 ! misho    1300: \`configure' configures arping 2.21 to adapt to many kinds of systems.
1.1       misho    1301: 
                   1302: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1303: 
                   1304: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1305: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1306: 
                   1307: Defaults for the options are specified in brackets.
                   1308: 
                   1309: Configuration:
                   1310:   -h, --help              display this help and exit
                   1311:       --help=short        display options specific to this package
                   1312:       --help=recursive    display the short help of all the included packages
                   1313:   -V, --version           display version information and exit
1.1.1.2   misho    1314:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1315:       --cache-file=FILE   cache test results in FILE [disabled]
                   1316:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1317:   -n, --no-create         do not create output files
                   1318:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1319: 
                   1320: Installation directories:
                   1321:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.1.1.2   misho    1322:                           [$ac_default_prefix]
1.1       misho    1323:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.1.1.2   misho    1324:                           [PREFIX]
1.1       misho    1325: 
                   1326: By default, \`make install' will install all the files in
                   1327: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1328: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1329: for instance \`--prefix=\$HOME'.
                   1330: 
                   1331: For better control, use the options below.
                   1332: 
                   1333: Fine tuning of the installation directories:
1.1.1.2   misho    1334:   --bindir=DIR            user executables [EPREFIX/bin]
                   1335:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1336:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1337:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1338:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1339:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1.1.1.4 ! misho    1340:   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1.1.1.2   misho    1341:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1342:   --includedir=DIR        C header files [PREFIX/include]
                   1343:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1344:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1345:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1346:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1347:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1348:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1349:   --docdir=DIR            documentation root [DATAROOTDIR/doc/arping]
                   1350:   --htmldir=DIR           html documentation [DOCDIR]
                   1351:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1352:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1353:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misho    1354: _ACEOF
                   1355: 
                   1356:   cat <<\_ACEOF
                   1357: 
                   1358: Program names:
                   1359:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1360:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1361:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1362: 
                   1363: System types:
                   1364:   --build=BUILD     configure for building on BUILD [guessed]
                   1365:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1366:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1367: _ACEOF
                   1368: fi
                   1369: 
                   1370: if test -n "$ac_init_help"; then
                   1371:   case $ac_init_help in
1.1.1.4 ! misho    1372:      short | recursive ) echo "Configuration of arping 2.21:";;
1.1       misho    1373:    esac
                   1374:   cat <<\_ACEOF
                   1375: 
                   1376: Optional Features:
1.1.1.2   misho    1377:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misho    1378:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1379:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.4 ! misho    1380:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1381:   --disable-silent-rules  verbose build output (undo: "make V=0")
        !          1382:   --enable-maintainer-mode
        !          1383:                           enable make rules and dependencies not useful (and
        !          1384:                           sometimes confusing) to the casual installer
        !          1385:   --enable-dependency-tracking
        !          1386:                           do not reject slow dependency extractors
        !          1387:   --disable-dependency-tracking
        !          1388:                           speeds up one-time build
        !          1389:   --enable-hardened       Enable security build options
        !          1390:   --enable-warnings       Enable build warnings
1.1       misho    1391: 
                   1392: Some influential environment variables:
                   1393:   CC          C compiler command
                   1394:   CFLAGS      C compiler flags
                   1395:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1396:               nonstandard directory <lib dir>
                   1397:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.1.1.2   misho    1398:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       misho    1399:               you have headers in a nonstandard directory <include dir>
                   1400:   CPP         C preprocessor
                   1401: 
                   1402: Use these variables to override the choices made by `configure' or to help
                   1403: it to find libraries and programs with nonstandard names/locations.
                   1404: 
1.1.1.2   misho    1405: Report bugs to <thomas@habets.se>.
                   1406: _ACEOF
                   1407: ac_status=$?
                   1408: fi
                   1409: 
                   1410: if test "$ac_init_help" = "recursive"; then
                   1411:   # If there are subdirs, report their specific --help.
                   1412:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1413:     test -d "$ac_dir" ||
                   1414:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1415:       continue
                   1416:     ac_builddir=.
                   1417: 
                   1418: case "$ac_dir" in
                   1419: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1420: *)
                   1421:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1422:   # A ".." for each directory in $ac_dir_suffix.
                   1423:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1424:   case $ac_top_builddir_sub in
                   1425:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1426:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1427:   esac ;;
                   1428: esac
                   1429: ac_abs_top_builddir=$ac_pwd
                   1430: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1431: # for backward compatibility:
                   1432: ac_top_builddir=$ac_top_build_prefix
                   1433: 
                   1434: case $srcdir in
                   1435:   .)  # We are building in place.
                   1436:     ac_srcdir=.
                   1437:     ac_top_srcdir=$ac_top_builddir_sub
                   1438:     ac_abs_top_srcdir=$ac_pwd ;;
                   1439:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1440:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1441:     ac_top_srcdir=$srcdir
                   1442:     ac_abs_top_srcdir=$srcdir ;;
                   1443:   *) # Relative name.
                   1444:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1445:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1446:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1447: esac
                   1448: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1449: 
                   1450:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1451:     # Check for guested configure.
                   1452:     if test -f "$ac_srcdir/configure.gnu"; then
                   1453:       echo &&
                   1454:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1455:     elif test -f "$ac_srcdir/configure"; then
                   1456:       echo &&
                   1457:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1458:     else
                   1459:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1460:     fi || ac_status=$?
                   1461:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1462:   done
                   1463: fi
                   1464: 
                   1465: test -n "$ac_init_help" && exit $ac_status
                   1466: if $ac_init_version; then
                   1467:   cat <<\_ACEOF
1.1.1.4 ! misho    1468: arping configure 2.21
1.1.1.2   misho    1469: generated by GNU Autoconf 2.69
                   1470: 
                   1471: Copyright (C) 2012 Free Software Foundation, Inc.
                   1472: This configure script is free software; the Free Software Foundation
                   1473: gives unlimited permission to copy, distribute and modify it.
                   1474: _ACEOF
                   1475:   exit
                   1476: fi
                   1477: 
                   1478: ## ------------------------ ##
                   1479: ## Autoconf initialization. ##
                   1480: ## ------------------------ ##
                   1481: 
                   1482: # ac_fn_c_try_compile LINENO
                   1483: # --------------------------
                   1484: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1485: ac_fn_c_try_compile ()
                   1486: {
                   1487:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1488:   rm -f conftest.$ac_objext
                   1489:   if { { ac_try="$ac_compile"
                   1490: case "(($ac_try" in
                   1491:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1492:   *) ac_try_echo=$ac_try;;
                   1493: esac
                   1494: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1495: $as_echo "$ac_try_echo"; } >&5
                   1496:   (eval "$ac_compile") 2>conftest.err
                   1497:   ac_status=$?
                   1498:   if test -s conftest.err; then
                   1499:     grep -v '^ *+' conftest.err >conftest.er1
                   1500:     cat conftest.er1 >&5
                   1501:     mv -f conftest.er1 conftest.err
                   1502:   fi
                   1503:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1504:   test $ac_status = 0; } && {
                   1505:         test -z "$ac_c_werror_flag" ||
                   1506:         test ! -s conftest.err
                   1507:        } && test -s conftest.$ac_objext; then :
                   1508:   ac_retval=0
                   1509: else
                   1510:   $as_echo "$as_me: failed program was:" >&5
                   1511: sed 's/^/| /' conftest.$ac_ext >&5
                   1512: 
                   1513:        ac_retval=1
                   1514: fi
                   1515:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1516:   as_fn_set_status $ac_retval
                   1517: 
                   1518: } # ac_fn_c_try_compile
                   1519: 
                   1520: # ac_fn_c_try_link LINENO
                   1521: # -----------------------
                   1522: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1523: ac_fn_c_try_link ()
                   1524: {
                   1525:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1526:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1527:   if { { ac_try="$ac_link"
                   1528: case "(($ac_try" in
                   1529:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1530:   *) ac_try_echo=$ac_try;;
                   1531: esac
                   1532: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1533: $as_echo "$ac_try_echo"; } >&5
                   1534:   (eval "$ac_link") 2>conftest.err
                   1535:   ac_status=$?
                   1536:   if test -s conftest.err; then
                   1537:     grep -v '^ *+' conftest.err >conftest.er1
                   1538:     cat conftest.er1 >&5
                   1539:     mv -f conftest.er1 conftest.err
                   1540:   fi
                   1541:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1542:   test $ac_status = 0; } && {
                   1543:         test -z "$ac_c_werror_flag" ||
                   1544:         test ! -s conftest.err
                   1545:        } && test -s conftest$ac_exeext && {
                   1546:         test "$cross_compiling" = yes ||
                   1547:         test -x conftest$ac_exeext
                   1548:        }; then :
                   1549:   ac_retval=0
                   1550: else
                   1551:   $as_echo "$as_me: failed program was:" >&5
                   1552: sed 's/^/| /' conftest.$ac_ext >&5
                   1553: 
                   1554:        ac_retval=1
                   1555: fi
                   1556:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1557:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1558:   # interfere with the next link command; also delete a directory that is
                   1559:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1560:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1561:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1562:   as_fn_set_status $ac_retval
                   1563: 
                   1564: } # ac_fn_c_try_link
                   1565: 
                   1566: # ac_fn_c_try_cpp LINENO
                   1567: # ----------------------
                   1568: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1569: ac_fn_c_try_cpp ()
                   1570: {
                   1571:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1572:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1573: case "(($ac_try" in
                   1574:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1575:   *) ac_try_echo=$ac_try;;
                   1576: esac
                   1577: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1578: $as_echo "$ac_try_echo"; } >&5
                   1579:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1580:   ac_status=$?
                   1581:   if test -s conftest.err; then
                   1582:     grep -v '^ *+' conftest.err >conftest.er1
                   1583:     cat conftest.er1 >&5
                   1584:     mv -f conftest.er1 conftest.err
                   1585:   fi
                   1586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1587:   test $ac_status = 0; } > conftest.i && {
                   1588:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1589:         test ! -s conftest.err
                   1590:        }; then :
                   1591:   ac_retval=0
                   1592: else
                   1593:   $as_echo "$as_me: failed program was:" >&5
                   1594: sed 's/^/| /' conftest.$ac_ext >&5
                   1595: 
                   1596:     ac_retval=1
                   1597: fi
                   1598:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1599:   as_fn_set_status $ac_retval
                   1600: 
                   1601: } # ac_fn_c_try_cpp
                   1602: 
                   1603: # ac_fn_c_try_run LINENO
                   1604: # ----------------------
                   1605: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1606: # that executables *can* be run.
                   1607: ac_fn_c_try_run ()
                   1608: {
                   1609:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1610:   if { { ac_try="$ac_link"
                   1611: case "(($ac_try" in
                   1612:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1613:   *) ac_try_echo=$ac_try;;
                   1614: esac
                   1615: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1616: $as_echo "$ac_try_echo"; } >&5
                   1617:   (eval "$ac_link") 2>&5
                   1618:   ac_status=$?
                   1619:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1620:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1621:   { { case "(($ac_try" in
                   1622:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1623:   *) ac_try_echo=$ac_try;;
                   1624: esac
                   1625: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1626: $as_echo "$ac_try_echo"; } >&5
                   1627:   (eval "$ac_try") 2>&5
                   1628:   ac_status=$?
                   1629:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1630:   test $ac_status = 0; }; }; then :
                   1631:   ac_retval=0
                   1632: else
                   1633:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1634:        $as_echo "$as_me: failed program was:" >&5
                   1635: sed 's/^/| /' conftest.$ac_ext >&5
                   1636: 
                   1637:        ac_retval=$ac_status
                   1638: fi
                   1639:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1640:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1641:   as_fn_set_status $ac_retval
                   1642: 
                   1643: } # ac_fn_c_try_run
                   1644: 
                   1645: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1646: # -------------------------------------------------------
                   1647: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1648: # the include files in INCLUDES and setting the cache variable VAR
                   1649: # accordingly.
                   1650: ac_fn_c_check_header_mongrel ()
                   1651: {
                   1652:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1653:   if eval \${$3+:} false; then :
                   1654:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1655: $as_echo_n "checking for $2... " >&6; }
                   1656: if eval \${$3+:} false; then :
                   1657:   $as_echo_n "(cached) " >&6
                   1658: fi
                   1659: eval ac_res=\$$3
                   1660:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1661: $as_echo "$ac_res" >&6; }
                   1662: else
                   1663:   # Is the header compilable?
                   1664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1665: $as_echo_n "checking $2 usability... " >&6; }
                   1666: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1667: /* end confdefs.h.  */
                   1668: $4
                   1669: #include <$2>
1.1       misho    1670: _ACEOF
1.1.1.2   misho    1671: if ac_fn_c_try_compile "$LINENO"; then :
                   1672:   ac_header_compiler=yes
                   1673: else
                   1674:   ac_header_compiler=no
1.1       misho    1675: fi
1.1.1.2   misho    1676: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1677: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1678: $as_echo "$ac_header_compiler" >&6; }
1.1       misho    1679: 
1.1.1.2   misho    1680: # Is the header present?
                   1681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1682: $as_echo_n "checking $2 presence... " >&6; }
                   1683: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1684: /* end confdefs.h.  */
                   1685: #include <$2>
                   1686: _ACEOF
                   1687: if ac_fn_c_try_cpp "$LINENO"; then :
                   1688:   ac_header_preproc=yes
                   1689: else
                   1690:   ac_header_preproc=no
                   1691: fi
                   1692: rm -f conftest.err conftest.i conftest.$ac_ext
                   1693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1694: $as_echo "$ac_header_preproc" >&6; }
1.1       misho    1695: 
1.1.1.2   misho    1696: # So?  What about this header?
                   1697: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1698:   yes:no: )
                   1699:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1700: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1701:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1702: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1703:     ;;
                   1704:   no:yes:* )
                   1705:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1706: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1707:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1708: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1709:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1710: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1711:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1712: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1713:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1714: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1715: ( $as_echo "## ------------------------------- ##
                   1716: ## Report this to thomas@habets.se ##
                   1717: ## ------------------------------- ##"
                   1718:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1719:     ;;
1.1       misho    1720: esac
1.1.1.2   misho    1721:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1722: $as_echo_n "checking for $2... " >&6; }
                   1723: if eval \${$3+:} false; then :
                   1724:   $as_echo_n "(cached) " >&6
                   1725: else
                   1726:   eval "$3=\$ac_header_compiler"
                   1727: fi
                   1728: eval ac_res=\$$3
                   1729:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1730: $as_echo "$ac_res" >&6; }
                   1731: fi
                   1732:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1733: 
                   1734: } # ac_fn_c_check_header_mongrel
                   1735: 
                   1736: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1737: # -------------------------------------------------------
                   1738: # Tests whether HEADER exists and can be compiled using the include files in
                   1739: # INCLUDES, setting the cache variable VAR accordingly.
                   1740: ac_fn_c_check_header_compile ()
                   1741: {
                   1742:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1743:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1744: $as_echo_n "checking for $2... " >&6; }
                   1745: if eval \${$3+:} false; then :
                   1746:   $as_echo_n "(cached) " >&6
                   1747: else
                   1748:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1749: /* end confdefs.h.  */
                   1750: $4
                   1751: #include <$2>
                   1752: _ACEOF
                   1753: if ac_fn_c_try_compile "$LINENO"; then :
                   1754:   eval "$3=yes"
                   1755: else
                   1756:   eval "$3=no"
                   1757: fi
                   1758: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1759: fi
                   1760: eval ac_res=\$$3
                   1761:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1762: $as_echo "$ac_res" >&6; }
                   1763:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1764: 
                   1765: } # ac_fn_c_check_header_compile
                   1766: 
                   1767: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   1768: # ------------------------------------
                   1769: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   1770: # accordingly.
                   1771: ac_fn_c_find_uintX_t ()
                   1772: {
                   1773:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1774:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   1775: $as_echo_n "checking for uint$2_t... " >&6; }
                   1776: if eval \${$3+:} false; then :
                   1777:   $as_echo_n "(cached) " >&6
                   1778: else
                   1779:   eval "$3=no"
                   1780:      # Order is important - never check a type that is potentially smaller
                   1781:      # than half of the expected target width.
                   1782:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   1783:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   1784:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1785: /* end confdefs.h.  */
                   1786: $ac_includes_default
                   1787: int
                   1788: main ()
                   1789: {
                   1790: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
                   1791: test_array [0] = 0;
                   1792: return test_array [0];
1.1       misho    1793: 
1.1.1.2   misho    1794:   ;
                   1795:   return 0;
                   1796: }
                   1797: _ACEOF
                   1798: if ac_fn_c_try_compile "$LINENO"; then :
                   1799:   case $ac_type in #(
                   1800:   uint$2_t) :
                   1801:     eval "$3=yes" ;; #(
                   1802:   *) :
                   1803:     eval "$3=\$ac_type" ;;
1.1       misho    1804: esac
1.1.1.2   misho    1805: fi
                   1806: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1807:        if eval test \"x\$"$3"\" = x"no"; then :
1.1       misho    1808: 
1.1.1.2   misho    1809: else
                   1810:   break
                   1811: fi
                   1812:      done
1.1       misho    1813: fi
1.1.1.2   misho    1814: eval ac_res=\$$3
                   1815:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1816: $as_echo "$ac_res" >&6; }
                   1817:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1818: 
                   1819: } # ac_fn_c_find_uintX_t
                   1820: 
                   1821: # ac_fn_c_check_func LINENO FUNC VAR
                   1822: # ----------------------------------
                   1823: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1824: ac_fn_c_check_func ()
                   1825: {
                   1826:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1827:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1828: $as_echo_n "checking for $2... " >&6; }
                   1829: if eval \${$3+:} false; then :
                   1830:   $as_echo_n "(cached) " >&6
                   1831: else
                   1832:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1833: /* end confdefs.h.  */
                   1834: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1835:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1836: #define $2 innocuous_$2
1.1       misho    1837: 
1.1.1.2   misho    1838: /* System header to define __stub macros and hopefully few prototypes,
                   1839:     which can conflict with char $2 (); below.
                   1840:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1841:     <limits.h> exists even on freestanding compilers.  */
1.1       misho    1842: 
1.1.1.2   misho    1843: #ifdef __STDC__
                   1844: # include <limits.h>
                   1845: #else
                   1846: # include <assert.h>
                   1847: #endif
                   1848: 
                   1849: #undef $2
                   1850: 
                   1851: /* Override any GCC internal prototype to avoid an error.
                   1852:    Use char because int might match the return type of a GCC
                   1853:    builtin and then its argument prototype would still apply.  */
                   1854: #ifdef __cplusplus
                   1855: extern "C"
                   1856: #endif
                   1857: char $2 ();
                   1858: /* The GNU C library defines this for functions which it implements
                   1859:     to always fail with ENOSYS.  Some functions are actually named
                   1860:     something starting with __ and the normal name is an alias.  */
                   1861: #if defined __stub_$2 || defined __stub___$2
                   1862: choke me
                   1863: #endif
                   1864: 
                   1865: int
                   1866: main ()
                   1867: {
                   1868: return $2 ();
                   1869:   ;
                   1870:   return 0;
                   1871: }
1.1       misho    1872: _ACEOF
1.1.1.2   misho    1873: if ac_fn_c_try_link "$LINENO"; then :
                   1874:   eval "$3=yes"
                   1875: else
                   1876:   eval "$3=no"
                   1877: fi
                   1878: rm -f core conftest.err conftest.$ac_objext \
                   1879:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    1880: fi
1.1.1.2   misho    1881: eval ac_res=\$$3
                   1882:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1883: $as_echo "$ac_res" >&6; }
                   1884:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1885: 
                   1886: } # ac_fn_c_check_func
1.1.1.4 ! misho    1887: 
        !          1888: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
        !          1889: # ---------------------------------------------
        !          1890: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
        !          1891: # accordingly.
        !          1892: ac_fn_c_check_decl ()
        !          1893: {
        !          1894:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1895:   as_decl_name=`echo $2|sed 's/ *(.*//'`
        !          1896:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
        !          1897:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
        !          1898: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
        !          1899: if eval \${$3+:} false; then :
        !          1900:   $as_echo_n "(cached) " >&6
        !          1901: else
        !          1902:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1903: /* end confdefs.h.  */
        !          1904: $4
        !          1905: int
        !          1906: main ()
        !          1907: {
        !          1908: #ifndef $as_decl_name
        !          1909: #ifdef __cplusplus
        !          1910:   (void) $as_decl_use;
        !          1911: #else
        !          1912:   (void) $as_decl_name;
        !          1913: #endif
        !          1914: #endif
        !          1915: 
        !          1916:   ;
        !          1917:   return 0;
        !          1918: }
        !          1919: _ACEOF
        !          1920: if ac_fn_c_try_compile "$LINENO"; then :
        !          1921:   eval "$3=yes"
        !          1922: else
        !          1923:   eval "$3=no"
        !          1924: fi
        !          1925: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1926: fi
        !          1927: eval ac_res=\$$3
        !          1928:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1929: $as_echo "$ac_res" >&6; }
        !          1930:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1931: 
        !          1932: } # ac_fn_c_check_decl
1.1       misho    1933: cat >config.log <<_ACEOF
                   1934: This file contains any messages produced by compilers while
                   1935: running configure, to aid debugging if configure makes a mistake.
                   1936: 
1.1.1.4 ! misho    1937: It was created by arping $as_me 2.21, which was
1.1.1.2   misho    1938: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    1939: 
                   1940:   $ $0 $@
                   1941: 
                   1942: _ACEOF
                   1943: exec 5>>config.log
                   1944: {
                   1945: cat <<_ASUNAME
                   1946: ## --------- ##
                   1947: ## Platform. ##
                   1948: ## --------- ##
                   1949: 
                   1950: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1951: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1952: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1953: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1954: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1955: 
                   1956: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1957: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1958: 
                   1959: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1960: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1961: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1962: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1963: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1964: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1965: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1966: 
                   1967: _ASUNAME
                   1968: 
                   1969: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1970: for as_dir in $PATH
                   1971: do
                   1972:   IFS=$as_save_IFS
                   1973:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    1974:     $as_echo "PATH: $as_dir"
                   1975:   done
1.1       misho    1976: IFS=$as_save_IFS
                   1977: 
                   1978: } >&5
                   1979: 
                   1980: cat >&5 <<_ACEOF
                   1981: 
                   1982: 
                   1983: ## ----------- ##
                   1984: ## Core tests. ##
                   1985: ## ----------- ##
                   1986: 
                   1987: _ACEOF
                   1988: 
                   1989: 
                   1990: # Keep a trace of the command line.
                   1991: # Strip out --no-create and --no-recursion so they do not pile up.
                   1992: # Strip out --silent because we don't want to record it for future runs.
                   1993: # Also quote any args containing shell meta-characters.
                   1994: # Make two passes to allow for proper duplicate-argument suppression.
                   1995: ac_configure_args=
                   1996: ac_configure_args0=
                   1997: ac_configure_args1=
                   1998: ac_must_keep_next=false
                   1999: for ac_pass in 1 2
                   2000: do
                   2001:   for ac_arg
                   2002:   do
                   2003:     case $ac_arg in
                   2004:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2005:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2006:     | -silent | --silent | --silen | --sile | --sil)
                   2007:       continue ;;
                   2008:     *\'*)
1.1.1.2   misho    2009:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    2010:     esac
                   2011:     case $ac_pass in
1.1.1.2   misho    2012:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    2013:     2)
1.1.1.2   misho    2014:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misho    2015:       if test $ac_must_keep_next = true; then
                   2016:        ac_must_keep_next=false # Got value, back to normal.
                   2017:       else
                   2018:        case $ac_arg in
                   2019:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2020:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2021:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2022:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2023:            case "$ac_configure_args0 " in
                   2024:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2025:            esac
                   2026:            ;;
                   2027:          -* ) ac_must_keep_next=true ;;
                   2028:        esac
                   2029:       fi
1.1.1.2   misho    2030:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    2031:       ;;
                   2032:     esac
                   2033:   done
                   2034: done
1.1.1.2   misho    2035: { ac_configure_args0=; unset ac_configure_args0;}
                   2036: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misho    2037: 
                   2038: # When interrupted or exit'd, cleanup temporary files, and complete
                   2039: # config.log.  We remove comments because anyway the quotes in there
                   2040: # would cause problems or look ugly.
                   2041: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2042: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2043: trap 'exit_status=$?
                   2044:   # Save into config.log some information that might help in debugging.
                   2045:   {
                   2046:     echo
                   2047: 
1.1.1.2   misho    2048:     $as_echo "## ---------------- ##
1.1       misho    2049: ## Cache variables. ##
1.1.1.2   misho    2050: ## ---------------- ##"
1.1       misho    2051:     echo
                   2052:     # The following way of writing the cache mishandles newlines in values,
                   2053: (
                   2054:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2055:     eval ac_val=\$$ac_var
                   2056:     case $ac_val in #(
                   2057:     *${as_nl}*)
                   2058:       case $ac_var in #(
1.1.1.2   misho    2059:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2060: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    2061:       esac
                   2062:       case $ac_var in #(
                   2063:       _ | IFS | as_nl) ;; #(
1.1.1.2   misho    2064:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2065:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    2066:       esac ;;
                   2067:     esac
                   2068:   done
                   2069:   (set) 2>&1 |
                   2070:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2071:     *${as_nl}ac_space=\ *)
                   2072:       sed -n \
                   2073:        "s/'\''/'\''\\\\'\'''\''/g;
                   2074:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2075:       ;; #(
                   2076:     *)
                   2077:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2078:       ;;
                   2079:     esac |
                   2080:     sort
                   2081: )
                   2082:     echo
                   2083: 
1.1.1.2   misho    2084:     $as_echo "## ----------------- ##
1.1       misho    2085: ## Output variables. ##
1.1.1.2   misho    2086: ## ----------------- ##"
1.1       misho    2087:     echo
                   2088:     for ac_var in $ac_subst_vars
                   2089:     do
                   2090:       eval ac_val=\$$ac_var
                   2091:       case $ac_val in
1.1.1.2   misho    2092:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       misho    2093:       esac
1.1.1.2   misho    2094:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2095:     done | sort
                   2096:     echo
                   2097: 
                   2098:     if test -n "$ac_subst_files"; then
1.1.1.2   misho    2099:       $as_echo "## ------------------- ##
1.1       misho    2100: ## File substitutions. ##
1.1.1.2   misho    2101: ## ------------------- ##"
1.1       misho    2102:       echo
                   2103:       for ac_var in $ac_subst_files
                   2104:       do
                   2105:        eval ac_val=\$$ac_var
                   2106:        case $ac_val in
1.1.1.2   misho    2107:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       misho    2108:        esac
1.1.1.2   misho    2109:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    2110:       done | sort
                   2111:       echo
                   2112:     fi
                   2113: 
                   2114:     if test -s confdefs.h; then
1.1.1.2   misho    2115:       $as_echo "## ----------- ##
1.1       misho    2116: ## confdefs.h. ##
1.1.1.2   misho    2117: ## ----------- ##"
1.1       misho    2118:       echo
                   2119:       cat confdefs.h
                   2120:       echo
                   2121:     fi
                   2122:     test "$ac_signal" != 0 &&
1.1.1.2   misho    2123:       $as_echo "$as_me: caught signal $ac_signal"
                   2124:     $as_echo "$as_me: exit $exit_status"
1.1       misho    2125:   } >&5
                   2126:   rm -f core *.core core.conftest.* &&
                   2127:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2128:     exit $exit_status
                   2129: ' 0
                   2130: for ac_signal in 1 2 13 15; do
1.1.1.2   misho    2131:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misho    2132: done
                   2133: ac_signal=0
                   2134: 
                   2135: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2136: rm -f -r conftest* confdefs.h
                   2137: 
1.1.1.2   misho    2138: $as_echo "/* confdefs.h */" > confdefs.h
                   2139: 
1.1       misho    2140: # Predefined preprocessor variables.
                   2141: 
                   2142: cat >>confdefs.h <<_ACEOF
                   2143: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2144: _ACEOF
                   2145: 
                   2146: cat >>confdefs.h <<_ACEOF
                   2147: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2148: _ACEOF
                   2149: 
                   2150: cat >>confdefs.h <<_ACEOF
                   2151: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2152: _ACEOF
                   2153: 
                   2154: cat >>confdefs.h <<_ACEOF
                   2155: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2156: _ACEOF
                   2157: 
                   2158: cat >>confdefs.h <<_ACEOF
                   2159: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2160: _ACEOF
                   2161: 
1.1.1.2   misho    2162: cat >>confdefs.h <<_ACEOF
                   2163: #define PACKAGE_URL "$PACKAGE_URL"
                   2164: _ACEOF
                   2165: 
1.1       misho    2166: 
                   2167: # Let the site file select an alternate cache file if it wants to.
1.1.1.2   misho    2168: # Prefer an explicitly selected file to automatically selected ones.
                   2169: ac_site_file1=NONE
                   2170: ac_site_file2=NONE
1.1       misho    2171: if test -n "$CONFIG_SITE"; then
1.1.1.2   misho    2172:   # We do not want a PATH search for config.site.
                   2173:   case $CONFIG_SITE in #((
                   2174:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2175:     */*) ac_site_file1=$CONFIG_SITE;;
                   2176:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2177:   esac
1.1       misho    2178: elif test "x$prefix" != xNONE; then
1.1.1.2   misho    2179:   ac_site_file1=$prefix/share/config.site
                   2180:   ac_site_file2=$prefix/etc/config.site
1.1       misho    2181: else
1.1.1.2   misho    2182:   ac_site_file1=$ac_default_prefix/share/config.site
                   2183:   ac_site_file2=$ac_default_prefix/etc/config.site
1.1       misho    2184: fi
1.1.1.2   misho    2185: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.1       misho    2186: do
1.1.1.2   misho    2187:   test "x$ac_site_file" = xNONE && continue
                   2188:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2189:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2190: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misho    2191:     sed 's/^/| /' "$ac_site_file" >&5
1.1.1.2   misho    2192:     . "$ac_site_file" \
                   2193:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2194: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2195: as_fn_error $? "failed to load site script $ac_site_file
                   2196: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2197:   fi
                   2198: done
                   2199: 
                   2200: if test -r "$cache_file"; then
1.1.1.2   misho    2201:   # Some versions of bash will fail to source /dev/null (special files
                   2202:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2203:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2204:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2205: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misho    2206:     case $cache_file in
                   2207:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2208:       *)                      . "./$cache_file";;
                   2209:     esac
                   2210:   fi
                   2211: else
1.1.1.2   misho    2212:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2213: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misho    2214:   >$cache_file
                   2215: fi
                   2216: 
                   2217: # Check that the precious variables saved in the cache have kept the same
                   2218: # value.
                   2219: ac_cache_corrupted=false
                   2220: for ac_var in $ac_precious_vars; do
                   2221:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2222:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2223:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2224:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2225:   case $ac_old_set,$ac_new_set in
                   2226:     set,)
1.1.1.2   misho    2227:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2228: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misho    2229:       ac_cache_corrupted=: ;;
                   2230:     ,set)
1.1.1.2   misho    2231:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2232: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misho    2233:       ac_cache_corrupted=: ;;
                   2234:     ,);;
                   2235:     *)
                   2236:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.1.1.2   misho    2237:        # differences in whitespace do not lead to failure.
                   2238:        ac_old_val_w=`echo x $ac_old_val`
                   2239:        ac_new_val_w=`echo x $ac_new_val`
                   2240:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2241:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2242: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2243:          ac_cache_corrupted=:
                   2244:        else
                   2245:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2246: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2247:          eval $ac_var=\$ac_old_val
                   2248:        fi
                   2249:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2250: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2251:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2252: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misho    2253:       fi;;
                   2254:   esac
                   2255:   # Pass precious variables to config.status.
                   2256:   if test "$ac_new_set" = set; then
                   2257:     case $ac_new_val in
1.1.1.2   misho    2258:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    2259:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2260:     esac
                   2261:     case " $ac_configure_args " in
                   2262:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.1.1.2   misho    2263:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2264:     esac
                   2265:   fi
                   2266: done
                   2267: if $ac_cache_corrupted; then
1.1.1.2   misho    2268:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2269: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2270:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2271: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2272:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2273: fi
                   2274: ## -------------------- ##
                   2275: ## Main body of script. ##
                   2276: ## -------------------- ##
1.1       misho    2277: 
                   2278: ac_ext=c
                   2279: ac_cpp='$CPP $CPPFLAGS'
                   2280: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2281: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2282: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2283: 
                   2284: 
                   2285: ac_aux_dir=
                   2286: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2287:   if test -f "$ac_dir/install-sh"; then
                   2288:     ac_aux_dir=$ac_dir
                   2289:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2290:     break
                   2291:   elif test -f "$ac_dir/install.sh"; then
                   2292:     ac_aux_dir=$ac_dir
                   2293:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2294:     break
                   2295:   elif test -f "$ac_dir/shtool"; then
                   2296:     ac_aux_dir=$ac_dir
                   2297:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2298:     break
                   2299:   fi
                   2300: done
                   2301: if test -z "$ac_aux_dir"; then
1.1.1.2   misho    2302:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.1       misho    2303: fi
                   2304: 
                   2305: # These three variables are undocumented and unsupported,
                   2306: # and are intended to be withdrawn in a future Autoconf release.
                   2307: # They can cause serious problems if a builder's source tree is in a directory
                   2308: # whose full name contains unusual characters.
                   2309: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2310: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2311: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2312: 
                   2313: 
                   2314: # Make sure we can run config.sub.
                   2315: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.1.1.2   misho    2316:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2317: 
                   2318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2319: $as_echo_n "checking build system type... " >&6; }
                   2320: if ${ac_cv_build+:} false; then :
                   2321:   $as_echo_n "(cached) " >&6
1.1       misho    2322: else
                   2323:   ac_build_alias=$build_alias
                   2324: test "x$ac_build_alias" = x &&
                   2325:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2326: test "x$ac_build_alias" = x &&
1.1.1.2   misho    2327:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1       misho    2328: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.1.1.2   misho    2329:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1       misho    2330: 
                   2331: fi
1.1.1.2   misho    2332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2333: $as_echo "$ac_cv_build" >&6; }
1.1       misho    2334: case $ac_cv_build in
                   2335: *-*-*) ;;
1.1.1.2   misho    2336: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    2337: esac
                   2338: build=$ac_cv_build
                   2339: ac_save_IFS=$IFS; IFS='-'
                   2340: set x $ac_cv_build
                   2341: shift
                   2342: build_cpu=$1
                   2343: build_vendor=$2
                   2344: shift; shift
                   2345: # Remember, the first character of IFS is used to create $*,
                   2346: # except with old shells:
                   2347: build_os=$*
                   2348: IFS=$ac_save_IFS
                   2349: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2350: 
                   2351: 
1.1.1.2   misho    2352: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2353: $as_echo_n "checking host system type... " >&6; }
                   2354: if ${ac_cv_host+:} false; then :
                   2355:   $as_echo_n "(cached) " >&6
1.1       misho    2356: else
                   2357:   if test "x$host_alias" = x; then
                   2358:   ac_cv_host=$ac_cv_build
                   2359: else
                   2360:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.1.1.2   misho    2361:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misho    2362: fi
                   2363: 
                   2364: fi
1.1.1.2   misho    2365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2366: $as_echo "$ac_cv_host" >&6; }
1.1       misho    2367: case $ac_cv_host in
                   2368: *-*-*) ;;
1.1.1.2   misho    2369: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    2370: esac
                   2371: host=$ac_cv_host
                   2372: ac_save_IFS=$IFS; IFS='-'
                   2373: set x $ac_cv_host
                   2374: shift
                   2375: host_cpu=$1
                   2376: host_vendor=$2
                   2377: shift; shift
                   2378: # Remember, the first character of IFS is used to create $*,
                   2379: # except with old shells:
                   2380: host_os=$*
                   2381: IFS=$ac_save_IFS
                   2382: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2383: 
                   2384: 
1.1.1.2   misho    2385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2386: $as_echo_n "checking target system type... " >&6; }
                   2387: if ${ac_cv_target+:} false; then :
                   2388:   $as_echo_n "(cached) " >&6
1.1       misho    2389: else
                   2390:   if test "x$target_alias" = x; then
                   2391:   ac_cv_target=$ac_cv_host
                   2392: else
                   2393:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.1.1.2   misho    2394:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.1       misho    2395: fi
                   2396: 
                   2397: fi
1.1.1.2   misho    2398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2399: $as_echo "$ac_cv_target" >&6; }
1.1       misho    2400: case $ac_cv_target in
                   2401: *-*-*) ;;
1.1.1.2   misho    2402: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.1       misho    2403: esac
                   2404: target=$ac_cv_target
                   2405: ac_save_IFS=$IFS; IFS='-'
                   2406: set x $ac_cv_target
                   2407: shift
                   2408: target_cpu=$1
                   2409: target_vendor=$2
                   2410: shift; shift
                   2411: # Remember, the first character of IFS is used to create $*,
                   2412: # except with old shells:
                   2413: target_os=$*
                   2414: IFS=$ac_save_IFS
                   2415: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2416: 
                   2417: 
                   2418: # The aliases save the names the user supplied, while $host etc.
                   2419: # will get canonicalized.
                   2420: test -n "$target_alias" &&
                   2421:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2422:     NONENONEs,x,x, &&
                   2423:   program_prefix=${target_alias}-
                   2424: 
1.1.1.2   misho    2425: 
1.1.1.4 ! misho    2426: am__api_version='1.16'
1.1       misho    2427: 
                   2428: # Find a good install program.  We prefer a C program (faster),
                   2429: # so one script is as good as another.  But avoid the broken or
                   2430: # incompatible versions:
                   2431: # SysV /etc/install, /usr/sbin/install
                   2432: # SunOS /usr/etc/install
                   2433: # IRIX /sbin/install
                   2434: # AIX /bin/install
                   2435: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2436: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2437: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2438: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2439: # OS/2's system install, which has a completely different semantic
                   2440: # ./install, which can be erroneously created by make from ./install.sh.
1.1.1.2   misho    2441: # Reject install programs that cannot install multiple files.
                   2442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2443: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misho    2444: if test -z "$INSTALL"; then
1.1.1.2   misho    2445: if ${ac_cv_path_install+:} false; then :
                   2446:   $as_echo_n "(cached) " >&6
1.1       misho    2447: else
                   2448:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2449: for as_dir in $PATH
                   2450: do
                   2451:   IFS=$as_save_IFS
                   2452:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2453:     # Account for people who put trailing slashes in PATH elements.
                   2454: case $as_dir/ in #((
                   2455:   ./ | .// | /[cC]/* | \
1.1       misho    2456:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.2   misho    2457:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    2458:   /usr/ucb/* ) ;;
                   2459:   *)
                   2460:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2461:     # Don't use installbsd from OSF since it installs stuff as root
                   2462:     # by default.
                   2463:     for ac_prog in ginstall scoinst install; do
                   2464:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2   misho    2465:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2466:          if test $ac_prog = install &&
                   2467:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2468:            # AIX install.  It has an incompatible calling convention.
                   2469:            :
                   2470:          elif test $ac_prog = install &&
                   2471:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2472:            # program-specific install script used by HP pwplus--don't use.
                   2473:            :
                   2474:          else
1.1.1.2   misho    2475:            rm -rf conftest.one conftest.two conftest.dir
                   2476:            echo one > conftest.one
                   2477:            echo two > conftest.two
                   2478:            mkdir conftest.dir
                   2479:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2480:              test -s conftest.one && test -s conftest.two &&
                   2481:              test -s conftest.dir/conftest.one &&
                   2482:              test -s conftest.dir/conftest.two
                   2483:            then
                   2484:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2485:              break 3
                   2486:            fi
1.1       misho    2487:          fi
                   2488:        fi
                   2489:       done
                   2490:     done
                   2491:     ;;
                   2492: esac
1.1.1.2   misho    2493: 
                   2494:   done
1.1       misho    2495: IFS=$as_save_IFS
                   2496: 
1.1.1.2   misho    2497: rm -rf conftest.one conftest.two conftest.dir
1.1       misho    2498: 
                   2499: fi
                   2500:   if test "${ac_cv_path_install+set}" = set; then
                   2501:     INSTALL=$ac_cv_path_install
                   2502:   else
                   2503:     # As a last resort, use the slow shell script.  Don't cache a
                   2504:     # value for INSTALL within a source directory, because that will
                   2505:     # break other packages using the cache if that directory is
                   2506:     # removed, or if the value is a relative name.
                   2507:     INSTALL=$ac_install_sh
                   2508:   fi
                   2509: fi
1.1.1.2   misho    2510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2511: $as_echo "$INSTALL" >&6; }
1.1       misho    2512: 
                   2513: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2514: # It thinks the first close brace ends the variable substitution.
                   2515: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2516: 
                   2517: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2518: 
                   2519: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2520: 
1.1.1.2   misho    2521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2522: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2523: # Reject unsafe characters in $srcdir or the absolute working directory
                   2524: # name.  Accept space and tab only in the latter.
                   2525: am_lf='
                   2526: '
                   2527: case `pwd` in
                   2528:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2529:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2530: esac
                   2531: case $srcdir in
                   2532:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.4 ! misho    2533:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1.1.2   misho    2534: esac
                   2535: 
1.1.1.4 ! misho    2536: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2537: # arguments.  Must try -L first in case configure is actually a
                   2538: # symlink; some systems play weird games with the mod time of symlinks
                   2539: # (eg FreeBSD returns the mod time of the symlink's containing
                   2540: # directory).
                   2541: if (
1.1.1.4 ! misho    2542:    am_has_slept=no
        !          2543:    for am_try in 1 2; do
        !          2544:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2545:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2546:      if test "$*" = "X"; then
        !          2547:        # -L didn't work.
        !          2548:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2549:      fi
        !          2550:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2551:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1.1.2   misho    2552: 
1.1.1.4 ! misho    2553:        # If neither matched, then we have a broken ls.  This can happen
        !          2554:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2555:        # broken ls alias from the environment.  This has actually
        !          2556:        # happened.  Such a system could not be considered "sane".
        !          2557:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2558:   alias in your environment" "$LINENO" 5
        !          2559:      fi
        !          2560:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2561:        break
        !          2562:      fi
        !          2563:      # Just in case.
        !          2564:      sleep 1
        !          2565:      am_has_slept=yes
        !          2566:    done
1.1.1.2   misho    2567:    test "$2" = conftest.file
                   2568:    )
                   2569: then
                   2570:    # Ok.
                   2571:    :
                   2572: else
                   2573:    as_fn_error $? "newly created file is older than distributed files!
                   2574: Check your system clock" "$LINENO" 5
                   2575: fi
                   2576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2577: $as_echo "yes" >&6; }
1.1.1.4 ! misho    2578: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2579: # generated files are strictly newer.
        !          2580: am_sleep_pid=
        !          2581: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2582:   ( sleep 1 ) &
        !          2583:   am_sleep_pid=$!
        !          2584: fi
        !          2585: 
        !          2586: rm -f conftest.file
        !          2587: 
1.1.1.2   misho    2588: test "$program_prefix" != NONE &&
                   2589:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2590: # Use a double $ so make ignores it.
                   2591: test "$program_suffix" != NONE &&
                   2592:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2593: # Double any \ or $.
                   2594: # By default was `s,x,x', remove it if useless.
                   2595: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2596: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2597: 
1.1.1.4 ! misho    2598: # Expand $ac_aux_dir to an absolute path.
        !          2599: am_aux_dir=`cd "$ac_aux_dir" && pwd`
1.1.1.2   misho    2600: 
                   2601: if test x"${MISSING+set}" != xset; then
                   2602:   case $am_aux_dir in
                   2603:   *\ * | *\    *)
                   2604:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2605:   *)
                   2606:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2607:   esac
                   2608: fi
                   2609: # Use eval to expand $SHELL
1.1.1.4 ! misho    2610: if eval "$MISSING --is-lightweight"; then
        !          2611:   am_missing_run="$MISSING "
1.1.1.2   misho    2612: else
                   2613:   am_missing_run=
1.1.1.4 ! misho    2614:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2615: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1.1.2   misho    2616: fi
                   2617: 
1.1.1.4 ! misho    2618: if test x"${install_sh+set}" != xset; then
1.1.1.2   misho    2619:   case $am_aux_dir in
                   2620:   *\ * | *\    *)
                   2621:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2622:   *)
                   2623:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2624:   esac
                   2625: fi
                   2626: 
1.1.1.4 ! misho    2627: # Installed binaries are usually stripped using 'strip' when the user
        !          2628: # run "make install-strip".  However 'strip' might not be the right
1.1.1.2   misho    2629: # tool to use in cross-compilation environments, therefore Automake
1.1.1.4 ! misho    2630: # will honor the 'STRIP' environment variable to overrule this program.
1.1.1.2   misho    2631: if test "$cross_compiling" != no; then
                   2632:   if test -n "$ac_tool_prefix"; then
                   2633:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2634: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2636: $as_echo_n "checking for $ac_word... " >&6; }
                   2637: if ${ac_cv_prog_STRIP+:} false; then :
                   2638:   $as_echo_n "(cached) " >&6
                   2639: else
                   2640:   if test -n "$STRIP"; then
                   2641:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2642: else
                   2643: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2644: for as_dir in $PATH
                   2645: do
                   2646:   IFS=$as_save_IFS
                   2647:   test -z "$as_dir" && as_dir=.
                   2648:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2649:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2650:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2651:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2652:     break 2
                   2653:   fi
                   2654: done
                   2655:   done
                   2656: IFS=$as_save_IFS
                   2657: 
                   2658: fi
                   2659: fi
                   2660: STRIP=$ac_cv_prog_STRIP
                   2661: if test -n "$STRIP"; then
                   2662:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2663: $as_echo "$STRIP" >&6; }
                   2664: else
                   2665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2666: $as_echo "no" >&6; }
                   2667: fi
                   2668: 
                   2669: 
                   2670: fi
                   2671: if test -z "$ac_cv_prog_STRIP"; then
                   2672:   ac_ct_STRIP=$STRIP
                   2673:   # Extract the first word of "strip", so it can be a program name with args.
                   2674: set dummy strip; ac_word=$2
                   2675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2676: $as_echo_n "checking for $ac_word... " >&6; }
                   2677: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2678:   $as_echo_n "(cached) " >&6
                   2679: else
                   2680:   if test -n "$ac_ct_STRIP"; then
                   2681:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2682: else
                   2683: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2684: for as_dir in $PATH
                   2685: do
                   2686:   IFS=$as_save_IFS
                   2687:   test -z "$as_dir" && as_dir=.
                   2688:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2689:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2690:     ac_cv_prog_ac_ct_STRIP="strip"
                   2691:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2692:     break 2
                   2693:   fi
                   2694: done
                   2695:   done
                   2696: IFS=$as_save_IFS
1.1       misho    2697: 
1.1.1.2   misho    2698: fi
                   2699: fi
                   2700: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2701: if test -n "$ac_ct_STRIP"; then
                   2702:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2703: $as_echo "$ac_ct_STRIP" >&6; }
1.1       misho    2704: else
1.1.1.2   misho    2705:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2706: $as_echo "no" >&6; }
1.1       misho    2707: fi
                   2708: 
1.1.1.2   misho    2709:   if test "x$ac_ct_STRIP" = x; then
                   2710:     STRIP=":"
                   2711:   else
                   2712:     case $cross_compiling:$ac_tool_warned in
                   2713: yes:)
                   2714: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2715: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2716: ac_tool_warned=yes ;;
                   2717: esac
                   2718:     STRIP=$ac_ct_STRIP
                   2719:   fi
1.1       misho    2720: else
1.1.1.2   misho    2721:   STRIP="$ac_cv_prog_STRIP"
                   2722: fi
                   2723: 
1.1       misho    2724: fi
1.1.1.2   misho    2725: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1.1       misho    2726: 
1.1.1.2   misho    2727: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2728: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1.1       misho    2729: if test -z "$MKDIR_P"; then
1.1.1.2   misho    2730:   if ${ac_cv_path_mkdir+:} false; then :
                   2731:   $as_echo_n "(cached) " >&6
1.1       misho    2732: else
                   2733:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2734: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2735: do
                   2736:   IFS=$as_save_IFS
                   2737:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2738:     for ac_prog in mkdir gmkdir; do
1.1       misho    2739:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2   misho    2740:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    2741:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2742:             'mkdir (GNU coreutils) '* | \
                   2743:             'mkdir (coreutils) '* | \
                   2744:             'mkdir (fileutils) '4.1*)
                   2745:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2746:               break 3;;
                   2747:           esac
                   2748:         done
                   2749:        done
1.1.1.2   misho    2750:   done
1.1       misho    2751: IFS=$as_save_IFS
                   2752: 
                   2753: fi
                   2754: 
1.1.1.2   misho    2755:   test -d ./--version && rmdir ./--version
1.1       misho    2756:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2757:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2758:   else
                   2759:     # As a last resort, use the slow shell script.  Don't cache a
                   2760:     # value for MKDIR_P within a source directory, because that will
                   2761:     # break other packages using the cache if that directory is
                   2762:     # removed, or if the value is a relative name.
                   2763:     MKDIR_P="$ac_install_sh -d"
                   2764:   fi
                   2765: fi
1.1.1.2   misho    2766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2767: $as_echo "$MKDIR_P" >&6; }
1.1       misho    2768: 
                   2769: for ac_prog in gawk mawk nawk awk
                   2770: do
                   2771:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2772: set dummy $ac_prog; ac_word=$2
1.1.1.2   misho    2773: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2774: $as_echo_n "checking for $ac_word... " >&6; }
                   2775: if ${ac_cv_prog_AWK+:} false; then :
                   2776:   $as_echo_n "(cached) " >&6
1.1       misho    2777: else
                   2778:   if test -n "$AWK"; then
                   2779:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2780: else
                   2781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2782: for as_dir in $PATH
                   2783: do
                   2784:   IFS=$as_save_IFS
                   2785:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    2786:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2787:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2788:     ac_cv_prog_AWK="$ac_prog"
1.1.1.2   misho    2789:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2790:     break 2
                   2791:   fi
                   2792: done
1.1.1.2   misho    2793:   done
1.1       misho    2794: IFS=$as_save_IFS
                   2795: 
                   2796: fi
                   2797: fi
                   2798: AWK=$ac_cv_prog_AWK
                   2799: if test -n "$AWK"; then
1.1.1.2   misho    2800:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2801: $as_echo "$AWK" >&6; }
1.1       misho    2802: else
1.1.1.2   misho    2803:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2804: $as_echo "no" >&6; }
1.1       misho    2805: fi
                   2806: 
                   2807: 
                   2808:   test -n "$AWK" && break
                   2809: done
                   2810: 
1.1.1.2   misho    2811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2812: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2813: set x ${MAKE-make}
                   2814: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2815: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2816:   $as_echo_n "(cached) " >&6
1.1       misho    2817: else
                   2818:   cat >conftest.make <<\_ACEOF
                   2819: SHELL = /bin/sh
                   2820: all:
                   2821:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2822: _ACEOF
1.1.1.2   misho    2823: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1       misho    2824: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2825:   *@@@%%%=?*=@@@%%%*)
                   2826:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2827:   *)
                   2828:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2829: esac
                   2830: rm -f conftest.make
                   2831: fi
                   2832: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.1.1.2   misho    2833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2834: $as_echo "yes" >&6; }
1.1       misho    2835:   SET_MAKE=
                   2836: else
1.1.1.2   misho    2837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2838: $as_echo "no" >&6; }
1.1       misho    2839:   SET_MAKE="MAKE=${MAKE-make}"
                   2840: fi
                   2841: 
                   2842: rm -rf .tst 2>/dev/null
                   2843: mkdir .tst 2>/dev/null
                   2844: if test -d .tst; then
                   2845:   am__leading_dot=.
                   2846: else
                   2847:   am__leading_dot=_
                   2848: fi
                   2849: rmdir .tst 2>/dev/null
                   2850: 
1.1.1.4 ! misho    2851: # Check whether --enable-silent-rules was given.
        !          2852: if test "${enable_silent_rules+set}" = set; then :
        !          2853:   enableval=$enable_silent_rules;
        !          2854: fi
        !          2855: 
        !          2856: case $enable_silent_rules in # (((
        !          2857:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          2858:    no) AM_DEFAULT_VERBOSITY=1;;
        !          2859:     *) AM_DEFAULT_VERBOSITY=1;;
        !          2860: esac
        !          2861: am_make=${MAKE-make}
        !          2862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          2863: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          2864: if ${am_cv_make_support_nested_variables+:} false; then :
        !          2865:   $as_echo_n "(cached) " >&6
        !          2866: else
        !          2867:   if $as_echo 'TRUE=$(BAR$(V))
        !          2868: BAR0=false
        !          2869: BAR1=true
        !          2870: V=1
        !          2871: am__doit:
        !          2872:        @$(TRUE)
        !          2873: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          2874:   am_cv_make_support_nested_variables=yes
        !          2875: else
        !          2876:   am_cv_make_support_nested_variables=no
        !          2877: fi
        !          2878: fi
        !          2879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          2880: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          2881: if test $am_cv_make_support_nested_variables = yes; then
        !          2882:     AM_V='$(V)'
        !          2883:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          2884: else
        !          2885:   AM_V=$AM_DEFAULT_VERBOSITY
        !          2886:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          2887: fi
        !          2888: AM_BACKSLASH='\'
        !          2889: 
1.1       misho    2890: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2891:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2892:   # is not polluted with repeated "-I."
                   2893:   am__isrc=' -I$(srcdir)'
                   2894:   # test to see if srcdir already configured
                   2895:   if test -f $srcdir/config.status; then
1.1.1.2   misho    2896:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
1.1       misho    2897:   fi
                   2898: fi
                   2899: 
                   2900: # test whether we have cygpath
                   2901: if test -z "$CYGPATH_W"; then
                   2902:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2903:     CYGPATH_W='cygpath -w'
                   2904:   else
                   2905:     CYGPATH_W=echo
                   2906:   fi
                   2907: fi
                   2908: 
                   2909: 
                   2910: # Define the identity of the package.
                   2911:  PACKAGE='arping'
1.1.1.4 ! misho    2912:  VERSION='2.21'
1.1       misho    2913: 
                   2914: 
                   2915: cat >>confdefs.h <<_ACEOF
                   2916: #define PACKAGE "$PACKAGE"
                   2917: _ACEOF
                   2918: 
                   2919: 
                   2920: cat >>confdefs.h <<_ACEOF
                   2921: #define VERSION "$VERSION"
                   2922: _ACEOF
                   2923: 
                   2924: # Some tools Automake needs.
                   2925: 
                   2926: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2927: 
                   2928: 
                   2929: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2930: 
                   2931: 
                   2932: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2933: 
                   2934: 
                   2935: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2936: 
                   2937: 
                   2938: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2939: 
1.1.1.4 ! misho    2940: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          2941: # dies out for good.  For more background, see:
        !          2942: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          2943: # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          2944: mkdir_p='$(MKDIR_P)'
        !          2945: 
        !          2946: # We need awk for the "check" target (and possibly the TAP driver).  The
        !          2947: # system "awk" is bad on some platforms.
1.1.1.2   misho    2948: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   2949: # in the wild :-(  We should find a proper way to deprecate it ...
                   2950: AMTAR='$${TAR-tar}'
1.1       misho    2951: 
1.1.1.4 ! misho    2952: 
        !          2953: # We'll loop over all known methods to create a tar archive until one works.
        !          2954: _am_tools='gnutar  pax cpio none'
        !          2955: 
1.1.1.2   misho    2956: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    2957: 
                   2958: 
                   2959: 
                   2960: 
                   2961: 
                   2962: 
1.1.1.4 ! misho    2963: # POSIX will say in a future version that running "rm -f" with no argument
        !          2964: # is OK; and we want to be able to make that assumption in our Makefile
        !          2965: # recipes.  So use an aggressive probe to check that the usage we want is
        !          2966: # actually supported "in the wild" to an acceptable degree.
        !          2967: # See automake bug#10828.
        !          2968: # To make any issue more visible, cause the running configure to be aborted
        !          2969: # by default if the 'rm' program in use doesn't match our expectations; the
        !          2970: # user can still override this though.
        !          2971: if rm -f && rm -fr && rm -rf; then : OK; else
        !          2972:   cat >&2 <<'END'
        !          2973: Oops!
        !          2974: 
        !          2975: Your 'rm' program seems unable to run without file operands specified
        !          2976: on the command line, even when the '-f' option is present.  This is contrary
        !          2977: to the behaviour of most rm programs out there, and not conforming with
        !          2978: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
        !          2979: 
        !          2980: Please tell bug-automake@gnu.org about your system, including the value
        !          2981: of your $PATH and any error possibly output before this message.  This
        !          2982: can help us improve future automake versions.
        !          2983: 
        !          2984: END
        !          2985:   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
        !          2986:     echo 'Configuration will proceed anyway, since you have set the' >&2
        !          2987:     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
        !          2988:     echo >&2
        !          2989:   else
        !          2990:     cat >&2 <<'END'
        !          2991: Aborting the configuration process, to ensure you take notice of the issue.
        !          2992: 
        !          2993: You can download and install GNU coreutils to get an 'rm' implementation
        !          2994: that behaves properly: <https://www.gnu.org/software/coreutils/>.
        !          2995: 
        !          2996: If you want to complete the configuration process using your problematic
        !          2997: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
        !          2998: to "yes", and re-run configure.
        !          2999: 
        !          3000: END
        !          3001:     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
        !          3002:   fi
        !          3003: fi
        !          3004: 
        !          3005: 
1.1.1.2   misho    3006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
                   3007: $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1.1       misho    3008:     # Check whether --enable-maintainer-mode was given.
1.1.1.2   misho    3009: if test "${enable_maintainer_mode+set}" = set; then :
1.1       misho    3010:   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
                   3011: else
                   3012:   USE_MAINTAINER_MODE=no
                   3013: fi
                   3014: 
1.1.1.2   misho    3015:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
                   3016: $as_echo "$USE_MAINTAINER_MODE" >&6; }
1.1       misho    3017:    if test $USE_MAINTAINER_MODE = yes; then
                   3018:   MAINTAINER_MODE_TRUE=
                   3019:   MAINTAINER_MODE_FALSE='#'
                   3020: else
                   3021:   MAINTAINER_MODE_TRUE='#'
                   3022:   MAINTAINER_MODE_FALSE=
                   3023: fi
                   3024: 
                   3025:   MAINT=$MAINTAINER_MODE_TRUE
                   3026: 
                   3027: 
                   3028: ac_config_headers="$ac_config_headers config.h"
                   3029: 
                   3030: 
                   3031: 
                   3032: # Checks for programs.
                   3033: ac_ext=c
                   3034: ac_cpp='$CPP $CPPFLAGS'
                   3035: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3036: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3037: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3038: if test -n "$ac_tool_prefix"; then
                   3039:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3040: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.2   misho    3041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3042: $as_echo_n "checking for $ac_word... " >&6; }
                   3043: if ${ac_cv_prog_CC+:} false; then :
                   3044:   $as_echo_n "(cached) " >&6
1.1       misho    3045: else
                   3046:   if test -n "$CC"; then
                   3047:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3048: else
                   3049: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3050: for as_dir in $PATH
                   3051: do
                   3052:   IFS=$as_save_IFS
                   3053:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3054:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3055:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3056:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.2   misho    3057:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3058:     break 2
                   3059:   fi
                   3060: done
1.1.1.2   misho    3061:   done
1.1       misho    3062: IFS=$as_save_IFS
                   3063: 
                   3064: fi
                   3065: fi
                   3066: CC=$ac_cv_prog_CC
                   3067: if test -n "$CC"; then
1.1.1.2   misho    3068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3069: $as_echo "$CC" >&6; }
1.1       misho    3070: else
1.1.1.2   misho    3071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3072: $as_echo "no" >&6; }
1.1       misho    3073: fi
                   3074: 
                   3075: 
                   3076: fi
                   3077: if test -z "$ac_cv_prog_CC"; then
                   3078:   ac_ct_CC=$CC
                   3079:   # Extract the first word of "gcc", so it can be a program name with args.
                   3080: set dummy gcc; ac_word=$2
1.1.1.2   misho    3081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3082: $as_echo_n "checking for $ac_word... " >&6; }
                   3083: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3084:   $as_echo_n "(cached) " >&6
1.1       misho    3085: else
                   3086:   if test -n "$ac_ct_CC"; then
                   3087:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3088: else
                   3089: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3090: for as_dir in $PATH
                   3091: do
                   3092:   IFS=$as_save_IFS
                   3093:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3094:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3095:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3096:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.2   misho    3097:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3098:     break 2
                   3099:   fi
                   3100: done
1.1.1.2   misho    3101:   done
1.1       misho    3102: IFS=$as_save_IFS
                   3103: 
                   3104: fi
                   3105: fi
                   3106: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3107: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    3108:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3109: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    3110: else
1.1.1.2   misho    3111:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3112: $as_echo "no" >&6; }
1.1       misho    3113: fi
                   3114: 
                   3115:   if test "x$ac_ct_CC" = x; then
                   3116:     CC=""
                   3117:   else
                   3118:     case $cross_compiling:$ac_tool_warned in
                   3119: yes:)
1.1.1.2   misho    3120: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3121: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    3122: ac_tool_warned=yes ;;
                   3123: esac
                   3124:     CC=$ac_ct_CC
                   3125:   fi
                   3126: else
                   3127:   CC="$ac_cv_prog_CC"
                   3128: fi
                   3129: 
                   3130: if test -z "$CC"; then
                   3131:           if test -n "$ac_tool_prefix"; then
                   3132:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3133: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.2   misho    3134: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3135: $as_echo_n "checking for $ac_word... " >&6; }
                   3136: if ${ac_cv_prog_CC+:} false; then :
                   3137:   $as_echo_n "(cached) " >&6
1.1       misho    3138: else
                   3139:   if test -n "$CC"; then
                   3140:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3141: else
                   3142: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3143: for as_dir in $PATH
                   3144: do
                   3145:   IFS=$as_save_IFS
                   3146:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3147:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3148:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3149:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.2   misho    3150:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3151:     break 2
                   3152:   fi
                   3153: done
1.1.1.2   misho    3154:   done
1.1       misho    3155: IFS=$as_save_IFS
                   3156: 
                   3157: fi
                   3158: fi
                   3159: CC=$ac_cv_prog_CC
                   3160: if test -n "$CC"; then
1.1.1.2   misho    3161:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3162: $as_echo "$CC" >&6; }
1.1       misho    3163: else
1.1.1.2   misho    3164:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3165: $as_echo "no" >&6; }
1.1       misho    3166: fi
                   3167: 
                   3168: 
                   3169:   fi
                   3170: fi
                   3171: if test -z "$CC"; then
                   3172:   # Extract the first word of "cc", so it can be a program name with args.
                   3173: set dummy cc; ac_word=$2
1.1.1.2   misho    3174: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3175: $as_echo_n "checking for $ac_word... " >&6; }
                   3176: if ${ac_cv_prog_CC+:} false; then :
                   3177:   $as_echo_n "(cached) " >&6
1.1       misho    3178: else
                   3179:   if test -n "$CC"; then
                   3180:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3181: else
                   3182:   ac_prog_rejected=no
                   3183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3184: for as_dir in $PATH
                   3185: do
                   3186:   IFS=$as_save_IFS
                   3187:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3188:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3189:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3190:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3191:        ac_prog_rejected=yes
                   3192:        continue
                   3193:      fi
                   3194:     ac_cv_prog_CC="cc"
1.1.1.2   misho    3195:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3196:     break 2
                   3197:   fi
                   3198: done
1.1.1.2   misho    3199:   done
1.1       misho    3200: IFS=$as_save_IFS
                   3201: 
                   3202: if test $ac_prog_rejected = yes; then
                   3203:   # We found a bogon in the path, so make sure we never use it.
                   3204:   set dummy $ac_cv_prog_CC
                   3205:   shift
                   3206:   if test $# != 0; then
                   3207:     # We chose a different compiler from the bogus one.
                   3208:     # However, it has the same basename, so the bogon will be chosen
                   3209:     # first if we set CC to just the basename; use the full file name.
                   3210:     shift
                   3211:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3212:   fi
                   3213: fi
                   3214: fi
                   3215: fi
                   3216: CC=$ac_cv_prog_CC
                   3217: if test -n "$CC"; then
1.1.1.2   misho    3218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3219: $as_echo "$CC" >&6; }
1.1       misho    3220: else
1.1.1.2   misho    3221:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3222: $as_echo "no" >&6; }
1.1       misho    3223: fi
                   3224: 
                   3225: 
                   3226: fi
                   3227: if test -z "$CC"; then
                   3228:   if test -n "$ac_tool_prefix"; then
                   3229:   for ac_prog in cl.exe
                   3230:   do
                   3231:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3232: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.2   misho    3233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3234: $as_echo_n "checking for $ac_word... " >&6; }
                   3235: if ${ac_cv_prog_CC+:} false; then :
                   3236:   $as_echo_n "(cached) " >&6
1.1       misho    3237: else
                   3238:   if test -n "$CC"; then
                   3239:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3240: else
                   3241: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3242: for as_dir in $PATH
                   3243: do
                   3244:   IFS=$as_save_IFS
                   3245:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3246:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3247:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3248:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.2   misho    3249:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3250:     break 2
                   3251:   fi
                   3252: done
1.1.1.2   misho    3253:   done
1.1       misho    3254: IFS=$as_save_IFS
                   3255: 
                   3256: fi
                   3257: fi
                   3258: CC=$ac_cv_prog_CC
                   3259: if test -n "$CC"; then
1.1.1.2   misho    3260:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3261: $as_echo "$CC" >&6; }
1.1       misho    3262: else
1.1.1.2   misho    3263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3264: $as_echo "no" >&6; }
1.1       misho    3265: fi
                   3266: 
                   3267: 
                   3268:     test -n "$CC" && break
                   3269:   done
                   3270: fi
                   3271: if test -z "$CC"; then
                   3272:   ac_ct_CC=$CC
                   3273:   for ac_prog in cl.exe
                   3274: do
                   3275:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3276: set dummy $ac_prog; ac_word=$2
1.1.1.2   misho    3277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3278: $as_echo_n "checking for $ac_word... " >&6; }
                   3279: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3280:   $as_echo_n "(cached) " >&6
1.1       misho    3281: else
                   3282:   if test -n "$ac_ct_CC"; then
                   3283:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3284: else
                   3285: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3286: for as_dir in $PATH
                   3287: do
                   3288:   IFS=$as_save_IFS
                   3289:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    3290:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3291:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3292:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.2   misho    3293:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3294:     break 2
                   3295:   fi
                   3296: done
1.1.1.2   misho    3297:   done
1.1       misho    3298: IFS=$as_save_IFS
                   3299: 
                   3300: fi
                   3301: fi
                   3302: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3303: if test -n "$ac_ct_CC"; then
1.1.1.2   misho    3304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3305: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    3306: else
1.1.1.2   misho    3307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3308: $as_echo "no" >&6; }
1.1       misho    3309: fi
                   3310: 
                   3311: 
                   3312:   test -n "$ac_ct_CC" && break
                   3313: done
                   3314: 
                   3315:   if test "x$ac_ct_CC" = x; then
                   3316:     CC=""
                   3317:   else
                   3318:     case $cross_compiling:$ac_tool_warned in
                   3319: yes:)
1.1.1.2   misho    3320: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3321: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    3322: ac_tool_warned=yes ;;
                   3323: esac
                   3324:     CC=$ac_ct_CC
                   3325:   fi
                   3326: fi
                   3327: 
                   3328: fi
                   3329: 
                   3330: 
1.1.1.2   misho    3331: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3332: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3333: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3334: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3335: 
                   3336: # Provide some information about the compiler.
1.1.1.2   misho    3337: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3338: set X $ac_compile
                   3339: ac_compiler=$2
                   3340: for ac_option in --version -v -V -qversion; do
                   3341:   { { ac_try="$ac_compiler $ac_option >&5"
1.1       misho    3342: case "(($ac_try" in
                   3343:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3344:   *) ac_try_echo=$ac_try;;
                   3345: esac
1.1.1.2   misho    3346: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3347: $as_echo "$ac_try_echo"; } >&5
                   3348:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3349:   ac_status=$?
                   3350:   if test -s conftest.err; then
                   3351:     sed '10a\
                   3352: ... rest of stderr output deleted ...
                   3353:          10q' conftest.err >conftest.er1
                   3354:     cat conftest.er1 >&5
                   3355:   fi
                   3356:   rm -f conftest.er1 conftest.err
                   3357:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3358:   test $ac_status = 0; }
                   3359: done
1.1       misho    3360: 
1.1.1.2   misho    3361: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3362: /* end confdefs.h.  */
                   3363: 
                   3364: int
                   3365: main ()
                   3366: {
                   3367: 
                   3368:   ;
                   3369:   return 0;
                   3370: }
                   3371: _ACEOF
                   3372: ac_clean_files_save=$ac_clean_files
1.1.1.2   misho    3373: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misho    3374: # Try to create an executable without -o first, disregard a.out.
                   3375: # It will help us diagnose broken compilers, and finding out an intuition
                   3376: # of exeext.
1.1.1.2   misho    3377: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3378: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3379: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3380: 
                   3381: # The possible output files:
                   3382: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3383: 
1.1       misho    3384: ac_rmfiles=
                   3385: for ac_file in $ac_files
                   3386: do
                   3387:   case $ac_file in
1.1.1.2   misho    3388:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    3389:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3390:   esac
                   3391: done
                   3392: rm -f $ac_rmfiles
                   3393: 
1.1.1.2   misho    3394: if { { ac_try="$ac_link_default"
1.1       misho    3395: case "(($ac_try" in
                   3396:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3397:   *) ac_try_echo=$ac_try;;
                   3398: esac
1.1.1.2   misho    3399: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3400: $as_echo "$ac_try_echo"; } >&5
1.1       misho    3401:   (eval "$ac_link_default") 2>&5
                   3402:   ac_status=$?
1.1.1.2   misho    3403:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3404:   test $ac_status = 0; }; then :
1.1       misho    3405:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3406: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3407: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3408: # so that the user can short-circuit this test for compilers unknown to
                   3409: # Autoconf.
                   3410: for ac_file in $ac_files ''
                   3411: do
                   3412:   test -f "$ac_file" || continue
                   3413:   case $ac_file in
1.1.1.2   misho    3414:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.1       misho    3415:        ;;
                   3416:     [ab].out )
                   3417:        # We found the default executable, but exeext='' is most
                   3418:        # certainly right.
                   3419:        break;;
                   3420:     *.* )
1.1.1.2   misho    3421:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1       misho    3422:        then :; else
                   3423:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3424:        fi
                   3425:        # We set ac_cv_exeext here because the later test for it is not
                   3426:        # safe: cross compilers may not add the suffix if given an `-o'
                   3427:        # argument, so we may need to know it at that point already.
                   3428:        # Even if this section looks crufty: it has the advantage of
                   3429:        # actually working.
                   3430:        break;;
                   3431:     * )
                   3432:        break;;
                   3433:   esac
                   3434: done
                   3435: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3436: 
                   3437: else
                   3438:   ac_file=''
                   3439: fi
1.1.1.2   misho    3440: if test -z "$ac_file"; then :
                   3441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3442: $as_echo "no" >&6; }
                   3443: $as_echo "$as_me: failed program was:" >&5
1.1       misho    3444: sed 's/^/| /' conftest.$ac_ext >&5
                   3445: 
1.1.1.2   misho    3446: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3447: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3448: as_fn_error 77 "C compiler cannot create executables
                   3449: See \`config.log' for more details" "$LINENO" 5; }
                   3450: else
                   3451:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3452: $as_echo "yes" >&6; }
                   3453: fi
                   3454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3455: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3457: $as_echo "$ac_file" >&6; }
1.1       misho    3458: ac_exeext=$ac_cv_exeext
                   3459: 
1.1.1.2   misho    3460: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misho    3461: ac_clean_files=$ac_clean_files_save
1.1.1.2   misho    3462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3463: $as_echo_n "checking for suffix of executables... " >&6; }
                   3464: if { { ac_try="$ac_link"
1.1       misho    3465: case "(($ac_try" in
                   3466:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3467:   *) ac_try_echo=$ac_try;;
                   3468: esac
1.1.1.2   misho    3469: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3470: $as_echo "$ac_try_echo"; } >&5
1.1       misho    3471:   (eval "$ac_link") 2>&5
                   3472:   ac_status=$?
1.1.1.2   misho    3473:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3474:   test $ac_status = 0; }; then :
1.1       misho    3475:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3476: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3477: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3478: # `rm'.
                   3479: for ac_file in conftest.exe conftest conftest.*; do
                   3480:   test -f "$ac_file" || continue
                   3481:   case $ac_file in
1.1.1.2   misho    3482:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    3483:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3484:          break;;
                   3485:     * ) break;;
                   3486:   esac
                   3487: done
                   3488: else
1.1.1.2   misho    3489:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3490: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3491: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3492: See \`config.log' for more details" "$LINENO" 5; }
                   3493: fi
                   3494: rm -f conftest conftest$ac_cv_exeext
                   3495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3496: $as_echo "$ac_cv_exeext" >&6; }
1.1       misho    3497: 
                   3498: rm -f conftest.$ac_ext
                   3499: EXEEXT=$ac_cv_exeext
                   3500: ac_exeext=$EXEEXT
1.1.1.2   misho    3501: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3502: /* end confdefs.h.  */
                   3503: #include <stdio.h>
                   3504: int
                   3505: main ()
                   3506: {
                   3507: FILE *f = fopen ("conftest.out", "w");
                   3508:  return ferror (f) || fclose (f) != 0;
                   3509: 
                   3510:   ;
                   3511:   return 0;
                   3512: }
1.1       misho    3513: _ACEOF
1.1.1.2   misho    3514: ac_clean_files="$ac_clean_files conftest.out"
                   3515: # Check that the compiler produces executables we can run.  If not, either
                   3516: # the compiler is broken, or we cross compile.
                   3517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3518: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3519: if test "$cross_compiling" != yes; then
                   3520:   { { ac_try="$ac_link"
                   3521: case "(($ac_try" in
                   3522:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3523:   *) ac_try_echo=$ac_try;;
                   3524: esac
                   3525: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3526: $as_echo "$ac_try_echo"; } >&5
                   3527:   (eval "$ac_link") 2>&5
                   3528:   ac_status=$?
                   3529:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3530:   test $ac_status = 0; }
                   3531:   if { ac_try='./conftest$ac_cv_exeext'
                   3532:   { { case "(($ac_try" in
                   3533:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3534:   *) ac_try_echo=$ac_try;;
                   3535: esac
                   3536: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3537: $as_echo "$ac_try_echo"; } >&5
                   3538:   (eval "$ac_try") 2>&5
                   3539:   ac_status=$?
                   3540:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3541:   test $ac_status = 0; }; }; then
                   3542:     cross_compiling=no
                   3543:   else
                   3544:     if test "$cross_compiling" = maybe; then
                   3545:        cross_compiling=yes
                   3546:     else
                   3547:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3548: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3549: as_fn_error $? "cannot run C compiled programs.
                   3550: If you meant to cross compile, use \`--host'.
                   3551: See \`config.log' for more details" "$LINENO" 5; }
                   3552:     fi
                   3553:   fi
                   3554: fi
                   3555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3556: $as_echo "$cross_compiling" >&6; }
                   3557: 
                   3558: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3559: ac_clean_files=$ac_clean_files_save
                   3560: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3561: $as_echo_n "checking for suffix of object files... " >&6; }
                   3562: if ${ac_cv_objext+:} false; then :
                   3563:   $as_echo_n "(cached) " >&6
                   3564: else
                   3565:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3566: /* end confdefs.h.  */
                   3567: 
                   3568: int
                   3569: main ()
                   3570: {
                   3571: 
                   3572:   ;
                   3573:   return 0;
                   3574: }
                   3575: _ACEOF
                   3576: rm -f conftest.o conftest.obj
1.1.1.2   misho    3577: if { { ac_try="$ac_compile"
1.1       misho    3578: case "(($ac_try" in
                   3579:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3580:   *) ac_try_echo=$ac_try;;
                   3581: esac
1.1.1.2   misho    3582: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3583: $as_echo "$ac_try_echo"; } >&5
1.1       misho    3584:   (eval "$ac_compile") 2>&5
                   3585:   ac_status=$?
1.1.1.2   misho    3586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3587:   test $ac_status = 0; }; then :
1.1       misho    3588:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3589:   test -f "$ac_file" || continue;
                   3590:   case $ac_file in
1.1.1.2   misho    3591:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misho    3592:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3593:        break;;
                   3594:   esac
                   3595: done
                   3596: else
1.1.1.2   misho    3597:   $as_echo "$as_me: failed program was:" >&5
1.1       misho    3598: sed 's/^/| /' conftest.$ac_ext >&5
                   3599: 
1.1.1.2   misho    3600: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3601: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3602: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3603: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3604: fi
                   3605: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3606: fi
1.1.1.2   misho    3607: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3608: $as_echo "$ac_cv_objext" >&6; }
1.1       misho    3609: OBJEXT=$ac_cv_objext
                   3610: ac_objext=$OBJEXT
1.1.1.2   misho    3611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3612: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3613: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3614:   $as_echo_n "(cached) " >&6
1.1       misho    3615: else
1.1.1.2   misho    3616:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3617: /* end confdefs.h.  */
                   3618: 
                   3619: int
                   3620: main ()
                   3621: {
                   3622: #ifndef __GNUC__
                   3623:        choke me
                   3624: #endif
                   3625: 
                   3626:   ;
                   3627:   return 0;
                   3628: }
                   3629: _ACEOF
1.1.1.2   misho    3630: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3631:   ac_compiler_gnu=yes
                   3632: else
1.1.1.2   misho    3633:   ac_compiler_gnu=no
1.1       misho    3634: fi
                   3635: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3636: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3637: 
                   3638: fi
1.1.1.2   misho    3639: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3640: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3641: if test $ac_compiler_gnu = yes; then
                   3642:   GCC=yes
                   3643: else
                   3644:   GCC=
                   3645: fi
1.1       misho    3646: ac_test_CFLAGS=${CFLAGS+set}
                   3647: ac_save_CFLAGS=$CFLAGS
1.1.1.2   misho    3648: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3649: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3650: if ${ac_cv_prog_cc_g+:} false; then :
                   3651:   $as_echo_n "(cached) " >&6
1.1       misho    3652: else
                   3653:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3654:    ac_c_werror_flag=yes
                   3655:    ac_cv_prog_cc_g=no
                   3656:    CFLAGS="-g"
1.1.1.2   misho    3657:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3658: /* end confdefs.h.  */
                   3659: 
                   3660: int
                   3661: main ()
                   3662: {
                   3663: 
                   3664:   ;
                   3665:   return 0;
                   3666: }
                   3667: _ACEOF
1.1.1.2   misho    3668: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3669:   ac_cv_prog_cc_g=yes
                   3670: else
1.1.1.2   misho    3671:   CFLAGS=""
                   3672:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3673: /* end confdefs.h.  */
                   3674: 
                   3675: int
                   3676: main ()
                   3677: {
                   3678: 
                   3679:   ;
                   3680:   return 0;
                   3681: }
                   3682: _ACEOF
1.1.1.2   misho    3683: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3684: 
1.1.1.2   misho    3685: else
                   3686:   ac_c_werror_flag=$ac_save_c_werror_flag
1.1       misho    3687:         CFLAGS="-g"
1.1.1.2   misho    3688:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3689: /* end confdefs.h.  */
                   3690: 
                   3691: int
                   3692: main ()
                   3693: {
                   3694: 
                   3695:   ;
                   3696:   return 0;
                   3697: }
                   3698: _ACEOF
1.1.1.2   misho    3699: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3700:   ac_cv_prog_cc_g=yes
                   3701: fi
                   3702: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3703: fi
                   3704: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3705: fi
                   3706: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3707:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3708: fi
1.1.1.2   misho    3709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3710: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misho    3711: if test "$ac_test_CFLAGS" = set; then
                   3712:   CFLAGS=$ac_save_CFLAGS
                   3713: elif test $ac_cv_prog_cc_g = yes; then
                   3714:   if test "$GCC" = yes; then
                   3715:     CFLAGS="-g -O2"
                   3716:   else
                   3717:     CFLAGS="-g"
                   3718:   fi
                   3719: else
                   3720:   if test "$GCC" = yes; then
                   3721:     CFLAGS="-O2"
                   3722:   else
                   3723:     CFLAGS=
                   3724:   fi
                   3725: fi
1.1.1.2   misho    3726: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3727: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3728: if ${ac_cv_prog_cc_c89+:} false; then :
                   3729:   $as_echo_n "(cached) " >&6
1.1       misho    3730: else
                   3731:   ac_cv_prog_cc_c89=no
                   3732: ac_save_CC=$CC
1.1.1.2   misho    3733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3734: /* end confdefs.h.  */
                   3735: #include <stdarg.h>
                   3736: #include <stdio.h>
1.1.1.2   misho    3737: struct stat;
1.1       misho    3738: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3739: struct buf { int x; };
                   3740: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3741: static char *e (p, i)
                   3742:      char **p;
                   3743:      int i;
                   3744: {
                   3745:   return p[i];
                   3746: }
                   3747: static char *f (char * (*g) (char **, int), char **p, ...)
                   3748: {
                   3749:   char *s;
                   3750:   va_list v;
                   3751:   va_start (v,p);
                   3752:   s = g (p, va_arg (v,int));
                   3753:   va_end (v);
                   3754:   return s;
                   3755: }
                   3756: 
                   3757: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3758:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3759:    These don't provoke an error unfortunately, instead are silently treated
                   3760:    as 'x'.  The following induces an error, until -std is added to get
                   3761:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3762:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3763:    that's true only with -std.  */
                   3764: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3765: 
                   3766: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3767:    inside strings and character constants.  */
                   3768: #define FOO(x) 'x'
                   3769: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3770: 
                   3771: int test (int i, double x);
                   3772: struct s1 {int (*f) (int a);};
                   3773: struct s2 {int (*f) (double a);};
                   3774: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3775: int argc;
                   3776: char **argv;
                   3777: int
                   3778: main ()
                   3779: {
                   3780: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3781:   ;
                   3782:   return 0;
                   3783: }
                   3784: _ACEOF
                   3785: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3786:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3787: do
                   3788:   CC="$ac_save_CC $ac_arg"
1.1.1.2   misho    3789:   if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3790:   ac_cv_prog_cc_c89=$ac_arg
                   3791: fi
                   3792: rm -f core conftest.err conftest.$ac_objext
                   3793:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3794: done
                   3795: rm -f conftest.$ac_ext
                   3796: CC=$ac_save_CC
                   3797: 
                   3798: fi
                   3799: # AC_CACHE_VAL
                   3800: case "x$ac_cv_prog_cc_c89" in
                   3801:   x)
1.1.1.2   misho    3802:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3803: $as_echo "none needed" >&6; } ;;
1.1       misho    3804:   xno)
1.1.1.2   misho    3805:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3806: $as_echo "unsupported" >&6; } ;;
1.1       misho    3807:   *)
                   3808:     CC="$CC $ac_cv_prog_cc_c89"
1.1.1.2   misho    3809:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3810: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       misho    3811: esac
1.1.1.2   misho    3812: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    3813: 
1.1.1.2   misho    3814: fi
1.1       misho    3815: 
                   3816: ac_ext=c
                   3817: ac_cpp='$CPP $CPPFLAGS'
                   3818: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3819: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3820: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.4 ! misho    3821: 
        !          3822: ac_ext=c
        !          3823: ac_cpp='$CPP $CPPFLAGS'
        !          3824: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3825: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3826: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
        !          3828: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
        !          3829: if ${am_cv_prog_cc_c_o+:} false; then :
        !          3830:   $as_echo_n "(cached) " >&6
        !          3831: else
        !          3832:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3833: /* end confdefs.h.  */
        !          3834: 
        !          3835: int
        !          3836: main ()
        !          3837: {
        !          3838: 
        !          3839:   ;
        !          3840:   return 0;
        !          3841: }
        !          3842: _ACEOF
        !          3843:   # Make sure it works both with $CC and with simple cc.
        !          3844:   # Following AC_PROG_CC_C_O, we do the test twice because some
        !          3845:   # compilers refuse to overwrite an existing .o file with -o,
        !          3846:   # though they will create one.
        !          3847:   am_cv_prog_cc_c_o=yes
        !          3848:   for am_i in 1 2; do
        !          3849:     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
        !          3850:    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
        !          3851:    ac_status=$?
        !          3852:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3853:    (exit $ac_status); } \
        !          3854:          && test -f conftest2.$ac_objext; then
        !          3855:       : OK
        !          3856:     else
        !          3857:       am_cv_prog_cc_c_o=no
        !          3858:       break
        !          3859:     fi
        !          3860:   done
        !          3861:   rm -f core conftest*
        !          3862:   unset am_i
        !          3863: fi
        !          3864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
        !          3865: $as_echo "$am_cv_prog_cc_c_o" >&6; }
        !          3866: if test "$am_cv_prog_cc_c_o" != yes; then
        !          3867:    # Losing compiler, so override with the script.
        !          3868:    # FIXME: It is wrong to rewrite CC.
        !          3869:    # But if we don't then we get into trouble of one sort or another.
        !          3870:    # A longer-term fix would be to have automake use am__CC in this case,
        !          3871:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
        !          3872:    CC="$am_aux_dir/compile $CC"
        !          3873: fi
        !          3874: ac_ext=c
        !          3875: ac_cpp='$CPP $CPPFLAGS'
        !          3876: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3877: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3878: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3879: 
1.1       misho    3880: DEPDIR="${am__leading_dot}deps"
                   3881: 
                   3882: ac_config_commands="$ac_config_commands depfiles"
                   3883: 
1.1.1.4 ! misho    3884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
        !          3885: $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
        !          3886: cat > confinc.mk << 'END'
1.1       misho    3887: am__doit:
1.1.1.4 ! misho    3888:        @echo this is the am__doit target >confinc.out
1.1       misho    3889: .PHONY: am__doit
                   3890: END
                   3891: am__include="#"
                   3892: am__quote=
1.1.1.4 ! misho    3893: # BSD make does it like this.
        !          3894: echo '.include "confinc.mk" # ignored' > confmf.BSD
        !          3895: # Other make implementations (GNU, Solaris 10, AIX) do it like this.
        !          3896: echo 'include confinc.mk # ignored' > confmf.GNU
        !          3897: _am_result=no
        !          3898: for s in GNU BSD; do
        !          3899:   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
        !          3900:    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
        !          3901:    ac_status=$?
        !          3902:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          3903:    (exit $ac_status); }
        !          3904:   case $?:`cat confinc.out 2>/dev/null` in #(
        !          3905:   '0:this is the am__doit target') :
        !          3906:     case $s in #(
        !          3907:   BSD) :
        !          3908:     am__include='.include' am__quote='"' ;; #(
        !          3909:   *) :
        !          3910:     am__include='include' am__quote='' ;;
        !          3911: esac ;; #(
        !          3912:   *) :
1.1.1.2   misho    3913:      ;;
1.1.1.4 ! misho    3914: esac
        !          3915:   if test "$am__include" != "#"; then
        !          3916:     _am_result="yes ($s style)"
        !          3917:     break
        !          3918:   fi
        !          3919: done
        !          3920: rm -f confinc.* confmf.*
        !          3921: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
        !          3922: $as_echo "${_am_result}" >&6; }
1.1       misho    3923: 
                   3924: # Check whether --enable-dependency-tracking was given.
1.1.1.2   misho    3925: if test "${enable_dependency_tracking+set}" = set; then :
1.1       misho    3926:   enableval=$enable_dependency_tracking;
                   3927: fi
                   3928: 
                   3929: if test "x$enable_dependency_tracking" != xno; then
                   3930:   am_depcomp="$ac_aux_dir/depcomp"
                   3931:   AMDEPBACKSLASH='\'
1.1.1.2   misho    3932:   am__nodep='_no'
1.1       misho    3933: fi
                   3934:  if test "x$enable_dependency_tracking" != xno; then
                   3935:   AMDEP_TRUE=
                   3936:   AMDEP_FALSE='#'
                   3937: else
                   3938:   AMDEP_TRUE='#'
                   3939:   AMDEP_FALSE=
                   3940: fi
                   3941: 
                   3942: 
                   3943: 
                   3944: depcc="$CC"   am_compiler_list=
                   3945: 
1.1.1.2   misho    3946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3947: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3948: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   3949:   $as_echo_n "(cached) " >&6
1.1       misho    3950: else
                   3951:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3952:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3953:   # making bogus files that we don't know about and never remove.  For
                   3954:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.4 ! misho    3955:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          3956:   # in D".
1.1.1.2   misho    3957:   rm -rf conftest.dir
1.1       misho    3958:   mkdir conftest.dir
                   3959:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3960:   # using a relative directory.
                   3961:   cp "$am_depcomp" conftest.dir
                   3962:   cd conftest.dir
                   3963:   # We will build objects and dependencies in a subdirectory because
                   3964:   # it helps to detect inapplicable dependency modes.  For instance
                   3965:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3966:   # side effect of compilation, but ICC will put the dependencies in
                   3967:   # the current directory while Tru64 will put them in the object
                   3968:   # directory.
                   3969:   mkdir sub
                   3970: 
                   3971:   am_cv_CC_dependencies_compiler_type=none
                   3972:   if test "$am_compiler_list" = ""; then
                   3973:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3974:   fi
1.1.1.2   misho    3975:   am__universal=false
                   3976:   case " $depcc " in #(
                   3977:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3978:      esac
                   3979: 
1.1       misho    3980:   for depmode in $am_compiler_list; do
                   3981:     # Setup a source with many dependencies, because some compilers
                   3982:     # like to wrap large dependency lists on column 80 (with \), and
                   3983:     # we should not choose a depcomp mode which is confused by this.
                   3984:     #
                   3985:     # We need to recreate these files for each test, as the compiler may
                   3986:     # overwrite some of them when testing with obscure command lines.
                   3987:     # This happens at least with the AIX C compiler.
                   3988:     : > sub/conftest.c
                   3989:     for i in 1 2 3 4 5 6; do
                   3990:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.4 ! misho    3991:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          3992:       # Solaris 10 /bin/sh.
        !          3993:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    3994:     done
                   3995:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3996: 
1.1.1.4 ! misho    3997:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1.1.2   misho    3998:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.4 ! misho    3999:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          4000:     # versions had trouble with output in subdirs.
1.1.1.2   misho    4001:     am__obj=sub/conftest.${OBJEXT-o}
                   4002:     am__minus_obj="-o $am__obj"
1.1       misho    4003:     case $depmode in
1.1.1.2   misho    4004:     gcc)
                   4005:       # This depmode causes a compiler race in universal mode.
                   4006:       test "$am__universal" = false || continue
                   4007:       ;;
1.1       misho    4008:     nosideeffect)
1.1.1.4 ! misho    4009:       # After this tag, mechanisms are not by side-effect, so they'll
        !          4010:       # only be used when explicitly requested.
1.1       misho    4011:       if test "x$enable_dependency_tracking" = xyes; then
                   4012:        continue
                   4013:       else
                   4014:        break
                   4015:       fi
                   4016:       ;;
1.1.1.2   misho    4017:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1.1.4 ! misho    4018:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1.1.2   misho    4019:       # not run yet.  These depmodes are late enough in the game, and
                   4020:       # so weak that their functioning should not be impacted.
                   4021:       am__obj=conftest.${OBJEXT-o}
                   4022:       am__minus_obj=
                   4023:       ;;
1.1       misho    4024:     none) break ;;
                   4025:     esac
                   4026:     if depmode=$depmode \
1.1.1.2   misho    4027:        source=sub/conftest.c object=$am__obj \
1.1       misho    4028:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1.1.1.2   misho    4029:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1.1       misho    4030:          >/dev/null 2>conftest.err &&
                   4031:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4032:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1.1.1.2   misho    4033:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1       misho    4034:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4035:       # icc doesn't choke on unknown options, it will just issue warnings
                   4036:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4037:       # that says an option was ignored or not supported.
                   4038:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4039:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4040:       # The diagnosis changed in icc 8.0:
                   4041:       #   icc: Command line remark: option '-MP' not supported
                   4042:       if (grep 'ignoring option' conftest.err ||
                   4043:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4044:         am_cv_CC_dependencies_compiler_type=$depmode
                   4045:         break
                   4046:       fi
                   4047:     fi
                   4048:   done
                   4049: 
                   4050:   cd ..
                   4051:   rm -rf conftest.dir
                   4052: else
                   4053:   am_cv_CC_dependencies_compiler_type=none
                   4054: fi
                   4055: 
                   4056: fi
1.1.1.2   misho    4057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4058: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1       misho    4059: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4060: 
                   4061:  if
                   4062:   test "x$enable_dependency_tracking" != xno \
                   4063:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4064:   am__fastdepCC_TRUE=
                   4065:   am__fastdepCC_FALSE='#'
                   4066: else
                   4067:   am__fastdepCC_TRUE='#'
                   4068:   am__fastdepCC_FALSE=
                   4069: fi
                   4070: 
                   4071: 
                   4072: 
1.1.1.2   misho    4073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   4074: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   4075: set x ${MAKE-make}
                   4076: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   4077: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   4078:   $as_echo_n "(cached) " >&6
1.1       misho    4079: else
                   4080:   cat >conftest.make <<\_ACEOF
                   4081: SHELL = /bin/sh
                   4082: all:
                   4083:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   4084: _ACEOF
1.1.1.2   misho    4085: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1       misho    4086: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   4087:   *@@@%%%=?*=@@@%%%*)
                   4088:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   4089:   *)
                   4090:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   4091: esac
                   4092: rm -f conftest.make
                   4093: fi
                   4094: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.1.1.2   misho    4095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4096: $as_echo "yes" >&6; }
1.1       misho    4097:   SET_MAKE=
                   4098: else
1.1.1.2   misho    4099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4100: $as_echo "no" >&6; }
1.1       misho    4101:   SET_MAKE="MAKE=${MAKE-make}"
                   4102: fi
                   4103: 
                   4104: 
1.1.1.4 ! misho    4105: # Required to define __USE_MISC, which in turn typedefs uint, which
        !          4106: # is used by libnet headers.
        !          4107: # This "just works" until running GCC with -std=c99, where uint is
        !          4108: # no longer defined by default.
        !          4109: CPPFLAGS="$CPPFLAGS -D_DEFAULT_SOURCE=1"
        !          4110: 
1.1       misho    4111: # Checks for libraries.
                   4112: 
1.1.1.2   misho    4113: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
                   4114: $as_echo_n "checking for sqrt in -lm... " >&6; }
                   4115: if ${ac_cv_lib_m_sqrt+:} false; then :
                   4116:   $as_echo_n "(cached) " >&6
                   4117: else
                   4118:   ac_check_lib_save_LIBS=$LIBS
                   4119: LIBS="-lm  $LIBS"
                   4120: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4121: /* end confdefs.h.  */
                   4122: 
                   4123: /* Override any GCC internal prototype to avoid an error.
                   4124:    Use char because int might match the return type of a GCC
                   4125:    builtin and then its argument prototype would still apply.  */
                   4126: #ifdef __cplusplus
                   4127: extern "C"
                   4128: #endif
                   4129: char sqrt ();
                   4130: int
                   4131: main ()
                   4132: {
                   4133: return sqrt ();
                   4134:   ;
                   4135:   return 0;
                   4136: }
                   4137: _ACEOF
                   4138: if ac_fn_c_try_link "$LINENO"; then :
                   4139:   ac_cv_lib_m_sqrt=yes
                   4140: else
                   4141:   ac_cv_lib_m_sqrt=no
                   4142: fi
                   4143: rm -f core conftest.err conftest.$ac_objext \
                   4144:     conftest$ac_exeext conftest.$ac_ext
                   4145: LIBS=$ac_check_lib_save_LIBS
                   4146: fi
                   4147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
                   4148: $as_echo "$ac_cv_lib_m_sqrt" >&6; }
                   4149: if test "x$ac_cv_lib_m_sqrt" = xyes; then :
                   4150:   cat >>confdefs.h <<_ACEOF
                   4151: #define HAVE_LIBM 1
                   4152: _ACEOF
                   4153: 
                   4154:   LIBS="-lm $LIBS"
1.1       misho    4155: 
1.1.1.2   misho    4156: fi
                   4157: 
                   4158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   4159: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   4160: if ${ac_cv_lib_socket_socket+:} false; then :
                   4161:   $as_echo_n "(cached) " >&6
1.1       misho    4162: else
                   4163:   ac_check_lib_save_LIBS=$LIBS
                   4164: LIBS="-lsocket  $LIBS"
1.1.1.2   misho    4165: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4166: /* end confdefs.h.  */
                   4167: 
                   4168: /* Override any GCC internal prototype to avoid an error.
                   4169:    Use char because int might match the return type of a GCC
                   4170:    builtin and then its argument prototype would still apply.  */
                   4171: #ifdef __cplusplus
                   4172: extern "C"
                   4173: #endif
                   4174: char socket ();
                   4175: int
                   4176: main ()
                   4177: {
                   4178: return socket ();
                   4179:   ;
                   4180:   return 0;
                   4181: }
                   4182: _ACEOF
1.1.1.2   misho    4183: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    4184:   ac_cv_lib_socket_socket=yes
                   4185: else
1.1.1.2   misho    4186:   ac_cv_lib_socket_socket=no
1.1       misho    4187: fi
1.1.1.2   misho    4188: rm -f core conftest.err conftest.$ac_objext \
                   4189:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    4190: LIBS=$ac_check_lib_save_LIBS
                   4191: fi
1.1.1.2   misho    4192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   4193: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   4194: if test "x$ac_cv_lib_socket_socket" = xyes; then :
1.1       misho    4195:   cat >>confdefs.h <<_ACEOF
                   4196: #define HAVE_LIBSOCKET 1
                   4197: _ACEOF
                   4198: 
                   4199:   LIBS="-lsocket $LIBS"
                   4200: 
                   4201: fi
                   4202: 
1.1.1.2   misho    4203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   4204: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   4205: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   4206:   $as_echo_n "(cached) " >&6
1.1       misho    4207: else
                   4208:   ac_check_lib_save_LIBS=$LIBS
                   4209: LIBS="-lnsl  $LIBS"
1.1.1.2   misho    4210: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4211: /* end confdefs.h.  */
                   4212: 
                   4213: /* Override any GCC internal prototype to avoid an error.
                   4214:    Use char because int might match the return type of a GCC
                   4215:    builtin and then its argument prototype would still apply.  */
                   4216: #ifdef __cplusplus
                   4217: extern "C"
                   4218: #endif
                   4219: char gethostbyname ();
                   4220: int
                   4221: main ()
                   4222: {
                   4223: return gethostbyname ();
                   4224:   ;
                   4225:   return 0;
                   4226: }
                   4227: _ACEOF
1.1.1.2   misho    4228: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    4229:   ac_cv_lib_nsl_gethostbyname=yes
                   4230: else
1.1.1.2   misho    4231:   ac_cv_lib_nsl_gethostbyname=no
1.1       misho    4232: fi
1.1.1.2   misho    4233: rm -f core conftest.err conftest.$ac_objext \
                   4234:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    4235: LIBS=$ac_check_lib_save_LIBS
                   4236: fi
1.1.1.2   misho    4237: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   4238: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   4239: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
1.1       misho    4240:   cat >>confdefs.h <<_ACEOF
                   4241: #define HAVE_LIBNSL 1
                   4242: _ACEOF
                   4243: 
                   4244:   LIBS="-lnsl $LIBS"
                   4245: 
                   4246: fi
                   4247: 
1.1.1.3   misho    4248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
                   4249: $as_echo_n "checking for cap_init in -lcap... " >&6; }
                   4250: if ${ac_cv_lib_cap_cap_init+:} false; then :
                   4251:   $as_echo_n "(cached) " >&6
                   4252: else
                   4253:   ac_check_lib_save_LIBS=$LIBS
                   4254: LIBS="-lcap  $LIBS"
                   4255: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4256: /* end confdefs.h.  */
                   4257: 
                   4258: /* Override any GCC internal prototype to avoid an error.
                   4259:    Use char because int might match the return type of a GCC
                   4260:    builtin and then its argument prototype would still apply.  */
                   4261: #ifdef __cplusplus
                   4262: extern "C"
                   4263: #endif
                   4264: char cap_init ();
                   4265: int
                   4266: main ()
                   4267: {
                   4268: return cap_init ();
                   4269:   ;
                   4270:   return 0;
                   4271: }
                   4272: _ACEOF
                   4273: if ac_fn_c_try_link "$LINENO"; then :
                   4274:   ac_cv_lib_cap_cap_init=yes
                   4275: else
                   4276:   ac_cv_lib_cap_cap_init=no
                   4277: fi
                   4278: rm -f core conftest.err conftest.$ac_objext \
                   4279:     conftest$ac_exeext conftest.$ac_ext
                   4280: LIBS=$ac_check_lib_save_LIBS
                   4281: fi
                   4282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
                   4283: $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
                   4284: if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
                   4285:   cat >>confdefs.h <<_ACEOF
                   4286: #define HAVE_LIBCAP 1
                   4287: _ACEOF
                   4288: 
                   4289:   LIBS="-lcap $LIBS"
                   4290: 
                   4291: fi
                   4292: 
1.1.1.2   misho    4293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
                   4294: $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
                   4295: if ${ac_cv_lib_rt_clock_gettime+:} false; then :
                   4296:   $as_echo_n "(cached) " >&6
1.1       misho    4297: else
                   4298:   ac_check_lib_save_LIBS=$LIBS
1.1.1.2   misho    4299: LIBS="-lrt  $LIBS"
                   4300: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4301: /* end confdefs.h.  */
                   4302: 
                   4303: /* Override any GCC internal prototype to avoid an error.
                   4304:    Use char because int might match the return type of a GCC
                   4305:    builtin and then its argument prototype would still apply.  */
                   4306: #ifdef __cplusplus
                   4307: extern "C"
                   4308: #endif
                   4309: char clock_gettime ();
                   4310: int
                   4311: main ()
                   4312: {
                   4313: return clock_gettime ();
                   4314:   ;
                   4315:   return 0;
                   4316: }
                   4317: _ACEOF
                   4318: if ac_fn_c_try_link "$LINENO"; then :
                   4319:   ac_cv_lib_rt_clock_gettime=yes
                   4320: else
                   4321:   ac_cv_lib_rt_clock_gettime=no
                   4322: fi
                   4323: rm -f core conftest.err conftest.$ac_objext \
                   4324:     conftest$ac_exeext conftest.$ac_ext
                   4325: LIBS=$ac_check_lib_save_LIBS
                   4326: fi
                   4327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
                   4328: $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
                   4329: if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
                   4330:   cat >>confdefs.h <<_ACEOF
                   4331: #define HAVE_LIBRT 1
1.1       misho    4332: _ACEOF
1.1.1.2   misho    4333: 
                   4334:   LIBS="-lrt $LIBS"
                   4335: 
                   4336: fi
                   4337: 
                   4338: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_name_resolve in -lnet" >&5
                   4339: $as_echo_n "checking for libnet_name_resolve in -lnet... " >&6; }
                   4340: if ${ac_cv_lib_net_libnet_name_resolve+:} false; then :
                   4341:   $as_echo_n "(cached) " >&6
                   4342: else
                   4343:   ac_check_lib_save_LIBS=$LIBS
                   4344: LIBS="-lnet  $LIBS"
                   4345: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4346: /* end confdefs.h.  */
                   4347: 
                   4348: /* Override any GCC internal prototype to avoid an error.
                   4349:    Use char because int might match the return type of a GCC
                   4350:    builtin and then its argument prototype would still apply.  */
                   4351: #ifdef __cplusplus
                   4352: extern "C"
                   4353: #endif
                   4354: char libnet_name_resolve ();
                   4355: int
                   4356: main ()
                   4357: {
                   4358: return libnet_name_resolve ();
                   4359:   ;
                   4360:   return 0;
                   4361: }
                   4362: _ACEOF
1.1.1.2   misho    4363: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    4364:   ac_cv_lib_net_libnet_name_resolve=yes
                   4365: else
1.1.1.2   misho    4366:   ac_cv_lib_net_libnet_name_resolve=no
1.1       misho    4367: fi
1.1.1.2   misho    4368: rm -f core conftest.err conftest.$ac_objext \
                   4369:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    4370: LIBS=$ac_check_lib_save_LIBS
                   4371: fi
1.1.1.2   misho    4372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_name_resolve" >&5
                   4373: $as_echo "$ac_cv_lib_net_libnet_name_resolve" >&6; }
                   4374: if test "x$ac_cv_lib_net_libnet_name_resolve" = xyes; then :
1.1.1.4 ! misho    4375:   as_fn_error $? "libnet 1.0.x found. Arping 2.x requires libnet 1.1 or newer" "$LINENO" 5
1.1       misho    4376: fi
                   4377: 
1.1.1.2   misho    4378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_init in -lnet" >&5
                   4379: $as_echo_n "checking for libnet_init in -lnet... " >&6; }
                   4380: if ${ac_cv_lib_net_libnet_init+:} false; then :
                   4381:   $as_echo_n "(cached) " >&6
1.1       misho    4382: else
                   4383:   ac_check_lib_save_LIBS=$LIBS
                   4384: LIBS="-lnet  $LIBS"
1.1.1.2   misho    4385: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4386: /* end confdefs.h.  */
                   4387: 
                   4388: /* Override any GCC internal prototype to avoid an error.
                   4389:    Use char because int might match the return type of a GCC
                   4390:    builtin and then its argument prototype would still apply.  */
                   4391: #ifdef __cplusplus
                   4392: extern "C"
                   4393: #endif
                   4394: char libnet_init ();
                   4395: int
                   4396: main ()
                   4397: {
                   4398: return libnet_init ();
                   4399:   ;
                   4400:   return 0;
                   4401: }
                   4402: _ACEOF
1.1.1.2   misho    4403: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    4404:   ac_cv_lib_net_libnet_init=yes
                   4405: else
1.1.1.2   misho    4406:   ac_cv_lib_net_libnet_init=no
1.1       misho    4407: fi
1.1.1.2   misho    4408: rm -f core conftest.err conftest.$ac_objext \
                   4409:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    4410: LIBS=$ac_check_lib_save_LIBS
                   4411: fi
1.1.1.2   misho    4412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_net_libnet_init" >&5
                   4413: $as_echo "$ac_cv_lib_net_libnet_init" >&6; }
                   4414: if test "x$ac_cv_lib_net_libnet_init" = xyes; then :
1.1       misho    4415:   cat >>confdefs.h <<_ACEOF
                   4416: #define HAVE_LIBNET 1
                   4417: _ACEOF
                   4418: 
                   4419:   LIBS="-lnet $LIBS"
                   4420: 
                   4421: else
1.1.1.2   misho    4422:   as_fn_error $? "libnet 1.1.x not found" "$LINENO" 5
                   4423: fi
                   4424: 
                   4425: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_open_live in -lpcap" >&5
                   4426: $as_echo_n "checking for pcap_open_live in -lpcap... " >&6; }
                   4427: if ${ac_cv_lib_pcap_pcap_open_live+:} false; then :
                   4428:   $as_echo_n "(cached) " >&6
                   4429: else
                   4430:   ac_check_lib_save_LIBS=$LIBS
                   4431: LIBS="-lpcap  $LIBS"
                   4432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4433: /* end confdefs.h.  */
                   4434: 
                   4435: /* Override any GCC internal prototype to avoid an error.
                   4436:    Use char because int might match the return type of a GCC
                   4437:    builtin and then its argument prototype would still apply.  */
                   4438: #ifdef __cplusplus
                   4439: extern "C"
                   4440: #endif
                   4441: char pcap_open_live ();
                   4442: int
                   4443: main ()
                   4444: {
                   4445: return pcap_open_live ();
                   4446:   ;
                   4447:   return 0;
                   4448: }
                   4449: _ACEOF
                   4450: if ac_fn_c_try_link "$LINENO"; then :
                   4451:   ac_cv_lib_pcap_pcap_open_live=yes
                   4452: else
                   4453:   ac_cv_lib_pcap_pcap_open_live=no
                   4454: fi
                   4455: rm -f core conftest.err conftest.$ac_objext \
                   4456:     conftest$ac_exeext conftest.$ac_ext
                   4457: LIBS=$ac_check_lib_save_LIBS
                   4458: fi
                   4459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_open_live" >&5
                   4460: $as_echo "$ac_cv_lib_pcap_pcap_open_live" >&6; }
                   4461: if test "x$ac_cv_lib_pcap_pcap_open_live" = xyes; then :
                   4462:   cat >>confdefs.h <<_ACEOF
                   4463: #define HAVE_LIBPCAP 1
                   4464: _ACEOF
                   4465: 
                   4466:   LIBS="-lpcap $LIBS"
                   4467: 
                   4468: else
                   4469:   as_fn_error $? "libpcap not found" "$LINENO" 5
1.1       misho    4470: fi
                   4471: 
1.1.1.2   misho    4472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
                   4473: $as_echo_n "checking for library containing clock_gettime... " >&6; }
                   4474: if ${ac_cv_search_clock_gettime+:} false; then :
                   4475:   $as_echo_n "(cached) " >&6
1.1       misho    4476: else
1.1.1.2   misho    4477:   ac_func_search_save_LIBS=$LIBS
                   4478: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4479: /* end confdefs.h.  */
                   4480: 
                   4481: /* Override any GCC internal prototype to avoid an error.
                   4482:    Use char because int might match the return type of a GCC
                   4483:    builtin and then its argument prototype would still apply.  */
                   4484: #ifdef __cplusplus
                   4485: extern "C"
                   4486: #endif
1.1.1.2   misho    4487: char clock_gettime ();
1.1       misho    4488: int
                   4489: main ()
                   4490: {
1.1.1.2   misho    4491: return clock_gettime ();
1.1       misho    4492:   ;
                   4493:   return 0;
                   4494: }
                   4495: _ACEOF
1.1.1.2   misho    4496: for ac_lib in '' rt; do
                   4497:   if test -z "$ac_lib"; then
                   4498:     ac_res="none required"
                   4499:   else
                   4500:     ac_res=-l$ac_lib
                   4501:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   4502:   fi
                   4503:   if ac_fn_c_try_link "$LINENO"; then :
                   4504:   ac_cv_search_clock_gettime=$ac_res
1.1       misho    4505: fi
1.1.1.2   misho    4506: rm -f core conftest.err conftest.$ac_objext \
                   4507:     conftest$ac_exeext
                   4508:   if ${ac_cv_search_clock_gettime+:} false; then :
                   4509:   break
1.1       misho    4510: fi
1.1.1.2   misho    4511: done
                   4512: if ${ac_cv_search_clock_gettime+:} false; then :
1.1       misho    4513: 
                   4514: else
1.1.1.2   misho    4515:   ac_cv_search_clock_gettime=no
                   4516: fi
                   4517: rm conftest.$ac_ext
                   4518: LIBS=$ac_func_search_save_LIBS
                   4519: fi
                   4520: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
                   4521: $as_echo "$ac_cv_search_clock_gettime" >&6; }
                   4522: ac_res=$ac_cv_search_clock_gettime
                   4523: if test "$ac_res" != no; then :
                   4524:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   4525: 
1.1       misho    4526: fi
                   4527: 
                   4528: 
                   4529: # Checks for header files.
                   4530: ac_ext=c
                   4531: ac_cpp='$CPP $CPPFLAGS'
                   4532: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4533: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4534: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.2   misho    4535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4536: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.1       misho    4537: # On Suns, sometimes $CPP names a directory.
                   4538: if test -n "$CPP" && test -d "$CPP"; then
                   4539:   CPP=
                   4540: fi
                   4541: if test -z "$CPP"; then
1.1.1.2   misho    4542:   if ${ac_cv_prog_CPP+:} false; then :
                   4543:   $as_echo_n "(cached) " >&6
1.1       misho    4544: else
                   4545:       # Double quotes because CPP needs to be expanded
                   4546:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4547:     do
                   4548:       ac_preproc_ok=false
                   4549: for ac_c_preproc_warn_flag in '' yes
                   4550: do
                   4551:   # Use a header file that comes with gcc, so configuring glibc
                   4552:   # with a fresh cross-compiler works.
                   4553:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4554:   # <limits.h> exists even on freestanding compilers.
                   4555:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4556:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2   misho    4557:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4558: /* end confdefs.h.  */
                   4559: #ifdef __STDC__
                   4560: # include <limits.h>
                   4561: #else
                   4562: # include <assert.h>
                   4563: #endif
                   4564:                     Syntax error
                   4565: _ACEOF
1.1.1.2   misho    4566: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4567: 
1.1.1.2   misho    4568: else
1.1       misho    4569:   # Broken: fails on valid input.
                   4570: continue
                   4571: fi
1.1.1.2   misho    4572: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4573: 
                   4574:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4575:   # can be detected and how.
1.1.1.2   misho    4576:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4577: /* end confdefs.h.  */
                   4578: #include <ac_nonexistent.h>
                   4579: _ACEOF
1.1.1.2   misho    4580: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4581:   # Broken: success on invalid input.
                   4582: continue
                   4583: else
                   4584:   # Passes both tests.
                   4585: ac_preproc_ok=:
                   4586: break
                   4587: fi
1.1.1.2   misho    4588: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4589: 
                   4590: done
                   4591: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    4592: rm -f conftest.i conftest.err conftest.$ac_ext
                   4593: if $ac_preproc_ok; then :
1.1       misho    4594:   break
                   4595: fi
                   4596: 
                   4597:     done
                   4598:     ac_cv_prog_CPP=$CPP
                   4599: 
                   4600: fi
                   4601:   CPP=$ac_cv_prog_CPP
                   4602: else
                   4603:   ac_cv_prog_CPP=$CPP
                   4604: fi
1.1.1.2   misho    4605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4606: $as_echo "$CPP" >&6; }
1.1       misho    4607: ac_preproc_ok=false
                   4608: for ac_c_preproc_warn_flag in '' yes
                   4609: do
                   4610:   # Use a header file that comes with gcc, so configuring glibc
                   4611:   # with a fresh cross-compiler works.
                   4612:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4613:   # <limits.h> exists even on freestanding compilers.
                   4614:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4615:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2   misho    4616:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4617: /* end confdefs.h.  */
                   4618: #ifdef __STDC__
                   4619: # include <limits.h>
                   4620: #else
                   4621: # include <assert.h>
                   4622: #endif
                   4623:                     Syntax error
                   4624: _ACEOF
1.1.1.2   misho    4625: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4626: 
1.1.1.2   misho    4627: else
1.1       misho    4628:   # Broken: fails on valid input.
                   4629: continue
                   4630: fi
1.1.1.2   misho    4631: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4632: 
                   4633:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4634:   # can be detected and how.
1.1.1.2   misho    4635:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4636: /* end confdefs.h.  */
                   4637: #include <ac_nonexistent.h>
                   4638: _ACEOF
1.1.1.2   misho    4639: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4640:   # Broken: success on invalid input.
                   4641: continue
                   4642: else
                   4643:   # Passes both tests.
                   4644: ac_preproc_ok=:
                   4645: break
                   4646: fi
1.1.1.2   misho    4647: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4648: 
                   4649: done
                   4650: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2   misho    4651: rm -f conftest.i conftest.err conftest.$ac_ext
                   4652: if $ac_preproc_ok; then :
                   4653: 
1.1       misho    4654: else
1.1.1.2   misho    4655:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4656: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4657: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4658: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    4659: fi
                   4660: 
                   4661: ac_ext=c
                   4662: ac_cpp='$CPP $CPPFLAGS'
                   4663: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4664: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4665: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4666: 
                   4667: 
1.1.1.2   misho    4668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4669: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4670: if ${ac_cv_path_GREP+:} false; then :
                   4671:   $as_echo_n "(cached) " >&6
1.1       misho    4672: else
1.1.1.2   misho    4673:   if test -z "$GREP"; then
1.1       misho    4674:   ac_path_GREP_found=false
1.1.1.2   misho    4675:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4676:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    4677: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4678: do
                   4679:   IFS=$as_save_IFS
                   4680:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    4681:     for ac_prog in grep ggrep; do
                   4682:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4683:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4684:       as_fn_executable_p "$ac_path_GREP" || continue
                   4685: # Check for GNU ac_path_GREP and select it if it is found.
1.1       misho    4686:   # Check for GNU $ac_path_GREP
                   4687: case `"$ac_path_GREP" --version 2>&1` in
                   4688: *GNU*)
                   4689:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4690: *)
                   4691:   ac_count=0
1.1.1.2   misho    4692:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    4693:   while :
                   4694:   do
                   4695:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4696:     mv "conftest.tmp" "conftest.in"
                   4697:     cp "conftest.in" "conftest.nl"
1.1.1.2   misho    4698:     $as_echo 'GREP' >> "conftest.nl"
1.1       misho    4699:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4700:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2   misho    4701:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    4702:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4703:       # Best one so far, save it but keep looking for a better one
                   4704:       ac_cv_path_GREP="$ac_path_GREP"
                   4705:       ac_path_GREP_max=$ac_count
                   4706:     fi
                   4707:     # 10*(2^10) chars as input seems more than enough
                   4708:     test $ac_count -gt 10 && break
                   4709:   done
                   4710:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4711: esac
                   4712: 
1.1.1.2   misho    4713:       $ac_path_GREP_found && break 3
                   4714:     done
                   4715:   done
1.1       misho    4716:   done
                   4717: IFS=$as_save_IFS
1.1.1.2   misho    4718:   if test -z "$ac_cv_path_GREP"; then
                   4719:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4720:   fi
1.1       misho    4721: else
                   4722:   ac_cv_path_GREP=$GREP
                   4723: fi
                   4724: 
                   4725: fi
1.1.1.2   misho    4726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4727: $as_echo "$ac_cv_path_GREP" >&6; }
1.1       misho    4728:  GREP="$ac_cv_path_GREP"
                   4729: 
                   4730: 
1.1.1.2   misho    4731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4732: $as_echo_n "checking for egrep... " >&6; }
                   4733: if ${ac_cv_path_EGREP+:} false; then :
                   4734:   $as_echo_n "(cached) " >&6
1.1       misho    4735: else
                   4736:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4737:    then ac_cv_path_EGREP="$GREP -E"
                   4738:    else
1.1.1.2   misho    4739:      if test -z "$EGREP"; then
1.1       misho    4740:   ac_path_EGREP_found=false
1.1.1.2   misho    4741:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4742:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    4743: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4744: do
                   4745:   IFS=$as_save_IFS
                   4746:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    4747:     for ac_prog in egrep; do
                   4748:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4749:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4750:       as_fn_executable_p "$ac_path_EGREP" || continue
                   4751: # Check for GNU ac_path_EGREP and select it if it is found.
1.1       misho    4752:   # Check for GNU $ac_path_EGREP
                   4753: case `"$ac_path_EGREP" --version 2>&1` in
                   4754: *GNU*)
                   4755:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4756: *)
                   4757:   ac_count=0
1.1.1.2   misho    4758:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    4759:   while :
                   4760:   do
                   4761:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4762:     mv "conftest.tmp" "conftest.in"
                   4763:     cp "conftest.in" "conftest.nl"
1.1.1.2   misho    4764:     $as_echo 'EGREP' >> "conftest.nl"
1.1       misho    4765:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4766:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2   misho    4767:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    4768:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4769:       # Best one so far, save it but keep looking for a better one
                   4770:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4771:       ac_path_EGREP_max=$ac_count
                   4772:     fi
                   4773:     # 10*(2^10) chars as input seems more than enough
                   4774:     test $ac_count -gt 10 && break
                   4775:   done
                   4776:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4777: esac
                   4778: 
1.1.1.2   misho    4779:       $ac_path_EGREP_found && break 3
                   4780:     done
                   4781:   done
1.1       misho    4782:   done
                   4783: IFS=$as_save_IFS
1.1.1.2   misho    4784:   if test -z "$ac_cv_path_EGREP"; then
                   4785:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4786:   fi
1.1       misho    4787: else
                   4788:   ac_cv_path_EGREP=$EGREP
                   4789: fi
                   4790: 
                   4791:    fi
                   4792: fi
1.1.1.2   misho    4793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4794: $as_echo "$ac_cv_path_EGREP" >&6; }
1.1       misho    4795:  EGREP="$ac_cv_path_EGREP"
                   4796: 
                   4797: 
1.1.1.2   misho    4798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4799: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4800: if ${ac_cv_header_stdc+:} false; then :
                   4801:   $as_echo_n "(cached) " >&6
1.1       misho    4802: else
1.1.1.2   misho    4803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4804: /* end confdefs.h.  */
                   4805: #include <stdlib.h>
                   4806: #include <stdarg.h>
                   4807: #include <string.h>
                   4808: #include <float.h>
                   4809: 
                   4810: int
                   4811: main ()
                   4812: {
                   4813: 
                   4814:   ;
                   4815:   return 0;
                   4816: }
                   4817: _ACEOF
1.1.1.2   misho    4818: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    4819:   ac_cv_header_stdc=yes
                   4820: else
1.1.1.2   misho    4821:   ac_cv_header_stdc=no
1.1       misho    4822: fi
                   4823: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4824: 
                   4825: if test $ac_cv_header_stdc = yes; then
                   4826:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.2   misho    4827:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4828: /* end confdefs.h.  */
                   4829: #include <string.h>
                   4830: 
                   4831: _ACEOF
                   4832: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4833:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4834: 
1.1       misho    4835: else
                   4836:   ac_cv_header_stdc=no
                   4837: fi
                   4838: rm -f conftest*
                   4839: 
                   4840: fi
                   4841: 
                   4842: if test $ac_cv_header_stdc = yes; then
                   4843:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.2   misho    4844:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4845: /* end confdefs.h.  */
                   4846: #include <stdlib.h>
                   4847: 
                   4848: _ACEOF
                   4849: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    4850:   $EGREP "free" >/dev/null 2>&1; then :
                   4851: 
1.1       misho    4852: else
                   4853:   ac_cv_header_stdc=no
                   4854: fi
                   4855: rm -f conftest*
                   4856: 
                   4857: fi
                   4858: 
                   4859: if test $ac_cv_header_stdc = yes; then
                   4860:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.2   misho    4861:   if test "$cross_compiling" = yes; then :
1.1       misho    4862:   :
                   4863: else
1.1.1.2   misho    4864:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4865: /* end confdefs.h.  */
                   4866: #include <ctype.h>
                   4867: #include <stdlib.h>
                   4868: #if ((' ' & 0x0FF) == 0x020)
                   4869: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4870: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4871: #else
                   4872: # define ISLOWER(c) \
                   4873:                   (('a' <= (c) && (c) <= 'i') \
                   4874:                     || ('j' <= (c) && (c) <= 'r') \
                   4875:                     || ('s' <= (c) && (c) <= 'z'))
                   4876: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4877: #endif
                   4878: 
                   4879: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4880: int
                   4881: main ()
                   4882: {
                   4883:   int i;
                   4884:   for (i = 0; i < 256; i++)
                   4885:     if (XOR (islower (i), ISLOWER (i))
                   4886:        || toupper (i) != TOUPPER (i))
                   4887:       return 2;
                   4888:   return 0;
                   4889: }
                   4890: _ACEOF
1.1.1.2   misho    4891: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4892: 
                   4893: else
1.1.1.2   misho    4894:   ac_cv_header_stdc=no
1.1       misho    4895: fi
1.1.1.2   misho    4896: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4897:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4898: fi
                   4899: 
                   4900: fi
                   4901: fi
1.1.1.2   misho    4902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4903: $as_echo "$ac_cv_header_stdc" >&6; }
                   4904: if test $ac_cv_header_stdc = yes; then
1.1       misho    4905: 
1.1.1.2   misho    4906: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    4907: 
                   4908: fi
                   4909: 
1.1.1.2   misho    4910: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4911: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4912:                  inttypes.h stdint.h unistd.h
                   4913: do :
                   4914:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4915: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4916: "
                   4917: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4918:   cat >>confdefs.h <<_ACEOF
                   4919: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4920: _ACEOF
1.1       misho    4921: 
                   4922: fi
                   4923: 
1.1.1.2   misho    4924: done
                   4925: 
                   4926: 
                   4927: for ac_header in \
                   4928: arpa/inet.h \
                   4929: netinet/in.h \
                   4930: stdlib.h \
                   4931: sys/socket.h \
1.1.1.4 ! misho    4932: getopt.h \
1.1.1.2   misho    4933: time.h \
1.1.1.4 ! misho    4934: grp.h \
1.1.1.2   misho    4935: sys/time.h \
                   4936: sys/types.h \
1.1.1.4 ! misho    4937: sys/param.h \
1.1.1.3   misho    4938: sys/capability.h \
1.1.1.2   misho    4939: stdint.h \
                   4940: libnet.h \
                   4941: win32/libnet.h \
1.1.1.4 ! misho    4942: sys/random.h \
1.1.1.2   misho    4943: net/bpf.h \
1.1.1.3   misho    4944: pwd.h \
1.1.1.2   misho    4945: unistd.h
                   4946: do :
                   4947:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4948: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   4949: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    4950:   cat >>confdefs.h <<_ACEOF
1.1.1.2   misho    4951: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    4952: _ACEOF
                   4953: 
                   4954: fi
                   4955: 
                   4956: done
                   4957: 
                   4958: 
                   4959: # Libnet include file is not optional
                   4960: if test ! x$ac_cv_header_libnet_h = xyes; then
1.1.1.2   misho    4961:   as_fn_error $? "Can't find libnet.h. See INSTALL file for where to get Libnet" "$LINENO" 5
1.1       misho    4962: fi
                   4963: 
                   4964: # Checks for typedefs, structures, and compiler characteristics.
1.1.1.2   misho    4965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   4966: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   4967: if ${ac_cv_c_const+:} false; then :
                   4968:   $as_echo_n "(cached) " >&6
1.1       misho    4969: else
1.1.1.2   misho    4970:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4971: /* end confdefs.h.  */
                   4972: 
                   4973: int
                   4974: main ()
                   4975: {
1.1.1.2   misho    4976: 
1.1       misho    4977: #ifndef __cplusplus
1.1.1.2   misho    4978:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    4979:   typedef int charset[2];
1.1.1.2   misho    4980:   const charset cs = { 0, 0 };
1.1       misho    4981:   /* SunOS 4.1.1 cc rejects this.  */
                   4982:   char const *const *pcpcc;
                   4983:   char **ppc;
                   4984:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   4985:   struct point {int x, y;};
                   4986:   static struct point const zero = {0,0};
                   4987:   /* AIX XL C 1.02.0.0 rejects this.
                   4988:      It does not let you subtract one const X* pointer from another in
                   4989:      an arm of an if-expression whose if-part is not a constant
                   4990:      expression */
                   4991:   const char *g = "string";
                   4992:   pcpcc = &g + (g ? g-g : 0);
                   4993:   /* HPUX 7.0 cc rejects these. */
                   4994:   ++pcpcc;
                   4995:   ppc = (char**) pcpcc;
                   4996:   pcpcc = (char const *const *) ppc;
1.1.1.2   misho    4997:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
                   4998:     char tx;
                   4999:     char *t = &tx;
1.1       misho    5000:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   5001: 
                   5002:     *t++ = 0;
                   5003:     if (s) return 0;
                   5004:   }
                   5005:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   5006:     int x[] = {25, 17};
                   5007:     const int *foo = &x[0];
                   5008:     ++foo;
                   5009:   }
                   5010:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   5011:     typedef const int *iptr;
                   5012:     iptr p = 0;
                   5013:     ++p;
                   5014:   }
1.1.1.2   misho    5015:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    5016:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.2   misho    5017:     struct s { int j; const int *ap[3]; } bx;
                   5018:     struct s *b = &bx; b->j = 5;
1.1       misho    5019:   }
                   5020:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   5021:     const int foo = 10;
                   5022:     if (!foo) return 0;
                   5023:   }
                   5024:   return !cs[0] && !zero.x;
                   5025: #endif
                   5026: 
                   5027:   ;
                   5028:   return 0;
                   5029: }
                   5030: _ACEOF
1.1.1.2   misho    5031: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5032:   ac_cv_c_const=yes
                   5033: else
1.1.1.2   misho    5034:   ac_cv_c_const=no
1.1       misho    5035: fi
                   5036: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5037: fi
1.1.1.2   misho    5038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   5039: $as_echo "$ac_cv_c_const" >&6; }
1.1       misho    5040: if test $ac_cv_c_const = no; then
                   5041: 
1.1.1.2   misho    5042: $as_echo "#define const /**/" >>confdefs.h
1.1       misho    5043: 
                   5044: fi
                   5045: 
1.1.1.2   misho    5046: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   5047: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   5048: if ${ac_cv_header_time+:} false; then :
                   5049:   $as_echo_n "(cached) " >&6
1.1       misho    5050: else
1.1.1.2   misho    5051:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5052: /* end confdefs.h.  */
                   5053: #include <sys/types.h>
                   5054: #include <sys/time.h>
                   5055: #include <time.h>
                   5056: 
                   5057: int
                   5058: main ()
                   5059: {
                   5060: if ((struct tm *) 0)
                   5061: return 0;
                   5062:   ;
                   5063:   return 0;
                   5064: }
                   5065: _ACEOF
1.1.1.2   misho    5066: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5067:   ac_cv_header_time=yes
                   5068: else
1.1.1.2   misho    5069:   ac_cv_header_time=no
1.1       misho    5070: fi
                   5071: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5072: fi
1.1.1.2   misho    5073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   5074: $as_echo "$ac_cv_header_time" >&6; }
1.1       misho    5075: if test $ac_cv_header_time = yes; then
                   5076: 
1.1.1.2   misho    5077: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
1.1       misho    5078: 
                   5079: fi
                   5080: 
1.1.1.2   misho    5081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
                   5082: $as_echo_n "checking for working volatile... " >&6; }
                   5083: if ${ac_cv_c_volatile+:} false; then :
                   5084:   $as_echo_n "(cached) " >&6
1.1       misho    5085: else
1.1.1.2   misho    5086:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5087: /* end confdefs.h.  */
                   5088: 
                   5089: int
                   5090: main ()
                   5091: {
                   5092: 
                   5093: volatile int x;
                   5094: int * volatile y = (int *) 0;
                   5095: return !x && !y;
                   5096:   ;
                   5097:   return 0;
                   5098: }
                   5099: _ACEOF
1.1.1.2   misho    5100: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5101:   ac_cv_c_volatile=yes
                   5102: else
1.1.1.2   misho    5103:   ac_cv_c_volatile=no
1.1       misho    5104: fi
                   5105: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5106: fi
1.1.1.2   misho    5107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
                   5108: $as_echo "$ac_cv_c_volatile" >&6; }
1.1       misho    5109: if test $ac_cv_c_volatile = no; then
                   5110: 
1.1.1.2   misho    5111: $as_echo "#define volatile /**/" >>confdefs.h
1.1       misho    5112: 
                   5113: fi
                   5114: 
1.1.1.2   misho    5115: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   5116: case $ac_cv_c_uint8_t in #(
1.1       misho    5117:   no|yes) ;; #(
                   5118:   *)
                   5119: 
1.1.1.2   misho    5120: $as_echo "#define _UINT8_T 1" >>confdefs.h
1.1       misho    5121: 
                   5122: 
                   5123: cat >>confdefs.h <<_ACEOF
                   5124: #define uint8_t $ac_cv_c_uint8_t
                   5125: _ACEOF
                   5126: ;;
                   5127:   esac
                   5128: 
1.1.1.2   misho    5129: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   5130: case $ac_cv_c_uint16_t in #(
1.1       misho    5131:   no|yes) ;; #(
                   5132:   *)
                   5133: 
                   5134: 
                   5135: cat >>confdefs.h <<_ACEOF
                   5136: #define uint16_t $ac_cv_c_uint16_t
                   5137: _ACEOF
                   5138: ;;
                   5139:   esac
                   5140: 
1.1.1.2   misho    5141: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   5142: case $ac_cv_c_uint32_t in #(
1.1       misho    5143:   no|yes) ;; #(
                   5144:   *)
                   5145: 
1.1.1.2   misho    5146: $as_echo "#define _UINT32_T 1" >>confdefs.h
1.1       misho    5147: 
                   5148: 
                   5149: cat >>confdefs.h <<_ACEOF
                   5150: #define uint32_t $ac_cv_c_uint32_t
                   5151: _ACEOF
                   5152: ;;
                   5153:   esac
                   5154: 
1.1.1.2   misho    5155: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   5156: case $ac_cv_c_uint64_t in #(
1.1       misho    5157:   no|yes) ;; #(
                   5158:   *)
                   5159: 
1.1.1.2   misho    5160: $as_echo "#define _UINT64_T 1" >>confdefs.h
1.1       misho    5161: 
                   5162: 
                   5163: cat >>confdefs.h <<_ACEOF
                   5164: #define uint64_t $ac_cv_c_uint64_t
                   5165: _ACEOF
                   5166: ;;
                   5167:   esac
                   5168: 
                   5169: 
                   5170: # Checks for library functions.
                   5171: if test $ac_cv_c_compiler_gnu = yes; then
1.1.1.2   misho    5172:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
                   5173: $as_echo_n "checking whether $CC needs -traditional... " >&6; }
                   5174: if ${ac_cv_prog_gcc_traditional+:} false; then :
                   5175:   $as_echo_n "(cached) " >&6
1.1       misho    5176: else
                   5177:     ac_pattern="Autoconf.*'x'"
1.1.1.2   misho    5178:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5179: /* end confdefs.h.  */
                   5180: #include <sgtty.h>
                   5181: Autoconf TIOCGETP
                   5182: _ACEOF
                   5183: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    5184:   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
1.1       misho    5185:   ac_cv_prog_gcc_traditional=yes
                   5186: else
                   5187:   ac_cv_prog_gcc_traditional=no
                   5188: fi
                   5189: rm -f conftest*
                   5190: 
                   5191: 
                   5192:   if test $ac_cv_prog_gcc_traditional = no; then
1.1.1.2   misho    5193:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5194: /* end confdefs.h.  */
                   5195: #include <termio.h>
                   5196: Autoconf TCGETA
                   5197: _ACEOF
                   5198: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2   misho    5199:   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
1.1       misho    5200:   ac_cv_prog_gcc_traditional=yes
                   5201: fi
                   5202: rm -f conftest*
                   5203: 
                   5204:   fi
                   5205: fi
1.1.1.2   misho    5206: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
                   5207: $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
1.1       misho    5208:   if test $ac_cv_prog_gcc_traditional = yes; then
                   5209:     CC="$CC -traditional"
                   5210:   fi
                   5211: fi
                   5212: 
                   5213: for ac_header in sys/select.h sys/socket.h
1.1.1.2   misho    5214: do :
                   5215:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5216: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   5217: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    5218:   cat >>confdefs.h <<_ACEOF
1.1.1.2   misho    5219: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    5220: _ACEOF
                   5221: 
                   5222: fi
                   5223: 
                   5224: done
                   5225: 
1.1.1.2   misho    5226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
                   5227: $as_echo_n "checking types of arguments for select... " >&6; }
                   5228: if ${ac_cv_func_select_args+:} false; then :
                   5229:   $as_echo_n "(cached) " >&6
1.1       misho    5230: else
                   5231:   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
                   5232:  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
                   5233:   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
1.1.1.2   misho    5234:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5235: /* end confdefs.h.  */
                   5236: $ac_includes_default
                   5237: #ifdef HAVE_SYS_SELECT_H
                   5238: # include <sys/select.h>
                   5239: #endif
                   5240: #ifdef HAVE_SYS_SOCKET_H
                   5241: # include <sys/socket.h>
                   5242: #endif
                   5243: 
                   5244: int
                   5245: main ()
                   5246: {
                   5247: extern int select ($ac_arg1,
                   5248:                                            $ac_arg234, $ac_arg234, $ac_arg234,
                   5249:                                            $ac_arg5);
                   5250:   ;
                   5251:   return 0;
                   5252: }
                   5253: _ACEOF
1.1.1.2   misho    5254: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5255:   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
                   5256: fi
                   5257: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5258:   done
                   5259:  done
                   5260: done
                   5261: # Provide a safe default value.
1.1.1.2   misho    5262: : "${ac_cv_func_select_args=int,int *,struct timeval *}"
1.1       misho    5263: 
                   5264: fi
1.1.1.2   misho    5265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
                   5266: $as_echo "$ac_cv_func_select_args" >&6; }
1.1       misho    5267: ac_save_IFS=$IFS; IFS=','
                   5268: set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
                   5269: IFS=$ac_save_IFS
                   5270: shift
                   5271: 
                   5272: cat >>confdefs.h <<_ACEOF
                   5273: #define SELECT_TYPE_ARG1 $1
                   5274: _ACEOF
                   5275: 
                   5276: 
                   5277: cat >>confdefs.h <<_ACEOF
                   5278: #define SELECT_TYPE_ARG234 ($2)
                   5279: _ACEOF
                   5280: 
                   5281: 
                   5282: cat >>confdefs.h <<_ACEOF
                   5283: #define SELECT_TYPE_ARG5 ($3)
                   5284: _ACEOF
                   5285: 
                   5286: rm -f conftest*
                   5287: 
1.1.1.2   misho    5288: if ${ac_cv_func_setvbuf_reversed+:} false; then :
                   5289:   $as_echo_n "(cached) " >&6
1.1       misho    5290: else
                   5291:   ac_cv_func_setvbuf_reversed=no
                   5292: fi
                   5293: 
                   5294: 
1.1.1.2   misho    5295: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   5296: $as_echo_n "checking return type of signal handlers... " >&6; }
                   5297: if ${ac_cv_type_signal+:} false; then :
                   5298:   $as_echo_n "(cached) " >&6
1.1       misho    5299: else
1.1.1.2   misho    5300:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5301: /* end confdefs.h.  */
                   5302: #include <sys/types.h>
                   5303: #include <signal.h>
                   5304: 
                   5305: int
                   5306: main ()
                   5307: {
                   5308: return *(signal (0, 0)) (0) == 1;
                   5309:   ;
                   5310:   return 0;
                   5311: }
                   5312: _ACEOF
1.1.1.2   misho    5313: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5314:   ac_cv_type_signal=int
                   5315: else
1.1.1.2   misho    5316:   ac_cv_type_signal=void
1.1       misho    5317: fi
                   5318: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5319: fi
1.1.1.2   misho    5320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   5321: $as_echo "$ac_cv_type_signal" >&6; }
1.1       misho    5322: 
                   5323: cat >>confdefs.h <<_ACEOF
                   5324: #define RETSIGTYPE $ac_cv_type_signal
                   5325: _ACEOF
                   5326: 
                   5327: 
1.1.1.2   misho    5328: for ac_func in gettimeofday memset select strchr strdup strerror strstr \
1.1.1.4 ! misho    5329: getifaddrs cap_init pcap_create pcap_list_tstamp_types pcap_set_immediate_mode \
        !          5330: pledge unveil pcap_findalldevs getrandom
1.1.1.2   misho    5331: do :
                   5332:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   5333: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   5334: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   5335:   cat >>confdefs.h <<_ACEOF
                   5336: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   5337: _ACEOF
1.1       misho    5338: 
1.1.1.2   misho    5339: fi
                   5340: done
1.1       misho    5341: 
                   5342: 
1.1.1.2   misho    5343: if test x$ac_cv_func_getifaddrs = xyes; then
                   5344:     case " $LIBOBJS " in
                   5345:   *" findif_getifaddrs.$ac_objext "* ) ;;
                   5346:   *) LIBOBJS="$LIBOBJS findif_getifaddrs.$ac_objext"
                   5347:  ;;
                   5348: esac
1.1       misho    5349: 
1.1.1.2   misho    5350: else
                   5351:     case "$target_os" in
                   5352:         *linux*)
                   5353:             case " $LIBOBJS " in
                   5354:   *" findif_linux.$ac_objext "* ) ;;
                   5355:   *) LIBOBJS="$LIBOBJS findif_linux.$ac_objext"
                   5356:  ;;
                   5357: esac
1.1       misho    5358: 
1.1.1.2   misho    5359:             ;;
                   5360:         *freebsd*|*openbsd*|*darwin*)
                   5361:             case " $LIBOBJS " in
                   5362:   *" findif_sysctl.$ac_objext "* ) ;;
                   5363:   *) LIBOBJS="$LIBOBJS findif_sysctl.$ac_objext"
                   5364:  ;;
                   5365: esac
1.1       misho    5366: 
1.1.1.2   misho    5367:             ;;
                   5368:         *solaris*)
                   5369:             case " $LIBOBJS " in
                   5370:   *" findif_bsdroute.$ac_objext "* ) ;;
                   5371:   *) LIBOBJS="$LIBOBJS findif_bsdroute.$ac_objext"
                   5372:  ;;
                   5373: esac
1.1       misho    5374: 
1.1.1.2   misho    5375:             ;;
                   5376:         *)
                   5377:             case " $LIBOBJS " in
                   5378:   *" findif_other.$ac_objext "* ) ;;
                   5379:   *) LIBOBJS="$LIBOBJS findif_other.$ac_objext"
                   5380:  ;;
                   5381: esac
1.1       misho    5382: 
1.1.1.2   misho    5383:             ;;
                   5384:     esac
                   5385: fi
1.1       misho    5386: 
1.1.1.4 ! misho    5387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_init signature has const" >&5
        !          5388: $as_echo_n "checking for libnet_init signature has const... " >&6; }
        !          5389: if ${ac_cv_have_libnet_init_const+:} false; then :
        !          5390:   $as_echo_n "(cached) " >&6
        !          5391: else
1.1       misho    5392: 
1.1.1.4 ! misho    5393:                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5394: /* end confdefs.h.  */
        !          5395: #include<libnet.h>
        !          5396: int
        !          5397: main ()
        !          5398: {
        !          5399: libnet_t*libnet_init(int a,const char* b,char* c);
        !          5400:   ;
        !          5401:   return 0;
        !          5402: }
        !          5403: _ACEOF
        !          5404: if ac_fn_c_try_link "$LINENO"; then :
        !          5405:    ac_cv_have_libnet_init_const="yes"
        !          5406: else
        !          5407:    ac_cv_have_libnet_init_const="no"
        !          5408: fi
        !          5409: rm -f core conftest.err conftest.$ac_objext \
        !          5410:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    5411: 
1.1.1.4 ! misho    5412: fi
        !          5413: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libnet_init_const" >&5
        !          5414: $as_echo "$ac_cv_have_libnet_init_const" >&6; }
        !          5415: if test x$ac_cv_have_libnet_init_const = xyes; then
        !          5416: 
        !          5417: $as_echo "#define HAVE_LIBNET_INIT_CONST 1" >>confdefs.h
        !          5418: 
        !          5419: fi
        !          5420: 
        !          5421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnet_name2addr4 signature has const" >&5
        !          5422: $as_echo_n "checking for libnet_name2addr4 signature has const... " >&6; }
        !          5423: if ${ac_cv_have_libnet_name2addr4_const+:} false; then :
1.1.1.2   misho    5424:   $as_echo_n "(cached) " >&6
                   5425: else
1.1       misho    5426: 
1.1.1.4 ! misho    5427:                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1.1.2   misho    5428: /* end confdefs.h.  */
1.1.1.4 ! misho    5429: #include<libnet.h>
        !          5430: int
        !          5431: main ()
        !          5432: {
        !          5433: uint32_t libnet_name2addr4(libnet_t*a, const char* b,uint8_t c);
        !          5434:   ;
        !          5435:   return 0;
1.1       misho    5436: }
                   5437: _ACEOF
1.1.1.4 ! misho    5438: if ac_fn_c_try_link "$LINENO"; then :
        !          5439:    ac_cv_have_libnet_name2addr4_const="yes"
1.1       misho    5440: else
1.1.1.4 ! misho    5441:    ac_cv_have_libnet_name2addr4_const="no"
        !          5442: fi
        !          5443: rm -f core conftest.err conftest.$ac_objext \
        !          5444:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    5445: 
                   5446: fi
1.1.1.4 ! misho    5447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_libnet_name2addr4_const" >&5
        !          5448: $as_echo "$ac_cv_have_libnet_name2addr4_const" >&6; }
        !          5449: if test x$ac_cv_have_libnet_name2addr4_const = xyes; then
        !          5450: 
        !          5451: $as_echo "#define HAVE_LIBNET_NAME2ADDR4_CONST 1" >>confdefs.h
        !          5452: 
1.1       misho    5453: fi
                   5454: 
                   5455: 
1.1.1.4 ! misho    5456: # check for CLOCK_MONOTONIC
        !          5457: ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "
        !          5458:                 #include <time.h>
        !          5459:                 #include <sys/time.h>
        !          5460: 
        !          5461: 
        !          5462: "
        !          5463: if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then :
        !          5464: 
1.1.1.2   misho    5465: fi
1.1.1.4 ! misho    5466: 
        !          5467:  if test x$ac_cv_have_decl_CLOCK_MONOTONIC = xyes; then
1.1.1.2   misho    5468:   HAVE_CLOCK_MONOTONIC_TRUE=
                   5469:   HAVE_CLOCK_MONOTONIC_FALSE='#'
                   5470: else
                   5471:   HAVE_CLOCK_MONOTONIC_TRUE='#'
                   5472:   HAVE_CLOCK_MONOTONIC_FALSE=
                   5473: fi
1.1       misho    5474: 
1.1.1.4 ! misho    5475: if test x$ac_cv_have_decl_CLOCK_MONOTONIC = xyes; then
1.1       misho    5476: 
1.1.1.2   misho    5477: $as_echo "#define HAVE_CLOCK_MONOTONIC 1" >>confdefs.h
1.1       misho    5478: 
1.1.1.2   misho    5479: fi
1.1       misho    5480: 
1.1.1.4 ! misho    5481: # Check whether --enable-hardened was given.
        !          5482: if test "${enable_hardened+set}" = set; then :
        !          5483:   enableval=$enable_hardened;
        !          5484:                           CFLAGS+=" -pie -fPIE -fstack-protector-all --param ssp-buffer-size=1 -D_FORTIFY_SOURCE=2"
        !          5485:                           LDFLAGS+=" -pie -fPIE -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack"
        !          5486: 
        !          5487: fi
        !          5488: 
        !          5489: # Check whether --enable-warnings was given.
        !          5490: if test "${enable_warnings+set}" = set; then :
        !          5491:   enableval=$enable_warnings;
        !          5492:                           CFLAGS+=" -Wall -Wpedantic -Wextra -Wformat -Wstack-protector -Wformat-security -Werror=format-security"
        !          5493: 
        !          5494: fi
        !          5495: 
        !          5496: 
1.1       misho    5497: ac_config_files="$ac_config_files Makefile"
                   5498: 
                   5499: ac_config_files="$ac_config_files src/Makefile"
                   5500: 
                   5501: ac_config_files="$ac_config_files doc/Makefile"
                   5502: 
                   5503: cat >confcache <<\_ACEOF
                   5504: # This file is a shell script that caches the results of configure
                   5505: # tests run on this system so they can be shared between configure
                   5506: # scripts and configure runs, see configure's option --config-cache.
                   5507: # It is not useful on other systems.  If it contains results you don't
                   5508: # want to keep, you may remove or edit it.
                   5509: #
                   5510: # config.status only pays attention to the cache file if you give it
                   5511: # the --recheck option to rerun configure.
                   5512: #
                   5513: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   5514: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   5515: # following values.
                   5516: 
                   5517: _ACEOF
                   5518: 
                   5519: # The following way of writing the cache mishandles newlines in values,
                   5520: # but we know of no workaround that is simple, portable, and efficient.
                   5521: # So, we kill variables containing newlines.
                   5522: # Ultrix sh set writes to stderr and can't be redirected directly,
                   5523: # and sets the high bit in the cache file unless we assign to the vars.
                   5524: (
                   5525:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   5526:     eval ac_val=\$$ac_var
                   5527:     case $ac_val in #(
                   5528:     *${as_nl}*)
                   5529:       case $ac_var in #(
1.1.1.2   misho    5530:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   5531: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    5532:       esac
                   5533:       case $ac_var in #(
                   5534:       _ | IFS | as_nl) ;; #(
1.1.1.2   misho    5535:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   5536:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    5537:       esac ;;
                   5538:     esac
                   5539:   done
                   5540: 
                   5541:   (set) 2>&1 |
                   5542:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   5543:     *${as_nl}ac_space=\ *)
1.1.1.2   misho    5544:       # `set' does not quote correctly, so add quotes: double-quote
                   5545:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       misho    5546:       sed -n \
                   5547:        "s/'/'\\\\''/g;
                   5548:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   5549:       ;; #(
                   5550:     *)
                   5551:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   5552:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   5553:       ;;
                   5554:     esac |
                   5555:     sort
                   5556: ) |
                   5557:   sed '
                   5558:      /^ac_cv_env_/b end
                   5559:      t clear
                   5560:      :clear
                   5561:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   5562:      t end
                   5563:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   5564:      :end' >>confcache
                   5565: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   5566:   if test -w "$cache_file"; then
1.1.1.2   misho    5567:     if test "x$cache_file" != "x/dev/null"; then
                   5568:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   5569: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   5570:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   5571:        cat confcache >"$cache_file"
                   5572:       else
                   5573:         case $cache_file in #(
                   5574:         */* | ?:*)
                   5575:          mv -f confcache "$cache_file"$$ &&
                   5576:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   5577:         *)
                   5578:          mv -f confcache "$cache_file" ;;
                   5579:        esac
                   5580:       fi
                   5581:     fi
1.1       misho    5582:   else
1.1.1.2   misho    5583:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   5584: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       misho    5585:   fi
                   5586: fi
                   5587: rm -f confcache
                   5588: 
                   5589: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   5590: # Let make expand exec_prefix.
                   5591: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   5592: 
                   5593: DEFS=-DHAVE_CONFIG_H
                   5594: 
                   5595: ac_libobjs=
                   5596: ac_ltlibobjs=
1.1.1.2   misho    5597: U=
1.1       misho    5598: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   5599:   # 1. Remove the extension, and $U if already installed.
                   5600:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.1.1.2   misho    5601:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       misho    5602:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   5603:   #    will be set to the directory where LIBOBJS objects are built.
1.1.1.2   misho    5604:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   5605:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       misho    5606: done
                   5607: LIBOBJS=$ac_libobjs
                   5608: 
                   5609: LTLIBOBJS=$ac_ltlibobjs
                   5610: 
                   5611: 
1.1.1.4 ! misho    5612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          5613: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          5614:    if test -n "$am_sleep_pid"; then
        !          5615:      # Hide warnings about reused PIDs.
        !          5616:      wait $am_sleep_pid 2>/dev/null
        !          5617:    fi
        !          5618:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          5619: $as_echo "done" >&6; }
1.1.1.2   misho    5620:  if test -n "$EXEEXT"; then
                   5621:   am__EXEEXT_TRUE=
                   5622:   am__EXEEXT_FALSE='#'
                   5623: else
                   5624:   am__EXEEXT_TRUE='#'
                   5625:   am__EXEEXT_FALSE=
                   5626: fi
                   5627: 
1.1       misho    5628: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
1.1.1.2   misho    5629:   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
                   5630: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       misho    5631: fi
                   5632: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
1.1.1.2   misho    5633:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   5634: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       misho    5635: fi
                   5636: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
1.1.1.2   misho    5637:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   5638: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   5639: fi
                   5640: if test -z "${HAVE_CLOCK_MONOTONIC_TRUE}" && test -z "${HAVE_CLOCK_MONOTONIC_FALSE}"; then
                   5641:   as_fn_error $? "conditional \"HAVE_CLOCK_MONOTONIC\" was never defined.
                   5642: Usually this means the macro was only invoked conditionally." "$LINENO" 5
1.1       misho    5643: fi
                   5644: 
1.1.1.2   misho    5645: : "${CONFIG_STATUS=./config.status}"
                   5646: ac_write_fail=0
1.1       misho    5647: ac_clean_files_save=$ac_clean_files
                   5648: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.2   misho    5649: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   5650: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   5651: as_write_fail=0
                   5652: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       misho    5653: #! $SHELL
                   5654: # Generated by $as_me.
                   5655: # Run this file to recreate the current configuration.
                   5656: # Compiler output produced by configure, useful for debugging
                   5657: # configure, is in config.log if it exists.
                   5658: 
                   5659: debug=false
                   5660: ac_cs_recheck=false
                   5661: ac_cs_silent=false
                   5662: 
1.1.1.2   misho    5663: SHELL=\${CONFIG_SHELL-$SHELL}
                   5664: export SHELL
                   5665: _ASEOF
                   5666: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   5667: ## -------------------- ##
                   5668: ## M4sh Initialization. ##
                   5669: ## -------------------- ##
1.1       misho    5670: 
                   5671: # Be more Bourne compatible
                   5672: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.2   misho    5673: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho    5674:   emulate sh
                   5675:   NULLCMD=:
1.1.1.2   misho    5676:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho    5677:   # is contrary to our usage.  Disable this feature.
                   5678:   alias -g '${1+"$@"}'='"$@"'
                   5679:   setopt NO_GLOB_SUBST
                   5680: else
1.1.1.2   misho    5681:   case `(set -o) 2>/dev/null` in #(
                   5682:   *posix*) :
                   5683:     set -o posix ;; #(
                   5684:   *) :
                   5685:      ;;
1.1       misho    5686: esac
                   5687: fi
                   5688: 
                   5689: 
1.1.1.2   misho    5690: as_nl='
                   5691: '
                   5692: export as_nl
                   5693: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   5694: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5695: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   5696: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   5697: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   5698: # but without wasting forks for bash or zsh.
                   5699: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   5700:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   5701:   as_echo='print -r --'
                   5702:   as_echo_n='print -rn --'
                   5703: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   5704:   as_echo='printf %s\n'
                   5705:   as_echo_n='printf %s'
                   5706: else
                   5707:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   5708:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   5709:     as_echo_n='/usr/ucb/echo -n'
1.1       misho    5710:   else
1.1.1.2   misho    5711:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   5712:     as_echo_n_body='eval
                   5713:       arg=$1;
                   5714:       case $arg in #(
                   5715:       *"$as_nl"*)
                   5716:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   5717:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   5718:       esac;
                   5719:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   5720:     '
                   5721:     export as_echo_n_body
                   5722:     as_echo_n='sh -c $as_echo_n_body as_echo'
1.1       misho    5723:   fi
1.1.1.2   misho    5724:   export as_echo_body
                   5725:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho    5726: fi
                   5727: 
1.1.1.2   misho    5728: # The user is always right.
                   5729: if test "${PATH_SEPARATOR+set}" != set; then
                   5730:   PATH_SEPARATOR=:
                   5731:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   5732:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   5733:       PATH_SEPARATOR=';'
                   5734:   }
1.1       misho    5735: fi
                   5736: 
                   5737: 
                   5738: # IFS
                   5739: # We need space, tab and new line, in precisely that order.  Quoting is
                   5740: # there to prevent editors from complaining about space-tab.
                   5741: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   5742: # splitting by setting IFS to empty value.)
                   5743: IFS=" ""       $as_nl"
                   5744: 
                   5745: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2   misho    5746: as_myself=
                   5747: case $0 in #((
1.1       misho    5748:   *[\\/]* ) as_myself=$0 ;;
                   5749:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5750: for as_dir in $PATH
                   5751: do
                   5752:   IFS=$as_save_IFS
                   5753:   test -z "$as_dir" && as_dir=.
1.1.1.2   misho    5754:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   5755:   done
1.1       misho    5756: IFS=$as_save_IFS
                   5757: 
                   5758:      ;;
                   5759: esac
                   5760: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   5761: # in which case we are not to be found in the path.
                   5762: if test "x$as_myself" = x; then
                   5763:   as_myself=$0
                   5764: fi
                   5765: if test ! -f "$as_myself"; then
1.1.1.2   misho    5766:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   5767:   exit 1
1.1       misho    5768: fi
                   5769: 
1.1.1.2   misho    5770: # Unset variables that we do not need and which cause bugs (e.g. in
                   5771: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   5772: # suppresses any "Segmentation fault" message there.  '((' could
                   5773: # trigger a bug in pdksh 5.2.14.
                   5774: for as_var in BASH_ENV ENV MAIL MAILPATH
                   5775: do eval test x\${$as_var+set} = xset \
                   5776:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho    5777: done
                   5778: PS1='$ '
                   5779: PS2='> '
                   5780: PS4='+ '
                   5781: 
1.1.1.2   misho    5782: # NLS nuisances.
                   5783: LC_ALL=C
                   5784: export LC_ALL
                   5785: LANGUAGE=C
                   5786: export LANGUAGE
                   5787: 
                   5788: # CDPATH.
                   5789: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   5790: 
                   5791: 
                   5792: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   5793: # ----------------------------------------
                   5794: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   5795: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   5796: # script with STATUS, using 1 if that was 0.
                   5797: as_fn_error ()
                   5798: {
                   5799:   as_status=$1; test $as_status -eq 0 && as_status=1
                   5800:   if test "$4"; then
                   5801:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   5802:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   5803:   fi
                   5804:   $as_echo "$as_me: error: $2" >&2
                   5805:   as_fn_exit $as_status
                   5806: } # as_fn_error
                   5807: 
                   5808: 
                   5809: # as_fn_set_status STATUS
                   5810: # -----------------------
                   5811: # Set $? to STATUS, without forking.
                   5812: as_fn_set_status ()
                   5813: {
                   5814:   return $1
                   5815: } # as_fn_set_status
                   5816: 
                   5817: # as_fn_exit STATUS
                   5818: # -----------------
                   5819: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   5820: as_fn_exit ()
                   5821: {
                   5822:   set +e
                   5823:   as_fn_set_status $1
                   5824:   exit $1
                   5825: } # as_fn_exit
                   5826: 
                   5827: # as_fn_unset VAR
                   5828: # ---------------
                   5829: # Portably unset VAR.
                   5830: as_fn_unset ()
                   5831: {
                   5832:   { eval $1=; unset $1;}
                   5833: }
                   5834: as_unset=as_fn_unset
                   5835: # as_fn_append VAR VALUE
                   5836: # ----------------------
                   5837: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   5838: # advantage of any shell optimizations that allow amortized linear growth over
                   5839: # repeated appends, instead of the typical quadratic growth present in naive
                   5840: # implementations.
                   5841: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   5842:   eval 'as_fn_append ()
                   5843:   {
                   5844:     eval $1+=\$2
                   5845:   }'
                   5846: else
                   5847:   as_fn_append ()
                   5848:   {
                   5849:     eval $1=\$$1\$2
                   5850:   }
                   5851: fi # as_fn_append
                   5852: 
                   5853: # as_fn_arith ARG...
                   5854: # ------------------
                   5855: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   5856: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   5857: # must be portable across $(()) and expr.
                   5858: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   5859:   eval 'as_fn_arith ()
                   5860:   {
                   5861:     as_val=$(( $* ))
                   5862:   }'
                   5863: else
                   5864:   as_fn_arith ()
                   5865:   {
                   5866:     as_val=`expr "$@" || test $? -eq 1`
                   5867:   }
                   5868: fi # as_fn_arith
                   5869: 
1.1       misho    5870: 
                   5871: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   5872:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   5873:   as_expr=expr
                   5874: else
                   5875:   as_expr=false
                   5876: fi
                   5877: 
                   5878: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   5879:   as_basename=basename
                   5880: else
                   5881:   as_basename=false
                   5882: fi
                   5883: 
1.1.1.2   misho    5884: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   5885:   as_dirname=dirname
                   5886: else
                   5887:   as_dirname=false
                   5888: fi
1.1       misho    5889: 
                   5890: as_me=`$as_basename -- "$0" ||
                   5891: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   5892:         X"$0" : 'X\(//\)$' \| \
                   5893:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.2   misho    5894: $as_echo X/"$0" |
1.1       misho    5895:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   5896:            s//\1/
                   5897:            q
                   5898:          }
                   5899:          /^X\/\(\/\/\)$/{
                   5900:            s//\1/
                   5901:            q
                   5902:          }
                   5903:          /^X\/\(\/\).*/{
                   5904:            s//\1/
                   5905:            q
                   5906:          }
                   5907:          s/.*/./; q'`
                   5908: 
1.1.1.2   misho    5909: # Avoid depending upon Character Ranges.
                   5910: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   5911: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   5912: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   5913: as_cr_digits='0123456789'
                   5914: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho    5915: 
                   5916: ECHO_C= ECHO_N= ECHO_T=
1.1.1.2   misho    5917: case `echo -n x` in #(((((
1.1       misho    5918: -n*)
1.1.1.2   misho    5919:   case `echo 'xy\c'` in
1.1       misho    5920:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.1.1.2   misho    5921:   xy)  ECHO_C='\c';;
                   5922:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   5923:        ECHO_T='        ';;
1.1       misho    5924:   esac;;
                   5925: *)
                   5926:   ECHO_N='-n';;
                   5927: esac
                   5928: 
                   5929: rm -f conf$$ conf$$.exe conf$$.file
                   5930: if test -d conf$$.dir; then
                   5931:   rm -f conf$$.dir/conf$$.file
                   5932: else
                   5933:   rm -f conf$$.dir
1.1.1.2   misho    5934:   mkdir conf$$.dir 2>/dev/null
1.1       misho    5935: fi
1.1.1.2   misho    5936: if (echo >conf$$.file) 2>/dev/null; then
                   5937:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   5938:     as_ln_s='ln -s'
                   5939:     # ... but there are two gotchas:
                   5940:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   5941:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   5942:     # In both cases, we have to default to `cp -pR'.
                   5943:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   5944:       as_ln_s='cp -pR'
                   5945:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   5946:     as_ln_s=ln
                   5947:   else
                   5948:     as_ln_s='cp -pR'
                   5949:   fi
1.1       misho    5950: else
1.1.1.2   misho    5951:   as_ln_s='cp -pR'
1.1       misho    5952: fi
                   5953: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   5954: rmdir conf$$.dir 2>/dev/null
                   5955: 
1.1.1.2   misho    5956: 
                   5957: # as_fn_mkdir_p
                   5958: # -------------
                   5959: # Create "$as_dir" as a directory, including parents if necessary.
                   5960: as_fn_mkdir_p ()
                   5961: {
                   5962: 
                   5963:   case $as_dir in #(
                   5964:   -*) as_dir=./$as_dir;;
                   5965:   esac
                   5966:   test -d "$as_dir" || eval $as_mkdir_p || {
                   5967:     as_dirs=
                   5968:     while :; do
                   5969:       case $as_dir in #(
                   5970:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   5971:       *) as_qdir=$as_dir;;
                   5972:       esac
                   5973:       as_dirs="'$as_qdir' $as_dirs"
                   5974:       as_dir=`$as_dirname -- "$as_dir" ||
                   5975: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5976:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   5977:         X"$as_dir" : 'X\(//\)$' \| \
                   5978:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   5979: $as_echo X"$as_dir" |
                   5980:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   5981:            s//\1/
                   5982:            q
                   5983:          }
                   5984:          /^X\(\/\/\)[^/].*/{
                   5985:            s//\1/
                   5986:            q
                   5987:          }
                   5988:          /^X\(\/\/\)$/{
                   5989:            s//\1/
                   5990:            q
                   5991:          }
                   5992:          /^X\(\/\).*/{
                   5993:            s//\1/
                   5994:            q
                   5995:          }
                   5996:          s/.*/./; q'`
                   5997:       test -d "$as_dir" && break
                   5998:     done
                   5999:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   6000:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   6001: 
                   6002: 
                   6003: } # as_fn_mkdir_p
1.1       misho    6004: if mkdir -p . 2>/dev/null; then
1.1.1.2   misho    6005:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho    6006: else
                   6007:   test -d ./-p && rmdir ./-p
                   6008:   as_mkdir_p=false
                   6009: fi
                   6010: 
1.1.1.2   misho    6011: 
                   6012: # as_fn_executable_p FILE
                   6013: # -----------------------
                   6014: # Test if FILE is an executable regular file.
                   6015: as_fn_executable_p ()
                   6016: {
                   6017:   test -f "$1" && test -x "$1"
                   6018: } # as_fn_executable_p
                   6019: as_test_x='test -x'
                   6020: as_executable_p=as_fn_executable_p
1.1       misho    6021: 
                   6022: # Sed expression to map a string onto a valid CPP name.
                   6023: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   6024: 
                   6025: # Sed expression to map a string onto a valid variable name.
                   6026: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   6027: 
                   6028: 
                   6029: exec 6>&1
1.1.1.2   misho    6030: ## ----------------------------------- ##
                   6031: ## Main body of $CONFIG_STATUS script. ##
                   6032: ## ----------------------------------- ##
                   6033: _ASEOF
                   6034: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misho    6035: 
1.1.1.2   misho    6036: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6037: # Save the log message, to keep $0 and so on meaningful, and to
1.1       misho    6038: # report actual input values of CONFIG_FILES etc. instead of their
                   6039: # values after options handling.
                   6040: ac_log="
1.1.1.4 ! misho    6041: This file was extended by arping $as_me 2.21, which was
1.1.1.2   misho    6042: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    6043: 
                   6044:   CONFIG_FILES    = $CONFIG_FILES
                   6045:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   6046:   CONFIG_LINKS    = $CONFIG_LINKS
                   6047:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   6048:   $ $0 $@
                   6049: 
                   6050: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   6051: "
                   6052: 
                   6053: _ACEOF
                   6054: 
1.1.1.2   misho    6055: case $ac_config_files in *"
                   6056: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   6057: esac
                   6058: 
                   6059: case $ac_config_headers in *"
                   6060: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   6061: esac
                   6062: 
                   6063: 
                   6064: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    6065: # Files that config.status was made for.
                   6066: config_files="$ac_config_files"
                   6067: config_headers="$ac_config_headers"
                   6068: config_commands="$ac_config_commands"
                   6069: 
                   6070: _ACEOF
                   6071: 
1.1.1.2   misho    6072: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6073: ac_cs_usage="\
1.1.1.2   misho    6074: \`$as_me' instantiates files and other configuration actions
                   6075: from templates according to the current configuration.  Unless the files
                   6076: and actions are specified as TAGs, all are instantiated by default.
1.1       misho    6077: 
1.1.1.2   misho    6078: Usage: $0 [OPTION]... [TAG]...
1.1       misho    6079: 
                   6080:   -h, --help       print this help, then exit
                   6081:   -V, --version    print version number and configuration settings, then exit
1.1.1.2   misho    6082:       --config     print configuration, then exit
                   6083:   -q, --quiet, --silent
                   6084:                    do not print progress messages
1.1       misho    6085:   -d, --debug      don't remove temporary files
                   6086:       --recheck    update $as_me by reconfiguring in the same conditions
1.1.1.2   misho    6087:       --file=FILE[:TEMPLATE]
                   6088:                    instantiate the configuration file FILE
                   6089:       --header=FILE[:TEMPLATE]
                   6090:                    instantiate the configuration header FILE
1.1       misho    6091: 
                   6092: Configuration files:
                   6093: $config_files
                   6094: 
                   6095: Configuration headers:
                   6096: $config_headers
                   6097: 
                   6098: Configuration commands:
                   6099: $config_commands
                   6100: 
1.1.1.2   misho    6101: Report bugs to <thomas@habets.se>."
1.1       misho    6102: 
                   6103: _ACEOF
1.1.1.2   misho    6104: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6105: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       misho    6106: ac_cs_version="\\
1.1.1.4 ! misho    6107: arping config.status 2.21
1.1.1.2   misho    6108: configured by $0, generated by GNU Autoconf 2.69,
                   6109:   with options \\"\$ac_cs_config\\"
1.1       misho    6110: 
1.1.1.2   misho    6111: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    6112: This config.status script is free software; the Free Software Foundation
                   6113: gives unlimited permission to copy, distribute and modify it."
                   6114: 
                   6115: ac_pwd='$ac_pwd'
                   6116: srcdir='$srcdir'
                   6117: INSTALL='$INSTALL'
                   6118: MKDIR_P='$MKDIR_P'
1.1.1.2   misho    6119: AWK='$AWK'
                   6120: test -n "\$AWK" || AWK=awk
1.1       misho    6121: _ACEOF
                   6122: 
1.1.1.2   misho    6123: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6124: # The default lists apply if the user does not specify any file.
1.1       misho    6125: ac_need_defaults=:
                   6126: while test $# != 0
                   6127: do
                   6128:   case $1 in
1.1.1.2   misho    6129:   --*=?*)
1.1       misho    6130:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6131:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   6132:     ac_shift=:
                   6133:     ;;
1.1.1.2   misho    6134:   --*=)
                   6135:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   6136:     ac_optarg=
                   6137:     ac_shift=:
                   6138:     ;;
1.1       misho    6139:   *)
                   6140:     ac_option=$1
                   6141:     ac_optarg=$2
                   6142:     ac_shift=shift
                   6143:     ;;
                   6144:   esac
                   6145: 
                   6146:   case $ac_option in
                   6147:   # Handling of the options.
                   6148:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   6149:     ac_cs_recheck=: ;;
                   6150:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.1.1.2   misho    6151:     $as_echo "$ac_cs_version"; exit ;;
                   6152:   --config | --confi | --conf | --con | --co | --c )
                   6153:     $as_echo "$ac_cs_config"; exit ;;
1.1       misho    6154:   --debug | --debu | --deb | --de | --d | -d )
                   6155:     debug=: ;;
                   6156:   --file | --fil | --fi | --f )
                   6157:     $ac_shift
1.1.1.2   misho    6158:     case $ac_optarg in
                   6159:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   6160:     '') as_fn_error $? "missing file argument" ;;
                   6161:     esac
                   6162:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       misho    6163:     ac_need_defaults=false;;
                   6164:   --header | --heade | --head | --hea )
                   6165:     $ac_shift
1.1.1.2   misho    6166:     case $ac_optarg in
                   6167:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   6168:     esac
                   6169:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       misho    6170:     ac_need_defaults=false;;
                   6171:   --he | --h)
                   6172:     # Conflict between --help and --header
1.1.1.2   misho    6173:     as_fn_error $? "ambiguous option: \`$1'
                   6174: Try \`$0 --help' for more information.";;
1.1       misho    6175:   --help | --hel | -h )
1.1.1.2   misho    6176:     $as_echo "$ac_cs_usage"; exit ;;
1.1       misho    6177:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   6178:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   6179:     ac_cs_silent=: ;;
                   6180: 
                   6181:   # This is an error.
1.1.1.2   misho    6182:   -*) as_fn_error $? "unrecognized option: \`$1'
                   6183: Try \`$0 --help' for more information." ;;
1.1       misho    6184: 
1.1.1.2   misho    6185:   *) as_fn_append ac_config_targets " $1"
1.1       misho    6186:      ac_need_defaults=false ;;
                   6187: 
                   6188:   esac
                   6189:   shift
                   6190: done
                   6191: 
                   6192: ac_configure_extra_args=
                   6193: 
                   6194: if $ac_cs_silent; then
                   6195:   exec 6>/dev/null
                   6196:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   6197: fi
                   6198: 
                   6199: _ACEOF
1.1.1.2   misho    6200: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    6201: if \$ac_cs_recheck; then
1.1.1.2   misho    6202:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   6203:   shift
                   6204:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   6205:   CONFIG_SHELL='$SHELL'
1.1       misho    6206:   export CONFIG_SHELL
1.1.1.2   misho    6207:   exec "\$@"
1.1       misho    6208: fi
                   6209: 
                   6210: _ACEOF
1.1.1.2   misho    6211: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6212: exec 5>>config.log
                   6213: {
                   6214:   echo
                   6215:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   6216: ## Running $as_me. ##
                   6217: _ASBOX
1.1.1.2   misho    6218:   $as_echo "$ac_log"
1.1       misho    6219: } >&5
                   6220: 
                   6221: _ACEOF
1.1.1.2   misho    6222: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    6223: #
                   6224: # INIT-COMMANDS
                   6225: #
1.1.1.4 ! misho    6226: AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1.1       misho    6227: 
                   6228: _ACEOF
                   6229: 
1.1.1.2   misho    6230: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6231: 
                   6232: # Handling of arguments.
                   6233: for ac_config_target in $ac_config_targets
                   6234: do
                   6235:   case $ac_config_target in
                   6236:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   6237:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   6238:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   6239:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   6240:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   6241: 
1.1.1.2   misho    6242:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    6243:   esac
                   6244: done
                   6245: 
                   6246: 
                   6247: # If the user did not use the arguments to specify the items to instantiate,
                   6248: # then the envvar interface is used.  Set only those that are not.
                   6249: # We use the long form for the default assignment because of an extremely
                   6250: # bizarre bug on SunOS 4.1.3.
                   6251: if $ac_need_defaults; then
                   6252:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   6253:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   6254:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   6255: fi
                   6256: 
                   6257: # Have a temporary directory for convenience.  Make it in the build tree
                   6258: # simply because there is no reason against having it here, and in addition,
                   6259: # creating and moving files from /tmp can sometimes cause problems.
                   6260: # Hook for its removal unless debugging.
                   6261: # Note that there is a small window in which the directory will not be cleaned:
                   6262: # after its creation but before its name has been assigned to `$tmp'.
                   6263: $debug ||
                   6264: {
1.1.1.2   misho    6265:   tmp= ac_tmp=
1.1       misho    6266:   trap 'exit_status=$?
1.1.1.2   misho    6267:   : "${ac_tmp:=$tmp}"
                   6268:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    6269: ' 0
1.1.1.2   misho    6270:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    6271: }
                   6272: # Create a (secure) tmp directory for tmp files.
                   6273: 
                   6274: {
                   6275:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.2   misho    6276:   test -d "$tmp"
1.1       misho    6277: }  ||
                   6278: {
                   6279:   tmp=./conf$$-$RANDOM
                   6280:   (umask 077 && mkdir "$tmp")
1.1.1.2   misho    6281: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   6282: ac_tmp=$tmp
1.1       misho    6283: 
1.1.1.2   misho    6284: # Set up the scripts for CONFIG_FILES section.
                   6285: # No need to generate them if there are no CONFIG_FILES.
                   6286: # This happens for instance with `./config.status config.h'.
1.1       misho    6287: if test -n "$CONFIG_FILES"; then
                   6288: 
                   6289: 
1.1.1.2   misho    6290: ac_cr=`echo X | tr X '\015'`
                   6291: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   6292: # But we know of no other shell where ac_cr would be empty at this
                   6293: # point, so we can use a bashism as a fallback.
                   6294: if test "x$ac_cr" = x; then
                   6295:   eval ac_cr=\$\'\\r\'
                   6296: fi
                   6297: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   6298: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   6299:   ac_cs_awk_cr='\\r'
                   6300: else
                   6301:   ac_cs_awk_cr=$ac_cr
                   6302: fi
                   6303: 
                   6304: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   6305: _ACEOF
1.1       misho    6306: 
                   6307: 
1.1.1.2   misho    6308: {
                   6309:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   6310:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   6311:   echo "_ACEOF"
                   6312: } >conf$$subs.sh ||
                   6313:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   6314: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    6315: ac_delim='%!_!# '
                   6316: for ac_last_try in false false false false false :; do
1.1.1.2   misho    6317:   . ./conf$$subs.sh ||
                   6318:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    6319: 
1.1.1.2   misho    6320:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   6321:   if test $ac_delim_n = $ac_delim_num; then
1.1       misho    6322:     break
                   6323:   elif $ac_last_try; then
1.1.1.2   misho    6324:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    6325:   else
                   6326:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   6327:   fi
                   6328: done
1.1.1.2   misho    6329: rm -f conf$$subs.sh
1.1       misho    6330: 
1.1.1.2   misho    6331: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6332: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    6333: _ACEOF
1.1.1.2   misho    6334: sed -n '
                   6335: h
                   6336: s/^/S["/; s/!.*/"]=/
                   6337: p
                   6338: g
                   6339: s/^[^!]*!//
                   6340: :repl
                   6341: t repl
                   6342: s/'"$ac_delim"'$//
                   6343: t delim
                   6344: :nl
                   6345: h
                   6346: s/\(.\{148\}\)..*/\1/
                   6347: t more1
                   6348: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   6349: p
                   6350: n
                   6351: b repl
                   6352: :more1
                   6353: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   6354: p
                   6355: g
                   6356: s/.\{148\}//
                   6357: t nl
                   6358: :delim
                   6359: h
                   6360: s/\(.\{148\}\)..*/\1/
                   6361: t more2
                   6362: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   6363: p
                   6364: b
                   6365: :more2
                   6366: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   6367: p
                   6368: g
                   6369: s/.\{148\}//
                   6370: t delim
                   6371: ' <conf$$subs.awk | sed '
                   6372: /^[^""]/{
                   6373:   N
                   6374:   s/\n//
                   6375: }
                   6376: ' >>$CONFIG_STATUS || ac_write_fail=1
                   6377: rm -f conf$$subs.awk
                   6378: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6379: _ACAWK
                   6380: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   6381:   for (key in S) S_is_set[key] = 1
                   6382:   FS = ""
                   6383: 
                   6384: }
                   6385: {
                   6386:   line = $ 0
                   6387:   nfields = split(line, field, "@")
                   6388:   substed = 0
                   6389:   len = length(field[1])
                   6390:   for (i = 2; i < nfields; i++) {
                   6391:     key = field[i]
                   6392:     keylen = length(key)
                   6393:     if (S_is_set[key]) {
                   6394:       value = S[key]
                   6395:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   6396:       len += length(value) + length(field[++i])
                   6397:       substed = 1
                   6398:     } else
                   6399:       len += 1 + keylen
                   6400:   }
1.1       misho    6401: 
1.1.1.2   misho    6402:   print line
                   6403: }
                   6404: 
                   6405: _ACAWK
                   6406: _ACEOF
                   6407: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6408: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   6409:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   6410: else
                   6411:   cat
                   6412: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   6413:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   6414: _ACEOF
1.1       misho    6415: 
1.1.1.2   misho    6416: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   6417: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    6418: # trailing colons and then remove the whole line if VPATH becomes empty
                   6419: # (actually we leave an empty line to preserve line numbers).
                   6420: if test "x$srcdir" = x.; then
1.1.1.2   misho    6421:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   6422: h
                   6423: s///
                   6424: s/^/:/
                   6425: s/[     ]*$/:/
                   6426: s/:\$(srcdir):/:/g
                   6427: s/:\${srcdir}:/:/g
                   6428: s/:@srcdir@:/:/g
                   6429: s/^:*//
1.1       misho    6430: s/:*$//
1.1.1.2   misho    6431: x
                   6432: s/\(=[  ]*\).*/\1/
                   6433: G
                   6434: s/\n//
1.1       misho    6435: s/^[^=]*=[      ]*$//
                   6436: }'
                   6437: fi
                   6438: 
1.1.1.2   misho    6439: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6440: fi # test -n "$CONFIG_FILES"
                   6441: 
1.1.1.2   misho    6442: # Set up the scripts for CONFIG_HEADERS section.
                   6443: # No need to generate them if there are no CONFIG_HEADERS.
                   6444: # This happens for instance with `./config.status Makefile'.
                   6445: if test -n "$CONFIG_HEADERS"; then
                   6446: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   6447: BEGIN {
                   6448: _ACEOF
                   6449: 
                   6450: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   6451: # here-document in config.status, that substitutes the proper values into
                   6452: # config.h.in to produce config.h.
                   6453: 
                   6454: # Create a delimiter string that does not exist in confdefs.h, to ease
                   6455: # handling of long lines.
                   6456: ac_delim='%!_!# '
                   6457: for ac_last_try in false false :; do
                   6458:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   6459:   if test -z "$ac_tt"; then
                   6460:     break
                   6461:   elif $ac_last_try; then
                   6462:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   6463:   else
                   6464:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   6465:   fi
                   6466: done
                   6467: 
                   6468: # For the awk script, D is an array of macro values keyed by name,
                   6469: # likewise P contains macro parameters if any.  Preserve backslash
                   6470: # newline sequences.
                   6471: 
                   6472: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   6473: sed -n '
                   6474: s/.\{148\}/&'"$ac_delim"'/g
                   6475: t rset
                   6476: :rset
                   6477: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   6478: t def
                   6479: d
                   6480: :def
                   6481: s/\\$//
                   6482: t bsnl
                   6483: s/["\\]/\\&/g
                   6484: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   6485: D["\1"]=" \3"/p
                   6486: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   6487: d
                   6488: :bsnl
                   6489: s/["\\]/\\&/g
                   6490: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   6491: D["\1"]=" \3\\\\\\n"\\/p
                   6492: t cont
                   6493: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   6494: t cont
                   6495: d
                   6496: :cont
                   6497: n
                   6498: s/.\{148\}/&'"$ac_delim"'/g
                   6499: t clear
                   6500: :clear
                   6501: s/\\$//
                   6502: t bsnlc
                   6503: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   6504: d
                   6505: :bsnlc
                   6506: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   6507: b cont
                   6508: ' <confdefs.h | sed '
                   6509: s/'"$ac_delim"'/"\\\
                   6510: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   6511: 
                   6512: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6513:   for (key in D) D_is_set[key] = 1
                   6514:   FS = ""
                   6515: }
                   6516: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   6517:   line = \$ 0
                   6518:   split(line, arg, " ")
                   6519:   if (arg[1] == "#") {
                   6520:     defundef = arg[2]
                   6521:     mac1 = arg[3]
                   6522:   } else {
                   6523:     defundef = substr(arg[1], 2)
                   6524:     mac1 = arg[2]
                   6525:   }
                   6526:   split(mac1, mac2, "(") #)
                   6527:   macro = mac2[1]
                   6528:   prefix = substr(line, 1, index(line, defundef) - 1)
                   6529:   if (D_is_set[macro]) {
                   6530:     # Preserve the white space surrounding the "#".
                   6531:     print prefix "define", macro P[macro] D[macro]
                   6532:     next
                   6533:   } else {
                   6534:     # Replace #undef with comments.  This is necessary, for example,
                   6535:     # in the case of _POSIX_SOURCE, which is predefined and required
                   6536:     # on some systems where configure will not decide to define it.
                   6537:     if (defundef == "undef") {
                   6538:       print "/*", prefix defundef, macro, "*/"
                   6539:       next
                   6540:     }
                   6541:   }
                   6542: }
                   6543: { print }
                   6544: _ACAWK
                   6545: _ACEOF
                   6546: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   6547:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   6548: fi # test -n "$CONFIG_HEADERS"
                   6549: 
1.1       misho    6550: 
1.1.1.2   misho    6551: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   6552: shift
                   6553: for ac_tag
1.1       misho    6554: do
                   6555:   case $ac_tag in
                   6556:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   6557:   esac
                   6558:   case $ac_mode$ac_tag in
                   6559:   :[FHL]*:*);;
1.1.1.2   misho    6560:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    6561:   :[FH]-) ac_tag=-:-;;
                   6562:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   6563:   esac
                   6564:   ac_save_IFS=$IFS
                   6565:   IFS=:
                   6566:   set x $ac_tag
                   6567:   IFS=$ac_save_IFS
                   6568:   shift
                   6569:   ac_file=$1
                   6570:   shift
                   6571: 
                   6572:   case $ac_mode in
                   6573:   :L) ac_source=$1;;
                   6574:   :[FH])
                   6575:     ac_file_inputs=
                   6576:     for ac_f
                   6577:     do
                   6578:       case $ac_f in
1.1.1.2   misho    6579:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    6580:       *) # Look for the file first in the build tree, then in the source tree
                   6581:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   6582:         # because $ac_f cannot contain `:'.
                   6583:         test -f "$ac_f" ||
                   6584:           case $ac_f in
                   6585:           [\\/$]*) false;;
                   6586:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   6587:           esac ||
1.1.1.2   misho    6588:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    6589:       esac
1.1.1.2   misho    6590:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   6591:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       misho    6592:     done
                   6593: 
                   6594:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   6595:     # use $as_me), people would be surprised to read:
                   6596:     #    /* config.h.  Generated by config.status.  */
1.1.1.2   misho    6597:     configure_input='Generated from '`
                   6598:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   6599:        `' by configure.'
1.1       misho    6600:     if test x"$ac_file" != x-; then
                   6601:       configure_input="$ac_file.  $configure_input"
1.1.1.2   misho    6602:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   6603: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       misho    6604:     fi
1.1.1.2   misho    6605:     # Neutralize special characters interpreted by sed in replacement strings.
                   6606:     case $configure_input in #(
                   6607:     *\&* | *\|* | *\\* )
                   6608:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   6609:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   6610:     *) ac_sed_conf_input=$configure_input;;
                   6611:     esac
1.1       misho    6612: 
                   6613:     case $ac_tag in
1.1.1.2   misho    6614:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   6615:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    6616:     esac
                   6617:     ;;
                   6618:   esac
                   6619: 
                   6620:   ac_dir=`$as_dirname -- "$ac_file" ||
                   6621: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6622:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   6623:         X"$ac_file" : 'X\(//\)$' \| \
                   6624:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.2   misho    6625: $as_echo X"$ac_file" |
1.1       misho    6626:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6627:            s//\1/
                   6628:            q
                   6629:          }
                   6630:          /^X\(\/\/\)[^/].*/{
                   6631:            s//\1/
                   6632:            q
                   6633:          }
                   6634:          /^X\(\/\/\)$/{
                   6635:            s//\1/
                   6636:            q
                   6637:          }
                   6638:          /^X\(\/\).*/{
                   6639:            s//\1/
                   6640:            q
                   6641:          }
                   6642:          s/.*/./; q'`
1.1.1.2   misho    6643:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misho    6644:   ac_builddir=.
                   6645: 
                   6646: case "$ac_dir" in
                   6647: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   6648: *)
1.1.1.2   misho    6649:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       misho    6650:   # A ".." for each directory in $ac_dir_suffix.
1.1.1.2   misho    6651:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       misho    6652:   case $ac_top_builddir_sub in
                   6653:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   6654:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   6655:   esac ;;
                   6656: esac
                   6657: ac_abs_top_builddir=$ac_pwd
                   6658: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   6659: # for backward compatibility:
                   6660: ac_top_builddir=$ac_top_build_prefix
                   6661: 
                   6662: case $srcdir in
                   6663:   .)  # We are building in place.
                   6664:     ac_srcdir=.
                   6665:     ac_top_srcdir=$ac_top_builddir_sub
                   6666:     ac_abs_top_srcdir=$ac_pwd ;;
                   6667:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   6668:     ac_srcdir=$srcdir$ac_dir_suffix;
                   6669:     ac_top_srcdir=$srcdir
                   6670:     ac_abs_top_srcdir=$srcdir ;;
                   6671:   *) # Relative name.
                   6672:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   6673:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   6674:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   6675: esac
                   6676: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   6677: 
                   6678: 
                   6679:   case $ac_mode in
                   6680:   :F)
                   6681:   #
                   6682:   # CONFIG_FILE
                   6683:   #
                   6684: 
                   6685:   case $INSTALL in
                   6686:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   6687:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   6688:   esac
                   6689:   ac_MKDIR_P=$MKDIR_P
                   6690:   case $MKDIR_P in
                   6691:   [\\/$]* | ?:[\\/]* ) ;;
                   6692:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   6693:   esac
                   6694: _ACEOF
                   6695: 
1.1.1.2   misho    6696: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6697: # If the template does not know about datarootdir, expand it.
                   6698: # FIXME: This hack should be removed a few years after 2.60.
                   6699: ac_datarootdir_hack=; ac_datarootdir_seen=
1.1.1.2   misho    6700: ac_sed_dataroot='
                   6701: /datarootdir/ {
1.1       misho    6702:   p
                   6703:   q
                   6704: }
                   6705: /@datadir@/p
                   6706: /@docdir@/p
                   6707: /@infodir@/p
                   6708: /@localedir@/p
1.1.1.2   misho    6709: /@mandir@/p'
                   6710: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       misho    6711: *datarootdir*) ac_datarootdir_seen=yes;;
                   6712: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.2   misho    6713:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   6714: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       misho    6715: _ACEOF
1.1.1.2   misho    6716: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    6717:   ac_datarootdir_hack='
                   6718:   s&@datadir@&$datadir&g
                   6719:   s&@docdir@&$docdir&g
                   6720:   s&@infodir@&$infodir&g
                   6721:   s&@localedir@&$localedir&g
                   6722:   s&@mandir@&$mandir&g
1.1.1.2   misho    6723:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       misho    6724: esac
                   6725: _ACEOF
                   6726: 
                   6727: # Neutralize VPATH when `$srcdir' = `.'.
                   6728: # Shell code in configure.ac might set extrasub.
                   6729: # FIXME: do we really want to maintain this feature?
1.1.1.2   misho    6730: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   6731: ac_sed_extra="$ac_vpsub
1.1       misho    6732: $extrasub
                   6733: _ACEOF
1.1.1.2   misho    6734: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    6735: :t
                   6736: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.1.1.2   misho    6737: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       misho    6738: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.1.1.2   misho    6739: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       misho    6740: s&@srcdir@&$ac_srcdir&;t t
                   6741: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   6742: s&@top_srcdir@&$ac_top_srcdir&;t t
                   6743: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   6744: s&@builddir@&$ac_builddir&;t t
                   6745: s&@abs_builddir@&$ac_abs_builddir&;t t
                   6746: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   6747: s&@INSTALL@&$ac_INSTALL&;t t
                   6748: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   6749: $ac_datarootdir_hack
1.1.1.2   misho    6750: "
                   6751: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   6752:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    6753: 
                   6754: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.1.2   misho    6755:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   6756:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   6757:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   6758:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   6759: which seems to be undefined.  Please make sure it is defined" >&5
                   6760: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   6761: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    6762: 
1.1.1.2   misho    6763:   rm -f "$ac_tmp/stdin"
1.1       misho    6764:   case $ac_file in
1.1.1.2   misho    6765:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   6766:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   6767:   esac \
                   6768:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    6769:  ;;
                   6770:   :H)
                   6771:   #
                   6772:   # CONFIG_HEADER
                   6773:   #
                   6774:   if test x"$ac_file" != x-; then
1.1.1.2   misho    6775:     {
                   6776:       $as_echo "/* $configure_input  */" \
                   6777:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   6778:     } >"$ac_tmp/config.h" \
                   6779:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   6780:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   6781:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   6782: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       misho    6783:     else
1.1.1.2   misho    6784:       rm -f "$ac_file"
                   6785:       mv "$ac_tmp/config.h" "$ac_file" \
                   6786:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    6787:     fi
                   6788:   else
1.1.1.2   misho    6789:     $as_echo "/* $configure_input  */" \
                   6790:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   6791:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    6792:   fi
1.1.1.2   misho    6793: # Compute "$ac_file"'s index in $config_headers.
                   6794: _am_arg="$ac_file"
1.1       misho    6795: _am_stamp_count=1
                   6796: for _am_header in $config_headers :; do
                   6797:   case $_am_header in
                   6798:     $_am_arg | $_am_arg:* )
                   6799:       break ;;
                   6800:     * )
                   6801:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   6802:   esac
                   6803: done
                   6804: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   6805: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   6806:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   6807:         X"$_am_arg" : 'X\(//\)$' \| \
                   6808:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1.1.1.2   misho    6809: $as_echo X"$_am_arg" |
1.1       misho    6810:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6811:            s//\1/
                   6812:            q
                   6813:          }
                   6814:          /^X\(\/\/\)[^/].*/{
                   6815:            s//\1/
                   6816:            q
                   6817:          }
                   6818:          /^X\(\/\/\)$/{
                   6819:            s//\1/
                   6820:            q
                   6821:          }
                   6822:          /^X\(\/\).*/{
                   6823:            s//\1/
                   6824:            q
                   6825:          }
                   6826:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   6827:  ;;
                   6828: 
1.1.1.2   misho    6829:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   6830: $as_echo "$as_me: executing $ac_file commands" >&6;}
1.1       misho    6831:  ;;
                   6832:   esac
                   6833: 
                   6834: 
                   6835:   case $ac_file$ac_mode in
1.1.1.2   misho    6836:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.1.1.4 ! misho    6837:   # Older Autoconf quotes --file arguments for eval, but not when files
1.1.1.2   misho    6838:   # are listed without --file.  Let's play safe and only enable the eval
                   6839:   # if we detect the quoting.
1.1.1.4 ! misho    6840:   # TODO: see whether this extra hack can be removed once we start
        !          6841:   # requiring Autoconf 2.70 or later.
        !          6842:   case $CONFIG_FILES in #(
        !          6843:   *\'*) :
        !          6844:     eval set x "$CONFIG_FILES" ;; #(
        !          6845:   *) :
        !          6846:     set x $CONFIG_FILES ;; #(
        !          6847:   *) :
        !          6848:      ;;
        !          6849: esac
1.1.1.2   misho    6850:   shift
1.1.1.4 ! misho    6851:   # Used to flag and report bootstrapping failures.
        !          6852:   am_rc=0
        !          6853:   for am_mf
1.1.1.2   misho    6854:   do
                   6855:     # Strip MF so we end up with the name of the file.
1.1.1.4 ! misho    6856:     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
        !          6857:     # Check whether this is an Automake generated Makefile which includes
        !          6858:     # dependency-tracking related rules and includes.
        !          6859:     # Grep'ing the whole file directly is not great: AIX grep has a line
1.1.1.2   misho    6860:     # limit of 2048, but all sed's we know have understand at least 4000.
1.1.1.4 ! misho    6861:     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
        !          6862:       || continue
        !          6863:     am_dirpart=`$as_dirname -- "$am_mf" ||
        !          6864: $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          6865:         X"$am_mf" : 'X\(//\)[^/]' \| \
        !          6866:         X"$am_mf" : 'X\(//\)$' \| \
        !          6867:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          6868: $as_echo X"$am_mf" |
1.1       misho    6869:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   6870:            s//\1/
                   6871:            q
                   6872:          }
                   6873:          /^X\(\/\/\)[^/].*/{
                   6874:            s//\1/
                   6875:            q
                   6876:          }
                   6877:          /^X\(\/\/\)$/{
                   6878:            s//\1/
                   6879:            q
                   6880:          }
                   6881:          /^X\(\/\).*/{
                   6882:            s//\1/
                   6883:            q
                   6884:          }
                   6885:          s/.*/./; q'`
1.1.1.4 ! misho    6886:     am_filepart=`$as_basename -- "$am_mf" ||
        !          6887: $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
        !          6888:         X"$am_mf" : 'X\(//\)$' \| \
        !          6889:         X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
        !          6890: $as_echo X/"$am_mf" |
        !          6891:     sed '/^.*\/\([^/][^/]*\)\/*$/{
1.1       misho    6892:            s//\1/
                   6893:            q
                   6894:          }
1.1.1.4 ! misho    6895:          /^X\/\(\/\/\)$/{
1.1       misho    6896:            s//\1/
                   6897:            q
                   6898:          }
1.1.1.4 ! misho    6899:          /^X\/\(\/\).*/{
1.1       misho    6900:            s//\1/
                   6901:            q
                   6902:          }
                   6903:          s/.*/./; q'`
1.1.1.4 ! misho    6904:     { echo "$as_me:$LINENO: cd "$am_dirpart" \
        !          6905:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          6906:         | $MAKE -f - am--depfiles" >&5
        !          6907:    (cd "$am_dirpart" \
        !          6908:       && sed -e '/# am--include-marker/d' "$am_filepart" \
        !          6909:         | $MAKE -f - am--depfiles) >&5 2>&5
        !          6910:    ac_status=$?
        !          6911:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
        !          6912:    (exit $ac_status); } || am_rc=$?
1.1       misho    6913:   done
1.1.1.4 ! misho    6914:   if test $am_rc -ne 0; then
        !          6915:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          6916: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          6917: as_fn_error $? "Something went wrong bootstrapping makefile fragments
        !          6918:     for automatic dependency tracking.  Try re-running configure with the
        !          6919:     '--disable-dependency-tracking' option to at least be able to build
        !          6920:     the package (albeit without support for automatic dependency tracking).
        !          6921: See \`config.log' for more details" "$LINENO" 5; }
        !          6922:   fi
        !          6923:   { am_dirpart=; unset am_dirpart;}
        !          6924:   { am_filepart=; unset am_filepart;}
        !          6925:   { am_mf=; unset am_mf;}
        !          6926:   { am_rc=; unset am_rc;}
        !          6927:   rm -f conftest-deps.mk
1.1.1.2   misho    6928: }
1.1       misho    6929:  ;;
                   6930: 
                   6931:   esac
                   6932: done # for ac_tag
                   6933: 
                   6934: 
1.1.1.2   misho    6935: as_fn_exit 0
1.1       misho    6936: _ACEOF
                   6937: ac_clean_files=$ac_clean_files_save
                   6938: 
1.1.1.2   misho    6939: test $ac_write_fail = 0 ||
                   6940:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   6941: 
1.1       misho    6942: 
                   6943: # configure is writing to config.log, and then calls config.status.
                   6944: # config.status does its own redirection, appending to config.log.
                   6945: # Unfortunately, on DOS this fails, as config.log is still kept open
                   6946: # by configure, so config.status won't be able to write to it; its
                   6947: # output is simply discarded.  So we exec the FD to /dev/null,
                   6948: # effectively closing config.log, so it can be properly (re)opened and
                   6949: # appended to by config.status.  When coming back to configure, we
                   6950: # need to make the FD available again.
                   6951: if test "$no_create" != yes; then
                   6952:   ac_cs_success=:
                   6953:   ac_config_status_args=
                   6954:   test "$silent" = yes &&
                   6955:     ac_config_status_args="$ac_config_status_args --quiet"
                   6956:   exec 5>/dev/null
                   6957:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   6958:   exec 5>>config.log
                   6959:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   6960:   # would make configure fail if this is the last instruction.
1.1.1.2   misho    6961:   $ac_cs_success || as_fn_exit 1
                   6962: fi
                   6963: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   6964:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   6965: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    6966: fi
                   6967: 
                   6968: 
                   6969: echo "
                   6970:   $PACKAGE_NAME version $PACKAGE_VERSION
                   6971:   Prefix.........: $prefix
                   6972:   Debug Build....: $debug
                   6973:   C Compiler.....: $CC $CFLAGS $CPPFLAGS
                   6974:   Linker.........: $LD $LDFLAGS $LIBS
                   6975: "

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>