Annotation of libaitsched/configure, revision 1.2

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

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