Annotation of libaitsched/configure, revision 1.3.2.2

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

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