Annotation of libaitsess/configure, revision 1.7

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

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