Annotation of libaitmqtt/configure, revision 1.8.2.6

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

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