Annotation of suX/configure, revision 1.6

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

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