Annotation of libaitrpc/configure, revision 1.32

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

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