Annotation of mqtt/configure, revision 1.3.2.2

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

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