Annotation of libaitsched/configure, revision 1.61.2.2

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

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