Annotation of libaitrpc/configure, revision 1.12.2.1

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

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