Annotation of libaitsess/configure, revision 1.4

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

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