Annotation of libaitcfg/configure, revision 1.7.2.1

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

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