Annotation of embedaddon/arping/configure, revision 1.1.1.2

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

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