Annotation of libaitrpc/configure, revision 1.6

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

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