Annotation of libaitcli/configure, revision 1.11.2.1

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.11.2.1! misho       3: # Generated by GNU Autoconf 2.69 for libaitcli 3.5.
1.1       misho       4: #
1.7       misho       5: # Report bugs to <misho@elwix.org>.
1.1       misho       6: #
1.6       misho       7: #
                      8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
                      9: #
1.5       misho      10: #
1.1       misho      11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.5       misho      13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
1.1       misho      16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.5       misho      19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      20:   emulate sh
                     21:   NULLCMD=:
1.5       misho      22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho      23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.5       misho      27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
1.1       misho      32: esac
                     33: fi
                     34: 
                     35: 
1.5       misho      36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
1.1       misho      56:   else
1.5       misho      57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
1.1       misho      69:   fi
1.5       misho      70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho      72: fi
                     73: 
1.5       misho      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:   }
1.1       misho      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=
1.5       misho      93: case $0 in #((
1.1       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.5       misho     100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
1.1       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
1.5       misho     112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
1.1       misho     114: fi
                    115: 
1.5       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.1       misho     123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
1.5       misho     129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
1.1       misho     133: 
                    134: # CDPATH.
1.5       misho     135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misho     136: 
1.6       misho     137: # Use a proper internal environment variable to ensure we don't fall
                    138:   # into an infinite loop, continuously re-executing ourselves.
                    139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    140:     _as_can_reexec=no; export _as_can_reexec;
                    141:     # We cannot yet assume a decent shell, so we have to provide a
                    142: # neutralization value for shells without unset; and this also
                    143: # works around shells that cannot unset nonexistent variables.
                    144: # Preserve -v and -x to the replacement shell.
                    145: BASH_ENV=/dev/null
                    146: ENV=/dev/null
                    147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    148: case $- in # ((((
                    149:   *v*x* | *x*v* ) as_opts=-vx ;;
                    150:   *v* ) as_opts=-v ;;
                    151:   *x* ) as_opts=-x ;;
                    152:   * ) as_opts= ;;
                    153: esac
                    154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    155: # Admittedly, this is quite paranoid, since all the known shells bail
                    156: # out after a failed `exec'.
                    157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    158: as_fn_exit 255
                    159:   fi
                    160:   # We don't want this to propagate to other subprocesses.
                    161:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
1.5       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.1       misho     170: else
1.5       misho     171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
1.1       misho     177: fi
1.5       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.1       misho     184: 
                    185: exitcode=0
1.5       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.6       misho     195: test x\$exitcode = x0 || exit 1
                    196: test -x / || exit 1"
1.5       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.1       misho     204: else
1.5       misho     205:   as_have_required=no
1.1       misho     206: fi
1.5       misho     207:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.1       misho     208: 
                    209: else
1.5       misho     210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    211: as_found=false
1.1       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.5       misho     216:   as_found=:
                    217:   case $as_dir in #(
1.1       misho     218:         /*)
                    219:           for as_base in sh bash ksh sh5; do
1.5       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.1       misho     229:           done;;
                    230:        esac
1.5       misho     231:   as_found=false
1.1       misho     232: done
1.5       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.1       misho     237: IFS=$as_save_IFS
                    238: 
                    239: 
1.5       misho     240:       if test "x$CONFIG_SHELL" != x; then :
1.6       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.5       misho     260: fi
                    261: 
                    262:     if test x$as_have_required = xno; then :
                    263:   $as_echo "$0: This script requires a shell more modern than all"
                    264:   $as_echo "$0: the shells that I found on your system."
                    265:   if test x${ZSH_VERSION+set} = xset ; then
                    266:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    267:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    268:   else
1.7       misho     269:     $as_echo "$0: Please tell bug-autoconf@gnu.org and misho@elwix.org
                    270: $0: about your system, including any error possibly output
                    271: $0: before this message. Then install a modern shell, or
                    272: $0: manually run the script under such a shell if you do
                    273: $0: have one."
1.5       misho     274:   fi
                    275:   exit 1
                    276: fi
1.1       misho     277: fi
                    278: fi
1.5       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.1       misho     284: 
1.5       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.1       misho     294: }
1.5       misho     295: as_unset=as_fn_unset
1.1       misho     296: 
1.5       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.1       misho     304: 
1.5       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.1       misho     320: 
1.5       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"
1.6       misho     358:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misho     359: 
                    360: 
1.5       misho     361: } # as_fn_mkdir_p
1.6       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.5       misho     370: # as_fn_append VAR VALUE
                    371: # ----------------------
                    372: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    373: # advantage of any shell optimizations that allow amortized linear growth over
                    374: # repeated appends, instead of the typical quadratic growth present in naive
                    375: # implementations.
                    376: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    377:   eval 'as_fn_append ()
                    378:   {
                    379:     eval $1+=\$2
                    380:   }'
                    381: else
                    382:   as_fn_append ()
                    383:   {
                    384:     eval $1=\$$1\$2
                    385:   }
                    386: fi # as_fn_append
                    387: 
                    388: # as_fn_arith ARG...
                    389: # ------------------
                    390: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    391: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    392: # must be portable across $(()) and expr.
                    393: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    394:   eval 'as_fn_arith ()
                    395:   {
                    396:     as_val=$(( $* ))
                    397:   }'
1.1       misho     398: else
1.5       misho     399:   as_fn_arith ()
                    400:   {
                    401:     as_val=`expr "$@" || test $? -eq 1`
                    402:   }
                    403: fi # as_fn_arith
1.1       misho     404: 
                    405: 
1.6       misho     406: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    407: # ----------------------------------------
1.5       misho     408: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    409: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.6       misho     410: # script with STATUS, using 1 if that was 0.
1.5       misho     411: as_fn_error ()
                    412: {
1.6       misho     413:   as_status=$1; test $as_status -eq 0 && as_status=1
                    414:   if test "$4"; then
                    415:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    416:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.5       misho     417:   fi
1.6       misho     418:   $as_echo "$as_me: error: $2" >&2
1.5       misho     419:   as_fn_exit $as_status
                    420: } # as_fn_error
1.1       misho     421: 
1.5       misho     422: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    423:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    424:   as_expr=expr
1.1       misho     425: else
1.5       misho     426:   as_expr=false
1.1       misho     427: fi
                    428: 
1.5       misho     429: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    430:   as_basename=basename
1.1       misho     431: else
1.5       misho     432:   as_basename=false
1.1       misho     433: fi
                    434: 
1.5       misho     435: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    436:   as_dirname=dirname
1.1       misho     437: else
1.5       misho     438:   as_dirname=false
1.1       misho     439: fi
                    440: 
1.5       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.1       misho     459: 
1.5       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.1       misho     466: 
                    467: 
1.5       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.1       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.5       misho     489:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misho     490: 
1.6       misho     491:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    492:   # already done that, so ensure we don't try to do so again and fall
                    493:   # in an infinite loop.  This has already happened in practice.
                    494:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     495:   # Don't try to exec as it changes $[0], causing all sort of problems
                    496:   # (the dirname of $[0] is not the place where we might find the
                    497:   # original and so on.  Autoconf is especially sensitive to this).
                    498:   . "./$as_me.lineno"
                    499:   # Exit status is that of the last command.
                    500:   exit
                    501: }
                    502: 
1.5       misho     503: ECHO_C= ECHO_N= ECHO_T=
                    504: case `echo -n x` in #(((((
                    505: -n*)
                    506:   case `echo 'xy\c'` in
1.1       misho     507:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.5       misho     508:   xy)  ECHO_C='\c';;
                    509:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    510:        ECHO_T='        ';;
1.1       misho     511:   esac;;
                    512: *)
                    513:   ECHO_N='-n';;
                    514: esac
1.4       misho     515: 
1.1       misho     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
1.5       misho     521:   mkdir conf$$.dir 2>/dev/null
1.1       misho     522: fi
1.5       misho     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.6       misho     529:     # In both cases, we have to default to `cp -pR'.
1.5       misho     530:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.6       misho     531:       as_ln_s='cp -pR'
1.5       misho     532:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    533:     as_ln_s=ln
                    534:   else
1.6       misho     535:     as_ln_s='cp -pR'
1.5       misho     536:   fi
1.1       misho     537: else
1.6       misho     538:   as_ln_s='cp -pR'
1.1       misho     539: fi
                    540: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    541: rmdir conf$$.dir 2>/dev/null
                    542: 
                    543: if mkdir -p . 2>/dev/null; then
1.5       misho     544:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     545: else
                    546:   test -d ./-p && rmdir ./-p
                    547:   as_mkdir_p=false
                    548: fi
                    549: 
1.6       misho     550: as_test_x='test -x'
                    551: as_executable_p=as_fn_executable_p
1.1       misho     552: 
                    553: # Sed expression to map a string onto a valid CPP name.
                    554: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    555: 
                    556: # Sed expression to map a string onto a valid variable name.
                    557: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    558: 
                    559: 
1.6       misho     560: test -n "$DJDIR" || exec 7<&0 </dev/null
                    561: exec 6>&1
1.1       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.1       misho     565: # so uname gets run too.
                    566: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    567: 
                    568: #
                    569: # Initializations.
                    570: #
                    571: ac_default_prefix=/usr/local
                    572: ac_clean_files=
                    573: ac_config_libobj_dir=.
                    574: LIBOBJS=
                    575: cross_compiling=no
                    576: subdirs=
                    577: MFLAGS=
                    578: MAKEFLAGS=
                    579: 
                    580: # Identity of this package.
                    581: PACKAGE_NAME='libaitcli'
                    582: PACKAGE_TARNAME='libaitcli'
1.11.2.1! misho     583: PACKAGE_VERSION='3.5'
        !           584: PACKAGE_STRING='libaitcli 3.5'
1.7       misho     585: PACKAGE_BUGREPORT='misho@elwix.org'
1.5       misho     586: PACKAGE_URL=''
1.1       misho     587: 
                    588: ac_unique_file="src/aitcli.c"
                    589: # Factoring default headers for most tests.
                    590: ac_includes_default="\
                    591: #include <stdio.h>
                    592: #ifdef HAVE_SYS_TYPES_H
                    593: # include <sys/types.h>
                    594: #endif
                    595: #ifdef HAVE_SYS_STAT_H
                    596: # include <sys/stat.h>
                    597: #endif
                    598: #ifdef STDC_HEADERS
                    599: # include <stdlib.h>
                    600: # include <stddef.h>
                    601: #else
                    602: # ifdef HAVE_STDLIB_H
                    603: #  include <stdlib.h>
                    604: # endif
                    605: #endif
                    606: #ifdef HAVE_STRING_H
                    607: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    608: #  include <memory.h>
                    609: # endif
                    610: # include <string.h>
                    611: #endif
                    612: #ifdef HAVE_STRINGS_H
                    613: # include <strings.h>
                    614: #endif
                    615: #ifdef HAVE_INTTYPES_H
                    616: # include <inttypes.h>
                    617: #endif
                    618: #ifdef HAVE_STDINT_H
                    619: # include <stdint.h>
                    620: #endif
                    621: #ifdef HAVE_UNISTD_H
                    622: # include <unistd.h>
                    623: #endif"
                    624: 
1.5       misho     625: ac_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.1       misho     689: PATH_SEPARATOR
1.5       misho     690: SHELL'
1.1       misho     691: ac_subst_files=''
1.5       misho     692: ac_user_opts='
                    693: enable_option_checking
                    694: enable_debug
                    695: '
1.1       misho     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
1.5       misho     710: ac_unrecognized_opts=
                    711: ac_unrecognized_sep=
1.1       misho     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.1       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-*)
1.5       misho     811:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misho     812:     # Reject names that are not valid shell variable names.
1.5       misho     813:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6       misho     814:       as_fn_error $? "invalid feature name: $ac_useropt"
1.5       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 ;;
1.1       misho     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-*)
1.5       misho     837:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misho     838:     # Reject names that are not valid shell variable names.
1.5       misho     839:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6       misho     840:       as_fn_error $? "invalid feature name: $ac_useropt"
1.5       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 ;;
1.1       misho     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-*)
1.5       misho    1041:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misho    1042:     # Reject names that are not valid shell variable names.
1.5       misho    1043:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6       misho    1044:       as_fn_error $? "invalid package name: $ac_useropt"
1.5       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 ;;
1.1       misho    1055: 
                   1056:   -without-* | --without-*)
1.5       misho    1057:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misho    1058:     # Reject names that are not valid shell variable names.
1.5       misho    1059:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.6       misho    1060:       as_fn_error $? "invalid package name: $ac_useropt"
1.5       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 ;;
1.1       misho    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.1       misho    1092:     ;;
                   1093: 
                   1094:   *=*)
                   1095:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1096:     # Reject names that are not valid shell variable names.
1.5       misho    1097:     case $ac_envvar in #(
                   1098:       '' | [0-9]* | *[!_$as_cr_alnum]* )
1.6       misho    1099:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1.5       misho    1100:     esac
1.1       misho    1101:     eval $ac_envvar=\$ac_optarg
                   1102:     export $ac_envvar ;;
                   1103: 
                   1104:   *)
                   1105:     # FIXME: should be removed in autoconf 3.0.
1.5       misho    1106:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misho    1107:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.5       misho    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.1       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.5       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" ;;
1.5       misho    1124:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1125:   esac
1.1       misho    1126: fi
                   1127: 
1.5       misho    1128: # Check all directory arguments for consistency.
1.1       misho    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
1.5       misho    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.
1.1       misho    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.1       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.1       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.1       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.
1.5       misho    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" |
1.1       misho    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.1       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.1       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.11.2.1! misho    1245: \`configure' configures libaitcli 3.5 to adapt to many kinds of systems.
1.1       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.1       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
1.5       misho    1267:                           [$ac_default_prefix]
1.1       misho    1268:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.5       misho    1269:                           [PREFIX]
1.1       misho    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:
1.5       misho    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/libaitcli]
                   1294:   --htmldir=DIR           html documentation [DOCDIR]
                   1295:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1296:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1297:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misho    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.11.2.1! misho    1311:      short | recursive ) echo "Configuration of libaitcli 3.5:";;
1.1       misho    1312:    esac
                   1313:   cat <<\_ACEOF
                   1314: 
                   1315: Optional Features:
1.5       misho    1316:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misho    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.1       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.7       misho    1334: Report bugs to <misho@elwix.org>.
1.1       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
1.5       misho    1342:     test -d "$ac_dir" ||
                   1343:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1344:       continue
1.1       misho    1345:     ac_builddir=.
                   1346: 
                   1347: case "$ac_dir" in
                   1348: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1349: *)
1.5       misho    1350:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       misho    1351:   # A ".." for each directory in $ac_dir_suffix.
1.5       misho    1352:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       misho    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
1.5       misho    1388:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1.1       misho    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.11.2.1! misho    1397: libaitcli configure 3.5
1.6       misho    1398: generated by GNU Autoconf 2.69
1.1       misho    1399: 
1.6       misho    1400: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       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.5       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.1       misho    1415: {
1.5       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.1       misho    1441: 
1.5       misho    1442:        ac_retval=1
                   1443: fi
1.6       misho    1444:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1445:   as_fn_set_status $ac_retval
1.1       misho    1446: 
1.5       misho    1447: } # ac_fn_c_try_compile
1.1       misho    1448: 
1.5       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.6       misho    1476:         test -x conftest$ac_exeext
1.5       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.1       misho    1482: 
1.5       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
1.6       misho    1490:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1491:   as_fn_set_status $ac_retval
1.5       misho    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
1.6       misho    1516:   test $ac_status = 0; } > conftest.i && {
1.5       misho    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.1       misho    1524: 
1.5       misho    1525:     ac_retval=1
                   1526: fi
1.6       misho    1527:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1528:   as_fn_set_status $ac_retval
1.1       misho    1529: 
1.5       misho    1530: } # ac_fn_c_try_cpp
1.1       misho    1531: 
1.5       misho    1532: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1533: # -------------------------------------------------------
                   1534: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1535: # the include files in INCLUDES and setting the cache variable VAR
                   1536: # accordingly.
                   1537: ac_fn_c_check_header_mongrel ()
                   1538: {
                   1539:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.6       misho    1540:   if eval \${$3+:} false; then :
1.5       misho    1541:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1542: $as_echo_n "checking for $2... " >&6; }
1.6       misho    1543: if eval \${$3+:} false; then :
1.5       misho    1544:   $as_echo_n "(cached) " >&6
                   1545: fi
                   1546: eval ac_res=\$$3
                   1547:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1548: $as_echo "$ac_res" >&6; }
                   1549: else
                   1550:   # Is the header compilable?
                   1551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1552: $as_echo_n "checking $2 usability... " >&6; }
                   1553: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1554: /* end confdefs.h.  */
                   1555: $4
                   1556: #include <$2>
                   1557: _ACEOF
                   1558: if ac_fn_c_try_compile "$LINENO"; then :
                   1559:   ac_header_compiler=yes
                   1560: else
                   1561:   ac_header_compiler=no
                   1562: fi
                   1563: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1565: $as_echo "$ac_header_compiler" >&6; }
                   1566: 
                   1567: # Is the header present?
                   1568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1569: $as_echo_n "checking $2 presence... " >&6; }
                   1570: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1571: /* end confdefs.h.  */
                   1572: #include <$2>
                   1573: _ACEOF
                   1574: if ac_fn_c_try_cpp "$LINENO"; then :
                   1575:   ac_header_preproc=yes
                   1576: else
                   1577:   ac_header_preproc=no
                   1578: fi
1.6       misho    1579: rm -f conftest.err conftest.i conftest.$ac_ext
1.5       misho    1580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1581: $as_echo "$ac_header_preproc" >&6; }
                   1582: 
                   1583: # So?  What about this header?
                   1584: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1585:   yes:no: )
                   1586:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1587: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1588:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1589: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1590:     ;;
                   1591:   no:yes:* )
                   1592:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1593: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1594:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1595: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1596:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1597: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1598:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1599: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1600:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1601: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1.7       misho    1602: ( $as_echo "## ------------------------------ ##
                   1603: ## Report this to misho@elwix.org ##
                   1604: ## ------------------------------ ##"
1.5       misho    1605:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1606:     ;;
                   1607: esac
                   1608:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1609: $as_echo_n "checking for $2... " >&6; }
1.6       misho    1610: if eval \${$3+:} false; then :
1.5       misho    1611:   $as_echo_n "(cached) " >&6
                   1612: else
                   1613:   eval "$3=\$ac_header_compiler"
                   1614: fi
                   1615: eval ac_res=\$$3
                   1616:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1617: $as_echo "$ac_res" >&6; }
                   1618: fi
1.6       misho    1619:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.5       misho    1620: 
                   1621: } # ac_fn_c_check_header_mongrel
                   1622: 
                   1623: # ac_fn_c_try_run LINENO
                   1624: # ----------------------
                   1625: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1626: # that executables *can* be run.
                   1627: ac_fn_c_try_run ()
                   1628: {
                   1629:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1630:   if { { ac_try="$ac_link"
                   1631: case "(($ac_try" in
                   1632:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1633:   *) ac_try_echo=$ac_try;;
                   1634: esac
                   1635: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1636: $as_echo "$ac_try_echo"; } >&5
                   1637:   (eval "$ac_link") 2>&5
                   1638:   ac_status=$?
                   1639:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1640:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1641:   { { case "(($ac_try" in
                   1642:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1643:   *) ac_try_echo=$ac_try;;
                   1644: esac
                   1645: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1646: $as_echo "$ac_try_echo"; } >&5
                   1647:   (eval "$ac_try") 2>&5
                   1648:   ac_status=$?
                   1649:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1650:   test $ac_status = 0; }; }; then :
                   1651:   ac_retval=0
                   1652: else
                   1653:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1654:        $as_echo "$as_me: failed program was:" >&5
                   1655: sed 's/^/| /' conftest.$ac_ext >&5
                   1656: 
                   1657:        ac_retval=$ac_status
                   1658: fi
                   1659:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.6       misho    1660:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1661:   as_fn_set_status $ac_retval
1.5       misho    1662: 
                   1663: } # ac_fn_c_try_run
                   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; }
1.6       misho    1674: if eval \${$3+:} false; then :
1.5       misho    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; }
1.6       misho    1692:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.5       misho    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; }
1.6       misho    1704: if eval \${$3+:} false; then :
1.5       misho    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; }
1.6       misho    1759:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.5       misho    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.11.2.1! misho    1766: It was created by libaitcli $as_me 3.5, which was
1.6       misho    1767: generated by GNU Autoconf 2.69.  Invocation command line was
1.5       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.1       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:     *\'*)
1.5       misho    1838:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    1839:     esac
                   1840:     case $ac_pass in
1.5       misho    1841:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    1842:     2)
1.5       misho    1843:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       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.5       misho    1859:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    1860:       ;;
                   1861:     esac
                   1862:   done
                   1863: done
1.5       misho    1864: { ac_configure_args0=; unset ac_configure_args0;}
                   1865: { ac_configure_args1=; unset ac_configure_args1;}
1.1       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.1       misho    1878: ## Cache variables. ##
1.6       misho    1879: ## ---------------- ##"
1.1       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.5       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.1       misho    1890:       esac
                   1891:       case $ac_var in #(
                   1892:       _ | IFS | as_nl) ;; #(
1.5       misho    1893:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   1894:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       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.1       misho    1914: ## Output variables. ##
1.6       misho    1915: ## ----------------- ##"
1.1       misho    1916:     echo
                   1917:     for ac_var in $ac_subst_vars
                   1918:     do
                   1919:       eval ac_val=\$$ac_var
                   1920:       case $ac_val in
1.5       misho    1921:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       misho    1922:       esac
1.5       misho    1923:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    1924:     done | sort
                   1925:     echo
                   1926: 
                   1927:     if test -n "$ac_subst_files"; then
1.6       misho    1928:       $as_echo "## ------------------- ##
1.1       misho    1929: ## File substitutions. ##
1.6       misho    1930: ## ------------------- ##"
1.1       misho    1931:       echo
                   1932:       for ac_var in $ac_subst_files
                   1933:       do
                   1934:        eval ac_val=\$$ac_var
                   1935:        case $ac_val in
1.5       misho    1936:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1.1       misho    1937:        esac
1.5       misho    1938:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misho    1939:       done | sort
                   1940:       echo
                   1941:     fi
                   1942: 
                   1943:     if test -s confdefs.h; then
1.6       misho    1944:       $as_echo "## ----------- ##
1.1       misho    1945: ## confdefs.h. ##
1.6       misho    1946: ## ----------- ##"
1.1       misho    1947:       echo
                   1948:       cat confdefs.h
                   1949:       echo
                   1950:     fi
                   1951:     test "$ac_signal" != 0 &&
1.5       misho    1952:       $as_echo "$as_me: caught signal $ac_signal"
                   1953:     $as_echo "$as_me: exit $exit_status"
1.1       misho    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.5       misho    1960:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       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.5       misho    1967: $as_echo "/* confdefs.h */" > confdefs.h
                   1968: 
1.1       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.5       misho    1987: cat >>confdefs.h <<_ACEOF
                   1988: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1989: _ACEOF
1.1       misho    1990: 
                   1991: cat >>confdefs.h <<_ACEOF
1.5       misho    1992: #define PACKAGE_URL "$PACKAGE_URL"
1.1       misho    1993: _ACEOF
                   1994: 
                   1995: 
                   1996: # Let the site file select an alternate cache file if it wants to.
1.5       misho    1997: # Prefer an explicitly selected file to automatically selected ones.
                   1998: ac_site_file1=NONE
                   1999: ac_site_file2=NONE
1.1       misho    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.1       misho    2007: elif test "x$prefix" != xNONE; then
1.5       misho    2008:   ac_site_file1=$prefix/share/config.site
                   2009:   ac_site_file2=$prefix/etc/config.site
1.1       misho    2010: else
1.5       misho    2011:   ac_site_file1=$ac_default_prefix/share/config.site
                   2012:   ac_site_file2=$ac_default_prefix/etc/config.site
1.1       misho    2013: fi
1.5       misho    2014: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1.1       misho    2015: do
1.5       misho    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
1.5       misho    2018:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2019: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misho    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.1       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
1.5       misho    2033:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2034: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misho    2035:     case $cache_file in
                   2036:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2037:       *)                      . "./$cache_file";;
                   2038:     esac
                   2039:   fi
                   2040: else
1.5       misho    2041:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2042: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misho    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.5       misho    2056:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2057: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misho    2058:       ac_cache_corrupted=: ;;
                   2059:     ,set)
1.5       misho    2060:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2061: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misho    2062:       ac_cache_corrupted=: ;;
                   2063:     ,);;
                   2064:     *)
                   2065:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.5       misho    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
                   2070:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2071: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2072:          ac_cache_corrupted=:
                   2073:        else
                   2074:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   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
                   2078:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2079: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2080:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2081: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misho    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
1.5       misho    2087:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misho    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.5       misho    2092:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2093:     esac
                   2094:   fi
                   2095: done
                   2096: if $ac_cache_corrupted; then
1.5       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
                   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.5       misho    2102: fi
                   2103: ## -------------------- ##
                   2104: ## Main body of script. ##
                   2105: ## -------------------- ##
1.1       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: 
1.7       misho    2118: ac_cv_func_malloc_0_nonnull="yes"
                   2119: ac_cv_func_realloc_0_nonnull="yes"
                   2120: 
1.1       misho    2121: # Checks for programs.
                   2122: ac_ext=c
                   2123: ac_cpp='$CPP $CPPFLAGS'
                   2124: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2125: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2126: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2127: if test -n "$ac_tool_prefix"; then
                   2128:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2129: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.5       misho    2130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2131: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2132: if ${ac_cv_prog_CC+:} false; then :
1.5       misho    2133:   $as_echo_n "(cached) " >&6
1.1       misho    2134: else
                   2135:   if test -n "$CC"; then
                   2136:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2137: else
                   2138: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2139: for as_dir in $PATH
                   2140: do
                   2141:   IFS=$as_save_IFS
                   2142:   test -z "$as_dir" && as_dir=.
1.5       misho    2143:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2144:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2145:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.5       misho    2146:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2147:     break 2
                   2148:   fi
                   2149: done
1.5       misho    2150:   done
1.1       misho    2151: IFS=$as_save_IFS
                   2152: 
                   2153: fi
                   2154: fi
                   2155: CC=$ac_cv_prog_CC
                   2156: if test -n "$CC"; then
1.5       misho    2157:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2158: $as_echo "$CC" >&6; }
1.1       misho    2159: else
1.5       misho    2160:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2161: $as_echo "no" >&6; }
1.1       misho    2162: fi
                   2163: 
                   2164: 
                   2165: fi
                   2166: if test -z "$ac_cv_prog_CC"; then
                   2167:   ac_ct_CC=$CC
                   2168:   # Extract the first word of "gcc", so it can be a program name with args.
                   2169: set dummy gcc; ac_word=$2
1.5       misho    2170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2171: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2172: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.5       misho    2173:   $as_echo_n "(cached) " >&6
1.1       misho    2174: else
                   2175:   if test -n "$ac_ct_CC"; then
                   2176:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2177: else
                   2178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2179: for as_dir in $PATH
                   2180: do
                   2181:   IFS=$as_save_IFS
                   2182:   test -z "$as_dir" && as_dir=.
1.5       misho    2183:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2184:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2185:     ac_cv_prog_ac_ct_CC="gcc"
1.5       misho    2186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2187:     break 2
                   2188:   fi
                   2189: done
1.5       misho    2190:   done
1.1       misho    2191: IFS=$as_save_IFS
                   2192: 
                   2193: fi
                   2194: fi
                   2195: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2196: if test -n "$ac_ct_CC"; then
1.5       misho    2197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2198: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    2199: else
1.5       misho    2200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2201: $as_echo "no" >&6; }
1.1       misho    2202: fi
                   2203: 
                   2204:   if test "x$ac_ct_CC" = x; then
                   2205:     CC=""
                   2206:   else
                   2207:     case $cross_compiling:$ac_tool_warned in
                   2208: yes:)
1.5       misho    2209: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2210: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    2211: ac_tool_warned=yes ;;
                   2212: esac
                   2213:     CC=$ac_ct_CC
                   2214:   fi
                   2215: else
                   2216:   CC="$ac_cv_prog_CC"
                   2217: fi
                   2218: 
                   2219: if test -z "$CC"; then
                   2220:           if test -n "$ac_tool_prefix"; then
                   2221:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2222: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.5       misho    2223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2224: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2225: if ${ac_cv_prog_CC+:} false; then :
1.5       misho    2226:   $as_echo_n "(cached) " >&6
1.1       misho    2227: else
                   2228:   if test -n "$CC"; then
                   2229:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2230: else
                   2231: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2232: for as_dir in $PATH
                   2233: do
                   2234:   IFS=$as_save_IFS
                   2235:   test -z "$as_dir" && as_dir=.
1.5       misho    2236:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2237:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2238:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.5       misho    2239:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2240:     break 2
                   2241:   fi
                   2242: done
1.5       misho    2243:   done
1.1       misho    2244: IFS=$as_save_IFS
                   2245: 
                   2246: fi
                   2247: fi
                   2248: CC=$ac_cv_prog_CC
                   2249: if test -n "$CC"; then
1.5       misho    2250:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2251: $as_echo "$CC" >&6; }
1.1       misho    2252: else
1.5       misho    2253:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2254: $as_echo "no" >&6; }
1.1       misho    2255: fi
                   2256: 
                   2257: 
                   2258:   fi
                   2259: fi
                   2260: if test -z "$CC"; then
                   2261:   # Extract the first word of "cc", so it can be a program name with args.
                   2262: set dummy cc; ac_word=$2
1.5       misho    2263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2264: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2265: if ${ac_cv_prog_CC+:} false; then :
1.5       misho    2266:   $as_echo_n "(cached) " >&6
1.1       misho    2267: else
                   2268:   if test -n "$CC"; then
                   2269:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2270: else
                   2271:   ac_prog_rejected=no
                   2272: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2273: for as_dir in $PATH
                   2274: do
                   2275:   IFS=$as_save_IFS
                   2276:   test -z "$as_dir" && as_dir=.
1.5       misho    2277:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2278:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2279:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2280:        ac_prog_rejected=yes
                   2281:        continue
                   2282:      fi
                   2283:     ac_cv_prog_CC="cc"
1.5       misho    2284:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2285:     break 2
                   2286:   fi
                   2287: done
1.5       misho    2288:   done
1.1       misho    2289: IFS=$as_save_IFS
                   2290: 
                   2291: if test $ac_prog_rejected = yes; then
                   2292:   # We found a bogon in the path, so make sure we never use it.
                   2293:   set dummy $ac_cv_prog_CC
                   2294:   shift
                   2295:   if test $# != 0; then
                   2296:     # We chose a different compiler from the bogus one.
                   2297:     # However, it has the same basename, so the bogon will be chosen
                   2298:     # first if we set CC to just the basename; use the full file name.
                   2299:     shift
                   2300:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2301:   fi
                   2302: fi
                   2303: fi
                   2304: fi
                   2305: CC=$ac_cv_prog_CC
                   2306: if test -n "$CC"; then
1.5       misho    2307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2308: $as_echo "$CC" >&6; }
1.1       misho    2309: else
1.5       misho    2310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2311: $as_echo "no" >&6; }
1.1       misho    2312: fi
                   2313: 
                   2314: 
                   2315: fi
                   2316: if test -z "$CC"; then
                   2317:   if test -n "$ac_tool_prefix"; then
                   2318:   for ac_prog in cl.exe
                   2319:   do
                   2320:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2321: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5       misho    2322: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2323: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2324: if ${ac_cv_prog_CC+:} false; then :
1.5       misho    2325:   $as_echo_n "(cached) " >&6
1.1       misho    2326: else
                   2327:   if test -n "$CC"; then
                   2328:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2329: else
                   2330: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2331: for as_dir in $PATH
                   2332: do
                   2333:   IFS=$as_save_IFS
                   2334:   test -z "$as_dir" && as_dir=.
1.5       misho    2335:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2336:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2337:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.5       misho    2338:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2339:     break 2
                   2340:   fi
                   2341: done
1.5       misho    2342:   done
1.1       misho    2343: IFS=$as_save_IFS
                   2344: 
                   2345: fi
                   2346: fi
                   2347: CC=$ac_cv_prog_CC
                   2348: if test -n "$CC"; then
1.5       misho    2349:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2350: $as_echo "$CC" >&6; }
1.1       misho    2351: else
1.5       misho    2352:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2353: $as_echo "no" >&6; }
1.1       misho    2354: fi
                   2355: 
                   2356: 
                   2357:     test -n "$CC" && break
                   2358:   done
                   2359: fi
                   2360: if test -z "$CC"; then
                   2361:   ac_ct_CC=$CC
                   2362:   for ac_prog in cl.exe
                   2363: do
                   2364:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2365: set dummy $ac_prog; ac_word=$2
1.5       misho    2366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2367: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    2368: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.5       misho    2369:   $as_echo_n "(cached) " >&6
1.1       misho    2370: else
                   2371:   if test -n "$ac_ct_CC"; then
                   2372:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2373: else
                   2374: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2375: for as_dir in $PATH
                   2376: do
                   2377:   IFS=$as_save_IFS
                   2378:   test -z "$as_dir" && as_dir=.
1.5       misho    2379:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2380:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2381:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.5       misho    2382:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2383:     break 2
                   2384:   fi
                   2385: done
1.5       misho    2386:   done
1.1       misho    2387: IFS=$as_save_IFS
                   2388: 
                   2389: fi
                   2390: fi
                   2391: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2392: if test -n "$ac_ct_CC"; then
1.5       misho    2393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2394: $as_echo "$ac_ct_CC" >&6; }
1.1       misho    2395: else
1.5       misho    2396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2397: $as_echo "no" >&6; }
1.1       misho    2398: fi
                   2399: 
                   2400: 
                   2401:   test -n "$ac_ct_CC" && break
                   2402: done
                   2403: 
                   2404:   if test "x$ac_ct_CC" = x; then
                   2405:     CC=""
                   2406:   else
                   2407:     case $cross_compiling:$ac_tool_warned in
                   2408: yes:)
1.5       misho    2409: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2410: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    2411: ac_tool_warned=yes ;;
                   2412: esac
                   2413:     CC=$ac_ct_CC
                   2414:   fi
                   2415: fi
                   2416: 
                   2417: fi
                   2418: 
                   2419: 
1.5       misho    2420: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2421: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6       misho    2422: as_fn_error $? "no acceptable C compiler found in \$PATH
                   2423: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2424: 
                   2425: # Provide some information about the compiler.
1.5       misho    2426: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   2427: set X $ac_compile
                   2428: ac_compiler=$2
                   2429: for ac_option in --version -v -V -qversion; do
                   2430:   { { ac_try="$ac_compiler $ac_option >&5"
1.1       misho    2431: case "(($ac_try" in
                   2432:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2433:   *) ac_try_echo=$ac_try;;
                   2434: esac
1.5       misho    2435: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2436: $as_echo "$ac_try_echo"; } >&5
                   2437:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1       misho    2438:   ac_status=$?
1.5       misho    2439:   if test -s conftest.err; then
                   2440:     sed '10a\
                   2441: ... rest of stderr output deleted ...
                   2442:          10q' conftest.err >conftest.er1
                   2443:     cat conftest.er1 >&5
                   2444:   fi
1.6       misho    2445:   rm -f conftest.er1 conftest.err
1.5       misho    2446:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2447:   test $ac_status = 0; }
                   2448: done
1.1       misho    2449: 
1.5       misho    2450: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2451: /* end confdefs.h.  */
1.6       misho    2452: 
1.1       misho    2453: int
                   2454: main ()
                   2455: {
                   2456: 
                   2457:   ;
                   2458:   return 0;
                   2459: }
                   2460: _ACEOF
                   2461: ac_clean_files_save=$ac_clean_files
1.6       misho    2462: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misho    2463: # Try to create an executable without -o first, disregard a.out.
                   2464: # It will help us diagnose broken compilers, and finding out an intuition
                   2465: # of exeext.
1.6       misho    2466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   2467: $as_echo_n "checking whether the C compiler works... " >&6; }
1.5       misho    2468: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2469: 
                   2470: # The possible output files:
                   2471: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2472: 
1.1       misho    2473: ac_rmfiles=
                   2474: for ac_file in $ac_files
                   2475: do
                   2476:   case $ac_file in
1.5       misho    2477:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    2478:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2479:   esac
                   2480: done
                   2481: rm -f $ac_rmfiles
                   2482: 
1.5       misho    2483: if { { ac_try="$ac_link_default"
1.1       misho    2484: case "(($ac_try" in
                   2485:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2486:   *) ac_try_echo=$ac_try;;
                   2487: esac
1.5       misho    2488: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2489: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2490:   (eval "$ac_link_default") 2>&5
                   2491:   ac_status=$?
1.5       misho    2492:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2493:   test $ac_status = 0; }; then :
1.1       misho    2494:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2495: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2496: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2497: # so that the user can short-circuit this test for compilers unknown to
                   2498: # Autoconf.
                   2499: for ac_file in $ac_files ''
                   2500: do
                   2501:   test -f "$ac_file" || continue
                   2502:   case $ac_file in
1.5       misho    2503:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
1.1       misho    2504:        ;;
                   2505:     [ab].out )
                   2506:        # We found the default executable, but exeext='' is most
                   2507:        # certainly right.
                   2508:        break;;
                   2509:     *.* )
1.5       misho    2510:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1       misho    2511:        then :; else
                   2512:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2513:        fi
                   2514:        # We set ac_cv_exeext here because the later test for it is not
                   2515:        # safe: cross compilers may not add the suffix if given an `-o'
                   2516:        # argument, so we may need to know it at that point already.
                   2517:        # Even if this section looks crufty: it has the advantage of
                   2518:        # actually working.
                   2519:        break;;
                   2520:     * )
                   2521:        break;;
                   2522:   esac
                   2523: done
                   2524: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2525: 
                   2526: else
                   2527:   ac_file=''
                   2528: fi
1.5       misho    2529: if test -z "$ac_file"; then :
1.6       misho    2530:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2531: $as_echo "no" >&6; }
                   2532: $as_echo "$as_me: failed program was:" >&5
1.1       misho    2533: sed 's/^/| /' conftest.$ac_ext >&5
                   2534: 
1.5       misho    2535: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2536: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6       misho    2537: as_fn_error 77 "C compiler cannot create executables
                   2538: See \`config.log' for more details" "$LINENO" 5; }
                   2539: else
                   2540:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2541: $as_echo "yes" >&6; }
1.1       misho    2542: fi
1.6       misho    2543: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   2544: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   2545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   2546: $as_echo "$ac_file" >&6; }
1.1       misho    2547: ac_exeext=$ac_cv_exeext
                   2548: 
1.6       misho    2549: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misho    2550: ac_clean_files=$ac_clean_files_save
1.5       misho    2551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   2552: $as_echo_n "checking for suffix of executables... " >&6; }
                   2553: if { { ac_try="$ac_link"
1.1       misho    2554: case "(($ac_try" in
                   2555:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2556:   *) ac_try_echo=$ac_try;;
                   2557: esac
1.5       misho    2558: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2559: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2560:   (eval "$ac_link") 2>&5
                   2561:   ac_status=$?
1.5       misho    2562:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2563:   test $ac_status = 0; }; then :
1.1       misho    2564:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2565: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2566: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2567: # `rm'.
                   2568: for ac_file in conftest.exe conftest conftest.*; do
                   2569:   test -f "$ac_file" || continue
                   2570:   case $ac_file in
1.5       misho    2571:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misho    2572:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2573:          break;;
                   2574:     * ) break;;
                   2575:   esac
                   2576: done
                   2577: else
1.5       misho    2578:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2579: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6       misho    2580: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   2581: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2582: fi
1.6       misho    2583: rm -f conftest conftest$ac_cv_exeext
1.5       misho    2584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   2585: $as_echo "$ac_cv_exeext" >&6; }
1.1       misho    2586: 
                   2587: rm -f conftest.$ac_ext
                   2588: EXEEXT=$ac_cv_exeext
                   2589: ac_exeext=$EXEEXT
1.6       misho    2590: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2591: /* end confdefs.h.  */
                   2592: #include <stdio.h>
                   2593: int
                   2594: main ()
                   2595: {
                   2596: FILE *f = fopen ("conftest.out", "w");
                   2597:  return ferror (f) || fclose (f) != 0;
                   2598: 
                   2599:   ;
                   2600:   return 0;
                   2601: }
                   2602: _ACEOF
                   2603: ac_clean_files="$ac_clean_files conftest.out"
                   2604: # Check that the compiler produces executables we can run.  If not, either
                   2605: # the compiler is broken, or we cross compile.
                   2606: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   2607: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   2608: if test "$cross_compiling" != yes; then
                   2609:   { { ac_try="$ac_link"
                   2610: case "(($ac_try" in
                   2611:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2612:   *) ac_try_echo=$ac_try;;
                   2613: esac
                   2614: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2615: $as_echo "$ac_try_echo"; } >&5
                   2616:   (eval "$ac_link") 2>&5
                   2617:   ac_status=$?
                   2618:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2619:   test $ac_status = 0; }
                   2620:   if { ac_try='./conftest$ac_cv_exeext'
                   2621:   { { case "(($ac_try" in
                   2622:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2623:   *) ac_try_echo=$ac_try;;
                   2624: esac
                   2625: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2626: $as_echo "$ac_try_echo"; } >&5
                   2627:   (eval "$ac_try") 2>&5
                   2628:   ac_status=$?
                   2629:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2630:   test $ac_status = 0; }; }; then
                   2631:     cross_compiling=no
                   2632:   else
                   2633:     if test "$cross_compiling" = maybe; then
                   2634:        cross_compiling=yes
                   2635:     else
                   2636:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2637: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2638: as_fn_error $? "cannot run C compiled programs.
                   2639: If you meant to cross compile, use \`--host'.
                   2640: See \`config.log' for more details" "$LINENO" 5; }
                   2641:     fi
                   2642:   fi
                   2643: fi
                   2644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   2645: $as_echo "$cross_compiling" >&6; }
                   2646: 
                   2647: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   2648: ac_clean_files=$ac_clean_files_save
1.5       misho    2649: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   2650: $as_echo_n "checking for suffix of object files... " >&6; }
1.6       misho    2651: if ${ac_cv_objext+:} false; then :
1.5       misho    2652:   $as_echo_n "(cached) " >&6
1.1       misho    2653: else
1.5       misho    2654:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2655: /* end confdefs.h.  */
                   2656: 
                   2657: int
                   2658: main ()
                   2659: {
                   2660: 
                   2661:   ;
                   2662:   return 0;
                   2663: }
                   2664: _ACEOF
                   2665: rm -f conftest.o conftest.obj
1.5       misho    2666: if { { ac_try="$ac_compile"
1.1       misho    2667: case "(($ac_try" in
                   2668:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2669:   *) ac_try_echo=$ac_try;;
                   2670: esac
1.5       misho    2671: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2672: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2673:   (eval "$ac_compile") 2>&5
                   2674:   ac_status=$?
1.5       misho    2675:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2676:   test $ac_status = 0; }; then :
1.1       misho    2677:   for ac_file in conftest.o conftest.obj conftest.*; do
                   2678:   test -f "$ac_file" || continue;
                   2679:   case $ac_file in
1.5       misho    2680:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misho    2681:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2682:        break;;
                   2683:   esac
                   2684: done
                   2685: else
1.5       misho    2686:   $as_echo "$as_me: failed program was:" >&5
1.1       misho    2687: sed 's/^/| /' conftest.$ac_ext >&5
                   2688: 
1.5       misho    2689: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2690: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6       misho    2691: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   2692: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2693: fi
                   2694: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2695: fi
1.5       misho    2696: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   2697: $as_echo "$ac_cv_objext" >&6; }
1.1       misho    2698: OBJEXT=$ac_cv_objext
                   2699: ac_objext=$OBJEXT
1.5       misho    2700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   2701: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.6       misho    2702: if ${ac_cv_c_compiler_gnu+:} false; then :
1.5       misho    2703:   $as_echo_n "(cached) " >&6
1.1       misho    2704: else
1.5       misho    2705:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2706: /* end confdefs.h.  */
                   2707: 
                   2708: int
                   2709: main ()
                   2710: {
                   2711: #ifndef __GNUC__
                   2712:        choke me
                   2713: #endif
                   2714: 
                   2715:   ;
                   2716:   return 0;
                   2717: }
                   2718: _ACEOF
1.5       misho    2719: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2720:   ac_compiler_gnu=yes
                   2721: else
1.5       misho    2722:   ac_compiler_gnu=no
1.1       misho    2723: fi
                   2724: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2725: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2726: 
                   2727: fi
1.5       misho    2728: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   2729: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   2730: if test $ac_compiler_gnu = yes; then
                   2731:   GCC=yes
                   2732: else
                   2733:   GCC=
                   2734: fi
1.1       misho    2735: ac_test_CFLAGS=${CFLAGS+set}
                   2736: ac_save_CFLAGS=$CFLAGS
1.5       misho    2737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   2738: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.6       misho    2739: if ${ac_cv_prog_cc_g+:} false; then :
1.5       misho    2740:   $as_echo_n "(cached) " >&6
1.1       misho    2741: else
                   2742:   ac_save_c_werror_flag=$ac_c_werror_flag
                   2743:    ac_c_werror_flag=yes
                   2744:    ac_cv_prog_cc_g=no
                   2745:    CFLAGS="-g"
1.5       misho    2746:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2747: /* end confdefs.h.  */
                   2748: 
                   2749: int
                   2750: main ()
                   2751: {
                   2752: 
                   2753:   ;
                   2754:   return 0;
                   2755: }
                   2756: _ACEOF
1.5       misho    2757: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2758:   ac_cv_prog_cc_g=yes
                   2759: else
1.5       misho    2760:   CFLAGS=""
                   2761:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2762: /* end confdefs.h.  */
                   2763: 
                   2764: int
                   2765: main ()
                   2766: {
                   2767: 
                   2768:   ;
                   2769:   return 0;
                   2770: }
                   2771: _ACEOF
1.5       misho    2772: if ac_fn_c_try_compile "$LINENO"; then :
                   2773: 
1.1       misho    2774: else
1.5       misho    2775:   ac_c_werror_flag=$ac_save_c_werror_flag
1.1       misho    2776:         CFLAGS="-g"
1.5       misho    2777:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2778: /* end confdefs.h.  */
                   2779: 
                   2780: int
                   2781: main ()
                   2782: {
                   2783: 
                   2784:   ;
                   2785:   return 0;
                   2786: }
                   2787: _ACEOF
1.5       misho    2788: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2789:   ac_cv_prog_cc_g=yes
                   2790: fi
                   2791: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2792: fi
                   2793: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2794: fi
                   2795: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2796:    ac_c_werror_flag=$ac_save_c_werror_flag
                   2797: fi
1.5       misho    2798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   2799: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misho    2800: if test "$ac_test_CFLAGS" = set; then
                   2801:   CFLAGS=$ac_save_CFLAGS
                   2802: elif test $ac_cv_prog_cc_g = yes; then
                   2803:   if test "$GCC" = yes; then
                   2804:     CFLAGS="-g -O2"
                   2805:   else
                   2806:     CFLAGS="-g"
                   2807:   fi
                   2808: else
                   2809:   if test "$GCC" = yes; then
                   2810:     CFLAGS="-O2"
                   2811:   else
                   2812:     CFLAGS=
                   2813:   fi
                   2814: fi
1.5       misho    2815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   2816: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.6       misho    2817: if ${ac_cv_prog_cc_c89+:} false; then :
1.5       misho    2818:   $as_echo_n "(cached) " >&6
1.1       misho    2819: else
                   2820:   ac_cv_prog_cc_c89=no
                   2821: ac_save_CC=$CC
1.5       misho    2822: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2823: /* end confdefs.h.  */
                   2824: #include <stdarg.h>
                   2825: #include <stdio.h>
1.6       misho    2826: struct stat;
1.1       misho    2827: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2828: struct buf { int x; };
                   2829: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2830: static char *e (p, i)
                   2831:      char **p;
                   2832:      int i;
                   2833: {
                   2834:   return p[i];
                   2835: }
                   2836: static char *f (char * (*g) (char **, int), char **p, ...)
                   2837: {
                   2838:   char *s;
                   2839:   va_list v;
                   2840:   va_start (v,p);
                   2841:   s = g (p, va_arg (v,int));
                   2842:   va_end (v);
                   2843:   return s;
                   2844: }
                   2845: 
                   2846: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2847:    function prototypes and stuff, but not '\xHH' hex character constants.
                   2848:    These don't provoke an error unfortunately, instead are silently treated
                   2849:    as 'x'.  The following induces an error, until -std is added to get
                   2850:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   2851:    array size at least.  It's necessary to write '\x00'==0 to get something
                   2852:    that's true only with -std.  */
                   2853: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   2854: 
                   2855: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2856:    inside strings and character constants.  */
                   2857: #define FOO(x) 'x'
                   2858: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   2859: 
                   2860: int test (int i, double x);
                   2861: struct s1 {int (*f) (int a);};
                   2862: struct s2 {int (*f) (double a);};
                   2863: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2864: int argc;
                   2865: char **argv;
                   2866: int
                   2867: main ()
                   2868: {
                   2869: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2870:   ;
                   2871:   return 0;
                   2872: }
                   2873: _ACEOF
                   2874: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   2875:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   2876: do
                   2877:   CC="$ac_save_CC $ac_arg"
1.5       misho    2878:   if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2879:   ac_cv_prog_cc_c89=$ac_arg
                   2880: fi
                   2881: rm -f core conftest.err conftest.$ac_objext
                   2882:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   2883: done
                   2884: rm -f conftest.$ac_ext
                   2885: CC=$ac_save_CC
                   2886: 
                   2887: fi
                   2888: # AC_CACHE_VAL
                   2889: case "x$ac_cv_prog_cc_c89" in
                   2890:   x)
1.5       misho    2891:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   2892: $as_echo "none needed" >&6; } ;;
1.1       misho    2893:   xno)
1.5       misho    2894:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   2895: $as_echo "unsupported" >&6; } ;;
1.1       misho    2896:   *)
                   2897:     CC="$CC $ac_cv_prog_cc_c89"
1.5       misho    2898:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   2899: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
1.1       misho    2900: esac
1.5       misho    2901: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    2902: 
1.5       misho    2903: fi
1.1       misho    2904: 
                   2905: ac_ext=c
                   2906: ac_cpp='$CPP $CPPFLAGS'
                   2907: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2908: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2909: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2910: 
                   2911: ac_aux_dir=
                   2912: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1.6       misho    2913:   if test -f "$ac_dir/install-sh"; then
                   2914:     ac_aux_dir=$ac_dir
                   2915:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2916:     break
                   2917:   elif test -f "$ac_dir/install.sh"; then
                   2918:     ac_aux_dir=$ac_dir
                   2919:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2920:     break
                   2921:   elif test -f "$ac_dir/shtool"; then
                   2922:     ac_aux_dir=$ac_dir
                   2923:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2924:     break
                   2925:   fi
1.1       misho    2926: done
                   2927: if test -z "$ac_aux_dir"; then
1.6       misho    2928:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1.1       misho    2929: fi
                   2930: 
                   2931: # These three variables are undocumented and unsupported,
                   2932: # and are intended to be withdrawn in a future Autoconf release.
                   2933: # They can cause serious problems if a builder's source tree is in a directory
                   2934: # whose full name contains unusual characters.
                   2935: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2936: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2937: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2938: 
                   2939: 
                   2940: # Find a good install program.  We prefer a C program (faster),
                   2941: # so one script is as good as another.  But avoid the broken or
                   2942: # incompatible versions:
                   2943: # SysV /etc/install, /usr/sbin/install
                   2944: # SunOS /usr/etc/install
                   2945: # IRIX /sbin/install
                   2946: # AIX /bin/install
                   2947: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2948: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2949: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2950: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2951: # OS/2's system install, which has a completely different semantic
                   2952: # ./install, which can be erroneously created by make from ./install.sh.
1.5       misho    2953: # Reject install programs that cannot install multiple files.
                   2954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2955: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misho    2956: if test -z "$INSTALL"; then
1.6       misho    2957: if ${ac_cv_path_install+:} false; then :
1.5       misho    2958:   $as_echo_n "(cached) " >&6
1.1       misho    2959: else
                   2960:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2961: for as_dir in $PATH
                   2962: do
                   2963:   IFS=$as_save_IFS
                   2964:   test -z "$as_dir" && as_dir=.
1.5       misho    2965:     # Account for people who put trailing slashes in PATH elements.
                   2966: case $as_dir/ in #((
                   2967:   ./ | .// | /[cC]/* | \
1.1       misho    2968:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.5       misho    2969:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    2970:   /usr/ucb/* ) ;;
                   2971:   *)
                   2972:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2973:     # Don't use installbsd from OSF since it installs stuff as root
                   2974:     # by default.
                   2975:     for ac_prog in ginstall scoinst install; do
                   2976:       for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    2977:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2978:          if test $ac_prog = install &&
                   2979:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2980:            # AIX install.  It has an incompatible calling convention.
                   2981:            :
                   2982:          elif test $ac_prog = install &&
                   2983:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2984:            # program-specific install script used by HP pwplus--don't use.
                   2985:            :
                   2986:          else
1.5       misho    2987:            rm -rf conftest.one conftest.two conftest.dir
                   2988:            echo one > conftest.one
                   2989:            echo two > conftest.two
                   2990:            mkdir conftest.dir
                   2991:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2992:              test -s conftest.one && test -s conftest.two &&
                   2993:              test -s conftest.dir/conftest.one &&
                   2994:              test -s conftest.dir/conftest.two
                   2995:            then
                   2996:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2997:              break 3
                   2998:            fi
1.1       misho    2999:          fi
                   3000:        fi
                   3001:       done
                   3002:     done
                   3003:     ;;
                   3004: esac
1.5       misho    3005: 
                   3006:   done
1.1       misho    3007: IFS=$as_save_IFS
                   3008: 
1.5       misho    3009: rm -rf conftest.one conftest.two conftest.dir
1.1       misho    3010: 
                   3011: fi
                   3012:   if test "${ac_cv_path_install+set}" = set; then
                   3013:     INSTALL=$ac_cv_path_install
                   3014:   else
                   3015:     # As a last resort, use the slow shell script.  Don't cache a
                   3016:     # value for INSTALL within a source directory, because that will
                   3017:     # break other packages using the cache if that directory is
                   3018:     # removed, or if the value is a relative name.
                   3019:     INSTALL=$ac_install_sh
                   3020:   fi
                   3021: fi
1.5       misho    3022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   3023: $as_echo "$INSTALL" >&6; }
1.1       misho    3024: 
                   3025: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3026: # It thinks the first close brace ends the variable substitution.
                   3027: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3028: 
                   3029: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   3030: 
                   3031: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3032: 
                   3033: 
                   3034: # Make sure we can run config.sub.
                   3035: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.6       misho    3036:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.5       misho    3037: 
                   3038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3039: $as_echo_n "checking build system type... " >&6; }
1.6       misho    3040: if ${ac_cv_build+:} false; then :
1.5       misho    3041:   $as_echo_n "(cached) " >&6
1.1       misho    3042: else
                   3043:   ac_build_alias=$build_alias
                   3044: test "x$ac_build_alias" = x &&
                   3045:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3046: test "x$ac_build_alias" = x &&
1.6       misho    3047:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1       misho    3048: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.6       misho    3049:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1       misho    3050: 
                   3051: fi
1.5       misho    3052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3053: $as_echo "$ac_cv_build" >&6; }
1.1       misho    3054: case $ac_cv_build in
                   3055: *-*-*) ;;
1.6       misho    3056: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    3057: esac
                   3058: build=$ac_cv_build
                   3059: ac_save_IFS=$IFS; IFS='-'
                   3060: set x $ac_cv_build
                   3061: shift
                   3062: build_cpu=$1
                   3063: build_vendor=$2
                   3064: shift; shift
                   3065: # Remember, the first character of IFS is used to create $*,
                   3066: # except with old shells:
                   3067: build_os=$*
                   3068: IFS=$ac_save_IFS
                   3069: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3070: 
                   3071: 
1.5       misho    3072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3073: $as_echo_n "checking host system type... " >&6; }
1.6       misho    3074: if ${ac_cv_host+:} false; then :
1.5       misho    3075:   $as_echo_n "(cached) " >&6
1.1       misho    3076: else
                   3077:   if test "x$host_alias" = x; then
                   3078:   ac_cv_host=$ac_cv_build
                   3079: else
                   3080:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.6       misho    3081:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misho    3082: fi
                   3083: 
                   3084: fi
1.5       misho    3085: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3086: $as_echo "$ac_cv_host" >&6; }
1.1       misho    3087: case $ac_cv_host in
                   3088: *-*-*) ;;
1.6       misho    3089: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    3090: esac
                   3091: host=$ac_cv_host
                   3092: ac_save_IFS=$IFS; IFS='-'
                   3093: set x $ac_cv_host
                   3094: shift
                   3095: host_cpu=$1
                   3096: host_vendor=$2
                   3097: shift; shift
                   3098: # Remember, the first character of IFS is used to create $*,
                   3099: # except with old shells:
                   3100: host_os=$*
                   3101: IFS=$ac_save_IFS
                   3102: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   3103: 
                   3104: 
1.5       misho    3105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   3106: $as_echo_n "checking target system type... " >&6; }
1.6       misho    3107: if ${ac_cv_target+:} false; then :
1.5       misho    3108:   $as_echo_n "(cached) " >&6
1.1       misho    3109: else
                   3110:   if test "x$target_alias" = x; then
                   3111:   ac_cv_target=$ac_cv_host
                   3112: else
                   3113:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.6       misho    3114:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1.1       misho    3115: fi
                   3116: 
                   3117: fi
1.5       misho    3118: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   3119: $as_echo "$ac_cv_target" >&6; }
1.1       misho    3120: case $ac_cv_target in
                   3121: *-*-*) ;;
1.6       misho    3122: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1.1       misho    3123: esac
                   3124: target=$ac_cv_target
                   3125: ac_save_IFS=$IFS; IFS='-'
                   3126: set x $ac_cv_target
                   3127: shift
                   3128: target_cpu=$1
                   3129: target_vendor=$2
                   3130: shift; shift
                   3131: # Remember, the first character of IFS is used to create $*,
                   3132: # except with old shells:
                   3133: target_os=$*
                   3134: IFS=$ac_save_IFS
                   3135: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   3136: 
                   3137: 
                   3138: # The aliases save the names the user supplied, while $host etc.
                   3139: # will get canonicalized.
                   3140: test -n "$target_alias" &&
                   3141:   test "$program_prefix$program_suffix$program_transform_name" = \
                   3142:     NONENONEs,x,x, &&
                   3143:   program_prefix=${target_alias}-
                   3144: 
                   3145: if test -n "$ac_tool_prefix"; then
                   3146:   # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
                   3147: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
1.5       misho    3148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3149: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    3150: if ${ac_cv_prog_MKDEP+:} false; then :
1.5       misho    3151:   $as_echo_n "(cached) " >&6
1.1       misho    3152: else
                   3153:   if test -n "$MKDEP"; then
                   3154:   ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
                   3155: else
                   3156: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3157: for as_dir in $PATH
                   3158: do
                   3159:   IFS=$as_save_IFS
                   3160:   test -z "$as_dir" && as_dir=.
1.5       misho    3161:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    3162:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3163:     ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
1.5       misho    3164:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3165:     break 2
                   3166:   fi
                   3167: done
1.5       misho    3168:   done
1.1       misho    3169: IFS=$as_save_IFS
                   3170: 
                   3171: fi
                   3172: fi
                   3173: MKDEP=$ac_cv_prog_MKDEP
                   3174: if test -n "$MKDEP"; then
1.5       misho    3175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDEP" >&5
                   3176: $as_echo "$MKDEP" >&6; }
1.1       misho    3177: else
1.5       misho    3178:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3179: $as_echo "no" >&6; }
1.1       misho    3180: fi
                   3181: 
                   3182: 
                   3183: fi
                   3184: if test -z "$ac_cv_prog_MKDEP"; then
                   3185:   ac_ct_MKDEP=$MKDEP
                   3186:   # Extract the first word of "mkdep", so it can be a program name with args.
                   3187: set dummy mkdep; ac_word=$2
1.5       misho    3188: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3189: $as_echo_n "checking for $ac_word... " >&6; }
1.6       misho    3190: if ${ac_cv_prog_ac_ct_MKDEP+:} false; then :
1.5       misho    3191:   $as_echo_n "(cached) " >&6
1.1       misho    3192: else
                   3193:   if test -n "$ac_ct_MKDEP"; then
                   3194:   ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
                   3195: else
                   3196: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3197: for as_dir in $PATH
                   3198: do
                   3199:   IFS=$as_save_IFS
                   3200:   test -z "$as_dir" && as_dir=.
1.5       misho    3201:     for ac_exec_ext in '' $ac_executable_extensions; do
1.6       misho    3202:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3203:     ac_cv_prog_ac_ct_MKDEP="mkdep"
1.5       misho    3204:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    3205:     break 2
                   3206:   fi
                   3207: done
1.5       misho    3208:   done
1.1       misho    3209: IFS=$as_save_IFS
                   3210: 
                   3211: fi
                   3212: fi
                   3213: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
                   3214: if test -n "$ac_ct_MKDEP"; then
1.5       misho    3215:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MKDEP" >&5
                   3216: $as_echo "$ac_ct_MKDEP" >&6; }
1.1       misho    3217: else
1.5       misho    3218:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3219: $as_echo "no" >&6; }
1.1       misho    3220: fi
                   3221: 
                   3222:   if test "x$ac_ct_MKDEP" = x; then
                   3223:     MKDEP="no"
                   3224:   else
                   3225:     case $cross_compiling:$ac_tool_warned in
                   3226: yes:)
1.5       misho    3227: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3228: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1.1       misho    3229: ac_tool_warned=yes ;;
                   3230: esac
                   3231:     MKDEP=$ac_ct_MKDEP
                   3232:   fi
                   3233: else
                   3234:   MKDEP="$ac_cv_prog_MKDEP"
                   3235: fi
                   3236: 
                   3237: 
                   3238: 
                   3239: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
                   3240: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
                   3241: 
                   3242: # Checks for libraries.
                   3243: 
1.5       misho    3244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forkpty in -lutil" >&5
                   3245: $as_echo_n "checking for forkpty in -lutil... " >&6; }
1.6       misho    3246: if ${ac_cv_lib_util_forkpty+:} false; then :
1.5       misho    3247:   $as_echo_n "(cached) " >&6
1.1       misho    3248: else
                   3249:   ac_check_lib_save_LIBS=$LIBS
1.3       misho    3250: LIBS="-lutil  $LIBS"
1.5       misho    3251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3252: /* end confdefs.h.  */
                   3253: 
                   3254: /* Override any GCC internal prototype to avoid an error.
                   3255:    Use char because int might match the return type of a GCC
                   3256:    builtin and then its argument prototype would still apply.  */
                   3257: #ifdef __cplusplus
                   3258: extern "C"
                   3259: #endif
1.3       misho    3260: char forkpty ();
1.1       misho    3261: int
                   3262: main ()
                   3263: {
1.3       misho    3264: return forkpty ();
1.1       misho    3265:   ;
                   3266:   return 0;
                   3267: }
                   3268: _ACEOF
1.5       misho    3269: if ac_fn_c_try_link "$LINENO"; then :
1.3       misho    3270:   ac_cv_lib_util_forkpty=yes
1.1       misho    3271: else
1.5       misho    3272:   ac_cv_lib_util_forkpty=no
1.1       misho    3273: fi
1.5       misho    3274: rm -f core conftest.err conftest.$ac_objext \
                   3275:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    3276: LIBS=$ac_check_lib_save_LIBS
                   3277: fi
1.5       misho    3278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_forkpty" >&5
                   3279: $as_echo "$ac_cv_lib_util_forkpty" >&6; }
1.6       misho    3280: if test "x$ac_cv_lib_util_forkpty" = xyes; then :
1.1       misho    3281:   cat >>confdefs.h <<_ACEOF
1.3       misho    3282: #define HAVE_LIBUTIL 1
1.1       misho    3283: _ACEOF
                   3284: 
1.3       misho    3285:   LIBS="-lutil $LIBS"
1.1       misho    3286: 
                   3287: fi
                   3288: 
1.7       misho    3289: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for str_Trim in -lelwix" >&5
                   3290: $as_echo_n "checking for str_Trim in -lelwix... " >&6; }
                   3291: if ${ac_cv_lib_elwix_str_Trim+:} false; then :
1.5       misho    3292:   $as_echo_n "(cached) " >&6
1.2       misho    3293: else
                   3294:   ac_check_lib_save_LIBS=$LIBS
1.7       misho    3295: LIBS="-lelwix  $LIBS"
1.5       misho    3296: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.2       misho    3297: /* end confdefs.h.  */
                   3298: 
                   3299: /* Override any GCC internal prototype to avoid an error.
                   3300:    Use char because int might match the return type of a GCC
                   3301:    builtin and then its argument prototype would still apply.  */
                   3302: #ifdef __cplusplus
                   3303: extern "C"
                   3304: #endif
1.7       misho    3305: char str_Trim ();
1.2       misho    3306: int
                   3307: main ()
                   3308: {
1.7       misho    3309: return str_Trim ();
1.2       misho    3310:   ;
                   3311:   return 0;
                   3312: }
                   3313: _ACEOF
1.5       misho    3314: if ac_fn_c_try_link "$LINENO"; then :
1.7       misho    3315:   ac_cv_lib_elwix_str_Trim=yes
1.2       misho    3316: else
1.7       misho    3317:   ac_cv_lib_elwix_str_Trim=no
1.2       misho    3318: fi
1.5       misho    3319: rm -f core conftest.err conftest.$ac_objext \
                   3320:     conftest$ac_exeext conftest.$ac_ext
1.2       misho    3321: LIBS=$ac_check_lib_save_LIBS
                   3322: fi
1.7       misho    3323: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elwix_str_Trim" >&5
                   3324: $as_echo "$ac_cv_lib_elwix_str_Trim" >&6; }
                   3325: if test "x$ac_cv_lib_elwix_str_Trim" = xyes; then :
1.2       misho    3326:   cat >>confdefs.h <<_ACEOF
1.7       misho    3327: #define HAVE_LIBELWIX 1
1.2       misho    3328: _ACEOF
                   3329: 
1.7       misho    3330:   LIBS="-lelwix $LIBS"
1.2       misho    3331: 
                   3332: fi
                   3333: 
                   3334: 
1.1       misho    3335: # Checks for header files.
                   3336: ac_ext=c
                   3337: ac_cpp='$CPP $CPPFLAGS'
                   3338: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3339: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3340: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.5       misho    3341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   3342: $as_echo_n "checking how to run the C preprocessor... " >&6; }
1.1       misho    3343: # On Suns, sometimes $CPP names a directory.
                   3344: if test -n "$CPP" && test -d "$CPP"; then
                   3345:   CPP=
                   3346: fi
                   3347: if test -z "$CPP"; then
1.6       misho    3348:   if ${ac_cv_prog_CPP+:} false; then :
1.5       misho    3349:   $as_echo_n "(cached) " >&6
1.1       misho    3350: else
                   3351:       # Double quotes because CPP needs to be expanded
                   3352:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3353:     do
                   3354:       ac_preproc_ok=false
                   3355: for ac_c_preproc_warn_flag in '' yes
                   3356: do
                   3357:   # Use a header file that comes with gcc, so configuring glibc
                   3358:   # with a fresh cross-compiler works.
                   3359:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3360:   # <limits.h> exists even on freestanding compilers.
                   3361:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3362:   # not just through cpp. "Syntax error" is here to catch this case.
1.5       misho    3363:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3364: /* end confdefs.h.  */
                   3365: #ifdef __STDC__
                   3366: # include <limits.h>
                   3367: #else
                   3368: # include <assert.h>
                   3369: #endif
                   3370:                     Syntax error
                   3371: _ACEOF
1.5       misho    3372: if ac_fn_c_try_cpp "$LINENO"; then :
                   3373: 
1.1       misho    3374: else
                   3375:   # Broken: fails on valid input.
                   3376: continue
                   3377: fi
1.6       misho    3378: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3379: 
                   3380:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3381:   # can be detected and how.
1.5       misho    3382:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3383: /* end confdefs.h.  */
                   3384: #include <ac_nonexistent.h>
                   3385: _ACEOF
1.5       misho    3386: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3387:   # Broken: success on invalid input.
                   3388: continue
                   3389: else
                   3390:   # Passes both tests.
                   3391: ac_preproc_ok=:
                   3392: break
                   3393: fi
1.6       misho    3394: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3395: 
                   3396: done
                   3397: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.6       misho    3398: rm -f conftest.i conftest.err conftest.$ac_ext
1.5       misho    3399: if $ac_preproc_ok; then :
1.1       misho    3400:   break
                   3401: fi
                   3402: 
                   3403:     done
                   3404:     ac_cv_prog_CPP=$CPP
                   3405: 
                   3406: fi
                   3407:   CPP=$ac_cv_prog_CPP
                   3408: else
                   3409:   ac_cv_prog_CPP=$CPP
                   3410: fi
1.5       misho    3411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   3412: $as_echo "$CPP" >&6; }
1.1       misho    3413: ac_preproc_ok=false
                   3414: for ac_c_preproc_warn_flag in '' yes
                   3415: do
                   3416:   # Use a header file that comes with gcc, so configuring glibc
                   3417:   # with a fresh cross-compiler works.
                   3418:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3419:   # <limits.h> exists even on freestanding compilers.
                   3420:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3421:   # not just through cpp. "Syntax error" is here to catch this case.
1.5       misho    3422:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3423: /* end confdefs.h.  */
                   3424: #ifdef __STDC__
                   3425: # include <limits.h>
                   3426: #else
                   3427: # include <assert.h>
                   3428: #endif
                   3429:                     Syntax error
                   3430: _ACEOF
1.5       misho    3431: if ac_fn_c_try_cpp "$LINENO"; then :
                   3432: 
1.1       misho    3433: else
                   3434:   # Broken: fails on valid input.
                   3435: continue
                   3436: fi
1.6       misho    3437: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3438: 
                   3439:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3440:   # can be detected and how.
1.5       misho    3441:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3442: /* end confdefs.h.  */
                   3443: #include <ac_nonexistent.h>
                   3444: _ACEOF
1.5       misho    3445: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3446:   # Broken: success on invalid input.
                   3447: continue
                   3448: else
                   3449:   # Passes both tests.
                   3450: ac_preproc_ok=:
                   3451: break
                   3452: fi
1.6       misho    3453: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3454: 
                   3455: done
                   3456: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.6       misho    3457: rm -f conftest.i conftest.err conftest.$ac_ext
1.5       misho    3458: if $ac_preproc_ok; then :
                   3459: 
1.1       misho    3460: else
1.5       misho    3461:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3462: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.6       misho    3463: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   3464: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3465: fi
                   3466: 
                   3467: ac_ext=c
                   3468: ac_cpp='$CPP $CPPFLAGS'
                   3469: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3470: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3471: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3472: 
                   3473: 
1.5       misho    3474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   3475: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.6       misho    3476: if ${ac_cv_path_GREP+:} false; then :
1.5       misho    3477:   $as_echo_n "(cached) " >&6
1.1       misho    3478: else
1.5       misho    3479:   if test -z "$GREP"; then
1.1       misho    3480:   ac_path_GREP_found=false
1.5       misho    3481:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3482:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    3483: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3484: do
                   3485:   IFS=$as_save_IFS
                   3486:   test -z "$as_dir" && as_dir=.
1.5       misho    3487:     for ac_prog in grep ggrep; do
                   3488:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3489:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.6       misho    3490:       as_fn_executable_p "$ac_path_GREP" || continue
1.5       misho    3491: # Check for GNU ac_path_GREP and select it if it is found.
1.1       misho    3492:   # Check for GNU $ac_path_GREP
                   3493: case `"$ac_path_GREP" --version 2>&1` in
                   3494: *GNU*)
                   3495:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   3496: *)
                   3497:   ac_count=0
1.5       misho    3498:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    3499:   while :
                   3500:   do
                   3501:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3502:     mv "conftest.tmp" "conftest.in"
                   3503:     cp "conftest.in" "conftest.nl"
1.5       misho    3504:     $as_echo 'GREP' >> "conftest.nl"
1.1       misho    3505:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3506:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.5       misho    3507:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3508:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3509:       # Best one so far, save it but keep looking for a better one
                   3510:       ac_cv_path_GREP="$ac_path_GREP"
                   3511:       ac_path_GREP_max=$ac_count
                   3512:     fi
                   3513:     # 10*(2^10) chars as input seems more than enough
                   3514:     test $ac_count -gt 10 && break
                   3515:   done
                   3516:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3517: esac
                   3518: 
1.5       misho    3519:       $ac_path_GREP_found && break 3
                   3520:     done
                   3521:   done
1.1       misho    3522:   done
                   3523: IFS=$as_save_IFS
1.5       misho    3524:   if test -z "$ac_cv_path_GREP"; then
1.6       misho    3525:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.5       misho    3526:   fi
1.1       misho    3527: else
                   3528:   ac_cv_path_GREP=$GREP
                   3529: fi
                   3530: 
                   3531: fi
1.5       misho    3532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   3533: $as_echo "$ac_cv_path_GREP" >&6; }
1.1       misho    3534:  GREP="$ac_cv_path_GREP"
                   3535: 
                   3536: 
1.5       misho    3537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   3538: $as_echo_n "checking for egrep... " >&6; }
1.6       misho    3539: if ${ac_cv_path_EGREP+:} false; then :
1.5       misho    3540:   $as_echo_n "(cached) " >&6
1.1       misho    3541: else
                   3542:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   3543:    then ac_cv_path_EGREP="$GREP -E"
                   3544:    else
1.5       misho    3545:      if test -z "$EGREP"; then
1.1       misho    3546:   ac_path_EGREP_found=false
1.5       misho    3547:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3548:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    3549: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3550: do
                   3551:   IFS=$as_save_IFS
                   3552:   test -z "$as_dir" && as_dir=.
1.5       misho    3553:     for ac_prog in egrep; do
                   3554:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3555:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.6       misho    3556:       as_fn_executable_p "$ac_path_EGREP" || continue
1.5       misho    3557: # Check for GNU ac_path_EGREP and select it if it is found.
1.1       misho    3558:   # Check for GNU $ac_path_EGREP
                   3559: case `"$ac_path_EGREP" --version 2>&1` in
                   3560: *GNU*)
                   3561:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   3562: *)
                   3563:   ac_count=0
1.5       misho    3564:   $as_echo_n 0123456789 >"conftest.in"
1.1       misho    3565:   while :
                   3566:   do
                   3567:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3568:     mv "conftest.tmp" "conftest.in"
                   3569:     cp "conftest.in" "conftest.nl"
1.5       misho    3570:     $as_echo 'EGREP' >> "conftest.nl"
1.1       misho    3571:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3572:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.5       misho    3573:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3574:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   3575:       # Best one so far, save it but keep looking for a better one
                   3576:       ac_cv_path_EGREP="$ac_path_EGREP"
                   3577:       ac_path_EGREP_max=$ac_count
                   3578:     fi
                   3579:     # 10*(2^10) chars as input seems more than enough
                   3580:     test $ac_count -gt 10 && break
                   3581:   done
                   3582:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3583: esac
                   3584: 
1.5       misho    3585:       $ac_path_EGREP_found && break 3
                   3586:     done
                   3587:   done
1.1       misho    3588:   done
                   3589: IFS=$as_save_IFS
1.5       misho    3590:   if test -z "$ac_cv_path_EGREP"; then
1.6       misho    3591:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.5       misho    3592:   fi
1.1       misho    3593: else
                   3594:   ac_cv_path_EGREP=$EGREP
                   3595: fi
                   3596: 
                   3597:    fi
                   3598: fi
1.5       misho    3599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   3600: $as_echo "$ac_cv_path_EGREP" >&6; }
1.1       misho    3601:  EGREP="$ac_cv_path_EGREP"
                   3602: 
                   3603: 
1.5       misho    3604: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   3605: $as_echo_n "checking for ANSI C header files... " >&6; }
1.6       misho    3606: if ${ac_cv_header_stdc+:} false; then :
1.5       misho    3607:   $as_echo_n "(cached) " >&6
1.1       misho    3608: else
1.5       misho    3609:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3610: /* end confdefs.h.  */
                   3611: #include <stdlib.h>
                   3612: #include <stdarg.h>
                   3613: #include <string.h>
                   3614: #include <float.h>
                   3615: 
                   3616: int
                   3617: main ()
                   3618: {
                   3619: 
                   3620:   ;
                   3621:   return 0;
                   3622: }
                   3623: _ACEOF
1.5       misho    3624: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3625:   ac_cv_header_stdc=yes
                   3626: else
1.5       misho    3627:   ac_cv_header_stdc=no
1.1       misho    3628: fi
                   3629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3630: 
                   3631: if test $ac_cv_header_stdc = yes; then
                   3632:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.5       misho    3633:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3634: /* end confdefs.h.  */
                   3635: #include <string.h>
                   3636: 
                   3637: _ACEOF
                   3638: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5       misho    3639:   $EGREP "memchr" >/dev/null 2>&1; then :
                   3640: 
1.1       misho    3641: else
                   3642:   ac_cv_header_stdc=no
                   3643: fi
                   3644: rm -f conftest*
                   3645: 
                   3646: fi
                   3647: 
                   3648: if test $ac_cv_header_stdc = yes; then
                   3649:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.5       misho    3650:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3651: /* end confdefs.h.  */
                   3652: #include <stdlib.h>
                   3653: 
                   3654: _ACEOF
                   3655: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.5       misho    3656:   $EGREP "free" >/dev/null 2>&1; then :
                   3657: 
1.1       misho    3658: else
                   3659:   ac_cv_header_stdc=no
                   3660: fi
                   3661: rm -f conftest*
                   3662: 
                   3663: fi
                   3664: 
                   3665: if test $ac_cv_header_stdc = yes; then
                   3666:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.5       misho    3667:   if test "$cross_compiling" = yes; then :
1.1       misho    3668:   :
                   3669: else
1.5       misho    3670:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3671: /* end confdefs.h.  */
                   3672: #include <ctype.h>
                   3673: #include <stdlib.h>
                   3674: #if ((' ' & 0x0FF) == 0x020)
                   3675: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   3676: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   3677: #else
                   3678: # define ISLOWER(c) \
                   3679:                   (('a' <= (c) && (c) <= 'i') \
                   3680:                     || ('j' <= (c) && (c) <= 'r') \
                   3681:                     || ('s' <= (c) && (c) <= 'z'))
                   3682: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   3683: #endif
                   3684: 
                   3685: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   3686: int
                   3687: main ()
                   3688: {
                   3689:   int i;
                   3690:   for (i = 0; i < 256; i++)
                   3691:     if (XOR (islower (i), ISLOWER (i))
                   3692:        || toupper (i) != TOUPPER (i))
                   3693:       return 2;
                   3694:   return 0;
                   3695: }
                   3696: _ACEOF
1.5       misho    3697: if ac_fn_c_try_run "$LINENO"; then :
                   3698: 
1.1       misho    3699: else
1.5       misho    3700:   ac_cv_header_stdc=no
1.1       misho    3701: fi
1.5       misho    3702: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   3703:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    3704: fi
                   3705: 
                   3706: fi
                   3707: fi
1.5       misho    3708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   3709: $as_echo "$ac_cv_header_stdc" >&6; }
1.1       misho    3710: if test $ac_cv_header_stdc = yes; then
                   3711: 
1.5       misho    3712: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    3713: 
                   3714: fi
                   3715: 
                   3716: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   3717: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   3718:                  inttypes.h stdint.h unistd.h
1.5       misho    3719: do :
                   3720:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   3721: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   3722: "
1.6       misho    3723: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3724:   cat >>confdefs.h <<_ACEOF
1.5       misho    3725: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    3726: _ACEOF
                   3727: 
                   3728: fi
                   3729: 
                   3730: done
                   3731: 
                   3732: 
1.4       misho    3733: for ac_header in stdlib.h string.h sys/ioctl.h termios.h unistd.h libutil.h
1.5       misho    3734: do :
                   3735:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   3736: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1.6       misho    3737: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3738:   cat >>confdefs.h <<_ACEOF
1.5       misho    3739: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misho    3740: _ACEOF
                   3741: 
                   3742: fi
                   3743: 
                   3744: done
                   3745: 
                   3746: 
                   3747: # Checks for typedefs, structures, and compiler characteristics.
1.5       misho    3748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
                   3749: $as_echo_n "checking for inline... " >&6; }
1.6       misho    3750: if ${ac_cv_c_inline+:} false; then :
1.5       misho    3751:   $as_echo_n "(cached) " >&6
1.1       misho    3752: else
                   3753:   ac_cv_c_inline=no
                   3754: for ac_kw in inline __inline__ __inline; do
1.5       misho    3755:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3756: /* end confdefs.h.  */
                   3757: #ifndef __cplusplus
                   3758: typedef int foo_t;
                   3759: static $ac_kw foo_t static_foo () {return 0; }
                   3760: $ac_kw foo_t foo () {return 0; }
                   3761: #endif
                   3762: 
                   3763: _ACEOF
1.5       misho    3764: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3765:   ac_cv_c_inline=$ac_kw
                   3766: fi
                   3767: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3768:   test "$ac_cv_c_inline" != no && break
                   3769: done
                   3770: 
                   3771: fi
1.5       misho    3772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
                   3773: $as_echo "$ac_cv_c_inline" >&6; }
1.1       misho    3774: 
                   3775: case $ac_cv_c_inline in
                   3776:   inline | yes) ;;
                   3777:   *)
                   3778:     case $ac_cv_c_inline in
                   3779:       no) ac_val=;;
                   3780:       *) ac_val=$ac_cv_c_inline;;
                   3781:     esac
                   3782:     cat >>confdefs.h <<_ACEOF
                   3783: #ifndef __cplusplus
                   3784: #define inline $ac_val
                   3785: #endif
                   3786: _ACEOF
                   3787:     ;;
                   3788: esac
                   3789: 
                   3790: 
                   3791: # Checks for library functions.
                   3792: for ac_func in memset strdup strerror
1.5       misho    3793: do :
                   3794:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   3795: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1.6       misho    3796: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1.1       misho    3797:   cat >>confdefs.h <<_ACEOF
1.5       misho    3798: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       misho    3799: _ACEOF
                   3800: 
                   3801: fi
                   3802: done
                   3803: 
1.7       misho    3804: for ac_func in str_Trim
1.5       misho    3805: do :
1.7       misho    3806:   ac_fn_c_check_func "$LINENO" "str_Trim" "ac_cv_func_str_Trim"
                   3807: if test "x$ac_cv_func_str_Trim" = xyes; then :
1.2       misho    3808:   cat >>confdefs.h <<_ACEOF
1.7       misho    3809: #define HAVE_STR_TRIM 1
1.2       misho    3810: _ACEOF
                   3811: 
                   3812: fi
1.5       misho    3813: done
1.2       misho    3814: 
1.5       misho    3815: for ac_func in forkpty
                   3816: do :
                   3817:   ac_fn_c_check_func "$LINENO" "forkpty" "ac_cv_func_forkpty"
1.6       misho    3818: if test "x$ac_cv_func_forkpty" = xyes; then :
1.2       misho    3819:   cat >>confdefs.h <<_ACEOF
1.5       misho    3820: #define HAVE_FORKPTY 1
1.2       misho    3821: _ACEOF
                   3822: 
                   3823: fi
                   3824: done
                   3825: 
                   3826: 
1.1       misho    3827: DEBUG=no
1.5       misho    3828: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Debug Build" >&5
                   3829: $as_echo_n "checking Debug Build... " >&6; }
1.1       misho    3830: # Check whether --enable-debug was given.
1.5       misho    3831: if test "${enable_debug+set}" = set; then :
1.1       misho    3832:   enableval=$enable_debug;  DEBUG=$enableval
                   3833:                case "$enableval" in
                   3834:                        yes)
                   3835: 
1.5       misho    3836: $as_echo "#define __DEBUG /**/" >>confdefs.h
1.1       misho    3837: 
                   3838:                                CFLAGS="-g ${CFLAGS}"
                   3839:                                ;;
                   3840:                        *)
                   3841: 
1.5       misho    3842: $as_echo "#define NDEBUG /**/" >>confdefs.h
1.1       misho    3843: 
                   3844:                                ;;
                   3845:                esac
                   3846: fi
                   3847: 
1.5       misho    3848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEBUG" >&5
                   3849: $as_echo "$DEBUG" >&6; }
1.1       misho    3850: 
                   3851: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
                   3852: 
                   3853: cat >confcache <<\_ACEOF
                   3854: # This file is a shell script that caches the results of configure
                   3855: # tests run on this system so they can be shared between configure
                   3856: # scripts and configure runs, see configure's option --config-cache.
                   3857: # It is not useful on other systems.  If it contains results you don't
                   3858: # want to keep, you may remove or edit it.
                   3859: #
                   3860: # config.status only pays attention to the cache file if you give it
                   3861: # the --recheck option to rerun configure.
                   3862: #
                   3863: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   3864: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   3865: # following values.
                   3866: 
                   3867: _ACEOF
                   3868: 
                   3869: # The following way of writing the cache mishandles newlines in values,
                   3870: # but we know of no workaround that is simple, portable, and efficient.
                   3871: # So, we kill variables containing newlines.
                   3872: # Ultrix sh set writes to stderr and can't be redirected directly,
                   3873: # and sets the high bit in the cache file unless we assign to the vars.
                   3874: (
                   3875:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   3876:     eval ac_val=\$$ac_var
                   3877:     case $ac_val in #(
                   3878:     *${as_nl}*)
                   3879:       case $ac_var in #(
1.5       misho    3880:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   3881: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1.1       misho    3882:       esac
                   3883:       case $ac_var in #(
                   3884:       _ | IFS | as_nl) ;; #(
1.5       misho    3885:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   3886:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    3887:       esac ;;
                   3888:     esac
                   3889:   done
                   3890: 
                   3891:   (set) 2>&1 |
                   3892:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   3893:     *${as_nl}ac_space=\ *)
1.5       misho    3894:       # `set' does not quote correctly, so add quotes: double-quote
                   3895:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       misho    3896:       sed -n \
                   3897:        "s/'/'\\\\''/g;
                   3898:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   3899:       ;; #(
                   3900:     *)
                   3901:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   3902:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   3903:       ;;
                   3904:     esac |
                   3905:     sort
                   3906: ) |
                   3907:   sed '
                   3908:      /^ac_cv_env_/b end
                   3909:      t clear
                   3910:      :clear
                   3911:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   3912:      t end
                   3913:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   3914:      :end' >>confcache
                   3915: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   3916:   if test -w "$cache_file"; then
1.6       misho    3917:     if test "x$cache_file" != "x/dev/null"; then
1.5       misho    3918:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   3919: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.6       misho    3920:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   3921:        cat confcache >"$cache_file"
                   3922:       else
                   3923:         case $cache_file in #(
                   3924:         */* | ?:*)
                   3925:          mv -f confcache "$cache_file"$$ &&
                   3926:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   3927:         *)
                   3928:          mv -f confcache "$cache_file" ;;
                   3929:        esac
                   3930:       fi
                   3931:     fi
1.1       misho    3932:   else
1.5       misho    3933:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   3934: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1.1       misho    3935:   fi
                   3936: fi
                   3937: rm -f confcache
                   3938: 
                   3939: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   3940: # Let make expand exec_prefix.
                   3941: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   3942: 
                   3943: DEFS=-DHAVE_CONFIG_H
                   3944: 
                   3945: ac_libobjs=
                   3946: ac_ltlibobjs=
1.6       misho    3947: U=
1.1       misho    3948: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   3949:   # 1. Remove the extension, and $U if already installed.
                   3950:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1.5       misho    3951:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1.1       misho    3952:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   3953:   #    will be set to the directory where LIBOBJS objects are built.
1.5       misho    3954:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   3955:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       misho    3956: done
                   3957: LIBOBJS=$ac_libobjs
                   3958: 
                   3959: LTLIBOBJS=$ac_ltlibobjs
                   3960: 
                   3961: 
                   3962: 
1.6       misho    3963: : "${CONFIG_STATUS=./config.status}"
1.5       misho    3964: ac_write_fail=0
1.1       misho    3965: ac_clean_files_save=$ac_clean_files
                   3966: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.5       misho    3967: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   3968: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   3969: as_write_fail=0
                   3970: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       misho    3971: #! $SHELL
                   3972: # Generated by $as_me.
                   3973: # Run this file to recreate the current configuration.
                   3974: # Compiler output produced by configure, useful for debugging
                   3975: # configure, is in config.log if it exists.
                   3976: 
                   3977: debug=false
                   3978: ac_cs_recheck=false
                   3979: ac_cs_silent=false
1.5       misho    3980: 
1.1       misho    3981: SHELL=\${CONFIG_SHELL-$SHELL}
1.5       misho    3982: export SHELL
                   3983: _ASEOF
                   3984: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   3985: ## -------------------- ##
                   3986: ## M4sh Initialization. ##
                   3987: ## -------------------- ##
1.1       misho    3988: 
                   3989: # Be more Bourne compatible
                   3990: DUALCASE=1; export DUALCASE # for MKS sh
1.5       misho    3991: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho    3992:   emulate sh
                   3993:   NULLCMD=:
1.5       misho    3994:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misho    3995:   # is contrary to our usage.  Disable this feature.
                   3996:   alias -g '${1+"$@"}'='"$@"'
                   3997:   setopt NO_GLOB_SUBST
                   3998: else
1.5       misho    3999:   case `(set -o) 2>/dev/null` in #(
                   4000:   *posix*) :
                   4001:     set -o posix ;; #(
                   4002:   *) :
                   4003:      ;;
1.1       misho    4004: esac
                   4005: fi
                   4006: 
                   4007: 
1.5       misho    4008: as_nl='
                   4009: '
                   4010: export as_nl
                   4011: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   4012: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   4013: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   4014: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   4015: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   4016: # but without wasting forks for bash or zsh.
                   4017: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   4018:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   4019:   as_echo='print -r --'
                   4020:   as_echo_n='print -rn --'
                   4021: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   4022:   as_echo='printf %s\n'
                   4023:   as_echo_n='printf %s'
                   4024: else
                   4025:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   4026:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   4027:     as_echo_n='/usr/ucb/echo -n'
1.1       misho    4028:   else
1.5       misho    4029:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   4030:     as_echo_n_body='eval
                   4031:       arg=$1;
                   4032:       case $arg in #(
                   4033:       *"$as_nl"*)
                   4034:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   4035:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   4036:       esac;
                   4037:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   4038:     '
                   4039:     export as_echo_n_body
                   4040:     as_echo_n='sh -c $as_echo_n_body as_echo'
1.1       misho    4041:   fi
1.5       misho    4042:   export as_echo_body
                   4043:   as_echo='sh -c $as_echo_body as_echo'
1.1       misho    4044: fi
                   4045: 
1.5       misho    4046: # The user is always right.
                   4047: if test "${PATH_SEPARATOR+set}" != set; then
                   4048:   PATH_SEPARATOR=:
                   4049:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   4050:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   4051:       PATH_SEPARATOR=';'
                   4052:   }
1.1       misho    4053: fi
                   4054: 
                   4055: 
                   4056: # IFS
                   4057: # We need space, tab and new line, in precisely that order.  Quoting is
                   4058: # there to prevent editors from complaining about space-tab.
                   4059: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   4060: # splitting by setting IFS to empty value.)
                   4061: IFS=" ""       $as_nl"
                   4062: 
                   4063: # Find who we are.  Look in the path if we contain no directory separator.
1.6       misho    4064: as_myself=
1.5       misho    4065: case $0 in #((
1.1       misho    4066:   *[\\/]* ) as_myself=$0 ;;
                   4067:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4068: for as_dir in $PATH
                   4069: do
                   4070:   IFS=$as_save_IFS
                   4071:   test -z "$as_dir" && as_dir=.
1.5       misho    4072:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   4073:   done
1.1       misho    4074: IFS=$as_save_IFS
                   4075: 
                   4076:      ;;
                   4077: esac
                   4078: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   4079: # in which case we are not to be found in the path.
                   4080: if test "x$as_myself" = x; then
                   4081:   as_myself=$0
                   4082: fi
                   4083: if test ! -f "$as_myself"; then
1.5       misho    4084:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   4085:   exit 1
1.1       misho    4086: fi
                   4087: 
1.5       misho    4088: # Unset variables that we do not need and which cause bugs (e.g. in
                   4089: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   4090: # suppresses any "Segmentation fault" message there.  '((' could
                   4091: # trigger a bug in pdksh 5.2.14.
                   4092: for as_var in BASH_ENV ENV MAIL MAILPATH
                   4093: do eval test x\${$as_var+set} = xset \
                   4094:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho    4095: done
                   4096: PS1='$ '
                   4097: PS2='> '
                   4098: PS4='+ '
                   4099: 
                   4100: # NLS nuisances.
1.5       misho    4101: LC_ALL=C
                   4102: export LC_ALL
                   4103: LANGUAGE=C
                   4104: export LANGUAGE
                   4105: 
                   4106: # CDPATH.
                   4107: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   4108: 
                   4109: 
1.6       misho    4110: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   4111: # ----------------------------------------
1.5       misho    4112: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   4113: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
1.6       misho    4114: # script with STATUS, using 1 if that was 0.
1.5       misho    4115: as_fn_error ()
                   4116: {
1.6       misho    4117:   as_status=$1; test $as_status -eq 0 && as_status=1
                   4118:   if test "$4"; then
                   4119:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   4120:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1.4       misho    4121:   fi
1.6       misho    4122:   $as_echo "$as_me: error: $2" >&2
1.5       misho    4123:   as_fn_exit $as_status
                   4124: } # as_fn_error
                   4125: 
                   4126: 
                   4127: # as_fn_set_status STATUS
                   4128: # -----------------------
                   4129: # Set $? to STATUS, without forking.
                   4130: as_fn_set_status ()
                   4131: {
                   4132:   return $1
                   4133: } # as_fn_set_status
                   4134: 
                   4135: # as_fn_exit STATUS
                   4136: # -----------------
                   4137: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   4138: as_fn_exit ()
                   4139: {
                   4140:   set +e
                   4141:   as_fn_set_status $1
                   4142:   exit $1
                   4143: } # as_fn_exit
                   4144: 
                   4145: # as_fn_unset VAR
                   4146: # ---------------
                   4147: # Portably unset VAR.
                   4148: as_fn_unset ()
                   4149: {
                   4150:   { eval $1=; unset $1;}
                   4151: }
                   4152: as_unset=as_fn_unset
                   4153: # as_fn_append VAR VALUE
                   4154: # ----------------------
                   4155: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   4156: # advantage of any shell optimizations that allow amortized linear growth over
                   4157: # repeated appends, instead of the typical quadratic growth present in naive
                   4158: # implementations.
                   4159: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   4160:   eval 'as_fn_append ()
                   4161:   {
                   4162:     eval $1+=\$2
                   4163:   }'
                   4164: else
                   4165:   as_fn_append ()
                   4166:   {
                   4167:     eval $1=\$$1\$2
                   4168:   }
                   4169: fi # as_fn_append
                   4170: 
                   4171: # as_fn_arith ARG...
                   4172: # ------------------
                   4173: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   4174: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   4175: # must be portable across $(()) and expr.
                   4176: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   4177:   eval 'as_fn_arith ()
                   4178:   {
                   4179:     as_val=$(( $* ))
                   4180:   }'
                   4181: else
                   4182:   as_fn_arith ()
                   4183:   {
                   4184:     as_val=`expr "$@" || test $? -eq 1`
                   4185:   }
                   4186: fi # as_fn_arith
                   4187: 
1.1       misho    4188: 
                   4189: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   4190:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   4191:   as_expr=expr
                   4192: else
                   4193:   as_expr=false
                   4194: fi
                   4195: 
                   4196: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   4197:   as_basename=basename
                   4198: else
                   4199:   as_basename=false
                   4200: fi
                   4201: 
1.5       misho    4202: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   4203:   as_dirname=dirname
                   4204: else
                   4205:   as_dirname=false
                   4206: fi
1.1       misho    4207: 
                   4208: as_me=`$as_basename -- "$0" ||
                   4209: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   4210:         X"$0" : 'X\(//\)$' \| \
                   4211:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1.5       misho    4212: $as_echo X/"$0" |
1.1       misho    4213:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   4214:            s//\1/
                   4215:            q
                   4216:          }
                   4217:          /^X\/\(\/\/\)$/{
                   4218:            s//\1/
                   4219:            q
                   4220:          }
                   4221:          /^X\/\(\/\).*/{
                   4222:            s//\1/
                   4223:            q
                   4224:          }
                   4225:          s/.*/./; q'`
                   4226: 
1.5       misho    4227: # Avoid depending upon Character Ranges.
                   4228: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   4229: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   4230: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   4231: as_cr_digits='0123456789'
                   4232: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho    4233: 
                   4234: ECHO_C= ECHO_N= ECHO_T=
1.5       misho    4235: case `echo -n x` in #(((((
1.1       misho    4236: -n*)
1.5       misho    4237:   case `echo 'xy\c'` in
1.1       misho    4238:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.5       misho    4239:   xy)  ECHO_C='\c';;
                   4240:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   4241:        ECHO_T='        ';;
1.1       misho    4242:   esac;;
                   4243: *)
                   4244:   ECHO_N='-n';;
                   4245: esac
1.4       misho    4246: 
1.1       misho    4247: rm -f conf$$ conf$$.exe conf$$.file
                   4248: if test -d conf$$.dir; then
                   4249:   rm -f conf$$.dir/conf$$.file
                   4250: else
                   4251:   rm -f conf$$.dir
1.5       misho    4252:   mkdir conf$$.dir 2>/dev/null
1.1       misho    4253: fi
1.5       misho    4254: if (echo >conf$$.file) 2>/dev/null; then
                   4255:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   4256:     as_ln_s='ln -s'
                   4257:     # ... but there are two gotchas:
                   4258:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   4259:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.6       misho    4260:     # In both cases, we have to default to `cp -pR'.
1.5       misho    4261:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.6       misho    4262:       as_ln_s='cp -pR'
1.5       misho    4263:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   4264:     as_ln_s=ln
                   4265:   else
1.6       misho    4266:     as_ln_s='cp -pR'
1.5       misho    4267:   fi
1.1       misho    4268: else
1.6       misho    4269:   as_ln_s='cp -pR'
1.1       misho    4270: fi
                   4271: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   4272: rmdir conf$$.dir 2>/dev/null
                   4273: 
1.5       misho    4274: 
                   4275: # as_fn_mkdir_p
                   4276: # -------------
                   4277: # Create "$as_dir" as a directory, including parents if necessary.
                   4278: as_fn_mkdir_p ()
                   4279: {
                   4280: 
                   4281:   case $as_dir in #(
                   4282:   -*) as_dir=./$as_dir;;
                   4283:   esac
                   4284:   test -d "$as_dir" || eval $as_mkdir_p || {
                   4285:     as_dirs=
                   4286:     while :; do
                   4287:       case $as_dir in #(
                   4288:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   4289:       *) as_qdir=$as_dir;;
                   4290:       esac
                   4291:       as_dirs="'$as_qdir' $as_dirs"
                   4292:       as_dir=`$as_dirname -- "$as_dir" ||
                   4293: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   4294:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   4295:         X"$as_dir" : 'X\(//\)$' \| \
                   4296:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   4297: $as_echo X"$as_dir" |
                   4298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   4299:            s//\1/
                   4300:            q
                   4301:          }
                   4302:          /^X\(\/\/\)[^/].*/{
                   4303:            s//\1/
                   4304:            q
                   4305:          }
                   4306:          /^X\(\/\/\)$/{
                   4307:            s//\1/
                   4308:            q
                   4309:          }
                   4310:          /^X\(\/\).*/{
                   4311:            s//\1/
                   4312:            q
                   4313:          }
                   4314:          s/.*/./; q'`
                   4315:       test -d "$as_dir" && break
                   4316:     done
                   4317:     test -z "$as_dirs" || eval "mkdir $as_dirs"
1.6       misho    4318:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.5       misho    4319: 
                   4320: 
                   4321: } # as_fn_mkdir_p
1.1       misho    4322: if mkdir -p . 2>/dev/null; then
1.5       misho    4323:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho    4324: else
                   4325:   test -d ./-p && rmdir ./-p
                   4326:   as_mkdir_p=false
                   4327: fi
                   4328: 
1.6       misho    4329: 
                   4330: # as_fn_executable_p FILE
                   4331: # -----------------------
                   4332: # Test if FILE is an executable regular file.
                   4333: as_fn_executable_p ()
                   4334: {
                   4335:   test -f "$1" && test -x "$1"
                   4336: } # as_fn_executable_p
                   4337: as_test_x='test -x'
                   4338: as_executable_p=as_fn_executable_p
1.1       misho    4339: 
                   4340: # Sed expression to map a string onto a valid CPP name.
                   4341: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   4342: 
                   4343: # Sed expression to map a string onto a valid variable name.
                   4344: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   4345: 
                   4346: 
                   4347: exec 6>&1
1.5       misho    4348: ## ----------------------------------- ##
                   4349: ## Main body of $CONFIG_STATUS script. ##
                   4350: ## ----------------------------------- ##
                   4351: _ASEOF
                   4352: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misho    4353: 
1.5       misho    4354: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   4355: # Save the log message, to keep $0 and so on meaningful, and to
1.1       misho    4356: # report actual input values of CONFIG_FILES etc. instead of their
                   4357: # values after options handling.
                   4358: ac_log="
1.11.2.1! misho    4359: This file was extended by libaitcli $as_me 3.5, which was
1.6       misho    4360: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    4361: 
                   4362:   CONFIG_FILES    = $CONFIG_FILES
                   4363:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   4364:   CONFIG_LINKS    = $CONFIG_LINKS
                   4365:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   4366:   $ $0 $@
                   4367: 
                   4368: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   4369: "
                   4370: 
                   4371: _ACEOF
                   4372: 
1.5       misho    4373: case $ac_config_files in *"
                   4374: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   4375: esac
                   4376: 
                   4377: case $ac_config_headers in *"
                   4378: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   4379: esac
                   4380: 
                   4381: 
                   4382: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4383: # Files that config.status was made for.
                   4384: config_files="$ac_config_files"
                   4385: config_headers="$ac_config_headers"
                   4386: 
                   4387: _ACEOF
                   4388: 
1.5       misho    4389: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4390: ac_cs_usage="\
1.5       misho    4391: \`$as_me' instantiates files and other configuration actions
                   4392: from templates according to the current configuration.  Unless the files
                   4393: and actions are specified as TAGs, all are instantiated by default.
1.1       misho    4394: 
1.5       misho    4395: Usage: $0 [OPTION]... [TAG]...
1.1       misho    4396: 
                   4397:   -h, --help       print this help, then exit
                   4398:   -V, --version    print version number and configuration settings, then exit
1.6       misho    4399:       --config     print configuration, then exit
1.5       misho    4400:   -q, --quiet, --silent
                   4401:                    do not print progress messages
1.1       misho    4402:   -d, --debug      don't remove temporary files
                   4403:       --recheck    update $as_me by reconfiguring in the same conditions
1.5       misho    4404:       --file=FILE[:TEMPLATE]
                   4405:                    instantiate the configuration file FILE
                   4406:       --header=FILE[:TEMPLATE]
                   4407:                    instantiate the configuration header FILE
1.1       misho    4408: 
                   4409: Configuration files:
                   4410: $config_files
                   4411: 
                   4412: Configuration headers:
                   4413: $config_headers
                   4414: 
1.7       misho    4415: Report bugs to <misho@elwix.org>."
1.1       misho    4416: 
                   4417: _ACEOF
1.5       misho    4418: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.6       misho    4419: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       misho    4420: ac_cs_version="\\
1.11.2.1! misho    4421: libaitcli config.status 3.5
1.6       misho    4422: configured by $0, generated by GNU Autoconf 2.69,
                   4423:   with options \\"\$ac_cs_config\\"
1.1       misho    4424: 
1.6       misho    4425: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    4426: This config.status script is free software; the Free Software Foundation
                   4427: gives unlimited permission to copy, distribute and modify it."
                   4428: 
                   4429: ac_pwd='$ac_pwd'
                   4430: srcdir='$srcdir'
                   4431: INSTALL='$INSTALL'
1.5       misho    4432: test -n "\$AWK" || AWK=awk
1.1       misho    4433: _ACEOF
                   4434: 
1.5       misho    4435: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   4436: # The default lists apply if the user does not specify any file.
1.1       misho    4437: ac_need_defaults=:
                   4438: while test $# != 0
                   4439: do
                   4440:   case $1 in
1.6       misho    4441:   --*=?*)
1.1       misho    4442:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   4443:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   4444:     ac_shift=:
                   4445:     ;;
1.6       misho    4446:   --*=)
                   4447:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   4448:     ac_optarg=
                   4449:     ac_shift=:
                   4450:     ;;
1.1       misho    4451:   *)
                   4452:     ac_option=$1
                   4453:     ac_optarg=$2
                   4454:     ac_shift=shift
                   4455:     ;;
                   4456:   esac
                   4457: 
                   4458:   case $ac_option in
                   4459:   # Handling of the options.
                   4460:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   4461:     ac_cs_recheck=: ;;
                   4462:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1.5       misho    4463:     $as_echo "$ac_cs_version"; exit ;;
1.6       misho    4464:   --config | --confi | --conf | --con | --co | --c )
                   4465:     $as_echo "$ac_cs_config"; exit ;;
1.1       misho    4466:   --debug | --debu | --deb | --de | --d | -d )
                   4467:     debug=: ;;
                   4468:   --file | --fil | --fi | --f )
                   4469:     $ac_shift
1.5       misho    4470:     case $ac_optarg in
                   4471:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.6       misho    4472:     '') as_fn_error $? "missing file argument" ;;
1.5       misho    4473:     esac
                   4474:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       misho    4475:     ac_need_defaults=false;;
                   4476:   --header | --heade | --head | --hea )
                   4477:     $ac_shift
1.5       misho    4478:     case $ac_optarg in
                   4479:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   4480:     esac
                   4481:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       misho    4482:     ac_need_defaults=false;;
                   4483:   --he | --h)
                   4484:     # Conflict between --help and --header
1.6       misho    4485:     as_fn_error $? "ambiguous option: \`$1'
1.5       misho    4486: Try \`$0 --help' for more information.";;
1.1       misho    4487:   --help | --hel | -h )
1.5       misho    4488:     $as_echo "$ac_cs_usage"; exit ;;
1.1       misho    4489:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   4490:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   4491:     ac_cs_silent=: ;;
                   4492: 
                   4493:   # This is an error.
1.6       misho    4494:   -*) as_fn_error $? "unrecognized option: \`$1'
1.5       misho    4495: Try \`$0 --help' for more information." ;;
1.1       misho    4496: 
1.5       misho    4497:   *) as_fn_append ac_config_targets " $1"
1.1       misho    4498:      ac_need_defaults=false ;;
                   4499: 
                   4500:   esac
                   4501:   shift
                   4502: done
                   4503: 
                   4504: ac_configure_extra_args=
                   4505: 
                   4506: if $ac_cs_silent; then
                   4507:   exec 6>/dev/null
                   4508:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   4509: fi
                   4510: 
                   4511: _ACEOF
1.5       misho    4512: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4513: if \$ac_cs_recheck; then
1.6       misho    4514:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.5       misho    4515:   shift
                   4516:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   4517:   CONFIG_SHELL='$SHELL'
1.1       misho    4518:   export CONFIG_SHELL
1.5       misho    4519:   exec "\$@"
1.1       misho    4520: fi
                   4521: 
                   4522: _ACEOF
1.5       misho    4523: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4524: exec 5>>config.log
                   4525: {
                   4526:   echo
                   4527:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   4528: ## Running $as_me. ##
                   4529: _ASBOX
1.5       misho    4530:   $as_echo "$ac_log"
1.1       misho    4531: } >&5
                   4532: 
                   4533: _ACEOF
1.5       misho    4534: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    4535: _ACEOF
                   4536: 
1.5       misho    4537: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4538: 
                   4539: # Handling of arguments.
                   4540: for ac_config_target in $ac_config_targets
                   4541: do
                   4542:   case $ac_config_target in
                   4543:     "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
                   4544:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   4545:     "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
                   4546:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   4547:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   4548: 
1.6       misho    4549:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    4550:   esac
                   4551: done
                   4552: 
                   4553: 
                   4554: # If the user did not use the arguments to specify the items to instantiate,
                   4555: # then the envvar interface is used.  Set only those that are not.
                   4556: # We use the long form for the default assignment because of an extremely
                   4557: # bizarre bug on SunOS 4.1.3.
                   4558: if $ac_need_defaults; then
                   4559:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   4560:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   4561: fi
                   4562: 
                   4563: # Have a temporary directory for convenience.  Make it in the build tree
                   4564: # simply because there is no reason against having it here, and in addition,
                   4565: # creating and moving files from /tmp can sometimes cause problems.
                   4566: # Hook for its removal unless debugging.
                   4567: # Note that there is a small window in which the directory will not be cleaned:
                   4568: # after its creation but before its name has been assigned to `$tmp'.
                   4569: $debug ||
                   4570: {
1.6       misho    4571:   tmp= ac_tmp=
1.1       misho    4572:   trap 'exit_status=$?
1.6       misho    4573:   : "${ac_tmp:=$tmp}"
                   4574:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    4575: ' 0
1.5       misho    4576:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    4577: }
                   4578: # Create a (secure) tmp directory for tmp files.
                   4579: 
                   4580: {
                   4581:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.6       misho    4582:   test -d "$tmp"
1.1       misho    4583: }  ||
                   4584: {
                   4585:   tmp=./conf$$-$RANDOM
                   4586:   (umask 077 && mkdir "$tmp")
1.6       misho    4587: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   4588: ac_tmp=$tmp
1.5       misho    4589: 
                   4590: # Set up the scripts for CONFIG_FILES section.
                   4591: # No need to generate them if there are no CONFIG_FILES.
                   4592: # This happens for instance with `./config.status config.h'.
                   4593: if test -n "$CONFIG_FILES"; then
1.1       misho    4594: 
1.4       misho    4595: 
1.5       misho    4596: ac_cr=`echo X | tr X '\015'`
                   4597: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   4598: # But we know of no other shell where ac_cr would be empty at this
                   4599: # point, so we can use a bashism as a fallback.
                   4600: if test "x$ac_cr" = x; then
                   4601:   eval ac_cr=\$\'\\r\'
                   4602: fi
                   4603: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   4604: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
1.6       misho    4605:   ac_cs_awk_cr='\\r'
1.5       misho    4606: else
                   4607:   ac_cs_awk_cr=$ac_cr
                   4608: fi
1.1       misho    4609: 
1.6       misho    4610: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.4       misho    4611: _ACEOF
1.1       misho    4612: 
                   4613: 
1.5       misho    4614: {
                   4615:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   4616:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   4617:   echo "_ACEOF"
                   4618: } >conf$$subs.sh ||
1.6       misho    4619:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   4620: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    4621: ac_delim='%!_!# '
                   4622: for ac_last_try in false false false false false :; do
1.5       misho    4623:   . ./conf$$subs.sh ||
1.6       misho    4624:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    4625: 
1.5       misho    4626:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   4627:   if test $ac_delim_n = $ac_delim_num; then
1.1       misho    4628:     break
                   4629:   elif $ac_last_try; then
1.6       misho    4630:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    4631:   else
                   4632:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   4633:   fi
                   4634: done
1.5       misho    4635: rm -f conf$$subs.sh
1.1       misho    4636: 
1.5       misho    4637: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.6       misho    4638: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    4639: _ACEOF
1.5       misho    4640: sed -n '
                   4641: h
                   4642: s/^/S["/; s/!.*/"]=/
                   4643: p
                   4644: g
                   4645: s/^[^!]*!//
                   4646: :repl
                   4647: t repl
                   4648: s/'"$ac_delim"'$//
                   4649: t delim
                   4650: :nl
                   4651: h
1.6       misho    4652: s/\(.\{148\}\)..*/\1/
1.5       misho    4653: t more1
                   4654: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   4655: p
                   4656: n
                   4657: b repl
                   4658: :more1
                   4659: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   4660: p
                   4661: g
                   4662: s/.\{148\}//
                   4663: t nl
                   4664: :delim
                   4665: h
1.6       misho    4666: s/\(.\{148\}\)..*/\1/
1.5       misho    4667: t more2
                   4668: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   4669: p
                   4670: b
                   4671: :more2
                   4672: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   4673: p
                   4674: g
                   4675: s/.\{148\}//
                   4676: t delim
                   4677: ' <conf$$subs.awk | sed '
                   4678: /^[^""]/{
                   4679:   N
                   4680:   s/\n//
                   4681: }
                   4682: ' >>$CONFIG_STATUS || ac_write_fail=1
                   4683: rm -f conf$$subs.awk
                   4684: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   4685: _ACAWK
1.6       misho    4686: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.5       misho    4687:   for (key in S) S_is_set[key] = 1
                   4688:   FS = ""
                   4689: 
                   4690: }
                   4691: {
                   4692:   line = $ 0
                   4693:   nfields = split(line, field, "@")
                   4694:   substed = 0
                   4695:   len = length(field[1])
                   4696:   for (i = 2; i < nfields; i++) {
                   4697:     key = field[i]
                   4698:     keylen = length(key)
                   4699:     if (S_is_set[key]) {
                   4700:       value = S[key]
                   4701:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   4702:       len += length(value) + length(field[++i])
                   4703:       substed = 1
                   4704:     } else
                   4705:       len += 1 + keylen
                   4706:   }
                   4707: 
                   4708:   print line
                   4709: }
1.1       misho    4710: 
1.5       misho    4711: _ACAWK
                   4712: _ACEOF
                   4713: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   4714: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   4715:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   4716: else
                   4717:   cat
1.6       misho    4718: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   4719:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.5       misho    4720: _ACEOF
1.1       misho    4721: 
1.6       misho    4722: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   4723: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    4724: # trailing colons and then remove the whole line if VPATH becomes empty
                   4725: # (actually we leave an empty line to preserve line numbers).
                   4726: if test "x$srcdir" = x.; then
1.6       misho    4727:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   4728: h
                   4729: s///
                   4730: s/^/:/
                   4731: s/[     ]*$/:/
                   4732: s/:\$(srcdir):/:/g
                   4733: s/:\${srcdir}:/:/g
                   4734: s/:@srcdir@:/:/g
                   4735: s/^:*//
1.1       misho    4736: s/:*$//
1.6       misho    4737: x
                   4738: s/\(=[  ]*\).*/\1/
                   4739: G
                   4740: s/\n//
1.1       misho    4741: s/^[^=]*=[      ]*$//
                   4742: }'
                   4743: fi
                   4744: 
1.5       misho    4745: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4746: fi # test -n "$CONFIG_FILES"
                   4747: 
1.5       misho    4748: # Set up the scripts for CONFIG_HEADERS section.
                   4749: # No need to generate them if there are no CONFIG_HEADERS.
                   4750: # This happens for instance with `./config.status Makefile'.
                   4751: if test -n "$CONFIG_HEADERS"; then
1.6       misho    4752: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.5       misho    4753: BEGIN {
                   4754: _ACEOF
                   4755: 
                   4756: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   4757: # here-document in config.status, that substitutes the proper values into
                   4758: # config.h.in to produce config.h.
                   4759: 
                   4760: # Create a delimiter string that does not exist in confdefs.h, to ease
                   4761: # handling of long lines.
                   4762: ac_delim='%!_!# '
                   4763: for ac_last_try in false false :; do
1.6       misho    4764:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   4765:   if test -z "$ac_tt"; then
1.5       misho    4766:     break
                   4767:   elif $ac_last_try; then
1.6       misho    4768:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.5       misho    4769:   else
                   4770:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   4771:   fi
                   4772: done
                   4773: 
                   4774: # For the awk script, D is an array of macro values keyed by name,
                   4775: # likewise P contains macro parameters if any.  Preserve backslash
                   4776: # newline sequences.
                   4777: 
                   4778: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   4779: sed -n '
                   4780: s/.\{148\}/&'"$ac_delim"'/g
                   4781: t rset
                   4782: :rset
                   4783: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   4784: t def
                   4785: d
                   4786: :def
                   4787: s/\\$//
                   4788: t bsnl
                   4789: s/["\\]/\\&/g
                   4790: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   4791: D["\1"]=" \3"/p
                   4792: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   4793: d
                   4794: :bsnl
                   4795: s/["\\]/\\&/g
                   4796: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   4797: D["\1"]=" \3\\\\\\n"\\/p
                   4798: t cont
                   4799: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   4800: t cont
                   4801: d
                   4802: :cont
                   4803: n
                   4804: s/.\{148\}/&'"$ac_delim"'/g
                   4805: t clear
                   4806: :clear
                   4807: s/\\$//
                   4808: t bsnlc
                   4809: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   4810: d
                   4811: :bsnlc
                   4812: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   4813: b cont
                   4814: ' <confdefs.h | sed '
                   4815: s/'"$ac_delim"'/"\\\
                   4816: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   4817: 
                   4818: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   4819:   for (key in D) D_is_set[key] = 1
                   4820:   FS = ""
                   4821: }
                   4822: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   4823:   line = \$ 0
                   4824:   split(line, arg, " ")
                   4825:   if (arg[1] == "#") {
                   4826:     defundef = arg[2]
                   4827:     mac1 = arg[3]
                   4828:   } else {
                   4829:     defundef = substr(arg[1], 2)
                   4830:     mac1 = arg[2]
                   4831:   }
                   4832:   split(mac1, mac2, "(") #)
                   4833:   macro = mac2[1]
                   4834:   prefix = substr(line, 1, index(line, defundef) - 1)
                   4835:   if (D_is_set[macro]) {
                   4836:     # Preserve the white space surrounding the "#".
                   4837:     print prefix "define", macro P[macro] D[macro]
                   4838:     next
                   4839:   } else {
                   4840:     # Replace #undef with comments.  This is necessary, for example,
                   4841:     # in the case of _POSIX_SOURCE, which is predefined and required
                   4842:     # on some systems where configure will not decide to define it.
                   4843:     if (defundef == "undef") {
                   4844:       print "/*", prefix defundef, macro, "*/"
                   4845:       next
                   4846:     }
                   4847:   }
                   4848: }
                   4849: { print }
                   4850: _ACAWK
                   4851: _ACEOF
                   4852: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.6       misho    4853:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.5       misho    4854: fi # test -n "$CONFIG_HEADERS"
                   4855: 
1.1       misho    4856: 
1.5       misho    4857: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   4858: shift
                   4859: for ac_tag
1.1       misho    4860: do
                   4861:   case $ac_tag in
                   4862:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   4863:   esac
                   4864:   case $ac_mode$ac_tag in
                   4865:   :[FHL]*:*);;
1.6       misho    4866:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    4867:   :[FH]-) ac_tag=-:-;;
                   4868:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   4869:   esac
                   4870:   ac_save_IFS=$IFS
                   4871:   IFS=:
                   4872:   set x $ac_tag
                   4873:   IFS=$ac_save_IFS
                   4874:   shift
                   4875:   ac_file=$1
                   4876:   shift
                   4877: 
                   4878:   case $ac_mode in
                   4879:   :L) ac_source=$1;;
                   4880:   :[FH])
                   4881:     ac_file_inputs=
                   4882:     for ac_f
                   4883:     do
                   4884:       case $ac_f in
1.6       misho    4885:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    4886:       *) # Look for the file first in the build tree, then in the source tree
                   4887:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   4888:         # because $ac_f cannot contain `:'.
                   4889:         test -f "$ac_f" ||
                   4890:           case $ac_f in
                   4891:           [\\/$]*) false;;
                   4892:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   4893:           esac ||
1.6       misho    4894:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    4895:       esac
1.5       misho    4896:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   4897:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       misho    4898:     done
                   4899: 
                   4900:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   4901:     # use $as_me), people would be surprised to read:
                   4902:     #    /* config.h.  Generated by config.status.  */
1.5       misho    4903:     configure_input='Generated from '`
                   4904:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   4905:        `' by configure.'
1.1       misho    4906:     if test x"$ac_file" != x-; then
                   4907:       configure_input="$ac_file.  $configure_input"
1.5       misho    4908:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   4909: $as_echo "$as_me: creating $ac_file" >&6;}
1.1       misho    4910:     fi
1.5       misho    4911:     # Neutralize special characters interpreted by sed in replacement strings.
                   4912:     case $configure_input in #(
                   4913:     *\&* | *\|* | *\\* )
                   4914:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   4915:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   4916:     *) ac_sed_conf_input=$configure_input;;
                   4917:     esac
1.1       misho    4918: 
                   4919:     case $ac_tag in
1.6       misho    4920:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   4921:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    4922:     esac
                   4923:     ;;
                   4924:   esac
                   4925: 
                   4926:   ac_dir=`$as_dirname -- "$ac_file" ||
                   4927: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   4928:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   4929:         X"$ac_file" : 'X\(//\)$' \| \
                   4930:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1.5       misho    4931: $as_echo X"$ac_file" |
1.1       misho    4932:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   4933:            s//\1/
                   4934:            q
                   4935:          }
                   4936:          /^X\(\/\/\)[^/].*/{
                   4937:            s//\1/
                   4938:            q
                   4939:          }
                   4940:          /^X\(\/\/\)$/{
                   4941:            s//\1/
                   4942:            q
                   4943:          }
                   4944:          /^X\(\/\).*/{
                   4945:            s//\1/
                   4946:            q
                   4947:          }
                   4948:          s/.*/./; q'`
1.5       misho    4949:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misho    4950:   ac_builddir=.
                   4951: 
                   4952: case "$ac_dir" in
                   4953: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   4954: *)
1.5       misho    4955:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1.1       misho    4956:   # A ".." for each directory in $ac_dir_suffix.
1.5       misho    4957:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1.1       misho    4958:   case $ac_top_builddir_sub in
                   4959:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   4960:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   4961:   esac ;;
                   4962: esac
                   4963: ac_abs_top_builddir=$ac_pwd
                   4964: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   4965: # for backward compatibility:
                   4966: ac_top_builddir=$ac_top_build_prefix
                   4967: 
                   4968: case $srcdir in
                   4969:   .)  # We are building in place.
                   4970:     ac_srcdir=.
                   4971:     ac_top_srcdir=$ac_top_builddir_sub
                   4972:     ac_abs_top_srcdir=$ac_pwd ;;
                   4973:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   4974:     ac_srcdir=$srcdir$ac_dir_suffix;
                   4975:     ac_top_srcdir=$srcdir
                   4976:     ac_abs_top_srcdir=$srcdir ;;
                   4977:   *) # Relative name.
                   4978:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   4979:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   4980:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   4981: esac
                   4982: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   4983: 
                   4984: 
                   4985:   case $ac_mode in
                   4986:   :F)
                   4987:   #
                   4988:   # CONFIG_FILE
                   4989:   #
                   4990: 
                   4991:   case $INSTALL in
                   4992:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   4993:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   4994:   esac
                   4995: _ACEOF
                   4996: 
1.5       misho    4997: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    4998: # If the template does not know about datarootdir, expand it.
                   4999: # FIXME: This hack should be removed a few years after 2.60.
                   5000: ac_datarootdir_hack=; ac_datarootdir_seen=
1.5       misho    5001: ac_sed_dataroot='
                   5002: /datarootdir/ {
1.1       misho    5003:   p
                   5004:   q
                   5005: }
                   5006: /@datadir@/p
                   5007: /@docdir@/p
                   5008: /@infodir@/p
                   5009: /@localedir@/p
1.5       misho    5010: /@mandir@/p'
                   5011: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1.1       misho    5012: *datarootdir*) ac_datarootdir_seen=yes;;
                   5013: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.5       misho    5014:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   5015: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1.1       misho    5016: _ACEOF
1.5       misho    5017: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1       misho    5018:   ac_datarootdir_hack='
                   5019:   s&@datadir@&$datadir&g
                   5020:   s&@docdir@&$docdir&g
                   5021:   s&@infodir@&$infodir&g
                   5022:   s&@localedir@&$localedir&g
                   5023:   s&@mandir@&$mandir&g
1.5       misho    5024:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       misho    5025: esac
                   5026: _ACEOF
                   5027: 
                   5028: # Neutralize VPATH when `$srcdir' = `.'.
                   5029: # Shell code in configure.ac might set extrasub.
                   5030: # FIXME: do we really want to maintain this feature?
1.5       misho    5031: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   5032: ac_sed_extra="$ac_vpsub
1.1       misho    5033: $extrasub
                   5034: _ACEOF
1.5       misho    5035: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misho    5036: :t
                   5037: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1.5       misho    5038: s|@configure_input@|$ac_sed_conf_input|;t t
1.1       misho    5039: s&@top_builddir@&$ac_top_builddir_sub&;t t
1.5       misho    5040: s&@top_build_prefix@&$ac_top_build_prefix&;t t
1.1       misho    5041: s&@srcdir@&$ac_srcdir&;t t
                   5042: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   5043: s&@top_srcdir@&$ac_top_srcdir&;t t
                   5044: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   5045: s&@builddir@&$ac_builddir&;t t
                   5046: s&@abs_builddir@&$ac_abs_builddir&;t t
                   5047: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   5048: s&@INSTALL@&$ac_INSTALL&;t t
                   5049: $ac_datarootdir_hack
1.5       misho    5050: "
1.6       misho    5051: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   5052:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5053: 
                   5054: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.6       misho    5055:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   5056:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   5057:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.5       misho    5058:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.6       misho    5059: which seems to be undefined.  Please make sure it is defined" >&5
1.5       misho    5060: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.6       misho    5061: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    5062: 
1.6       misho    5063:   rm -f "$ac_tmp/stdin"
1.1       misho    5064:   case $ac_file in
1.6       misho    5065:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   5066:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.5       misho    5067:   esac \
1.6       misho    5068:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5069:  ;;
                   5070:   :H)
                   5071:   #
                   5072:   # CONFIG_HEADER
                   5073:   #
                   5074:   if test x"$ac_file" != x-; then
1.5       misho    5075:     {
                   5076:       $as_echo "/* $configure_input  */" \
1.6       misho    5077:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   5078:     } >"$ac_tmp/config.h" \
                   5079:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   5080:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.5       misho    5081:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   5082: $as_echo "$as_me: $ac_file is unchanged" >&6;}
1.1       misho    5083:     else
1.5       misho    5084:       rm -f "$ac_file"
1.6       misho    5085:       mv "$ac_tmp/config.h" "$ac_file" \
                   5086:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    5087:     fi
                   5088:   else
1.5       misho    5089:     $as_echo "/* $configure_input  */" \
1.6       misho    5090:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   5091:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    5092:   fi
                   5093:  ;;
                   5094: 
                   5095: 
                   5096:   esac
                   5097: 
                   5098: done # for ac_tag
                   5099: 
                   5100: 
1.5       misho    5101: as_fn_exit 0
1.1       misho    5102: _ACEOF
                   5103: ac_clean_files=$ac_clean_files_save
                   5104: 
1.5       misho    5105: test $ac_write_fail = 0 ||
1.6       misho    5106:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.5       misho    5107: 
1.1       misho    5108: 
                   5109: # configure is writing to config.log, and then calls config.status.
                   5110: # config.status does its own redirection, appending to config.log.
                   5111: # Unfortunately, on DOS this fails, as config.log is still kept open
                   5112: # by configure, so config.status won't be able to write to it; its
                   5113: # output is simply discarded.  So we exec the FD to /dev/null,
                   5114: # effectively closing config.log, so it can be properly (re)opened and
                   5115: # appended to by config.status.  When coming back to configure, we
                   5116: # need to make the FD available again.
                   5117: if test "$no_create" != yes; then
                   5118:   ac_cs_success=:
                   5119:   ac_config_status_args=
                   5120:   test "$silent" = yes &&
                   5121:     ac_config_status_args="$ac_config_status_args --quiet"
                   5122:   exec 5>/dev/null
                   5123:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   5124:   exec 5>>config.log
                   5125:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   5126:   # would make configure fail if this is the last instruction.
1.6       misho    5127:   $ac_cs_success || as_fn_exit 1
1.5       misho    5128: fi
                   5129: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   5130:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   5131: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misho    5132: fi
                   5133: 

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