Annotation of suX/configure, revision 1.2

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

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