Annotation of libaitmqtt/configure, revision 1.6

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

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