Annotation of libaitrpc/configure, revision 1.38.2.2

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

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