Annotation of libaitcli/configure, revision 1.20.2.1

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

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