Annotation of embedtools/configure, revision 1.13

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

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