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

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