Annotation of libaitrpc/configure, revision 1.34.2.2

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

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