Annotation of libaitrpc/configure, revision 1.33.2.1

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.33.2.1! misho       3: # Generated by GNU Autoconf 2.69 for libaitrpc 8.1.
1.1       misho       4: #
1.5       misho       5: # Report bugs to <misho@elwix.org>.
1.1       misho       6: #
1.7       misho       7: #
1.12      misho       8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.2       misho       9: #
1.7       misho      10: #
1.1       misho      11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.2       misho      13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.1       misho      16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.2       misho      19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.2       misho      27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.1       misho      32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.2       misho      43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1       misho      50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
1.2       misho      60:       case $arg in #(
1.1       misho      61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
1.7       misho      92: as_myself=
1.2       misho      93: case $0 in #((
1.1       misho      94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
1.2       misho     100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
1.1       misho     102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.2       misho     113:   exit 1
1.1       misho     114: fi
                    115: 
1.2       misho     116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho     123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
1.2       misho     135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misho     136: 
1.12      misho     137: # Use a proper internal environment variable to ensure we don't fall
                    138:   # into an infinite loop, continuously re-executing ourselves.
                    139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    140:     _as_can_reexec=no; export _as_can_reexec;
                    141:     # We cannot yet assume a decent shell, so we have to provide a
                    142: # neutralization value for shells without unset; and this also
                    143: # works around shells that cannot unset nonexistent variables.
                    144: # Preserve -v and -x to the replacement shell.
                    145: BASH_ENV=/dev/null
                    146: ENV=/dev/null
                    147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    148: case $- in # ((((
                    149:   *v*x* | *x*v* ) as_opts=-vx ;;
                    150:   *v* ) as_opts=-v ;;
                    151:   *x* ) as_opts=-x ;;
                    152:   * ) as_opts= ;;
                    153: esac
                    154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    155: # Admittedly, this is quite paranoid, since all the known shells bail
                    156: # out after a failed `exec'.
                    157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    158: as_fn_exit 255
                    159:   fi
                    160:   # We don't want this to propagate to other subprocesses.
                    161:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
1.2       misho     163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    164:   emulate sh
                    165:   NULLCMD=:
                    166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    167:   # is contrary to our usage.  Disable this feature.
                    168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    169:   setopt NO_GLOB_SUBST
1.1       misho     170: else
1.2       misho     171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
1.1       misho     177: fi
1.2       misho     178: "
                    179:   as_required="as_fn_return () { (exit \$1); }
                    180: as_fn_success () { as_fn_return 0; }
                    181: as_fn_failure () { as_fn_return 1; }
                    182: as_fn_ret_success () { return 0; }
                    183: as_fn_ret_failure () { return 1; }
1.1       misho     184: 
                    185: exitcode=0
1.2       misho     186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    191: 
                    192: else
                    193:   exitcode=1; echo positional parameters were not saved.
                    194: fi
1.12      misho     195: test x\$exitcode = x0 || exit 1
                    196: test -x / || exit 1"
1.2       misho     197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    201: test \$(( 1 + 1 )) = 2 || exit 1"
                    202:   if (eval "$as_required") 2>/dev/null; then :
                    203:   as_have_required=yes
1.1       misho     204: else
1.2       misho     205:   as_have_required=no
1.1       misho     206: fi
1.2       misho     207:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.1       misho     208: 
                    209: else
1.2       misho     210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    211: as_found=false
1.1       misho     212: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    213: do
                    214:   IFS=$as_save_IFS
                    215:   test -z "$as_dir" && as_dir=.
1.2       misho     216:   as_found=:
                    217:   case $as_dir in #(
1.1       misho     218:         /*)
                    219:           for as_base in sh bash ksh sh5; do
1.2       misho     220:             # Try only shells that exist, to save several forks.
                    221:             as_shell=$as_dir/$as_base
                    222:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    223:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    224:   CONFIG_SHELL=$as_shell as_have_required=yes
                    225:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    226:   break 2
                    227: fi
                    228: fi
1.1       misho     229:           done;;
                    230:        esac
1.2       misho     231:   as_found=false
1.1       misho     232: done
1.2       misho     233: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    234:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    235:   CONFIG_SHELL=$SHELL as_have_required=yes
                    236: fi; }
1.1       misho     237: IFS=$as_save_IFS
                    238: 
                    239: 
1.2       misho     240:       if test "x$CONFIG_SHELL" != x; then :
1.12      misho     241:   export CONFIG_SHELL
                    242:              # We cannot yet assume a decent shell, so we have to provide a
                    243: # neutralization value for shells without unset; and this also
                    244: # works around shells that cannot unset nonexistent variables.
                    245: # Preserve -v and -x to the replacement shell.
                    246: BASH_ENV=/dev/null
                    247: ENV=/dev/null
                    248: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    249: case $- in # ((((
                    250:   *v*x* | *x*v* ) as_opts=-vx ;;
                    251:   *v* ) as_opts=-v ;;
                    252:   *x* ) as_opts=-x ;;
                    253:   * ) as_opts= ;;
                    254: esac
                    255: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    256: # Admittedly, this is quite paranoid, since all the known shells bail
                    257: # out after a failed `exec'.
                    258: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    259: exit 255
1.2       misho     260: fi
1.1       misho     261: 
1.2       misho     262:     if test x$as_have_required = xno; then :
                    263:   $as_echo "$0: This script requires a shell more modern than all"
                    264:   $as_echo "$0: the shells that I found on your system."
                    265:   if test x${ZSH_VERSION+set} = xset ; then
                    266:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    267:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    268:   else
1.5       misho     269:     $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org
                    270: $0: about your system, including any error possibly output
                    271: $0: before this message. Then install a modern shell, or
                    272: $0: manually run the script under such a shell if you do
                    273: $0: have one."
1.2       misho     274:   fi
                    275:   exit 1
                    276: fi
1.1       misho     277: fi
                    278: fi
1.2       misho     279: SHELL=${CONFIG_SHELL-/bin/sh}
                    280: export SHELL
                    281: # Unset more variables known to interfere with behavior of common tools.
                    282: CLICOLOR_FORCE= GREP_OPTIONS=
                    283: unset CLICOLOR_FORCE GREP_OPTIONS
1.1       misho     284: 
1.2       misho     285: ## --------------------- ##
                    286: ## M4sh Shell Functions. ##
                    287: ## --------------------- ##
                    288: # as_fn_unset VAR
                    289: # ---------------
                    290: # Portably unset VAR.
                    291: as_fn_unset ()
                    292: {
                    293:   { eval $1=; unset $1;}
                    294: }
                    295: as_unset=as_fn_unset
                    296: 
                    297: # as_fn_set_status STATUS
                    298: # -----------------------
                    299: # Set $? to STATUS, without forking.
                    300: as_fn_set_status ()
                    301: {
                    302:   return $1
                    303: } # as_fn_set_status
                    304: 
                    305: # as_fn_exit STATUS
                    306: # -----------------
                    307: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    308: as_fn_exit ()
                    309: {
                    310:   set +e
                    311:   as_fn_set_status $1
                    312:   exit $1
                    313: } # as_fn_exit
                    314: 
                    315: # as_fn_mkdir_p
                    316: # -------------
                    317: # Create "$as_dir" as a directory, including parents if necessary.
                    318: as_fn_mkdir_p ()
                    319: {
1.1       misho     320: 
1.2       misho     321:   case $as_dir in #(
                    322:   -*) as_dir=./$as_dir;;
                    323:   esac
                    324:   test -d "$as_dir" || eval $as_mkdir_p || {
                    325:     as_dirs=
                    326:     while :; do
                    327:       case $as_dir in #(
                    328:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    329:       *) as_qdir=$as_dir;;
                    330:       esac
                    331:       as_dirs="'$as_qdir' $as_dirs"
                    332:       as_dir=`$as_dirname -- "$as_dir" ||
                    333: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    334:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    335:         X"$as_dir" : 'X\(//\)$' \| \
                    336:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    337: $as_echo X"$as_dir" |
                    338:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    339:            s//\1/
                    340:            q
                    341:          }
                    342:          /^X\(\/\/\)[^/].*/{
                    343:            s//\1/
                    344:            q
                    345:          }
                    346:          /^X\(\/\/\)$/{
                    347:            s//\1/
                    348:            q
                    349:          }
                    350:          /^X\(\/\).*/{
                    351:            s//\1/
                    352:            q
                    353:          }
                    354:          s/.*/./; q'`
                    355:       test -d "$as_dir" && break
                    356:     done
                    357:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.7       misho     358:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misho     359: 
                    360: 
1.2       misho     361: } # as_fn_mkdir_p
1.12      misho     362: 
                    363: # as_fn_executable_p FILE
                    364: # -----------------------
                    365: # Test if FILE is an executable regular file.
                    366: as_fn_executable_p ()
                    367: {
                    368:   test -f "$1" && test -x "$1"
                    369: } # as_fn_executable_p
1.2       misho     370: # as_fn_append VAR VALUE
                    371: # ----------------------
                    372: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    373: # advantage of any shell optimizations that allow amortized linear growth over
                    374: # repeated appends, instead of the typical quadratic growth present in naive
                    375: # implementations.
                    376: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    377:   eval 'as_fn_append ()
                    378:   {
                    379:     eval $1+=\$2
                    380:   }'
1.1       misho     381: else
1.2       misho     382:   as_fn_append ()
                    383:   {
                    384:     eval $1=\$$1\$2
                    385:   }
                    386: fi # as_fn_append
1.1       misho     387: 
1.2       misho     388: # as_fn_arith ARG...
                    389: # ------------------
                    390: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    391: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    392: # must be portable across $(()) and expr.
                    393: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    394:   eval 'as_fn_arith ()
                    395:   {
                    396:     as_val=$(( $* ))
                    397:   }'
1.1       misho     398: else
1.2       misho     399:   as_fn_arith ()
                    400:   {
                    401:     as_val=`expr "$@" || test $? -eq 1`
                    402:   }
                    403: fi # as_fn_arith
1.1       misho     404: 
                    405: 
1.7       misho     406: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    407: # ----------------------------------------
1.2       misho     408: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    409: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.7       misho     410: # script with STATUS, using 1 if that was 0.
1.2       misho     411: as_fn_error ()
                    412: {
1.7       misho     413:   as_status=$1; test $as_status -eq 0 && as_status=1
                    414:   if test "$4"; then
                    415:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    416:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.2       misho     417:   fi
1.7       misho     418:   $as_echo "$as_me: error: $2" >&2
1.2       misho     419:   as_fn_exit $as_status
                    420: } # as_fn_error
1.1       misho     421: 
1.2       misho     422: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    423:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    424:   as_expr=expr
1.1       misho     425: else
1.2       misho     426:   as_expr=false
1.1       misho     427: fi
                    428: 
1.2       misho     429: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    430:   as_basename=basename
1.1       misho     431: else
1.2       misho     432:   as_basename=false
1.1       misho     433: fi
                    434: 
1.2       misho     435: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    436:   as_dirname=dirname
1.1       misho     437: else
1.2       misho     438:   as_dirname=false
1.1       misho     439: fi
                    440: 
1.2       misho     441: as_me=`$as_basename -- "$0" ||
                    442: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    443:         X"$0" : 'X\(//\)$' \| \
                    444:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    445: $as_echo X/"$0" |
                    446:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    447:            s//\1/
                    448:            q
                    449:          }
                    450:          /^X\/\(\/\/\)$/{
                    451:            s//\1/
                    452:            q
                    453:          }
                    454:          /^X\/\(\/\).*/{
                    455:            s//\1/
                    456:            q
                    457:          }
                    458:          s/.*/./; q'`
1.1       misho     459: 
1.2       misho     460: # Avoid depending upon Character Ranges.
                    461: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    462: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    463: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    464: as_cr_digits='0123456789'
                    465: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho     466: 
                    467: 
1.2       misho     468:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    469:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    470:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    471:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    472:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1       misho     473:   sed -n '
                    474:     p
                    475:     /[$]LINENO/=
                    476:   ' <$as_myself |
                    477:     sed '
                    478:       s/[$]LINENO.*/&-/
                    479:       t lineno
                    480:       b
                    481:       :lineno
                    482:       N
                    483:       :loop
                    484:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    485:       t loop
                    486:       s/-\n.*//
                    487:     ' >$as_me.lineno &&
                    488:   chmod +x "$as_me.lineno" ||
1.2       misho     489:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misho     490: 
1.12      misho     491:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    492:   # already done that, so ensure we don't try to do so again and fall
                    493:   # in an infinite loop.  This has already happened in practice.
                    494:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     495:   # Don't try to exec as it changes $[0], causing all sort of problems
                    496:   # (the dirname of $[0] is not the place where we might find the
                    497:   # original and so on.  Autoconf is especially sensitive to this).
                    498:   . "./$as_me.lineno"
                    499:   # Exit status is that of the last command.
                    500:   exit
                    501: }
                    502: 
1.2       misho     503: ECHO_C= ECHO_N= ECHO_T=
                    504: case `echo -n x` in #(((((
                    505: -n*)
                    506:   case `echo 'xy\c'` in
                    507:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    508:   xy)  ECHO_C='\c';;
                    509:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    510:        ECHO_T='        ';;
1.1       misho     511:   esac;;
                    512: *)
                    513:   ECHO_N='-n';;
                    514: esac
                    515: 
                    516: rm -f conf$$ conf$$.exe conf$$.file
                    517: if test -d conf$$.dir; then
                    518:   rm -f conf$$.dir/conf$$.file
                    519: else
                    520:   rm -f conf$$.dir
                    521:   mkdir conf$$.dir 2>/dev/null
                    522: fi
                    523: if (echo >conf$$.file) 2>/dev/null; then
                    524:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    525:     as_ln_s='ln -s'
                    526:     # ... but there are two gotchas:
                    527:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    528:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.12      misho     529:     # In both cases, we have to default to `cp -pR'.
1.1       misho     530:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.12      misho     531:       as_ln_s='cp -pR'
1.1       misho     532:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    533:     as_ln_s=ln
                    534:   else
1.12      misho     535:     as_ln_s='cp -pR'
1.1       misho     536:   fi
                    537: else
1.12      misho     538:   as_ln_s='cp -pR'
1.1       misho     539: fi
                    540: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    541: rmdir conf$$.dir 2>/dev/null
                    542: 
                    543: if mkdir -p . 2>/dev/null; then
1.2       misho     544:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     545: else
                    546:   test -d ./-p && rmdir ./-p
                    547:   as_mkdir_p=false
                    548: fi
                    549: 
1.12      misho     550: as_test_x='test -x'
                    551: as_executable_p=as_fn_executable_p
1.1       misho     552: 
                    553: # Sed expression to map a string onto a valid CPP name.
                    554: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    555: 
                    556: # Sed expression to map a string onto a valid variable name.
                    557: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    558: 
                    559: 
1.7       misho     560: test -n "$DJDIR" || exec 7<&0 </dev/null
                    561: exec 6>&1
1.1       misho     562: 
                    563: # Name of the host.
1.7       misho     564: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     565: # so uname gets run too.
                    566: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    567: 
                    568: #
                    569: # Initializations.
                    570: #
                    571: ac_default_prefix=/usr/local
                    572: ac_clean_files=
                    573: ac_config_libobj_dir=.
                    574: LIBOBJS=
                    575: cross_compiling=no
                    576: subdirs=
                    577: MFLAGS=
                    578: MAKEFLAGS=
                    579: 
                    580: # Identity of this package.
                    581: PACKAGE_NAME='libaitrpc'
                    582: PACKAGE_TARNAME='libaitrpc'
1.33.2.1! misho     583: PACKAGE_VERSION='8.1'
        !           584: PACKAGE_STRING='libaitrpc 8.1'
1.5       misho     585: PACKAGE_BUGREPORT='misho@elwix.org'
1.2       misho     586: PACKAGE_URL=''
1.1       misho     587: 
                    588: ac_unique_file="src/aitrpc.c"
                    589: # Factoring default headers for most tests.
                    590: ac_includes_default="\
                    591: #include <stdio.h>
                    592: #ifdef HAVE_SYS_TYPES_H
                    593: # include <sys/types.h>
                    594: #endif
                    595: #ifdef HAVE_SYS_STAT_H
                    596: # include <sys/stat.h>
                    597: #endif
                    598: #ifdef STDC_HEADERS
                    599: # include <stdlib.h>
                    600: # include <stddef.h>
                    601: #else
                    602: # ifdef HAVE_STDLIB_H
                    603: #  include <stdlib.h>
                    604: # endif
                    605: #endif
                    606: #ifdef HAVE_STRING_H
                    607: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    608: #  include <memory.h>
                    609: # endif
                    610: # include <string.h>
                    611: #endif
                    612: #ifdef HAVE_STRINGS_H
                    613: # include <strings.h>
                    614: #endif
                    615: #ifdef HAVE_INTTYPES_H
                    616: # include <inttypes.h>
                    617: #endif
                    618: #ifdef HAVE_STDINT_H
                    619: # include <stdint.h>
                    620: #endif
                    621: #ifdef HAVE_UNISTD_H
                    622: # include <unistd.h>
                    623: #endif"
                    624: 
1.2       misho     625: ac_subst_vars='LTLIBOBJS
                    626: LIBOBJS
                    627: EGREP
                    628: GREP
                    629: CPP
                    630: MKDEP
                    631: target_os
                    632: target_vendor
                    633: target_cpu
                    634: target
                    635: host_os
                    636: host_vendor
                    637: host_cpu
                    638: host
                    639: build_os
                    640: build_vendor
                    641: build_cpu
                    642: build
                    643: INSTALL_DATA
                    644: INSTALL_SCRIPT
                    645: INSTALL_PROGRAM
                    646: OBJEXT
                    647: EXEEXT
                    648: ac_ct_CC
                    649: CPPFLAGS
                    650: LDFLAGS
                    651: CFLAGS
                    652: CC
                    653: target_alias
                    654: host_alias
                    655: build_alias
                    656: LIBS
                    657: ECHO_T
                    658: ECHO_N
                    659: ECHO_C
                    660: DEFS
                    661: mandir
                    662: localedir
                    663: libdir
                    664: psdir
                    665: pdfdir
                    666: dvidir
                    667: htmldir
                    668: infodir
                    669: docdir
                    670: oldincludedir
                    671: includedir
                    672: localstatedir
                    673: sharedstatedir
                    674: sysconfdir
                    675: datadir
                    676: datarootdir
                    677: libexecdir
                    678: sbindir
                    679: bindir
                    680: program_transform_name
                    681: prefix
                    682: exec_prefix
                    683: PACKAGE_URL
                    684: PACKAGE_BUGREPORT
                    685: PACKAGE_STRING
                    686: PACKAGE_VERSION
                    687: PACKAGE_TARNAME
                    688: PACKAGE_NAME
1.1       misho     689: PATH_SEPARATOR
1.2       misho     690: SHELL'
1.1       misho     691: ac_subst_files=''
                    692: ac_user_opts='
                    693: enable_option_checking
                    694: enable_debug
1.12      misho     695: enable_cli_res_zcpy
1.24      misho     696: enable_tcp_sess_exp
                    697: with_timeout_period
1.1       misho     698: '
                    699:       ac_precious_vars='build_alias
                    700: host_alias
                    701: target_alias
                    702: CC
                    703: CFLAGS
                    704: LDFLAGS
                    705: LIBS
                    706: CPPFLAGS
                    707: CPP'
                    708: 
                    709: 
                    710: # Initialize some variables set by options.
                    711: ac_init_help=
                    712: ac_init_version=false
                    713: ac_unrecognized_opts=
                    714: ac_unrecognized_sep=
                    715: # The variables have the same names as the options, with
                    716: # dashes changed to underlines.
                    717: cache_file=/dev/null
                    718: exec_prefix=NONE
                    719: no_create=
                    720: no_recursion=
                    721: prefix=NONE
                    722: program_prefix=NONE
                    723: program_suffix=NONE
                    724: program_transform_name=s,x,x,
                    725: silent=
                    726: site=
                    727: srcdir=
                    728: verbose=
                    729: x_includes=NONE
                    730: x_libraries=NONE
                    731: 
                    732: # Installation directory options.
                    733: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    734: # and all the variables that are supposed to be based on exec_prefix
                    735: # by default will actually change.
                    736: # Use braces instead of parens because sh, perl, etc. also accept them.
                    737: # (The list follows the same order as the GNU Coding Standards.)
                    738: bindir='${exec_prefix}/bin'
                    739: sbindir='${exec_prefix}/sbin'
                    740: libexecdir='${exec_prefix}/libexec'
                    741: datarootdir='${prefix}/share'
                    742: datadir='${datarootdir}'
                    743: sysconfdir='${prefix}/etc'
                    744: sharedstatedir='${prefix}/com'
                    745: localstatedir='${prefix}/var'
                    746: includedir='${prefix}/include'
                    747: oldincludedir='/usr/include'
                    748: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    749: infodir='${datarootdir}/info'
                    750: htmldir='${docdir}'
                    751: dvidir='${docdir}'
                    752: pdfdir='${docdir}'
                    753: psdir='${docdir}'
                    754: libdir='${exec_prefix}/lib'
                    755: localedir='${datarootdir}/locale'
                    756: mandir='${datarootdir}/man'
                    757: 
                    758: ac_prev=
                    759: ac_dashdash=
                    760: for ac_option
                    761: do
                    762:   # If the previous option needs an argument, assign it.
                    763:   if test -n "$ac_prev"; then
                    764:     eval $ac_prev=\$ac_option
                    765:     ac_prev=
                    766:     continue
                    767:   fi
                    768: 
                    769:   case $ac_option in
1.7       misho     770:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    771:   *=)   ac_optarg= ;;
                    772:   *)    ac_optarg=yes ;;
1.1       misho     773:   esac
                    774: 
                    775:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    776: 
                    777:   case $ac_dashdash$ac_option in
                    778:   --)
                    779:     ac_dashdash=yes ;;
                    780: 
                    781:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    782:     ac_prev=bindir ;;
                    783:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    784:     bindir=$ac_optarg ;;
                    785: 
                    786:   -build | --build | --buil | --bui | --bu)
                    787:     ac_prev=build_alias ;;
                    788:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    789:     build_alias=$ac_optarg ;;
                    790: 
                    791:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    792:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    793:     ac_prev=cache_file ;;
                    794:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    795:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    796:     cache_file=$ac_optarg ;;
                    797: 
                    798:   --config-cache | -C)
                    799:     cache_file=config.cache ;;
                    800: 
                    801:   -datadir | --datadir | --datadi | --datad)
                    802:     ac_prev=datadir ;;
                    803:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    804:     datadir=$ac_optarg ;;
                    805: 
                    806:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    807:   | --dataroo | --dataro | --datar)
                    808:     ac_prev=datarootdir ;;
                    809:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    810:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    811:     datarootdir=$ac_optarg ;;
                    812: 
                    813:   -disable-* | --disable-*)
                    814:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    815:     # Reject names that are not valid shell variable names.
                    816:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.7       misho     817:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     818:     ac_useropt_orig=$ac_useropt
                    819:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    820:     case $ac_user_opts in
                    821:       *"
                    822: "enable_$ac_useropt"
                    823: "*) ;;
                    824:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    825:         ac_unrecognized_sep=', ';;
                    826:     esac
                    827:     eval enable_$ac_useropt=no ;;
                    828: 
                    829:   -docdir | --docdir | --docdi | --doc | --do)
                    830:     ac_prev=docdir ;;
                    831:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    832:     docdir=$ac_optarg ;;
                    833: 
                    834:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    835:     ac_prev=dvidir ;;
                    836:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    837:     dvidir=$ac_optarg ;;
                    838: 
                    839:   -enable-* | --enable-*)
                    840:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    841:     # Reject names that are not valid shell variable names.
                    842:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.7       misho     843:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     844:     ac_useropt_orig=$ac_useropt
                    845:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    846:     case $ac_user_opts in
                    847:       *"
                    848: "enable_$ac_useropt"
                    849: "*) ;;
                    850:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    851:         ac_unrecognized_sep=', ';;
                    852:     esac
                    853:     eval enable_$ac_useropt=\$ac_optarg ;;
                    854: 
                    855:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    856:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    857:   | --exec | --exe | --ex)
                    858:     ac_prev=exec_prefix ;;
                    859:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    860:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    861:   | --exec=* | --exe=* | --ex=*)
                    862:     exec_prefix=$ac_optarg ;;
                    863: 
                    864:   -gas | --gas | --ga | --g)
                    865:     # Obsolete; use --with-gas.
                    866:     with_gas=yes ;;
                    867: 
                    868:   -help | --help | --hel | --he | -h)
                    869:     ac_init_help=long ;;
                    870:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    871:     ac_init_help=recursive ;;
                    872:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    873:     ac_init_help=short ;;
                    874: 
                    875:   -host | --host | --hos | --ho)
                    876:     ac_prev=host_alias ;;
                    877:   -host=* | --host=* | --hos=* | --ho=*)
                    878:     host_alias=$ac_optarg ;;
                    879: 
                    880:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    881:     ac_prev=htmldir ;;
                    882:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    883:   | --ht=*)
                    884:     htmldir=$ac_optarg ;;
                    885: 
                    886:   -includedir | --includedir | --includedi | --included | --include \
                    887:   | --includ | --inclu | --incl | --inc)
                    888:     ac_prev=includedir ;;
                    889:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    890:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    891:     includedir=$ac_optarg ;;
                    892: 
                    893:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    894:     ac_prev=infodir ;;
                    895:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    896:     infodir=$ac_optarg ;;
                    897: 
                    898:   -libdir | --libdir | --libdi | --libd)
                    899:     ac_prev=libdir ;;
                    900:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    901:     libdir=$ac_optarg ;;
                    902: 
                    903:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    904:   | --libexe | --libex | --libe)
                    905:     ac_prev=libexecdir ;;
                    906:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    907:   | --libexe=* | --libex=* | --libe=*)
                    908:     libexecdir=$ac_optarg ;;
                    909: 
                    910:   -localedir | --localedir | --localedi | --localed | --locale)
                    911:     ac_prev=localedir ;;
                    912:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    913:     localedir=$ac_optarg ;;
                    914: 
                    915:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    916:   | --localstate | --localstat | --localsta | --localst | --locals)
                    917:     ac_prev=localstatedir ;;
                    918:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    919:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    920:     localstatedir=$ac_optarg ;;
                    921: 
                    922:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    923:     ac_prev=mandir ;;
                    924:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    925:     mandir=$ac_optarg ;;
                    926: 
                    927:   -nfp | --nfp | --nf)
                    928:     # Obsolete; use --without-fp.
                    929:     with_fp=no ;;
                    930: 
                    931:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    932:   | --no-cr | --no-c | -n)
                    933:     no_create=yes ;;
                    934: 
                    935:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    936:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    937:     no_recursion=yes ;;
                    938: 
                    939:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    940:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    941:   | --oldin | --oldi | --old | --ol | --o)
                    942:     ac_prev=oldincludedir ;;
                    943:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    944:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    945:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    946:     oldincludedir=$ac_optarg ;;
                    947: 
                    948:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    949:     ac_prev=prefix ;;
                    950:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    951:     prefix=$ac_optarg ;;
                    952: 
                    953:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    954:   | --program-pre | --program-pr | --program-p)
                    955:     ac_prev=program_prefix ;;
                    956:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    957:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    958:     program_prefix=$ac_optarg ;;
                    959: 
                    960:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    961:   | --program-suf | --program-su | --program-s)
                    962:     ac_prev=program_suffix ;;
                    963:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    964:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    965:     program_suffix=$ac_optarg ;;
                    966: 
                    967:   -program-transform-name | --program-transform-name \
                    968:   | --program-transform-nam | --program-transform-na \
                    969:   | --program-transform-n | --program-transform- \
                    970:   | --program-transform | --program-transfor \
                    971:   | --program-transfo | --program-transf \
                    972:   | --program-trans | --program-tran \
                    973:   | --progr-tra | --program-tr | --program-t)
                    974:     ac_prev=program_transform_name ;;
                    975:   -program-transform-name=* | --program-transform-name=* \
                    976:   | --program-transform-nam=* | --program-transform-na=* \
                    977:   | --program-transform-n=* | --program-transform-=* \
                    978:   | --program-transform=* | --program-transfor=* \
                    979:   | --program-transfo=* | --program-transf=* \
                    980:   | --program-trans=* | --program-tran=* \
                    981:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    982:     program_transform_name=$ac_optarg ;;
                    983: 
                    984:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                    985:     ac_prev=pdfdir ;;
                    986:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                    987:     pdfdir=$ac_optarg ;;
                    988: 
                    989:   -psdir | --psdir | --psdi | --psd | --ps)
                    990:     ac_prev=psdir ;;
                    991:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                    992:     psdir=$ac_optarg ;;
                    993: 
                    994:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    995:   | -silent | --silent | --silen | --sile | --sil)
                    996:     silent=yes ;;
                    997: 
                    998:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    999:     ac_prev=sbindir ;;
                   1000:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1001:   | --sbi=* | --sb=*)
                   1002:     sbindir=$ac_optarg ;;
                   1003: 
                   1004:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1005:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1006:   | --sharedst | --shareds | --shared | --share | --shar \
                   1007:   | --sha | --sh)
                   1008:     ac_prev=sharedstatedir ;;
                   1009:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1010:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1011:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1012:   | --sha=* | --sh=*)
                   1013:     sharedstatedir=$ac_optarg ;;
                   1014: 
                   1015:   -site | --site | --sit)
                   1016:     ac_prev=site ;;
                   1017:   -site=* | --site=* | --sit=*)
                   1018:     site=$ac_optarg ;;
                   1019: 
                   1020:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1021:     ac_prev=srcdir ;;
                   1022:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1023:     srcdir=$ac_optarg ;;
                   1024: 
                   1025:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1026:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1027:     ac_prev=sysconfdir ;;
                   1028:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1029:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1030:     sysconfdir=$ac_optarg ;;
                   1031: 
                   1032:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1033:     ac_prev=target_alias ;;
                   1034:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1035:     target_alias=$ac_optarg ;;
                   1036: 
                   1037:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1038:     verbose=yes ;;
                   1039: 
                   1040:   -version | --version | --versio | --versi | --vers | -V)
                   1041:     ac_init_version=: ;;
                   1042: 
                   1043:   -with-* | --with-*)
                   1044:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1045:     # Reject names that are not valid shell variable names.
                   1046:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.7       misho    1047:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1048:     ac_useropt_orig=$ac_useropt
                   1049:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1050:     case $ac_user_opts in
                   1051:       *"
                   1052: "with_$ac_useropt"
                   1053: "*) ;;
                   1054:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1055:         ac_unrecognized_sep=', ';;
                   1056:     esac
                   1057:     eval with_$ac_useropt=\$ac_optarg ;;
                   1058: 
                   1059:   -without-* | --without-*)
                   1060:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1061:     # Reject names that are not valid shell variable names.
                   1062:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.7       misho    1063:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1064:     ac_useropt_orig=$ac_useropt
                   1065:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1066:     case $ac_user_opts in
                   1067:       *"
                   1068: "with_$ac_useropt"
                   1069: "*) ;;
                   1070:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1071:         ac_unrecognized_sep=', ';;
                   1072:     esac
                   1073:     eval with_$ac_useropt=no ;;
                   1074: 
                   1075:   --x)
                   1076:     # Obsolete; use --with-x.
                   1077:     with_x=yes ;;
                   1078: 
                   1079:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1080:   | --x-incl | --x-inc | --x-in | --x-i)
                   1081:     ac_prev=x_includes ;;
                   1082:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1083:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1084:     x_includes=$ac_optarg ;;
                   1085: 
                   1086:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1087:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1088:     ac_prev=x_libraries ;;
                   1089:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1090:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1091:     x_libraries=$ac_optarg ;;
                   1092: 
1.7       misho    1093:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1094: Try \`$0 --help' for more information"
1.1       misho    1095:     ;;
                   1096: 
                   1097:   *=*)
                   1098:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1099:     # Reject names that are not valid shell variable names.
1.2       misho    1100:     case $ac_envvar in #(
                   1101:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.7       misho    1102:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.2       misho    1103:     esac
1.1       misho    1104:     eval $ac_envvar=\$ac_optarg
                   1105:     export $ac_envvar ;;
                   1106: 
                   1107:   *)
                   1108:     # FIXME: should be removed in autoconf 3.0.
                   1109:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1110:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1111:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.7       misho    1112:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1113:     ;;
                   1114: 
                   1115:   esac
                   1116: done
                   1117: 
                   1118: if test -n "$ac_prev"; then
                   1119:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.7       misho    1120:   as_fn_error $? "missing argument to $ac_option"
1.1       misho    1121: fi
                   1122: 
                   1123: if test -n "$ac_unrecognized_opts"; then
                   1124:   case $enable_option_checking in
                   1125:     no) ;;
1.7       misho    1126:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.2       misho    1127:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1.1       misho    1128:   esac
                   1129: fi
                   1130: 
                   1131: # Check all directory arguments for consistency.
                   1132: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1133:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1134:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1135:                libdir localedir mandir
                   1136: do
                   1137:   eval ac_val=\$$ac_var
                   1138:   # Remove trailing slashes.
                   1139:   case $ac_val in
                   1140:     */ )
                   1141:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1142:       eval $ac_var=\$ac_val;;
                   1143:   esac
                   1144:   # Be sure to have absolute directory names.
                   1145:   case $ac_val in
                   1146:     [\\/$]* | ?:[\\/]* )  continue;;
                   1147:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1148:   esac
1.7       misho    1149:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1150: done
                   1151: 
                   1152: # There might be people who depend on the old broken behavior: `$host'
                   1153: # used to hold the argument of --host etc.
                   1154: # FIXME: To remove some day.
                   1155: build=$build_alias
                   1156: host=$host_alias
                   1157: target=$target_alias
                   1158: 
                   1159: # FIXME: To remove some day.
                   1160: if test "x$host_alias" != x; then
                   1161:   if test "x$build_alias" = x; then
                   1162:     cross_compiling=maybe
                   1163:   elif test "x$build_alias" != "x$host_alias"; then
                   1164:     cross_compiling=yes
                   1165:   fi
                   1166: fi
                   1167: 
                   1168: ac_tool_prefix=
                   1169: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1170: 
                   1171: test "$silent" = yes && exec 6>/dev/null
                   1172: 
                   1173: 
                   1174: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1175: ac_ls_di=`ls -di .` &&
                   1176: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.7       misho    1177:   as_fn_error $? "working directory cannot be determined"
1.1       misho    1178: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.7       misho    1179:   as_fn_error $? "pwd does not report name of working directory"
1.1       misho    1180: 
                   1181: 
                   1182: # Find the source files, if location was not specified.
                   1183: if test -z "$srcdir"; then
                   1184:   ac_srcdir_defaulted=yes
                   1185:   # Try the directory containing this script, then the parent directory.
                   1186:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1187: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1188:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1189:         X"$as_myself" : 'X\(//\)$' \| \
                   1190:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1191: $as_echo X"$as_myself" |
                   1192:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1193:            s//\1/
                   1194:            q
                   1195:          }
                   1196:          /^X\(\/\/\)[^/].*/{
                   1197:            s//\1/
                   1198:            q
                   1199:          }
                   1200:          /^X\(\/\/\)$/{
                   1201:            s//\1/
                   1202:            q
                   1203:          }
                   1204:          /^X\(\/\).*/{
                   1205:            s//\1/
                   1206:            q
                   1207:          }
                   1208:          s/.*/./; q'`
                   1209:   srcdir=$ac_confdir
                   1210:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1211:     srcdir=..
                   1212:   fi
                   1213: else
                   1214:   ac_srcdir_defaulted=no
                   1215: fi
                   1216: if test ! -r "$srcdir/$ac_unique_file"; then
                   1217:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.7       misho    1218:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       misho    1219: fi
                   1220: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1221: ac_abs_confdir=`(
1.7       misho    1222:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       misho    1223:        pwd)`
                   1224: # When building in place, set srcdir=.
                   1225: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1226:   srcdir=.
                   1227: fi
                   1228: # Remove unnecessary trailing slashes from srcdir.
                   1229: # Double slashes in file names in object file debugging info
                   1230: # mess up M-x gdb in Emacs.
                   1231: case $srcdir in
                   1232: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1233: esac
                   1234: for ac_var in $ac_precious_vars; do
                   1235:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1236:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1237:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1238:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1239: done
                   1240: 
                   1241: #
                   1242: # Report the --help message.
                   1243: #
                   1244: if test "$ac_init_help" = "long"; then
                   1245:   # Omit some internal or obsolete options to make the list less imposing.
                   1246:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1247:   cat <<_ACEOF
1.33.2.1! misho    1248: \`configure' configures libaitrpc 8.1 to adapt to many kinds of systems.
1.1       misho    1249: 
                   1250: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1251: 
                   1252: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1253: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1254: 
                   1255: Defaults for the options are specified in brackets.
                   1256: 
                   1257: Configuration:
                   1258:   -h, --help              display this help and exit
                   1259:       --help=short        display options specific to this package
                   1260:       --help=recursive    display the short help of all the included packages
                   1261:   -V, --version           display version information and exit
1.7       misho    1262:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1263:       --cache-file=FILE   cache test results in FILE [disabled]
                   1264:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1265:   -n, --no-create         do not create output files
                   1266:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1267: 
                   1268: Installation directories:
                   1269:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1270:                           [$ac_default_prefix]
                   1271:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1272:                           [PREFIX]
                   1273: 
                   1274: By default, \`make install' will install all the files in
                   1275: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1276: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1277: for instance \`--prefix=\$HOME'.
                   1278: 
                   1279: For better control, use the options below.
                   1280: 
                   1281: Fine tuning of the installation directories:
                   1282:   --bindir=DIR            user executables [EPREFIX/bin]
                   1283:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1284:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1285:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1286:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1287:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1288:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1289:   --includedir=DIR        C header files [PREFIX/include]
                   1290:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1291:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1292:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1293:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1294:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1295:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1296:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libaitrpc]
                   1297:   --htmldir=DIR           html documentation [DOCDIR]
                   1298:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1299:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1300:   --psdir=DIR             ps documentation [DOCDIR]
                   1301: _ACEOF
                   1302: 
                   1303:   cat <<\_ACEOF
                   1304: 
                   1305: System types:
                   1306:   --build=BUILD     configure for building on BUILD [guessed]
                   1307:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1308:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1309: _ACEOF
                   1310: fi
                   1311: 
                   1312: if test -n "$ac_init_help"; then
                   1313:   case $ac_init_help in
1.33.2.1! misho    1314:      short | recursive ) echo "Configuration of libaitrpc 8.1:";;
1.1       misho    1315:    esac
                   1316:   cat <<\_ACEOF
                   1317: 
                   1318: Optional Features:
                   1319:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1320:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1321:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1322:   --enable-debug          Build library with debug information and additional messages
1.12      misho    1323:   --enable-cli-res-zcpy   Build library with zero-copy return array from RPC client
1.24      misho    1324:   --enable-tcp_sess_exp   Build library with TCP session expiration
                   1325: 
                   1326: Optional Packages:
                   1327:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1328:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1329:   --with-timeout_period   Build library with TCP timeout period
1.1       misho    1330: 
                   1331: Some influential environment variables:
                   1332:   CC          C compiler command
                   1333:   CFLAGS      C compiler flags
                   1334:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1335:               nonstandard directory <lib dir>
                   1336:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.7       misho    1337:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       misho    1338:               you have headers in a nonstandard directory <include dir>
                   1339:   CPP         C preprocessor
                   1340: 
                   1341: Use these variables to override the choices made by `configure' or to help
                   1342: it to find libraries and programs with nonstandard names/locations.
                   1343: 
1.5       misho    1344: Report bugs to <misho@elwix.org>.
1.1       misho    1345: _ACEOF
                   1346: ac_status=$?
                   1347: fi
                   1348: 
                   1349: if test "$ac_init_help" = "recursive"; then
                   1350:   # If there are subdirs, report their specific --help.
                   1351:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1352:     test -d "$ac_dir" ||
                   1353:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1354:       continue
                   1355:     ac_builddir=.
                   1356: 
                   1357: case "$ac_dir" in
                   1358: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1359: *)
                   1360:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1361:   # A ".." for each directory in $ac_dir_suffix.
                   1362:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1363:   case $ac_top_builddir_sub in
                   1364:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1365:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1366:   esac ;;
                   1367: esac
                   1368: ac_abs_top_builddir=$ac_pwd
                   1369: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1370: # for backward compatibility:
                   1371: ac_top_builddir=$ac_top_build_prefix
                   1372: 
                   1373: case $srcdir in
                   1374:   .)  # We are building in place.
                   1375:     ac_srcdir=.
                   1376:     ac_top_srcdir=$ac_top_builddir_sub
                   1377:     ac_abs_top_srcdir=$ac_pwd ;;
                   1378:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1379:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1380:     ac_top_srcdir=$srcdir
                   1381:     ac_abs_top_srcdir=$srcdir ;;
                   1382:   *) # Relative name.
                   1383:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1384:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1385:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1386: esac
                   1387: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1388: 
                   1389:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1390:     # Check for guested configure.
                   1391:     if test -f "$ac_srcdir/configure.gnu"; then
                   1392:       echo &&
                   1393:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1394:     elif test -f "$ac_srcdir/configure"; then
                   1395:       echo &&
                   1396:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1397:     else
                   1398:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1399:     fi || ac_status=$?
                   1400:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1401:   done
                   1402: fi
                   1403: 
                   1404: test -n "$ac_init_help" && exit $ac_status
                   1405: if $ac_init_version; then
                   1406:   cat <<\_ACEOF
1.33.2.1! misho    1407: libaitrpc configure 8.1
1.12      misho    1408: generated by GNU Autoconf 2.69
1.1       misho    1409: 
1.12      misho    1410: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1411: This configure script is free software; the Free Software Foundation
                   1412: gives unlimited permission to copy, distribute and modify it.
                   1413: _ACEOF
                   1414:   exit
                   1415: fi
                   1416: 
1.2       misho    1417: ## ------------------------ ##
                   1418: ## Autoconf initialization. ##
                   1419: ## ------------------------ ##
                   1420: 
                   1421: # ac_fn_c_try_compile LINENO
                   1422: # --------------------------
                   1423: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1424: ac_fn_c_try_compile ()
1.1       misho    1425: {
1.2       misho    1426:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1427:   rm -f conftest.$ac_objext
                   1428:   if { { ac_try="$ac_compile"
                   1429: case "(($ac_try" in
                   1430:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1431:   *) ac_try_echo=$ac_try;;
                   1432: esac
                   1433: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1434: $as_echo "$ac_try_echo"; } >&5
                   1435:   (eval "$ac_compile") 2>conftest.err
                   1436:   ac_status=$?
                   1437:   if test -s conftest.err; then
                   1438:     grep -v '^ *+' conftest.err >conftest.er1
                   1439:     cat conftest.er1 >&5
                   1440:     mv -f conftest.er1 conftest.err
                   1441:   fi
                   1442:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1443:   test $ac_status = 0; } && {
                   1444:         test -z "$ac_c_werror_flag" ||
                   1445:         test ! -s conftest.err
                   1446:        } && test -s conftest.$ac_objext; then :
                   1447:   ac_retval=0
                   1448: else
                   1449:   $as_echo "$as_me: failed program was:" >&5
                   1450: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1451: 
1.2       misho    1452:        ac_retval=1
                   1453: fi
1.7       misho    1454:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1455:   as_fn_set_status $ac_retval
1.1       misho    1456: 
1.2       misho    1457: } # ac_fn_c_try_compile
1.1       misho    1458: 
1.2       misho    1459: # ac_fn_c_try_link LINENO
                   1460: # -----------------------
                   1461: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1462: ac_fn_c_try_link ()
                   1463: {
                   1464:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1465:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1466:   if { { ac_try="$ac_link"
                   1467: case "(($ac_try" in
                   1468:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1469:   *) ac_try_echo=$ac_try;;
                   1470: esac
                   1471: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1472: $as_echo "$ac_try_echo"; } >&5
                   1473:   (eval "$ac_link") 2>conftest.err
                   1474:   ac_status=$?
                   1475:   if test -s conftest.err; then
                   1476:     grep -v '^ *+' conftest.err >conftest.er1
                   1477:     cat conftest.er1 >&5
                   1478:     mv -f conftest.er1 conftest.err
                   1479:   fi
                   1480:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1481:   test $ac_status = 0; } && {
                   1482:         test -z "$ac_c_werror_flag" ||
                   1483:         test ! -s conftest.err
                   1484:        } && test -s conftest$ac_exeext && {
                   1485:         test "$cross_compiling" = yes ||
1.12      misho    1486:         test -x conftest$ac_exeext
1.2       misho    1487:        }; then :
                   1488:   ac_retval=0
                   1489: else
                   1490:   $as_echo "$as_me: failed program was:" >&5
                   1491: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1492: 
1.2       misho    1493:        ac_retval=1
                   1494: fi
                   1495:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1496:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1497:   # interfere with the next link command; also delete a directory that is
                   1498:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1499:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.7       misho    1500:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1501:   as_fn_set_status $ac_retval
1.1       misho    1502: 
1.2       misho    1503: } # ac_fn_c_try_link
1.1       misho    1504: 
1.2       misho    1505: # ac_fn_c_try_cpp LINENO
                   1506: # ----------------------
                   1507: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1508: ac_fn_c_try_cpp ()
                   1509: {
                   1510:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1511:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1512: case "(($ac_try" in
                   1513:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1514:   *) ac_try_echo=$ac_try;;
                   1515: esac
                   1516: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1517: $as_echo "$ac_try_echo"; } >&5
                   1518:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1519:   ac_status=$?
                   1520:   if test -s conftest.err; then
                   1521:     grep -v '^ *+' conftest.err >conftest.er1
                   1522:     cat conftest.er1 >&5
                   1523:     mv -f conftest.er1 conftest.err
                   1524:   fi
                   1525:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1.7       misho    1526:   test $ac_status = 0; } > conftest.i && {
1.2       misho    1527:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1528:         test ! -s conftest.err
                   1529:        }; then :
                   1530:   ac_retval=0
                   1531: else
                   1532:   $as_echo "$as_me: failed program was:" >&5
                   1533: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1534: 
1.2       misho    1535:     ac_retval=1
                   1536: fi
1.7       misho    1537:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1538:   as_fn_set_status $ac_retval
1.1       misho    1539: 
1.2       misho    1540: } # ac_fn_c_try_cpp
1.1       misho    1541: 
1.2       misho    1542: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1543: # -------------------------------------------------------
                   1544: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1545: # the include files in INCLUDES and setting the cache variable VAR
                   1546: # accordingly.
                   1547: ac_fn_c_check_header_mongrel ()
                   1548: {
                   1549:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.7       misho    1550:   if eval \${$3+:} false; then :
1.2       misho    1551:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1552: $as_echo_n "checking for $2... " >&6; }
1.7       misho    1553: if eval \${$3+:} false; then :
1.2       misho    1554:   $as_echo_n "(cached) " >&6
                   1555: fi
                   1556: eval ac_res=\$$3
                   1557:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1558: $as_echo "$ac_res" >&6; }
                   1559: else
                   1560:   # Is the header compilable?
                   1561: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1562: $as_echo_n "checking $2 usability... " >&6; }
                   1563: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1564: /* end confdefs.h.  */
                   1565: $4
                   1566: #include <$2>
                   1567: _ACEOF
                   1568: if ac_fn_c_try_compile "$LINENO"; then :
                   1569:   ac_header_compiler=yes
                   1570: else
                   1571:   ac_header_compiler=no
                   1572: fi
                   1573: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1575: $as_echo "$ac_header_compiler" >&6; }
                   1576: 
                   1577: # Is the header present?
                   1578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1579: $as_echo_n "checking $2 presence... " >&6; }
                   1580: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1581: /* end confdefs.h.  */
                   1582: #include <$2>
                   1583: _ACEOF
                   1584: if ac_fn_c_try_cpp "$LINENO"; then :
                   1585:   ac_header_preproc=yes
                   1586: else
                   1587:   ac_header_preproc=no
                   1588: fi
1.7       misho    1589: rm -f conftest.err conftest.i conftest.$ac_ext
1.2       misho    1590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1591: $as_echo "$ac_header_preproc" >&6; }
                   1592: 
                   1593: # So?  What about this header?
                   1594: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1595:   yes:no: )
                   1596:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1597: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1598:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1599: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1600:     ;;
                   1601:   no:yes:* )
                   1602:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1603: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1604:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1605: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1606:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1607: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1608:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1609: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1610:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1611: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1.7       misho    1612: ( $as_echo "## ------------------------------ ##
1.5       misho    1613: ## Report this to misho@elwix.org ##
1.7       misho    1614: ## ------------------------------ ##"
1.2       misho    1615:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1616:     ;;
                   1617: esac
                   1618:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1619: $as_echo_n "checking for $2... " >&6; }
1.7       misho    1620: if eval \${$3+:} false; then :
1.2       misho    1621:   $as_echo_n "(cached) " >&6
                   1622: else
                   1623:   eval "$3=\$ac_header_compiler"
                   1624: fi
                   1625: eval ac_res=\$$3
                   1626:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1627: $as_echo "$ac_res" >&6; }
                   1628: fi
1.7       misho    1629:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.2       misho    1630: 
                   1631: } # ac_fn_c_check_header_mongrel
                   1632: 
                   1633: # ac_fn_c_try_run LINENO
                   1634: # ----------------------
                   1635: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1636: # that executables *can* be run.
                   1637: ac_fn_c_try_run ()
                   1638: {
                   1639:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1640:   if { { ac_try="$ac_link"
                   1641: case "(($ac_try" in
                   1642:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1643:   *) ac_try_echo=$ac_try;;
                   1644: esac
                   1645: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1646: $as_echo "$ac_try_echo"; } >&5
                   1647:   (eval "$ac_link") 2>&5
                   1648:   ac_status=$?
                   1649:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1650:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1651:   { { case "(($ac_try" in
                   1652:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1653:   *) ac_try_echo=$ac_try;;
                   1654: esac
                   1655: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1656: $as_echo "$ac_try_echo"; } >&5
                   1657:   (eval "$ac_try") 2>&5
                   1658:   ac_status=$?
                   1659:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1660:   test $ac_status = 0; }; }; then :
                   1661:   ac_retval=0
                   1662: else
                   1663:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1664:        $as_echo "$as_me: failed program was:" >&5
                   1665: sed 's/^/| /' conftest.$ac_ext >&5
                   1666: 
                   1667:        ac_retval=$ac_status
                   1668: fi
                   1669:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.7       misho    1670:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1671:   as_fn_set_status $ac_retval
1.2       misho    1672: 
                   1673: } # ac_fn_c_try_run
                   1674: 
                   1675: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1676: # -------------------------------------------------------
                   1677: # Tests whether HEADER exists and can be compiled using the include files in
                   1678: # INCLUDES, setting the cache variable VAR accordingly.
                   1679: ac_fn_c_check_header_compile ()
                   1680: {
                   1681:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1682:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1683: $as_echo_n "checking for $2... " >&6; }
1.7       misho    1684: if eval \${$3+:} false; then :
1.2       misho    1685:   $as_echo_n "(cached) " >&6
                   1686: else
                   1687:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1688: /* end confdefs.h.  */
                   1689: $4
                   1690: #include <$2>
                   1691: _ACEOF
                   1692: if ac_fn_c_try_compile "$LINENO"; then :
                   1693:   eval "$3=yes"
                   1694: else
                   1695:   eval "$3=no"
                   1696: fi
                   1697: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1698: fi
                   1699: eval ac_res=\$$3
                   1700:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1701: $as_echo "$ac_res" >&6; }
1.7       misho    1702:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.2       misho    1703: 
                   1704: } # ac_fn_c_check_header_compile
                   1705: 
                   1706: # ac_fn_c_find_intX_t LINENO BITS VAR
                   1707: # -----------------------------------
                   1708: # Finds a signed integer type with width BITS, setting cache variable VAR
                   1709: # accordingly.
                   1710: ac_fn_c_find_intX_t ()
                   1711: {
                   1712:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1713:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
                   1714: $as_echo_n "checking for int$2_t... " >&6; }
1.7       misho    1715: if eval \${$3+:} false; then :
1.2       misho    1716:   $as_echo_n "(cached) " >&6
                   1717: else
                   1718:   eval "$3=no"
1.7       misho    1719:      # Order is important - never check a type that is potentially smaller
                   1720:      # than half of the expected target width.
1.2       misho    1721:      for ac_type in int$2_t 'int' 'long int' \
                   1722:         'long long int' 'short int' 'signed char'; do
                   1723:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1724: /* end confdefs.h.  */
                   1725: $ac_includes_default
1.7       misho    1726:             enum { N = $2 / 2 - 1 };
1.2       misho    1727: int
                   1728: main ()
                   1729: {
1.7       misho    1730: static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
1.12      misho    1731: test_array [0] = 0;
                   1732: return test_array [0];
1.2       misho    1733: 
                   1734:   ;
                   1735:   return 0;
                   1736: }
                   1737: _ACEOF
                   1738: if ac_fn_c_try_compile "$LINENO"; then :
                   1739:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1740: /* end confdefs.h.  */
                   1741: $ac_includes_default
1.7       misho    1742:                enum { N = $2 / 2 - 1 };
1.2       misho    1743: int
                   1744: main ()
                   1745: {
1.7       misho    1746: static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
                   1747:                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
1.12      misho    1748: test_array [0] = 0;
                   1749: return test_array [0];
1.2       misho    1750: 
                   1751:   ;
                   1752:   return 0;
                   1753: }
                   1754: _ACEOF
                   1755: if ac_fn_c_try_compile "$LINENO"; then :
                   1756: 
                   1757: else
                   1758:   case $ac_type in #(
                   1759:   int$2_t) :
                   1760:     eval "$3=yes" ;; #(
                   1761:   *) :
                   1762:     eval "$3=\$ac_type" ;;
                   1763: esac
                   1764: fi
                   1765: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1766: fi
                   1767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7       misho    1768:        if eval test \"x\$"$3"\" = x"no"; then :
1.2       misho    1769: 
                   1770: else
                   1771:   break
                   1772: fi
                   1773:      done
                   1774: fi
                   1775: eval ac_res=\$$3
                   1776:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1777: $as_echo "$ac_res" >&6; }
1.7       misho    1778:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.2       misho    1779: 
                   1780: } # ac_fn_c_find_intX_t
                   1781: 
1.5       misho    1782: # ac_fn_c_find_uintX_t LINENO BITS VAR
                   1783: # ------------------------------------
                   1784: # Finds an unsigned integer type with width BITS, setting cache variable VAR
                   1785: # accordingly.
                   1786: ac_fn_c_find_uintX_t ()
                   1787: {
                   1788:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1789:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
                   1790: $as_echo_n "checking for uint$2_t... " >&6; }
1.7       misho    1791: if eval \${$3+:} false; then :
1.5       misho    1792:   $as_echo_n "(cached) " >&6
                   1793: else
                   1794:   eval "$3=no"
1.7       misho    1795:      # Order is important - never check a type that is potentially smaller
                   1796:      # than half of the expected target width.
1.5       misho    1797:      for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
                   1798:         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
                   1799:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1800: /* end confdefs.h.  */
                   1801: $ac_includes_default
                   1802: int
                   1803: main ()
                   1804: {
1.7       misho    1805: static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
1.12      misho    1806: test_array [0] = 0;
                   1807: return test_array [0];
1.5       misho    1808: 
                   1809:   ;
                   1810:   return 0;
                   1811: }
                   1812: _ACEOF
                   1813: if ac_fn_c_try_compile "$LINENO"; then :
                   1814:   case $ac_type in #(
                   1815:   uint$2_t) :
                   1816:     eval "$3=yes" ;; #(
                   1817:   *) :
                   1818:     eval "$3=\$ac_type" ;;
                   1819: esac
                   1820: fi
                   1821: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.7       misho    1822:        if eval test \"x\$"$3"\" = x"no"; then :
1.5       misho    1823: 
                   1824: else
                   1825:   break
                   1826: fi
                   1827:      done
                   1828: fi
                   1829: eval ac_res=\$$3
                   1830:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1831: $as_echo "$ac_res" >&6; }
1.7       misho    1832:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.5       misho    1833: 
                   1834: } # ac_fn_c_find_uintX_t
                   1835: 
1.2       misho    1836: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1837: # -------------------------------------------
                   1838: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1839: # variable VAR accordingly.
                   1840: ac_fn_c_check_type ()
                   1841: {
                   1842:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1843:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1844: $as_echo_n "checking for $2... " >&6; }
1.7       misho    1845: if eval \${$3+:} false; then :
1.2       misho    1846:   $as_echo_n "(cached) " >&6
                   1847: else
                   1848:   eval "$3=no"
                   1849:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1850: /* end confdefs.h.  */
                   1851: $4
                   1852: int
                   1853: main ()
                   1854: {
                   1855: if (sizeof ($2))
                   1856:         return 0;
                   1857:   ;
                   1858:   return 0;
                   1859: }
                   1860: _ACEOF
                   1861: if ac_fn_c_try_compile "$LINENO"; then :
                   1862:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1863: /* end confdefs.h.  */
                   1864: $4
                   1865: int
                   1866: main ()
                   1867: {
                   1868: if (sizeof (($2)))
                   1869:            return 0;
                   1870:   ;
                   1871:   return 0;
                   1872: }
                   1873: _ACEOF
                   1874: if ac_fn_c_try_compile "$LINENO"; then :
                   1875: 
                   1876: else
                   1877:   eval "$3=yes"
                   1878: fi
                   1879: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1880: fi
                   1881: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1882: fi
                   1883: eval ac_res=\$$3
                   1884:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1885: $as_echo "$ac_res" >&6; }
1.7       misho    1886:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.2       misho    1887: 
                   1888: } # ac_fn_c_check_type
                   1889: 
                   1890: # ac_fn_c_check_func LINENO FUNC VAR
                   1891: # ----------------------------------
                   1892: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1893: ac_fn_c_check_func ()
                   1894: {
                   1895:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1896:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1897: $as_echo_n "checking for $2... " >&6; }
1.7       misho    1898: if eval \${$3+:} false; then :
1.2       misho    1899:   $as_echo_n "(cached) " >&6
                   1900: else
                   1901:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1902: /* end confdefs.h.  */
                   1903: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1904:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1905: #define $2 innocuous_$2
                   1906: 
                   1907: /* System header to define __stub macros and hopefully few prototypes,
                   1908:     which can conflict with char $2 (); below.
                   1909:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1910:     <limits.h> exists even on freestanding compilers.  */
                   1911: 
                   1912: #ifdef __STDC__
                   1913: # include <limits.h>
                   1914: #else
                   1915: # include <assert.h>
                   1916: #endif
                   1917: 
                   1918: #undef $2
                   1919: 
                   1920: /* Override any GCC internal prototype to avoid an error.
                   1921:    Use char because int might match the return type of a GCC
                   1922:    builtin and then its argument prototype would still apply.  */
                   1923: #ifdef __cplusplus
                   1924: extern "C"
                   1925: #endif
                   1926: char $2 ();
                   1927: /* The GNU C library defines this for functions which it implements
                   1928:     to always fail with ENOSYS.  Some functions are actually named
                   1929:     something starting with __ and the normal name is an alias.  */
                   1930: #if defined __stub_$2 || defined __stub___$2
                   1931: choke me
                   1932: #endif
                   1933: 
                   1934: int
                   1935: main ()
                   1936: {
                   1937: return $2 ();
                   1938:   ;
                   1939:   return 0;
                   1940: }
                   1941: _ACEOF
                   1942: if ac_fn_c_try_link "$LINENO"; then :
                   1943:   eval "$3=yes"
                   1944: else
                   1945:   eval "$3=no"
                   1946: fi
                   1947: rm -f core conftest.err conftest.$ac_objext \
                   1948:     conftest$ac_exeext conftest.$ac_ext
                   1949: fi
                   1950: eval ac_res=\$$3
                   1951:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1952: $as_echo "$ac_res" >&6; }
1.7       misho    1953:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.2       misho    1954: 
                   1955: } # ac_fn_c_check_func
                   1956: cat >config.log <<_ACEOF
                   1957: This file contains any messages produced by compilers while
                   1958: running configure, to aid debugging if configure makes a mistake.
                   1959: 
1.33.2.1! misho    1960: It was created by libaitrpc $as_me 8.1, which was
1.12      misho    1961: generated by GNU Autoconf 2.69.  Invocation command line was
1.2       misho    1962: 
                   1963:   $ $0 $@
                   1964: 
                   1965: _ACEOF
                   1966: exec 5>>config.log
                   1967: {
                   1968: cat <<_ASUNAME
                   1969: ## --------- ##
                   1970: ## Platform. ##
                   1971: ## --------- ##
                   1972: 
                   1973: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1974: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1975: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1976: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1977: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1978: 
                   1979: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1980: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1981: 
                   1982: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1983: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1984: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1985: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1986: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1987: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1988: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1989: 
                   1990: _ASUNAME
                   1991: 
                   1992: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1993: for as_dir in $PATH
                   1994: do
                   1995:   IFS=$as_save_IFS
                   1996:   test -z "$as_dir" && as_dir=.
                   1997:     $as_echo "PATH: $as_dir"
                   1998:   done
                   1999: IFS=$as_save_IFS
                   2000: 
                   2001: } >&5
                   2002: 
                   2003: cat >&5 <<_ACEOF
                   2004: 
                   2005: 
                   2006: ## ----------- ##
                   2007: ## Core tests. ##
                   2008: ## ----------- ##
1.1       misho    2009: 
                   2010: _ACEOF
                   2011: 
                   2012: 
                   2013: # Keep a trace of the command line.
                   2014: # Strip out --no-create and --no-recursion so they do not pile up.
                   2015: # Strip out --silent because we don't want to record it for future runs.
                   2016: # Also quote any args containing shell meta-characters.
                   2017: # Make two passes to allow for proper duplicate-argument suppression.
                   2018: ac_configure_args=
                   2019: ac_configure_args0=
                   2020: ac_configure_args1=
                   2021: ac_must_keep_next=false
                   2022: for ac_pass in 1 2
                   2023: do
                   2024:   for ac_arg
                   2025:   do
                   2026:     case $ac_arg in
                   2027:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2028:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2029:     | -silent | --silent | --silen | --sile | --sil)
                   2030:       continue ;;
                   2031:     *\'*)
                   2032:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2033:     esac
                   2034:     case $ac_pass in
1.2       misho    2035:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    2036:     2)
1.2       misho    2037:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misho    2038:       if test $ac_must_keep_next = true; then
                   2039:        ac_must_keep_next=false # Got value, back to normal.
                   2040:       else
                   2041:        case $ac_arg in
                   2042:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2043:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2044:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2045:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2046:            case "$ac_configure_args0 " in
                   2047:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2048:            esac
                   2049:            ;;
                   2050:          -* ) ac_must_keep_next=true ;;
                   2051:        esac
                   2052:       fi
1.2       misho    2053:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    2054:       ;;
                   2055:     esac
                   2056:   done
                   2057: done
1.2       misho    2058: { ac_configure_args0=; unset ac_configure_args0;}
                   2059: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misho    2060: 
                   2061: # When interrupted or exit'd, cleanup temporary files, and complete
                   2062: # config.log.  We remove comments because anyway the quotes in there
                   2063: # would cause problems or look ugly.
                   2064: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2065: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2066: trap 'exit_status=$?
                   2067:   # Save into config.log some information that might help in debugging.
                   2068:   {
                   2069:     echo
                   2070: 
1.7       misho    2071:     $as_echo "## ---------------- ##
1.1       misho    2072: ## Cache variables. ##
1.7       misho    2073: ## ---------------- ##"
1.1       misho    2074:     echo
                   2075:     # The following way of writing the cache mishandles newlines in values,
                   2076: (
                   2077:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2078:     eval ac_val=\$$ac_var
                   2079:     case $ac_val in #(
                   2080:     *${as_nl}*)
                   2081:       case $ac_var in #(
1.2       misho    2082:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2083: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    2084:       esac
                   2085:       case $ac_var in #(
                   2086:       _ | IFS | as_nl) ;; #(
                   2087:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.2       misho    2088:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    2089:       esac ;;
                   2090:     esac
                   2091:   done
                   2092:   (set) 2>&1 |
                   2093:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2094:     *${as_nl}ac_space=\ *)
                   2095:       sed -n \
                   2096:        "s/'\''/'\''\\\\'\'''\''/g;
                   2097:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2098:       ;; #(
                   2099:     *)
                   2100:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2101:       ;;
                   2102:     esac |
                   2103:     sort
                   2104: )
                   2105:     echo
                   2106: 
1.7       misho    2107:     $as_echo "## ----------------- ##
1.1       misho    2108: ## Output variables. ##
1.7       misho    2109: ## ----------------- ##"
1.1       misho    2110:     echo
                   2111:     for ac_var in $ac_subst_vars
                   2112:     do
                   2113:       eval ac_val=\$$ac_var
                   2114:       case $ac_val in
                   2115:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2116:       esac
                   2117:       $as_echo "$ac_var='\''$ac_val'\''"
                   2118:     done | sort
                   2119:     echo
                   2120: 
                   2121:     if test -n "$ac_subst_files"; then
1.7       misho    2122:       $as_echo "## ------------------- ##
1.1       misho    2123: ## File substitutions. ##
1.7       misho    2124: ## ------------------- ##"
1.1       misho    2125:       echo
                   2126:       for ac_var in $ac_subst_files
                   2127:       do
                   2128:        eval ac_val=\$$ac_var
                   2129:        case $ac_val in
                   2130:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2131:        esac
                   2132:        $as_echo "$ac_var='\''$ac_val'\''"
                   2133:       done | sort
                   2134:       echo
                   2135:     fi
                   2136: 
                   2137:     if test -s confdefs.h; then
1.7       misho    2138:       $as_echo "## ----------- ##
1.1       misho    2139: ## confdefs.h. ##
1.7       misho    2140: ## ----------- ##"
1.1       misho    2141:       echo
                   2142:       cat confdefs.h
                   2143:       echo
                   2144:     fi
                   2145:     test "$ac_signal" != 0 &&
                   2146:       $as_echo "$as_me: caught signal $ac_signal"
                   2147:     $as_echo "$as_me: exit $exit_status"
                   2148:   } >&5
                   2149:   rm -f core *.core core.conftest.* &&
                   2150:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2151:     exit $exit_status
                   2152: ' 0
                   2153: for ac_signal in 1 2 13 15; do
1.2       misho    2154:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misho    2155: done
                   2156: ac_signal=0
                   2157: 
                   2158: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2159: rm -f -r conftest* confdefs.h
                   2160: 
1.2       misho    2161: $as_echo "/* confdefs.h */" > confdefs.h
                   2162: 
1.1       misho    2163: # Predefined preprocessor variables.
                   2164: 
                   2165: cat >>confdefs.h <<_ACEOF
                   2166: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2167: _ACEOF
                   2168: 
                   2169: cat >>confdefs.h <<_ACEOF
                   2170: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2171: _ACEOF
                   2172: 
                   2173: cat >>confdefs.h <<_ACEOF
                   2174: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2175: _ACEOF
                   2176: 
                   2177: cat >>confdefs.h <<_ACEOF
                   2178: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2179: _ACEOF
                   2180: 
1.2       misho    2181: cat >>confdefs.h <<_ACEOF
                   2182: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2183: _ACEOF
1.1       misho    2184: 
                   2185: cat >>confdefs.h <<_ACEOF
1.2       misho    2186: #define PACKAGE_URL "$PACKAGE_URL"
1.1       misho    2187: _ACEOF
                   2188: 
                   2189: 
                   2190: # Let the site file select an alternate cache file if it wants to.
                   2191: # Prefer an explicitly selected file to automatically selected ones.
                   2192: ac_site_file1=NONE
                   2193: ac_site_file2=NONE
                   2194: if test -n "$CONFIG_SITE"; then
1.7       misho    2195:   # We do not want a PATH search for config.site.
                   2196:   case $CONFIG_SITE in #((
                   2197:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2198:     */*) ac_site_file1=$CONFIG_SITE;;
                   2199:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2200:   esac
1.1       misho    2201: elif test "x$prefix" != xNONE; then
                   2202:   ac_site_file1=$prefix/share/config.site
                   2203:   ac_site_file2=$prefix/etc/config.site
                   2204: else
                   2205:   ac_site_file1=$ac_default_prefix/share/config.site
                   2206:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2207: fi
                   2208: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2209: do
                   2210:   test "x$ac_site_file" = xNONE && continue
1.7       misho    2211:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1.2       misho    2212:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1.1       misho    2213: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2214:     sed 's/^/| /' "$ac_site_file" >&5
1.7       misho    2215:     . "$ac_site_file" \
                   2216:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2217: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2218: as_fn_error $? "failed to load site script $ac_site_file
                   2219: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2220:   fi
                   2221: done
                   2222: 
                   2223: if test -r "$cache_file"; then
1.7       misho    2224:   # Some versions of bash will fail to source /dev/null (special files
                   2225:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2226:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1.2       misho    2227:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1.1       misho    2228: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2229:     case $cache_file in
                   2230:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2231:       *)                      . "./$cache_file";;
                   2232:     esac
                   2233:   fi
                   2234: else
1.2       misho    2235:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1.1       misho    2236: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2237:   >$cache_file
                   2238: fi
                   2239: 
                   2240: # Check that the precious variables saved in the cache have kept the same
                   2241: # value.
                   2242: ac_cache_corrupted=false
                   2243: for ac_var in $ac_precious_vars; do
                   2244:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2245:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2246:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2247:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2248:   case $ac_old_set,$ac_new_set in
                   2249:     set,)
1.2       misho    2250:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1       misho    2251: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2252:       ac_cache_corrupted=: ;;
                   2253:     ,set)
1.2       misho    2254:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1.1       misho    2255: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2256:       ac_cache_corrupted=: ;;
                   2257:     ,);;
                   2258:     *)
                   2259:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2260:        # differences in whitespace do not lead to failure.
                   2261:        ac_old_val_w=`echo x $ac_old_val`
                   2262:        ac_new_val_w=`echo x $ac_new_val`
                   2263:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.2       misho    2264:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1.1       misho    2265: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2266:          ac_cache_corrupted=:
                   2267:        else
1.2       misho    2268:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.1       misho    2269: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2270:          eval $ac_var=\$ac_old_val
                   2271:        fi
1.2       misho    2272:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1.1       misho    2273: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1.2       misho    2274:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1.1       misho    2275: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2276:       fi;;
                   2277:   esac
                   2278:   # Pass precious variables to config.status.
                   2279:   if test "$ac_new_set" = set; then
                   2280:     case $ac_new_val in
                   2281:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2282:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2283:     esac
                   2284:     case " $ac_configure_args " in
                   2285:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.2       misho    2286:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2287:     esac
                   2288:   fi
                   2289: done
                   2290: if $ac_cache_corrupted; then
1.2       misho    2291:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2292: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2293:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1.1       misho    2294: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.7       misho    2295:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.1       misho    2296: fi
1.2       misho    2297: ## -------------------- ##
                   2298: ## Main body of script. ##
                   2299: ## -------------------- ##
1.1       misho    2300: 
1.2       misho    2301: ac_ext=c
                   2302: ac_cpp='$CPP $CPPFLAGS'
                   2303: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2304: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2305: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    2306: 
                   2307: 
                   2308: 
1.2       misho    2309: ac_config_headers="$ac_config_headers inc/config.h"
1.1       misho    2310: 
                   2311: 
1.17      misho    2312: ac_cv_func_malloc_0_nonnull="yes"
                   2313: ac_cv_func_realloc_0_nonnull="yes"
                   2314: 
1.2       misho    2315: # Checks for programs.
                   2316: ac_ext=c
                   2317: ac_cpp='$CPP $CPPFLAGS'
                   2318: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2319: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2320: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2321: if test -n "$ac_tool_prefix"; then
                   2322:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2323: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2324: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2325: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2326: if ${ac_cv_prog_CC+:} false; then :
1.2       misho    2327:   $as_echo_n "(cached) " >&6
                   2328: else
1.1       misho    2329:   if test -n "$CC"; then
                   2330:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2331: else
                   2332: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2333: for as_dir in $PATH
                   2334: do
                   2335:   IFS=$as_save_IFS
                   2336:   test -z "$as_dir" && as_dir=.
1.2       misho    2337:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2338:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2339:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.2       misho    2340:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2341:     break 2
                   2342:   fi
                   2343: done
1.2       misho    2344:   done
1.1       misho    2345: IFS=$as_save_IFS
                   2346: 
                   2347: fi
                   2348: fi
                   2349: CC=$ac_cv_prog_CC
                   2350: if test -n "$CC"; then
1.2       misho    2351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2352: $as_echo "$CC" >&6; }
                   2353: else
1.2       misho    2354:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2355: $as_echo "no" >&6; }
                   2356: fi
                   2357: 
                   2358: 
                   2359: fi
                   2360: if test -z "$ac_cv_prog_CC"; then
                   2361:   ac_ct_CC=$CC
                   2362:   # Extract the first word of "gcc", so it can be a program name with args.
                   2363: set dummy gcc; ac_word=$2
1.2       misho    2364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2365: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2366: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    2367:   $as_echo_n "(cached) " >&6
                   2368: else
                   2369:   if test -n "$ac_ct_CC"; then
                   2370:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2371: else
                   2372: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2373: for as_dir in $PATH
                   2374: do
                   2375:   IFS=$as_save_IFS
                   2376:   test -z "$as_dir" && as_dir=.
1.2       misho    2377:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2378:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2379:     ac_cv_prog_ac_ct_CC="gcc"
1.2       misho    2380:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2381:     break 2
                   2382:   fi
                   2383: done
1.2       misho    2384:   done
1.1       misho    2385: IFS=$as_save_IFS
                   2386: 
                   2387: fi
                   2388: fi
                   2389: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2390: if test -n "$ac_ct_CC"; then
1.2       misho    2391:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1       misho    2392: $as_echo "$ac_ct_CC" >&6; }
                   2393: else
1.2       misho    2394:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2395: $as_echo "no" >&6; }
                   2396: fi
                   2397: 
                   2398:   if test "x$ac_ct_CC" = x; then
                   2399:     CC=""
                   2400:   else
                   2401:     case $cross_compiling:$ac_tool_warned in
                   2402: yes:)
1.2       misho    2403: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2404: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    2405: ac_tool_warned=yes ;;
                   2406: esac
                   2407:     CC=$ac_ct_CC
                   2408:   fi
                   2409: else
                   2410:   CC="$ac_cv_prog_CC"
                   2411: fi
                   2412: 
                   2413: if test -z "$CC"; then
                   2414:           if test -n "$ac_tool_prefix"; then
                   2415:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2416: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.2       misho    2417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2418: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2419: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2420:   $as_echo_n "(cached) " >&6
                   2421: else
                   2422:   if test -n "$CC"; then
                   2423:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2424: else
                   2425: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2426: for as_dir in $PATH
                   2427: do
                   2428:   IFS=$as_save_IFS
                   2429:   test -z "$as_dir" && as_dir=.
1.2       misho    2430:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2431:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2432:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.2       misho    2433:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2434:     break 2
                   2435:   fi
                   2436: done
1.2       misho    2437:   done
1.1       misho    2438: IFS=$as_save_IFS
                   2439: 
                   2440: fi
                   2441: fi
                   2442: CC=$ac_cv_prog_CC
                   2443: if test -n "$CC"; then
1.2       misho    2444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2445: $as_echo "$CC" >&6; }
                   2446: else
1.2       misho    2447:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2448: $as_echo "no" >&6; }
                   2449: fi
                   2450: 
                   2451: 
                   2452:   fi
                   2453: fi
                   2454: if test -z "$CC"; then
                   2455:   # Extract the first word of "cc", so it can be a program name with args.
                   2456: set dummy cc; ac_word=$2
1.2       misho    2457: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2458: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2459: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2460:   $as_echo_n "(cached) " >&6
                   2461: else
                   2462:   if test -n "$CC"; then
                   2463:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2464: else
                   2465:   ac_prog_rejected=no
                   2466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2467: for as_dir in $PATH
                   2468: do
                   2469:   IFS=$as_save_IFS
                   2470:   test -z "$as_dir" && as_dir=.
1.2       misho    2471:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2472:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2473:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2474:        ac_prog_rejected=yes
                   2475:        continue
                   2476:      fi
                   2477:     ac_cv_prog_CC="cc"
1.2       misho    2478:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2479:     break 2
                   2480:   fi
                   2481: done
1.2       misho    2482:   done
1.1       misho    2483: IFS=$as_save_IFS
                   2484: 
                   2485: if test $ac_prog_rejected = yes; then
                   2486:   # We found a bogon in the path, so make sure we never use it.
                   2487:   set dummy $ac_cv_prog_CC
                   2488:   shift
                   2489:   if test $# != 0; then
                   2490:     # We chose a different compiler from the bogus one.
                   2491:     # However, it has the same basename, so the bogon will be chosen
                   2492:     # first if we set CC to just the basename; use the full file name.
                   2493:     shift
                   2494:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2495:   fi
                   2496: fi
                   2497: fi
                   2498: fi
                   2499: CC=$ac_cv_prog_CC
                   2500: if test -n "$CC"; then
1.2       misho    2501:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2502: $as_echo "$CC" >&6; }
                   2503: else
1.2       misho    2504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2505: $as_echo "no" >&6; }
                   2506: fi
                   2507: 
                   2508: 
                   2509: fi
                   2510: if test -z "$CC"; then
                   2511:   if test -n "$ac_tool_prefix"; then
                   2512:   for ac_prog in cl.exe
                   2513:   do
                   2514:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2515: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.2       misho    2516: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2517: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2518: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2519:   $as_echo_n "(cached) " >&6
                   2520: else
                   2521:   if test -n "$CC"; then
                   2522:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2523: else
                   2524: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2525: for as_dir in $PATH
                   2526: do
                   2527:   IFS=$as_save_IFS
                   2528:   test -z "$as_dir" && as_dir=.
1.2       misho    2529:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2530:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2531:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.2       misho    2532:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2533:     break 2
                   2534:   fi
                   2535: done
1.2       misho    2536:   done
1.1       misho    2537: IFS=$as_save_IFS
                   2538: 
                   2539: fi
                   2540: fi
                   2541: CC=$ac_cv_prog_CC
                   2542: if test -n "$CC"; then
1.2       misho    2543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2544: $as_echo "$CC" >&6; }
                   2545: else
1.2       misho    2546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2547: $as_echo "no" >&6; }
                   2548: fi
                   2549: 
                   2550: 
                   2551:     test -n "$CC" && break
                   2552:   done
                   2553: fi
                   2554: if test -z "$CC"; then
                   2555:   ac_ct_CC=$CC
                   2556:   for ac_prog in cl.exe
                   2557: do
                   2558:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2559: set dummy $ac_prog; ac_word=$2
1.2       misho    2560: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2561: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    2562: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    2563:   $as_echo_n "(cached) " >&6
                   2564: else
                   2565:   if test -n "$ac_ct_CC"; then
                   2566:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2567: else
                   2568: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2569: for as_dir in $PATH
                   2570: do
                   2571:   IFS=$as_save_IFS
                   2572:   test -z "$as_dir" && as_dir=.
1.2       misho    2573:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    2574:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2575:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.2       misho    2576:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2577:     break 2
                   2578:   fi
                   2579: done
1.2       misho    2580:   done
1.1       misho    2581: IFS=$as_save_IFS
                   2582: 
                   2583: fi
                   2584: fi
                   2585: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2586: if test -n "$ac_ct_CC"; then
1.2       misho    2587:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1       misho    2588: $as_echo "$ac_ct_CC" >&6; }
                   2589: else
1.2       misho    2590:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2591: $as_echo "no" >&6; }
                   2592: fi
                   2593: 
                   2594: 
                   2595:   test -n "$ac_ct_CC" && break
                   2596: done
                   2597: 
                   2598:   if test "x$ac_ct_CC" = x; then
                   2599:     CC=""
                   2600:   else
                   2601:     case $cross_compiling:$ac_tool_warned in
                   2602: yes:)
1.2       misho    2603: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2604: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    2605: ac_tool_warned=yes ;;
                   2606: esac
                   2607:     CC=$ac_ct_CC
                   2608:   fi
                   2609: fi
                   2610: 
                   2611: fi
                   2612: 
                   2613: 
1.2       misho    2614: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2615: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.7       misho    2616: as_fn_error $? "no acceptable C compiler found in \$PATH
                   2617: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2618: 
                   2619: # Provide some information about the compiler.
1.2       misho    2620: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1       misho    2621: set X $ac_compile
                   2622: ac_compiler=$2
1.2       misho    2623: for ac_option in --version -v -V -qversion; do
                   2624:   { { ac_try="$ac_compiler $ac_option >&5"
1.1       misho    2625: case "(($ac_try" in
                   2626:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2627:   *) ac_try_echo=$ac_try;;
                   2628: esac
1.2       misho    2629: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2630: $as_echo "$ac_try_echo"; } >&5
                   2631:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1       misho    2632:   ac_status=$?
1.2       misho    2633:   if test -s conftest.err; then
                   2634:     sed '10a\
                   2635: ... rest of stderr output deleted ...
                   2636:          10q' conftest.err >conftest.er1
                   2637:     cat conftest.er1 >&5
                   2638:   fi
1.7       misho    2639:   rm -f conftest.er1 conftest.err
1.2       misho    2640:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2641:   test $ac_status = 0; }
                   2642: done
1.1       misho    2643: 
1.2       misho    2644: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2645: /* end confdefs.h.  */
1.7       misho    2646: 
1.1       misho    2647: int
                   2648: main ()
                   2649: {
                   2650: 
                   2651:   ;
                   2652:   return 0;
                   2653: }
                   2654: _ACEOF
                   2655: ac_clean_files_save=$ac_clean_files
1.7       misho    2656: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misho    2657: # Try to create an executable without -o first, disregard a.out.
                   2658: # It will help us diagnose broken compilers, and finding out an intuition
                   2659: # of exeext.
1.7       misho    2660: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   2661: $as_echo_n "checking whether the C compiler works... " >&6; }
1.1       misho    2662: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2663: 
                   2664: # The possible output files:
                   2665: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2666: 
                   2667: ac_rmfiles=
                   2668: for ac_file in $ac_files
                   2669: do
                   2670:   case $ac_file in
                   2671:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2672:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2673:   esac
                   2674: done
                   2675: rm -f $ac_rmfiles
                   2676: 
1.2       misho    2677: if { { ac_try="$ac_link_default"
1.1       misho    2678: case "(($ac_try" in
                   2679:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2680:   *) ac_try_echo=$ac_try;;
                   2681: esac
1.2       misho    2682: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2683: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2684:   (eval "$ac_link_default") 2>&5
                   2685:   ac_status=$?
1.2       misho    2686:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2687:   test $ac_status = 0; }; then :
1.1       misho    2688:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2689: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2690: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2691: # so that the user can short-circuit this test for compilers unknown to
                   2692: # Autoconf.
                   2693: for ac_file in $ac_files ''
                   2694: do
                   2695:   test -f "$ac_file" || continue
                   2696:   case $ac_file in
                   2697:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   2698:        ;;
                   2699:     [ab].out )
                   2700:        # We found the default executable, but exeext='' is most
                   2701:        # certainly right.
                   2702:        break;;
                   2703:     *.* )
1.2       misho    2704:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1       misho    2705:        then :; else
                   2706:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2707:        fi
                   2708:        # We set ac_cv_exeext here because the later test for it is not
                   2709:        # safe: cross compilers may not add the suffix if given an `-o'
                   2710:        # argument, so we may need to know it at that point already.
                   2711:        # Even if this section looks crufty: it has the advantage of
                   2712:        # actually working.
                   2713:        break;;
                   2714:     * )
                   2715:        break;;
                   2716:   esac
                   2717: done
                   2718: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2719: 
                   2720: else
                   2721:   ac_file=''
                   2722: fi
1.2       misho    2723: if test -z "$ac_file"; then :
1.7       misho    2724:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2725: $as_echo "no" >&6; }
                   2726: $as_echo "$as_me: failed program was:" >&5
1.1       misho    2727: sed 's/^/| /' conftest.$ac_ext >&5
                   2728: 
1.2       misho    2729: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2730: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.7       misho    2731: as_fn_error 77 "C compiler cannot create executables
                   2732: See \`config.log' for more details" "$LINENO" 5; }
                   2733: else
                   2734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2735: $as_echo "yes" >&6; }
1.1       misho    2736: fi
1.7       misho    2737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   2738: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   2739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   2740: $as_echo "$ac_file" >&6; }
1.1       misho    2741: ac_exeext=$ac_cv_exeext
                   2742: 
1.7       misho    2743: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misho    2744: ac_clean_files=$ac_clean_files_save
1.2       misho    2745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1.1       misho    2746: $as_echo_n "checking for suffix of executables... " >&6; }
1.2       misho    2747: if { { ac_try="$ac_link"
1.1       misho    2748: case "(($ac_try" in
                   2749:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2750:   *) ac_try_echo=$ac_try;;
                   2751: esac
1.2       misho    2752: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2753: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2754:   (eval "$ac_link") 2>&5
                   2755:   ac_status=$?
1.2       misho    2756:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2757:   test $ac_status = 0; }; then :
1.1       misho    2758:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2759: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2760: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2761: # `rm'.
                   2762: for ac_file in conftest.exe conftest conftest.*; do
                   2763:   test -f "$ac_file" || continue
                   2764:   case $ac_file in
                   2765:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2766:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2767:          break;;
                   2768:     * ) break;;
                   2769:   esac
                   2770: done
                   2771: else
1.2       misho    2772:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2773: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.7       misho    2774: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   2775: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2776: fi
1.7       misho    2777: rm -f conftest conftest$ac_cv_exeext
1.2       misho    2778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1.1       misho    2779: $as_echo "$ac_cv_exeext" >&6; }
                   2780: 
                   2781: rm -f conftest.$ac_ext
                   2782: EXEEXT=$ac_cv_exeext
                   2783: ac_exeext=$EXEEXT
1.7       misho    2784: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2785: /* end confdefs.h.  */
                   2786: #include <stdio.h>
                   2787: int
                   2788: main ()
                   2789: {
                   2790: FILE *f = fopen ("conftest.out", "w");
                   2791:  return ferror (f) || fclose (f) != 0;
                   2792: 
                   2793:   ;
                   2794:   return 0;
                   2795: }
                   2796: _ACEOF
                   2797: ac_clean_files="$ac_clean_files conftest.out"
                   2798: # Check that the compiler produces executables we can run.  If not, either
                   2799: # the compiler is broken, or we cross compile.
                   2800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   2801: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   2802: if test "$cross_compiling" != yes; then
                   2803:   { { ac_try="$ac_link"
                   2804: case "(($ac_try" in
                   2805:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2806:   *) ac_try_echo=$ac_try;;
                   2807: esac
                   2808: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2809: $as_echo "$ac_try_echo"; } >&5
                   2810:   (eval "$ac_link") 2>&5
                   2811:   ac_status=$?
                   2812:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2813:   test $ac_status = 0; }
                   2814:   if { ac_try='./conftest$ac_cv_exeext'
                   2815:   { { case "(($ac_try" in
                   2816:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2817:   *) ac_try_echo=$ac_try;;
                   2818: esac
                   2819: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2820: $as_echo "$ac_try_echo"; } >&5
                   2821:   (eval "$ac_try") 2>&5
                   2822:   ac_status=$?
                   2823:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2824:   test $ac_status = 0; }; }; then
                   2825:     cross_compiling=no
                   2826:   else
                   2827:     if test "$cross_compiling" = maybe; then
                   2828:        cross_compiling=yes
                   2829:     else
                   2830:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2831: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2832: as_fn_error $? "cannot run C compiled programs.
                   2833: If you meant to cross compile, use \`--host'.
                   2834: See \`config.log' for more details" "$LINENO" 5; }
                   2835:     fi
                   2836:   fi
                   2837: fi
                   2838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   2839: $as_echo "$cross_compiling" >&6; }
                   2840: 
                   2841: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   2842: ac_clean_files=$ac_clean_files_save
1.2       misho    2843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
1.1       misho    2844: $as_echo_n "checking for suffix of object files... " >&6; }
1.7       misho    2845: if ${ac_cv_objext+:} false; then :
1.1       misho    2846:   $as_echo_n "(cached) " >&6
                   2847: else
1.2       misho    2848:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2849: /* end confdefs.h.  */
                   2850: 
                   2851: int
                   2852: main ()
                   2853: {
                   2854: 
                   2855:   ;
                   2856:   return 0;
                   2857: }
                   2858: _ACEOF
                   2859: rm -f conftest.o conftest.obj
1.2       misho    2860: if { { ac_try="$ac_compile"
1.1       misho    2861: case "(($ac_try" in
                   2862:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2863:   *) ac_try_echo=$ac_try;;
                   2864: esac
1.2       misho    2865: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2866: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2867:   (eval "$ac_compile") 2>&5
                   2868:   ac_status=$?
1.2       misho    2869:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2870:   test $ac_status = 0; }; then :
1.1       misho    2871:   for ac_file in conftest.o conftest.obj conftest.*; do
                   2872:   test -f "$ac_file" || continue;
                   2873:   case $ac_file in
                   2874:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   2875:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2876:        break;;
                   2877:   esac
                   2878: done
                   2879: else
                   2880:   $as_echo "$as_me: failed program was:" >&5
                   2881: sed 's/^/| /' conftest.$ac_ext >&5
                   2882: 
1.2       misho    2883: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2884: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.7       misho    2885: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   2886: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2887: fi
                   2888: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2889: fi
1.2       misho    2890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
1.1       misho    2891: $as_echo "$ac_cv_objext" >&6; }
                   2892: OBJEXT=$ac_cv_objext
                   2893: ac_objext=$OBJEXT
1.2       misho    2894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.1       misho    2895: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.7       misho    2896: if ${ac_cv_c_compiler_gnu+:} false; then :
1.1       misho    2897:   $as_echo_n "(cached) " >&6
                   2898: else
1.2       misho    2899:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2900: /* end confdefs.h.  */
                   2901: 
                   2902: int
                   2903: main ()
                   2904: {
                   2905: #ifndef __GNUC__
                   2906:        choke me
                   2907: #endif
                   2908: 
                   2909:   ;
                   2910:   return 0;
                   2911: }
                   2912: _ACEOF
1.2       misho    2913: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2914:   ac_compiler_gnu=yes
                   2915: else
1.2       misho    2916:   ac_compiler_gnu=no
1.1       misho    2917: fi
                   2918: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2919: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2920: 
                   2921: fi
1.2       misho    2922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.1       misho    2923: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   2924: if test $ac_compiler_gnu = yes; then
                   2925:   GCC=yes
                   2926: else
                   2927:   GCC=
                   2928: fi
                   2929: ac_test_CFLAGS=${CFLAGS+set}
                   2930: ac_save_CFLAGS=$CFLAGS
1.2       misho    2931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.1       misho    2932: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.7       misho    2933: if ${ac_cv_prog_cc_g+:} false; then :
1.1       misho    2934:   $as_echo_n "(cached) " >&6
                   2935: else
                   2936:   ac_save_c_werror_flag=$ac_c_werror_flag
                   2937:    ac_c_werror_flag=yes
                   2938:    ac_cv_prog_cc_g=no
                   2939:    CFLAGS="-g"
1.2       misho    2940:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2941: /* end confdefs.h.  */
                   2942: 
                   2943: int
                   2944: main ()
                   2945: {
                   2946: 
                   2947:   ;
                   2948:   return 0;
                   2949: }
                   2950: _ACEOF
1.2       misho    2951: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2952:   ac_cv_prog_cc_g=yes
                   2953: else
1.2       misho    2954:   CFLAGS=""
                   2955:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2956: /* end confdefs.h.  */
                   2957: 
                   2958: int
                   2959: main ()
                   2960: {
                   2961: 
                   2962:   ;
                   2963:   return 0;
                   2964: }
                   2965: _ACEOF
1.2       misho    2966: if ac_fn_c_try_compile "$LINENO"; then :
                   2967: 
1.1       misho    2968: else
1.2       misho    2969:   ac_c_werror_flag=$ac_save_c_werror_flag
1.1       misho    2970:         CFLAGS="-g"
1.2       misho    2971:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2972: /* end confdefs.h.  */
                   2973: 
                   2974: int
                   2975: main ()
                   2976: {
                   2977: 
                   2978:   ;
                   2979:   return 0;
                   2980: }
                   2981: _ACEOF
1.2       misho    2982: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2983:   ac_cv_prog_cc_g=yes
                   2984: fi
                   2985: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2986: fi
                   2987: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2988: fi
                   2989: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2990:    ac_c_werror_flag=$ac_save_c_werror_flag
                   2991: fi
1.2       misho    2992: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.1       misho    2993: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   2994: if test "$ac_test_CFLAGS" = set; then
                   2995:   CFLAGS=$ac_save_CFLAGS
                   2996: elif test $ac_cv_prog_cc_g = yes; then
                   2997:   if test "$GCC" = yes; then
                   2998:     CFLAGS="-g -O2"
                   2999:   else
                   3000:     CFLAGS="-g"
                   3001:   fi
                   3002: else
                   3003:   if test "$GCC" = yes; then
                   3004:     CFLAGS="-O2"
                   3005:   else
                   3006:     CFLAGS=
                   3007:   fi
                   3008: fi
1.2       misho    3009: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.1       misho    3010: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.7       misho    3011: if ${ac_cv_prog_cc_c89+:} false; then :
1.1       misho    3012:   $as_echo_n "(cached) " >&6
                   3013: else
                   3014:   ac_cv_prog_cc_c89=no
                   3015: ac_save_CC=$CC
1.2       misho    3016: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3017: /* end confdefs.h.  */
                   3018: #include <stdarg.h>
                   3019: #include <stdio.h>
1.12      misho    3020: struct stat;
1.1       misho    3021: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3022: struct buf { int x; };
                   3023: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3024: static char *e (p, i)
                   3025:      char **p;
                   3026:      int i;
                   3027: {
                   3028:   return p[i];
                   3029: }
                   3030: static char *f (char * (*g) (char **, int), char **p, ...)
                   3031: {
                   3032:   char *s;
                   3033:   va_list v;
                   3034:   va_start (v,p);
                   3035:   s = g (p, va_arg (v,int));
                   3036:   va_end (v);
                   3037:   return s;
                   3038: }
                   3039: 
                   3040: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3041:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3042:    These don't provoke an error unfortunately, instead are silently treated
                   3043:    as 'x'.  The following induces an error, until -std is added to get
                   3044:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3045:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3046:    that's true only with -std.  */
                   3047: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3048: 
                   3049: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3050:    inside strings and character constants.  */
                   3051: #define FOO(x) 'x'
                   3052: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3053: 
                   3054: int test (int i, double x);
                   3055: struct s1 {int (*f) (int a);};
                   3056: struct s2 {int (*f) (double a);};
                   3057: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3058: int argc;
                   3059: char **argv;
                   3060: int
                   3061: main ()
                   3062: {
                   3063: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3064:   ;
                   3065:   return 0;
                   3066: }
                   3067: _ACEOF
                   3068: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3069:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3070: do
                   3071:   CC="$ac_save_CC $ac_arg"
1.2       misho    3072:   if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3073:   ac_cv_prog_cc_c89=$ac_arg
                   3074: fi
                   3075: rm -f core conftest.err conftest.$ac_objext
                   3076:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3077: done
                   3078: rm -f conftest.$ac_ext
                   3079: CC=$ac_save_CC
                   3080: 
                   3081: fi
                   3082: # AC_CACHE_VAL
                   3083: case "x$ac_cv_prog_cc_c89" in
                   3084:   x)
1.2       misho    3085:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.1       misho    3086: $as_echo "none needed" >&6; } ;;
                   3087:   xno)
1.2       misho    3088:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.1       misho    3089: $as_echo "unsupported" >&6; } ;;
                   3090:   *)
                   3091:     CC="$CC $ac_cv_prog_cc_c89"
1.2       misho    3092:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1       misho    3093: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3094: esac
1.2       misho    3095: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    3096: 
1.2       misho    3097: fi
1.1       misho    3098: 
                   3099: ac_ext=c
                   3100: ac_cpp='$CPP $CPPFLAGS'
                   3101: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3102: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3103: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3104: 
                   3105: ac_aux_dir=
                   3106: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.7       misho    3107:   if test -f "$ac_dir/install-sh"; then
                   3108:     ac_aux_dir=$ac_dir
                   3109:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   3110:     break
                   3111:   elif test -f "$ac_dir/install.sh"; then
                   3112:     ac_aux_dir=$ac_dir
                   3113:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   3114:     break
                   3115:   elif test -f "$ac_dir/shtool"; then
                   3116:     ac_aux_dir=$ac_dir
                   3117:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   3118:     break
                   3119:   fi
1.1       misho    3120: done
                   3121: if test -z "$ac_aux_dir"; then
1.7       misho    3122:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.1       misho    3123: fi
                   3124: 
                   3125: # These three variables are undocumented and unsupported,
                   3126: # and are intended to be withdrawn in a future Autoconf release.
                   3127: # They can cause serious problems if a builder's source tree is in a directory
                   3128: # whose full name contains unusual characters.
                   3129: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   3130: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   3131: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   3132: 
                   3133: 
                   3134: # Find a good install program.  We prefer a C program (faster),
                   3135: # so one script is as good as another.  But avoid the broken or
                   3136: # incompatible versions:
                   3137: # SysV /etc/install, /usr/sbin/install
                   3138: # SunOS /usr/etc/install
                   3139: # IRIX /sbin/install
                   3140: # AIX /bin/install
                   3141: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   3142: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3143: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3144: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   3145: # OS/2's system install, which has a completely different semantic
                   3146: # ./install, which can be erroneously created by make from ./install.sh.
                   3147: # Reject install programs that cannot install multiple files.
1.2       misho    3148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1.1       misho    3149: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   3150: if test -z "$INSTALL"; then
1.7       misho    3151: if ${ac_cv_path_install+:} false; then :
1.1       misho    3152:   $as_echo_n "(cached) " >&6
                   3153: else
                   3154:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3155: for as_dir in $PATH
                   3156: do
                   3157:   IFS=$as_save_IFS
                   3158:   test -z "$as_dir" && as_dir=.
1.2       misho    3159:     # Account for people who put trailing slashes in PATH elements.
                   3160: case $as_dir/ in #((
                   3161:   ./ | .// | /[cC]/* | \
1.1       misho    3162:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.2       misho    3163:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    3164:   /usr/ucb/* ) ;;
                   3165:   *)
                   3166:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   3167:     # Don't use installbsd from OSF since it installs stuff as root
                   3168:     # by default.
                   3169:     for ac_prog in ginstall scoinst install; do
                   3170:       for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    3171:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    3172:          if test $ac_prog = install &&
                   3173:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3174:            # AIX install.  It has an incompatible calling convention.
                   3175:            :
                   3176:          elif test $ac_prog = install &&
                   3177:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3178:            # program-specific install script used by HP pwplus--don't use.
                   3179:            :
                   3180:          else
                   3181:            rm -rf conftest.one conftest.two conftest.dir
                   3182:            echo one > conftest.one
                   3183:            echo two > conftest.two
                   3184:            mkdir conftest.dir
                   3185:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   3186:              test -s conftest.one && test -s conftest.two &&
                   3187:              test -s conftest.dir/conftest.one &&
                   3188:              test -s conftest.dir/conftest.two
                   3189:            then
                   3190:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   3191:              break 3
                   3192:            fi
                   3193:          fi
                   3194:        fi
                   3195:       done
                   3196:     done
                   3197:     ;;
                   3198: esac
                   3199: 
1.2       misho    3200:   done
1.1       misho    3201: IFS=$as_save_IFS
                   3202: 
                   3203: rm -rf conftest.one conftest.two conftest.dir
                   3204: 
                   3205: fi
                   3206:   if test "${ac_cv_path_install+set}" = set; then
                   3207:     INSTALL=$ac_cv_path_install
                   3208:   else
                   3209:     # As a last resort, use the slow shell script.  Don't cache a
                   3210:     # value for INSTALL within a source directory, because that will
                   3211:     # break other packages using the cache if that directory is
                   3212:     # removed, or if the value is a relative name.
                   3213:     INSTALL=$ac_install_sh
                   3214:   fi
                   3215: fi
1.2       misho    3216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1.1       misho    3217: $as_echo "$INSTALL" >&6; }
                   3218: 
                   3219: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3220: # It thinks the first close brace ends the variable substitution.
                   3221: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3222: 
                   3223: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   3224: 
                   3225: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3226: 
                   3227: 
                   3228: # Make sure we can run config.sub.
                   3229: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.7       misho    3230:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misho    3231: 
1.2       misho    3232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1.1       misho    3233: $as_echo_n "checking build system type... " >&6; }
1.7       misho    3234: if ${ac_cv_build+:} false; then :
1.1       misho    3235:   $as_echo_n "(cached) " >&6
                   3236: else
                   3237:   ac_build_alias=$build_alias
                   3238: test "x$ac_build_alias" = x &&
                   3239:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3240: test "x$ac_build_alias" = x &&
1.7       misho    3241:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1       misho    3242: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.7       misho    3243:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1       misho    3244: 
                   3245: fi
1.2       misho    3246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1.1       misho    3247: $as_echo "$ac_cv_build" >&6; }
                   3248: case $ac_cv_build in
                   3249: *-*-*) ;;
1.7       misho    3250: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    3251: esac
                   3252: build=$ac_cv_build
                   3253: ac_save_IFS=$IFS; IFS='-'
                   3254: set x $ac_cv_build
                   3255: shift
                   3256: build_cpu=$1
                   3257: build_vendor=$2
                   3258: shift; shift
                   3259: # Remember, the first character of IFS is used to create $*,
                   3260: # except with old shells:
                   3261: build_os=$*
                   3262: IFS=$ac_save_IFS
                   3263: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3264: 
                   3265: 
1.2       misho    3266: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1.1       misho    3267: $as_echo_n "checking host system type... " >&6; }
1.7       misho    3268: if ${ac_cv_host+:} false; then :
1.1       misho    3269:   $as_echo_n "(cached) " >&6
                   3270: else
                   3271:   if test "x$host_alias" = x; then
                   3272:   ac_cv_host=$ac_cv_build
                   3273: else
                   3274:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.7       misho    3275:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misho    3276: fi
                   3277: 
                   3278: fi
1.2       misho    3279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1.1       misho    3280: $as_echo "$ac_cv_host" >&6; }
                   3281: case $ac_cv_host in
                   3282: *-*-*) ;;
1.7       misho    3283: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    3284: esac
                   3285: host=$ac_cv_host
                   3286: ac_save_IFS=$IFS; IFS='-'
                   3287: set x $ac_cv_host
                   3288: shift
                   3289: host_cpu=$1
                   3290: host_vendor=$2
                   3291: shift; shift
                   3292: # Remember, the first character of IFS is used to create $*,
                   3293: # except with old shells:
                   3294: host_os=$*
                   3295: IFS=$ac_save_IFS
                   3296: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   3297: 
                   3298: 
1.2       misho    3299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1.1       misho    3300: $as_echo_n "checking target system type... " >&6; }
1.7       misho    3301: if ${ac_cv_target+:} false; then :
1.1       misho    3302:   $as_echo_n "(cached) " >&6
                   3303: else
                   3304:   if test "x$target_alias" = x; then
                   3305:   ac_cv_target=$ac_cv_host
                   3306: else
                   3307:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.7       misho    3308:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.1       misho    3309: fi
                   3310: 
                   3311: fi
1.2       misho    3312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1.1       misho    3313: $as_echo "$ac_cv_target" >&6; }
                   3314: case $ac_cv_target in
                   3315: *-*-*) ;;
1.7       misho    3316: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.1       misho    3317: esac
                   3318: target=$ac_cv_target
                   3319: ac_save_IFS=$IFS; IFS='-'
                   3320: set x $ac_cv_target
                   3321: shift
                   3322: target_cpu=$1
                   3323: target_vendor=$2
                   3324: shift; shift
                   3325: # Remember, the first character of IFS is used to create $*,
                   3326: # except with old shells:
                   3327: target_os=$*
                   3328: IFS=$ac_save_IFS
                   3329: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   3330: 
                   3331: 
                   3332: # The aliases save the names the user supplied, while $host etc.
                   3333: # will get canonicalized.
                   3334: test -n "$target_alias" &&
                   3335:   test "$program_prefix$program_suffix$program_transform_name" = \
                   3336:     NONENONEs,x,x, &&
                   3337:   program_prefix=${target_alias}-
                   3338: 
                   3339: if test -n "$ac_tool_prefix"; then
                   3340:   # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
                   3341: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
1.2       misho    3342: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    3343: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    3344: if ${ac_cv_prog_MKDEP+:} false; then :
1.1       misho    3345:   $as_echo_n "(cached) " >&6
                   3346: else
                   3347:   if test -n "$MKDEP"; then
                   3348:   ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
                   3349: else
                   3350: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3351: for as_dir in $PATH
                   3352: do
                   3353:   IFS=$as_save_IFS
                   3354:   test -z "$as_dir" && as_dir=.
1.2       misho    3355:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    3356:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3357:     ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
1.2       misho    3358:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3359:     break 2
                   3360:   fi
                   3361: done
1.2       misho    3362:   done
1.1       misho    3363: IFS=$as_save_IFS
                   3364: 
                   3365: fi
                   3366: fi
                   3367: MKDEP=$ac_cv_prog_MKDEP
                   3368: if test -n "$MKDEP"; then
1.2       misho    3369:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5
1.1       misho    3370: $as_echo "$MKDEP" >&6; }
                   3371: else
1.2       misho    3372:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    3373: $as_echo "no" >&6; }
                   3374: fi
                   3375: 
                   3376: 
                   3377: fi
                   3378: if test -z "$ac_cv_prog_MKDEP"; then
                   3379:   ac_ct_MKDEP=$MKDEP
                   3380:   # Extract the first word of "mkdep", so it can be a program name with args.
                   3381: set dummy mkdep; ac_word=$2
1.2       misho    3382: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    3383: $as_echo_n "checking for $ac_word... " >&6; }
1.7       misho    3384: if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
1.1       misho    3385:   $as_echo_n "(cached) " >&6
                   3386: else
                   3387:   if test -n "$ac_ct_MKDEP"; then
                   3388:   ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
                   3389: else
                   3390: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3391: for as_dir in $PATH
                   3392: do
                   3393:   IFS=$as_save_IFS
                   3394:   test -z "$as_dir" && as_dir=.
1.2       misho    3395:     for ac_exec_ext in '' $ac_executable_extensions; do
1.12      misho    3396:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3397:     ac_cv_prog_ac_ct_MKDEP="mkdep"
1.2       misho    3398:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3399:     break 2
                   3400:   fi
                   3401: done
1.2       misho    3402:   done
1.1       misho    3403: IFS=$as_save_IFS
                   3404: 
                   3405: fi
                   3406: fi
                   3407: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
                   3408: if test -n "$ac_ct_MKDEP"; then
1.2       misho    3409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MKDEP" >&5
1.1       misho    3410: $as_echo "$ac_ct_MKDEP" >&6; }
                   3411: else
1.2       misho    3412:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    3413: $as_echo "no" >&6; }
                   3414: fi
                   3415: 
                   3416:   if test "x$ac_ct_MKDEP" = x; then
                   3417:     MKDEP="no"
                   3418:   else
                   3419:     case $cross_compiling:$ac_tool_warned in
                   3420: yes:)
1.2       misho    3421: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3422: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    3423: ac_tool_warned=yes ;;
                   3424: esac
                   3425:     MKDEP=$ac_ct_MKDEP
                   3426:   fi
                   3427: else
                   3428:   MKDEP="$ac_cv_prog_MKDEP"
                   3429: fi
                   3430: 
                   3431: 
                   3432: 
1.28      misho    3433: CFLAGS="-Wall -O2 -fPIC ${CFLAGS}"
                   3434: LDFLAGS="${LDFLAGS}"
1.1       misho    3435: 
                   3436: # Checks for libraries.
                   3437: 
1.15      misho    3438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
                   3439: $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
                   3440: if ${ac_cv_lib_pthread_pthread_create+:} false; then :
1.5       misho    3441:   $as_echo_n "(cached) " >&6
                   3442: else
                   3443:   ac_check_lib_save_LIBS=$LIBS
1.15      misho    3444: LIBS="-lpthread  $LIBS"
1.5       misho    3445: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3446: /* end confdefs.h.  */
                   3447: 
                   3448: /* Override any GCC internal prototype to avoid an error.
                   3449:    Use char because int might match the return type of a GCC
                   3450:    builtin and then its argument prototype would still apply.  */
                   3451: #ifdef __cplusplus
                   3452: extern "C"
                   3453: #endif
1.15      misho    3454: char pthread_create ();
1.5       misho    3455: int
                   3456: main ()
                   3457: {
1.15      misho    3458: return pthread_create ();
1.5       misho    3459:   ;
                   3460:   return 0;
                   3461: }
                   3462: _ACEOF
                   3463: if ac_fn_c_try_link "$LINENO"; then :
1.15      misho    3464:   ac_cv_lib_pthread_pthread_create=yes
1.5       misho    3465: else
1.15      misho    3466:   ac_cv_lib_pthread_pthread_create=no
1.5       misho    3467: fi
                   3468: rm -f core conftest.err conftest.$ac_objext \
                   3469:     conftest$ac_exeext conftest.$ac_ext
                   3470: LIBS=$ac_check_lib_save_LIBS
                   3471: fi
1.15      misho    3472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
                   3473: $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
                   3474: if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
1.5       misho    3475:   cat >>confdefs.h <<_ACEOF
1.15      misho    3476: #define HAVE_LIBPTHREAD 1
1.5       misho    3477: _ACEOF
                   3478: 
1.15      misho    3479:   LIBS="-lpthread $LIBS"
1.5       misho    3480: 
                   3481: fi
                   3482: 
1.15      misho    3483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for array_Init in -lelwix" >&5
                   3484: $as_echo_n "checking for array_Init in -lelwix... " >&6; }
                   3485: if ${ac_cv_lib_elwix_array_Init+:} false; then :
1.7       misho    3486:   $as_echo_n "(cached) " >&6
                   3487: else
                   3488:   ac_check_lib_save_LIBS=$LIBS
1.15      misho    3489: LIBS="-lelwix  $LIBS"
1.7       misho    3490: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3491: /* end confdefs.h.  */
                   3492: 
                   3493: /* Override any GCC internal prototype to avoid an error.
                   3494:    Use char because int might match the return type of a GCC
                   3495:    builtin and then its argument prototype would still apply.  */
                   3496: #ifdef __cplusplus
                   3497: extern "C"
                   3498: #endif
1.15      misho    3499: char array_Init ();
1.7       misho    3500: int
                   3501: main ()
                   3502: {
1.15      misho    3503: return array_Init ();
1.7       misho    3504:   ;
                   3505:   return 0;
                   3506: }
                   3507: _ACEOF
                   3508: if ac_fn_c_try_link "$LINENO"; then :
1.15      misho    3509:   ac_cv_lib_elwix_array_Init=yes
1.7       misho    3510: else
1.15      misho    3511:   ac_cv_lib_elwix_array_Init=no
1.7       misho    3512: fi
                   3513: rm -f core conftest.err conftest.$ac_objext \
                   3514:     conftest$ac_exeext conftest.$ac_ext
                   3515: LIBS=$ac_check_lib_save_LIBS
                   3516: fi
1.15      misho    3517: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_array_Init" >&5
                   3518: $as_echo "$ac_cv_lib_elwix_array_Init" >&6; }
                   3519: if test "x$ac_cv_lib_elwix_array_Init" = xyes; then :
1.7       misho    3520:   cat >>confdefs.h <<_ACEOF
1.15      misho    3521: #define HAVE_LIBELWIX 1
1.7       misho    3522: _ACEOF
                   3523: 
1.15      misho    3524:   LIBS="-lelwix $LIBS"
1.7       misho    3525: 
                   3526: fi
                   3527: 
1.15      misho    3528: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for schedInit in -laitsched" >&5
                   3529: $as_echo_n "checking for schedInit in -laitsched... " >&6; }
                   3530: if ${ac_cv_lib_aitsched_schedInit+:} false; then :
1.1       misho    3531:   $as_echo_n "(cached) " >&6
                   3532: else
                   3533:   ac_check_lib_save_LIBS=$LIBS
1.15      misho    3534: LIBS="-laitsched  $LIBS"
1.2       misho    3535: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3536: /* end confdefs.h.  */
                   3537: 
                   3538: /* Override any GCC internal prototype to avoid an error.
                   3539:    Use char because int might match the return type of a GCC
                   3540:    builtin and then its argument prototype would still apply.  */
                   3541: #ifdef __cplusplus
                   3542: extern "C"
                   3543: #endif
1.15      misho    3544: char schedInit ();
1.1       misho    3545: int
                   3546: main ()
                   3547: {
1.15      misho    3548: return schedInit ();
1.1       misho    3549:   ;
                   3550:   return 0;
                   3551: }
                   3552: _ACEOF
1.2       misho    3553: if ac_fn_c_try_link "$LINENO"; then :
1.15      misho    3554:   ac_cv_lib_aitsched_schedInit=yes
1.1       misho    3555: else
1.15      misho    3556:   ac_cv_lib_aitsched_schedInit=no
1.1       misho    3557: fi
1.2       misho    3558: rm -f core conftest.err conftest.$ac_objext \
                   3559:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    3560: LIBS=$ac_check_lib_save_LIBS
                   3561: fi
1.15      misho    3562: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitsched_schedInit" >&5
                   3563: $as_echo "$ac_cv_lib_aitsched_schedInit" >&6; }
                   3564: if test "x$ac_cv_lib_aitsched_schedInit" = xyes; then :
1.1       misho    3565:   cat >>confdefs.h <<_ACEOF
1.15      misho    3566: #define HAVE_LIBAITSCHED 1
1.1       misho    3567: _ACEOF
                   3568: 
1.15      misho    3569:   LIBS="-laitsched $LIBS"
1.4       misho    3570: 
                   3571: fi
                   3572: 
1.1       misho    3573: 
                   3574: # Checks for header files.
                   3575: ac_ext=c
                   3576: ac_cpp='$CPP $CPPFLAGS'
                   3577: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3578: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3579: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.2       misho    3580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
1.1       misho    3581: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   3582: # On Suns, sometimes $CPP names a directory.
                   3583: if test -n "$CPP" && test -d "$CPP"; then
                   3584:   CPP=
                   3585: fi
                   3586: if test -z "$CPP"; then
1.7       misho    3587:   if ${ac_cv_prog_CPP+:} false; then :
1.1       misho    3588:   $as_echo_n "(cached) " >&6
                   3589: else
                   3590:       # Double quotes because CPP needs to be expanded
                   3591:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3592:     do
                   3593:       ac_preproc_ok=false
                   3594: for ac_c_preproc_warn_flag in '' yes
                   3595: do
                   3596:   # Use a header file that comes with gcc, so configuring glibc
                   3597:   # with a fresh cross-compiler works.
                   3598:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3599:   # <limits.h> exists even on freestanding compilers.
                   3600:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3601:   # not just through cpp. "Syntax error" is here to catch this case.
1.2       misho    3602:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3603: /* end confdefs.h.  */
                   3604: #ifdef __STDC__
                   3605: # include <limits.h>
                   3606: #else
                   3607: # include <assert.h>
                   3608: #endif
                   3609:                     Syntax error
                   3610: _ACEOF
1.2       misho    3611: if ac_fn_c_try_cpp "$LINENO"; then :
                   3612: 
1.1       misho    3613: else
                   3614:   # Broken: fails on valid input.
                   3615: continue
                   3616: fi
1.7       misho    3617: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3618: 
                   3619:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3620:   # can be detected and how.
1.2       misho    3621:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3622: /* end confdefs.h.  */
                   3623: #include <ac_nonexistent.h>
                   3624: _ACEOF
1.2       misho    3625: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3626:   # Broken: success on invalid input.
                   3627: continue
                   3628: else
                   3629:   # Passes both tests.
                   3630: ac_preproc_ok=:
                   3631: break
                   3632: fi
1.7       misho    3633: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3634: 
                   3635: done
                   3636: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.7       misho    3637: rm -f conftest.i conftest.err conftest.$ac_ext
1.2       misho    3638: if $ac_preproc_ok; then :
1.1       misho    3639:   break
                   3640: fi
                   3641: 
                   3642:     done
                   3643:     ac_cv_prog_CPP=$CPP
                   3644: 
                   3645: fi
                   3646:   CPP=$ac_cv_prog_CPP
                   3647: else
                   3648:   ac_cv_prog_CPP=$CPP
                   3649: fi
1.2       misho    3650: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
1.1       misho    3651: $as_echo "$CPP" >&6; }
                   3652: ac_preproc_ok=false
                   3653: for ac_c_preproc_warn_flag in '' yes
                   3654: do
                   3655:   # Use a header file that comes with gcc, so configuring glibc
                   3656:   # with a fresh cross-compiler works.
                   3657:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3658:   # <limits.h> exists even on freestanding compilers.
                   3659:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3660:   # not just through cpp. "Syntax error" is here to catch this case.
1.2       misho    3661:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3662: /* end confdefs.h.  */
                   3663: #ifdef __STDC__
                   3664: # include <limits.h>
                   3665: #else
                   3666: # include <assert.h>
                   3667: #endif
                   3668:                     Syntax error
                   3669: _ACEOF
1.2       misho    3670: if ac_fn_c_try_cpp "$LINENO"; then :
                   3671: 
1.1       misho    3672: else
                   3673:   # Broken: fails on valid input.
                   3674: continue
                   3675: fi
1.7       misho    3676: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3677: 
                   3678:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3679:   # can be detected and how.
1.2       misho    3680:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3681: /* end confdefs.h.  */
                   3682: #include <ac_nonexistent.h>
                   3683: _ACEOF
1.2       misho    3684: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3685:   # Broken: success on invalid input.
                   3686: continue
                   3687: else
                   3688:   # Passes both tests.
                   3689: ac_preproc_ok=:
                   3690: break
                   3691: fi
1.7       misho    3692: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3693: 
                   3694: done
                   3695: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.7       misho    3696: rm -f conftest.i conftest.err conftest.$ac_ext
1.2       misho    3697: if $ac_preproc_ok; then :
                   3698: 
1.1       misho    3699: else
1.2       misho    3700:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3701: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.7       misho    3702: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   3703: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3704: fi
                   3705: 
                   3706: ac_ext=c
                   3707: ac_cpp='$CPP $CPPFLAGS'
                   3708: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3709: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3710: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3711: 
                   3712: 
1.2       misho    3713: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1.1       misho    3714: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.7       misho    3715: if ${ac_cv_path_GREP+:} false; then :
1.1       misho    3716:   $as_echo_n "(cached) " >&6
                   3717: else
                   3718:   if test -z "$GREP"; then
                   3719:   ac_path_GREP_found=false
                   3720:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3721:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3722: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3723: do
                   3724:   IFS=$as_save_IFS
                   3725:   test -z "$as_dir" && as_dir=.
1.2       misho    3726:     for ac_prog in grep ggrep; do
1.1       misho    3727:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3728:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.12      misho    3729:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    3730: # Check for GNU ac_path_GREP and select it if it is found.
                   3731:   # Check for GNU $ac_path_GREP
                   3732: case `"$ac_path_GREP" --version 2>&1` in
                   3733: *GNU*)
                   3734:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   3735: *)
                   3736:   ac_count=0
                   3737:   $as_echo_n 0123456789 >"conftest.in"
                   3738:   while :
                   3739:   do
                   3740:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3741:     mv "conftest.tmp" "conftest.in"
                   3742:     cp "conftest.in" "conftest.nl"
                   3743:     $as_echo 'GREP' >> "conftest.nl"
                   3744:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3745:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.2       misho    3746:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3747:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3748:       # Best one so far, save it but keep looking for a better one
                   3749:       ac_cv_path_GREP="$ac_path_GREP"
                   3750:       ac_path_GREP_max=$ac_count
                   3751:     fi
                   3752:     # 10*(2^10) chars as input seems more than enough
                   3753:     test $ac_count -gt 10 && break
                   3754:   done
                   3755:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3756: esac
                   3757: 
                   3758:       $ac_path_GREP_found && break 3
                   3759:     done
                   3760:   done
1.2       misho    3761:   done
1.1       misho    3762: IFS=$as_save_IFS
                   3763:   if test -z "$ac_cv_path_GREP"; then
1.7       misho    3764:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    3765:   fi
                   3766: else
                   3767:   ac_cv_path_GREP=$GREP
                   3768: fi
                   3769: 
                   3770: fi
1.2       misho    3771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1.1       misho    3772: $as_echo "$ac_cv_path_GREP" >&6; }
                   3773:  GREP="$ac_cv_path_GREP"
                   3774: 
                   3775: 
1.2       misho    3776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
1.1       misho    3777: $as_echo_n "checking for egrep... " >&6; }
1.7       misho    3778: if ${ac_cv_path_EGREP+:} false; then :
1.1       misho    3779:   $as_echo_n "(cached) " >&6
                   3780: else
                   3781:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   3782:    then ac_cv_path_EGREP="$GREP -E"
                   3783:    else
                   3784:      if test -z "$EGREP"; then
                   3785:   ac_path_EGREP_found=false
                   3786:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3787:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3788: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3789: do
                   3790:   IFS=$as_save_IFS
                   3791:   test -z "$as_dir" && as_dir=.
1.2       misho    3792:     for ac_prog in egrep; do
1.1       misho    3793:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3794:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.12      misho    3795:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    3796: # Check for GNU ac_path_EGREP and select it if it is found.
                   3797:   # Check for GNU $ac_path_EGREP
                   3798: case `"$ac_path_EGREP" --version 2>&1` in
                   3799: *GNU*)
                   3800:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   3801: *)
                   3802:   ac_count=0
                   3803:   $as_echo_n 0123456789 >"conftest.in"
                   3804:   while :
                   3805:   do
                   3806:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3807:     mv "conftest.tmp" "conftest.in"
                   3808:     cp "conftest.in" "conftest.nl"
                   3809:     $as_echo 'EGREP' >> "conftest.nl"
                   3810:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3811:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.2       misho    3812:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3813:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   3814:       # Best one so far, save it but keep looking for a better one
                   3815:       ac_cv_path_EGREP="$ac_path_EGREP"
                   3816:       ac_path_EGREP_max=$ac_count
                   3817:     fi
                   3818:     # 10*(2^10) chars as input seems more than enough
                   3819:     test $ac_count -gt 10 && break
                   3820:   done
                   3821:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3822: esac
                   3823: 
                   3824:       $ac_path_EGREP_found && break 3
                   3825:     done
                   3826:   done
1.2       misho    3827:   done
1.1       misho    3828: IFS=$as_save_IFS
                   3829:   if test -z "$ac_cv_path_EGREP"; then
1.7       misho    3830:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    3831:   fi
                   3832: else
                   3833:   ac_cv_path_EGREP=$EGREP
                   3834: fi
                   3835: 
                   3836:    fi
                   3837: fi
1.2       misho    3838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
1.1       misho    3839: $as_echo "$ac_cv_path_EGREP" >&6; }
                   3840:  EGREP="$ac_cv_path_EGREP"
                   3841: 
                   3842: 
1.2       misho    3843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1.1       misho    3844: $as_echo_n "checking for ANSI C header files... " >&6; }
1.7       misho    3845: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    3846:   $as_echo_n "(cached) " >&6
                   3847: else
1.2       misho    3848:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3849: /* end confdefs.h.  */
                   3850: #include <stdlib.h>
                   3851: #include <stdarg.h>
                   3852: #include <string.h>
                   3853: #include <float.h>
                   3854: 
                   3855: int
                   3856: main ()
                   3857: {
                   3858: 
                   3859:   ;
                   3860:   return 0;
                   3861: }
                   3862: _ACEOF
1.2       misho    3863: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3864:   ac_cv_header_stdc=yes
                   3865: else
1.2       misho    3866:   ac_cv_header_stdc=no
1.1       misho    3867: fi
                   3868: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3869: 
                   3870: if test $ac_cv_header_stdc = yes; then
                   3871:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.2       misho    3872:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3873: /* end confdefs.h.  */
                   3874: #include <string.h>
                   3875: 
                   3876: _ACEOF
                   3877: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.2       misho    3878:   $EGREP "memchr" >/dev/null 2>&1; then :
                   3879: 
1.1       misho    3880: else
                   3881:   ac_cv_header_stdc=no
                   3882: fi
                   3883: rm -f conftest*
                   3884: 
                   3885: fi
                   3886: 
                   3887: if test $ac_cv_header_stdc = yes; then
                   3888:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.2       misho    3889:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3890: /* end confdefs.h.  */
                   3891: #include <stdlib.h>
                   3892: 
                   3893: _ACEOF
                   3894: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.2       misho    3895:   $EGREP "free" >/dev/null 2>&1; then :
                   3896: 
1.1       misho    3897: else
                   3898:   ac_cv_header_stdc=no
                   3899: fi
                   3900: rm -f conftest*
                   3901: 
                   3902: fi
                   3903: 
                   3904: if test $ac_cv_header_stdc = yes; then
                   3905:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.2       misho    3906:   if test "$cross_compiling" = yes; then :
1.1       misho    3907:   :
                   3908: else
1.2       misho    3909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3910: /* end confdefs.h.  */
                   3911: #include <ctype.h>
                   3912: #include <stdlib.h>
                   3913: #if ((' ' & 0x0FF) == 0x020)
                   3914: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   3915: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   3916: #else
                   3917: # define ISLOWER(c) \
                   3918:                   (('a' <= (c) && (c) <= 'i') \
                   3919:                     || ('j' <= (c) && (c) <= 'r') \
                   3920:                     || ('s' <= (c) && (c) <= 'z'))
                   3921: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   3922: #endif
                   3923: 
                   3924: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   3925: int
                   3926: main ()
                   3927: {
                   3928:   int i;
                   3929:   for (i = 0; i < 256; i++)
                   3930:     if (XOR (islower (i), ISLOWER (i))
                   3931:        || toupper (i) != TOUPPER (i))
                   3932:       return 2;
                   3933:   return 0;
                   3934: }
                   3935: _ACEOF
1.2       misho    3936: if ac_fn_c_try_run "$LINENO"; then :
                   3937: 
1.1       misho    3938: else
1.2       misho    3939:   ac_cv_header_stdc=no
1.1       misho    3940: fi
1.2       misho    3941: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   3942:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    3943: fi
                   3944: 
                   3945: fi
                   3946: fi
1.2       misho    3947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
1.1       misho    3948: $as_echo "$ac_cv_header_stdc" >&6; }
                   3949: if test $ac_cv_header_stdc = yes; then
                   3950: 
1.2       misho    3951: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    3952: 
                   3953: fi
                   3954: 
                   3955: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   3956: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   3957:                  inttypes.h stdint.h unistd.h
1.2       misho    3958: do :
                   3959:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   3960: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   3961: "
1.7       misho    3962: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3963:   cat >>confdefs.h <<_ACEOF
                   3964: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   3965: _ACEOF
                   3966: 
                   3967: fi
                   3968: 
                   3969: done
                   3970: 
                   3971: 
                   3972: for ac_header in arpa/inet.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h
1.2       misho    3973: do :
                   3974:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   3975: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1.7       misho    3976: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3977:   cat >>confdefs.h <<_ACEOF
                   3978: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   3979: _ACEOF
                   3980: 
                   3981: fi
                   3982: 
                   3983: done
                   3984: 
                   3985: 
                   3986: # Checks for typedefs, structures, and compiler characteristics.
1.2       misho    3987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
1.1       misho    3988: $as_echo_n "checking for inline... " >&6; }
1.7       misho    3989: if ${ac_cv_c_inline+:} false; then :
1.1       misho    3990:   $as_echo_n "(cached) " >&6
                   3991: else
                   3992:   ac_cv_c_inline=no
                   3993: for ac_kw in inline __inline__ __inline; do
1.2       misho    3994:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3995: /* end confdefs.h.  */
                   3996: #ifndef __cplusplus
                   3997: typedef int foo_t;
                   3998: static $ac_kw foo_t static_foo () {return 0; }
                   3999: $ac_kw foo_t foo () {return 0; }
                   4000: #endif
                   4001: 
                   4002: _ACEOF
1.2       misho    4003: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    4004:   ac_cv_c_inline=$ac_kw
                   4005: fi
                   4006: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4007:   test "$ac_cv_c_inline" != no && break
                   4008: done
                   4009: 
                   4010: fi
1.2       misho    4011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
1.1       misho    4012: $as_echo "$ac_cv_c_inline" >&6; }
                   4013: 
                   4014: case $ac_cv_c_inline in
                   4015:   inline | yes) ;;
                   4016:   *)
                   4017:     case $ac_cv_c_inline in
                   4018:       no) ac_val=;;
                   4019:       *) ac_val=$ac_cv_c_inline;;
                   4020:     esac
                   4021:     cat >>confdefs.h <<_ACEOF
                   4022: #ifndef __cplusplus
                   4023: #define inline $ac_val
                   4024: #endif
                   4025: _ACEOF
                   4026:     ;;
                   4027: esac
                   4028: 
1.2       misho    4029: ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
                   4030: case $ac_cv_c_int16_t in #(
                   4031:   no|yes) ;; #(
                   4032:   *)
1.1       misho    4033: 
1.2       misho    4034: cat >>confdefs.h <<_ACEOF
                   4035: #define int16_t $ac_cv_c_int16_t
1.1       misho    4036: _ACEOF
1.2       misho    4037: ;;
                   4038: esac
                   4039: 
                   4040: ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
                   4041: case $ac_cv_c_int32_t in #(
                   4042:   no|yes) ;; #(
                   4043:   *)
1.1       misho    4044: 
1.2       misho    4045: cat >>confdefs.h <<_ACEOF
                   4046: #define int32_t $ac_cv_c_int32_t
1.1       misho    4047: _ACEOF
1.2       misho    4048: ;;
1.1       misho    4049: esac
                   4050: 
1.2       misho    4051: ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t"
                   4052: case $ac_cv_c_int64_t in #(
                   4053:   no|yes) ;; #(
                   4054:   *)
                   4055: 
                   4056: cat >>confdefs.h <<_ACEOF
                   4057: #define int64_t $ac_cv_c_int64_t
1.1       misho    4058: _ACEOF
1.2       misho    4059: ;;
1.1       misho    4060: esac
                   4061: 
1.2       misho    4062: ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
                   4063: case $ac_cv_c_int8_t in #(
1.1       misho    4064:   no|yes) ;; #(
                   4065:   *)
                   4066: 
                   4067: cat >>confdefs.h <<_ACEOF
                   4068: #define int8_t $ac_cv_c_int8_t
                   4069: _ACEOF
1.2       misho    4070: ;;
1.1       misho    4071: esac
                   4072: 
1.2       misho    4073: ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
                   4074: case $ac_cv_c_uint16_t in #(
                   4075:   no|yes) ;; #(
                   4076:   *)
                   4077: 
1.1       misho    4078: 
1.2       misho    4079: cat >>confdefs.h <<_ACEOF
                   4080: #define uint16_t $ac_cv_c_uint16_t
1.1       misho    4081: _ACEOF
1.2       misho    4082: ;;
                   4083:   esac
                   4084: 
                   4085: ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
                   4086: case $ac_cv_c_uint32_t in #(
                   4087:   no|yes) ;; #(
                   4088:   *)
1.1       misho    4089: 
1.2       misho    4090: $as_echo "#define _UINT32_T 1" >>confdefs.h
1.1       misho    4091: 
                   4092: 
1.2       misho    4093: cat >>confdefs.h <<_ACEOF
                   4094: #define uint32_t $ac_cv_c_uint32_t
1.1       misho    4095: _ACEOF
1.2       misho    4096: ;;
                   4097:   esac
1.1       misho    4098: 
1.2       misho    4099: ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t"
                   4100: case $ac_cv_c_uint64_t in #(
                   4101:   no|yes) ;; #(
                   4102:   *)
1.1       misho    4103: 
1.2       misho    4104: $as_echo "#define _UINT64_T 1" >>confdefs.h
1.1       misho    4105: 
                   4106: 
1.2       misho    4107: cat >>confdefs.h <<_ACEOF
                   4108: #define uint64_t $ac_cv_c_uint64_t
1.1       misho    4109: _ACEOF
1.2       misho    4110: ;;
                   4111:   esac
1.1       misho    4112: 
1.2       misho    4113: ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
                   4114: case $ac_cv_c_uint8_t in #(
                   4115:   no|yes) ;; #(
                   4116:   *)
1.1       misho    4117: 
1.2       misho    4118: $as_echo "#define _UINT8_T 1" >>confdefs.h
1.1       misho    4119: 
                   4120: 
1.2       misho    4121: cat >>confdefs.h <<_ACEOF
                   4122: #define uint8_t $ac_cv_c_uint8_t
                   4123: _ACEOF
                   4124: ;;
                   4125:   esac
1.1       misho    4126: 
                   4127: 
1.2       misho    4128: # Checks for library functions.
                   4129: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
1.7       misho    4130: if test "x$ac_cv_type_pid_t" = xyes; then :
1.1       misho    4131: 
1.2       misho    4132: else
1.1       misho    4133: 
1.2       misho    4134: cat >>confdefs.h <<_ACEOF
                   4135: #define pid_t int
                   4136: _ACEOF
1.1       misho    4137: 
1.2       misho    4138: fi
1.1       misho    4139: 
1.2       misho    4140: for ac_header in vfork.h
                   4141: do :
                   4142:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
1.7       misho    4143: if test "x$ac_cv_header_vfork_h" = xyes; then :
1.2       misho    4144:   cat >>confdefs.h <<_ACEOF
                   4145: #define HAVE_VFORK_H 1
1.1       misho    4146: _ACEOF
                   4147: 
                   4148: fi
                   4149: 
1.2       misho    4150: done
                   4151: 
                   4152: for ac_func in fork vfork
                   4153: do :
                   4154:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4155: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.7       misho    4156: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       misho    4157:   cat >>confdefs.h <<_ACEOF
                   4158: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4159: _ACEOF
                   4160: 
                   4161: fi
                   4162: done
                   4163: 
                   4164: if test "x$ac_cv_func_fork" = xyes; then
1.2       misho    4165:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
1.1       misho    4166: $as_echo_n "checking for working fork... " >&6; }
1.7       misho    4167: if ${ac_cv_func_fork_works+:} false; then :
1.1       misho    4168:   $as_echo_n "(cached) " >&6
                   4169: else
1.2       misho    4170:   if test "$cross_compiling" = yes; then :
1.1       misho    4171:   ac_cv_func_fork_works=cross
                   4172: else
1.2       misho    4173:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4174: /* end confdefs.h.  */
                   4175: $ac_includes_default
                   4176: int
                   4177: main ()
                   4178: {
                   4179: 
                   4180:          /* By Ruediger Kuhlmann. */
                   4181:          return fork () < 0;
                   4182: 
                   4183:   ;
                   4184:   return 0;
                   4185: }
                   4186: _ACEOF
1.2       misho    4187: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4188:   ac_cv_func_fork_works=yes
                   4189: else
1.2       misho    4190:   ac_cv_func_fork_works=no
1.1       misho    4191: fi
1.2       misho    4192: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4193:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4194: fi
                   4195: 
                   4196: fi
1.2       misho    4197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
1.1       misho    4198: $as_echo "$ac_cv_func_fork_works" >&6; }
                   4199: 
                   4200: else
                   4201:   ac_cv_func_fork_works=$ac_cv_func_fork
                   4202: fi
                   4203: if test "x$ac_cv_func_fork_works" = xcross; then
                   4204:   case $host in
                   4205:     *-*-amigaos* | *-*-msdosdjgpp*)
                   4206:       # Override, as these systems have only a dummy fork() stub
                   4207:       ac_cv_func_fork_works=no
                   4208:       ;;
                   4209:     *)
                   4210:       ac_cv_func_fork_works=yes
                   4211:       ;;
                   4212:   esac
1.2       misho    4213:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
1.1       misho    4214: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
                   4215: fi
                   4216: ac_cv_func_vfork_works=$ac_cv_func_vfork
                   4217: if test "x$ac_cv_func_vfork" = xyes; then
1.2       misho    4218:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
1.1       misho    4219: $as_echo_n "checking for working vfork... " >&6; }
1.7       misho    4220: if ${ac_cv_func_vfork_works+:} false; then :
1.1       misho    4221:   $as_echo_n "(cached) " >&6
                   4222: else
1.2       misho    4223:   if test "$cross_compiling" = yes; then :
1.1       misho    4224:   ac_cv_func_vfork_works=cross
                   4225: else
1.2       misho    4226:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4227: /* end confdefs.h.  */
                   4228: /* Thanks to Paul Eggert for this test.  */
                   4229: $ac_includes_default
                   4230: #include <sys/wait.h>
                   4231: #ifdef HAVE_VFORK_H
                   4232: # include <vfork.h>
                   4233: #endif
                   4234: /* On some sparc systems, changes by the child to local and incoming
                   4235:    argument registers are propagated back to the parent.  The compiler
                   4236:    is told about this with #include <vfork.h>, but some compilers
                   4237:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
                   4238:    static variable whose address is put into a register that is
                   4239:    clobbered by the vfork.  */
                   4240: static void
                   4241: #ifdef __cplusplus
                   4242: sparc_address_test (int arg)
                   4243: # else
                   4244: sparc_address_test (arg) int arg;
                   4245: #endif
                   4246: {
                   4247:   static pid_t child;
                   4248:   if (!child) {
                   4249:     child = vfork ();
                   4250:     if (child < 0) {
                   4251:       perror ("vfork");
                   4252:       _exit(2);
                   4253:     }
                   4254:     if (!child) {
                   4255:       arg = getpid();
                   4256:       write(-1, "", 0);
                   4257:       _exit (arg);
                   4258:     }
                   4259:   }
                   4260: }
                   4261: 
                   4262: int
                   4263: main ()
                   4264: {
                   4265:   pid_t parent = getpid ();
                   4266:   pid_t child;
                   4267: 
                   4268:   sparc_address_test (0);
                   4269: 
                   4270:   child = vfork ();
                   4271: 
                   4272:   if (child == 0) {
                   4273:     /* Here is another test for sparc vfork register problems.  This
                   4274:        test uses lots of local variables, at least as many local
                   4275:        variables as main has allocated so far including compiler
                   4276:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
                   4277:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
                   4278:        reuse the register of parent for one of the local variables,
                   4279:        since it will think that parent can't possibly be used any more
                   4280:        in this routine.  Assigning to the local variable will thus
                   4281:        munge parent in the parent process.  */
                   4282:     pid_t
                   4283:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
                   4284:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
                   4285:     /* Convince the compiler that p..p7 are live; otherwise, it might
                   4286:        use the same hardware register for all 8 local variables.  */
                   4287:     if (p != p1 || p != p2 || p != p3 || p != p4
                   4288:        || p != p5 || p != p6 || p != p7)
                   4289:       _exit(1);
                   4290: 
                   4291:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
                   4292:        from child file descriptors.  If the child closes a descriptor
                   4293:        before it execs or exits, this munges the parent's descriptor
                   4294:        as well.  Test for this by closing stdout in the child.  */
                   4295:     _exit(close(fileno(stdout)) != 0);
                   4296:   } else {
                   4297:     int status;
                   4298:     struct stat st;
                   4299: 
                   4300:     while (wait(&status) != child)
                   4301:       ;
                   4302:     return (
                   4303:         /* Was there some problem with vforking?  */
                   4304:         child < 0
                   4305: 
                   4306:         /* Did the child fail?  (This shouldn't happen.)  */
                   4307:         || status
                   4308: 
                   4309:         /* Did the vfork/compiler bug occur?  */
                   4310:         || parent != getpid()
                   4311: 
                   4312:         /* Did the file descriptor bug occur?  */
                   4313:         || fstat(fileno(stdout), &st) != 0
                   4314:         );
                   4315:   }
                   4316: }
                   4317: _ACEOF
1.2       misho    4318: if ac_fn_c_try_run "$LINENO"; then :
                   4319:   ac_cv_func_vfork_works=yes
1.1       misho    4320: else
1.2       misho    4321:   ac_cv_func_vfork_works=no
                   4322: fi
                   4323: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4324:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4325: fi
                   4326: 
                   4327: fi
                   4328: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
                   4329: $as_echo "$ac_cv_func_vfork_works" >&6; }
1.1       misho    4330: 
1.2       misho    4331: fi;
                   4332: if test "x$ac_cv_func_fork_works" = xcross; then
                   4333:   ac_cv_func_vfork_works=$ac_cv_func_vfork
                   4334:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
                   4335: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
1.1       misho    4336: fi
                   4337: 
1.2       misho    4338: if test "x$ac_cv_func_vfork_works" = xyes; then
                   4339: 
                   4340: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
1.1       misho    4341: 
                   4342: else
                   4343: 
1.2       misho    4344: $as_echo "#define vfork fork" >>confdefs.h
                   4345: 
1.1       misho    4346: fi
1.2       misho    4347: if test "x$ac_cv_func_fork_works" = xyes; then
1.1       misho    4348: 
1.2       misho    4349: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
1.1       misho    4350: 
                   4351: fi
                   4352: 
1.2       misho    4353: for ac_header in stdlib.h
                   4354: do :
                   4355:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
1.7       misho    4356: if test "x$ac_cv_header_stdlib_h" = xyes; then :
1.1       misho    4357:   cat >>confdefs.h <<_ACEOF
1.2       misho    4358: #define HAVE_STDLIB_H 1
1.1       misho    4359: _ACEOF
                   4360: 
                   4361: fi
                   4362: 
                   4363: done
                   4364: 
1.2       misho    4365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
1.1       misho    4366: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
1.7       misho    4367: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
1.1       misho    4368:   $as_echo_n "(cached) " >&6
                   4369: else
1.2       misho    4370:   if test "$cross_compiling" = yes; then :
1.1       misho    4371:   ac_cv_func_malloc_0_nonnull=no
                   4372: else
1.2       misho    4373:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4374: /* end confdefs.h.  */
                   4375: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   4376: # include <stdlib.h>
                   4377: #else
                   4378: char *malloc ();
                   4379: #endif
                   4380: 
                   4381: int
                   4382: main ()
                   4383: {
                   4384: return ! malloc (0);
                   4385:   ;
                   4386:   return 0;
                   4387: }
                   4388: _ACEOF
1.2       misho    4389: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4390:   ac_cv_func_malloc_0_nonnull=yes
                   4391: else
1.2       misho    4392:   ac_cv_func_malloc_0_nonnull=no
1.1       misho    4393: fi
1.2       misho    4394: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4395:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4396: fi
                   4397: 
                   4398: fi
1.2       misho    4399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
1.1       misho    4400: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
1.2       misho    4401: if test $ac_cv_func_malloc_0_nonnull = yes; then :
1.1       misho    4402: 
1.2       misho    4403: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
1.1       misho    4404: 
                   4405: else
1.2       misho    4406:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
1.1       misho    4407: 
                   4408:    case " $LIBOBJS " in
                   4409:   *" malloc.$ac_objext "* ) ;;
                   4410:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
                   4411:  ;;
                   4412: esac
                   4413: 
                   4414: 
1.2       misho    4415: $as_echo "#define malloc rpl_malloc" >>confdefs.h
1.1       misho    4416: 
                   4417: fi
                   4418: 
                   4419: 
                   4420: for ac_header in stdlib.h
1.2       misho    4421: do :
                   4422:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
1.7       misho    4423: if test "x$ac_cv_header_stdlib_h" = xyes; then :
1.1       misho    4424:   cat >>confdefs.h <<_ACEOF
1.2       misho    4425: #define HAVE_STDLIB_H 1
1.1       misho    4426: _ACEOF
                   4427: 
                   4428: fi
                   4429: 
                   4430: done
                   4431: 
1.2       misho    4432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
1.1       misho    4433: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
1.7       misho    4434: if ${ac_cv_func_realloc_0_nonnull+:} false; then :
1.1       misho    4435:   $as_echo_n "(cached) " >&6
                   4436: else
1.2       misho    4437:   if test "$cross_compiling" = yes; then :
1.1       misho    4438:   ac_cv_func_realloc_0_nonnull=no
                   4439: else
1.2       misho    4440:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    4441: /* end confdefs.h.  */
                   4442: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   4443: # include <stdlib.h>
                   4444: #else
                   4445: char *realloc ();
                   4446: #endif
                   4447: 
                   4448: int
                   4449: main ()
                   4450: {
                   4451: return ! realloc (0, 0);
                   4452:   ;
                   4453:   return 0;
                   4454: }
                   4455: _ACEOF
1.2       misho    4456: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    4457:   ac_cv_func_realloc_0_nonnull=yes
                   4458: else
1.2       misho    4459:   ac_cv_func_realloc_0_nonnull=no
1.1       misho    4460: fi
1.2       misho    4461: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4462:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    4463: fi
                   4464: 
                   4465: fi
1.2       misho    4466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
                   4467: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
                   4468: if test $ac_cv_func_realloc_0_nonnull = yes; then :
1.1       misho    4469: 
1.2       misho    4470: $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
1.1       misho    4471: 
1.2       misho    4472: else
                   4473:   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
1.1       misho    4474: 
1.2       misho    4475:    case " $LIBOBJS " in
                   4476:   *" realloc.$ac_objext "* ) ;;
                   4477:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
                   4478:  ;;
                   4479: esac
1.1       misho    4480: 
                   4481: 
1.2       misho    4482: $as_echo "#define realloc rpl_realloc" >>confdefs.h
1.1       misho    4483: 
1.2       misho    4484: fi
1.1       misho    4485: 
                   4486: 
1.2       misho    4487: for ac_func in memset select socket strdup strerror
                   4488: do :
                   4489:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4490: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.7       misho    4491: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.2       misho    4492:   cat >>confdefs.h <<_ACEOF
                   4493: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       misho    4494: _ACEOF
                   4495: 
                   4496: fi
1.2       misho    4497: done
                   4498: 
                   4499: for ac_func in srandomdev
                   4500: do :
                   4501:   ac_fn_c_check_func "$LINENO" "srandomdev" "ac_cv_func_srandomdev"
1.7       misho    4502: if test "x$ac_cv_func_srandomdev" = xyes; then :
1.2       misho    4503:   cat >>confdefs.h <<_ACEOF
                   4504: #define HAVE_SRANDOMDEV 1
                   4505: _ACEOF
1.1       misho    4506: 
                   4507: fi
1.2       misho    4508: done
                   4509: 
                   4510: for ac_func in crcFletcher16 hash_fnv1
                   4511: do :
                   4512:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4513: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.7       misho    4514: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       misho    4515:   cat >>confdefs.h <<_ACEOF
                   4516: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4517: _ACEOF
                   4518: 
                   4519: fi
                   4520: done
                   4521: 
1.4       misho    4522: for ac_func in pthread_yield
                   4523: do :
                   4524:   ac_fn_c_check_func "$LINENO" "pthread_yield" "ac_cv_func_pthread_yield"
1.7       misho    4525: if test "x$ac_cv_func_pthread_yield" = xyes; then :
1.4       misho    4526:   cat >>confdefs.h <<_ACEOF
                   4527: #define HAVE_PTHREAD_YIELD 1
                   4528: _ACEOF
                   4529: 
                   4530: fi
                   4531: done
                   4532: 
1.15      misho    4533: for ac_func in array_Init array_Destroy
1.5       misho    4534: do :
                   4535:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4536: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.7       misho    4537: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   4538:   cat >>confdefs.h <<_ACEOF
                   4539: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4540: _ACEOF
                   4541: 
                   4542: fi
                   4543: done
                   4544: 
                   4545: for ac_func in schedInit schedEnd
                   4546: do :
                   4547:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   4548: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   4549: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.5       misho    4550:   cat >>confdefs.h <<_ACEOF
                   4551: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   4552: _ACEOF
                   4553: 
                   4554: fi
                   4555: done
                   4556: 
1.1       misho    4557: 
                   4558: DEBUG=no
1.2       misho    4559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
1.1       misho    4560: $as_echo_n "checking Debug Build... " >&6; }
                   4561: # Check whether --enable-debug was given.
1.2       misho    4562: if test "${enable_debug+set}" = set; then :
1.1       misho    4563:   enableval=$enable_debug;  DEBUG=$enableval
                   4564:                case "$enableval" in
                   4565:                        yes)
                   4566: 
1.2       misho    4567: $as_echo "#define __DEBUG /**/" >>confdefs.h
1.1       misho    4568: 
                   4569:                                CFLAGS="-g ${CFLAGS}"
                   4570:                                ;;
                   4571:                        *)
                   4572: 
1.2       misho    4573: $as_echo "#define NDEBUG /**/" >>confdefs.h
1.1       misho    4574: 
                   4575:                                ;;
                   4576:                esac
                   4577: fi
                   4578: 
1.2       misho    4579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
1.1       misho    4580: $as_echo "$DEBUG" >&6; }
                   4581: 
1.12      misho    4582: CLI_RES_ZC=no
                   4583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Client zero-copy return variables" >&5
                   4584: $as_echo_n "checking Client zero-copy return variables... " >&6; }
                   4585: # Check whether --enable-cli-res-zcpy was given.
                   4586: if test "${enable_cli_res_zcpy+set}" = set; then :
                   4587:   enableval=$enable_cli_res_zcpy;  CLI_RES_ZC=$enableval
                   4588:                case "$enableval" in
                   4589:                        yes)
                   4590: 
                   4591: $as_echo "#define CLI_RES_ZCOPY /**/" >>confdefs.h
                   4592: 
                   4593:                                ;;
                   4594:                        *)
                   4595:                                ;;
                   4596:                esac
                   4597: fi
                   4598: 
                   4599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLI_RES_ZC" >&5
                   4600: $as_echo "$CLI_RES_ZC" >&6; }
                   4601: 
1.24      misho    4602: TCP_SESSION_TIMEOUT=no
                   4603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server can to do expiring for TCP sessions" >&5
                   4604: $as_echo_n "checking RPC server can to do expiring for TCP sessions... " >&6; }
                   4605: # Check whether --enable-tcp_sess_exp was given.
                   4606: if test "${enable_tcp_sess_exp+set}" = set; then :
                   4607:   enableval=$enable_tcp_sess_exp;  TCP_SESSION_TIMEOUT=$enableval
                   4608:                case "$enableval" in
                   4609:                        yes)
                   4610: 
                   4611: $as_echo "#define TCP_SESSION_TIMEOUT /**/" >>confdefs.h
                   4612: 
                   4613:                                ;;
                   4614:                        *)
                   4615:                                ;;
                   4616:                esac
                   4617: fi
                   4618: 
                   4619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCP_SESSION_TIMEOUT" >&5
                   4620: $as_echo "$TCP_SESSION_TIMEOUT" >&6; }
                   4621: 
                   4622: DEF_RPC_TIMEOUT=60
                   4623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking RPC server timeout period" >&5
                   4624: $as_echo_n "checking RPC server timeout period... " >&6; }
                   4625: 
                   4626: # Check whether --with-timeout_period was given.
                   4627: if test "${with_timeout_period+set}" = set; then :
                   4628:   withval=$with_timeout_period;  DEF_RPC_TIMEOUT=$withval
                   4629: fi
                   4630: 
                   4631: 
                   4632: cat >>confdefs.h <<_ACEOF
                   4633: #define DEF_RPC_TIMEOUT $DEF_RPC_TIMEOUT
                   4634: _ACEOF
                   4635: 
                   4636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEF_RPC_TIMEOUT" >&5
                   4637: $as_echo "$DEF_RPC_TIMEOUT" >&6; }
                   4638: 
1.25      misho    4639: 
1.1       misho    4640: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
                   4641: 
                   4642: cat >confcache <<\_ACEOF
                   4643: # This file is a shell script that caches the results of configure
                   4644: # tests run on this system so they can be shared between configure
                   4645: # scripts and configure runs, see configure's option --config-cache.
                   4646: # It is not useful on other systems.  If it contains results you don't
                   4647: # want to keep, you may remove or edit it.
                   4648: #
                   4649: # config.status only pays attention to the cache file if you give it
                   4650: # the --recheck option to rerun configure.
                   4651: #
                   4652: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   4653: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   4654: # following values.
                   4655: 
                   4656: _ACEOF
                   4657: 
                   4658: # The following way of writing the cache mishandles newlines in values,
                   4659: # but we know of no workaround that is simple, portable, and efficient.
                   4660: # So, we kill variables containing newlines.
                   4661: # Ultrix sh set writes to stderr and can't be redirected directly,
                   4662: # and sets the high bit in the cache file unless we assign to the vars.
                   4663: (
                   4664:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   4665:     eval ac_val=\$$ac_var
                   4666:     case $ac_val in #(
                   4667:     *${as_nl}*)
                   4668:       case $ac_var in #(
1.2       misho    4669:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   4670: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    4671:       esac
                   4672:       case $ac_var in #(
                   4673:       _ | IFS | as_nl) ;; #(
                   4674:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.2       misho    4675:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    4676:       esac ;;
                   4677:     esac
                   4678:   done
                   4679: 
                   4680:   (set) 2>&1 |
                   4681:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   4682:     *${as_nl}ac_space=\ *)
1.2       misho    4683:       # `set' does not quote correctly, so add quotes: double-quote
                   4684:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       misho    4685:       sed -n \
                   4686:        "s/'/'\\\\''/g;
                   4687:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   4688:       ;; #(
                   4689:     *)
                   4690:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   4691:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   4692:       ;;
                   4693:     esac |
                   4694:     sort
                   4695: ) |
                   4696:   sed '
                   4697:      /^ac_cv_env_/b end
                   4698:      t clear
                   4699:      :clear
                   4700:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   4701:      t end
                   4702:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   4703:      :end' >>confcache
                   4704: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   4705:   if test -w "$cache_file"; then
1.7       misho    4706:     if test "x$cache_file" != "x/dev/null"; then
1.2       misho    4707:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1.1       misho    4708: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.7       misho    4709:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   4710:        cat confcache >"$cache_file"
                   4711:       else
                   4712:         case $cache_file in #(
                   4713:         */* | ?:*)
                   4714:          mv -f confcache "$cache_file"$$ &&
                   4715:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   4716:         *)
                   4717:          mv -f confcache "$cache_file" ;;
                   4718:        esac
                   4719:       fi
                   4720:     fi
1.1       misho    4721:   else
1.2       misho    4722:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1.1       misho    4723: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   4724:   fi
                   4725: fi
                   4726: rm -f confcache
                   4727: 
                   4728: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   4729: # Let make expand exec_prefix.
                   4730: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   4731: 
                   4732: DEFS=-DHAVE_CONFIG_H
                   4733: 
                   4734: ac_libobjs=
                   4735: ac_ltlibobjs=
1.7       misho    4736: U=
1.1       misho    4737: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   4738:   # 1. Remove the extension, and $U if already installed.
                   4739:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   4740:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   4741:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   4742:   #    will be set to the directory where LIBOBJS objects are built.
1.2       misho    4743:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   4744:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       misho    4745: done
                   4746: LIBOBJS=$ac_libobjs
                   4747: 
                   4748: LTLIBOBJS=$ac_ltlibobjs
                   4749: 
                   4750: 
                   4751: 
1.7       misho    4752: : "${CONFIG_STATUS=./config.status}"
1.1       misho    4753: ac_write_fail=0
                   4754: ac_clean_files_save=$ac_clean_files
                   4755: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.2       misho    4756: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1.1       misho    4757: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.2       misho    4758: as_write_fail=0
                   4759: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       misho    4760: #! $SHELL
                   4761: # Generated by $as_me.
                   4762: # Run this file to recreate the current configuration.
                   4763: # Compiler output produced by configure, useful for debugging
                   4764: # configure, is in config.log if it exists.
                   4765: 
                   4766: debug=false
                   4767: ac_cs_recheck=false
                   4768: ac_cs_silent=false
1.2       misho    4769: 
1.1       misho    4770: SHELL=\${CONFIG_SHELL-$SHELL}
1.2       misho    4771: export SHELL
                   4772: _ASEOF
                   4773: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   4774: ## -------------------- ##
                   4775: ## M4sh Initialization. ##
                   4776: ## -------------------- ##
1.1       misho    4777: 
                   4778: # Be more Bourne compatible
                   4779: DUALCASE=1; export DUALCASE # for MKS sh
1.2       misho    4780: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho    4781:   emulate sh
                   4782:   NULLCMD=:
                   4783:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   4784:   # is contrary to our usage.  Disable this feature.
                   4785:   alias -g '${1+"$@"}'='"$@"'
                   4786:   setopt NO_GLOB_SUBST
                   4787: else
1.2       misho    4788:   case `(set -o) 2>/dev/null` in #(
                   4789:   *posix*) :
                   4790:     set -o posix ;; #(
                   4791:   *) :
                   4792:      ;;
1.1       misho    4793: esac
                   4794: fi
                   4795: 
                   4796: 
                   4797: as_nl='
                   4798: '
                   4799: export as_nl
                   4800: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   4801: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4802: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   4803: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.2       misho    4804: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   4805: # but without wasting forks for bash or zsh.
                   4806: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   4807:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   4808:   as_echo='print -r --'
                   4809:   as_echo_n='print -rn --'
                   4810: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1       misho    4811:   as_echo='printf %s\n'
                   4812:   as_echo_n='printf %s'
                   4813: else
                   4814:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   4815:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   4816:     as_echo_n='/usr/ucb/echo -n'
                   4817:   else
                   4818:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   4819:     as_echo_n_body='eval
                   4820:       arg=$1;
1.2       misho    4821:       case $arg in #(
1.1       misho    4822:       *"$as_nl"*)
                   4823:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   4824:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   4825:       esac;
                   4826:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   4827:     '
                   4828:     export as_echo_n_body
                   4829:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   4830:   fi
                   4831:   export as_echo_body
                   4832:   as_echo='sh -c $as_echo_body as_echo'
                   4833: fi
                   4834: 
                   4835: # The user is always right.
                   4836: if test "${PATH_SEPARATOR+set}" != set; then
                   4837:   PATH_SEPARATOR=:
                   4838:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   4839:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   4840:       PATH_SEPARATOR=';'
                   4841:   }
                   4842: fi
                   4843: 
                   4844: 
                   4845: # IFS
                   4846: # We need space, tab and new line, in precisely that order.  Quoting is
                   4847: # there to prevent editors from complaining about space-tab.
                   4848: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   4849: # splitting by setting IFS to empty value.)
                   4850: IFS=" ""       $as_nl"
                   4851: 
                   4852: # Find who we are.  Look in the path if we contain no directory separator.
1.7       misho    4853: as_myself=
1.2       misho    4854: case $0 in #((
1.1       misho    4855:   *[\\/]* ) as_myself=$0 ;;
                   4856:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4857: for as_dir in $PATH
                   4858: do
                   4859:   IFS=$as_save_IFS
                   4860:   test -z "$as_dir" && as_dir=.
1.2       misho    4861:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   4862:   done
1.1       misho    4863: IFS=$as_save_IFS
                   4864: 
                   4865:      ;;
                   4866: esac
                   4867: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   4868: # in which case we are not to be found in the path.
                   4869: if test "x$as_myself" = x; then
                   4870:   as_myself=$0
                   4871: fi
                   4872: if test ! -f "$as_myself"; then
                   4873:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.2       misho    4874:   exit 1
1.1       misho    4875: fi
                   4876: 
1.2       misho    4877: # Unset variables that we do not need and which cause bugs (e.g. in
                   4878: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   4879: # suppresses any "Segmentation fault" message there.  '((' could
                   4880: # trigger a bug in pdksh 5.2.14.
                   4881: for as_var in BASH_ENV ENV MAIL MAILPATH
                   4882: do eval test x\${$as_var+set} = xset \
                   4883:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho    4884: done
                   4885: PS1='$ '
                   4886: PS2='> '
                   4887: PS4='+ '
                   4888: 
                   4889: # NLS nuisances.
                   4890: LC_ALL=C
                   4891: export LC_ALL
                   4892: LANGUAGE=C
                   4893: export LANGUAGE
                   4894: 
1.2       misho    4895: # CDPATH.
                   4896: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   4897: 
                   4898: 
1.7       misho    4899: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   4900: # ----------------------------------------
1.2       misho    4901: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   4902: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.7       misho    4903: # script with STATUS, using 1 if that was 0.
1.2       misho    4904: as_fn_error ()
                   4905: {
1.7       misho    4906:   as_status=$1; test $as_status -eq 0 && as_status=1
                   4907:   if test "$4"; then
                   4908:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   4909:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.2       misho    4910:   fi
1.7       misho    4911:   $as_echo "$as_me: error: $2" >&2
1.2       misho    4912:   as_fn_exit $as_status
                   4913: } # as_fn_error
                   4914: 
                   4915: 
                   4916: # as_fn_set_status STATUS
                   4917: # -----------------------
                   4918: # Set $? to STATUS, without forking.
                   4919: as_fn_set_status ()
                   4920: {
                   4921:   return $1
                   4922: } # as_fn_set_status
                   4923: 
                   4924: # as_fn_exit STATUS
                   4925: # -----------------
                   4926: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   4927: as_fn_exit ()
                   4928: {
                   4929:   set +e
                   4930:   as_fn_set_status $1
                   4931:   exit $1
                   4932: } # as_fn_exit
                   4933: 
                   4934: # as_fn_unset VAR
                   4935: # ---------------
                   4936: # Portably unset VAR.
                   4937: as_fn_unset ()
                   4938: {
                   4939:   { eval $1=; unset $1;}
                   4940: }
                   4941: as_unset=as_fn_unset
                   4942: # as_fn_append VAR VALUE
                   4943: # ----------------------
                   4944: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   4945: # advantage of any shell optimizations that allow amortized linear growth over
                   4946: # repeated appends, instead of the typical quadratic growth present in naive
                   4947: # implementations.
                   4948: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   4949:   eval 'as_fn_append ()
                   4950:   {
                   4951:     eval $1+=\$2
                   4952:   }'
                   4953: else
                   4954:   as_fn_append ()
                   4955:   {
                   4956:     eval $1=\$$1\$2
                   4957:   }
                   4958: fi # as_fn_append
                   4959: 
                   4960: # as_fn_arith ARG...
                   4961: # ------------------
                   4962: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   4963: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   4964: # must be portable across $(()) and expr.
                   4965: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   4966:   eval 'as_fn_arith ()
                   4967:   {
                   4968:     as_val=$(( $* ))
                   4969:   }'
                   4970: else
                   4971:   as_fn_arith ()
                   4972:   {
                   4973:     as_val=`expr "$@" || test $? -eq 1`
                   4974:   }
                   4975: fi # as_fn_arith
                   4976: 
                   4977: 
1.1       misho    4978: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   4979:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   4980:   as_expr=expr
                   4981: else
                   4982:   as_expr=false
                   4983: fi
                   4984: 
                   4985: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   4986:   as_basename=basename
                   4987: else
                   4988:   as_basename=false
                   4989: fi
                   4990: 
1.2       misho    4991: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   4992:   as_dirname=dirname
                   4993: else
                   4994:   as_dirname=false
                   4995: fi
1.1       misho    4996: 
                   4997: as_me=`$as_basename -- "$0" ||
                   4998: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   4999:         X"$0" : 'X\(//\)$' \| \
                   5000:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   5001: $as_echo X/"$0" |
                   5002:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   5003:            s//\1/
                   5004:            q
                   5005:          }
                   5006:          /^X\/\(\/\/\)$/{
                   5007:            s//\1/
                   5008:            q
                   5009:          }
                   5010:          /^X\/\(\/\).*/{
                   5011:            s//\1/
                   5012:            q
                   5013:          }
                   5014:          s/.*/./; q'`
                   5015: 
1.2       misho    5016: # Avoid depending upon Character Ranges.
                   5017: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   5018: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   5019: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   5020: as_cr_digits='0123456789'
                   5021: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho    5022: 
                   5023: ECHO_C= ECHO_N= ECHO_T=
1.2       misho    5024: case `echo -n x` in #(((((
1.1       misho    5025: -n*)
1.2       misho    5026:   case `echo 'xy\c'` in
1.1       misho    5027:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.2       misho    5028:   xy)  ECHO_C='\c';;
                   5029:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   5030:        ECHO_T='        ';;
1.1       misho    5031:   esac;;
                   5032: *)
                   5033:   ECHO_N='-n';;
                   5034: esac
                   5035: 
                   5036: rm -f conf$$ conf$$.exe conf$$.file
                   5037: if test -d conf$$.dir; then
                   5038:   rm -f conf$$.dir/conf$$.file
                   5039: else
                   5040:   rm -f conf$$.dir
                   5041:   mkdir conf$$.dir 2>/dev/null
                   5042: fi
                   5043: if (echo >conf$$.file) 2>/dev/null; then
                   5044:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   5045:     as_ln_s='ln -s'
                   5046:     # ... but there are two gotchas:
                   5047:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   5048:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.12      misho    5049:     # In both cases, we have to default to `cp -pR'.
1.1       misho    5050:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.12      misho    5051:       as_ln_s='cp -pR'
1.1       misho    5052:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   5053:     as_ln_s=ln
                   5054:   else
1.12      misho    5055:     as_ln_s='cp -pR'
1.1       misho    5056:   fi
                   5057: else
1.12      misho    5058:   as_ln_s='cp -pR'
1.1       misho    5059: fi
                   5060: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   5061: rmdir conf$$.dir 2>/dev/null
                   5062: 
1.2       misho    5063: 
                   5064: # as_fn_mkdir_p
                   5065: # -------------
                   5066: # Create "$as_dir" as a directory, including parents if necessary.
                   5067: as_fn_mkdir_p ()
                   5068: {
                   5069: 
                   5070:   case $as_dir in #(
                   5071:   -*) as_dir=./$as_dir;;
                   5072:   esac
                   5073:   test -d "$as_dir" || eval $as_mkdir_p || {
                   5074:     as_dirs=
                   5075:     while :; do
                   5076:       case $as_dir in #(
                   5077:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   5078:       *) as_qdir=$as_dir;;
                   5079:       esac
                   5080:       as_dirs="'$as_qdir' $as_dirs"
                   5081:       as_dir=`$as_dirname -- "$as_dir" ||
                   5082: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5083:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   5084:         X"$as_dir" : 'X\(//\)$' \| \
                   5085:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   5086: $as_echo X"$as_dir" |
                   5087:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   5088:            s//\1/
                   5089:            q
                   5090:          }
                   5091:          /^X\(\/\/\)[^/].*/{
                   5092:            s//\1/
                   5093:            q
                   5094:          }
                   5095:          /^X\(\/\/\)$/{
                   5096:            s//\1/
                   5097:            q
                   5098:          }
                   5099:          /^X\(\/\).*/{
                   5100:            s//\1/
                   5101:            q
                   5102:          }
                   5103:          s/.*/./; q'`
                   5104:       test -d "$as_dir" && break
                   5105:     done
                   5106:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.7       misho    5107:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.2       misho    5108: 
                   5109: 
                   5110: } # as_fn_mkdir_p
1.1       misho    5111: if mkdir -p . 2>/dev/null; then
1.2       misho    5112:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho    5113: else
                   5114:   test -d ./-p && rmdir ./-p
                   5115:   as_mkdir_p=false
                   5116: fi
                   5117: 
1.12      misho    5118: 
                   5119: # as_fn_executable_p FILE
                   5120: # -----------------------
                   5121: # Test if FILE is an executable regular file.
                   5122: as_fn_executable_p ()
                   5123: {
                   5124:   test -f "$1" && test -x "$1"
                   5125: } # as_fn_executable_p
                   5126: as_test_x='test -x'
                   5127: as_executable_p=as_fn_executable_p
1.1       misho    5128: 
                   5129: # Sed expression to map a string onto a valid CPP name.
                   5130: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   5131: 
                   5132: # Sed expression to map a string onto a valid variable name.
                   5133: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   5134: 
                   5135: 
                   5136: exec 6>&1
1.2       misho    5137: ## ----------------------------------- ##
                   5138: ## Main body of $CONFIG_STATUS script. ##
                   5139: ## ----------------------------------- ##
                   5140: _ASEOF
                   5141: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misho    5142: 
1.2       misho    5143: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5144: # Save the log message, to keep $0 and so on meaningful, and to
1.1       misho    5145: # report actual input values of CONFIG_FILES etc. instead of their
                   5146: # values after options handling.
                   5147: ac_log="
1.33.2.1! misho    5148: This file was extended by libaitrpc $as_me 8.1, which was
1.12      misho    5149: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    5150: 
                   5151:   CONFIG_FILES    = $CONFIG_FILES
                   5152:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   5153:   CONFIG_LINKS    = $CONFIG_LINKS
                   5154:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   5155:   $ $0 $@
                   5156: 
                   5157: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   5158: "
                   5159: 
                   5160: _ACEOF
                   5161: 
1.2       misho    5162: case $ac_config_files in *"
                   5163: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   5164: esac
                   5165: 
                   5166: case $ac_config_headers in *"
                   5167: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   5168: esac
                   5169: 
                   5170: 
1.1       misho    5171: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5172: # Files that config.status was made for.
                   5173: config_files="$ac_config_files"
                   5174: config_headers="$ac_config_headers"
                   5175: 
                   5176: _ACEOF
                   5177: 
                   5178: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5179: ac_cs_usage="\
1.2       misho    5180: \`$as_me' instantiates files and other configuration actions
                   5181: from templates according to the current configuration.  Unless the files
                   5182: and actions are specified as TAGs, all are instantiated by default.
1.1       misho    5183: 
1.2       misho    5184: Usage: $0 [OPTION]... [TAG]...
1.1       misho    5185: 
                   5186:   -h, --help       print this help, then exit
                   5187:   -V, --version    print version number and configuration settings, then exit
1.7       misho    5188:       --config     print configuration, then exit
1.2       misho    5189:   -q, --quiet, --silent
                   5190:                    do not print progress messages
1.1       misho    5191:   -d, --debug      don't remove temporary files
                   5192:       --recheck    update $as_me by reconfiguring in the same conditions
1.2       misho    5193:       --file=FILE[:TEMPLATE]
1.1       misho    5194:                    instantiate the configuration file FILE
1.2       misho    5195:       --header=FILE[:TEMPLATE]
1.1       misho    5196:                    instantiate the configuration header FILE
                   5197: 
                   5198: Configuration files:
                   5199: $config_files
                   5200: 
                   5201: Configuration headers:
                   5202: $config_headers
                   5203: 
1.5       misho    5204: Report bugs to <misho@elwix.org>."
1.1       misho    5205: 
                   5206: _ACEOF
                   5207: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.7       misho    5208: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       misho    5209: ac_cs_version="\\
1.33.2.1! misho    5210: libaitrpc config.status 8.1
1.12      misho    5211: configured by $0, generated by GNU Autoconf 2.69,
1.7       misho    5212:   with options \\"\$ac_cs_config\\"
1.1       misho    5213: 
1.12      misho    5214: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    5215: This config.status script is free software; the Free Software Foundation
                   5216: gives unlimited permission to copy, distribute and modify it."
                   5217: 
                   5218: ac_pwd='$ac_pwd'
                   5219: srcdir='$srcdir'
                   5220: INSTALL='$INSTALL'
                   5221: test -n "\$AWK" || AWK=awk
                   5222: _ACEOF
                   5223: 
                   5224: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5225: # The default lists apply if the user does not specify any file.
                   5226: ac_need_defaults=:
                   5227: while test $# != 0
                   5228: do
                   5229:   case $1 in
1.7       misho    5230:   --*=?*)
1.1       misho    5231:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   5232:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   5233:     ac_shift=:
                   5234:     ;;
1.7       misho    5235:   --*=)
                   5236:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   5237:     ac_optarg=
                   5238:     ac_shift=:
                   5239:     ;;
1.1       misho    5240:   *)
                   5241:     ac_option=$1
                   5242:     ac_optarg=$2
                   5243:     ac_shift=shift
                   5244:     ;;
                   5245:   esac
                   5246: 
                   5247:   case $ac_option in
                   5248:   # Handling of the options.
                   5249:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   5250:     ac_cs_recheck=: ;;
                   5251:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   5252:     $as_echo "$ac_cs_version"; exit ;;
1.7       misho    5253:   --config | --confi | --conf | --con | --co | --c )
                   5254:     $as_echo "$ac_cs_config"; exit ;;
1.1       misho    5255:   --debug | --debu | --deb | --de | --d | -d )
                   5256:     debug=: ;;
                   5257:   --file | --fil | --fi | --f )
                   5258:     $ac_shift
                   5259:     case $ac_optarg in
                   5260:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.7       misho    5261:     '') as_fn_error $? "missing file argument" ;;
1.1       misho    5262:     esac
1.2       misho    5263:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       misho    5264:     ac_need_defaults=false;;
                   5265:   --header | --heade | --head | --hea )
                   5266:     $ac_shift
                   5267:     case $ac_optarg in
                   5268:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   5269:     esac
1.2       misho    5270:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       misho    5271:     ac_need_defaults=false;;
                   5272:   --he | --h)
                   5273:     # Conflict between --help and --header
1.7       misho    5274:     as_fn_error $? "ambiguous option: \`$1'
1.2       misho    5275: Try \`$0 --help' for more information.";;
1.1       misho    5276:   --help | --hel | -h )
                   5277:     $as_echo "$ac_cs_usage"; exit ;;
                   5278:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   5279:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   5280:     ac_cs_silent=: ;;
                   5281: 
                   5282:   # This is an error.
1.7       misho    5283:   -*) as_fn_error $? "unrecognized option: \`$1'
1.2       misho    5284: Try \`$0 --help' for more information." ;;
1.1       misho    5285: 
1.2       misho    5286:   *) as_fn_append ac_config_targets " $1"
1.1       misho    5287:      ac_need_defaults=false ;;
                   5288: 
                   5289:   esac
                   5290:   shift
                   5291: done
                   5292: 
                   5293: ac_configure_extra_args=
                   5294: 
                   5295: if $ac_cs_silent; then
                   5296:   exec 6>/dev/null
                   5297:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   5298: fi
                   5299: 
                   5300: _ACEOF
                   5301: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5302: if \$ac_cs_recheck; then
1.12      misho    5303:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    5304:   shift
                   5305:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   5306:   CONFIG_SHELL='$SHELL'
                   5307:   export CONFIG_SHELL
                   5308:   exec "\$@"
                   5309: fi
                   5310: 
                   5311: _ACEOF
                   5312: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5313: exec 5>>config.log
                   5314: {
                   5315:   echo
                   5316:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   5317: ## Running $as_me. ##
                   5318: _ASBOX
                   5319:   $as_echo "$ac_log"
                   5320: } >&5
                   5321: 
                   5322: _ACEOF
                   5323: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5324: _ACEOF
                   5325: 
                   5326: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5327: 
                   5328: # Handling of arguments.
                   5329: for ac_config_target in $ac_config_targets
                   5330: do
                   5331:   case $ac_config_target in
                   5332:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
                   5333:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   5334:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
                   5335:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   5336:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   5337: 
1.7       misho    5338:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    5339:   esac
                   5340: done
                   5341: 
                   5342: 
                   5343: # If the user did not use the arguments to specify the items to instantiate,
                   5344: # then the envvar interface is used.  Set only those that are not.
                   5345: # We use the long form for the default assignment because of an extremely
                   5346: # bizarre bug on SunOS 4.1.3.
                   5347: if $ac_need_defaults; then
                   5348:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   5349:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   5350: fi
                   5351: 
                   5352: # Have a temporary directory for convenience.  Make it in the build tree
                   5353: # simply because there is no reason against having it here, and in addition,
                   5354: # creating and moving files from /tmp can sometimes cause problems.
                   5355: # Hook for its removal unless debugging.
                   5356: # Note that there is a small window in which the directory will not be cleaned:
                   5357: # after its creation but before its name has been assigned to `$tmp'.
                   5358: $debug ||
                   5359: {
1.7       misho    5360:   tmp= ac_tmp=
1.1       misho    5361:   trap 'exit_status=$?
1.7       misho    5362:   : "${ac_tmp:=$tmp}"
                   5363:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    5364: ' 0
1.2       misho    5365:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    5366: }
                   5367: # Create a (secure) tmp directory for tmp files.
                   5368: 
                   5369: {
                   5370:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.7       misho    5371:   test -d "$tmp"
1.1       misho    5372: }  ||
                   5373: {
                   5374:   tmp=./conf$$-$RANDOM
                   5375:   (umask 077 && mkdir "$tmp")
1.7       misho    5376: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   5377: ac_tmp=$tmp
1.1       misho    5378: 
                   5379: # Set up the scripts for CONFIG_FILES section.
                   5380: # No need to generate them if there are no CONFIG_FILES.
                   5381: # This happens for instance with `./config.status config.h'.
                   5382: if test -n "$CONFIG_FILES"; then
                   5383: 
                   5384: 
1.2       misho    5385: ac_cr=`echo X | tr X '\015'`
                   5386: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   5387: # But we know of no other shell where ac_cr would be empty at this
                   5388: # point, so we can use a bashism as a fallback.
                   5389: if test "x$ac_cr" = x; then
                   5390:   eval ac_cr=\$\'\\r\'
                   5391: fi
1.1       misho    5392: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   5393: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.7       misho    5394:   ac_cs_awk_cr='\\r'
1.1       misho    5395: else
                   5396:   ac_cs_awk_cr=$ac_cr
                   5397: fi
                   5398: 
1.7       misho    5399: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    5400: _ACEOF
                   5401: 
                   5402: 
                   5403: {
                   5404:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   5405:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   5406:   echo "_ACEOF"
                   5407: } >conf$$subs.sh ||
1.7       misho    5408:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   5409: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    5410: ac_delim='%!_!# '
                   5411: for ac_last_try in false false false false false :; do
                   5412:   . ./conf$$subs.sh ||
1.7       misho    5413:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    5414: 
1.2       misho    5415:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   5416:   if test $ac_delim_n = $ac_delim_num; then
1.1       misho    5417:     break
                   5418:   elif $ac_last_try; then
1.7       misho    5419:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    5420:   else
                   5421:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   5422:   fi
                   5423: done
                   5424: rm -f conf$$subs.sh
                   5425: 
                   5426: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.7       misho    5427: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    5428: _ACEOF
                   5429: sed -n '
                   5430: h
                   5431: s/^/S["/; s/!.*/"]=/
                   5432: p
                   5433: g
                   5434: s/^[^!]*!//
                   5435: :repl
                   5436: t repl
                   5437: s/'"$ac_delim"'$//
                   5438: t delim
                   5439: :nl
                   5440: h
1.7       misho    5441: s/\(.\{148\}\)..*/\1/
1.1       misho    5442: t more1
                   5443: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   5444: p
                   5445: n
                   5446: b repl
                   5447: :more1
                   5448: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   5449: p
                   5450: g
                   5451: s/.\{148\}//
                   5452: t nl
                   5453: :delim
                   5454: h
1.7       misho    5455: s/\(.\{148\}\)..*/\1/
1.1       misho    5456: t more2
                   5457: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   5458: p
                   5459: b
                   5460: :more2
                   5461: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   5462: p
                   5463: g
                   5464: s/.\{148\}//
                   5465: t delim
                   5466: ' <conf$$subs.awk | sed '
                   5467: /^[^""]/{
                   5468:   N
                   5469:   s/\n//
                   5470: }
                   5471: ' >>$CONFIG_STATUS || ac_write_fail=1
                   5472: rm -f conf$$subs.awk
                   5473: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5474: _ACAWK
1.7       misho    5475: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.1       misho    5476:   for (key in S) S_is_set[key] = 1
                   5477:   FS = ""
                   5478: 
                   5479: }
                   5480: {
                   5481:   line = $ 0
                   5482:   nfields = split(line, field, "@")
                   5483:   substed = 0
                   5484:   len = length(field[1])
                   5485:   for (i = 2; i < nfields; i++) {
                   5486:     key = field[i]
                   5487:     keylen = length(key)
                   5488:     if (S_is_set[key]) {
                   5489:       value = S[key]
                   5490:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   5491:       len += length(value) + length(field[++i])
                   5492:       substed = 1
                   5493:     } else
                   5494:       len += 1 + keylen
                   5495:   }
                   5496: 
                   5497:   print line
                   5498: }
                   5499: 
                   5500: _ACAWK
                   5501: _ACEOF
                   5502: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5503: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   5504:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   5505: else
                   5506:   cat
1.7       misho    5507: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   5508:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1       misho    5509: _ACEOF
                   5510: 
1.7       misho    5511: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   5512: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    5513: # trailing colons and then remove the whole line if VPATH becomes empty
                   5514: # (actually we leave an empty line to preserve line numbers).
                   5515: if test "x$srcdir" = x.; then
1.7       misho    5516:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   5517: h
                   5518: s///
                   5519: s/^/:/
                   5520: s/[     ]*$/:/
                   5521: s/:\$(srcdir):/:/g
                   5522: s/:\${srcdir}:/:/g
                   5523: s/:@srcdir@:/:/g
                   5524: s/^:*//
1.1       misho    5525: s/:*$//
1.7       misho    5526: x
                   5527: s/\(=[  ]*\).*/\1/
                   5528: G
                   5529: s/\n//
1.1       misho    5530: s/^[^=]*=[      ]*$//
                   5531: }'
                   5532: fi
                   5533: 
                   5534: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5535: fi # test -n "$CONFIG_FILES"
                   5536: 
                   5537: # Set up the scripts for CONFIG_HEADERS section.
                   5538: # No need to generate them if there are no CONFIG_HEADERS.
                   5539: # This happens for instance with `./config.status Makefile'.
                   5540: if test -n "$CONFIG_HEADERS"; then
1.7       misho    5541: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1       misho    5542: BEGIN {
                   5543: _ACEOF
                   5544: 
                   5545: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   5546: # here-document in config.status, that substitutes the proper values into
                   5547: # config.h.in to produce config.h.
                   5548: 
                   5549: # Create a delimiter string that does not exist in confdefs.h, to ease
                   5550: # handling of long lines.
                   5551: ac_delim='%!_!# '
                   5552: for ac_last_try in false false :; do
1.7       misho    5553:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   5554:   if test -z "$ac_tt"; then
1.1       misho    5555:     break
                   5556:   elif $ac_last_try; then
1.7       misho    5557:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.1       misho    5558:   else
                   5559:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   5560:   fi
                   5561: done
                   5562: 
                   5563: # For the awk script, D is an array of macro values keyed by name,
                   5564: # likewise P contains macro parameters if any.  Preserve backslash
                   5565: # newline sequences.
                   5566: 
                   5567: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   5568: sed -n '
                   5569: s/.\{148\}/&'"$ac_delim"'/g
                   5570: t rset
                   5571: :rset
                   5572: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   5573: t def
                   5574: d
                   5575: :def
                   5576: s/\\$//
                   5577: t bsnl
                   5578: s/["\\]/\\&/g
                   5579: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   5580: D["\1"]=" \3"/p
                   5581: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   5582: d
                   5583: :bsnl
                   5584: s/["\\]/\\&/g
                   5585: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   5586: D["\1"]=" \3\\\\\\n"\\/p
                   5587: t cont
                   5588: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   5589: t cont
                   5590: d
                   5591: :cont
                   5592: n
                   5593: s/.\{148\}/&'"$ac_delim"'/g
                   5594: t clear
                   5595: :clear
                   5596: s/\\$//
                   5597: t bsnlc
                   5598: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   5599: d
                   5600: :bsnlc
                   5601: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   5602: b cont
                   5603: ' <confdefs.h | sed '
                   5604: s/'"$ac_delim"'/"\\\
                   5605: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   5606: 
                   5607: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5608:   for (key in D) D_is_set[key] = 1
                   5609:   FS = ""
                   5610: }
                   5611: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   5612:   line = \$ 0
                   5613:   split(line, arg, " ")
                   5614:   if (arg[1] == "#") {
                   5615:     defundef = arg[2]
                   5616:     mac1 = arg[3]
                   5617:   } else {
                   5618:     defundef = substr(arg[1], 2)
                   5619:     mac1 = arg[2]
                   5620:   }
                   5621:   split(mac1, mac2, "(") #)
                   5622:   macro = mac2[1]
1.2       misho    5623:   prefix = substr(line, 1, index(line, defundef) - 1)
1.1       misho    5624:   if (D_is_set[macro]) {
                   5625:     # Preserve the white space surrounding the "#".
                   5626:     print prefix "define", macro P[macro] D[macro]
                   5627:     next
                   5628:   } else {
                   5629:     # Replace #undef with comments.  This is necessary, for example,
                   5630:     # in the case of _POSIX_SOURCE, which is predefined and required
                   5631:     # on some systems where configure will not decide to define it.
                   5632:     if (defundef == "undef") {
1.2       misho    5633:       print "/*", prefix defundef, macro, "*/"
1.1       misho    5634:       next
                   5635:     }
                   5636:   }
                   5637: }
                   5638: { print }
                   5639: _ACAWK
                   5640: _ACEOF
                   5641: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.7       misho    5642:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.1       misho    5643: fi # test -n "$CONFIG_HEADERS"
                   5644: 
                   5645: 
                   5646: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   5647: shift
                   5648: for ac_tag
                   5649: do
                   5650:   case $ac_tag in
                   5651:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   5652:   esac
                   5653:   case $ac_mode$ac_tag in
                   5654:   :[FHL]*:*);;
1.7       misho    5655:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    5656:   :[FH]-) ac_tag=-:-;;
                   5657:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   5658:   esac
                   5659:   ac_save_IFS=$IFS
                   5660:   IFS=:
                   5661:   set x $ac_tag
                   5662:   IFS=$ac_save_IFS
                   5663:   shift
                   5664:   ac_file=$1
                   5665:   shift
                   5666: 
                   5667:   case $ac_mode in
                   5668:   :L) ac_source=$1;;
                   5669:   :[FH])
                   5670:     ac_file_inputs=
                   5671:     for ac_f
                   5672:     do
                   5673:       case $ac_f in
1.7       misho    5674:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    5675:       *) # Look for the file first in the build tree, then in the source tree
                   5676:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   5677:         # because $ac_f cannot contain `:'.
                   5678:         test -f "$ac_f" ||
                   5679:           case $ac_f in
                   5680:           [\\/$]*) false;;
                   5681:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   5682:           esac ||
1.7       misho    5683:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    5684:       esac
                   5685:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.2       misho    5686:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       misho    5687:     done
                   5688: 
                   5689:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   5690:     # use $as_me), people would be surprised to read:
                   5691:     #    /* config.h.  Generated by config.status.  */
                   5692:     configure_input='Generated from '`
                   5693:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   5694:        `' by configure.'
                   5695:     if test x"$ac_file" != x-; then
                   5696:       configure_input="$ac_file.  $configure_input"
1.2       misho    5697:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1.1       misho    5698: $as_echo "$as_me: creating $ac_file" >&6;}
                   5699:     fi
                   5700:     # Neutralize special characters interpreted by sed in replacement strings.
                   5701:     case $configure_input in #(
                   5702:     *\&* | *\|* | *\\* )
                   5703:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   5704:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   5705:     *) ac_sed_conf_input=$configure_input;;
                   5706:     esac
                   5707: 
                   5708:     case $ac_tag in
1.7       misho    5709:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   5710:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    5711:     esac
                   5712:     ;;
                   5713:   esac
                   5714: 
                   5715:   ac_dir=`$as_dirname -- "$ac_file" ||
                   5716: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   5717:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   5718:         X"$ac_file" : 'X\(//\)$' \| \
                   5719:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   5720: $as_echo X"$ac_file" |
                   5721:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   5722:            s//\1/
                   5723:            q
                   5724:          }
                   5725:          /^X\(\/\/\)[^/].*/{
                   5726:            s//\1/
                   5727:            q
                   5728:          }
                   5729:          /^X\(\/\/\)$/{
                   5730:            s//\1/
                   5731:            q
                   5732:          }
                   5733:          /^X\(\/\).*/{
                   5734:            s//\1/
                   5735:            q
                   5736:          }
                   5737:          s/.*/./; q'`
1.2       misho    5738:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misho    5739:   ac_builddir=.
                   5740: 
                   5741: case "$ac_dir" in
                   5742: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   5743: *)
                   5744:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   5745:   # A ".." for each directory in $ac_dir_suffix.
                   5746:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   5747:   case $ac_top_builddir_sub in
                   5748:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   5749:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   5750:   esac ;;
                   5751: esac
                   5752: ac_abs_top_builddir=$ac_pwd
                   5753: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   5754: # for backward compatibility:
                   5755: ac_top_builddir=$ac_top_build_prefix
                   5756: 
                   5757: case $srcdir in
                   5758:   .)  # We are building in place.
                   5759:     ac_srcdir=.
                   5760:     ac_top_srcdir=$ac_top_builddir_sub
                   5761:     ac_abs_top_srcdir=$ac_pwd ;;
                   5762:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   5763:     ac_srcdir=$srcdir$ac_dir_suffix;
                   5764:     ac_top_srcdir=$srcdir
                   5765:     ac_abs_top_srcdir=$srcdir ;;
                   5766:   *) # Relative name.
                   5767:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   5768:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   5769:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   5770: esac
                   5771: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   5772: 
                   5773: 
                   5774:   case $ac_mode in
                   5775:   :F)
                   5776:   #
                   5777:   # CONFIG_FILE
                   5778:   #
                   5779: 
                   5780:   case $INSTALL in
                   5781:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   5782:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   5783:   esac
                   5784: _ACEOF
                   5785: 
                   5786: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5787: # If the template does not know about datarootdir, expand it.
                   5788: # FIXME: This hack should be removed a few years after 2.60.
                   5789: ac_datarootdir_hack=; ac_datarootdir_seen=
                   5790: ac_sed_dataroot='
                   5791: /datarootdir/ {
                   5792:   p
                   5793:   q
                   5794: }
                   5795: /@datadir@/p
                   5796: /@docdir@/p
                   5797: /@infodir@/p
                   5798: /@localedir@/p
1.2       misho    5799: /@mandir@/p'
1.1       misho    5800: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   5801: *datarootdir*) ac_datarootdir_seen=yes;;
                   5802: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.2       misho    5803:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.1       misho    5804: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   5805: _ACEOF
                   5806: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5807:   ac_datarootdir_hack='
                   5808:   s&@datadir@&$datadir&g
                   5809:   s&@docdir@&$docdir&g
                   5810:   s&@infodir@&$infodir&g
                   5811:   s&@localedir@&$localedir&g
                   5812:   s&@mandir@&$mandir&g
1.2       misho    5813:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       misho    5814: esac
                   5815: _ACEOF
                   5816: 
                   5817: # Neutralize VPATH when `$srcdir' = `.'.
                   5818: # Shell code in configure.ac might set extrasub.
                   5819: # FIXME: do we really want to maintain this feature?
                   5820: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5821: ac_sed_extra="$ac_vpsub
                   5822: $extrasub
                   5823: _ACEOF
                   5824: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   5825: :t
                   5826: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   5827: s|@configure_input@|$ac_sed_conf_input|;t t
                   5828: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   5829: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   5830: s&@srcdir@&$ac_srcdir&;t t
                   5831: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   5832: s&@top_srcdir@&$ac_top_srcdir&;t t
                   5833: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   5834: s&@builddir@&$ac_builddir&;t t
                   5835: s&@abs_builddir@&$ac_abs_builddir&;t t
                   5836: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   5837: s&@INSTALL@&$ac_INSTALL&;t t
                   5838: $ac_datarootdir_hack
                   5839: "
1.7       misho    5840: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   5841:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5842: 
                   5843: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.7       misho    5844:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   5845:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   5846:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.2       misho    5847:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.7       misho    5848: which seems to be undefined.  Please make sure it is defined" >&5
1.1       misho    5849: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.7       misho    5850: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    5851: 
1.7       misho    5852:   rm -f "$ac_tmp/stdin"
1.1       misho    5853:   case $ac_file in
1.7       misho    5854:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   5855:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1       misho    5856:   esac \
1.7       misho    5857:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5858:  ;;
                   5859:   :H)
                   5860:   #
                   5861:   # CONFIG_HEADER
                   5862:   #
                   5863:   if test x"$ac_file" != x-; then
                   5864:     {
                   5865:       $as_echo "/* $configure_input  */" \
1.7       misho    5866:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   5867:     } >"$ac_tmp/config.h" \
                   5868:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   5869:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.2       misho    5870:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1.1       misho    5871: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   5872:     else
                   5873:       rm -f "$ac_file"
1.7       misho    5874:       mv "$ac_tmp/config.h" "$ac_file" \
                   5875:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5876:     fi
                   5877:   else
                   5878:     $as_echo "/* $configure_input  */" \
1.7       misho    5879:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   5880:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    5881:   fi
                   5882:  ;;
                   5883: 
                   5884: 
                   5885:   esac
                   5886: 
                   5887: done # for ac_tag
                   5888: 
                   5889: 
1.2       misho    5890: as_fn_exit 0
1.1       misho    5891: _ACEOF
                   5892: ac_clean_files=$ac_clean_files_save
                   5893: 
                   5894: test $ac_write_fail = 0 ||
1.7       misho    5895:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.1       misho    5896: 
                   5897: 
                   5898: # configure is writing to config.log, and then calls config.status.
                   5899: # config.status does its own redirection, appending to config.log.
                   5900: # Unfortunately, on DOS this fails, as config.log is still kept open
                   5901: # by configure, so config.status won't be able to write to it; its
                   5902: # output is simply discarded.  So we exec the FD to /dev/null,
                   5903: # effectively closing config.log, so it can be properly (re)opened and
                   5904: # appended to by config.status.  When coming back to configure, we
                   5905: # need to make the FD available again.
                   5906: if test "$no_create" != yes; then
                   5907:   ac_cs_success=:
                   5908:   ac_config_status_args=
                   5909:   test "$silent" = yes &&
                   5910:     ac_config_status_args="$ac_config_status_args --quiet"
                   5911:   exec 5>/dev/null
                   5912:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   5913:   exec 5>>config.log
                   5914:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   5915:   # would make configure fail if this is the last instruction.
1.7       misho    5916:   $ac_cs_success || as_fn_exit 1
1.1       misho    5917: fi
                   5918: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.2       misho    5919:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   5920: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    5921: fi
                   5922: 

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