Annotation of libaitsched/configure, revision 1.33.2.2

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

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