Annotation of libaitrpc/configure, revision 1.6.2.1

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

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