Annotation of libaitsess/configure, revision 1.5

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

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