Annotation of mqtt/configure, revision 1.4.2.2

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

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