Annotation of libaitrpc/configure, revision 1.38

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

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