Annotation of embedaddon/mtr/configure, revision 1.1.1.3

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

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