Annotation of embedaddon/rsync/configure.sh, revision 1.1.1.2

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
                      3: # Generated by GNU Autoconf 2.68.
                      4: #
                      5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
                      9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
                     13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
                     16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
                     92: as_myself=
                     93: case $0 in #((
                     94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
                    100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
                    114: fi
                    115: 
                    116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
                    135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    136: 
                    137: if test "x$CONFIG_SHELL" = x; then
                    138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    139:   emulate sh
                    140:   NULLCMD=:
                    141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    142:   # is contrary to our usage.  Disable this feature.
                    143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    144:   setopt NO_GLOB_SUBST
                    145: else
                    146:   case \`(set -o) 2>/dev/null\` in #(
                    147:   *posix*) :
                    148:     set -o posix ;; #(
                    149:   *) :
                    150:      ;;
                    151: esac
                    152: fi
                    153: "
                    154:   as_required="as_fn_return () { (exit \$1); }
                    155: as_fn_success () { as_fn_return 0; }
                    156: as_fn_failure () { as_fn_return 1; }
                    157: as_fn_ret_success () { return 0; }
                    158: as_fn_ret_failure () { return 1; }
                    159: 
                    160: exitcode=0
                    161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    166: 
                    167: else
                    168:   exitcode=1; echo positional parameters were not saved.
                    169: fi
                    170: test x\$exitcode = x0 || exit 1"
                    171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    175: test \$(( 1 + 1 )) = 2 || exit 1"
                    176:   if (eval "$as_required") 2>/dev/null; then :
                    177:   as_have_required=yes
                    178: else
                    179:   as_have_required=no
                    180: fi
                    181:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    182: 
                    183: else
                    184:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    185: as_found=false
                    186: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    187: do
                    188:   IFS=$as_save_IFS
                    189:   test -z "$as_dir" && as_dir=.
                    190:   as_found=:
                    191:   case $as_dir in #(
                    192:         /*)
                    193:           for as_base in sh bash ksh sh5; do
                    194:             # Try only shells that exist, to save several forks.
                    195:             as_shell=$as_dir/$as_base
                    196:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    197:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    198:   CONFIG_SHELL=$as_shell as_have_required=yes
                    199:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    200:   break 2
                    201: fi
                    202: fi
                    203:           done;;
                    204:        esac
                    205:   as_found=false
                    206: done
                    207: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    208:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    209:   CONFIG_SHELL=$SHELL as_have_required=yes
                    210: fi; }
                    211: IFS=$as_save_IFS
                    212: 
                    213: 
                    214:       if test "x$CONFIG_SHELL" != x; then :
                    215:   # We cannot yet assume a decent shell, so we have to provide a
                    216:        # neutralization value for shells without unset; and this also
                    217:        # works around shells that cannot unset nonexistent variables.
                    218:        # Preserve -v and -x to the replacement shell.
                    219:        BASH_ENV=/dev/null
                    220:        ENV=/dev/null
                    221:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    222:        export CONFIG_SHELL
                    223:        case $- in # ((((
                    224:          *v*x* | *x*v* ) as_opts=-vx ;;
                    225:          *v* ) as_opts=-v ;;
                    226:          *x* ) as_opts=-x ;;
                    227:          * ) as_opts= ;;
                    228:        esac
                    229:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
                    230: fi
                    231: 
                    232:     if test x$as_have_required = xno; then :
                    233:   $as_echo "$0: This script requires a shell more modern than all"
                    234:   $as_echo "$0: the shells that I found on your system."
                    235:   if test x${ZSH_VERSION+set} = xset ; then
                    236:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    237:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    238:   else
                    239:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    240: $0: including any error possibly output before this
                    241: $0: message. Then install a modern shell, or manually run
                    242: $0: the script under such a shell if you do have one."
                    243:   fi
                    244:   exit 1
                    245: fi
                    246: fi
                    247: fi
                    248: SHELL=${CONFIG_SHELL-/bin/sh}
                    249: export SHELL
                    250: # Unset more variables known to interfere with behavior of common tools.
                    251: CLICOLOR_FORCE= GREP_OPTIONS=
                    252: unset CLICOLOR_FORCE GREP_OPTIONS
                    253: 
                    254: ## --------------------- ##
                    255: ## M4sh Shell Functions. ##
                    256: ## --------------------- ##
                    257: # as_fn_unset VAR
                    258: # ---------------
                    259: # Portably unset VAR.
                    260: as_fn_unset ()
                    261: {
                    262:   { eval $1=; unset $1;}
                    263: }
                    264: as_unset=as_fn_unset
                    265: 
                    266: # as_fn_set_status STATUS
                    267: # -----------------------
                    268: # Set $? to STATUS, without forking.
                    269: as_fn_set_status ()
                    270: {
                    271:   return $1
                    272: } # as_fn_set_status
                    273: 
                    274: # as_fn_exit STATUS
                    275: # -----------------
                    276: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    277: as_fn_exit ()
                    278: {
                    279:   set +e
                    280:   as_fn_set_status $1
                    281:   exit $1
                    282: } # as_fn_exit
                    283: 
                    284: # as_fn_mkdir_p
                    285: # -------------
                    286: # Create "$as_dir" as a directory, including parents if necessary.
                    287: as_fn_mkdir_p ()
                    288: {
                    289: 
                    290:   case $as_dir in #(
                    291:   -*) as_dir=./$as_dir;;
                    292:   esac
                    293:   test -d "$as_dir" || eval $as_mkdir_p || {
                    294:     as_dirs=
                    295:     while :; do
                    296:       case $as_dir in #(
                    297:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    298:       *) as_qdir=$as_dir;;
                    299:       esac
                    300:       as_dirs="'$as_qdir' $as_dirs"
                    301:       as_dir=`$as_dirname -- "$as_dir" ||
                    302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    303:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    304:         X"$as_dir" : 'X\(//\)$' \| \
                    305:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    306: $as_echo X"$as_dir" |
                    307:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    308:            s//\1/
                    309:            q
                    310:          }
                    311:          /^X\(\/\/\)[^/].*/{
                    312:            s//\1/
                    313:            q
                    314:          }
                    315:          /^X\(\/\/\)$/{
                    316:            s//\1/
                    317:            q
                    318:          }
                    319:          /^X\(\/\).*/{
                    320:            s//\1/
                    321:            q
                    322:          }
                    323:          s/.*/./; q'`
                    324:       test -d "$as_dir" && break
                    325:     done
                    326:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    327:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    328: 
                    329: 
                    330: } # as_fn_mkdir_p
                    331: # as_fn_append VAR VALUE
                    332: # ----------------------
                    333: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    334: # advantage of any shell optimizations that allow amortized linear growth over
                    335: # repeated appends, instead of the typical quadratic growth present in naive
                    336: # implementations.
                    337: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    338:   eval 'as_fn_append ()
                    339:   {
                    340:     eval $1+=\$2
                    341:   }'
                    342: else
                    343:   as_fn_append ()
                    344:   {
                    345:     eval $1=\$$1\$2
                    346:   }
                    347: fi # as_fn_append
                    348: 
                    349: # as_fn_arith ARG...
                    350: # ------------------
                    351: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    352: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    353: # must be portable across $(()) and expr.
                    354: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    355:   eval 'as_fn_arith ()
                    356:   {
                    357:     as_val=$(( $* ))
                    358:   }'
                    359: else
                    360:   as_fn_arith ()
                    361:   {
                    362:     as_val=`expr "$@" || test $? -eq 1`
                    363:   }
                    364: fi # as_fn_arith
                    365: 
                    366: 
                    367: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    368: # ----------------------------------------
                    369: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    370: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    371: # script with STATUS, using 1 if that was 0.
                    372: as_fn_error ()
                    373: {
                    374:   as_status=$1; test $as_status -eq 0 && as_status=1
                    375:   if test "$4"; then
                    376:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    377:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    378:   fi
                    379:   $as_echo "$as_me: error: $2" >&2
                    380:   as_fn_exit $as_status
                    381: } # as_fn_error
                    382: 
                    383: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    384:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    385:   as_expr=expr
                    386: else
                    387:   as_expr=false
                    388: fi
                    389: 
                    390: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    391:   as_basename=basename
                    392: else
                    393:   as_basename=false
                    394: fi
                    395: 
                    396: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    397:   as_dirname=dirname
                    398: else
                    399:   as_dirname=false
                    400: fi
                    401: 
                    402: as_me=`$as_basename -- "$0" ||
                    403: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    404:         X"$0" : 'X\(//\)$' \| \
                    405:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    406: $as_echo X/"$0" |
                    407:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    408:            s//\1/
                    409:            q
                    410:          }
                    411:          /^X\/\(\/\/\)$/{
                    412:            s//\1/
                    413:            q
                    414:          }
                    415:          /^X\/\(\/\).*/{
                    416:            s//\1/
                    417:            q
                    418:          }
                    419:          s/.*/./; q'`
                    420: 
                    421: # Avoid depending upon Character Ranges.
                    422: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    423: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    424: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    425: as_cr_digits='0123456789'
                    426: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    427: 
                    428: 
                    429:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    430:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    431:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    432:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    433:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    434:   sed -n '
                    435:     p
                    436:     /[$]LINENO/=
                    437:   ' <$as_myself |
                    438:     sed '
                    439:       s/[$]LINENO.*/&-/
                    440:       t lineno
                    441:       b
                    442:       :lineno
                    443:       N
                    444:       :loop
                    445:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    446:       t loop
                    447:       s/-\n.*//
                    448:     ' >$as_me.lineno &&
                    449:   chmod +x "$as_me.lineno" ||
                    450:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    451: 
                    452:   # Don't try to exec as it changes $[0], causing all sort of problems
                    453:   # (the dirname of $[0] is not the place where we might find the
                    454:   # original and so on.  Autoconf is especially sensitive to this).
                    455:   . "./$as_me.lineno"
                    456:   # Exit status is that of the last command.
                    457:   exit
                    458: }
                    459: 
                    460: ECHO_C= ECHO_N= ECHO_T=
                    461: case `echo -n x` in #(((((
                    462: -n*)
                    463:   case `echo 'xy\c'` in
                    464:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    465:   xy)  ECHO_C='\c';;
                    466:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    467:        ECHO_T='        ';;
                    468:   esac;;
                    469: *)
                    470:   ECHO_N='-n';;
                    471: esac
                    472: 
                    473: rm -f conf$$ conf$$.exe conf$$.file
                    474: if test -d conf$$.dir; then
                    475:   rm -f conf$$.dir/conf$$.file
                    476: else
                    477:   rm -f conf$$.dir
                    478:   mkdir conf$$.dir 2>/dev/null
                    479: fi
                    480: if (echo >conf$$.file) 2>/dev/null; then
                    481:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    482:     as_ln_s='ln -s'
                    483:     # ... but there are two gotchas:
                    484:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    485:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    486:     # In both cases, we have to default to `cp -p'.
                    487:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    488:       as_ln_s='cp -p'
                    489:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s=ln
                    491:   else
                    492:     as_ln_s='cp -p'
                    493:   fi
                    494: else
                    495:   as_ln_s='cp -p'
                    496: fi
                    497: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    498: rmdir conf$$.dir 2>/dev/null
                    499: 
                    500: if mkdir -p . 2>/dev/null; then
                    501:   as_mkdir_p='mkdir -p "$as_dir"'
                    502: else
                    503:   test -d ./-p && rmdir ./-p
                    504:   as_mkdir_p=false
                    505: fi
                    506: 
                    507: if test -x / >/dev/null 2>&1; then
                    508:   as_test_x='test -x'
                    509: else
                    510:   if ls -dL / >/dev/null 2>&1; then
                    511:     as_ls_L_option=L
                    512:   else
                    513:     as_ls_L_option=
                    514:   fi
                    515:   as_test_x='
                    516:     eval sh -c '\''
                    517:       if test -d "$1"; then
                    518:        test -d "$1/.";
                    519:       else
                    520:        case $1 in #(
                    521:        -*)set "./$1";;
                    522:        esac;
                    523:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    524:        ???[sx]*):;;*)false;;esac;fi
                    525:     '\'' sh
                    526:   '
                    527: fi
                    528: as_executable_p=$as_test_x
                    529: 
                    530: # Sed expression to map a string onto a valid CPP name.
                    531: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    532: 
                    533: # Sed expression to map a string onto a valid variable name.
                    534: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    535: 
                    536: 
                    537: test -n "$DJDIR" || exec 7<&0 </dev/null
                    538: exec 6>&1
                    539: 
                    540: # Name of the host.
                    541: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    542: # so uname gets run too.
                    543: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    544: 
                    545: #
                    546: # Initializations.
                    547: #
                    548: ac_default_prefix=/usr/local
                    549: ac_clean_files=
                    550: ac_config_libobj_dir=.
                    551: LIBOBJS=
                    552: cross_compiling=no
                    553: subdirs=
                    554: MFLAGS=
                    555: MAKEFLAGS=
                    556: 
                    557: # Identity of this package.
                    558: PACKAGE_NAME=
                    559: PACKAGE_TARNAME=
                    560: PACKAGE_VERSION=
                    561: PACKAGE_STRING=
                    562: PACKAGE_BUGREPORT=
                    563: PACKAGE_URL=
                    564: 
                    565: ac_unique_file="byteorder.h"
                    566: # Factoring default headers for most tests.
                    567: ac_includes_default="\
                    568: #include <stdio.h>
                    569: #ifdef HAVE_SYS_TYPES_H
                    570: # include <sys/types.h>
                    571: #endif
                    572: #ifdef HAVE_SYS_STAT_H
                    573: # include <sys/stat.h>
                    574: #endif
                    575: #ifdef STDC_HEADERS
                    576: # include <stdlib.h>
                    577: # include <stddef.h>
                    578: #else
                    579: # ifdef HAVE_STDLIB_H
                    580: #  include <stdlib.h>
                    581: # endif
                    582: #endif
                    583: #ifdef HAVE_STRING_H
                    584: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    585: #  include <memory.h>
                    586: # endif
                    587: # include <string.h>
                    588: #endif
                    589: #ifdef HAVE_STRINGS_H
                    590: # include <strings.h>
                    591: #endif
                    592: #ifdef HAVE_INTTYPES_H
                    593: # include <inttypes.h>
                    594: #endif
                    595: #ifdef HAVE_STDINT_H
                    596: # include <stdint.h>
                    597: #endif
                    598: #ifdef HAVE_UNISTD_H
                    599: # include <unistd.h>
                    600: #endif"
                    601: 
                    602: ac_header_list=
                    603: ac_subst_vars='LTLIBOBJS
1.1.1.2 ! misho     604: STUNNEL4
        !           605: STUNNEL
1.1       misho     606: MAKE_MAN
1.1.1.2 ! misho     607: BUILD_ZLIB
1.1       misho     608: BUILD_POPT
                    609: CC_SHOBJ_FLAG
                    610: OBJ_RESTORE
                    611: OBJ_SAVE
                    612: ALLOCA
                    613: LIBOBJS
1.1.1.2 ! misho     614: FAKEROOT_PATH
        !           615: SHELL_PATH
1.1       misho     616: HAVE_YODL2MAN
                    617: HAVE_REMSH
1.1.1.2 ! misho     618: MKDIR_P
1.1       misho     619: INSTALL_DATA
                    620: INSTALL_SCRIPT
                    621: INSTALL_PROGRAM
                    622: EGREP
                    623: GREP
                    624: CPP
                    625: OBJEXT
                    626: EXEEXT
                    627: ac_ct_CC
                    628: CPPFLAGS
                    629: LDFLAGS
                    630: CFLAGS
                    631: CC
                    632: host_os
                    633: host_vendor
                    634: host_cpu
                    635: host
                    636: build_os
                    637: build_vendor
                    638: build_cpu
                    639: build
                    640: RSYNC_VERSION
                    641: target_alias
                    642: host_alias
                    643: build_alias
                    644: LIBS
                    645: ECHO_T
                    646: ECHO_N
                    647: ECHO_C
                    648: DEFS
                    649: mandir
                    650: localedir
                    651: libdir
                    652: psdir
                    653: pdfdir
                    654: dvidir
                    655: htmldir
                    656: infodir
                    657: docdir
                    658: oldincludedir
                    659: includedir
                    660: localstatedir
                    661: sharedstatedir
                    662: sysconfdir
                    663: datadir
                    664: datarootdir
                    665: libexecdir
                    666: sbindir
                    667: bindir
                    668: program_transform_name
                    669: prefix
                    670: exec_prefix
                    671: PACKAGE_URL
                    672: PACKAGE_BUGREPORT
                    673: PACKAGE_STRING
                    674: PACKAGE_VERSION
                    675: PACKAGE_TARNAME
                    676: PACKAGE_NAME
                    677: PATH_SEPARATOR
                    678: SHELL'
                    679: ac_subst_files=''
                    680: ac_user_opts='
                    681: enable_option_checking
                    682: enable_debug
                    683: enable_profile
                    684: enable_maintainer_mode
                    685: with_included_popt
1.1.1.2 ! misho     686: with_included_zlib
        !           687: with_protected_args
1.1       misho     688: with_rsync_path
                    689: with_rsyncd_conf
                    690: with_rsh
                    691: with_nobody_group
                    692: enable_largefile
                    693: enable_ipv6
                    694: enable_locale
                    695: enable_iconv_open
                    696: enable_iconv
                    697: enable_acl_support
                    698: enable_xattr_support
                    699: '
                    700:       ac_precious_vars='build_alias
                    701: host_alias
                    702: target_alias
                    703: CC
                    704: CFLAGS
                    705: LDFLAGS
                    706: LIBS
                    707: CPPFLAGS
                    708: CPP'
                    709: 
                    710: 
                    711: # Initialize some variables set by options.
                    712: ac_init_help=
                    713: ac_init_version=false
                    714: ac_unrecognized_opts=
                    715: ac_unrecognized_sep=
                    716: # The variables have the same names as the options, with
                    717: # dashes changed to underlines.
                    718: cache_file=/dev/null
                    719: exec_prefix=NONE
                    720: no_create=
                    721: no_recursion=
                    722: prefix=NONE
                    723: program_prefix=NONE
                    724: program_suffix=NONE
                    725: program_transform_name=s,x,x,
                    726: silent=
                    727: site=
                    728: srcdir=
                    729: verbose=
                    730: x_includes=NONE
                    731: x_libraries=NONE
                    732: 
                    733: # Installation directory options.
                    734: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    735: # and all the variables that are supposed to be based on exec_prefix
                    736: # by default will actually change.
                    737: # Use braces instead of parens because sh, perl, etc. also accept them.
                    738: # (The list follows the same order as the GNU Coding Standards.)
                    739: bindir='${exec_prefix}/bin'
                    740: sbindir='${exec_prefix}/sbin'
                    741: libexecdir='${exec_prefix}/libexec'
                    742: datarootdir='${prefix}/share'
                    743: datadir='${datarootdir}'
                    744: sysconfdir='${prefix}/etc'
                    745: sharedstatedir='${prefix}/com'
                    746: localstatedir='${prefix}/var'
                    747: includedir='${prefix}/include'
                    748: oldincludedir='/usr/include'
                    749: docdir='${datarootdir}/doc/${PACKAGE}'
                    750: infodir='${datarootdir}/info'
                    751: htmldir='${docdir}'
                    752: dvidir='${docdir}'
                    753: pdfdir='${docdir}'
                    754: psdir='${docdir}'
                    755: libdir='${exec_prefix}/lib'
                    756: localedir='${datarootdir}/locale'
                    757: mandir='${datarootdir}/man'
                    758: 
                    759: ac_prev=
                    760: ac_dashdash=
                    761: for ac_option
                    762: do
                    763:   # If the previous option needs an argument, assign it.
                    764:   if test -n "$ac_prev"; then
                    765:     eval $ac_prev=\$ac_option
                    766:     ac_prev=
                    767:     continue
                    768:   fi
                    769: 
                    770:   case $ac_option in
                    771:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    772:   *=)   ac_optarg= ;;
                    773:   *)    ac_optarg=yes ;;
                    774:   esac
                    775: 
                    776:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    777: 
                    778:   case $ac_dashdash$ac_option in
                    779:   --)
                    780:     ac_dashdash=yes ;;
                    781: 
                    782:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    783:     ac_prev=bindir ;;
                    784:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    785:     bindir=$ac_optarg ;;
                    786: 
                    787:   -build | --build | --buil | --bui | --bu)
                    788:     ac_prev=build_alias ;;
                    789:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    790:     build_alias=$ac_optarg ;;
                    791: 
                    792:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    793:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    794:     ac_prev=cache_file ;;
                    795:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    796:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    797:     cache_file=$ac_optarg ;;
                    798: 
                    799:   --config-cache | -C)
                    800:     cache_file=config.cache ;;
                    801: 
                    802:   -datadir | --datadir | --datadi | --datad)
                    803:     ac_prev=datadir ;;
                    804:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    805:     datadir=$ac_optarg ;;
                    806: 
                    807:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    808:   | --dataroo | --dataro | --datar)
                    809:     ac_prev=datarootdir ;;
                    810:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    811:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    812:     datarootdir=$ac_optarg ;;
                    813: 
                    814:   -disable-* | --disable-*)
                    815:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    816:     # Reject names that are not valid shell variable names.
                    817:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    818:       as_fn_error $? "invalid feature name: $ac_useropt"
                    819:     ac_useropt_orig=$ac_useropt
                    820:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    821:     case $ac_user_opts in
                    822:       *"
                    823: "enable_$ac_useropt"
                    824: "*) ;;
                    825:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    826:         ac_unrecognized_sep=', ';;
                    827:     esac
                    828:     eval enable_$ac_useropt=no ;;
                    829: 
                    830:   -docdir | --docdir | --docdi | --doc | --do)
                    831:     ac_prev=docdir ;;
                    832:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    833:     docdir=$ac_optarg ;;
                    834: 
                    835:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    836:     ac_prev=dvidir ;;
                    837:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    838:     dvidir=$ac_optarg ;;
                    839: 
                    840:   -enable-* | --enable-*)
                    841:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    842:     # Reject names that are not valid shell variable names.
                    843:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    844:       as_fn_error $? "invalid feature name: $ac_useropt"
                    845:     ac_useropt_orig=$ac_useropt
                    846:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    847:     case $ac_user_opts in
                    848:       *"
                    849: "enable_$ac_useropt"
                    850: "*) ;;
                    851:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    852:         ac_unrecognized_sep=', ';;
                    853:     esac
                    854:     eval enable_$ac_useropt=\$ac_optarg ;;
                    855: 
                    856:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    857:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    858:   | --exec | --exe | --ex)
                    859:     ac_prev=exec_prefix ;;
                    860:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    861:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    862:   | --exec=* | --exe=* | --ex=*)
                    863:     exec_prefix=$ac_optarg ;;
                    864: 
                    865:   -gas | --gas | --ga | --g)
                    866:     # Obsolete; use --with-gas.
                    867:     with_gas=yes ;;
                    868: 
                    869:   -help | --help | --hel | --he | -h)
                    870:     ac_init_help=long ;;
                    871:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    872:     ac_init_help=recursive ;;
                    873:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    874:     ac_init_help=short ;;
                    875: 
                    876:   -host | --host | --hos | --ho)
                    877:     ac_prev=host_alias ;;
                    878:   -host=* | --host=* | --hos=* | --ho=*)
                    879:     host_alias=$ac_optarg ;;
                    880: 
                    881:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    882:     ac_prev=htmldir ;;
                    883:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    884:   | --ht=*)
                    885:     htmldir=$ac_optarg ;;
                    886: 
                    887:   -includedir | --includedir | --includedi | --included | --include \
                    888:   | --includ | --inclu | --incl | --inc)
                    889:     ac_prev=includedir ;;
                    890:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    891:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    892:     includedir=$ac_optarg ;;
                    893: 
                    894:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    895:     ac_prev=infodir ;;
                    896:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    897:     infodir=$ac_optarg ;;
                    898: 
                    899:   -libdir | --libdir | --libdi | --libd)
                    900:     ac_prev=libdir ;;
                    901:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    902:     libdir=$ac_optarg ;;
                    903: 
                    904:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    905:   | --libexe | --libex | --libe)
                    906:     ac_prev=libexecdir ;;
                    907:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    908:   | --libexe=* | --libex=* | --libe=*)
                    909:     libexecdir=$ac_optarg ;;
                    910: 
                    911:   -localedir | --localedir | --localedi | --localed | --locale)
                    912:     ac_prev=localedir ;;
                    913:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    914:     localedir=$ac_optarg ;;
                    915: 
                    916:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    917:   | --localstate | --localstat | --localsta | --localst | --locals)
                    918:     ac_prev=localstatedir ;;
                    919:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    920:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    921:     localstatedir=$ac_optarg ;;
                    922: 
                    923:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    924:     ac_prev=mandir ;;
                    925:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    926:     mandir=$ac_optarg ;;
                    927: 
                    928:   -nfp | --nfp | --nf)
                    929:     # Obsolete; use --without-fp.
                    930:     with_fp=no ;;
                    931: 
                    932:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    933:   | --no-cr | --no-c | -n)
                    934:     no_create=yes ;;
                    935: 
                    936:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    937:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    938:     no_recursion=yes ;;
                    939: 
                    940:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    941:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    942:   | --oldin | --oldi | --old | --ol | --o)
                    943:     ac_prev=oldincludedir ;;
                    944:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    945:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    946:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    947:     oldincludedir=$ac_optarg ;;
                    948: 
                    949:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    950:     ac_prev=prefix ;;
                    951:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    952:     prefix=$ac_optarg ;;
                    953: 
                    954:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    955:   | --program-pre | --program-pr | --program-p)
                    956:     ac_prev=program_prefix ;;
                    957:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    958:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    959:     program_prefix=$ac_optarg ;;
                    960: 
                    961:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    962:   | --program-suf | --program-su | --program-s)
                    963:     ac_prev=program_suffix ;;
                    964:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    965:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    966:     program_suffix=$ac_optarg ;;
                    967: 
                    968:   -program-transform-name | --program-transform-name \
                    969:   | --program-transform-nam | --program-transform-na \
                    970:   | --program-transform-n | --program-transform- \
                    971:   | --program-transform | --program-transfor \
                    972:   | --program-transfo | --program-transf \
                    973:   | --program-trans | --program-tran \
                    974:   | --progr-tra | --program-tr | --program-t)
                    975:     ac_prev=program_transform_name ;;
                    976:   -program-transform-name=* | --program-transform-name=* \
                    977:   | --program-transform-nam=* | --program-transform-na=* \
                    978:   | --program-transform-n=* | --program-transform-=* \
                    979:   | --program-transform=* | --program-transfor=* \
                    980:   | --program-transfo=* | --program-transf=* \
                    981:   | --program-trans=* | --program-tran=* \
                    982:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    983:     program_transform_name=$ac_optarg ;;
                    984: 
                    985:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                    986:     ac_prev=pdfdir ;;
                    987:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                    988:     pdfdir=$ac_optarg ;;
                    989: 
                    990:   -psdir | --psdir | --psdi | --psd | --ps)
                    991:     ac_prev=psdir ;;
                    992:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                    993:     psdir=$ac_optarg ;;
                    994: 
                    995:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    996:   | -silent | --silent | --silen | --sile | --sil)
                    997:     silent=yes ;;
                    998: 
                    999:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1000:     ac_prev=sbindir ;;
                   1001:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1002:   | --sbi=* | --sb=*)
                   1003:     sbindir=$ac_optarg ;;
                   1004: 
                   1005:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1006:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1007:   | --sharedst | --shareds | --shared | --share | --shar \
                   1008:   | --sha | --sh)
                   1009:     ac_prev=sharedstatedir ;;
                   1010:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1011:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1012:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1013:   | --sha=* | --sh=*)
                   1014:     sharedstatedir=$ac_optarg ;;
                   1015: 
                   1016:   -site | --site | --sit)
                   1017:     ac_prev=site ;;
                   1018:   -site=* | --site=* | --sit=*)
                   1019:     site=$ac_optarg ;;
                   1020: 
                   1021:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1022:     ac_prev=srcdir ;;
                   1023:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1024:     srcdir=$ac_optarg ;;
                   1025: 
                   1026:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1027:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1028:     ac_prev=sysconfdir ;;
                   1029:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1030:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1031:     sysconfdir=$ac_optarg ;;
                   1032: 
                   1033:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1034:     ac_prev=target_alias ;;
                   1035:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1036:     target_alias=$ac_optarg ;;
                   1037: 
                   1038:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1039:     verbose=yes ;;
                   1040: 
                   1041:   -version | --version | --versio | --versi | --vers | -V)
                   1042:     ac_init_version=: ;;
                   1043: 
                   1044:   -with-* | --with-*)
                   1045:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1046:     # Reject names that are not valid shell variable names.
                   1047:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1048:       as_fn_error $? "invalid package name: $ac_useropt"
                   1049:     ac_useropt_orig=$ac_useropt
                   1050:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1051:     case $ac_user_opts in
                   1052:       *"
                   1053: "with_$ac_useropt"
                   1054: "*) ;;
                   1055:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1056:         ac_unrecognized_sep=', ';;
                   1057:     esac
                   1058:     eval with_$ac_useropt=\$ac_optarg ;;
                   1059: 
                   1060:   -without-* | --without-*)
                   1061:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1062:     # Reject names that are not valid shell variable names.
                   1063:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1064:       as_fn_error $? "invalid package name: $ac_useropt"
                   1065:     ac_useropt_orig=$ac_useropt
                   1066:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1067:     case $ac_user_opts in
                   1068:       *"
                   1069: "with_$ac_useropt"
                   1070: "*) ;;
                   1071:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1072:         ac_unrecognized_sep=', ';;
                   1073:     esac
                   1074:     eval with_$ac_useropt=no ;;
                   1075: 
                   1076:   --x)
                   1077:     # Obsolete; use --with-x.
                   1078:     with_x=yes ;;
                   1079: 
                   1080:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1081:   | --x-incl | --x-inc | --x-in | --x-i)
                   1082:     ac_prev=x_includes ;;
                   1083:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1084:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1085:     x_includes=$ac_optarg ;;
                   1086: 
                   1087:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1088:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1089:     ac_prev=x_libraries ;;
                   1090:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1091:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1092:     x_libraries=$ac_optarg ;;
                   1093: 
                   1094:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1095: Try \`$0 --help' for more information"
                   1096:     ;;
                   1097: 
                   1098:   *=*)
                   1099:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1100:     # Reject names that are not valid shell variable names.
                   1101:     case $ac_envvar in #(
                   1102:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1103:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1104:     esac
                   1105:     eval $ac_envvar=\$ac_optarg
                   1106:     export $ac_envvar ;;
                   1107: 
                   1108:   *)
                   1109:     # FIXME: should be removed in autoconf 3.0.
                   1110:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1111:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1112:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1113:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1114:     ;;
                   1115: 
                   1116:   esac
                   1117: done
                   1118: 
                   1119: if test -n "$ac_prev"; then
                   1120:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1121:   as_fn_error $? "missing argument to $ac_option"
                   1122: fi
                   1123: 
                   1124: if test -n "$ac_unrecognized_opts"; then
                   1125:   case $enable_option_checking in
                   1126:     no) ;;
                   1127:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1128:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1129:   esac
                   1130: fi
                   1131: 
                   1132: # Check all directory arguments for consistency.
                   1133: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1134:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1135:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1136:                libdir localedir mandir
                   1137: do
                   1138:   eval ac_val=\$$ac_var
                   1139:   # Remove trailing slashes.
                   1140:   case $ac_val in
                   1141:     */ )
                   1142:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1143:       eval $ac_var=\$ac_val;;
                   1144:   esac
                   1145:   # Be sure to have absolute directory names.
                   1146:   case $ac_val in
                   1147:     [\\/$]* | ?:[\\/]* )  continue;;
                   1148:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1149:   esac
                   1150:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1151: done
                   1152: 
                   1153: # There might be people who depend on the old broken behavior: `$host'
                   1154: # used to hold the argument of --host etc.
                   1155: # FIXME: To remove some day.
                   1156: build=$build_alias
                   1157: host=$host_alias
                   1158: target=$target_alias
                   1159: 
                   1160: # FIXME: To remove some day.
                   1161: if test "x$host_alias" != x; then
                   1162:   if test "x$build_alias" = x; then
                   1163:     cross_compiling=maybe
                   1164:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1165:     If a cross compiler is detected then cross compile mode will be used" >&2
                   1166:   elif test "x$build_alias" != "x$host_alias"; then
                   1167:     cross_compiling=yes
                   1168:   fi
                   1169: fi
                   1170: 
                   1171: ac_tool_prefix=
                   1172: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1173: 
                   1174: test "$silent" = yes && exec 6>/dev/null
                   1175: 
                   1176: 
                   1177: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1178: ac_ls_di=`ls -di .` &&
                   1179: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1180:   as_fn_error $? "working directory cannot be determined"
                   1181: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1182:   as_fn_error $? "pwd does not report name of working directory"
                   1183: 
                   1184: 
                   1185: # Find the source files, if location was not specified.
                   1186: if test -z "$srcdir"; then
                   1187:   ac_srcdir_defaulted=yes
                   1188:   # Try the directory containing this script, then the parent directory.
                   1189:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1190: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1191:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1192:         X"$as_myself" : 'X\(//\)$' \| \
                   1193:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1194: $as_echo X"$as_myself" |
                   1195:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1196:            s//\1/
                   1197:            q
                   1198:          }
                   1199:          /^X\(\/\/\)[^/].*/{
                   1200:            s//\1/
                   1201:            q
                   1202:          }
                   1203:          /^X\(\/\/\)$/{
                   1204:            s//\1/
                   1205:            q
                   1206:          }
                   1207:          /^X\(\/\).*/{
                   1208:            s//\1/
                   1209:            q
                   1210:          }
                   1211:          s/.*/./; q'`
                   1212:   srcdir=$ac_confdir
                   1213:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1214:     srcdir=..
                   1215:   fi
                   1216: else
                   1217:   ac_srcdir_defaulted=no
                   1218: fi
                   1219: if test ! -r "$srcdir/$ac_unique_file"; then
                   1220:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1221:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1222: fi
                   1223: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1224: ac_abs_confdir=`(
                   1225:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1226:        pwd)`
                   1227: # When building in place, set srcdir=.
                   1228: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1229:   srcdir=.
                   1230: fi
                   1231: # Remove unnecessary trailing slashes from srcdir.
                   1232: # Double slashes in file names in object file debugging info
                   1233: # mess up M-x gdb in Emacs.
                   1234: case $srcdir in
                   1235: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1236: esac
                   1237: for ac_var in $ac_precious_vars; do
                   1238:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1239:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1240:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1241:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1242: done
                   1243: 
                   1244: #
                   1245: # Report the --help message.
                   1246: #
                   1247: if test "$ac_init_help" = "long"; then
                   1248:   # Omit some internal or obsolete options to make the list less imposing.
                   1249:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1250:   cat <<_ACEOF
                   1251: \`configure' configures this package to adapt to many kinds of systems.
                   1252: 
                   1253: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1254: 
                   1255: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1256: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1257: 
                   1258: Defaults for the options are specified in brackets.
                   1259: 
                   1260: Configuration:
                   1261:   -h, --help              display this help and exit
                   1262:       --help=short        display options specific to this package
                   1263:       --help=recursive    display the short help of all the included packages
                   1264:   -V, --version           display version information and exit
                   1265:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1266:       --cache-file=FILE   cache test results in FILE [disabled]
                   1267:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1268:   -n, --no-create         do not create output files
                   1269:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1270: 
                   1271: Installation directories:
                   1272:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1273:                           [$ac_default_prefix]
                   1274:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1275:                           [PREFIX]
                   1276: 
                   1277: By default, \`make install' will install all the files in
                   1278: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1279: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1280: for instance \`--prefix=\$HOME'.
                   1281: 
                   1282: For better control, use the options below.
                   1283: 
                   1284: Fine tuning of the installation directories:
                   1285:   --bindir=DIR            user executables [EPREFIX/bin]
                   1286:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1287:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1288:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1289:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1290:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1291:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1292:   --includedir=DIR        C header files [PREFIX/include]
                   1293:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1294:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1295:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1296:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1297:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1298:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1299:   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
                   1300:   --htmldir=DIR           html documentation [DOCDIR]
                   1301:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1302:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1303:   --psdir=DIR             ps documentation [DOCDIR]
                   1304: _ACEOF
                   1305: 
                   1306:   cat <<\_ACEOF
                   1307: 
                   1308: System types:
                   1309:   --build=BUILD     configure for building on BUILD [guessed]
                   1310:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1311: _ACEOF
                   1312: fi
                   1313: 
                   1314: if test -n "$ac_init_help"; then
                   1315: 
                   1316:   cat <<\_ACEOF
                   1317: 
                   1318: Optional Features:
                   1319:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1320:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1321:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1322:   --disable-debug         disable debugging symbols and features
                   1323:   --enable-profile        turn on CPU profiling
                   1324:   --enable-maintainer-mode
                   1325:                           turn on extra debug features
                   1326:   --disable-largefile     omit support for large files
                   1327:   --disable-ipv6          do not even try to use IPv6
                   1328:   --disable-locale        disable locale features
                   1329:   --disable-iconv-open    disable all use of iconv_open() function
                   1330:   --disable-iconv         disable rsync's --iconv option
                   1331:   --disable-acl-support   disable ACL support
                   1332:   --disable-xattr-support disable extended attributes
                   1333: 
                   1334: Optional Packages:
                   1335:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1336:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1337:   --with-included-popt    use bundled popt library, not from system
1.1.1.2 ! misho    1338:   --with-included-zlib    use bundled zlib library, not from system
        !          1339:   --with-protected-args   make --protected-args option the default
1.1       misho    1340:   --with-rsync-path=PATH  set default --rsync-path to PATH (default: rsync)
                   1341:   --with-rsyncd-conf=PATH set configuration file for rsync server to PATH
                   1342:                           (default: /etc/rsyncd.conf)
                   1343:   --with-rsh=CMD          set remote shell command to CMD (default: ssh)
                   1344:   --with-nobody-group=GROUP
                   1345:                           set the default unprivileged group (default nobody
                   1346:                           or nogroup)
                   1347: 
                   1348: Some influential environment variables:
                   1349:   CC          C compiler command
                   1350:   CFLAGS      C compiler flags
                   1351:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1352:               nonstandard directory <lib dir>
                   1353:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1354:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1355:               you have headers in a nonstandard directory <include dir>
                   1356:   CPP         C preprocessor
                   1357: 
                   1358: Use these variables to override the choices made by `configure' or to help
                   1359: it to find libraries and programs with nonstandard names/locations.
                   1360: 
                   1361: Report bugs to the package provider.
                   1362: _ACEOF
                   1363: ac_status=$?
                   1364: fi
                   1365: 
                   1366: if test "$ac_init_help" = "recursive"; then
                   1367:   # If there are subdirs, report their specific --help.
                   1368:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1369:     test -d "$ac_dir" ||
                   1370:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1371:       continue
                   1372:     ac_builddir=.
                   1373: 
                   1374: case "$ac_dir" in
                   1375: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1376: *)
                   1377:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1378:   # A ".." for each directory in $ac_dir_suffix.
                   1379:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1380:   case $ac_top_builddir_sub in
                   1381:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1382:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1383:   esac ;;
                   1384: esac
                   1385: ac_abs_top_builddir=$ac_pwd
                   1386: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1387: # for backward compatibility:
                   1388: ac_top_builddir=$ac_top_build_prefix
                   1389: 
                   1390: case $srcdir in
                   1391:   .)  # We are building in place.
                   1392:     ac_srcdir=.
                   1393:     ac_top_srcdir=$ac_top_builddir_sub
                   1394:     ac_abs_top_srcdir=$ac_pwd ;;
                   1395:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1396:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1397:     ac_top_srcdir=$srcdir
                   1398:     ac_abs_top_srcdir=$srcdir ;;
                   1399:   *) # Relative name.
                   1400:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1401:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1402:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1403: esac
                   1404: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1405: 
                   1406:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1407:     # Check for guested configure.
                   1408:     if test -f "$ac_srcdir/configure.gnu"; then
                   1409:       echo &&
                   1410:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1411:     elif test -f "$ac_srcdir/configure"; then
                   1412:       echo &&
                   1413:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1414:     else
                   1415:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1416:     fi || ac_status=$?
                   1417:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1418:   done
                   1419: fi
                   1420: 
                   1421: test -n "$ac_init_help" && exit $ac_status
                   1422: if $ac_init_version; then
                   1423:   cat <<\_ACEOF
                   1424: configure
                   1425: generated by GNU Autoconf 2.68
                   1426: 
                   1427: Copyright (C) 2010 Free Software Foundation, Inc.
                   1428: This configure script is free software; the Free Software Foundation
                   1429: gives unlimited permission to copy, distribute and modify it.
                   1430: _ACEOF
                   1431:   exit
                   1432: fi
                   1433: 
                   1434: ## ------------------------ ##
                   1435: ## Autoconf initialization. ##
                   1436: ## ------------------------ ##
                   1437: 
                   1438: # ac_fn_c_try_compile LINENO
                   1439: # --------------------------
                   1440: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1441: ac_fn_c_try_compile ()
                   1442: {
                   1443:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1444:   rm -f conftest.$ac_objext
                   1445:   if { { ac_try="$ac_compile"
                   1446: case "(($ac_try" in
                   1447:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1448:   *) ac_try_echo=$ac_try;;
                   1449: esac
                   1450: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1451: $as_echo "$ac_try_echo"; } >&5
                   1452:   (eval "$ac_compile") 2>conftest.err
                   1453:   ac_status=$?
                   1454:   if test -s conftest.err; then
                   1455:     grep -v '^ *+' conftest.err >conftest.er1
                   1456:     cat conftest.er1 >&5
                   1457:     mv -f conftest.er1 conftest.err
                   1458:   fi
                   1459:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1460:   test $ac_status = 0; } && {
                   1461:         test -z "$ac_c_werror_flag" ||
                   1462:         test ! -s conftest.err
                   1463:        } && test -s conftest.$ac_objext; then :
                   1464:   ac_retval=0
                   1465: else
                   1466:   $as_echo "$as_me: failed program was:" >&5
                   1467: sed 's/^/| /' conftest.$ac_ext >&5
                   1468: 
                   1469:        ac_retval=1
                   1470: fi
                   1471:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1472:   as_fn_set_status $ac_retval
                   1473: 
                   1474: } # ac_fn_c_try_compile
                   1475: 
                   1476: # ac_fn_c_try_cpp LINENO
                   1477: # ----------------------
                   1478: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1479: ac_fn_c_try_cpp ()
                   1480: {
                   1481:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1482:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1483: case "(($ac_try" in
                   1484:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1485:   *) ac_try_echo=$ac_try;;
                   1486: esac
                   1487: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1488: $as_echo "$ac_try_echo"; } >&5
                   1489:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1490:   ac_status=$?
                   1491:   if test -s conftest.err; then
                   1492:     grep -v '^ *+' conftest.err >conftest.er1
                   1493:     cat conftest.er1 >&5
                   1494:     mv -f conftest.er1 conftest.err
                   1495:   fi
                   1496:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1497:   test $ac_status = 0; } > conftest.i && {
                   1498:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1499:         test ! -s conftest.err
                   1500:        }; then :
                   1501:   ac_retval=0
                   1502: else
                   1503:   $as_echo "$as_me: failed program was:" >&5
                   1504: sed 's/^/| /' conftest.$ac_ext >&5
                   1505: 
                   1506:     ac_retval=1
                   1507: fi
                   1508:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1509:   as_fn_set_status $ac_retval
                   1510: 
                   1511: } # ac_fn_c_try_cpp
                   1512: 
                   1513: # ac_fn_c_try_run LINENO
                   1514: # ----------------------
                   1515: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1516: # that executables *can* be run.
                   1517: ac_fn_c_try_run ()
                   1518: {
                   1519:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1520:   if { { ac_try="$ac_link"
                   1521: case "(($ac_try" in
                   1522:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1523:   *) ac_try_echo=$ac_try;;
                   1524: esac
                   1525: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1526: $as_echo "$ac_try_echo"; } >&5
                   1527:   (eval "$ac_link") 2>&5
                   1528:   ac_status=$?
                   1529:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1530:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1531:   { { case "(($ac_try" in
                   1532:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1533:   *) ac_try_echo=$ac_try;;
                   1534: esac
                   1535: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1536: $as_echo "$ac_try_echo"; } >&5
                   1537:   (eval "$ac_try") 2>&5
                   1538:   ac_status=$?
                   1539:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1540:   test $ac_status = 0; }; }; then :
                   1541:   ac_retval=0
                   1542: else
                   1543:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1544:        $as_echo "$as_me: failed program was:" >&5
                   1545: sed 's/^/| /' conftest.$ac_ext >&5
                   1546: 
                   1547:        ac_retval=$ac_status
                   1548: fi
                   1549:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1550:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1551:   as_fn_set_status $ac_retval
                   1552: 
                   1553: } # ac_fn_c_try_run
                   1554: 
                   1555: # ac_fn_c_try_link LINENO
                   1556: # -----------------------
                   1557: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1558: ac_fn_c_try_link ()
                   1559: {
                   1560:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1561:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1562:   if { { ac_try="$ac_link"
                   1563: case "(($ac_try" in
                   1564:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1565:   *) ac_try_echo=$ac_try;;
                   1566: esac
                   1567: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1568: $as_echo "$ac_try_echo"; } >&5
                   1569:   (eval "$ac_link") 2>conftest.err
                   1570:   ac_status=$?
                   1571:   if test -s conftest.err; then
                   1572:     grep -v '^ *+' conftest.err >conftest.er1
                   1573:     cat conftest.er1 >&5
                   1574:     mv -f conftest.er1 conftest.err
                   1575:   fi
                   1576:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1577:   test $ac_status = 0; } && {
                   1578:         test -z "$ac_c_werror_flag" ||
                   1579:         test ! -s conftest.err
                   1580:        } && test -s conftest$ac_exeext && {
                   1581:         test "$cross_compiling" = yes ||
                   1582:         $as_test_x conftest$ac_exeext
                   1583:        }; then :
                   1584:   ac_retval=0
                   1585: else
                   1586:   $as_echo "$as_me: failed program was:" >&5
                   1587: sed 's/^/| /' conftest.$ac_ext >&5
                   1588: 
                   1589:        ac_retval=1
                   1590: fi
                   1591:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1592:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1593:   # interfere with the next link command; also delete a directory that is
                   1594:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1595:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1596:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1597:   as_fn_set_status $ac_retval
                   1598: 
                   1599: } # ac_fn_c_try_link
                   1600: 
                   1601: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1602: # -------------------------------------------------------
                   1603: # Tests whether HEADER exists and can be compiled using the include files in
                   1604: # INCLUDES, setting the cache variable VAR accordingly.
                   1605: ac_fn_c_check_header_compile ()
                   1606: {
                   1607:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1608:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1609: $as_echo_n "checking for $2... " >&6; }
                   1610: if eval \${$3+:} false; then :
                   1611:   $as_echo_n "(cached) " >&6
                   1612: else
                   1613:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1614: /* end confdefs.h.  */
                   1615: $4
                   1616: #include <$2>
                   1617: _ACEOF
                   1618: if ac_fn_c_try_compile "$LINENO"; then :
                   1619:   eval "$3=yes"
                   1620: else
                   1621:   eval "$3=no"
                   1622: fi
                   1623: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1624: fi
                   1625: eval ac_res=\$$3
                   1626:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1627: $as_echo "$ac_res" >&6; }
                   1628:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1629: 
                   1630: } # ac_fn_c_check_header_compile
                   1631: 
                   1632: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1633: # -------------------------------------------------------
                   1634: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1635: # the include files in INCLUDES and setting the cache variable VAR
                   1636: # accordingly.
                   1637: ac_fn_c_check_header_mongrel ()
                   1638: {
                   1639:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1640:   if eval \${$3+:} false; then :
                   1641:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1642: $as_echo_n "checking for $2... " >&6; }
                   1643: if eval \${$3+:} false; then :
                   1644:   $as_echo_n "(cached) " >&6
                   1645: fi
                   1646: eval ac_res=\$$3
                   1647:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1648: $as_echo "$ac_res" >&6; }
                   1649: else
                   1650:   # Is the header compilable?
                   1651: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1652: $as_echo_n "checking $2 usability... " >&6; }
                   1653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1654: /* end confdefs.h.  */
                   1655: $4
                   1656: #include <$2>
                   1657: _ACEOF
                   1658: if ac_fn_c_try_compile "$LINENO"; then :
                   1659:   ac_header_compiler=yes
                   1660: else
                   1661:   ac_header_compiler=no
                   1662: fi
                   1663: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1664: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1665: $as_echo "$ac_header_compiler" >&6; }
                   1666: 
                   1667: # Is the header present?
                   1668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1669: $as_echo_n "checking $2 presence... " >&6; }
                   1670: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1671: /* end confdefs.h.  */
                   1672: #include <$2>
                   1673: _ACEOF
                   1674: if ac_fn_c_try_cpp "$LINENO"; then :
                   1675:   ac_header_preproc=yes
                   1676: else
                   1677:   ac_header_preproc=no
                   1678: fi
                   1679: rm -f conftest.err conftest.i conftest.$ac_ext
                   1680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1681: $as_echo "$ac_header_preproc" >&6; }
                   1682: 
                   1683: # So?  What about this header?
                   1684: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1685:   yes:no: )
                   1686:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1687: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1688:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1689: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1690:     ;;
                   1691:   no:yes:* )
                   1692:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1693: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1694:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1695: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1696:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1697: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1698:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1699: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1700:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1701: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1702:     ;;
                   1703: esac
                   1704:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1705: $as_echo_n "checking for $2... " >&6; }
                   1706: if eval \${$3+:} false; then :
                   1707:   $as_echo_n "(cached) " >&6
                   1708: else
                   1709:   eval "$3=\$ac_header_compiler"
                   1710: fi
                   1711: eval ac_res=\$$3
                   1712:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1713: $as_echo "$ac_res" >&6; }
                   1714: fi
                   1715:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1716: 
                   1717: } # ac_fn_c_check_header_mongrel
                   1718: 
                   1719: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   1720: # --------------------------------------------
                   1721: # Tries to find the compile-time value of EXPR in a program that includes
                   1722: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   1723: # computed
                   1724: ac_fn_c_compute_int ()
                   1725: {
                   1726:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1727:   if test "$cross_compiling" = yes; then
                   1728:     # Depending upon the size, compute the lo and hi bounds.
                   1729: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1730: /* end confdefs.h.  */
                   1731: $4
                   1732: int
                   1733: main ()
                   1734: {
                   1735: static int test_array [1 - 2 * !(($2) >= 0)];
                   1736: test_array [0] = 0
                   1737: 
                   1738:   ;
                   1739:   return 0;
                   1740: }
                   1741: _ACEOF
                   1742: if ac_fn_c_try_compile "$LINENO"; then :
                   1743:   ac_lo=0 ac_mid=0
                   1744:   while :; do
                   1745:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1746: /* end confdefs.h.  */
                   1747: $4
                   1748: int
                   1749: main ()
                   1750: {
                   1751: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   1752: test_array [0] = 0
                   1753: 
                   1754:   ;
                   1755:   return 0;
                   1756: }
                   1757: _ACEOF
                   1758: if ac_fn_c_try_compile "$LINENO"; then :
                   1759:   ac_hi=$ac_mid; break
                   1760: else
                   1761:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   1762:                        if test $ac_lo -le $ac_mid; then
                   1763:                          ac_lo= ac_hi=
                   1764:                          break
                   1765:                        fi
                   1766:                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   1767: fi
                   1768: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1769:   done
                   1770: else
                   1771:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1772: /* end confdefs.h.  */
                   1773: $4
                   1774: int
                   1775: main ()
                   1776: {
                   1777: static int test_array [1 - 2 * !(($2) < 0)];
                   1778: test_array [0] = 0
                   1779: 
                   1780:   ;
                   1781:   return 0;
                   1782: }
                   1783: _ACEOF
                   1784: if ac_fn_c_try_compile "$LINENO"; then :
                   1785:   ac_hi=-1 ac_mid=-1
                   1786:   while :; do
                   1787:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1788: /* end confdefs.h.  */
                   1789: $4
                   1790: int
                   1791: main ()
                   1792: {
                   1793: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
                   1794: test_array [0] = 0
                   1795: 
                   1796:   ;
                   1797:   return 0;
                   1798: }
                   1799: _ACEOF
                   1800: if ac_fn_c_try_compile "$LINENO"; then :
                   1801:   ac_lo=$ac_mid; break
                   1802: else
                   1803:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   1804:                        if test $ac_mid -le $ac_hi; then
                   1805:                          ac_lo= ac_hi=
                   1806:                          break
                   1807:                        fi
                   1808:                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   1809: fi
                   1810: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1811:   done
                   1812: else
                   1813:   ac_lo= ac_hi=
                   1814: fi
                   1815: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1816: fi
                   1817: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1818: # Binary search between lo and hi bounds.
                   1819: while test "x$ac_lo" != "x$ac_hi"; do
                   1820:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   1821:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1822: /* end confdefs.h.  */
                   1823: $4
                   1824: int
                   1825: main ()
                   1826: {
                   1827: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
                   1828: test_array [0] = 0
                   1829: 
                   1830:   ;
                   1831:   return 0;
                   1832: }
                   1833: _ACEOF
                   1834: if ac_fn_c_try_compile "$LINENO"; then :
                   1835:   ac_hi=$ac_mid
                   1836: else
                   1837:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
                   1838: fi
                   1839: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1840: done
                   1841: case $ac_lo in #((
                   1842: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   1843: '') ac_retval=1 ;;
                   1844: esac
                   1845:   else
                   1846:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1847: /* end confdefs.h.  */
                   1848: $4
                   1849: static long int longval () { return $2; }
                   1850: static unsigned long int ulongval () { return $2; }
                   1851: #include <stdio.h>
                   1852: #include <stdlib.h>
                   1853: int
                   1854: main ()
                   1855: {
                   1856: 
                   1857:   FILE *f = fopen ("conftest.val", "w");
                   1858:   if (! f)
                   1859:     return 1;
                   1860:   if (($2) < 0)
                   1861:     {
                   1862:       long int i = longval ();
                   1863:       if (i != ($2))
                   1864:        return 1;
                   1865:       fprintf (f, "%ld", i);
                   1866:     }
                   1867:   else
                   1868:     {
                   1869:       unsigned long int i = ulongval ();
                   1870:       if (i != ($2))
                   1871:        return 1;
                   1872:       fprintf (f, "%lu", i);
                   1873:     }
                   1874:   /* Do not output a trailing newline, as this causes \r\n confusion
                   1875:      on some platforms.  */
                   1876:   return ferror (f) || fclose (f) != 0;
                   1877: 
                   1878:   ;
                   1879:   return 0;
                   1880: }
                   1881: _ACEOF
                   1882: if ac_fn_c_try_run "$LINENO"; then :
                   1883:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   1884: else
                   1885:   ac_retval=1
                   1886: fi
                   1887: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   1888:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   1889: rm -f conftest.val
                   1890: 
                   1891:   fi
                   1892:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1893:   as_fn_set_status $ac_retval
                   1894: 
                   1895: } # ac_fn_c_compute_int
                   1896: 
                   1897: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1898: # -------------------------------------------
                   1899: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1900: # variable VAR accordingly.
                   1901: ac_fn_c_check_type ()
                   1902: {
                   1903:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1904:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1905: $as_echo_n "checking for $2... " >&6; }
                   1906: if eval \${$3+:} false; then :
                   1907:   $as_echo_n "(cached) " >&6
                   1908: else
                   1909:   eval "$3=no"
                   1910:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1911: /* end confdefs.h.  */
                   1912: $4
                   1913: int
                   1914: main ()
                   1915: {
                   1916: if (sizeof ($2))
                   1917:         return 0;
                   1918:   ;
                   1919:   return 0;
                   1920: }
                   1921: _ACEOF
                   1922: if ac_fn_c_try_compile "$LINENO"; then :
                   1923:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1924: /* end confdefs.h.  */
                   1925: $4
                   1926: int
                   1927: main ()
                   1928: {
                   1929: if (sizeof (($2)))
                   1930:            return 0;
                   1931:   ;
                   1932:   return 0;
                   1933: }
                   1934: _ACEOF
                   1935: if ac_fn_c_try_compile "$LINENO"; then :
                   1936: 
                   1937: else
                   1938:   eval "$3=yes"
                   1939: fi
                   1940: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1941: fi
                   1942: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1943: fi
                   1944: eval ac_res=\$$3
                   1945:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1946: $as_echo "$ac_res" >&6; }
                   1947:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1948: 
                   1949: } # ac_fn_c_check_type
                   1950: 
                   1951: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   1952: # ----------------------------------------------------
                   1953: # Tries to find if the field MEMBER exists in type AGGR, after including
                   1954: # INCLUDES, setting cache variable VAR accordingly.
                   1955: ac_fn_c_check_member ()
                   1956: {
                   1957:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1958:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   1959: $as_echo_n "checking for $2.$3... " >&6; }
                   1960: if eval \${$4+:} false; then :
                   1961:   $as_echo_n "(cached) " >&6
                   1962: else
                   1963:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1964: /* end confdefs.h.  */
                   1965: $5
                   1966: int
                   1967: main ()
                   1968: {
                   1969: static $2 ac_aggr;
                   1970: if (ac_aggr.$3)
                   1971: return 0;
                   1972:   ;
                   1973:   return 0;
                   1974: }
                   1975: _ACEOF
                   1976: if ac_fn_c_try_compile "$LINENO"; then :
                   1977:   eval "$4=yes"
                   1978: else
                   1979:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1980: /* end confdefs.h.  */
                   1981: $5
                   1982: int
                   1983: main ()
                   1984: {
                   1985: static $2 ac_aggr;
                   1986: if (sizeof ac_aggr.$3)
                   1987: return 0;
                   1988:   ;
                   1989:   return 0;
                   1990: }
                   1991: _ACEOF
                   1992: if ac_fn_c_try_compile "$LINENO"; then :
                   1993:   eval "$4=yes"
                   1994: else
                   1995:   eval "$4=no"
                   1996: fi
                   1997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1998: fi
                   1999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2000: fi
                   2001: eval ac_res=\$$4
                   2002:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2003: $as_echo "$ac_res" >&6; }
                   2004:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2005: 
                   2006: } # ac_fn_c_check_member
                   2007: 
                   2008: # ac_fn_c_check_func LINENO FUNC VAR
                   2009: # ----------------------------------
                   2010: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   2011: ac_fn_c_check_func ()
                   2012: {
                   2013:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2014:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2015: $as_echo_n "checking for $2... " >&6; }
                   2016: if eval \${$3+:} false; then :
                   2017:   $as_echo_n "(cached) " >&6
                   2018: else
                   2019:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2020: /* end confdefs.h.  */
                   2021: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   2022:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   2023: #define $2 innocuous_$2
                   2024: 
                   2025: /* System header to define __stub macros and hopefully few prototypes,
                   2026:     which can conflict with char $2 (); below.
                   2027:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2028:     <limits.h> exists even on freestanding compilers.  */
                   2029: 
                   2030: #ifdef __STDC__
                   2031: # include <limits.h>
                   2032: #else
                   2033: # include <assert.h>
                   2034: #endif
                   2035: 
                   2036: #undef $2
                   2037: 
                   2038: /* Override any GCC internal prototype to avoid an error.
                   2039:    Use char because int might match the return type of a GCC
                   2040:    builtin and then its argument prototype would still apply.  */
                   2041: #ifdef __cplusplus
                   2042: extern "C"
                   2043: #endif
                   2044: char $2 ();
                   2045: /* The GNU C library defines this for functions which it implements
                   2046:     to always fail with ENOSYS.  Some functions are actually named
                   2047:     something starting with __ and the normal name is an alias.  */
                   2048: #if defined __stub_$2 || defined __stub___$2
                   2049: choke me
                   2050: #endif
                   2051: 
                   2052: int
                   2053: main ()
                   2054: {
                   2055: return $2 ();
                   2056:   ;
                   2057:   return 0;
                   2058: }
                   2059: _ACEOF
                   2060: if ac_fn_c_try_link "$LINENO"; then :
                   2061:   eval "$3=yes"
                   2062: else
                   2063:   eval "$3=no"
                   2064: fi
                   2065: rm -f core conftest.err conftest.$ac_objext \
                   2066:     conftest$ac_exeext conftest.$ac_ext
                   2067: fi
                   2068: eval ac_res=\$$3
                   2069:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2070: $as_echo "$ac_res" >&6; }
                   2071:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2072: 
                   2073: } # ac_fn_c_check_func
                   2074: cat >config.log <<_ACEOF
                   2075: This file contains any messages produced by compilers while
                   2076: running configure, to aid debugging if configure makes a mistake.
                   2077: 
                   2078: It was created by $as_me, which was
                   2079: generated by GNU Autoconf 2.68.  Invocation command line was
                   2080: 
                   2081:   $ $0 $@
                   2082: 
                   2083: _ACEOF
                   2084: exec 5>>config.log
                   2085: {
                   2086: cat <<_ASUNAME
                   2087: ## --------- ##
                   2088: ## Platform. ##
                   2089: ## --------- ##
                   2090: 
                   2091: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2092: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2093: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2094: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2095: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2096: 
                   2097: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2098: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2099: 
                   2100: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2101: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2102: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2103: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2104: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2105: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2106: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2107: 
                   2108: _ASUNAME
                   2109: 
                   2110: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2111: for as_dir in $PATH
                   2112: do
                   2113:   IFS=$as_save_IFS
                   2114:   test -z "$as_dir" && as_dir=.
                   2115:     $as_echo "PATH: $as_dir"
                   2116:   done
                   2117: IFS=$as_save_IFS
                   2118: 
                   2119: } >&5
                   2120: 
                   2121: cat >&5 <<_ACEOF
                   2122: 
                   2123: 
                   2124: ## ----------- ##
                   2125: ## Core tests. ##
                   2126: ## ----------- ##
                   2127: 
                   2128: _ACEOF
                   2129: 
                   2130: 
                   2131: # Keep a trace of the command line.
                   2132: # Strip out --no-create and --no-recursion so they do not pile up.
                   2133: # Strip out --silent because we don't want to record it for future runs.
                   2134: # Also quote any args containing shell meta-characters.
                   2135: # Make two passes to allow for proper duplicate-argument suppression.
                   2136: ac_configure_args=
                   2137: ac_configure_args0=
                   2138: ac_configure_args1=
                   2139: ac_must_keep_next=false
                   2140: for ac_pass in 1 2
                   2141: do
                   2142:   for ac_arg
                   2143:   do
                   2144:     case $ac_arg in
                   2145:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2146:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2147:     | -silent | --silent | --silen | --sile | --sil)
                   2148:       continue ;;
                   2149:     *\'*)
                   2150:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2151:     esac
                   2152:     case $ac_pass in
                   2153:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2154:     2)
                   2155:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2156:       if test $ac_must_keep_next = true; then
                   2157:        ac_must_keep_next=false # Got value, back to normal.
                   2158:       else
                   2159:        case $ac_arg in
                   2160:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2161:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2162:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2163:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2164:            case "$ac_configure_args0 " in
                   2165:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2166:            esac
                   2167:            ;;
                   2168:          -* ) ac_must_keep_next=true ;;
                   2169:        esac
                   2170:       fi
                   2171:       as_fn_append ac_configure_args " '$ac_arg'"
                   2172:       ;;
                   2173:     esac
                   2174:   done
                   2175: done
                   2176: { ac_configure_args0=; unset ac_configure_args0;}
                   2177: { ac_configure_args1=; unset ac_configure_args1;}
                   2178: 
                   2179: # When interrupted or exit'd, cleanup temporary files, and complete
                   2180: # config.log.  We remove comments because anyway the quotes in there
                   2181: # would cause problems or look ugly.
                   2182: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2183: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2184: trap 'exit_status=$?
                   2185:   # Save into config.log some information that might help in debugging.
                   2186:   {
                   2187:     echo
                   2188: 
                   2189:     $as_echo "## ---------------- ##
                   2190: ## Cache variables. ##
                   2191: ## ---------------- ##"
                   2192:     echo
                   2193:     # The following way of writing the cache mishandles newlines in values,
                   2194: (
                   2195:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2196:     eval ac_val=\$$ac_var
                   2197:     case $ac_val in #(
                   2198:     *${as_nl}*)
                   2199:       case $ac_var in #(
                   2200:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2201: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2202:       esac
                   2203:       case $ac_var in #(
                   2204:       _ | IFS | as_nl) ;; #(
                   2205:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2206:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2207:       esac ;;
                   2208:     esac
                   2209:   done
                   2210:   (set) 2>&1 |
                   2211:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2212:     *${as_nl}ac_space=\ *)
                   2213:       sed -n \
                   2214:        "s/'\''/'\''\\\\'\'''\''/g;
                   2215:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2216:       ;; #(
                   2217:     *)
                   2218:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2219:       ;;
                   2220:     esac |
                   2221:     sort
                   2222: )
                   2223:     echo
                   2224: 
                   2225:     $as_echo "## ----------------- ##
                   2226: ## Output variables. ##
                   2227: ## ----------------- ##"
                   2228:     echo
                   2229:     for ac_var in $ac_subst_vars
                   2230:     do
                   2231:       eval ac_val=\$$ac_var
                   2232:       case $ac_val in
                   2233:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2234:       esac
                   2235:       $as_echo "$ac_var='\''$ac_val'\''"
                   2236:     done | sort
                   2237:     echo
                   2238: 
                   2239:     if test -n "$ac_subst_files"; then
                   2240:       $as_echo "## ------------------- ##
                   2241: ## File substitutions. ##
                   2242: ## ------------------- ##"
                   2243:       echo
                   2244:       for ac_var in $ac_subst_files
                   2245:       do
                   2246:        eval ac_val=\$$ac_var
                   2247:        case $ac_val in
                   2248:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2249:        esac
                   2250:        $as_echo "$ac_var='\''$ac_val'\''"
                   2251:       done | sort
                   2252:       echo
                   2253:     fi
                   2254: 
                   2255:     if test -s confdefs.h; then
                   2256:       $as_echo "## ----------- ##
                   2257: ## confdefs.h. ##
                   2258: ## ----------- ##"
                   2259:       echo
                   2260:       cat confdefs.h
                   2261:       echo
                   2262:     fi
                   2263:     test "$ac_signal" != 0 &&
                   2264:       $as_echo "$as_me: caught signal $ac_signal"
                   2265:     $as_echo "$as_me: exit $exit_status"
                   2266:   } >&5
                   2267:   rm -f core *.core core.conftest.* &&
                   2268:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2269:     exit $exit_status
                   2270: ' 0
                   2271: for ac_signal in 1 2 13 15; do
                   2272:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2273: done
                   2274: ac_signal=0
                   2275: 
                   2276: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2277: rm -f -r conftest* confdefs.h
                   2278: 
                   2279: $as_echo "/* confdefs.h */" > confdefs.h
                   2280: 
                   2281: # Predefined preprocessor variables.
                   2282: 
                   2283: cat >>confdefs.h <<_ACEOF
                   2284: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2285: _ACEOF
                   2286: 
                   2287: cat >>confdefs.h <<_ACEOF
                   2288: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2289: _ACEOF
                   2290: 
                   2291: cat >>confdefs.h <<_ACEOF
                   2292: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2293: _ACEOF
                   2294: 
                   2295: cat >>confdefs.h <<_ACEOF
                   2296: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2297: _ACEOF
                   2298: 
                   2299: cat >>confdefs.h <<_ACEOF
                   2300: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2301: _ACEOF
                   2302: 
                   2303: cat >>confdefs.h <<_ACEOF
                   2304: #define PACKAGE_URL "$PACKAGE_URL"
                   2305: _ACEOF
                   2306: 
                   2307: 
                   2308: # Let the site file select an alternate cache file if it wants to.
                   2309: # Prefer an explicitly selected file to automatically selected ones.
                   2310: ac_site_file1=NONE
                   2311: ac_site_file2=NONE
                   2312: if test -n "$CONFIG_SITE"; then
                   2313:   # We do not want a PATH search for config.site.
                   2314:   case $CONFIG_SITE in #((
                   2315:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2316:     */*) ac_site_file1=$CONFIG_SITE;;
                   2317:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2318:   esac
                   2319: elif test "x$prefix" != xNONE; then
                   2320:   ac_site_file1=$prefix/share/config.site
                   2321:   ac_site_file2=$prefix/etc/config.site
                   2322: else
                   2323:   ac_site_file1=$ac_default_prefix/share/config.site
                   2324:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2325: fi
                   2326: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2327: do
                   2328:   test "x$ac_site_file" = xNONE && continue
                   2329:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2330:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2331: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2332:     sed 's/^/| /' "$ac_site_file" >&5
                   2333:     . "$ac_site_file" \
                   2334:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2335: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2336: as_fn_error $? "failed to load site script $ac_site_file
                   2337: See \`config.log' for more details" "$LINENO" 5; }
                   2338:   fi
                   2339: done
                   2340: 
                   2341: if test -r "$cache_file"; then
                   2342:   # Some versions of bash will fail to source /dev/null (special files
                   2343:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2344:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2345:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2346: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2347:     case $cache_file in
                   2348:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2349:       *)                      . "./$cache_file";;
                   2350:     esac
                   2351:   fi
                   2352: else
                   2353:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2354: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2355:   >$cache_file
                   2356: fi
                   2357: 
                   2358: as_fn_append ac_header_list " utime.h"
                   2359: # Check that the precious variables saved in the cache have kept the same
                   2360: # value.
                   2361: ac_cache_corrupted=false
                   2362: for ac_var in $ac_precious_vars; do
                   2363:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2364:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2365:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2366:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2367:   case $ac_old_set,$ac_new_set in
                   2368:     set,)
                   2369:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2370: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2371:       ac_cache_corrupted=: ;;
                   2372:     ,set)
                   2373:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2374: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2375:       ac_cache_corrupted=: ;;
                   2376:     ,);;
                   2377:     *)
                   2378:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2379:        # differences in whitespace do not lead to failure.
                   2380:        ac_old_val_w=`echo x $ac_old_val`
                   2381:        ac_new_val_w=`echo x $ac_new_val`
                   2382:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2383:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2384: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2385:          ac_cache_corrupted=:
                   2386:        else
                   2387:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2388: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2389:          eval $ac_var=\$ac_old_val
                   2390:        fi
                   2391:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2392: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2393:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2394: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2395:       fi;;
                   2396:   esac
                   2397:   # Pass precious variables to config.status.
                   2398:   if test "$ac_new_set" = set; then
                   2399:     case $ac_new_val in
                   2400:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2401:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2402:     esac
                   2403:     case " $ac_configure_args " in
                   2404:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2405:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2406:     esac
                   2407:   fi
                   2408: done
                   2409: if $ac_cache_corrupted; then
                   2410:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2411: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2412:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2413: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2414:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2415: fi
                   2416: ## -------------------- ##
                   2417: ## Main body of script. ##
                   2418: ## -------------------- ##
                   2419: 
                   2420: ac_ext=c
                   2421: ac_cpp='$CPP $CPPFLAGS'
                   2422: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2423: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2424: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2425: 
                   2426: 
                   2427: 
                   2428: ac_config_headers="$ac_config_headers config.h"
                   2429: 
                   2430: 
                   2431: 
1.1.1.2 ! misho    2432: RSYNC_VERSION=3.1.0
1.1       misho    2433: 
                   2434: { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring rsync $RSYNC_VERSION" >&5
                   2435: $as_echo "$as_me: Configuring rsync $RSYNC_VERSION" >&6;}
                   2436: 
                   2437: 
                   2438: cat >>confdefs.h <<_ACEOF
                   2439: #define RSYNC_VERSION "$RSYNC_VERSION"
                   2440: _ACEOF
                   2441: 
                   2442: 
                   2443: LDFLAGS=${LDFLAGS-""}
                   2444: 
                   2445: ac_aux_dir=
                   2446: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2447:   if test -f "$ac_dir/install-sh"; then
                   2448:     ac_aux_dir=$ac_dir
                   2449:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2450:     break
                   2451:   elif test -f "$ac_dir/install.sh"; then
                   2452:     ac_aux_dir=$ac_dir
                   2453:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2454:     break
                   2455:   elif test -f "$ac_dir/shtool"; then
                   2456:     ac_aux_dir=$ac_dir
                   2457:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2458:     break
                   2459:   fi
                   2460: done
                   2461: if test -z "$ac_aux_dir"; then
                   2462:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2463: fi
                   2464: 
                   2465: # These three variables are undocumented and unsupported,
                   2466: # and are intended to be withdrawn in a future Autoconf release.
                   2467: # They can cause serious problems if a builder's source tree is in a directory
                   2468: # whose full name contains unusual characters.
                   2469: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2470: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2471: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2472: 
                   2473: 
                   2474: # Make sure we can run config.sub.
                   2475: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2476:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2477: 
                   2478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2479: $as_echo_n "checking build system type... " >&6; }
                   2480: if ${ac_cv_build+:} false; then :
                   2481:   $as_echo_n "(cached) " >&6
                   2482: else
                   2483:   ac_build_alias=$build_alias
                   2484: test "x$ac_build_alias" = x &&
                   2485:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2486: test "x$ac_build_alias" = x &&
                   2487:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2488: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2489:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2490: 
                   2491: fi
                   2492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2493: $as_echo "$ac_cv_build" >&6; }
                   2494: case $ac_cv_build in
                   2495: *-*-*) ;;
                   2496: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2497: esac
                   2498: build=$ac_cv_build
                   2499: ac_save_IFS=$IFS; IFS='-'
                   2500: set x $ac_cv_build
                   2501: shift
                   2502: build_cpu=$1
                   2503: build_vendor=$2
                   2504: shift; shift
                   2505: # Remember, the first character of IFS is used to create $*,
                   2506: # except with old shells:
                   2507: build_os=$*
                   2508: IFS=$ac_save_IFS
                   2509: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2510: 
                   2511: 
                   2512: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2513: $as_echo_n "checking host system type... " >&6; }
                   2514: if ${ac_cv_host+:} false; then :
                   2515:   $as_echo_n "(cached) " >&6
                   2516: else
                   2517:   if test "x$host_alias" = x; then
                   2518:   ac_cv_host=$ac_cv_build
                   2519: else
                   2520:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2521:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2522: fi
                   2523: 
                   2524: fi
                   2525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2526: $as_echo "$ac_cv_host" >&6; }
                   2527: case $ac_cv_host in
                   2528: *-*-*) ;;
                   2529: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2530: esac
                   2531: host=$ac_cv_host
                   2532: ac_save_IFS=$IFS; IFS='-'
                   2533: set x $ac_cv_host
                   2534: shift
                   2535: host_cpu=$1
                   2536: host_vendor=$2
                   2537: shift; shift
                   2538: # Remember, the first character of IFS is used to create $*,
                   2539: # except with old shells:
                   2540: host_os=$*
                   2541: IFS=$ac_save_IFS
                   2542: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2543: 
                   2544: 
                   2545: 
                   2546: # We must decide this before testing the compiler.
                   2547: 
                   2548: # Please allow this to default to yes, so that your users have more
                   2549: # chance of getting a useful stack trace if problems occur.
                   2550: 
                   2551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include debugging symbols" >&5
                   2552: $as_echo_n "checking whether to include debugging symbols... " >&6; }
                   2553: # Check whether --enable-debug was given.
                   2554: if test "${enable_debug+set}" = set; then :
                   2555:   enableval=$enable_debug;
                   2556: fi
                   2557: 
                   2558: 
                   2559: if test x"$enable_debug" = x"no"; then
                   2560:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2561: $as_echo "no" >&6; }
                   2562:     ac_cv_prog_cc_g=no
                   2563: else
                   2564:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2565: $as_echo "yes" >&6; }
                   2566:         # leave ac_cv_prog_cc_g alone; AC_PROG_CC will try to include -g if it can
                   2567: fi
                   2568: 
                   2569: ac_ext=c
                   2570: ac_cpp='$CPP $CPPFLAGS'
                   2571: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2572: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2573: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2574: if test -n "$ac_tool_prefix"; then
                   2575:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2576: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2578: $as_echo_n "checking for $ac_word... " >&6; }
                   2579: if ${ac_cv_prog_CC+:} false; then :
                   2580:   $as_echo_n "(cached) " >&6
                   2581: else
                   2582:   if test -n "$CC"; then
                   2583:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2584: else
                   2585: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2586: for as_dir in $PATH
                   2587: do
                   2588:   IFS=$as_save_IFS
                   2589:   test -z "$as_dir" && as_dir=.
                   2590:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2591:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2592:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2593:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2594:     break 2
                   2595:   fi
                   2596: done
                   2597:   done
                   2598: IFS=$as_save_IFS
                   2599: 
                   2600: fi
                   2601: fi
                   2602: CC=$ac_cv_prog_CC
                   2603: if test -n "$CC"; then
                   2604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2605: $as_echo "$CC" >&6; }
                   2606: else
                   2607:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2608: $as_echo "no" >&6; }
                   2609: fi
                   2610: 
                   2611: 
                   2612: fi
                   2613: if test -z "$ac_cv_prog_CC"; then
                   2614:   ac_ct_CC=$CC
                   2615:   # Extract the first word of "gcc", so it can be a program name with args.
                   2616: set dummy gcc; ac_word=$2
                   2617: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2618: $as_echo_n "checking for $ac_word... " >&6; }
                   2619: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   2620:   $as_echo_n "(cached) " >&6
                   2621: else
                   2622:   if test -n "$ac_ct_CC"; then
                   2623:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2624: else
                   2625: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2626: for as_dir in $PATH
                   2627: do
                   2628:   IFS=$as_save_IFS
                   2629:   test -z "$as_dir" && as_dir=.
                   2630:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2631:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2632:     ac_cv_prog_ac_ct_CC="gcc"
                   2633:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2634:     break 2
                   2635:   fi
                   2636: done
                   2637:   done
                   2638: IFS=$as_save_IFS
                   2639: 
                   2640: fi
                   2641: fi
                   2642: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2643: if test -n "$ac_ct_CC"; then
                   2644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2645: $as_echo "$ac_ct_CC" >&6; }
                   2646: else
                   2647:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2648: $as_echo "no" >&6; }
                   2649: fi
                   2650: 
                   2651:   if test "x$ac_ct_CC" = x; then
                   2652:     CC=""
                   2653:   else
                   2654:     case $cross_compiling:$ac_tool_warned in
                   2655: yes:)
                   2656: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2657: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2658: ac_tool_warned=yes ;;
                   2659: esac
                   2660:     CC=$ac_ct_CC
                   2661:   fi
                   2662: else
                   2663:   CC="$ac_cv_prog_CC"
                   2664: fi
                   2665: 
                   2666: if test -z "$CC"; then
                   2667:           if test -n "$ac_tool_prefix"; then
                   2668:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2669: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2671: $as_echo_n "checking for $ac_word... " >&6; }
                   2672: if ${ac_cv_prog_CC+:} false; then :
                   2673:   $as_echo_n "(cached) " >&6
                   2674: else
                   2675:   if test -n "$CC"; then
                   2676:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2677: else
                   2678: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2679: for as_dir in $PATH
                   2680: do
                   2681:   IFS=$as_save_IFS
                   2682:   test -z "$as_dir" && as_dir=.
                   2683:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2684:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2685:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2686:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2687:     break 2
                   2688:   fi
                   2689: done
                   2690:   done
                   2691: IFS=$as_save_IFS
                   2692: 
                   2693: fi
                   2694: fi
                   2695: CC=$ac_cv_prog_CC
                   2696: if test -n "$CC"; then
                   2697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2698: $as_echo "$CC" >&6; }
                   2699: else
                   2700:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2701: $as_echo "no" >&6; }
                   2702: fi
                   2703: 
                   2704: 
                   2705:   fi
                   2706: fi
                   2707: if test -z "$CC"; then
                   2708:   # Extract the first word of "cc", so it can be a program name with args.
                   2709: set dummy cc; ac_word=$2
                   2710: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2711: $as_echo_n "checking for $ac_word... " >&6; }
                   2712: if ${ac_cv_prog_CC+:} false; then :
                   2713:   $as_echo_n "(cached) " >&6
                   2714: else
                   2715:   if test -n "$CC"; then
                   2716:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2717: else
                   2718:   ac_prog_rejected=no
                   2719: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2720: for as_dir in $PATH
                   2721: do
                   2722:   IFS=$as_save_IFS
                   2723:   test -z "$as_dir" && as_dir=.
                   2724:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2725:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2726:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2727:        ac_prog_rejected=yes
                   2728:        continue
                   2729:      fi
                   2730:     ac_cv_prog_CC="cc"
                   2731:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2732:     break 2
                   2733:   fi
                   2734: done
                   2735:   done
                   2736: IFS=$as_save_IFS
                   2737: 
                   2738: if test $ac_prog_rejected = yes; then
                   2739:   # We found a bogon in the path, so make sure we never use it.
                   2740:   set dummy $ac_cv_prog_CC
                   2741:   shift
                   2742:   if test $# != 0; then
                   2743:     # We chose a different compiler from the bogus one.
                   2744:     # However, it has the same basename, so the bogon will be chosen
                   2745:     # first if we set CC to just the basename; use the full file name.
                   2746:     shift
                   2747:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2748:   fi
                   2749: fi
                   2750: fi
                   2751: fi
                   2752: CC=$ac_cv_prog_CC
                   2753: if test -n "$CC"; then
                   2754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2755: $as_echo "$CC" >&6; }
                   2756: else
                   2757:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2758: $as_echo "no" >&6; }
                   2759: fi
                   2760: 
                   2761: 
                   2762: fi
                   2763: if test -z "$CC"; then
                   2764:   if test -n "$ac_tool_prefix"; then
                   2765:   for ac_prog in cl.exe
                   2766:   do
                   2767:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2768: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2770: $as_echo_n "checking for $ac_word... " >&6; }
                   2771: if ${ac_cv_prog_CC+:} false; then :
                   2772:   $as_echo_n "(cached) " >&6
                   2773: else
                   2774:   if test -n "$CC"; then
                   2775:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2776: else
                   2777: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2778: for as_dir in $PATH
                   2779: do
                   2780:   IFS=$as_save_IFS
                   2781:   test -z "$as_dir" && as_dir=.
                   2782:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2783:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2784:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2785:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2786:     break 2
                   2787:   fi
                   2788: done
                   2789:   done
                   2790: IFS=$as_save_IFS
                   2791: 
                   2792: fi
                   2793: fi
                   2794: CC=$ac_cv_prog_CC
                   2795: if test -n "$CC"; then
                   2796:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   2797: $as_echo "$CC" >&6; }
                   2798: else
                   2799:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2800: $as_echo "no" >&6; }
                   2801: fi
                   2802: 
                   2803: 
                   2804:     test -n "$CC" && break
                   2805:   done
                   2806: fi
                   2807: if test -z "$CC"; then
                   2808:   ac_ct_CC=$CC
                   2809:   for ac_prog in cl.exe
                   2810: do
                   2811:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2812: set dummy $ac_prog; ac_word=$2
                   2813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2814: $as_echo_n "checking for $ac_word... " >&6; }
                   2815: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   2816:   $as_echo_n "(cached) " >&6
                   2817: else
                   2818:   if test -n "$ac_ct_CC"; then
                   2819:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2820: else
                   2821: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2822: for as_dir in $PATH
                   2823: do
                   2824:   IFS=$as_save_IFS
                   2825:   test -z "$as_dir" && as_dir=.
                   2826:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2827:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2828:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2829:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2830:     break 2
                   2831:   fi
                   2832: done
                   2833:   done
                   2834: IFS=$as_save_IFS
                   2835: 
                   2836: fi
                   2837: fi
                   2838: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2839: if test -n "$ac_ct_CC"; then
                   2840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   2841: $as_echo "$ac_ct_CC" >&6; }
                   2842: else
                   2843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2844: $as_echo "no" >&6; }
                   2845: fi
                   2846: 
                   2847: 
                   2848:   test -n "$ac_ct_CC" && break
                   2849: done
                   2850: 
                   2851:   if test "x$ac_ct_CC" = x; then
                   2852:     CC=""
                   2853:   else
                   2854:     case $cross_compiling:$ac_tool_warned in
                   2855: yes:)
                   2856: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2857: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2858: ac_tool_warned=yes ;;
                   2859: esac
                   2860:     CC=$ac_ct_CC
                   2861:   fi
                   2862: fi
                   2863: 
                   2864: fi
                   2865: 
                   2866: 
                   2867: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2868: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2869: as_fn_error $? "no acceptable C compiler found in \$PATH
                   2870: See \`config.log' for more details" "$LINENO" 5; }
                   2871: 
                   2872: # Provide some information about the compiler.
                   2873: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   2874: set X $ac_compile
                   2875: ac_compiler=$2
                   2876: for ac_option in --version -v -V -qversion; do
                   2877:   { { ac_try="$ac_compiler $ac_option >&5"
                   2878: case "(($ac_try" in
                   2879:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2880:   *) ac_try_echo=$ac_try;;
                   2881: esac
                   2882: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2883: $as_echo "$ac_try_echo"; } >&5
                   2884:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   2885:   ac_status=$?
                   2886:   if test -s conftest.err; then
                   2887:     sed '10a\
                   2888: ... rest of stderr output deleted ...
                   2889:          10q' conftest.err >conftest.er1
                   2890:     cat conftest.er1 >&5
                   2891:   fi
                   2892:   rm -f conftest.er1 conftest.err
                   2893:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2894:   test $ac_status = 0; }
                   2895: done
                   2896: 
                   2897: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2898: /* end confdefs.h.  */
                   2899: 
                   2900: int
                   2901: main ()
                   2902: {
                   2903: 
                   2904:   ;
                   2905:   return 0;
                   2906: }
                   2907: _ACEOF
                   2908: ac_clean_files_save=$ac_clean_files
                   2909: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   2910: # Try to create an executable without -o first, disregard a.out.
                   2911: # It will help us diagnose broken compilers, and finding out an intuition
                   2912: # of exeext.
                   2913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   2914: $as_echo_n "checking whether the C compiler works... " >&6; }
                   2915: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2916: 
                   2917: # The possible output files:
                   2918: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2919: 
                   2920: ac_rmfiles=
                   2921: for ac_file in $ac_files
                   2922: do
                   2923:   case $ac_file in
                   2924:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2925:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2926:   esac
                   2927: done
                   2928: rm -f $ac_rmfiles
                   2929: 
                   2930: if { { ac_try="$ac_link_default"
                   2931: case "(($ac_try" in
                   2932:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2933:   *) ac_try_echo=$ac_try;;
                   2934: esac
                   2935: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   2936: $as_echo "$ac_try_echo"; } >&5
                   2937:   (eval "$ac_link_default") 2>&5
                   2938:   ac_status=$?
                   2939:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   2940:   test $ac_status = 0; }; then :
                   2941:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2942: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2943: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2944: # so that the user can short-circuit this test for compilers unknown to
                   2945: # Autoconf.
                   2946: for ac_file in $ac_files ''
                   2947: do
                   2948:   test -f "$ac_file" || continue
                   2949:   case $ac_file in
                   2950:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   2951:        ;;
                   2952:     [ab].out )
                   2953:        # We found the default executable, but exeext='' is most
                   2954:        # certainly right.
                   2955:        break;;
                   2956:     *.* )
                   2957:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   2958:        then :; else
                   2959:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2960:        fi
                   2961:        # We set ac_cv_exeext here because the later test for it is not
                   2962:        # safe: cross compilers may not add the suffix if given an `-o'
                   2963:        # argument, so we may need to know it at that point already.
                   2964:        # Even if this section looks crufty: it has the advantage of
                   2965:        # actually working.
                   2966:        break;;
                   2967:     * )
                   2968:        break;;
                   2969:   esac
                   2970: done
                   2971: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2972: 
                   2973: else
                   2974:   ac_file=''
                   2975: fi
                   2976: if test -z "$ac_file"; then :
                   2977:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2978: $as_echo "no" >&6; }
                   2979: $as_echo "$as_me: failed program was:" >&5
                   2980: sed 's/^/| /' conftest.$ac_ext >&5
                   2981: 
                   2982: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2983: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2984: as_fn_error 77 "C compiler cannot create executables
                   2985: See \`config.log' for more details" "$LINENO" 5; }
                   2986: else
                   2987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2988: $as_echo "yes" >&6; }
                   2989: fi
                   2990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   2991: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   2992: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   2993: $as_echo "$ac_file" >&6; }
                   2994: ac_exeext=$ac_cv_exeext
                   2995: 
                   2996: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   2997: ac_clean_files=$ac_clean_files_save
                   2998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   2999: $as_echo_n "checking for suffix of executables... " >&6; }
                   3000: if { { ac_try="$ac_link"
                   3001: case "(($ac_try" in
                   3002:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3003:   *) ac_try_echo=$ac_try;;
                   3004: esac
                   3005: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3006: $as_echo "$ac_try_echo"; } >&5
                   3007:   (eval "$ac_link") 2>&5
                   3008:   ac_status=$?
                   3009:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3010:   test $ac_status = 0; }; then :
                   3011:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3012: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3013: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3014: # `rm'.
                   3015: for ac_file in conftest.exe conftest conftest.*; do
                   3016:   test -f "$ac_file" || continue
                   3017:   case $ac_file in
                   3018:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3019:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3020:          break;;
                   3021:     * ) break;;
                   3022:   esac
                   3023: done
                   3024: else
                   3025:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3026: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3027: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3028: See \`config.log' for more details" "$LINENO" 5; }
                   3029: fi
                   3030: rm -f conftest conftest$ac_cv_exeext
                   3031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3032: $as_echo "$ac_cv_exeext" >&6; }
                   3033: 
                   3034: rm -f conftest.$ac_ext
                   3035: EXEEXT=$ac_cv_exeext
                   3036: ac_exeext=$EXEEXT
                   3037: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3038: /* end confdefs.h.  */
                   3039: #include <stdio.h>
                   3040: int
                   3041: main ()
                   3042: {
                   3043: FILE *f = fopen ("conftest.out", "w");
                   3044:  return ferror (f) || fclose (f) != 0;
                   3045: 
                   3046:   ;
                   3047:   return 0;
                   3048: }
                   3049: _ACEOF
                   3050: ac_clean_files="$ac_clean_files conftest.out"
                   3051: # Check that the compiler produces executables we can run.  If not, either
                   3052: # the compiler is broken, or we cross compile.
                   3053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3054: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3055: if test "$cross_compiling" != yes; then
                   3056:   { { ac_try="$ac_link"
                   3057: case "(($ac_try" in
                   3058:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3059:   *) ac_try_echo=$ac_try;;
                   3060: esac
                   3061: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3062: $as_echo "$ac_try_echo"; } >&5
                   3063:   (eval "$ac_link") 2>&5
                   3064:   ac_status=$?
                   3065:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3066:   test $ac_status = 0; }
                   3067:   if { ac_try='./conftest$ac_cv_exeext'
                   3068:   { { case "(($ac_try" in
                   3069:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3070:   *) ac_try_echo=$ac_try;;
                   3071: esac
                   3072: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3073: $as_echo "$ac_try_echo"; } >&5
                   3074:   (eval "$ac_try") 2>&5
                   3075:   ac_status=$?
                   3076:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3077:   test $ac_status = 0; }; }; then
                   3078:     cross_compiling=no
                   3079:   else
                   3080:     if test "$cross_compiling" = maybe; then
                   3081:        cross_compiling=yes
                   3082:     else
                   3083:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3084: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3085: as_fn_error $? "cannot run C compiled programs.
                   3086: If you meant to cross compile, use \`--host'.
                   3087: See \`config.log' for more details" "$LINENO" 5; }
                   3088:     fi
                   3089:   fi
                   3090: fi
                   3091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3092: $as_echo "$cross_compiling" >&6; }
                   3093: 
                   3094: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3095: ac_clean_files=$ac_clean_files_save
                   3096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3097: $as_echo_n "checking for suffix of object files... " >&6; }
                   3098: if ${ac_cv_objext+:} false; then :
                   3099:   $as_echo_n "(cached) " >&6
                   3100: else
                   3101:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3102: /* end confdefs.h.  */
                   3103: 
                   3104: int
                   3105: main ()
                   3106: {
                   3107: 
                   3108:   ;
                   3109:   return 0;
                   3110: }
                   3111: _ACEOF
                   3112: rm -f conftest.o conftest.obj
                   3113: if { { ac_try="$ac_compile"
                   3114: case "(($ac_try" in
                   3115:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3116:   *) ac_try_echo=$ac_try;;
                   3117: esac
                   3118: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3119: $as_echo "$ac_try_echo"; } >&5
                   3120:   (eval "$ac_compile") 2>&5
                   3121:   ac_status=$?
                   3122:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3123:   test $ac_status = 0; }; then :
                   3124:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3125:   test -f "$ac_file" || continue;
                   3126:   case $ac_file in
                   3127:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3128:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3129:        break;;
                   3130:   esac
                   3131: done
                   3132: else
                   3133:   $as_echo "$as_me: failed program was:" >&5
                   3134: sed 's/^/| /' conftest.$ac_ext >&5
                   3135: 
                   3136: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3137: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3138: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3139: See \`config.log' for more details" "$LINENO" 5; }
                   3140: fi
                   3141: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3142: fi
                   3143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3144: $as_echo "$ac_cv_objext" >&6; }
                   3145: OBJEXT=$ac_cv_objext
                   3146: ac_objext=$OBJEXT
                   3147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3148: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3149: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3150:   $as_echo_n "(cached) " >&6
                   3151: else
                   3152:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3153: /* end confdefs.h.  */
                   3154: 
                   3155: int
                   3156: main ()
                   3157: {
                   3158: #ifndef __GNUC__
                   3159:        choke me
                   3160: #endif
                   3161: 
                   3162:   ;
                   3163:   return 0;
                   3164: }
                   3165: _ACEOF
                   3166: if ac_fn_c_try_compile "$LINENO"; then :
                   3167:   ac_compiler_gnu=yes
                   3168: else
                   3169:   ac_compiler_gnu=no
                   3170: fi
                   3171: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3172: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3173: 
                   3174: fi
                   3175: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3176: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3177: if test $ac_compiler_gnu = yes; then
                   3178:   GCC=yes
                   3179: else
                   3180:   GCC=
                   3181: fi
                   3182: ac_test_CFLAGS=${CFLAGS+set}
                   3183: ac_save_CFLAGS=$CFLAGS
                   3184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3185: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3186: if ${ac_cv_prog_cc_g+:} false; then :
                   3187:   $as_echo_n "(cached) " >&6
                   3188: else
                   3189:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3190:    ac_c_werror_flag=yes
                   3191:    ac_cv_prog_cc_g=no
                   3192:    CFLAGS="-g"
                   3193:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3194: /* end confdefs.h.  */
                   3195: 
                   3196: int
                   3197: main ()
                   3198: {
                   3199: 
                   3200:   ;
                   3201:   return 0;
                   3202: }
                   3203: _ACEOF
                   3204: if ac_fn_c_try_compile "$LINENO"; then :
                   3205:   ac_cv_prog_cc_g=yes
                   3206: else
                   3207:   CFLAGS=""
                   3208:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3209: /* end confdefs.h.  */
                   3210: 
                   3211: int
                   3212: main ()
                   3213: {
                   3214: 
                   3215:   ;
                   3216:   return 0;
                   3217: }
                   3218: _ACEOF
                   3219: if ac_fn_c_try_compile "$LINENO"; then :
                   3220: 
                   3221: else
                   3222:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3223:         CFLAGS="-g"
                   3224:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3225: /* end confdefs.h.  */
                   3226: 
                   3227: int
                   3228: main ()
                   3229: {
                   3230: 
                   3231:   ;
                   3232:   return 0;
                   3233: }
                   3234: _ACEOF
                   3235: if ac_fn_c_try_compile "$LINENO"; then :
                   3236:   ac_cv_prog_cc_g=yes
                   3237: fi
                   3238: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3239: fi
                   3240: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3241: fi
                   3242: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3243:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3244: fi
                   3245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3246: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3247: if test "$ac_test_CFLAGS" = set; then
                   3248:   CFLAGS=$ac_save_CFLAGS
                   3249: elif test $ac_cv_prog_cc_g = yes; then
                   3250:   if test "$GCC" = yes; then
                   3251:     CFLAGS="-g -O2"
                   3252:   else
                   3253:     CFLAGS="-g"
                   3254:   fi
                   3255: else
                   3256:   if test "$GCC" = yes; then
                   3257:     CFLAGS="-O2"
                   3258:   else
                   3259:     CFLAGS=
                   3260:   fi
                   3261: fi
                   3262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3263: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3264: if ${ac_cv_prog_cc_c89+:} false; then :
                   3265:   $as_echo_n "(cached) " >&6
                   3266: else
                   3267:   ac_cv_prog_cc_c89=no
                   3268: ac_save_CC=$CC
                   3269: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3270: /* end confdefs.h.  */
                   3271: #include <stdarg.h>
                   3272: #include <stdio.h>
                   3273: #include <sys/types.h>
                   3274: #include <sys/stat.h>
                   3275: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3276: struct buf { int x; };
                   3277: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3278: static char *e (p, i)
                   3279:      char **p;
                   3280:      int i;
                   3281: {
                   3282:   return p[i];
                   3283: }
                   3284: static char *f (char * (*g) (char **, int), char **p, ...)
                   3285: {
                   3286:   char *s;
                   3287:   va_list v;
                   3288:   va_start (v,p);
                   3289:   s = g (p, va_arg (v,int));
                   3290:   va_end (v);
                   3291:   return s;
                   3292: }
                   3293: 
                   3294: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3295:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3296:    These don't provoke an error unfortunately, instead are silently treated
                   3297:    as 'x'.  The following induces an error, until -std is added to get
                   3298:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3299:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3300:    that's true only with -std.  */
                   3301: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3302: 
                   3303: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3304:    inside strings and character constants.  */
                   3305: #define FOO(x) 'x'
                   3306: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3307: 
                   3308: int test (int i, double x);
                   3309: struct s1 {int (*f) (int a);};
                   3310: struct s2 {int (*f) (double a);};
                   3311: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3312: int argc;
                   3313: char **argv;
                   3314: int
                   3315: main ()
                   3316: {
                   3317: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3318:   ;
                   3319:   return 0;
                   3320: }
                   3321: _ACEOF
                   3322: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3323:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3324: do
                   3325:   CC="$ac_save_CC $ac_arg"
                   3326:   if ac_fn_c_try_compile "$LINENO"; then :
                   3327:   ac_cv_prog_cc_c89=$ac_arg
                   3328: fi
                   3329: rm -f core conftest.err conftest.$ac_objext
                   3330:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3331: done
                   3332: rm -f conftest.$ac_ext
                   3333: CC=$ac_save_CC
                   3334: 
                   3335: fi
                   3336: # AC_CACHE_VAL
                   3337: case "x$ac_cv_prog_cc_c89" in
                   3338:   x)
                   3339:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3340: $as_echo "none needed" >&6; } ;;
                   3341:   xno)
                   3342:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3343: $as_echo "unsupported" >&6; } ;;
                   3344:   *)
                   3345:     CC="$CC $ac_cv_prog_cc_c89"
                   3346:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3347: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3348: esac
                   3349: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3350: 
                   3351: fi
                   3352: 
                   3353: ac_ext=c
                   3354: ac_cpp='$CPP $CPPFLAGS'
                   3355: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3356: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3357: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3358: 
                   3359: ac_ext=c
                   3360: ac_cpp='$CPP $CPPFLAGS'
                   3361: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3362: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3363: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3364: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   3365: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   3366: # On Suns, sometimes $CPP names a directory.
                   3367: if test -n "$CPP" && test -d "$CPP"; then
                   3368:   CPP=
                   3369: fi
                   3370: if test -z "$CPP"; then
                   3371:   if ${ac_cv_prog_CPP+:} false; then :
                   3372:   $as_echo_n "(cached) " >&6
                   3373: else
                   3374:       # Double quotes because CPP needs to be expanded
                   3375:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3376:     do
                   3377:       ac_preproc_ok=false
                   3378: for ac_c_preproc_warn_flag in '' yes
                   3379: do
                   3380:   # Use a header file that comes with gcc, so configuring glibc
                   3381:   # with a fresh cross-compiler works.
                   3382:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3383:   # <limits.h> exists even on freestanding compilers.
                   3384:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3385:   # not just through cpp. "Syntax error" is here to catch this case.
                   3386:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3387: /* end confdefs.h.  */
                   3388: #ifdef __STDC__
                   3389: # include <limits.h>
                   3390: #else
                   3391: # include <assert.h>
                   3392: #endif
                   3393:                     Syntax error
                   3394: _ACEOF
                   3395: if ac_fn_c_try_cpp "$LINENO"; then :
                   3396: 
                   3397: else
                   3398:   # Broken: fails on valid input.
                   3399: continue
                   3400: fi
                   3401: rm -f conftest.err conftest.i conftest.$ac_ext
                   3402: 
                   3403:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3404:   # can be detected and how.
                   3405:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3406: /* end confdefs.h.  */
                   3407: #include <ac_nonexistent.h>
                   3408: _ACEOF
                   3409: if ac_fn_c_try_cpp "$LINENO"; then :
                   3410:   # Broken: success on invalid input.
                   3411: continue
                   3412: else
                   3413:   # Passes both tests.
                   3414: ac_preproc_ok=:
                   3415: break
                   3416: fi
                   3417: rm -f conftest.err conftest.i conftest.$ac_ext
                   3418: 
                   3419: done
                   3420: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   3421: rm -f conftest.i conftest.err conftest.$ac_ext
                   3422: if $ac_preproc_ok; then :
                   3423:   break
                   3424: fi
                   3425: 
                   3426:     done
                   3427:     ac_cv_prog_CPP=$CPP
                   3428: 
                   3429: fi
                   3430:   CPP=$ac_cv_prog_CPP
                   3431: else
                   3432:   ac_cv_prog_CPP=$CPP
                   3433: fi
                   3434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   3435: $as_echo "$CPP" >&6; }
                   3436: ac_preproc_ok=false
                   3437: for ac_c_preproc_warn_flag in '' yes
                   3438: do
                   3439:   # Use a header file that comes with gcc, so configuring glibc
                   3440:   # with a fresh cross-compiler works.
                   3441:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3442:   # <limits.h> exists even on freestanding compilers.
                   3443:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3444:   # not just through cpp. "Syntax error" is here to catch this case.
                   3445:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3446: /* end confdefs.h.  */
                   3447: #ifdef __STDC__
                   3448: # include <limits.h>
                   3449: #else
                   3450: # include <assert.h>
                   3451: #endif
                   3452:                     Syntax error
                   3453: _ACEOF
                   3454: if ac_fn_c_try_cpp "$LINENO"; then :
                   3455: 
                   3456: else
                   3457:   # Broken: fails on valid input.
                   3458: continue
                   3459: fi
                   3460: rm -f conftest.err conftest.i conftest.$ac_ext
                   3461: 
                   3462:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3463:   # can be detected and how.
                   3464:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3465: /* end confdefs.h.  */
                   3466: #include <ac_nonexistent.h>
                   3467: _ACEOF
                   3468: if ac_fn_c_try_cpp "$LINENO"; then :
                   3469:   # Broken: success on invalid input.
                   3470: continue
                   3471: else
                   3472:   # Passes both tests.
                   3473: ac_preproc_ok=:
                   3474: break
                   3475: fi
                   3476: rm -f conftest.err conftest.i conftest.$ac_ext
                   3477: 
                   3478: done
                   3479: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   3480: rm -f conftest.i conftest.err conftest.$ac_ext
                   3481: if $ac_preproc_ok; then :
                   3482: 
                   3483: else
                   3484:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3485: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3486: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   3487: See \`config.log' for more details" "$LINENO" 5; }
                   3488: fi
                   3489: 
                   3490: ac_ext=c
                   3491: ac_cpp='$CPP $CPPFLAGS'
                   3492: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3493: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3494: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3495: 
                   3496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   3497: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   3498: if ${ac_cv_path_GREP+:} false; then :
                   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=.
                   3509:     for ac_prog in grep ggrep; do
                   3510:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3511:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   3512:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   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
                   3529:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   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
                   3544:   done
                   3545: IFS=$as_save_IFS
                   3546:   if test -z "$ac_cv_path_GREP"; then
                   3547:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   3548:   fi
                   3549: else
                   3550:   ac_cv_path_GREP=$GREP
                   3551: fi
                   3552: 
                   3553: fi
                   3554: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   3555: $as_echo "$ac_cv_path_GREP" >&6; }
                   3556:  GREP="$ac_cv_path_GREP"
                   3557: 
                   3558: 
                   3559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   3560: $as_echo_n "checking for egrep... " >&6; }
                   3561: if ${ac_cv_path_EGREP+:} false; then :
                   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=.
                   3575:     for ac_prog in egrep; do
                   3576:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3577:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   3578:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   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
                   3595:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   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
                   3610:   done
                   3611: IFS=$as_save_IFS
                   3612:   if test -z "$ac_cv_path_EGREP"; then
                   3613:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   3614:   fi
                   3615: else
                   3616:   ac_cv_path_EGREP=$EGREP
                   3617: fi
                   3618: 
                   3619:    fi
                   3620: fi
                   3621: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   3622: $as_echo "$ac_cv_path_EGREP" >&6; }
                   3623:  EGREP="$ac_cv_path_EGREP"
                   3624: 
                   3625: 
                   3626: # Find a good install program.  We prefer a C program (faster),
                   3627: # so one script is as good as another.  But avoid the broken or
                   3628: # incompatible versions:
                   3629: # SysV /etc/install, /usr/sbin/install
                   3630: # SunOS /usr/etc/install
                   3631: # IRIX /sbin/install
                   3632: # AIX /bin/install
                   3633: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   3634: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3635: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3636: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   3637: # OS/2's system install, which has a completely different semantic
                   3638: # ./install, which can be erroneously created by make from ./install.sh.
                   3639: # Reject install programs that cannot install multiple files.
                   3640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   3641: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   3642: if test -z "$INSTALL"; then
                   3643: if ${ac_cv_path_install+:} false; then :
                   3644:   $as_echo_n "(cached) " >&6
                   3645: else
                   3646:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3647: for as_dir in $PATH
                   3648: do
                   3649:   IFS=$as_save_IFS
                   3650:   test -z "$as_dir" && as_dir=.
                   3651:     # Account for people who put trailing slashes in PATH elements.
                   3652: case $as_dir/ in #((
                   3653:   ./ | .// | /[cC]/* | \
                   3654:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   3655:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   3656:   /usr/ucb/* ) ;;
                   3657:   *)
                   3658:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   3659:     # Don't use installbsd from OSF since it installs stuff as root
                   3660:     # by default.
                   3661:     for ac_prog in ginstall scoinst install; do
                   3662:       for ac_exec_ext in '' $ac_executable_extensions; do
                   3663:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   3664:          if test $ac_prog = install &&
                   3665:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3666:            # AIX install.  It has an incompatible calling convention.
                   3667:            :
                   3668:          elif test $ac_prog = install &&
                   3669:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3670:            # program-specific install script used by HP pwplus--don't use.
                   3671:            :
                   3672:          else
                   3673:            rm -rf conftest.one conftest.two conftest.dir
                   3674:            echo one > conftest.one
                   3675:            echo two > conftest.two
                   3676:            mkdir conftest.dir
                   3677:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   3678:              test -s conftest.one && test -s conftest.two &&
                   3679:              test -s conftest.dir/conftest.one &&
                   3680:              test -s conftest.dir/conftest.two
                   3681:            then
                   3682:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   3683:              break 3
                   3684:            fi
                   3685:          fi
                   3686:        fi
                   3687:       done
                   3688:     done
                   3689:     ;;
                   3690: esac
                   3691: 
                   3692:   done
                   3693: IFS=$as_save_IFS
                   3694: 
                   3695: rm -rf conftest.one conftest.two conftest.dir
                   3696: 
                   3697: fi
                   3698:   if test "${ac_cv_path_install+set}" = set; then
                   3699:     INSTALL=$ac_cv_path_install
                   3700:   else
                   3701:     # As a last resort, use the slow shell script.  Don't cache a
                   3702:     # value for INSTALL within a source directory, because that will
                   3703:     # break other packages using the cache if that directory is
                   3704:     # removed, or if the value is a relative name.
                   3705:     INSTALL=$ac_install_sh
                   3706:   fi
                   3707: fi
                   3708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   3709: $as_echo "$INSTALL" >&6; }
                   3710: 
                   3711: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3712: # It thinks the first close brace ends the variable substitution.
                   3713: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3714: 
                   3715: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   3716: 
                   3717: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3718: 
1.1.1.2 ! misho    3719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
        !          3720: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
        !          3721: if test -z "$MKDIR_P"; then
        !          3722:   if ${ac_cv_path_mkdir+:} false; then :
        !          3723:   $as_echo_n "(cached) " >&6
        !          3724: else
        !          3725:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          3726: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
        !          3727: do
        !          3728:   IFS=$as_save_IFS
        !          3729:   test -z "$as_dir" && as_dir=.
        !          3730:     for ac_prog in mkdir gmkdir; do
        !          3731:         for ac_exec_ext in '' $ac_executable_extensions; do
        !          3732:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
        !          3733:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
        !          3734:             'mkdir (GNU coreutils) '* | \
        !          3735:             'mkdir (coreutils) '* | \
        !          3736:             'mkdir (fileutils) '4.1*)
        !          3737:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
        !          3738:               break 3;;
        !          3739:           esac
        !          3740:         done
        !          3741:        done
        !          3742:   done
        !          3743: IFS=$as_save_IFS
        !          3744: 
        !          3745: fi
        !          3746: 
        !          3747:   test -d ./--version && rmdir ./--version
        !          3748:   if test "${ac_cv_path_mkdir+set}" = set; then
        !          3749:     MKDIR_P="$ac_cv_path_mkdir -p"
        !          3750:   else
        !          3751:     # As a last resort, use the slow shell script.  Don't cache a
        !          3752:     # value for MKDIR_P within a source directory, because that will
        !          3753:     # break other packages using the cache if that directory is
        !          3754:     # removed, or if the value is a relative name.
        !          3755:     MKDIR_P="$ac_install_sh -d"
        !          3756:   fi
        !          3757: fi
        !          3758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
        !          3759: $as_echo "$MKDIR_P" >&6; }
        !          3760: 
1.1       misho    3761:    case $ac_cv_prog_cc_stdc in #(
                   3762:   no) :
                   3763:     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
                   3764:   *) :
                   3765:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
                   3766: $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
                   3767: if ${ac_cv_prog_cc_c99+:} false; then :
                   3768:   $as_echo_n "(cached) " >&6
                   3769: else
                   3770:   ac_cv_prog_cc_c99=no
                   3771: ac_save_CC=$CC
                   3772: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3773: /* end confdefs.h.  */
                   3774: #include <stdarg.h>
                   3775: #include <stdbool.h>
                   3776: #include <stdlib.h>
                   3777: #include <wchar.h>
                   3778: #include <stdio.h>
                   3779: 
                   3780: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   3781: #define debug(...) fprintf (stderr, __VA_ARGS__)
                   3782: #define showlist(...) puts (#__VA_ARGS__)
                   3783: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   3784: static void
                   3785: test_varargs_macros (void)
                   3786: {
                   3787:   int x = 1234;
                   3788:   int y = 5678;
                   3789:   debug ("Flag");
                   3790:   debug ("X = %d\n", x);
                   3791:   showlist (The first, second, and third items.);
                   3792:   report (x>y, "x is %d but y is %d", x, y);
                   3793: }
                   3794: 
                   3795: // Check long long types.
                   3796: #define BIG64 18446744073709551615ull
                   3797: #define BIG32 4294967295ul
                   3798: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   3799: #if !BIG_OK
                   3800:   your preprocessor is broken;
                   3801: #endif
                   3802: #if BIG_OK
                   3803: #else
                   3804:   your preprocessor is broken;
                   3805: #endif
                   3806: static long long int bignum = -9223372036854775807LL;
                   3807: static unsigned long long int ubignum = BIG64;
                   3808: 
                   3809: struct incomplete_array
                   3810: {
                   3811:   int datasize;
                   3812:   double data[];
                   3813: };
                   3814: 
                   3815: struct named_init {
                   3816:   int number;
                   3817:   const wchar_t *name;
                   3818:   double average;
                   3819: };
                   3820: 
                   3821: typedef const char *ccp;
                   3822: 
                   3823: static inline int
                   3824: test_restrict (ccp restrict text)
                   3825: {
                   3826:   // See if C++-style comments work.
                   3827:   // Iterate through items via the restricted pointer.
                   3828:   // Also check for declarations in for loops.
                   3829:   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
                   3830:     continue;
                   3831:   return 0;
                   3832: }
                   3833: 
                   3834: // Check varargs and va_copy.
                   3835: static void
                   3836: test_varargs (const char *format, ...)
                   3837: {
                   3838:   va_list args;
                   3839:   va_start (args, format);
                   3840:   va_list args_copy;
                   3841:   va_copy (args_copy, args);
                   3842: 
                   3843:   const char *str;
                   3844:   int number;
                   3845:   float fnumber;
                   3846: 
                   3847:   while (*format)
                   3848:     {
                   3849:       switch (*format++)
                   3850:        {
                   3851:        case 's': // string
                   3852:          str = va_arg (args_copy, const char *);
                   3853:          break;
                   3854:        case 'd': // int
                   3855:          number = va_arg (args_copy, int);
                   3856:          break;
                   3857:        case 'f': // float
                   3858:          fnumber = va_arg (args_copy, double);
                   3859:          break;
                   3860:        default:
                   3861:          break;
                   3862:        }
                   3863:     }
                   3864:   va_end (args_copy);
                   3865:   va_end (args);
                   3866: }
                   3867: 
                   3868: int
                   3869: main ()
                   3870: {
                   3871: 
                   3872:   // Check bool.
                   3873:   _Bool success = false;
                   3874: 
                   3875:   // Check restrict.
                   3876:   if (test_restrict ("String literal") == 0)
                   3877:     success = true;
                   3878:   char *restrict newvar = "Another string";
                   3879: 
                   3880:   // Check varargs.
                   3881:   test_varargs ("s, d' f .", "string", 65, 34.234);
                   3882:   test_varargs_macros ();
                   3883: 
                   3884:   // Check flexible array members.
                   3885:   struct incomplete_array *ia =
                   3886:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   3887:   ia->datasize = 10;
                   3888:   for (int i = 0; i < ia->datasize; ++i)
                   3889:     ia->data[i] = i * 1.234;
                   3890: 
                   3891:   // Check named initializers.
                   3892:   struct named_init ni = {
                   3893:     .number = 34,
                   3894:     .name = L"Test wide string",
                   3895:     .average = 543.34343,
                   3896:   };
                   3897: 
                   3898:   ni.number = 58;
                   3899: 
                   3900:   int dynamic_array[ni.number];
                   3901:   dynamic_array[ni.number - 1] = 543;
                   3902: 
                   3903:   // work around unused variable warnings
                   3904:   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
                   3905:          || dynamic_array[ni.number - 1] != 543);
                   3906: 
                   3907:   ;
                   3908:   return 0;
                   3909: }
                   3910: _ACEOF
                   3911: for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
                   3912: do
                   3913:   CC="$ac_save_CC $ac_arg"
                   3914:   if ac_fn_c_try_compile "$LINENO"; then :
                   3915:   ac_cv_prog_cc_c99=$ac_arg
                   3916: fi
                   3917: rm -f core conftest.err conftest.$ac_objext
                   3918:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   3919: done
                   3920: rm -f conftest.$ac_ext
                   3921: CC=$ac_save_CC
                   3922: 
                   3923: fi
                   3924: # AC_CACHE_VAL
                   3925: case "x$ac_cv_prog_cc_c99" in
                   3926:   x)
                   3927:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3928: $as_echo "none needed" >&6; } ;;
                   3929:   xno)
                   3930:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3931: $as_echo "unsupported" >&6; } ;;
                   3932:   *)
                   3933:     CC="$CC $ac_cv_prog_cc_c99"
                   3934:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
                   3935: $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
                   3936: esac
                   3937: if test "x$ac_cv_prog_cc_c99" != xno; then :
                   3938:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
                   3939: else
                   3940:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3941: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3942: if ${ac_cv_prog_cc_c89+:} false; then :
                   3943:   $as_echo_n "(cached) " >&6
                   3944: else
                   3945:   ac_cv_prog_cc_c89=no
                   3946: ac_save_CC=$CC
                   3947: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3948: /* end confdefs.h.  */
                   3949: #include <stdarg.h>
                   3950: #include <stdio.h>
                   3951: #include <sys/types.h>
                   3952: #include <sys/stat.h>
                   3953: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3954: struct buf { int x; };
                   3955: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3956: static char *e (p, i)
                   3957:      char **p;
                   3958:      int i;
                   3959: {
                   3960:   return p[i];
                   3961: }
                   3962: static char *f (char * (*g) (char **, int), char **p, ...)
                   3963: {
                   3964:   char *s;
                   3965:   va_list v;
                   3966:   va_start (v,p);
                   3967:   s = g (p, va_arg (v,int));
                   3968:   va_end (v);
                   3969:   return s;
                   3970: }
                   3971: 
                   3972: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3973:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3974:    These don't provoke an error unfortunately, instead are silently treated
                   3975:    as 'x'.  The following induces an error, until -std is added to get
                   3976:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3977:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3978:    that's true only with -std.  */
                   3979: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3980: 
                   3981: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3982:    inside strings and character constants.  */
                   3983: #define FOO(x) 'x'
                   3984: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3985: 
                   3986: int test (int i, double x);
                   3987: struct s1 {int (*f) (int a);};
                   3988: struct s2 {int (*f) (double a);};
                   3989: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3990: int argc;
                   3991: char **argv;
                   3992: int
                   3993: main ()
                   3994: {
                   3995: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3996:   ;
                   3997:   return 0;
                   3998: }
                   3999: _ACEOF
                   4000: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4001:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4002: do
                   4003:   CC="$ac_save_CC $ac_arg"
                   4004:   if ac_fn_c_try_compile "$LINENO"; then :
                   4005:   ac_cv_prog_cc_c89=$ac_arg
                   4006: fi
                   4007: rm -f core conftest.err conftest.$ac_objext
                   4008:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4009: done
                   4010: rm -f conftest.$ac_ext
                   4011: CC=$ac_save_CC
                   4012: 
                   4013: fi
                   4014: # AC_CACHE_VAL
                   4015: case "x$ac_cv_prog_cc_c89" in
                   4016:   x)
                   4017:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4018: $as_echo "none needed" >&6; } ;;
                   4019:   xno)
                   4020:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4021: $as_echo "unsupported" >&6; } ;;
                   4022:   *)
                   4023:     CC="$CC $ac_cv_prog_cc_c89"
                   4024:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4025: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4026: esac
                   4027: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4028:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
                   4029: else
                   4030:   ac_cv_prog_cc_stdc=no
                   4031: fi
                   4032: 
                   4033: fi
                   4034:  ;;
                   4035: esac
                   4036:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
                   4037: $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
                   4038:   if ${ac_cv_prog_cc_stdc+:} false; then :
                   4039:   $as_echo_n "(cached) " >&6
                   4040: fi
                   4041: 
                   4042:   case $ac_cv_prog_cc_stdc in #(
                   4043:   no) :
                   4044:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4045: $as_echo "unsupported" >&6; } ;; #(
                   4046:   '') :
                   4047:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4048: $as_echo "none needed" >&6; } ;; #(
                   4049:   *) :
                   4050:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
                   4051: $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
                   4052: esac
                   4053: 
                   4054: 
                   4055: 
                   4056: 
                   4057: $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
                   4058: 
                   4059: 
                   4060: if test x"$ac_cv_prog_cc_stdc" = x"no"; then
                   4061:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&5
                   4062: $as_echo "$as_me: WARNING: rsync requires an ANSI C compiler and you do not seem to have one" >&2;}
                   4063: fi
                   4064: 
                   4065: # Check whether --enable-profile was given.
                   4066: if test "${enable_profile+set}" = set; then :
                   4067:   enableval=$enable_profile;
                   4068: fi
                   4069: 
                   4070: if test x"$enable_profile" = x"yes"; then
                   4071:        CFLAGS="$CFLAGS -pg"
                   4072: fi
                   4073: 
                   4074: 
                   4075: # Specifically, this turns on panic_action handling.
                   4076: # Check whether --enable-maintainer-mode was given.
                   4077: if test "${enable_maintainer_mode+set}" = set; then :
                   4078:   enableval=$enable_maintainer_mode;
                   4079: fi
                   4080: 
                   4081: if test x"$enable_maintainer_mode" = x"yes"; then
                   4082:        CFLAGS="$CFLAGS -DMAINTAINER_MODE"
                   4083: fi
                   4084: 
                   4085: 
                   4086: # This is needed for our included version of popt.  Kind of silly, but
                   4087: # I don't want our version too far out of sync.
                   4088: CFLAGS="$CFLAGS -DHAVE_CONFIG_H"
                   4089: 
                   4090: # If GCC, turn on warnings.
                   4091: if test x"$GCC" = x"yes"; then
                   4092:        CFLAGS="$CFLAGS -Wall -W"
                   4093: fi
                   4094: 
                   4095: 
                   4096: # Check whether --with-included-popt was given.
                   4097: if test "${with_included_popt+set}" = set; then :
                   4098:   withval=$with_included_popt;
                   4099: fi
                   4100: 
                   4101: 
                   4102: 
1.1.1.2 ! misho    4103: # Check whether --with-included-zlib was given.
        !          4104: if test "${with_included_zlib+set}" = set; then :
        !          4105:   withval=$with_included_zlib;
        !          4106: fi
        !          4107: 
        !          4108: 
        !          4109: 
        !          4110: # Check whether --with-protected-args was given.
        !          4111: if test "${with_protected_args+set}" = set; then :
        !          4112:   withval=$with_protected_args;
        !          4113: fi
        !          4114: 
        !          4115: if test x"$with_protected_args" = x"yes"; then
        !          4116: 
        !          4117: cat >>confdefs.h <<_ACEOF
        !          4118: #define RSYNC_USE_PROTECTED_ARGS 1
        !          4119: _ACEOF
        !          4120: 
        !          4121: fi
        !          4122: 
        !          4123: 
1.1       misho    4124: # Check whether --with-rsync-path was given.
                   4125: if test "${with_rsync_path+set}" = set; then :
                   4126:   withval=$with_rsync_path;  RSYNC_PATH="$with_rsync_path"
                   4127: else
                   4128:    RSYNC_PATH="rsync"
                   4129: fi
                   4130: 
                   4131: 
                   4132: 
                   4133: cat >>confdefs.h <<_ACEOF
                   4134: #define RSYNC_PATH "$RSYNC_PATH"
                   4135: _ACEOF
                   4136: 
                   4137: 
                   4138: 
                   4139: # Check whether --with-rsyncd-conf was given.
                   4140: if test "${with_rsyncd_conf+set}" = set; then :
                   4141:   withval=$with_rsyncd_conf;  if test ! -z "$with_rsyncd_conf" ; then
                   4142:                case $with_rsyncd_conf in
                   4143:                        yes|no)
                   4144:                                RSYNCD_SYSCONF="/etc/rsyncd.conf"
                   4145:                                ;;
                   4146:                        /*)
                   4147:                                RSYNCD_SYSCONF="$with_rsyncd_conf"
                   4148:                                ;;
                   4149:                        *)
                   4150:                                 as_fn_error $? "You must specify an absolute path to --with-rsyncd-conf=PATH" "$LINENO" 5
                   4151:                                ;;
                   4152:                esac
                   4153:        else
                   4154:                RSYNCD_SYSCONF="/etc/rsyncd.conf"
                   4155:        fi
                   4156: else
                   4157:    RSYNCD_SYSCONF="/etc/rsyncd.conf"
                   4158: fi
                   4159: 
                   4160: 
                   4161: 
                   4162: cat >>confdefs.h <<_ACEOF
                   4163: #define RSYNCD_SYSCONF "$RSYNCD_SYSCONF"
                   4164: _ACEOF
                   4165: 
                   4166: 
                   4167: 
                   4168: # Check whether --with-rsh was given.
                   4169: if test "${with_rsh+set}" = set; then :
                   4170:   withval=$with_rsh;
                   4171: fi
                   4172: 
                   4173: 
                   4174: # Extract the first word of "remsh", so it can be a program name with args.
                   4175: set dummy remsh; ac_word=$2
                   4176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4177: $as_echo_n "checking for $ac_word... " >&6; }
                   4178: if ${ac_cv_prog_HAVE_REMSH+:} false; then :
                   4179:   $as_echo_n "(cached) " >&6
                   4180: else
                   4181:   if test -n "$HAVE_REMSH"; then
                   4182:   ac_cv_prog_HAVE_REMSH="$HAVE_REMSH" # Let the user override the test.
                   4183: else
                   4184: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4185: for as_dir in $PATH
                   4186: do
                   4187:   IFS=$as_save_IFS
                   4188:   test -z "$as_dir" && as_dir=.
                   4189:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4190:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4191:     ac_cv_prog_HAVE_REMSH="1"
                   4192:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4193:     break 2
                   4194:   fi
                   4195: done
                   4196:   done
                   4197: IFS=$as_save_IFS
                   4198: 
                   4199:   test -z "$ac_cv_prog_HAVE_REMSH" && ac_cv_prog_HAVE_REMSH="0"
                   4200: fi
                   4201: fi
                   4202: HAVE_REMSH=$ac_cv_prog_HAVE_REMSH
                   4203: if test -n "$HAVE_REMSH"; then
                   4204:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_REMSH" >&5
                   4205: $as_echo "$HAVE_REMSH" >&6; }
                   4206: else
                   4207:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4208: $as_echo "no" >&6; }
                   4209: fi
                   4210: 
                   4211: 
                   4212: if test x$HAVE_REMSH = x1; then
                   4213: 
                   4214: $as_echo "#define HAVE_REMSH 1" >>confdefs.h
                   4215: 
                   4216: fi
                   4217: 
                   4218: if test x"$with_rsh" != x; then
                   4219:        RSYNC_RSH="$with_rsh"
                   4220: else
                   4221:        RSYNC_RSH="ssh"
                   4222: fi
                   4223: 
                   4224: cat >>confdefs.h <<_ACEOF
                   4225: #define RSYNC_RSH "$RSYNC_RSH"
                   4226: _ACEOF
                   4227: 
                   4228: 
                   4229: # Extract the first word of "yodl2man", so it can be a program name with args.
                   4230: set dummy yodl2man; ac_word=$2
                   4231: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4232: $as_echo_n "checking for $ac_word... " >&6; }
                   4233: if ${ac_cv_prog_HAVE_YODL2MAN+:} false; then :
                   4234:   $as_echo_n "(cached) " >&6
                   4235: else
                   4236:   if test -n "$HAVE_YODL2MAN"; then
                   4237:   ac_cv_prog_HAVE_YODL2MAN="$HAVE_YODL2MAN" # Let the user override the test.
                   4238: else
                   4239: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4240: for as_dir in $PATH
                   4241: do
                   4242:   IFS=$as_save_IFS
                   4243:   test -z "$as_dir" && as_dir=.
                   4244:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4245:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4246:     ac_cv_prog_HAVE_YODL2MAN="1"
                   4247:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4248:     break 2
                   4249:   fi
                   4250: done
                   4251:   done
                   4252: IFS=$as_save_IFS
                   4253: 
                   4254:   test -z "$ac_cv_prog_HAVE_YODL2MAN" && ac_cv_prog_HAVE_YODL2MAN="0"
                   4255: fi
                   4256: fi
                   4257: HAVE_YODL2MAN=$ac_cv_prog_HAVE_YODL2MAN
                   4258: if test -n "$HAVE_YODL2MAN"; then
                   4259:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_YODL2MAN" >&5
                   4260: $as_echo "$HAVE_YODL2MAN" >&6; }
                   4261: else
                   4262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4263: $as_echo "no" >&6; }
                   4264: fi
                   4265: 
                   4266: 
                   4267: if test x$HAVE_YODL2MAN = x1; then
                   4268:     MAKE_MAN=man
1.1.1.2 ! misho    4269: else
        !          4270:     MAKE_MAN=man-copy
        !          4271: fi
        !          4272: 
        !          4273: # Some programs on solaris are only found in /usr/xpg4/bin (or work better than others versions).
        !          4274: # Extract the first word of "sh", so it can be a program name with args.
        !          4275: set dummy sh; ac_word=$2
        !          4276: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4277: $as_echo_n "checking for $ac_word... " >&6; }
        !          4278: if ${ac_cv_path_SHELL_PATH+:} false; then :
        !          4279:   $as_echo_n "(cached) " >&6
        !          4280: else
        !          4281:   case $SHELL_PATH in
        !          4282:   [\\/]* | ?:[\\/]*)
        !          4283:   ac_cv_path_SHELL_PATH="$SHELL_PATH" # Let the user override the test with a path.
        !          4284:   ;;
        !          4285:   *)
        !          4286:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4287: for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH
        !          4288: do
        !          4289:   IFS=$as_save_IFS
        !          4290:   test -z "$as_dir" && as_dir=.
        !          4291:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4292:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4293:     ac_cv_path_SHELL_PATH="$as_dir/$ac_word$ac_exec_ext"
        !          4294:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4295:     break 2
        !          4296:   fi
        !          4297: done
        !          4298:   done
        !          4299: IFS=$as_save_IFS
        !          4300: 
        !          4301:   test -z "$ac_cv_path_SHELL_PATH" && ac_cv_path_SHELL_PATH="/bin/sh"
        !          4302:   ;;
        !          4303: esac
        !          4304: fi
        !          4305: SHELL_PATH=$ac_cv_path_SHELL_PATH
        !          4306: if test -n "$SHELL_PATH"; then
        !          4307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHELL_PATH" >&5
        !          4308: $as_echo "$SHELL_PATH" >&6; }
        !          4309: else
        !          4310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4311: $as_echo "no" >&6; }
1.1       misho    4312: fi
                   4313: 
                   4314: 
1.1.1.2 ! misho    4315: # Extract the first word of "fakeroot", so it can be a program name with args.
        !          4316: set dummy fakeroot; ac_word=$2
        !          4317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4318: $as_echo_n "checking for $ac_word... " >&6; }
        !          4319: if ${ac_cv_path_FAKEROOT_PATH+:} false; then :
        !          4320:   $as_echo_n "(cached) " >&6
        !          4321: else
        !          4322:   case $FAKEROOT_PATH in
        !          4323:   [\\/]* | ?:[\\/]*)
        !          4324:   ac_cv_path_FAKEROOT_PATH="$FAKEROOT_PATH" # Let the user override the test with a path.
        !          4325:   ;;
        !          4326:   *)
        !          4327:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4328: for as_dir in /usr/xpg4/bin$PATH_SEPARATOR$PATH
        !          4329: do
        !          4330:   IFS=$as_save_IFS
        !          4331:   test -z "$as_dir" && as_dir=.
        !          4332:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4333:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4334:     ac_cv_path_FAKEROOT_PATH="$as_dir/$ac_word$ac_exec_ext"
        !          4335:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4336:     break 2
        !          4337:   fi
        !          4338: done
        !          4339:   done
        !          4340: IFS=$as_save_IFS
        !          4341: 
        !          4342:   test -z "$ac_cv_path_FAKEROOT_PATH" && ac_cv_path_FAKEROOT_PATH="/usr/bin/fakeroot"
        !          4343:   ;;
        !          4344: esac
        !          4345: fi
        !          4346: FAKEROOT_PATH=$ac_cv_path_FAKEROOT_PATH
        !          4347: if test -n "$FAKEROOT_PATH"; then
        !          4348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FAKEROOT_PATH" >&5
        !          4349: $as_echo "$FAKEROOT_PATH" >&6; }
        !          4350: else
        !          4351:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4352: $as_echo "no" >&6; }
        !          4353: fi
        !          4354: 
        !          4355: 
        !          4356: 
        !          4357: 
1.1       misho    4358: # Check whether --with-nobody-group was given.
                   4359: if test "${with_nobody_group+set}" = set; then :
                   4360:   withval=$with_nobody_group;  NOBODY_GROUP="$with_nobody_group"
                   4361: fi
                   4362: 
                   4363: 
                   4364: if test x"$with_nobody_group" = x; then
                   4365:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the group for user \"nobody\"" >&5
                   4366: $as_echo_n "checking the group for user \"nobody\"... " >&6; }
                   4367:     if grep '^nobody:' /etc/group >/dev/null 2>&1; then
                   4368:        NOBODY_GROUP=nobody
                   4369:     elif grep '^nogroup:' /etc/group >/dev/null 2>&1; then
                   4370:        NOBODY_GROUP=nogroup
                   4371:     else
                   4372:        NOBODY_GROUP=nobody # test for others?
                   4373:     fi
                   4374:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOBODY_GROUP" >&5
                   4375: $as_echo "$NOBODY_GROUP" >&6; }
                   4376: fi
                   4377: 
                   4378: 
                   4379: cat >>confdefs.h <<_ACEOF
                   4380: #define NOBODY_USER "nobody"
                   4381: _ACEOF
                   4382: 
                   4383: 
                   4384: cat >>confdefs.h <<_ACEOF
                   4385: #define NOBODY_GROUP "$NOBODY_GROUP"
                   4386: _ACEOF
                   4387: 
                   4388: 
                   4389: # arrgh. libc in some old debian version screwed up the largefile
                   4390: # stuff, getting byte range locking wrong
                   4391: 
                   4392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken largefile support" >&5
                   4393: $as_echo_n "checking for broken largefile support... " >&6; }
                   4394: if ${rsync_cv_HAVE_BROKEN_LARGEFILE+:} false; then :
                   4395:   $as_echo_n "(cached) " >&6
                   4396: else
                   4397: 
                   4398: if test "$cross_compiling" = yes; then :
                   4399:   rsync_cv_HAVE_BROKEN_LARGEFILE=cross
                   4400: else
                   4401:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4402: /* end confdefs.h.  */
                   4403: 
                   4404: #define _FILE_OFFSET_BITS 64
                   4405: #include <stdio.h>
                   4406: #include <fcntl.h>
                   4407: #include <sys/types.h>
                   4408: #include <sys/wait.h>
                   4409: 
                   4410: int main(void)
                   4411: {
                   4412:        struct flock lock;
                   4413:        int status;
                   4414:        char tpl[32] = "/tmp/locktest.XXXXXX";
                   4415:        int fd = mkstemp(tpl);
                   4416:        if (fd < 0) {
                   4417:                strcpy(tpl, "conftest.dat");
                   4418:                fd = open(tpl, O_CREAT|O_RDWR, 0600);
                   4419:        }
                   4420: 
                   4421:        lock.l_type = F_WRLCK;
                   4422:        lock.l_whence = SEEK_SET;
                   4423:        lock.l_start = 0;
                   4424:        lock.l_len = 1;
                   4425:        lock.l_pid = 0;
                   4426:        fcntl(fd,F_SETLK,&lock);
                   4427:        if (fork() == 0) {
                   4428:                lock.l_start = 1;
                   4429:                _exit(fcntl(fd,F_SETLK,&lock) == 0);
                   4430:        }
                   4431:        wait(&status);
                   4432:        unlink(tpl);
                   4433:        exit(WEXITSTATUS(status));
                   4434: }
                   4435: 
                   4436: _ACEOF
                   4437: if ac_fn_c_try_run "$LINENO"; then :
                   4438:   rsync_cv_HAVE_BROKEN_LARGEFILE=yes
                   4439: else
                   4440:   rsync_cv_HAVE_BROKEN_LARGEFILE=no
                   4441: fi
                   4442: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4443:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4444: fi
                   4445: 
                   4446: fi
                   4447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_BROKEN_LARGEFILE" >&5
                   4448: $as_echo "$rsync_cv_HAVE_BROKEN_LARGEFILE" >&6; }
                   4449: if test x"$rsync_cv_HAVE_BROKEN_LARGEFILE" != x"yes"; then
                   4450:    # Check whether --enable-largefile was given.
                   4451: if test "${enable_largefile+set}" = set; then :
                   4452:   enableval=$enable_largefile;
                   4453: fi
                   4454: 
                   4455: if test "$enable_largefile" != no; then
                   4456: 
                   4457:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   4458: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   4459: if ${ac_cv_sys_largefile_CC+:} false; then :
                   4460:   $as_echo_n "(cached) " >&6
                   4461: else
                   4462:   ac_cv_sys_largefile_CC=no
                   4463:      if test "$GCC" != yes; then
                   4464:        ac_save_CC=$CC
                   4465:        while :; do
                   4466:         # IRIX 6.2 and later do not support large files by default,
                   4467:         # so use the C compiler's -n32 option if that helps.
                   4468:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4469: /* end confdefs.h.  */
                   4470: #include <sys/types.h>
                   4471:  /* Check that off_t can represent 2**63 - 1 correctly.
                   4472:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   4473:     since some C++ compilers masquerading as C compilers
                   4474:     incorrectly reject 9223372036854775807.  */
                   4475: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   4476:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   4477:                       && LARGE_OFF_T % 2147483647 == 1)
                   4478:                      ? 1 : -1];
                   4479: int
                   4480: main ()
                   4481: {
                   4482: 
                   4483:   ;
                   4484:   return 0;
                   4485: }
                   4486: _ACEOF
                   4487:         if ac_fn_c_try_compile "$LINENO"; then :
                   4488:   break
                   4489: fi
                   4490: rm -f core conftest.err conftest.$ac_objext
                   4491:         CC="$CC -n32"
                   4492:         if ac_fn_c_try_compile "$LINENO"; then :
                   4493:   ac_cv_sys_largefile_CC=' -n32'; break
                   4494: fi
                   4495: rm -f core conftest.err conftest.$ac_objext
                   4496:         break
                   4497:        done
                   4498:        CC=$ac_save_CC
                   4499:        rm -f conftest.$ac_ext
                   4500:     fi
                   4501: fi
                   4502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   4503: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   4504:   if test "$ac_cv_sys_largefile_CC" != no; then
                   4505:     CC=$CC$ac_cv_sys_largefile_CC
                   4506:   fi
                   4507: 
                   4508:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   4509: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   4510: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   4511:   $as_echo_n "(cached) " >&6
                   4512: else
                   4513:   while :; do
                   4514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4515: /* end confdefs.h.  */
                   4516: #include <sys/types.h>
                   4517:  /* Check that off_t can represent 2**63 - 1 correctly.
                   4518:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   4519:     since some C++ compilers masquerading as C compilers
                   4520:     incorrectly reject 9223372036854775807.  */
                   4521: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   4522:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   4523:                       && LARGE_OFF_T % 2147483647 == 1)
                   4524:                      ? 1 : -1];
                   4525: int
                   4526: main ()
                   4527: {
                   4528: 
                   4529:   ;
                   4530:   return 0;
                   4531: }
                   4532: _ACEOF
                   4533: if ac_fn_c_try_compile "$LINENO"; then :
                   4534:   ac_cv_sys_file_offset_bits=no; break
                   4535: fi
                   4536: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4537:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4538: /* end confdefs.h.  */
                   4539: #define _FILE_OFFSET_BITS 64
                   4540: #include <sys/types.h>
                   4541:  /* Check that off_t can represent 2**63 - 1 correctly.
                   4542:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   4543:     since some C++ compilers masquerading as C compilers
                   4544:     incorrectly reject 9223372036854775807.  */
                   4545: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   4546:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   4547:                       && LARGE_OFF_T % 2147483647 == 1)
                   4548:                      ? 1 : -1];
                   4549: int
                   4550: main ()
                   4551: {
                   4552: 
                   4553:   ;
                   4554:   return 0;
                   4555: }
                   4556: _ACEOF
                   4557: if ac_fn_c_try_compile "$LINENO"; then :
                   4558:   ac_cv_sys_file_offset_bits=64; break
                   4559: fi
                   4560: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4561:   ac_cv_sys_file_offset_bits=unknown
                   4562:   break
                   4563: done
                   4564: fi
                   4565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   4566: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   4567: case $ac_cv_sys_file_offset_bits in #(
                   4568:   no | unknown) ;;
                   4569:   *)
                   4570: cat >>confdefs.h <<_ACEOF
                   4571: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   4572: _ACEOF
                   4573: ;;
                   4574: esac
                   4575: rm -rf conftest*
                   4576:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   4577:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   4578: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   4579: if ${ac_cv_sys_large_files+:} false; then :
                   4580:   $as_echo_n "(cached) " >&6
                   4581: else
                   4582:   while :; do
                   4583:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4584: /* end confdefs.h.  */
                   4585: #include <sys/types.h>
                   4586:  /* Check that off_t can represent 2**63 - 1 correctly.
                   4587:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   4588:     since some C++ compilers masquerading as C compilers
                   4589:     incorrectly reject 9223372036854775807.  */
                   4590: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   4591:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   4592:                       && LARGE_OFF_T % 2147483647 == 1)
                   4593:                      ? 1 : -1];
                   4594: int
                   4595: main ()
                   4596: {
                   4597: 
                   4598:   ;
                   4599:   return 0;
                   4600: }
                   4601: _ACEOF
                   4602: if ac_fn_c_try_compile "$LINENO"; then :
                   4603:   ac_cv_sys_large_files=no; break
                   4604: fi
                   4605: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4606:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4607: /* end confdefs.h.  */
                   4608: #define _LARGE_FILES 1
                   4609: #include <sys/types.h>
                   4610:  /* Check that off_t can represent 2**63 - 1 correctly.
                   4611:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   4612:     since some C++ compilers masquerading as C compilers
                   4613:     incorrectly reject 9223372036854775807.  */
                   4614: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   4615:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   4616:                       && LARGE_OFF_T % 2147483647 == 1)
                   4617:                      ? 1 : -1];
                   4618: int
                   4619: main ()
                   4620: {
                   4621: 
                   4622:   ;
                   4623:   return 0;
                   4624: }
                   4625: _ACEOF
                   4626: if ac_fn_c_try_compile "$LINENO"; then :
                   4627:   ac_cv_sys_large_files=1; break
                   4628: fi
                   4629: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4630:   ac_cv_sys_large_files=unknown
                   4631:   break
                   4632: done
                   4633: fi
                   4634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   4635: $as_echo "$ac_cv_sys_large_files" >&6; }
                   4636: case $ac_cv_sys_large_files in #(
                   4637:   no | unknown) ;;
                   4638:   *)
                   4639: cat >>confdefs.h <<_ACEOF
                   4640: #define _LARGE_FILES $ac_cv_sys_large_files
                   4641: _ACEOF
                   4642: ;;
                   4643: esac
                   4644: rm -rf conftest*
                   4645:   fi
                   4646: fi
                   4647: 
                   4648: fi
                   4649: 
                   4650: ipv6type=unknown
                   4651: ipv6lib=none
                   4652: ipv6trylibc=yes
                   4653: 
                   4654: # Check whether --enable-ipv6 was given.
                   4655: if test "${enable_ipv6+set}" = set; then :
                   4656:   enableval=$enable_ipv6;
                   4657: fi
                   4658: 
                   4659: if test x"$enable_ipv6" != x"no"; then
                   4660:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipv6 stack type" >&5
                   4661: $as_echo_n "checking ipv6 stack type... " >&6; }
                   4662:        for i in inria kame linux-glibc linux-inet6 solaris toshiba v6d zeta cygwin; do
                   4663:                case $i in
                   4664:                inria)
                   4665:                        # http://www.kame.net/
                   4666: 
                   4667: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4668: /* end confdefs.h.  */
                   4669: 
                   4670: #include <netinet/in.h>
                   4671: #ifdef IPV6_INRIA_VERSION
                   4672: yes
                   4673: #endif
                   4674: _ACEOF
                   4675: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4676:   $EGREP "yes" >/dev/null 2>&1; then :
                   4677:   ipv6type=$i;
                   4678: 
                   4679: $as_echo "#define INET6 1" >>confdefs.h
                   4680: 
                   4681: 
                   4682: fi
                   4683: rm -f conftest*
                   4684: 
                   4685:                        ;;
                   4686:                kame)
                   4687:                        # http://www.kame.net/
                   4688:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4689: /* end confdefs.h.  */
                   4690: 
                   4691: #include <netinet/in.h>
                   4692: #ifdef __KAME__
                   4693: yes
                   4694: #endif
                   4695: _ACEOF
                   4696: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4697:   $EGREP "yes" >/dev/null 2>&1; then :
                   4698:   ipv6type=$i;
                   4699: 
                   4700: $as_echo "#define INET6 1" >>confdefs.h
                   4701: 
                   4702: fi
                   4703: rm -f conftest*
                   4704: 
                   4705:                        ;;
                   4706:                linux-glibc)
                   4707:                        # http://www.v6.linux.or.jp/
                   4708:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4709: /* end confdefs.h.  */
                   4710: 
                   4711: #include <features.h>
                   4712: #if defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
                   4713: yes
                   4714: #endif
                   4715: _ACEOF
                   4716: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4717:   $EGREP "yes" >/dev/null 2>&1; then :
                   4718:   ipv6type=$i;
                   4719: 
                   4720: $as_echo "#define INET6 1" >>confdefs.h
                   4721: 
                   4722: fi
                   4723: rm -f conftest*
                   4724: 
                   4725:                        ;;
                   4726:                linux-inet6)
                   4727:                        # http://www.v6.linux.or.jp/
                   4728:                        if test -d /usr/inet6 -o -f /usr/inet6/lib/libinet6.a; then
                   4729:                                ipv6type=$i
                   4730:                                ipv6lib=inet6
                   4731:                                ipv6libdir=/usr/inet6/lib
                   4732:                                ipv6trylibc=yes;
                   4733: 
                   4734: $as_echo "#define INET6 1" >>confdefs.h
                   4735: 
                   4736:                                CFLAGS="-I/usr/inet6/include $CFLAGS"
                   4737:                        fi
                   4738:                        ;;
                   4739:                solaris)
                   4740:                        # http://www.sun.com
                   4741:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4742: /* end confdefs.h.  */
                   4743: 
                   4744: #include <netinet/ip6.h>
                   4745: #ifdef __sun
                   4746: yes
                   4747: #endif
                   4748: _ACEOF
                   4749: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4750:   $EGREP "yes" >/dev/null 2>&1; then :
                   4751:   ipv6type=$i;
                   4752: 
                   4753: $as_echo "#define INET6 1" >>confdefs.h
                   4754: 
                   4755: fi
                   4756: rm -f conftest*
                   4757: 
                   4758:                        ;;
                   4759:                toshiba)
                   4760:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4761: /* end confdefs.h.  */
                   4762: 
                   4763: #include <sys/param.h>
                   4764: #ifdef _TOSHIBA_INET6
                   4765: yes
                   4766: #endif
                   4767: _ACEOF
                   4768: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4769:   $EGREP "yes" >/dev/null 2>&1; then :
                   4770:   ipv6type=$i;
                   4771:                                ipv6lib=inet6;
                   4772:                                ipv6libdir=/usr/local/v6/lib;
                   4773: 
                   4774: $as_echo "#define INET6 1" >>confdefs.h
                   4775: 
                   4776: fi
                   4777: rm -f conftest*
                   4778: 
                   4779:                        ;;
                   4780:                v6d)
                   4781:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4782: /* end confdefs.h.  */
                   4783: 
                   4784: #include </usr/local/v6/include/sys/v6config.h>
                   4785: #ifdef __V6D__
                   4786: yes
                   4787: #endif
                   4788: _ACEOF
                   4789: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4790:   $EGREP "yes" >/dev/null 2>&1; then :
                   4791:   ipv6type=$i;
                   4792:                                ipv6lib=v6;
                   4793:                                ipv6libdir=/usr/local/v6/lib;
                   4794: 
                   4795: $as_echo "#define INET6 1" >>confdefs.h
                   4796: 
                   4797: fi
                   4798: rm -f conftest*
                   4799: 
                   4800:                        ;;
                   4801:                zeta)
                   4802:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4803: /* end confdefs.h.  */
                   4804: 
                   4805: #include <sys/param.h>
                   4806: #ifdef _ZETA_MINAMI_INET6
                   4807: yes
                   4808: #endif
                   4809: _ACEOF
                   4810: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4811:   $EGREP "yes" >/dev/null 2>&1; then :
                   4812:   ipv6type=$i;
                   4813:                                ipv6lib=inet6;
                   4814:                                ipv6libdir=/usr/local/v6/lib;
                   4815: 
                   4816: $as_echo "#define INET6 1" >>confdefs.h
                   4817: 
                   4818: fi
                   4819: rm -f conftest*
                   4820: 
                   4821:                        ;;
                   4822:                cygwin)
                   4823:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4824: /* end confdefs.h.  */
                   4825: 
                   4826: #include <netinet/in.h>
                   4827: #ifdef _CYGWIN_IN6_H
                   4828: yes
                   4829: #endif
                   4830: _ACEOF
                   4831: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4832:   $EGREP "yes" >/dev/null 2>&1; then :
                   4833:   ipv6type=$i;
                   4834: 
                   4835: $as_echo "#define INET6 1" >>confdefs.h
                   4836: 
                   4837: fi
                   4838: rm -f conftest*
                   4839: 
                   4840:                        ;;
                   4841:                esac
                   4842:                if test "$ipv6type" != "unknown"; then
                   4843:                        break
                   4844:                fi
                   4845:        done
                   4846:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ipv6type" >&5
                   4847: $as_echo "$ipv6type" >&6; }
                   4848: 
                   4849:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
                   4850: $as_echo_n "checking for library containing getaddrinfo... " >&6; }
                   4851: if ${ac_cv_search_getaddrinfo+:} false; then :
                   4852:   $as_echo_n "(cached) " >&6
                   4853: else
                   4854:   ac_func_search_save_LIBS=$LIBS
                   4855: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4856: /* end confdefs.h.  */
                   4857: 
                   4858: /* Override any GCC internal prototype to avoid an error.
                   4859:    Use char because int might match the return type of a GCC
                   4860:    builtin and then its argument prototype would still apply.  */
                   4861: #ifdef __cplusplus
                   4862: extern "C"
                   4863: #endif
                   4864: char getaddrinfo ();
                   4865: int
                   4866: main ()
                   4867: {
                   4868: return getaddrinfo ();
                   4869:   ;
                   4870:   return 0;
                   4871: }
                   4872: _ACEOF
                   4873: for ac_lib in '' inet6; do
                   4874:   if test -z "$ac_lib"; then
                   4875:     ac_res="none required"
                   4876:   else
                   4877:     ac_res=-l$ac_lib
                   4878:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   4879:   fi
                   4880:   if ac_fn_c_try_link "$LINENO"; then :
                   4881:   ac_cv_search_getaddrinfo=$ac_res
                   4882: fi
                   4883: rm -f core conftest.err conftest.$ac_objext \
                   4884:     conftest$ac_exeext
                   4885:   if ${ac_cv_search_getaddrinfo+:} false; then :
                   4886:   break
                   4887: fi
                   4888: done
                   4889: if ${ac_cv_search_getaddrinfo+:} false; then :
                   4890: 
                   4891: else
                   4892:   ac_cv_search_getaddrinfo=no
                   4893: fi
                   4894: rm conftest.$ac_ext
                   4895: LIBS=$ac_func_search_save_LIBS
                   4896: fi
                   4897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
                   4898: $as_echo "$ac_cv_search_getaddrinfo" >&6; }
                   4899: ac_res=$ac_cv_search_getaddrinfo
                   4900: if test "$ac_res" != no; then :
                   4901:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   4902: 
                   4903: fi
                   4904: 
                   4905: fi
                   4906: 
                   4907: # Check whether --enable-locale was given.
                   4908: if test "${enable_locale+set}" = set; then :
                   4909:   enableval=$enable_locale;
                   4910: fi
                   4911: 
                   4912: 
                   4913: if test x"$enable_locale" != x"no"; then
                   4914:        $as_echo "#define CONFIG_LOCALE 1" >>confdefs.h
                   4915: 
                   4916: fi
                   4917: 
                   4918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to call shutdown on all sockets" >&5
                   4919: $as_echo_n "checking whether to call shutdown on all sockets... " >&6; }
                   4920: case $host_os in
                   4921:        *cygwin* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4922: $as_echo "yes" >&6; }
                   4923: 
                   4924: $as_echo "#define SHUTDOWN_ALL_SOCKETS 1" >>confdefs.h
                   4925: 
                   4926:                   ;;
                   4927:               * ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4928: $as_echo "no" >&6; };;
                   4929: esac
                   4930: 
                   4931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4932: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4933: if ${ac_cv_header_stdc+:} false; then :
                   4934:   $as_echo_n "(cached) " >&6
                   4935: else
                   4936:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4937: /* end confdefs.h.  */
                   4938: #include <stdlib.h>
                   4939: #include <stdarg.h>
                   4940: #include <string.h>
                   4941: #include <float.h>
                   4942: 
                   4943: int
                   4944: main ()
                   4945: {
                   4946: 
                   4947:   ;
                   4948:   return 0;
                   4949: }
                   4950: _ACEOF
                   4951: if ac_fn_c_try_compile "$LINENO"; then :
                   4952:   ac_cv_header_stdc=yes
                   4953: else
                   4954:   ac_cv_header_stdc=no
                   4955: fi
                   4956: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4957: 
                   4958: if test $ac_cv_header_stdc = yes; then
                   4959:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4960:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4961: /* end confdefs.h.  */
                   4962: #include <string.h>
                   4963: 
                   4964: _ACEOF
                   4965: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4966:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4967: 
                   4968: else
                   4969:   ac_cv_header_stdc=no
                   4970: fi
                   4971: rm -f conftest*
                   4972: 
                   4973: fi
                   4974: 
                   4975: if test $ac_cv_header_stdc = yes; then
                   4976:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4977:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4978: /* end confdefs.h.  */
                   4979: #include <stdlib.h>
                   4980: 
                   4981: _ACEOF
                   4982: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4983:   $EGREP "free" >/dev/null 2>&1; then :
                   4984: 
                   4985: else
                   4986:   ac_cv_header_stdc=no
                   4987: fi
                   4988: rm -f conftest*
                   4989: 
                   4990: fi
                   4991: 
                   4992: if test $ac_cv_header_stdc = yes; then
                   4993:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4994:   if test "$cross_compiling" = yes; then :
                   4995:   :
                   4996: else
                   4997:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4998: /* end confdefs.h.  */
                   4999: #include <ctype.h>
                   5000: #include <stdlib.h>
                   5001: #if ((' ' & 0x0FF) == 0x020)
                   5002: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5003: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5004: #else
                   5005: # define ISLOWER(c) \
                   5006:                   (('a' <= (c) && (c) <= 'i') \
                   5007:                     || ('j' <= (c) && (c) <= 'r') \
                   5008:                     || ('s' <= (c) && (c) <= 'z'))
                   5009: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5010: #endif
                   5011: 
                   5012: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5013: int
                   5014: main ()
                   5015: {
                   5016:   int i;
                   5017:   for (i = 0; i < 256; i++)
                   5018:     if (XOR (islower (i), ISLOWER (i))
                   5019:        || toupper (i) != TOUPPER (i))
                   5020:       return 2;
                   5021:   return 0;
                   5022: }
                   5023: _ACEOF
                   5024: if ac_fn_c_try_run "$LINENO"; then :
                   5025: 
                   5026: else
                   5027:   ac_cv_header_stdc=no
                   5028: fi
                   5029: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5030:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5031: fi
                   5032: 
                   5033: fi
                   5034: fi
                   5035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   5036: $as_echo "$ac_cv_header_stdc" >&6; }
                   5037: if test $ac_cv_header_stdc = yes; then
                   5038: 
                   5039: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   5040: 
                   5041: fi
                   5042: 
                   5043: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5044: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5045:                  inttypes.h stdint.h unistd.h
                   5046: do :
                   5047:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5048: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   5049: "
                   5050: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5051:   cat >>confdefs.h <<_ACEOF
                   5052: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5053: _ACEOF
                   5054: 
                   5055: fi
                   5056: 
                   5057: done
                   5058: 
                   5059: 
                   5060:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   5061: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   5062: if ${ac_cv_c_bigendian+:} false; then :
                   5063:   $as_echo_n "(cached) " >&6
                   5064: else
                   5065:   ac_cv_c_bigendian=unknown
                   5066:     # See if we're dealing with a universal compiler.
                   5067:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5068: /* end confdefs.h.  */
                   5069: #ifndef __APPLE_CC__
                   5070:               not a universal capable compiler
                   5071:             #endif
                   5072:             typedef int dummy;
                   5073: 
                   5074: _ACEOF
                   5075: if ac_fn_c_try_compile "$LINENO"; then :
                   5076: 
                   5077:        # Check for potential -arch flags.  It is not universal unless
                   5078:        # there are at least two -arch flags with different values.
                   5079:        ac_arch=
                   5080:        ac_prev=
                   5081:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   5082:         if test -n "$ac_prev"; then
                   5083:           case $ac_word in
                   5084:             i?86 | x86_64 | ppc | ppc64)
                   5085:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   5086:                 ac_arch=$ac_word
                   5087:               else
                   5088:                 ac_cv_c_bigendian=universal
                   5089:                 break
                   5090:               fi
                   5091:               ;;
                   5092:           esac
                   5093:           ac_prev=
                   5094:         elif test "x$ac_word" = "x-arch"; then
                   5095:           ac_prev=arch
                   5096:         fi
                   5097:        done
                   5098: fi
                   5099: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5100:     if test $ac_cv_c_bigendian = unknown; then
                   5101:       # See if sys/param.h defines the BYTE_ORDER macro.
                   5102:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5103: /* end confdefs.h.  */
                   5104: #include <sys/types.h>
                   5105:             #include <sys/param.h>
                   5106: 
                   5107: int
                   5108: main ()
                   5109: {
                   5110: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   5111:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   5112:                     && LITTLE_ENDIAN)
                   5113:              bogus endian macros
                   5114:             #endif
                   5115: 
                   5116:   ;
                   5117:   return 0;
                   5118: }
                   5119: _ACEOF
                   5120: if ac_fn_c_try_compile "$LINENO"; then :
                   5121:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   5122:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5123: /* end confdefs.h.  */
                   5124: #include <sys/types.h>
                   5125:                #include <sys/param.h>
                   5126: 
                   5127: int
                   5128: main ()
                   5129: {
                   5130: #if BYTE_ORDER != BIG_ENDIAN
                   5131:                 not big endian
                   5132:                #endif
                   5133: 
                   5134:   ;
                   5135:   return 0;
                   5136: }
                   5137: _ACEOF
                   5138: if ac_fn_c_try_compile "$LINENO"; then :
                   5139:   ac_cv_c_bigendian=yes
                   5140: else
                   5141:   ac_cv_c_bigendian=no
                   5142: fi
                   5143: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5144: fi
                   5145: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5146:     fi
                   5147:     if test $ac_cv_c_bigendian = unknown; then
                   5148:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   5149:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5150: /* end confdefs.h.  */
                   5151: #include <limits.h>
                   5152: 
                   5153: int
                   5154: main ()
                   5155: {
                   5156: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   5157:              bogus endian macros
                   5158:             #endif
                   5159: 
                   5160:   ;
                   5161:   return 0;
                   5162: }
                   5163: _ACEOF
                   5164: if ac_fn_c_try_compile "$LINENO"; then :
                   5165:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   5166:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5167: /* end confdefs.h.  */
                   5168: #include <limits.h>
                   5169: 
                   5170: int
                   5171: main ()
                   5172: {
                   5173: #ifndef _BIG_ENDIAN
                   5174:                 not big endian
                   5175:                #endif
                   5176: 
                   5177:   ;
                   5178:   return 0;
                   5179: }
                   5180: _ACEOF
                   5181: if ac_fn_c_try_compile "$LINENO"; then :
                   5182:   ac_cv_c_bigendian=yes
                   5183: else
                   5184:   ac_cv_c_bigendian=no
                   5185: fi
                   5186: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5187: fi
                   5188: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5189:     fi
                   5190:     if test $ac_cv_c_bigendian = unknown; then
                   5191:       # Compile a test program.
                   5192:       if test "$cross_compiling" = yes; then :
                   5193:   # Try to guess by grepping values from an object file.
                   5194:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5195: /* end confdefs.h.  */
                   5196: short int ascii_mm[] =
                   5197:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   5198:                short int ascii_ii[] =
                   5199:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   5200:                int use_ascii (int i) {
                   5201:                  return ascii_mm[i] + ascii_ii[i];
                   5202:                }
                   5203:                short int ebcdic_ii[] =
                   5204:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   5205:                short int ebcdic_mm[] =
                   5206:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   5207:                int use_ebcdic (int i) {
                   5208:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   5209:                }
                   5210:                extern int foo;
                   5211: 
                   5212: int
                   5213: main ()
                   5214: {
                   5215: return use_ascii (foo) == use_ebcdic (foo);
                   5216:   ;
                   5217:   return 0;
                   5218: }
                   5219: _ACEOF
                   5220: if ac_fn_c_try_compile "$LINENO"; then :
                   5221:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   5222:              ac_cv_c_bigendian=yes
                   5223:            fi
                   5224:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   5225:              if test "$ac_cv_c_bigendian" = unknown; then
                   5226:                ac_cv_c_bigendian=no
                   5227:              else
                   5228:                # finding both strings is unlikely to happen, but who knows?
                   5229:                ac_cv_c_bigendian=unknown
                   5230:              fi
                   5231:            fi
                   5232: fi
                   5233: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5234: else
                   5235:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5236: /* end confdefs.h.  */
                   5237: $ac_includes_default
                   5238: int
                   5239: main ()
                   5240: {
                   5241: 
                   5242:             /* Are we little or big endian?  From Harbison&Steele.  */
                   5243:             union
                   5244:             {
                   5245:               long int l;
                   5246:               char c[sizeof (long int)];
                   5247:             } u;
                   5248:             u.l = 1;
                   5249:             return u.c[sizeof (long int) - 1] == 1;
                   5250: 
                   5251:   ;
                   5252:   return 0;
                   5253: }
                   5254: _ACEOF
                   5255: if ac_fn_c_try_run "$LINENO"; then :
                   5256:   ac_cv_c_bigendian=no
                   5257: else
                   5258:   ac_cv_c_bigendian=yes
                   5259: fi
                   5260: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5261:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5262: fi
                   5263: 
                   5264:     fi
                   5265: fi
                   5266: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   5267: $as_echo "$ac_cv_c_bigendian" >&6; }
                   5268:  case $ac_cv_c_bigendian in #(
                   5269:    yes)
                   5270:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   5271: ;; #(
                   5272:    no)
                   5273:       ;; #(
                   5274:    universal)
                   5275: 
                   5276: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   5277: 
                   5278:      ;; #(
                   5279:    *)
                   5280:      as_fn_error $? "unknown endianness
                   5281:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   5282:  esac
                   5283: 
                   5284: ac_header_dirent=no
                   5285: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   5286:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   5287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   5288: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   5289: if eval \${$as_ac_Header+:} false; then :
                   5290:   $as_echo_n "(cached) " >&6
                   5291: else
                   5292:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5293: /* end confdefs.h.  */
                   5294: #include <sys/types.h>
                   5295: #include <$ac_hdr>
                   5296: 
                   5297: int
                   5298: main ()
                   5299: {
                   5300: if ((DIR *) 0)
                   5301: return 0;
                   5302:   ;
                   5303:   return 0;
                   5304: }
                   5305: _ACEOF
                   5306: if ac_fn_c_try_compile "$LINENO"; then :
                   5307:   eval "$as_ac_Header=yes"
                   5308: else
                   5309:   eval "$as_ac_Header=no"
                   5310: fi
                   5311: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5312: fi
                   5313: eval ac_res=\$$as_ac_Header
                   5314:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   5315: $as_echo "$ac_res" >&6; }
                   5316: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5317:   cat >>confdefs.h <<_ACEOF
                   5318: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   5319: _ACEOF
                   5320: 
                   5321: ac_header_dirent=$ac_hdr; break
                   5322: fi
                   5323: 
                   5324: done
                   5325: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   5326: if test $ac_header_dirent = dirent.h; then
                   5327:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   5328: $as_echo_n "checking for library containing opendir... " >&6; }
                   5329: if ${ac_cv_search_opendir+:} false; then :
                   5330:   $as_echo_n "(cached) " >&6
                   5331: else
                   5332:   ac_func_search_save_LIBS=$LIBS
                   5333: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5334: /* end confdefs.h.  */
                   5335: 
                   5336: /* Override any GCC internal prototype to avoid an error.
                   5337:    Use char because int might match the return type of a GCC
                   5338:    builtin and then its argument prototype would still apply.  */
                   5339: #ifdef __cplusplus
                   5340: extern "C"
                   5341: #endif
                   5342: char opendir ();
                   5343: int
                   5344: main ()
                   5345: {
                   5346: return opendir ();
                   5347:   ;
                   5348:   return 0;
                   5349: }
                   5350: _ACEOF
                   5351: for ac_lib in '' dir; do
                   5352:   if test -z "$ac_lib"; then
                   5353:     ac_res="none required"
                   5354:   else
                   5355:     ac_res=-l$ac_lib
                   5356:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5357:   fi
                   5358:   if ac_fn_c_try_link "$LINENO"; then :
                   5359:   ac_cv_search_opendir=$ac_res
                   5360: fi
                   5361: rm -f core conftest.err conftest.$ac_objext \
                   5362:     conftest$ac_exeext
                   5363:   if ${ac_cv_search_opendir+:} false; then :
                   5364:   break
                   5365: fi
                   5366: done
                   5367: if ${ac_cv_search_opendir+:} false; then :
                   5368: 
                   5369: else
                   5370:   ac_cv_search_opendir=no
                   5371: fi
                   5372: rm conftest.$ac_ext
                   5373: LIBS=$ac_func_search_save_LIBS
                   5374: fi
                   5375: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   5376: $as_echo "$ac_cv_search_opendir" >&6; }
                   5377: ac_res=$ac_cv_search_opendir
                   5378: if test "$ac_res" != no; then :
                   5379:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5380: 
                   5381: fi
                   5382: 
                   5383: else
                   5384:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   5385: $as_echo_n "checking for library containing opendir... " >&6; }
                   5386: if ${ac_cv_search_opendir+:} false; then :
                   5387:   $as_echo_n "(cached) " >&6
                   5388: else
                   5389:   ac_func_search_save_LIBS=$LIBS
                   5390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5391: /* end confdefs.h.  */
                   5392: 
                   5393: /* Override any GCC internal prototype to avoid an error.
                   5394:    Use char because int might match the return type of a GCC
                   5395:    builtin and then its argument prototype would still apply.  */
                   5396: #ifdef __cplusplus
                   5397: extern "C"
                   5398: #endif
                   5399: char opendir ();
                   5400: int
                   5401: main ()
                   5402: {
                   5403: return opendir ();
                   5404:   ;
                   5405:   return 0;
                   5406: }
                   5407: _ACEOF
                   5408: for ac_lib in '' x; do
                   5409:   if test -z "$ac_lib"; then
                   5410:     ac_res="none required"
                   5411:   else
                   5412:     ac_res=-l$ac_lib
                   5413:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   5414:   fi
                   5415:   if ac_fn_c_try_link "$LINENO"; then :
                   5416:   ac_cv_search_opendir=$ac_res
                   5417: fi
                   5418: rm -f core conftest.err conftest.$ac_objext \
                   5419:     conftest$ac_exeext
                   5420:   if ${ac_cv_search_opendir+:} false; then :
                   5421:   break
                   5422: fi
                   5423: done
                   5424: if ${ac_cv_search_opendir+:} false; then :
                   5425: 
                   5426: else
                   5427:   ac_cv_search_opendir=no
                   5428: fi
                   5429: rm conftest.$ac_ext
                   5430: LIBS=$ac_func_search_save_LIBS
                   5431: fi
                   5432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   5433: $as_echo "$ac_cv_search_opendir" >&6; }
                   5434: ac_res=$ac_cv_search_opendir
                   5435: if test "$ac_res" != no; then :
                   5436:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   5437: 
                   5438: fi
                   5439: 
                   5440: fi
                   5441: 
                   5442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   5443: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   5444: if ${ac_cv_header_time+:} false; then :
                   5445:   $as_echo_n "(cached) " >&6
                   5446: else
                   5447:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5448: /* end confdefs.h.  */
                   5449: #include <sys/types.h>
                   5450: #include <sys/time.h>
                   5451: #include <time.h>
                   5452: 
                   5453: int
                   5454: main ()
                   5455: {
                   5456: if ((struct tm *) 0)
                   5457: return 0;
                   5458:   ;
                   5459:   return 0;
                   5460: }
                   5461: _ACEOF
                   5462: if ac_fn_c_try_compile "$LINENO"; then :
                   5463:   ac_cv_header_time=yes
                   5464: else
                   5465:   ac_cv_header_time=no
                   5466: fi
                   5467: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5468: fi
                   5469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   5470: $as_echo "$ac_cv_header_time" >&6; }
                   5471: if test $ac_cv_header_time = yes; then
                   5472: 
                   5473: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   5474: 
                   5475: fi
                   5476: 
                   5477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   5478: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
                   5479: if ${ac_cv_header_sys_wait_h+:} false; then :
                   5480:   $as_echo_n "(cached) " >&6
                   5481: else
                   5482:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5483: /* end confdefs.h.  */
                   5484: #include <sys/types.h>
                   5485: #include <sys/wait.h>
                   5486: #ifndef WEXITSTATUS
                   5487: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   5488: #endif
                   5489: #ifndef WIFEXITED
                   5490: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   5491: #endif
                   5492: 
                   5493: int
                   5494: main ()
                   5495: {
                   5496:   int s;
                   5497:   wait (&s);
                   5498:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
                   5499:   ;
                   5500:   return 0;
                   5501: }
                   5502: _ACEOF
                   5503: if ac_fn_c_try_compile "$LINENO"; then :
                   5504:   ac_cv_header_sys_wait_h=yes
                   5505: else
                   5506:   ac_cv_header_sys_wait_h=no
                   5507: fi
                   5508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5509: fi
                   5510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   5511: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   5512: if test $ac_cv_header_sys_wait_h = yes; then
                   5513: 
                   5514: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   5515: 
                   5516: fi
                   5517: 
                   5518: for ac_header in sys/fcntl.h sys/select.h fcntl.h sys/time.h sys/unistd.h \
                   5519:     unistd.h utime.h grp.h compat.h sys/param.h ctype.h sys/wait.h \
                   5520:     sys/ioctl.h sys/filio.h string.h stdlib.h sys/socket.h sys/mode.h \
                   5521:     sys/un.h sys/attr.h mcheck.h arpa/inet.h arpa/nameser.h locale.h \
                   5522:     netdb.h malloc.h float.h limits.h iconv.h libcharset.h langinfo.h \
                   5523:     sys/acl.h acl/libacl.h attr/xattr.h sys/xattr.h sys/extattr.h \
1.1.1.2 ! misho    5524:     popt.h popt/popt.h linux/falloc.h netinet/in_systm.h netinet/ip.h \
        !          5525:     zlib.h
1.1       misho    5526: do :
                   5527:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5528: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   5529: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5530:   cat >>confdefs.h <<_ACEOF
                   5531: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5532: _ACEOF
                   5533: 
                   5534: fi
                   5535: 
                   5536: done
                   5537: 
                   5538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
                   5539: $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
                   5540: if ${ac_cv_header_sys_types_h_makedev+:} false; then :
                   5541:   $as_echo_n "(cached) " >&6
                   5542: else
                   5543:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5544: /* end confdefs.h.  */
                   5545: #include <sys/types.h>
                   5546: int
                   5547: main ()
                   5548: {
                   5549: return makedev(0, 0);
                   5550:   ;
                   5551:   return 0;
                   5552: }
                   5553: _ACEOF
                   5554: if ac_fn_c_try_link "$LINENO"; then :
                   5555:   ac_cv_header_sys_types_h_makedev=yes
                   5556: else
                   5557:   ac_cv_header_sys_types_h_makedev=no
                   5558: fi
                   5559: rm -f core conftest.err conftest.$ac_objext \
                   5560:     conftest$ac_exeext conftest.$ac_ext
                   5561: 
                   5562: fi
                   5563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
                   5564: $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
                   5565: 
                   5566: if test $ac_cv_header_sys_types_h_makedev = no; then
                   5567: ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
                   5568: if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
                   5569: 
                   5570: $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
                   5571: 
                   5572: fi
                   5573: 
                   5574: 
                   5575: 
                   5576:   if test $ac_cv_header_sys_mkdev_h = no; then
                   5577:     ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
                   5578: if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
                   5579: 
                   5580: $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
                   5581: 
                   5582: fi
                   5583: 
                   5584: 
                   5585:   fi
                   5586: fi
                   5587: 
                   5588: 
                   5589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if makedev takes 3 args" >&5
                   5590: $as_echo_n "checking if makedev takes 3 args... " >&6; }
                   5591: if ${rsync_cv_MAKEDEV_TAKES_3_ARGS+:} false; then :
                   5592:   $as_echo_n "(cached) " >&6
                   5593: else
                   5594: 
                   5595: if test "$cross_compiling" = yes; then :
                   5596:   rsync_cv_MAKEDEV_TAKES_3_ARGS=no
                   5597: else
                   5598:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5599: /* end confdefs.h.  */
                   5600: 
                   5601: #include <sys/types.h>
                   5602: #ifdef MAJOR_IN_MKDEV
                   5603: #include <sys/mkdev.h>
                   5604: # if !defined makedev && (defined mkdev || defined _WIN32 || defined __WIN32__)
                   5605: #  define makedev mkdev
                   5606: # endif
                   5607: #elif defined MAJOR_IN_SYSMACROS
                   5608: #include <sys/sysmacros.h>
                   5609: #endif
                   5610: 
                   5611: int main(void)
                   5612: {
                   5613:        dev_t dev = makedev(0, 5, 7);
                   5614:        if (major(dev) != 5 || minor(dev) != 7)
                   5615:                exit(1);
                   5616:        return 0;
                   5617: }
                   5618: 
                   5619: _ACEOF
                   5620: if ac_fn_c_try_run "$LINENO"; then :
                   5621:   rsync_cv_MAKEDEV_TAKES_3_ARGS=yes
                   5622: else
                   5623:   rsync_cv_MAKEDEV_TAKES_3_ARGS=no
                   5624: fi
                   5625: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5626:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5627: fi
                   5628: 
                   5629: fi
                   5630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MAKEDEV_TAKES_3_ARGS" >&5
                   5631: $as_echo "$rsync_cv_MAKEDEV_TAKES_3_ARGS" >&6; }
                   5632: if test x"$rsync_cv_MAKEDEV_TAKES_3_ARGS" = x"yes"; then
                   5633: 
                   5634: $as_echo "#define MAKEDEV_TAKES_3_ARGS 1" >>confdefs.h
                   5635: 
                   5636: fi
                   5637: 
                   5638: # The cast to long int works around a bug in the HP C Compiler
                   5639: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5640: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5641: # This bug is HP SR number 8606223364.
                   5642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
                   5643: $as_echo_n "checking size of int... " >&6; }
                   5644: if ${ac_cv_sizeof_int+:} false; then :
                   5645:   $as_echo_n "(cached) " >&6
                   5646: else
                   5647:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
                   5648: 
                   5649: else
                   5650:   if test "$ac_cv_type_int" = yes; then
                   5651:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5652: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5653: as_fn_error 77 "cannot compute sizeof (int)
                   5654: See \`config.log' for more details" "$LINENO" 5; }
                   5655:    else
                   5656:      ac_cv_sizeof_int=0
                   5657:    fi
                   5658: fi
                   5659: 
                   5660: fi
                   5661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
                   5662: $as_echo "$ac_cv_sizeof_int" >&6; }
                   5663: 
                   5664: 
                   5665: 
                   5666: cat >>confdefs.h <<_ACEOF
                   5667: #define SIZEOF_INT $ac_cv_sizeof_int
                   5668: _ACEOF
                   5669: 
                   5670: 
                   5671: # The cast to long int works around a bug in the HP C Compiler
                   5672: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5673: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5674: # This bug is HP SR number 8606223364.
                   5675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
                   5676: $as_echo_n "checking size of long... " >&6; }
                   5677: if ${ac_cv_sizeof_long+:} false; then :
                   5678:   $as_echo_n "(cached) " >&6
                   5679: else
                   5680:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
                   5681: 
                   5682: else
                   5683:   if test "$ac_cv_type_long" = yes; then
                   5684:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5685: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5686: as_fn_error 77 "cannot compute sizeof (long)
                   5687: See \`config.log' for more details" "$LINENO" 5; }
                   5688:    else
                   5689:      ac_cv_sizeof_long=0
                   5690:    fi
                   5691: fi
                   5692: 
                   5693: fi
                   5694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
                   5695: $as_echo "$ac_cv_sizeof_long" >&6; }
                   5696: 
                   5697: 
                   5698: 
                   5699: cat >>confdefs.h <<_ACEOF
                   5700: #define SIZEOF_LONG $ac_cv_sizeof_long
                   5701: _ACEOF
                   5702: 
                   5703: 
                   5704: # The cast to long int works around a bug in the HP C Compiler
                   5705: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5706: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5707: # This bug is HP SR number 8606223364.
                   5708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
                   5709: $as_echo_n "checking size of long long... " >&6; }
                   5710: if ${ac_cv_sizeof_long_long+:} false; then :
                   5711:   $as_echo_n "(cached) " >&6
                   5712: else
                   5713:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
                   5714: 
                   5715: else
                   5716:   if test "$ac_cv_type_long_long" = yes; then
                   5717:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5718: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5719: as_fn_error 77 "cannot compute sizeof (long long)
                   5720: See \`config.log' for more details" "$LINENO" 5; }
                   5721:    else
                   5722:      ac_cv_sizeof_long_long=0
                   5723:    fi
                   5724: fi
                   5725: 
                   5726: fi
                   5727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
                   5728: $as_echo "$ac_cv_sizeof_long_long" >&6; }
                   5729: 
                   5730: 
                   5731: 
                   5732: cat >>confdefs.h <<_ACEOF
                   5733: #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
                   5734: _ACEOF
                   5735: 
                   5736: 
                   5737: # The cast to long int works around a bug in the HP C Compiler
                   5738: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5739: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5740: # This bug is HP SR number 8606223364.
                   5741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
                   5742: $as_echo_n "checking size of short... " >&6; }
                   5743: if ${ac_cv_sizeof_short+:} false; then :
                   5744:   $as_echo_n "(cached) " >&6
                   5745: else
                   5746:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
                   5747: 
                   5748: else
                   5749:   if test "$ac_cv_type_short" = yes; then
                   5750:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5751: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5752: as_fn_error 77 "cannot compute sizeof (short)
                   5753: See \`config.log' for more details" "$LINENO" 5; }
                   5754:    else
                   5755:      ac_cv_sizeof_short=0
                   5756:    fi
                   5757: fi
                   5758: 
                   5759: fi
                   5760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
                   5761: $as_echo "$ac_cv_sizeof_short" >&6; }
                   5762: 
                   5763: 
                   5764: 
                   5765: cat >>confdefs.h <<_ACEOF
                   5766: #define SIZEOF_SHORT $ac_cv_sizeof_short
                   5767: _ACEOF
                   5768: 
                   5769: 
                   5770: # The cast to long int works around a bug in the HP C Compiler
                   5771: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5772: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5773: # This bug is HP SR number 8606223364.
                   5774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int16_t" >&5
                   5775: $as_echo_n "checking size of int16_t... " >&6; }
                   5776: if ${ac_cv_sizeof_int16_t+:} false; then :
                   5777:   $as_echo_n "(cached) " >&6
                   5778: else
                   5779:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int16_t))" "ac_cv_sizeof_int16_t"        "$ac_includes_default"; then :
                   5780: 
                   5781: else
                   5782:   if test "$ac_cv_type_int16_t" = yes; then
                   5783:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5784: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5785: as_fn_error 77 "cannot compute sizeof (int16_t)
                   5786: See \`config.log' for more details" "$LINENO" 5; }
                   5787:    else
                   5788:      ac_cv_sizeof_int16_t=0
                   5789:    fi
                   5790: fi
                   5791: 
                   5792: fi
                   5793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int16_t" >&5
                   5794: $as_echo "$ac_cv_sizeof_int16_t" >&6; }
                   5795: 
                   5796: 
                   5797: 
                   5798: cat >>confdefs.h <<_ACEOF
                   5799: #define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
                   5800: _ACEOF
                   5801: 
                   5802: 
                   5803: # The cast to long int works around a bug in the HP C Compiler
                   5804: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5805: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5806: # This bug is HP SR number 8606223364.
                   5807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint16_t" >&5
                   5808: $as_echo_n "checking size of uint16_t... " >&6; }
                   5809: if ${ac_cv_sizeof_uint16_t+:} false; then :
                   5810:   $as_echo_n "(cached) " >&6
                   5811: else
                   5812:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint16_t))" "ac_cv_sizeof_uint16_t"        "$ac_includes_default"; then :
                   5813: 
                   5814: else
                   5815:   if test "$ac_cv_type_uint16_t" = yes; then
                   5816:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5817: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5818: as_fn_error 77 "cannot compute sizeof (uint16_t)
                   5819: See \`config.log' for more details" "$LINENO" 5; }
                   5820:    else
                   5821:      ac_cv_sizeof_uint16_t=0
                   5822:    fi
                   5823: fi
                   5824: 
                   5825: fi
                   5826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint16_t" >&5
                   5827: $as_echo "$ac_cv_sizeof_uint16_t" >&6; }
                   5828: 
                   5829: 
                   5830: 
                   5831: cat >>confdefs.h <<_ACEOF
                   5832: #define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
                   5833: _ACEOF
                   5834: 
                   5835: 
                   5836: # The cast to long int works around a bug in the HP C Compiler
                   5837: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5838: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5839: # This bug is HP SR number 8606223364.
                   5840: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int32_t" >&5
                   5841: $as_echo_n "checking size of int32_t... " >&6; }
                   5842: if ${ac_cv_sizeof_int32_t+:} false; then :
                   5843:   $as_echo_n "(cached) " >&6
                   5844: else
                   5845:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int32_t))" "ac_cv_sizeof_int32_t"        "$ac_includes_default"; then :
                   5846: 
                   5847: else
                   5848:   if test "$ac_cv_type_int32_t" = yes; then
                   5849:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5850: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5851: as_fn_error 77 "cannot compute sizeof (int32_t)
                   5852: See \`config.log' for more details" "$LINENO" 5; }
                   5853:    else
                   5854:      ac_cv_sizeof_int32_t=0
                   5855:    fi
                   5856: fi
                   5857: 
                   5858: fi
                   5859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int32_t" >&5
                   5860: $as_echo "$ac_cv_sizeof_int32_t" >&6; }
                   5861: 
                   5862: 
                   5863: 
                   5864: cat >>confdefs.h <<_ACEOF
                   5865: #define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
                   5866: _ACEOF
                   5867: 
                   5868: 
                   5869: # The cast to long int works around a bug in the HP C Compiler
                   5870: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5871: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5872: # This bug is HP SR number 8606223364.
                   5873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of uint32_t" >&5
                   5874: $as_echo_n "checking size of uint32_t... " >&6; }
                   5875: if ${ac_cv_sizeof_uint32_t+:} false; then :
                   5876:   $as_echo_n "(cached) " >&6
                   5877: else
                   5878:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (uint32_t))" "ac_cv_sizeof_uint32_t"        "$ac_includes_default"; then :
                   5879: 
                   5880: else
                   5881:   if test "$ac_cv_type_uint32_t" = yes; then
                   5882:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5883: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5884: as_fn_error 77 "cannot compute sizeof (uint32_t)
                   5885: See \`config.log' for more details" "$LINENO" 5; }
                   5886:    else
                   5887:      ac_cv_sizeof_uint32_t=0
                   5888:    fi
                   5889: fi
                   5890: 
                   5891: fi
                   5892: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_uint32_t" >&5
                   5893: $as_echo "$ac_cv_sizeof_uint32_t" >&6; }
                   5894: 
                   5895: 
                   5896: 
                   5897: cat >>confdefs.h <<_ACEOF
                   5898: #define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
                   5899: _ACEOF
                   5900: 
                   5901: 
                   5902: # The cast to long int works around a bug in the HP C Compiler
                   5903: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5904: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5905: # This bug is HP SR number 8606223364.
                   5906: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int64_t" >&5
                   5907: $as_echo_n "checking size of int64_t... " >&6; }
                   5908: if ${ac_cv_sizeof_int64_t+:} false; then :
                   5909:   $as_echo_n "(cached) " >&6
                   5910: else
                   5911:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int64_t))" "ac_cv_sizeof_int64_t"        "$ac_includes_default"; then :
                   5912: 
                   5913: else
                   5914:   if test "$ac_cv_type_int64_t" = yes; then
                   5915:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5916: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5917: as_fn_error 77 "cannot compute sizeof (int64_t)
                   5918: See \`config.log' for more details" "$LINENO" 5; }
                   5919:    else
                   5920:      ac_cv_sizeof_int64_t=0
                   5921:    fi
                   5922: fi
                   5923: 
                   5924: fi
                   5925: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int64_t" >&5
                   5926: $as_echo "$ac_cv_sizeof_int64_t" >&6; }
                   5927: 
                   5928: 
                   5929: 
                   5930: cat >>confdefs.h <<_ACEOF
                   5931: #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
                   5932: _ACEOF
                   5933: 
                   5934: 
                   5935: # The cast to long int works around a bug in the HP C Compiler
                   5936: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5937: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5938: # This bug is HP SR number 8606223364.
                   5939: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
                   5940: $as_echo_n "checking size of off_t... " >&6; }
                   5941: if ${ac_cv_sizeof_off_t+:} false; then :
                   5942:   $as_echo_n "(cached) " >&6
                   5943: else
                   5944:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
                   5945: 
                   5946: else
                   5947:   if test "$ac_cv_type_off_t" = yes; then
                   5948:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5949: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5950: as_fn_error 77 "cannot compute sizeof (off_t)
                   5951: See \`config.log' for more details" "$LINENO" 5; }
                   5952:    else
                   5953:      ac_cv_sizeof_off_t=0
                   5954:    fi
                   5955: fi
                   5956: 
                   5957: fi
                   5958: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
                   5959: $as_echo "$ac_cv_sizeof_off_t" >&6; }
                   5960: 
                   5961: 
                   5962: 
                   5963: cat >>confdefs.h <<_ACEOF
                   5964: #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
                   5965: _ACEOF
                   5966: 
                   5967: 
                   5968: # The cast to long int works around a bug in the HP C Compiler
                   5969: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   5970: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   5971: # This bug is HP SR number 8606223364.
                   5972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off64_t" >&5
                   5973: $as_echo_n "checking size of off64_t... " >&6; }
                   5974: if ${ac_cv_sizeof_off64_t+:} false; then :
                   5975:   $as_echo_n "(cached) " >&6
                   5976: else
                   5977:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off64_t))" "ac_cv_sizeof_off64_t"        "$ac_includes_default"; then :
                   5978: 
                   5979: else
                   5980:   if test "$ac_cv_type_off64_t" = yes; then
                   5981:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5982: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5983: as_fn_error 77 "cannot compute sizeof (off64_t)
                   5984: See \`config.log' for more details" "$LINENO" 5; }
                   5985:    else
                   5986:      ac_cv_sizeof_off64_t=0
                   5987:    fi
                   5988: fi
                   5989: 
                   5990: fi
                   5991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off64_t" >&5
                   5992: $as_echo "$ac_cv_sizeof_off64_t" >&6; }
                   5993: 
                   5994: 
                   5995: 
                   5996: cat >>confdefs.h <<_ACEOF
                   5997: #define SIZEOF_OFF64_T $ac_cv_sizeof_off64_t
                   5998: _ACEOF
                   5999: 
                   6000: 
                   6001: # The cast to long int works around a bug in the HP C Compiler
                   6002: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   6003: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   6004: # This bug is HP SR number 8606223364.
                   6005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
                   6006: $as_echo_n "checking size of time_t... " >&6; }
                   6007: if ${ac_cv_sizeof_time_t+:} false; then :
                   6008:   $as_echo_n "(cached) " >&6
                   6009: else
                   6010:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
                   6011: 
                   6012: else
                   6013:   if test "$ac_cv_type_time_t" = yes; then
                   6014:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6015: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6016: as_fn_error 77 "cannot compute sizeof (time_t)
                   6017: See \`config.log' for more details" "$LINENO" 5; }
                   6018:    else
                   6019:      ac_cv_sizeof_time_t=0
                   6020:    fi
                   6021: fi
                   6022: 
                   6023: fi
                   6024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
                   6025: $as_echo "$ac_cv_sizeof_time_t" >&6; }
                   6026: 
                   6027: 
                   6028: 
                   6029: cat >>confdefs.h <<_ACEOF
                   6030: #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
                   6031: _ACEOF
                   6032: 
                   6033: 
                   6034: 
                   6035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
                   6036: $as_echo_n "checking for inline... " >&6; }
                   6037: if ${ac_cv_c_inline+:} false; then :
                   6038:   $as_echo_n "(cached) " >&6
                   6039: else
                   6040:   ac_cv_c_inline=no
                   6041: for ac_kw in inline __inline__ __inline; do
                   6042:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6043: /* end confdefs.h.  */
                   6044: #ifndef __cplusplus
                   6045: typedef int foo_t;
                   6046: static $ac_kw foo_t static_foo () {return 0; }
                   6047: $ac_kw foo_t foo () {return 0; }
                   6048: #endif
                   6049: 
                   6050: _ACEOF
                   6051: if ac_fn_c_try_compile "$LINENO"; then :
                   6052:   ac_cv_c_inline=$ac_kw
                   6053: fi
                   6054: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6055:   test "$ac_cv_c_inline" != no && break
                   6056: done
                   6057: 
                   6058: fi
                   6059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
                   6060: $as_echo "$ac_cv_c_inline" >&6; }
                   6061: 
                   6062: case $ac_cv_c_inline in
                   6063:   inline | yes) ;;
                   6064:   *)
                   6065:     case $ac_cv_c_inline in
                   6066:       no) ac_val=;;
                   6067:       *) ac_val=$ac_cv_c_inline;;
                   6068:     esac
                   6069:     cat >>confdefs.h <<_ACEOF
                   6070: #ifndef __cplusplus
                   6071: #define inline $ac_val
                   6072: #endif
                   6073: _ACEOF
                   6074:     ;;
                   6075: esac
                   6076: 
                   6077: 
                   6078: 
                   6079:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
                   6080: $as_echo_n "checking for long double with more range or precision than double... " >&6; }
                   6081: if ${ac_cv_type_long_double_wider+:} false; then :
                   6082:   $as_echo_n "(cached) " >&6
                   6083: else
                   6084:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6085: /* end confdefs.h.  */
                   6086: #include <float.h>
                   6087:            long double const a[] =
                   6088:              {
                   6089:                 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
                   6090:                 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
                   6091:              };
                   6092:            long double
                   6093:            f (long double x)
                   6094:            {
                   6095:               return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
                   6096:                        + (x ? f (x) : 'c'));
                   6097:            }
                   6098: 
                   6099: int
                   6100: main ()
                   6101: {
                   6102: static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
                   6103:                   + (DBL_MANT_DIG < LDBL_MANT_DIG)
                   6104:                   - (LDBL_MAX_EXP < DBL_MAX_EXP)
                   6105:                   - (LDBL_MANT_DIG < DBL_MANT_DIG)))
                   6106:            && (int) LDBL_EPSILON == 0
                   6107:          )];
                   6108: test_array [0] = 0
                   6109: 
                   6110:   ;
                   6111:   return 0;
                   6112: }
                   6113: _ACEOF
                   6114: if ac_fn_c_try_compile "$LINENO"; then :
                   6115:   ac_cv_type_long_double_wider=yes
                   6116: else
                   6117:   ac_cv_type_long_double_wider=no
                   6118: fi
                   6119: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6120: fi
                   6121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
                   6122: $as_echo "$ac_cv_type_long_double_wider" >&6; }
                   6123:   if test $ac_cv_type_long_double_wider = yes; then
                   6124: 
                   6125: $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
                   6126: 
                   6127:   fi
                   6128: 
                   6129:     ac_cv_c_long_double=$ac_cv_type_long_double_wider
                   6130:     if test $ac_cv_c_long_double = yes; then
                   6131: 
                   6132: $as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h
                   6133: 
                   6134:     fi
                   6135: 
                   6136: 
                   6137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   6138: $as_echo_n "checking return type of signal handlers... " >&6; }
                   6139: if ${ac_cv_type_signal+:} false; then :
                   6140:   $as_echo_n "(cached) " >&6
                   6141: else
                   6142:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6143: /* end confdefs.h.  */
                   6144: #include <sys/types.h>
                   6145: #include <signal.h>
                   6146: 
                   6147: int
                   6148: main ()
                   6149: {
                   6150: return *(signal (0, 0)) (0) == 1;
                   6151:   ;
                   6152:   return 0;
                   6153: }
                   6154: _ACEOF
                   6155: if ac_fn_c_try_compile "$LINENO"; then :
                   6156:   ac_cv_type_signal=int
                   6157: else
                   6158:   ac_cv_type_signal=void
                   6159: fi
                   6160: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6161: fi
                   6162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   6163: $as_echo "$ac_cv_type_signal" >&6; }
                   6164: 
                   6165: cat >>confdefs.h <<_ACEOF
                   6166: #define RETSIGTYPE $ac_cv_type_signal
                   6167: _ACEOF
                   6168: 
                   6169: 
                   6170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   6171: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
                   6172: if ${ac_cv_type_uid_t+:} false; then :
                   6173:   $as_echo_n "(cached) " >&6
                   6174: else
                   6175:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6176: /* end confdefs.h.  */
                   6177: #include <sys/types.h>
                   6178: 
                   6179: _ACEOF
                   6180: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6181:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   6182:   ac_cv_type_uid_t=yes
                   6183: else
                   6184:   ac_cv_type_uid_t=no
                   6185: fi
                   6186: rm -f conftest*
                   6187: 
                   6188: fi
                   6189: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   6190: $as_echo "$ac_cv_type_uid_t" >&6; }
                   6191: if test $ac_cv_type_uid_t = no; then
                   6192: 
                   6193: $as_echo "#define uid_t int" >>confdefs.h
                   6194: 
                   6195: 
                   6196: $as_echo "#define gid_t int" >>confdefs.h
                   6197: 
                   6198: fi
                   6199: 
                   6200: ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
                   6201: if test "x$ac_cv_type_mode_t" = xyes; then :
                   6202: 
                   6203: cat >>confdefs.h <<_ACEOF
                   6204: #define HAVE_MODE_T 1
                   6205: _ACEOF
                   6206: 
                   6207: 
                   6208: fi
                   6209: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
                   6210: if test "x$ac_cv_type_off_t" = xyes; then :
                   6211: 
                   6212: cat >>confdefs.h <<_ACEOF
                   6213: #define HAVE_OFF_T 1
                   6214: _ACEOF
                   6215: 
                   6216: 
                   6217: fi
                   6218: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   6219: if test "x$ac_cv_type_size_t" = xyes; then :
                   6220: 
                   6221: cat >>confdefs.h <<_ACEOF
                   6222: #define HAVE_SIZE_T 1
                   6223: _ACEOF
                   6224: 
                   6225: 
                   6226: fi
                   6227: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   6228: if test "x$ac_cv_type_pid_t" = xyes; then :
                   6229: 
                   6230: cat >>confdefs.h <<_ACEOF
                   6231: #define HAVE_PID_T 1
                   6232: _ACEOF
                   6233: 
                   6234: 
                   6235: fi
                   6236: ac_fn_c_check_type "$LINENO" "id_t" "ac_cv_type_id_t" "$ac_includes_default"
                   6237: if test "x$ac_cv_type_id_t" = xyes; then :
                   6238: 
                   6239: cat >>confdefs.h <<_ACEOF
                   6240: #define HAVE_ID_T 1
                   6241: _ACEOF
                   6242: 
                   6243: 
                   6244: fi
                   6245: 
                   6246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of array argument to getgroups" >&5
                   6247: $as_echo_n "checking type of array argument to getgroups... " >&6; }
                   6248: if ${ac_cv_type_getgroups+:} false; then :
                   6249:   $as_echo_n "(cached) " >&6
                   6250: else
                   6251:   if test "$cross_compiling" = yes; then :
                   6252:   ac_cv_type_getgroups=cross
                   6253: else
                   6254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6255: /* end confdefs.h.  */
                   6256: /* Thanks to Mike Rendell for this test.  */
                   6257: $ac_includes_default
                   6258: #define NGID 256
                   6259: #undef MAX
                   6260: #define MAX(x, y) ((x) > (y) ? (x) : (y))
                   6261: 
                   6262: int
                   6263: main ()
                   6264: {
                   6265:   gid_t gidset[NGID];
                   6266:   int i, n;
                   6267:   union { gid_t gval; long int lval; }  val;
                   6268: 
                   6269:   val.lval = -1;
                   6270:   for (i = 0; i < NGID; i++)
                   6271:     gidset[i] = val.gval;
                   6272:   n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
                   6273:                 gidset);
                   6274:   /* Exit non-zero if getgroups seems to require an array of ints.  This
                   6275:      happens when gid_t is short int but getgroups modifies an array
                   6276:      of ints.  */
                   6277:   return n > 0 && gidset[n] != val.gval;
                   6278: }
                   6279: _ACEOF
                   6280: if ac_fn_c_try_run "$LINENO"; then :
                   6281:   ac_cv_type_getgroups=gid_t
                   6282: else
                   6283:   ac_cv_type_getgroups=int
                   6284: fi
                   6285: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   6286:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   6287: fi
                   6288: 
                   6289: if test $ac_cv_type_getgroups = cross; then
                   6290:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6291: /* end confdefs.h.  */
                   6292: #include <unistd.h>
                   6293: 
                   6294: _ACEOF
                   6295: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6296:   $EGREP "getgroups.*int.*gid_t" >/dev/null 2>&1; then :
                   6297:   ac_cv_type_getgroups=gid_t
                   6298: else
                   6299:   ac_cv_type_getgroups=int
                   6300: fi
                   6301: rm -f conftest*
                   6302: 
                   6303: fi
                   6304: fi
                   6305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_getgroups" >&5
                   6306: $as_echo "$ac_cv_type_getgroups" >&6; }
                   6307: 
                   6308: cat >>confdefs.h <<_ACEOF
                   6309: #define GETGROUPS_T $ac_cv_type_getgroups
                   6310: _ACEOF
                   6311: 
                   6312: 
1.1.1.2 ! misho    6313: ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "
        !          6314: #ifdef HAVE_SYS_TYPES_H
        !          6315: #include <sys/types.h>
        !          6316: #endif
        !          6317: #ifdef HAVE_SYS_STAT_H
        !          6318: #include <sys/stat.h>
        !          6319: #endif
        !          6320: #ifdef HAVE_UNISTD_H
        !          6321: #include <unistd.h>
        !          6322: #endif
        !          6323: "
1.1       misho    6324: if test "x$ac_cv_member_struct_stat_st_rdev" = xyes; then :
                   6325: 
                   6326: cat >>confdefs.h <<_ACEOF
                   6327: #define HAVE_STRUCT_STAT_ST_RDEV 1
                   6328: _ACEOF
                   6329: 
                   6330: 
                   6331: fi
1.1.1.2 ! misho    6332: ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimensec" "ac_cv_member_struct_stat_st_mtimensec" "
        !          6333: #ifdef HAVE_SYS_TYPES_H
        !          6334: #include <sys/types.h>
        !          6335: #endif
        !          6336: #ifdef HAVE_SYS_STAT_H
        !          6337: #include <sys/stat.h>
        !          6338: #endif
        !          6339: #ifdef HAVE_UNISTD_H
        !          6340: #include <unistd.h>
        !          6341: #endif
        !          6342: "
        !          6343: if test "x$ac_cv_member_struct_stat_st_mtimensec" = xyes; then :
        !          6344: 
        !          6345: cat >>confdefs.h <<_ACEOF
        !          6346: #define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
        !          6347: _ACEOF
        !          6348: 
        !          6349: 
        !          6350: fi
        !          6351: ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim.tv_nsec" "ac_cv_member_struct_stat_st_mtim_tv_nsec" "
        !          6352: #ifdef HAVE_SYS_TYPES_H
        !          6353: #include <sys/types.h>
        !          6354: #endif
        !          6355: #ifdef HAVE_SYS_STAT_H
        !          6356: #include <sys/stat.h>
        !          6357: #endif
        !          6358: #ifdef HAVE_UNISTD_H
        !          6359: #include <unistd.h>
        !          6360: #endif
        !          6361: "
        !          6362: if test "x$ac_cv_member_struct_stat_st_mtim_tv_nsec" = xyes; then :
        !          6363: 
        !          6364: cat >>confdefs.h <<_ACEOF
        !          6365: #define HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
        !          6366: _ACEOF
        !          6367: 
        !          6368: 
        !          6369: fi
1.1       misho    6370: 
                   6371: 
                   6372: 
                   6373:    ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
                   6374: #include <sys/socket.h>
                   6375: "
                   6376: if test "x$ac_cv_type_socklen_t" = xyes; then :
                   6377: 
                   6378: else
                   6379: 
                   6380:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
                   6381: $as_echo_n "checking for socklen_t equivalent... " >&6; }
                   6382:       if ${rsync_cv_socklen_t_equiv+:} false; then :
                   6383:   $as_echo_n "(cached) " >&6
                   6384: else
                   6385: 
                   6386:          # Systems have either "struct sockaddr *" or
                   6387:          # "void *" as the second argument to getpeername
                   6388:          rsync_cv_socklen_t_equiv=
                   6389:          for arg2 in "struct sockaddr" void; do
                   6390:             for t in int size_t unsigned long "unsigned long"; do
                   6391:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6392: /* end confdefs.h.  */
                   6393: 
                   6394: #include <sys/types.h>
                   6395: #include <sys/socket.h>
                   6396: 
                   6397:                   int getpeername (int, $arg2 *, $t *);
                   6398: 
                   6399: int
                   6400: main ()
                   6401: {
                   6402: 
                   6403:                   $t len;
                   6404:                   getpeername(0,0,&len);
                   6405: 
                   6406:   ;
                   6407:   return 0;
                   6408: }
                   6409: _ACEOF
                   6410: if ac_fn_c_try_compile "$LINENO"; then :
                   6411: 
                   6412:                   rsync_cv_socklen_t_equiv="$t"
                   6413:                   break
                   6414: 
                   6415: fi
                   6416: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6417:             done
                   6418:          done
                   6419: 
                   6420:          if test "x$rsync_cv_socklen_t_equiv" = x; then
                   6421:             as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5
                   6422:          fi
                   6423: 
                   6424: fi
                   6425: 
                   6426:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_socklen_t_equiv" >&5
                   6427: $as_echo "$rsync_cv_socklen_t_equiv" >&6; }
                   6428: 
                   6429: cat >>confdefs.h <<_ACEOF
                   6430: #define socklen_t $rsync_cv_socklen_t_equiv
                   6431: _ACEOF
                   6432: 
                   6433: fi
                   6434: 
                   6435: 
                   6436: 
                   6437: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for errno in errno.h" >&5
                   6438: $as_echo_n "checking for errno in errno.h... " >&6; }
                   6439: if ${rsync_cv_errno+:} false; then :
                   6440:   $as_echo_n "(cached) " >&6
                   6441: else
                   6442: 
                   6443:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6444: /* end confdefs.h.  */
                   6445: #include <errno.h>
                   6446: int
                   6447: main ()
                   6448: {
                   6449: int i = errno
                   6450:   ;
                   6451:   return 0;
                   6452: }
                   6453: _ACEOF
                   6454: if ac_fn_c_try_compile "$LINENO"; then :
                   6455:   rsync_cv_errno=yes
                   6456: else
                   6457:   rsync_cv_have_errno_decl=no
                   6458: fi
                   6459: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6460: fi
                   6461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_errno" >&5
                   6462: $as_echo "$rsync_cv_errno" >&6; }
                   6463: if test x"$rsync_cv_errno" = x"yes"; then
                   6464: 
                   6465: $as_echo "#define HAVE_ERRNO_DECL 1" >>confdefs.h
                   6466: 
                   6467: fi
                   6468: 
                   6469: # The following test taken from the cvs sources
                   6470: # If we can't find connect, try looking in -lsocket, -lnsl, and -linet.
                   6471: # These need checks to be before checks for any other functions that
                   6472: #    might be in the same libraries.
                   6473: # The Irix 5 libc.so has connect and gethostbyname, but Irix 5 also has
                   6474: # libsocket.so which has a bad implementation of gethostbyname (it
                   6475: # only looks in /etc/hosts), so we only look for -lsocket if we need
                   6476: # it.
                   6477: for ac_func in connect
                   6478: do :
                   6479:   ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
                   6480: if test "x$ac_cv_func_connect" = xyes; then :
                   6481:   cat >>confdefs.h <<_ACEOF
                   6482: #define HAVE_CONNECT 1
                   6483: _ACEOF
                   6484: 
                   6485: fi
                   6486: done
                   6487: 
                   6488: if test x"$ac_cv_func_connect" = x"no"; then
                   6489:     case "$LIBS" in
                   6490:     *-lnsl*) ;;
                   6491:     *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lnsl_s" >&5
                   6492: $as_echo_n "checking for printf in -lnsl_s... " >&6; }
                   6493: if ${ac_cv_lib_nsl_s_printf+:} false; then :
                   6494:   $as_echo_n "(cached) " >&6
                   6495: else
                   6496:   ac_check_lib_save_LIBS=$LIBS
                   6497: LIBS="-lnsl_s  $LIBS"
                   6498: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6499: /* end confdefs.h.  */
                   6500: 
                   6501: /* Override any GCC internal prototype to avoid an error.
                   6502:    Use char because int might match the return type of a GCC
                   6503:    builtin and then its argument prototype would still apply.  */
                   6504: #ifdef __cplusplus
                   6505: extern "C"
                   6506: #endif
                   6507: char printf ();
                   6508: int
                   6509: main ()
                   6510: {
                   6511: return printf ();
                   6512:   ;
                   6513:   return 0;
                   6514: }
                   6515: _ACEOF
                   6516: if ac_fn_c_try_link "$LINENO"; then :
                   6517:   ac_cv_lib_nsl_s_printf=yes
                   6518: else
                   6519:   ac_cv_lib_nsl_s_printf=no
                   6520: fi
                   6521: rm -f core conftest.err conftest.$ac_objext \
                   6522:     conftest$ac_exeext conftest.$ac_ext
                   6523: LIBS=$ac_check_lib_save_LIBS
                   6524: fi
                   6525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_s_printf" >&5
                   6526: $as_echo "$ac_cv_lib_nsl_s_printf" >&6; }
                   6527: if test "x$ac_cv_lib_nsl_s_printf" = xyes; then :
                   6528:   cat >>confdefs.h <<_ACEOF
                   6529: #define HAVE_LIBNSL_S 1
                   6530: _ACEOF
                   6531: 
                   6532:   LIBS="-lnsl_s $LIBS"
                   6533: 
                   6534: fi
                   6535:  ;;
                   6536:     esac
                   6537:     case "$LIBS" in
                   6538:     *-lnsl*) ;;
                   6539:     *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for printf in -lnsl" >&5
                   6540: $as_echo_n "checking for printf in -lnsl... " >&6; }
                   6541: if ${ac_cv_lib_nsl_printf+:} false; then :
                   6542:   $as_echo_n "(cached) " >&6
                   6543: else
                   6544:   ac_check_lib_save_LIBS=$LIBS
                   6545: LIBS="-lnsl  $LIBS"
                   6546: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6547: /* end confdefs.h.  */
                   6548: 
                   6549: /* Override any GCC internal prototype to avoid an error.
                   6550:    Use char because int might match the return type of a GCC
                   6551:    builtin and then its argument prototype would still apply.  */
                   6552: #ifdef __cplusplus
                   6553: extern "C"
                   6554: #endif
                   6555: char printf ();
                   6556: int
                   6557: main ()
                   6558: {
                   6559: return printf ();
                   6560:   ;
                   6561:   return 0;
                   6562: }
                   6563: _ACEOF
                   6564: if ac_fn_c_try_link "$LINENO"; then :
                   6565:   ac_cv_lib_nsl_printf=yes
                   6566: else
                   6567:   ac_cv_lib_nsl_printf=no
                   6568: fi
                   6569: rm -f core conftest.err conftest.$ac_objext \
                   6570:     conftest$ac_exeext conftest.$ac_ext
                   6571: LIBS=$ac_check_lib_save_LIBS
                   6572: fi
                   6573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_printf" >&5
                   6574: $as_echo "$ac_cv_lib_nsl_printf" >&6; }
                   6575: if test "x$ac_cv_lib_nsl_printf" = xyes; then :
                   6576:   cat >>confdefs.h <<_ACEOF
                   6577: #define HAVE_LIBNSL 1
                   6578: _ACEOF
                   6579: 
                   6580:   LIBS="-lnsl $LIBS"
                   6581: 
                   6582: fi
                   6583:  ;;
                   6584:     esac
                   6585:     case "$LIBS" in
                   6586:     *-lsocket*) ;;
                   6587:     *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
                   6588: $as_echo_n "checking for connect in -lsocket... " >&6; }
                   6589: if ${ac_cv_lib_socket_connect+:} false; then :
                   6590:   $as_echo_n "(cached) " >&6
                   6591: else
                   6592:   ac_check_lib_save_LIBS=$LIBS
                   6593: LIBS="-lsocket  $LIBS"
                   6594: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6595: /* end confdefs.h.  */
                   6596: 
                   6597: /* Override any GCC internal prototype to avoid an error.
                   6598:    Use char because int might match the return type of a GCC
                   6599:    builtin and then its argument prototype would still apply.  */
                   6600: #ifdef __cplusplus
                   6601: extern "C"
                   6602: #endif
                   6603: char connect ();
                   6604: int
                   6605: main ()
                   6606: {
                   6607: return connect ();
                   6608:   ;
                   6609:   return 0;
                   6610: }
                   6611: _ACEOF
                   6612: if ac_fn_c_try_link "$LINENO"; then :
                   6613:   ac_cv_lib_socket_connect=yes
                   6614: else
                   6615:   ac_cv_lib_socket_connect=no
                   6616: fi
                   6617: rm -f core conftest.err conftest.$ac_objext \
                   6618:     conftest$ac_exeext conftest.$ac_ext
                   6619: LIBS=$ac_check_lib_save_LIBS
                   6620: fi
                   6621: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
                   6622: $as_echo "$ac_cv_lib_socket_connect" >&6; }
                   6623: if test "x$ac_cv_lib_socket_connect" = xyes; then :
                   6624:   cat >>confdefs.h <<_ACEOF
                   6625: #define HAVE_LIBSOCKET 1
                   6626: _ACEOF
                   6627: 
                   6628:   LIBS="-lsocket $LIBS"
                   6629: 
                   6630: fi
                   6631:  ;;
                   6632:     esac
                   6633:     case "$LIBS" in
                   6634:     *-linet*) ;;
                   6635:     *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -linet" >&5
                   6636: $as_echo_n "checking for connect in -linet... " >&6; }
                   6637: if ${ac_cv_lib_inet_connect+:} false; then :
                   6638:   $as_echo_n "(cached) " >&6
                   6639: else
                   6640:   ac_check_lib_save_LIBS=$LIBS
                   6641: LIBS="-linet  $LIBS"
                   6642: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6643: /* end confdefs.h.  */
                   6644: 
                   6645: /* Override any GCC internal prototype to avoid an error.
                   6646:    Use char because int might match the return type of a GCC
                   6647:    builtin and then its argument prototype would still apply.  */
                   6648: #ifdef __cplusplus
                   6649: extern "C"
                   6650: #endif
                   6651: char connect ();
                   6652: int
                   6653: main ()
                   6654: {
                   6655: return connect ();
                   6656:   ;
                   6657:   return 0;
                   6658: }
                   6659: _ACEOF
                   6660: if ac_fn_c_try_link "$LINENO"; then :
                   6661:   ac_cv_lib_inet_connect=yes
                   6662: else
                   6663:   ac_cv_lib_inet_connect=no
                   6664: fi
                   6665: rm -f core conftest.err conftest.$ac_objext \
                   6666:     conftest$ac_exeext conftest.$ac_ext
                   6667: LIBS=$ac_check_lib_save_LIBS
                   6668: fi
                   6669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet_connect" >&5
                   6670: $as_echo "$ac_cv_lib_inet_connect" >&6; }
                   6671: if test "x$ac_cv_lib_inet_connect" = xyes; then :
                   6672:   cat >>confdefs.h <<_ACEOF
                   6673: #define HAVE_LIBINET 1
                   6674: _ACEOF
                   6675: 
                   6676:   LIBS="-linet $LIBS"
                   6677: 
                   6678: fi
                   6679:  ;;
                   6680:     esac
                   6681:             if test x"$ac_cv_lib_socket_connect" = x"yes" ||
                   6682:        test x"$ac_cv_lib_inet_connect" = x"yes"; then
                   6683:         # ac_cv_func_connect=yes
                   6684:         # don't!  it would cause AC_CHECK_FUNC to succeed next time configure is run
                   6685: 
                   6686: $as_echo "#define HAVE_CONNECT 1" >>confdefs.h
                   6687: 
                   6688:     fi
                   6689: fi
                   6690: 
                   6691: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
                   6692: $as_echo_n "checking for library containing inet_ntop... " >&6; }
                   6693: if ${ac_cv_search_inet_ntop+:} false; then :
                   6694:   $as_echo_n "(cached) " >&6
                   6695: else
                   6696:   ac_func_search_save_LIBS=$LIBS
                   6697: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6698: /* end confdefs.h.  */
                   6699: 
                   6700: /* Override any GCC internal prototype to avoid an error.
                   6701:    Use char because int might match the return type of a GCC
                   6702:    builtin and then its argument prototype would still apply.  */
                   6703: #ifdef __cplusplus
                   6704: extern "C"
                   6705: #endif
                   6706: char inet_ntop ();
                   6707: int
                   6708: main ()
                   6709: {
                   6710: return inet_ntop ();
                   6711:   ;
                   6712:   return 0;
                   6713: }
                   6714: _ACEOF
                   6715: for ac_lib in '' resolv; do
                   6716:   if test -z "$ac_lib"; then
                   6717:     ac_res="none required"
                   6718:   else
                   6719:     ac_res=-l$ac_lib
                   6720:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6721:   fi
                   6722:   if ac_fn_c_try_link "$LINENO"; then :
                   6723:   ac_cv_search_inet_ntop=$ac_res
                   6724: fi
                   6725: rm -f core conftest.err conftest.$ac_objext \
                   6726:     conftest$ac_exeext
                   6727:   if ${ac_cv_search_inet_ntop+:} false; then :
                   6728:   break
                   6729: fi
                   6730: done
                   6731: if ${ac_cv_search_inet_ntop+:} false; then :
                   6732: 
                   6733: else
                   6734:   ac_cv_search_inet_ntop=no
                   6735: fi
                   6736: rm conftest.$ac_ext
                   6737: LIBS=$ac_func_search_save_LIBS
                   6738: fi
                   6739: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
                   6740: $as_echo "$ac_cv_search_inet_ntop" >&6; }
                   6741: ac_res=$ac_cv_search_inet_ntop
                   6742: if test "$ac_res" != no; then :
                   6743:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6744: 
                   6745: fi
                   6746: 
                   6747: 
                   6748: # For OS X, Solaris, HP-UX, etc.: figure out if -liconv is needed.  We'll
                   6749: # accept either iconv_open or libiconv_open, since some include files map
                   6750: # the former to the latter.
                   6751: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing iconv_open" >&5
                   6752: $as_echo_n "checking for library containing iconv_open... " >&6; }
                   6753: if ${ac_cv_search_iconv_open+:} false; then :
                   6754:   $as_echo_n "(cached) " >&6
                   6755: else
                   6756:   ac_func_search_save_LIBS=$LIBS
                   6757: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6758: /* end confdefs.h.  */
                   6759: 
                   6760: /* Override any GCC internal prototype to avoid an error.
                   6761:    Use char because int might match the return type of a GCC
                   6762:    builtin and then its argument prototype would still apply.  */
                   6763: #ifdef __cplusplus
                   6764: extern "C"
                   6765: #endif
                   6766: char iconv_open ();
                   6767: int
                   6768: main ()
                   6769: {
                   6770: return iconv_open ();
                   6771:   ;
                   6772:   return 0;
                   6773: }
                   6774: _ACEOF
                   6775: for ac_lib in '' iconv; do
                   6776:   if test -z "$ac_lib"; then
                   6777:     ac_res="none required"
                   6778:   else
                   6779:     ac_res=-l$ac_lib
                   6780:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6781:   fi
                   6782:   if ac_fn_c_try_link "$LINENO"; then :
                   6783:   ac_cv_search_iconv_open=$ac_res
                   6784: fi
                   6785: rm -f core conftest.err conftest.$ac_objext \
                   6786:     conftest$ac_exeext
                   6787:   if ${ac_cv_search_iconv_open+:} false; then :
                   6788:   break
                   6789: fi
                   6790: done
                   6791: if ${ac_cv_search_iconv_open+:} false; then :
                   6792: 
                   6793: else
                   6794:   ac_cv_search_iconv_open=no
                   6795: fi
                   6796: rm conftest.$ac_ext
                   6797: LIBS=$ac_func_search_save_LIBS
                   6798: fi
                   6799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
                   6800: $as_echo "$ac_cv_search_iconv_open" >&6; }
                   6801: ac_res=$ac_cv_search_iconv_open
                   6802: if test "$ac_res" != no; then :
                   6803:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6804: 
                   6805: fi
                   6806: 
                   6807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing libiconv_open" >&5
                   6808: $as_echo_n "checking for library containing libiconv_open... " >&6; }
                   6809: if ${ac_cv_search_libiconv_open+:} false; then :
                   6810:   $as_echo_n "(cached) " >&6
                   6811: else
                   6812:   ac_func_search_save_LIBS=$LIBS
                   6813: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6814: /* end confdefs.h.  */
                   6815: 
                   6816: /* Override any GCC internal prototype to avoid an error.
                   6817:    Use char because int might match the return type of a GCC
                   6818:    builtin and then its argument prototype would still apply.  */
                   6819: #ifdef __cplusplus
                   6820: extern "C"
                   6821: #endif
                   6822: char libiconv_open ();
                   6823: int
                   6824: main ()
                   6825: {
                   6826: return libiconv_open ();
                   6827:   ;
                   6828:   return 0;
                   6829: }
                   6830: _ACEOF
                   6831: for ac_lib in '' iconv; do
                   6832:   if test -z "$ac_lib"; then
                   6833:     ac_res="none required"
                   6834:   else
                   6835:     ac_res=-l$ac_lib
                   6836:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6837:   fi
                   6838:   if ac_fn_c_try_link "$LINENO"; then :
                   6839:   ac_cv_search_libiconv_open=$ac_res
                   6840: fi
                   6841: rm -f core conftest.err conftest.$ac_objext \
                   6842:     conftest$ac_exeext
                   6843:   if ${ac_cv_search_libiconv_open+:} false; then :
                   6844:   break
                   6845: fi
                   6846: done
                   6847: if ${ac_cv_search_libiconv_open+:} false; then :
                   6848: 
                   6849: else
                   6850:   ac_cv_search_libiconv_open=no
                   6851: fi
                   6852: rm conftest.$ac_ext
                   6853: LIBS=$ac_func_search_save_LIBS
                   6854: fi
                   6855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_libiconv_open" >&5
                   6856: $as_echo "$ac_cv_search_libiconv_open" >&6; }
                   6857: ac_res=$ac_cv_search_libiconv_open
                   6858: if test "$ac_res" != no; then :
                   6859:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6860: 
                   6861: fi
                   6862: 
                   6863: 
                   6864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
                   6865: $as_echo_n "checking for iconv declaration... " >&6; }
                   6866: if ${am_cv_proto_iconv+:} false; then :
                   6867:   $as_echo_n "(cached) " >&6
                   6868: else
                   6869: 
                   6870:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6871: /* end confdefs.h.  */
                   6872: 
                   6873: #include <stdlib.h>
                   6874: #include <iconv.h>
                   6875: extern
                   6876: #ifdef __cplusplus
                   6877: "C"
                   6878: #endif
                   6879: #if defined(__STDC__) || defined(__cplusplus)
                   6880: size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
                   6881: #else
                   6882: size_t iconv();
                   6883: #endif
                   6884: 
                   6885: int
                   6886: main ()
                   6887: {
                   6888: 
                   6889:   ;
                   6890:   return 0;
                   6891: }
                   6892: _ACEOF
                   6893: if ac_fn_c_try_compile "$LINENO"; then :
                   6894:   am_cv_proto_iconv_arg1=""
                   6895: else
                   6896:   am_cv_proto_iconv_arg1="const"
                   6897: fi
                   6898: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6899:       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
                   6900: fi
                   6901: 
                   6902:     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
                   6903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
                   6904:          }$am_cv_proto_iconv" >&5
                   6905: $as_echo "${ac_t:-
                   6906:          }$am_cv_proto_iconv" >&6; }
                   6907: 
                   6908: cat >>confdefs.h <<_ACEOF
                   6909: #define ICONV_CONST $am_cv_proto_iconv_arg1
                   6910: _ACEOF
                   6911: 
                   6912: 
                   6913: 
                   6914: for ac_func in inet_ntop
                   6915: do :
                   6916:   ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
                   6917: if test "x$ac_cv_func_inet_ntop" = xyes; then :
                   6918:   cat >>confdefs.h <<_ACEOF
                   6919: #define HAVE_INET_NTOP 1
                   6920: _ACEOF
                   6921: 
                   6922: else
                   6923:   case " $LIBOBJS " in
                   6924:   *" lib/inet_ntop.$ac_objext "* ) ;;
                   6925:   *) LIBOBJS="$LIBOBJS lib/inet_ntop.$ac_objext"
                   6926:  ;;
                   6927: esac
                   6928: 
                   6929: fi
                   6930: done
                   6931: 
                   6932: for ac_func in inet_pton
                   6933: do :
                   6934:   ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
                   6935: if test "x$ac_cv_func_inet_pton" = xyes; then :
                   6936:   cat >>confdefs.h <<_ACEOF
                   6937: #define HAVE_INET_PTON 1
                   6938: _ACEOF
                   6939: 
                   6940: else
                   6941:   case " $LIBOBJS " in
                   6942:   *" lib/inet_pton.$ac_objext "* ) ;;
                   6943:   *) LIBOBJS="$LIBOBJS lib/inet_pton.$ac_objext"
                   6944:  ;;
                   6945: esac
                   6946: 
                   6947: fi
                   6948: done
                   6949: 
                   6950: 
                   6951: 
                   6952: 
                   6953: cv=`echo "struct addrinfo" | sed 'y%./+- %__p__%'`
                   6954: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5
                   6955: $as_echo_n "checking for struct addrinfo... " >&6; }
                   6956: if eval \${ac_cv_type_$cv+:} false; then :
                   6957:   $as_echo_n "(cached) " >&6
                   6958: else
                   6959:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6960: /* end confdefs.h.  */
                   6961: 
                   6962: $ac_includes_default
                   6963: #include <netdb.h>
                   6964: int
                   6965: main ()
                   6966: {
                   6967: struct addrinfo foo;
                   6968:   ;
                   6969:   return 0;
                   6970: }
                   6971: _ACEOF
                   6972: if ac_fn_c_try_compile "$LINENO"; then :
                   6973:   eval "ac_cv_type_$cv=yes"
                   6974: else
                   6975:   eval "ac_cv_type_$cv=no"
                   6976: fi
                   6977: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6978: fi
                   6979: ac_foo=`eval echo \\$ac_cv_type_$cv`
                   6980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
                   6981: $as_echo "$ac_foo" >&6; }
                   6982: if test "$ac_foo" = yes; then
                   6983:   ac_tr_hdr=HAVE_`echo struct addrinfo | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
                   6984: if false; then
                   6985:        ac_fn_c_check_type "$LINENO" "struct addrinfo" "ac_cv_type_struct_addrinfo" "$ac_includes_default"
                   6986: if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
                   6987: 
                   6988: cat >>confdefs.h <<_ACEOF
                   6989: #define HAVE_STRUCT_ADDRINFO 1
                   6990: _ACEOF
                   6991: 
                   6992: 
                   6993: fi
                   6994: 
                   6995: fi
                   6996: 
                   6997: cat >>confdefs.h <<_ACEOF
                   6998: #define $ac_tr_hdr 1
                   6999: _ACEOF
                   7000: 
                   7001: fi
                   7002: 
                   7003: 
                   7004: 
                   7005: cv=`echo "struct sockaddr_storage" | sed 'y%./+- %__p__%'`
                   7006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
                   7007: $as_echo_n "checking for struct sockaddr_storage... " >&6; }
                   7008: if eval \${ac_cv_type_$cv+:} false; then :
                   7009:   $as_echo_n "(cached) " >&6
                   7010: else
                   7011:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7012: /* end confdefs.h.  */
                   7013: 
                   7014: $ac_includes_default
                   7015: #include <sys/types.h>
                   7016: #include <sys/socket.h>
                   7017: int
                   7018: main ()
                   7019: {
                   7020: struct sockaddr_storage foo;
                   7021:   ;
                   7022:   return 0;
                   7023: }
                   7024: _ACEOF
                   7025: if ac_fn_c_try_compile "$LINENO"; then :
                   7026:   eval "ac_cv_type_$cv=yes"
                   7027: else
                   7028:   eval "ac_cv_type_$cv=no"
                   7029: fi
                   7030: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7031: fi
                   7032: ac_foo=`eval echo \\$ac_cv_type_$cv`
                   7033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
                   7034: $as_echo "$ac_foo" >&6; }
                   7035: if test "$ac_foo" = yes; then
                   7036:   ac_tr_hdr=HAVE_`echo struct sockaddr_storage | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
                   7037: if false; then
                   7038:        ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "$ac_includes_default"
                   7039: if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
                   7040: 
                   7041: cat >>confdefs.h <<_ACEOF
                   7042: #define HAVE_STRUCT_SOCKADDR_STORAGE 1
                   7043: _ACEOF
                   7044: 
                   7045: 
                   7046: fi
                   7047: 
                   7048: fi
                   7049: 
                   7050: cat >>confdefs.h <<_ACEOF
                   7051: #define $ac_tr_hdr 1
                   7052: _ACEOF
                   7053: 
                   7054: fi
                   7055: 
                   7056: 
                   7057: # Irix 6.5 has getaddrinfo but not the corresponding defines, so use
                   7058: #   builtin getaddrinfo if one of the defines don't exist
                   7059: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether defines needed by getaddrinfo exist" >&5
                   7060: $as_echo_n "checking whether defines needed by getaddrinfo exist... " >&6; }
                   7061: if ${rsync_cv_HAVE_GETADDR_DEFINES+:} false; then :
                   7062:   $as_echo_n "(cached) " >&6
                   7063: else
                   7064: 
                   7065:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7066: /* end confdefs.h.  */
                   7067: 
                   7068:                        #include <sys/types.h>
                   7069:                        #include <sys/socket.h>
                   7070:                        #include <netdb.h>
                   7071:                        #ifdef AI_PASSIVE
                   7072:                        yes
                   7073:                        #endif
                   7074: _ACEOF
                   7075: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7076:   $EGREP "yes" >/dev/null 2>&1; then :
                   7077:   rsync_cv_HAVE_GETADDR_DEFINES=yes
                   7078: else
                   7079:   rsync_cv_HAVE_GETADDR_DEFINES=no
                   7080: fi
                   7081: rm -f conftest*
                   7082: 
                   7083: fi
                   7084: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETADDR_DEFINES" >&5
                   7085: $as_echo "$rsync_cv_HAVE_GETADDR_DEFINES" >&6; }
                   7086: if test x"$rsync_cv_HAVE_GETADDR_DEFINES" = x"yes" -a x"$ac_cv_type_struct_addrinfo" = x"yes"; then
                   7087:        # Tru64 UNIX has getaddrinfo() but has it renamed in libc as
                   7088:        # something else so we must include <netdb.h> to get the
                   7089:        # redefinition.
                   7090:        for ac_func in getaddrinfo
                   7091: do :
                   7092:   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
                   7093: if test "x$ac_cv_func_getaddrinfo" = xyes; then :
                   7094:   cat >>confdefs.h <<_ACEOF
                   7095: #define HAVE_GETADDRINFO 1
                   7096: _ACEOF
                   7097: 
                   7098: else
                   7099:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo by including <netdb.h>" >&5
                   7100: $as_echo_n "checking for getaddrinfo by including <netdb.h>... " >&6; }
                   7101:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7102: /* end confdefs.h.  */
                   7103: #include <sys/types.h>
                   7104:                #include <sys/socket.h>
                   7105:                #include <netdb.h>
                   7106: int
                   7107: main ()
                   7108: {
                   7109: getaddrinfo(NULL, NULL, NULL, NULL);
                   7110:   ;
                   7111:   return 0;
                   7112: }
                   7113: _ACEOF
                   7114: if ac_fn_c_try_link "$LINENO"; then :
                   7115:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7116: $as_echo "yes" >&6; }
                   7117: 
                   7118: $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
                   7119: 
                   7120: else
                   7121:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7122: $as_echo "no" >&6; }
                   7123:                        case " $LIBOBJS " in
                   7124:   *" lib/getaddrinfo.$ac_objext "* ) ;;
                   7125:   *) LIBOBJS="$LIBOBJS lib/getaddrinfo.$ac_objext"
                   7126:  ;;
                   7127: esac
                   7128: 
                   7129: fi
                   7130: rm -f core conftest.err conftest.$ac_objext \
                   7131:     conftest$ac_exeext conftest.$ac_ext
                   7132: fi
                   7133: done
                   7134: 
                   7135: else
                   7136:        case " $LIBOBJS " in
                   7137:   *" lib/getaddrinfo.$ac_objext "* ) ;;
                   7138:   *) LIBOBJS="$LIBOBJS lib/getaddrinfo.$ac_objext"
                   7139:  ;;
                   7140: esac
                   7141: 
                   7142: fi
                   7143: 
                   7144: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
                   7145: #include <sys/types.h>
                   7146: #include <sys/socket.h>
                   7147: 
                   7148: "
                   7149: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
                   7150: 
                   7151: $as_echo "#define HAVE_SOCKADDR_LEN 1" >>confdefs.h
                   7152: 
                   7153: fi
                   7154: 
                   7155: 
                   7156: ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
                   7157: #include <sys/types.h>
                   7158: #include <sys/socket.h>
                   7159: #include <netinet/in.h>
                   7160: 
                   7161: "
                   7162: if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
                   7163: 
                   7164: $as_echo "#define HAVE_SOCKADDR_IN_LEN 1" >>confdefs.h
                   7165: 
                   7166: fi
                   7167: 
                   7168: 
                   7169: ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "
                   7170: #include <sys/types.h>
                   7171: #include <sys/socket.h>
                   7172: #include <netinet/in.h>
                   7173: 
                   7174: "
                   7175: if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
                   7176: 
                   7177: $as_echo "#define HAVE_SOCKADDR_UN_LEN 1" >>confdefs.h
                   7178: 
                   7179: fi
                   7180: 
                   7181: 
                   7182: ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "
                   7183: #include <sys/types.h>
                   7184: #include <sys/socket.h>
                   7185: #include <netinet/in.h>
                   7186: 
                   7187: "
                   7188: if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
                   7189: 
                   7190: $as_echo "#define HAVE_SOCKADDR_IN6_SCOPE_ID 1" >>confdefs.h
                   7191: 
                   7192: fi
                   7193: 
                   7194: 
                   7195: 
                   7196: 
                   7197: cv=`echo "struct stat64" | sed 'y%./+- %__p__%'`
                   7198: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat64" >&5
                   7199: $as_echo_n "checking for struct stat64... " >&6; }
                   7200: if eval \${ac_cv_type_$cv+:} false; then :
                   7201:   $as_echo_n "(cached) " >&6
                   7202: else
                   7203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7204: /* end confdefs.h.  */
                   7205: 
                   7206: $ac_includes_default
                   7207: #include <stdio.h>
                   7208: #if HAVE_SYS_TYPES_H
                   7209: # include <sys/types.h>
                   7210: #endif
                   7211: #if HAVE_SYS_STAT_H
                   7212: # include <sys/stat.h>
                   7213: #endif
                   7214: #if STDC_HEADERS
                   7215: # include <stdlib.h>
                   7216: # include <stddef.h>
                   7217: #else
                   7218: # if HAVE_STDLIB_H
                   7219: #  include <stdlib.h>
                   7220: # endif
                   7221: #endif
                   7222: 
                   7223: int
                   7224: main ()
                   7225: {
                   7226: struct stat64 foo;
                   7227:   ;
                   7228:   return 0;
                   7229: }
                   7230: _ACEOF
                   7231: if ac_fn_c_try_compile "$LINENO"; then :
                   7232:   eval "ac_cv_type_$cv=yes"
                   7233: else
                   7234:   eval "ac_cv_type_$cv=no"
                   7235: fi
                   7236: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7237: fi
                   7238: ac_foo=`eval echo \\$ac_cv_type_$cv`
                   7239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_foo" >&5
                   7240: $as_echo "$ac_foo" >&6; }
                   7241: if test "$ac_foo" = yes; then
                   7242:   ac_tr_hdr=HAVE_`echo struct stat64 | sed 'y%abcdefghijklmnopqrstuvwxyz./- %ABCDEFGHIJKLMNOPQRSTUVWXYZ____%'`
                   7243: if false; then
                   7244:        ac_fn_c_check_type "$LINENO" "struct stat64" "ac_cv_type_struct_stat64" "$ac_includes_default"
                   7245: if test "x$ac_cv_type_struct_stat64" = xyes; then :
                   7246: 
                   7247: cat >>confdefs.h <<_ACEOF
                   7248: #define HAVE_STRUCT_STAT64 1
                   7249: _ACEOF
                   7250: 
                   7251: 
                   7252: fi
                   7253: 
                   7254: fi
                   7255: 
                   7256: cat >>confdefs.h <<_ACEOF
                   7257: #define $ac_tr_hdr 1
                   7258: _ACEOF
                   7259: 
                   7260: fi
                   7261: 
                   7262: 
                   7263: # if we can't find strcasecmp, look in -lresolv (for Unixware at least)
                   7264: #
                   7265: for ac_func in strcasecmp
                   7266: do :
                   7267:   ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
                   7268: if test "x$ac_cv_func_strcasecmp" = xyes; then :
                   7269:   cat >>confdefs.h <<_ACEOF
                   7270: #define HAVE_STRCASECMP 1
                   7271: _ACEOF
                   7272: 
                   7273: fi
                   7274: done
                   7275: 
                   7276: if test x"$ac_cv_func_strcasecmp" = x"no"; then
                   7277:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolv" >&5
                   7278: $as_echo_n "checking for strcasecmp in -lresolv... " >&6; }
                   7279: if ${ac_cv_lib_resolv_strcasecmp+:} false; then :
                   7280:   $as_echo_n "(cached) " >&6
                   7281: else
                   7282:   ac_check_lib_save_LIBS=$LIBS
                   7283: LIBS="-lresolv  $LIBS"
                   7284: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7285: /* end confdefs.h.  */
                   7286: 
                   7287: /* Override any GCC internal prototype to avoid an error.
                   7288:    Use char because int might match the return type of a GCC
                   7289:    builtin and then its argument prototype would still apply.  */
                   7290: #ifdef __cplusplus
                   7291: extern "C"
                   7292: #endif
                   7293: char strcasecmp ();
                   7294: int
                   7295: main ()
                   7296: {
                   7297: return strcasecmp ();
                   7298:   ;
                   7299:   return 0;
                   7300: }
                   7301: _ACEOF
                   7302: if ac_fn_c_try_link "$LINENO"; then :
                   7303:   ac_cv_lib_resolv_strcasecmp=yes
                   7304: else
                   7305:   ac_cv_lib_resolv_strcasecmp=no
                   7306: fi
                   7307: rm -f core conftest.err conftest.$ac_objext \
                   7308:     conftest$ac_exeext conftest.$ac_ext
                   7309: LIBS=$ac_check_lib_save_LIBS
                   7310: fi
                   7311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_strcasecmp" >&5
                   7312: $as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; }
                   7313: if test "x$ac_cv_lib_resolv_strcasecmp" = xyes; then :
                   7314:   cat >>confdefs.h <<_ACEOF
                   7315: #define HAVE_LIBRESOLV 1
                   7316: _ACEOF
                   7317: 
                   7318:   LIBS="-lresolv $LIBS"
                   7319: 
                   7320: fi
                   7321: 
                   7322: fi
                   7323: 
                   7324: for ac_func in aclsort
                   7325: do :
                   7326:   ac_fn_c_check_func "$LINENO" "aclsort" "ac_cv_func_aclsort"
                   7327: if test "x$ac_cv_func_aclsort" = xyes; then :
                   7328:   cat >>confdefs.h <<_ACEOF
                   7329: #define HAVE_ACLSORT 1
                   7330: _ACEOF
                   7331: 
                   7332: fi
                   7333: done
                   7334: 
                   7335: if test x"$ac_cv_func_aclsort" = x"no"; then
                   7336:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for aclsort in -lsec" >&5
                   7337: $as_echo_n "checking for aclsort in -lsec... " >&6; }
                   7338: if ${ac_cv_lib_sec_aclsort+:} false; then :
                   7339:   $as_echo_n "(cached) " >&6
                   7340: else
                   7341:   ac_check_lib_save_LIBS=$LIBS
                   7342: LIBS="-lsec  $LIBS"
                   7343: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7344: /* end confdefs.h.  */
                   7345: 
                   7346: /* Override any GCC internal prototype to avoid an error.
                   7347:    Use char because int might match the return type of a GCC
                   7348:    builtin and then its argument prototype would still apply.  */
                   7349: #ifdef __cplusplus
                   7350: extern "C"
                   7351: #endif
                   7352: char aclsort ();
                   7353: int
                   7354: main ()
                   7355: {
                   7356: return aclsort ();
                   7357:   ;
                   7358:   return 0;
                   7359: }
                   7360: _ACEOF
                   7361: if ac_fn_c_try_link "$LINENO"; then :
                   7362:   ac_cv_lib_sec_aclsort=yes
                   7363: else
                   7364:   ac_cv_lib_sec_aclsort=no
                   7365: fi
                   7366: rm -f core conftest.err conftest.$ac_objext \
                   7367:     conftest$ac_exeext conftest.$ac_ext
                   7368: LIBS=$ac_check_lib_save_LIBS
                   7369: fi
                   7370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sec_aclsort" >&5
                   7371: $as_echo "$ac_cv_lib_sec_aclsort" >&6; }
                   7372: if test "x$ac_cv_lib_sec_aclsort" = xyes; then :
                   7373:   cat >>confdefs.h <<_ACEOF
                   7374: #define HAVE_LIBSEC 1
                   7375: _ACEOF
                   7376: 
                   7377:   LIBS="-lsec $LIBS"
                   7378: 
                   7379: fi
                   7380: 
                   7381: fi
                   7382: 
                   7383: 
                   7384: 
                   7385: 
                   7386: 
                   7387:   for ac_header in $ac_header_list
                   7388: do :
                   7389:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7390: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7391: "
                   7392: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7393:   cat >>confdefs.h <<_ACEOF
                   7394: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7395: _ACEOF
                   7396: 
                   7397: fi
                   7398: 
                   7399: done
                   7400: 
                   7401: 
                   7402: 
                   7403: 
                   7404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
                   7405: $as_echo_n "checking whether utime accepts a null argument... " >&6; }
                   7406: if ${ac_cv_func_utime_null+:} false; then :
                   7407:   $as_echo_n "(cached) " >&6
                   7408: else
                   7409:   rm -f conftest.data; >conftest.data
                   7410: # Sequent interprets utime(file, 0) to mean use start of epoch.  Wrong.
                   7411: if test "$cross_compiling" = yes; then :
                   7412:   ac_cv_func_utime_null='guessing yes'
                   7413: else
                   7414:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7415: /* end confdefs.h.  */
                   7416: $ac_includes_default
                   7417:               #ifdef HAVE_UTIME_H
                   7418:               # include <utime.h>
                   7419:               #endif
                   7420: int
                   7421: main ()
                   7422: {
                   7423: struct stat s, t;
                   7424:   return ! (stat ("conftest.data", &s) == 0
                   7425:            && utime ("conftest.data", 0) == 0
                   7426:            && stat ("conftest.data", &t) == 0
                   7427:            && t.st_mtime >= s.st_mtime
                   7428:            && t.st_mtime - s.st_mtime < 120);
                   7429:   ;
                   7430:   return 0;
                   7431: }
                   7432: _ACEOF
                   7433: if ac_fn_c_try_run "$LINENO"; then :
                   7434:   ac_cv_func_utime_null=yes
                   7435: else
                   7436:   ac_cv_func_utime_null=no
                   7437: fi
                   7438: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7439:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7440: fi
                   7441: 
                   7442: fi
                   7443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
                   7444: $as_echo "$ac_cv_func_utime_null" >&6; }
                   7445: if test "x$ac_cv_func_utime_null" != xno; then
                   7446:   ac_cv_func_utime_null=yes
                   7447: 
                   7448: $as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
                   7449: 
                   7450: fi
                   7451: rm -f conftest.data
                   7452: 
                   7453: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   7454: if test "x$ac_cv_type_size_t" = xyes; then :
                   7455: 
                   7456: else
                   7457: 
                   7458: cat >>confdefs.h <<_ACEOF
                   7459: #define size_t unsigned int
                   7460: _ACEOF
                   7461: 
                   7462: fi
                   7463: 
                   7464: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
                   7465: # for constant arguments.  Useless!
                   7466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
                   7467: $as_echo_n "checking for working alloca.h... " >&6; }
                   7468: if ${ac_cv_working_alloca_h+:} false; then :
                   7469:   $as_echo_n "(cached) " >&6
                   7470: else
                   7471:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7472: /* end confdefs.h.  */
                   7473: #include <alloca.h>
                   7474: int
                   7475: main ()
                   7476: {
                   7477: char *p = (char *) alloca (2 * sizeof (int));
                   7478:                          if (p) return 0;
                   7479:   ;
                   7480:   return 0;
                   7481: }
                   7482: _ACEOF
                   7483: if ac_fn_c_try_link "$LINENO"; then :
                   7484:   ac_cv_working_alloca_h=yes
                   7485: else
                   7486:   ac_cv_working_alloca_h=no
                   7487: fi
                   7488: rm -f core conftest.err conftest.$ac_objext \
                   7489:     conftest$ac_exeext conftest.$ac_ext
                   7490: fi
                   7491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
                   7492: $as_echo "$ac_cv_working_alloca_h" >&6; }
                   7493: if test $ac_cv_working_alloca_h = yes; then
                   7494: 
                   7495: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
                   7496: 
                   7497: fi
                   7498: 
                   7499: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
                   7500: $as_echo_n "checking for alloca... " >&6; }
                   7501: if ${ac_cv_func_alloca_works+:} false; then :
                   7502:   $as_echo_n "(cached) " >&6
                   7503: else
                   7504:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7505: /* end confdefs.h.  */
                   7506: #ifdef __GNUC__
                   7507: # define alloca __builtin_alloca
                   7508: #else
                   7509: # ifdef _MSC_VER
                   7510: #  include <malloc.h>
                   7511: #  define alloca _alloca
                   7512: # else
                   7513: #  ifdef HAVE_ALLOCA_H
                   7514: #   include <alloca.h>
                   7515: #  else
                   7516: #   ifdef _AIX
                   7517:  #pragma alloca
                   7518: #   else
                   7519: #    ifndef alloca /* predefined by HP cc +Olibcalls */
                   7520: void *alloca (size_t);
                   7521: #    endif
                   7522: #   endif
                   7523: #  endif
                   7524: # endif
                   7525: #endif
                   7526: 
                   7527: int
                   7528: main ()
                   7529: {
                   7530: char *p = (char *) alloca (1);
                   7531:                                    if (p) return 0;
                   7532:   ;
                   7533:   return 0;
                   7534: }
                   7535: _ACEOF
                   7536: if ac_fn_c_try_link "$LINENO"; then :
                   7537:   ac_cv_func_alloca_works=yes
                   7538: else
                   7539:   ac_cv_func_alloca_works=no
                   7540: fi
                   7541: rm -f core conftest.err conftest.$ac_objext \
                   7542:     conftest$ac_exeext conftest.$ac_ext
                   7543: fi
                   7544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
                   7545: $as_echo "$ac_cv_func_alloca_works" >&6; }
                   7546: 
                   7547: if test $ac_cv_func_alloca_works = yes; then
                   7548: 
                   7549: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
                   7550: 
                   7551: else
                   7552:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
                   7553: # that cause trouble.  Some versions do not even contain alloca or
                   7554: # contain a buggy version.  If you still want to use their alloca,
                   7555: # use ar to extract alloca.o from them instead of compiling alloca.c.
                   7556: 
                   7557: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
                   7558: 
                   7559: $as_echo "#define C_ALLOCA 1" >>confdefs.h
                   7560: 
                   7561: 
                   7562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
                   7563: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
                   7564: if ${ac_cv_os_cray+:} false; then :
                   7565:   $as_echo_n "(cached) " >&6
                   7566: else
                   7567:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7568: /* end confdefs.h.  */
                   7569: #if defined CRAY && ! defined CRAY2
                   7570: webecray
                   7571: #else
                   7572: wenotbecray
                   7573: #endif
                   7574: 
                   7575: _ACEOF
                   7576: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7577:   $EGREP "webecray" >/dev/null 2>&1; then :
                   7578:   ac_cv_os_cray=yes
                   7579: else
                   7580:   ac_cv_os_cray=no
                   7581: fi
                   7582: rm -f conftest*
                   7583: 
                   7584: fi
                   7585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
                   7586: $as_echo "$ac_cv_os_cray" >&6; }
                   7587: if test $ac_cv_os_cray = yes; then
                   7588:   for ac_func in _getb67 GETB67 getb67; do
                   7589:     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7590: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7591: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7592: 
                   7593: cat >>confdefs.h <<_ACEOF
                   7594: #define CRAY_STACKSEG_END $ac_func
                   7595: _ACEOF
                   7596: 
                   7597:     break
                   7598: fi
                   7599: 
                   7600:   done
                   7601: fi
                   7602: 
                   7603: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
                   7604: $as_echo_n "checking stack direction for C alloca... " >&6; }
                   7605: if ${ac_cv_c_stack_direction+:} false; then :
                   7606:   $as_echo_n "(cached) " >&6
                   7607: else
                   7608:   if test "$cross_compiling" = yes; then :
                   7609:   ac_cv_c_stack_direction=0
                   7610: else
                   7611:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7612: /* end confdefs.h.  */
                   7613: $ac_includes_default
                   7614: int
                   7615: find_stack_direction ()
                   7616: {
                   7617:   static char *addr = 0;
                   7618:   auto char dummy;
                   7619:   if (addr == 0)
                   7620:     {
                   7621:       addr = &dummy;
                   7622:       return find_stack_direction ();
                   7623:     }
                   7624:   else
                   7625:     return (&dummy > addr) ? 1 : -1;
                   7626: }
                   7627: 
                   7628: int
                   7629: main ()
                   7630: {
                   7631:   return find_stack_direction () < 0;
                   7632: }
                   7633: _ACEOF
                   7634: if ac_fn_c_try_run "$LINENO"; then :
                   7635:   ac_cv_c_stack_direction=1
                   7636: else
                   7637:   ac_cv_c_stack_direction=-1
                   7638: fi
                   7639: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7640:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7641: fi
                   7642: 
                   7643: fi
                   7644: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
                   7645: $as_echo "$ac_cv_c_stack_direction" >&6; }
                   7646: cat >>confdefs.h <<_ACEOF
                   7647: #define STACK_DIRECTION $ac_cv_c_stack_direction
                   7648: _ACEOF
                   7649: 
                   7650: 
                   7651: fi
                   7652: 
                   7653: for ac_func in waitpid wait4 getcwd strdup chown chmod lchmod mknod mkfifo \
                   7654:     fchmod fstat ftruncate strchr readlink link utime utimes lutimes strftime \
                   7655:     memmove lchown vsnprintf snprintf vasprintf asprintf setsid strpbrk \
                   7656:     strlcat strlcpy strtol mallinfo getgroups setgroups geteuid getegid \
                   7657:     setlocale setmode open64 lseek64 mkstemp64 mtrace va_copy __va_copy \
                   7658:     seteuid strerror putenv iconv_open locale_charset nl_langinfo getxattr \
1.1.1.2 ! misho    7659:     extattr_get_link sigaction sigprocmask setattrlist getgrouplist \
        !          7660:     initgroups utimensat posix_fallocate attropen setvbuf
1.1       misho    7661: do :
                   7662:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7663: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7664: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7665:   cat >>confdefs.h <<_ACEOF
                   7666: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   7667: _ACEOF
                   7668: 
                   7669: fi
                   7670: done
                   7671: 
                   7672: 
                   7673: if test x"$ac_cv_func_iconv_open" != x"yes"; then
                   7674:     ac_fn_c_check_func "$LINENO" "libiconv_open" "ac_cv_func_libiconv_open"
                   7675: if test "x$ac_cv_func_libiconv_open" = xyes; then :
                   7676:   ac_cv_func_iconv_open=yes; $as_echo "#define HAVE_ICONV_OPEN 1" >>confdefs.h
                   7677: 
                   7678: fi
                   7679: 
                   7680: fi
                   7681: 
1.1.1.2 ! misho    7682: 
        !          7683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for useable fallocate" >&5
        !          7684: $as_echo_n "checking for useable fallocate... " >&6; }
        !          7685: if ${rsync_cv_have_fallocate+:} false; then :
        !          7686:   $as_echo_n "(cached) " >&6
        !          7687: else
        !          7688: 
        !          7689: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7690: /* end confdefs.h.  */
        !          7691: #include <fcntl.h>
        !          7692: #include <sys/types.h>
        !          7693: int
        !          7694: main ()
        !          7695: {
        !          7696: fallocate(0, 0, 0, 0);
        !          7697:   ;
        !          7698:   return 0;
        !          7699: }
        !          7700: _ACEOF
        !          7701: if ac_fn_c_try_link "$LINENO"; then :
        !          7702:   rsync_cv_have_fallocate=yes
        !          7703: else
        !          7704:   rsync_cv_have_fallocate=no
        !          7705: fi
        !          7706: rm -f core conftest.err conftest.$ac_objext \
        !          7707:     conftest$ac_exeext conftest.$ac_ext
        !          7708: fi
        !          7709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_fallocate" >&5
        !          7710: $as_echo "$rsync_cv_have_fallocate" >&6; }
        !          7711: if test x"$rsync_cv_have_fallocate" = x"yes"; then
        !          7712: 
        !          7713: $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
        !          7714: 
        !          7715: fi
        !          7716: 
        !          7717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
        !          7718: $as_echo_n "checking for SYS_fallocate... " >&6; }
        !          7719: if ${rsync_cv_have_sys_fallocate+:} false; then :
        !          7720:   $as_echo_n "(cached) " >&6
        !          7721: else
        !          7722: 
        !          7723: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7724: /* end confdefs.h.  */
        !          7725: #include <sys/syscall.h>
        !          7726: #include <sys/types.h>
        !          7727: int
        !          7728: main ()
        !          7729: {
        !          7730: syscall(SYS_fallocate, 0, 0, (loff_t)0, (loff_t)0);
        !          7731:   ;
        !          7732:   return 0;
        !          7733: }
        !          7734: _ACEOF
        !          7735: if ac_fn_c_try_compile "$LINENO"; then :
        !          7736:   rsync_cv_have_sys_fallocate=yes
        !          7737: else
        !          7738:   rsync_cv_have_sys_fallocate=no
        !          7739: fi
        !          7740: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          7741: fi
        !          7742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_have_sys_fallocate" >&5
        !          7743: $as_echo "$rsync_cv_have_sys_fallocate" >&6; }
        !          7744: if test x"$rsync_cv_have_sys_fallocate" = x"yes"; then
        !          7745: 
        !          7746: $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
        !          7747: 
        !          7748: fi
        !          7749: 
        !          7750: if test x"$ac_cv_func_posix_fallocate" = x"yes"; then
        !          7751:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fallocate is efficient" >&5
        !          7752: $as_echo_n "checking whether posix_fallocate is efficient... " >&6; }
        !          7753:     case $host_os in
        !          7754:     *cygwin*)
        !          7755:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          7756: $as_echo "yes" >&6; }
        !          7757: 
        !          7758: $as_echo "#define HAVE_EFFICIENT_POSIX_FALLOCATE 1" >>confdefs.h
        !          7759: 
        !          7760:        ;;
        !          7761:     *)
        !          7762:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          7763: $as_echo "no" >&6; }
        !          7764:        ;;
        !          7765:     esac
        !          7766: fi
        !          7767: 
        !          7768: 
1.1       misho    7769: for ac_func in getpgrp tcgetpgrp
                   7770: do :
                   7771:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7772: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7773: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7774:   cat >>confdefs.h <<_ACEOF
                   7775: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   7776: _ACEOF
                   7777: 
                   7778: fi
                   7779: done
                   7780: 
                   7781: if test $ac_cv_func_getpgrp = yes; then
                   7782:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
                   7783: $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
                   7784: if ${ac_cv_func_getpgrp_void+:} false; then :
                   7785:   $as_echo_n "(cached) " >&6
                   7786: else
                   7787:   # Use it with a single arg.
                   7788: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7789: /* end confdefs.h.  */
                   7790: $ac_includes_default
                   7791: int
                   7792: main ()
                   7793: {
                   7794: getpgrp (0);
                   7795:   ;
                   7796:   return 0;
                   7797: }
                   7798: _ACEOF
                   7799: if ac_fn_c_try_compile "$LINENO"; then :
                   7800:   ac_cv_func_getpgrp_void=no
                   7801: else
                   7802:   ac_cv_func_getpgrp_void=yes
                   7803: fi
                   7804: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7805: 
                   7806: fi
                   7807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5
                   7808: $as_echo "$ac_cv_func_getpgrp_void" >&6; }
                   7809: if test $ac_cv_func_getpgrp_void = yes; then
                   7810: 
                   7811: $as_echo "#define GETPGRP_VOID 1" >>confdefs.h
                   7812: 
                   7813: fi
                   7814: 
                   7815: fi
                   7816: 
                   7817: # Check whether --enable-iconv-open was given.
                   7818: if test "${enable_iconv_open+set}" = set; then :
                   7819:   enableval=$enable_iconv_open;
                   7820: else
                   7821:   enable_iconv_open=$ac_cv_func_iconv_open
                   7822: fi
                   7823: 
                   7824: 
                   7825: if test x"$enable_iconv_open" != x"no"; then
                   7826: 
                   7827: $as_echo "#define USE_ICONV_OPEN 1" >>confdefs.h
                   7828: 
                   7829: fi
                   7830: 
                   7831: # Check whether --enable-iconv was given.
                   7832: if test "${enable_iconv+set}" = set; then :
                   7833:   enableval=$enable_iconv;
                   7834: else
                   7835:   enable_iconv=$enable_iconv_open
                   7836: fi
                   7837: 
                   7838: 
                   7839: if test x"$enable_iconv" != x"no"; then
                   7840:        if test x"$enable_iconv" = x"yes"; then
                   7841:                $as_echo "#define ICONV_OPTION NULL" >>confdefs.h
                   7842: 
                   7843:        else
                   7844:                cat >>confdefs.h <<_ACEOF
                   7845: #define ICONV_OPTION "$enable_iconv"
                   7846: _ACEOF
                   7847: 
                   7848:        fi
                   7849: 
                   7850: $as_echo "#define UTF8_CHARSET \"UTF-8\"" >>confdefs.h
                   7851: 
                   7852: fi
                   7853: 
                   7854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether chown() modifies symlinks" >&5
                   7855: $as_echo_n "checking whether chown() modifies symlinks... " >&6; }
                   7856: if ${rsync_cv_chown_modifies_symlink+:} false; then :
                   7857:   $as_echo_n "(cached) " >&6
                   7858: else
                   7859: 
                   7860:   if test "$cross_compiling" = yes; then :
                   7861:   rsync_cv_chown_modifies_symlink=no
                   7862: else
                   7863:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7864: /* end confdefs.h.  */
                   7865: 
                   7866: #if HAVE_UNISTD_H
                   7867: # include <unistd.h>
                   7868: #endif
                   7869: #include <stdlib.h>
                   7870: #include <errno.h>
                   7871:     main() {
                   7872:        char const *dangling_symlink = "conftest.dangle";
                   7873:        unlink(dangling_symlink);
                   7874:        if (symlink("conftest.no-such", dangling_symlink) < 0) abort();
                   7875:        if (chown(dangling_symlink, getuid(), getgid()) < 0 && errno == ENOENT) exit(1);
                   7876:        exit(0);
                   7877:     }
                   7878: _ACEOF
                   7879: if ac_fn_c_try_run "$LINENO"; then :
                   7880:   rsync_cv_chown_modifies_symlink=yes
                   7881: else
                   7882:   rsync_cv_chown_modifies_symlink=no
                   7883: fi
                   7884: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7885:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7886: fi
                   7887: 
                   7888: fi
                   7889: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_chown_modifies_symlink" >&5
                   7890: $as_echo "$rsync_cv_chown_modifies_symlink" >&6; }
                   7891: if test $rsync_cv_chown_modifies_symlink = yes; then
                   7892: 
                   7893: $as_echo "#define CHOWN_MODIFIES_SYMLINK 1" >>confdefs.h
                   7894: 
                   7895: fi
                   7896: 
                   7897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link() can hard-link symlinks" >&5
                   7898: $as_echo_n "checking whether link() can hard-link symlinks... " >&6; }
                   7899: if ${rsync_cv_can_hardlink_symlink+:} false; then :
                   7900:   $as_echo_n "(cached) " >&6
                   7901: else
                   7902: 
                   7903:   if test "$cross_compiling" = yes; then :
                   7904:   rsync_cv_can_hardlink_symlink=no
                   7905: else
                   7906:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7907: /* end confdefs.h.  */
                   7908: 
                   7909: #if HAVE_UNISTD_H
                   7910: # include <unistd.h>
                   7911: #endif
                   7912: #include <stdlib.h>
                   7913: #include <errno.h>
                   7914: #define FILENAME "conftest.dangle"
                   7915:     main() {
                   7916:        unlink(FILENAME);
                   7917:        if (symlink("conftest.no-such", FILENAME) < 0) abort();
                   7918:        if (link(FILENAME, FILENAME "2") < 0) exit(1);
                   7919:        exit(0);
                   7920:     }
                   7921: _ACEOF
                   7922: if ac_fn_c_try_run "$LINENO"; then :
                   7923:   rsync_cv_can_hardlink_symlink=yes
                   7924: else
                   7925:   rsync_cv_can_hardlink_symlink=no
                   7926: fi
                   7927: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7928:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7929: fi
                   7930: 
                   7931: fi
                   7932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_can_hardlink_symlink" >&5
                   7933: $as_echo "$rsync_cv_can_hardlink_symlink" >&6; }
                   7934: if test $rsync_cv_can_hardlink_symlink = yes; then
                   7935: 
                   7936: $as_echo "#define CAN_HARDLINK_SYMLINK 1" >>confdefs.h
                   7937: 
                   7938: fi
                   7939: 
                   7940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether link() can hard-link special files" >&5
                   7941: $as_echo_n "checking whether link() can hard-link special files... " >&6; }
                   7942: if ${rsync_cv_can_hardlink_special+:} false; then :
                   7943:   $as_echo_n "(cached) " >&6
                   7944: else
                   7945: 
                   7946:   if test "$cross_compiling" = yes; then :
                   7947:   rsync_cv_can_hardlink_special=no
                   7948: else
                   7949:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7950: /* end confdefs.h.  */
                   7951: 
                   7952: #if HAVE_UNISTD_H
                   7953: # include <unistd.h>
                   7954: #endif
                   7955: #include <stdlib.h>
                   7956: #include <errno.h>
                   7957: #define FILENAME "conftest.fifi"
                   7958:     main() {
                   7959:        unlink(FILENAME);
                   7960:        if (mkfifo(FILENAME, 0777) < 0) abort();
                   7961:        if (link(FILENAME, FILENAME "2") < 0) exit(1);
                   7962:        exit(0);
                   7963:     }
                   7964: _ACEOF
                   7965: if ac_fn_c_try_run "$LINENO"; then :
                   7966:   rsync_cv_can_hardlink_special=yes
                   7967: else
                   7968:   rsync_cv_can_hardlink_special=no
                   7969: fi
                   7970: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7971:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7972: fi
                   7973: 
                   7974: fi
                   7975: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_can_hardlink_special" >&5
                   7976: $as_echo "$rsync_cv_can_hardlink_special" >&6; }
                   7977: if test $rsync_cv_can_hardlink_special = yes; then
                   7978: 
                   7979: $as_echo "#define CAN_HARDLINK_SPECIAL 1" >>confdefs.h
                   7980: 
                   7981: fi
                   7982: 
                   7983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working socketpair" >&5
                   7984: $as_echo_n "checking for working socketpair... " >&6; }
                   7985: if ${rsync_cv_HAVE_SOCKETPAIR+:} false; then :
                   7986:   $as_echo_n "(cached) " >&6
                   7987: else
                   7988: 
                   7989: if test "$cross_compiling" = yes; then :
                   7990:   rsync_cv_HAVE_SOCKETPAIR=cross
                   7991: else
                   7992:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7993: /* end confdefs.h.  */
                   7994: 
                   7995: #include <sys/types.h>
                   7996: #include <sys/socket.h>
                   7997: 
                   7998: main() {
                   7999:        int fd[2];
                   8000: #ifdef __CYGWIN__
                   8001:        exit(1);
                   8002: #else
                   8003:        exit((socketpair(AF_UNIX, SOCK_STREAM, 0, fd) != -1) ? 0 : 1);
                   8004: #endif
                   8005: }
                   8006: _ACEOF
                   8007: if ac_fn_c_try_run "$LINENO"; then :
                   8008:   rsync_cv_HAVE_SOCKETPAIR=yes
                   8009: else
                   8010:   rsync_cv_HAVE_SOCKETPAIR=no
                   8011: fi
                   8012: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8013:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8014: fi
                   8015: 
                   8016: fi
                   8017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_SOCKETPAIR" >&5
                   8018: $as_echo "$rsync_cv_HAVE_SOCKETPAIR" >&6; }
                   8019: if test x"$rsync_cv_HAVE_SOCKETPAIR" = x"yes"; then
                   8020: 
                   8021: $as_echo "#define HAVE_SOCKETPAIR 1" >>confdefs.h
                   8022: 
                   8023: fi
                   8024: 
1.1.1.2 ! misho    8025: for ac_func in getpass
        !          8026: do :
        !          8027:   ac_fn_c_check_func "$LINENO" "getpass" "ac_cv_func_getpass"
        !          8028: if test "x$ac_cv_func_getpass" = xyes; then :
        !          8029:   cat >>confdefs.h <<_ACEOF
        !          8030: #define HAVE_GETPASS 1
        !          8031: _ACEOF
        !          8032: 
        !          8033: else
        !          8034:   case " $LIBOBJS " in
        !          8035:   *" lib/getpass.$ac_objext "* ) ;;
        !          8036:   *) LIBOBJS="$LIBOBJS lib/getpass.$ac_objext"
        !          8037:  ;;
        !          8038: esac
        !          8039: 
        !          8040: fi
        !          8041: done
        !          8042: 
        !          8043: 
1.1       misho    8044: if test x"$with_included_popt" != x"yes"; then
                   8045:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poptGetContext in -lpopt" >&5
                   8046: $as_echo_n "checking for poptGetContext in -lpopt... " >&6; }
                   8047: if ${ac_cv_lib_popt_poptGetContext+:} false; then :
                   8048:   $as_echo_n "(cached) " >&6
                   8049: else
                   8050:   ac_check_lib_save_LIBS=$LIBS
                   8051: LIBS="-lpopt  $LIBS"
                   8052: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8053: /* end confdefs.h.  */
                   8054: 
                   8055: /* Override any GCC internal prototype to avoid an error.
                   8056:    Use char because int might match the return type of a GCC
                   8057:    builtin and then its argument prototype would still apply.  */
                   8058: #ifdef __cplusplus
                   8059: extern "C"
                   8060: #endif
                   8061: char poptGetContext ();
                   8062: int
                   8063: main ()
                   8064: {
                   8065: return poptGetContext ();
                   8066:   ;
                   8067:   return 0;
                   8068: }
                   8069: _ACEOF
                   8070: if ac_fn_c_try_link "$LINENO"; then :
                   8071:   ac_cv_lib_popt_poptGetContext=yes
                   8072: else
                   8073:   ac_cv_lib_popt_poptGetContext=no
                   8074: fi
                   8075: rm -f core conftest.err conftest.$ac_objext \
                   8076:     conftest$ac_exeext conftest.$ac_ext
                   8077: LIBS=$ac_check_lib_save_LIBS
                   8078: fi
                   8079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_popt_poptGetContext" >&5
                   8080: $as_echo "$ac_cv_lib_popt_poptGetContext" >&6; }
                   8081: if test "x$ac_cv_lib_popt_poptGetContext" = xyes; then :
                   8082:   cat >>confdefs.h <<_ACEOF
                   8083: #define HAVE_LIBPOPT 1
                   8084: _ACEOF
                   8085: 
                   8086:   LIBS="-lpopt $LIBS"
                   8087: 
                   8088: else
                   8089:   with_included_popt=yes
                   8090: fi
                   8091: 
                   8092: fi
                   8093: if test x"$ac_cv_header_popt_popt_h" = x"yes"; then
                   8094:     # If the system has /usr/include/popt/popt.h, we enable the
                   8095:     # included popt because an attempt to "#include <popt/popt.h>"
                   8096:     # would use our included header file anyway (due to -I.), and
                   8097:     # might conflict with the system popt.
                   8098:     with_included_popt=yes
                   8099: elif test x"$ac_cv_header_popt_h" != x"yes"; then
                   8100:     with_included_popt=yes
                   8101: fi
                   8102: 
                   8103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use included libpopt" >&5
                   8104: $as_echo_n "checking whether to use included libpopt... " >&6; }
                   8105: if test x"$with_included_popt" = x"yes"; then
                   8106:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/popt" >&5
                   8107: $as_echo "$srcdir/popt" >&6; }
                   8108:     BUILD_POPT='$(popt_OBJS)'
                   8109:     CFLAGS="$CFLAGS -I$srcdir/popt"
                   8110:     if test x"$ALLOCA" != x
                   8111:     then
                   8112:        # this can be removed when/if we add an included alloca.c;
                   8113:        #  see autoconf documentation on AC_FUNC_ALLOCA
                   8114:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: included libpopt will use malloc, not alloca (which wastes a small amount of memory)" >&5
                   8115: $as_echo "$as_me: WARNING: included libpopt will use malloc, not alloca (which wastes a small amount of memory)" >&2;}
                   8116:     fi
                   8117: else
                   8118:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8119: $as_echo "no" >&6; }
                   8120: fi
                   8121: 
1.1.1.2 ! misho    8122: # We default to using our zlib unless --with-included-zlib=no is given.
        !          8123: if test x"$with_included_zlib" != x"no"; then
        !          8124:     with_included_zlib=yes
        !          8125: elif test x"$ac_cv_header_zlib_h" != x"yes"; then
        !          8126:     with_included_zlib=yes
        !          8127: fi
        !          8128: if test x"$with_included_zlib" != x"yes"; then
        !          8129:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflateParams in -lz" >&5
        !          8130: $as_echo_n "checking for deflateParams in -lz... " >&6; }
        !          8131: if ${ac_cv_lib_z_deflateParams+:} false; then :
        !          8132:   $as_echo_n "(cached) " >&6
        !          8133: else
        !          8134:   ac_check_lib_save_LIBS=$LIBS
        !          8135: LIBS="-lz  $LIBS"
        !          8136: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8137: /* end confdefs.h.  */
        !          8138: 
        !          8139: /* Override any GCC internal prototype to avoid an error.
        !          8140:    Use char because int might match the return type of a GCC
        !          8141:    builtin and then its argument prototype would still apply.  */
        !          8142: #ifdef __cplusplus
        !          8143: extern "C"
        !          8144: #endif
        !          8145: char deflateParams ();
        !          8146: int
        !          8147: main ()
        !          8148: {
        !          8149: return deflateParams ();
        !          8150:   ;
        !          8151:   return 0;
        !          8152: }
        !          8153: _ACEOF
        !          8154: if ac_fn_c_try_link "$LINENO"; then :
        !          8155:   ac_cv_lib_z_deflateParams=yes
        !          8156: else
        !          8157:   ac_cv_lib_z_deflateParams=no
        !          8158: fi
        !          8159: rm -f core conftest.err conftest.$ac_objext \
        !          8160:     conftest$ac_exeext conftest.$ac_ext
        !          8161: LIBS=$ac_check_lib_save_LIBS
        !          8162: fi
        !          8163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflateParams" >&5
        !          8164: $as_echo "$ac_cv_lib_z_deflateParams" >&6; }
        !          8165: if test "x$ac_cv_lib_z_deflateParams" = xyes; then :
        !          8166:   cat >>confdefs.h <<_ACEOF
        !          8167: #define HAVE_LIBZ 1
        !          8168: _ACEOF
        !          8169: 
        !          8170:   LIBS="-lz $LIBS"
        !          8171: 
        !          8172: else
        !          8173:   with_included_zlib=yes
        !          8174: fi
        !          8175: 
        !          8176: fi
        !          8177: 
        !          8178: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use included zlib" >&5
        !          8179: $as_echo_n "checking whether to use included zlib... " >&6; }
        !          8180: if test x"$with_included_zlib" = x"yes"; then
        !          8181:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $srcdir/zlib" >&5
        !          8182: $as_echo "$srcdir/zlib" >&6; }
        !          8183:     BUILD_ZLIB='$(zlib_OBJS)'
        !          8184:     CFLAGS="$CFLAGS -I$srcdir/zlib"
        !          8185: else
        !          8186:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8187: $as_echo "no" >&6; }
        !          8188: fi
        !          8189: 
1.1       misho    8190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned char" >&5
                   8191: $as_echo_n "checking for unsigned char... " >&6; }
                   8192: if ${rsync_cv_SIGNED_CHAR_OK+:} false; then :
                   8193:   $as_echo_n "(cached) " >&6
                   8194: else
                   8195: 
                   8196: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8197: /* end confdefs.h.  */
                   8198: 
                   8199: int
                   8200: main ()
                   8201: {
                   8202: signed char *s = ""
                   8203:   ;
                   8204:   return 0;
                   8205: }
                   8206: _ACEOF
                   8207: if ac_fn_c_try_compile "$LINENO"; then :
                   8208:   rsync_cv_SIGNED_CHAR_OK=yes
                   8209: else
                   8210:   rsync_cv_SIGNED_CHAR_OK=no
                   8211: fi
                   8212: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8213: fi
                   8214: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_SIGNED_CHAR_OK" >&5
                   8215: $as_echo "$rsync_cv_SIGNED_CHAR_OK" >&6; }
                   8216: if test x"$rsync_cv_SIGNED_CHAR_OK" = x"yes"; then
                   8217: 
                   8218: $as_echo "#define SIGNED_CHAR_OK 1" >>confdefs.h
                   8219: 
                   8220: fi
                   8221: 
                   8222: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken readdir" >&5
                   8223: $as_echo_n "checking for broken readdir... " >&6; }
                   8224: if ${rsync_cv_HAVE_BROKEN_READDIR+:} false; then :
                   8225:   $as_echo_n "(cached) " >&6
                   8226: else
                   8227: 
                   8228: if test "$cross_compiling" = yes; then :
                   8229:   rsync_cv_HAVE_BROKEN_READDIR=cross
                   8230: else
                   8231:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8232: /* end confdefs.h.  */
                   8233: #include <sys/types.h>
                   8234: #include <dirent.h>
                   8235: main() { struct dirent *di; DIR *d = opendir("."); di = readdir(d);
                   8236: if (di && di->d_name[-2] == '.' && di->d_name[-1] == 0 &&
                   8237: di->d_name[0] == 0) exit(0); exit(1);}
                   8238: _ACEOF
                   8239: if ac_fn_c_try_run "$LINENO"; then :
                   8240:   rsync_cv_HAVE_BROKEN_READDIR=yes
                   8241: else
                   8242:   rsync_cv_HAVE_BROKEN_READDIR=no
                   8243: fi
                   8244: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8245:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8246: fi
                   8247: 
                   8248: fi
                   8249: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_BROKEN_READDIR" >&5
                   8250: $as_echo "$rsync_cv_HAVE_BROKEN_READDIR" >&6; }
                   8251: if test x"$rsync_cv_HAVE_BROKEN_READDIR" = x"yes"; then
                   8252: 
                   8253: $as_echo "#define HAVE_BROKEN_READDIR 1" >>confdefs.h
                   8254: 
                   8255: fi
                   8256: 
                   8257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimbuf" >&5
                   8258: $as_echo_n "checking for utimbuf... " >&6; }
                   8259: if ${rsync_cv_HAVE_STRUCT_UTIMBUF+:} false; then :
                   8260:   $as_echo_n "(cached) " >&6
                   8261: else
                   8262: 
                   8263: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8264: /* end confdefs.h.  */
                   8265: #include <sys/types.h>
                   8266: #include <utime.h>
                   8267: int
                   8268: main ()
                   8269: {
                   8270: struct utimbuf tbuf;  tbuf.actime = 0; tbuf.modtime = 1; exit(utime("foo.c",&tbuf));
                   8271:   ;
                   8272:   return 0;
                   8273: }
                   8274: _ACEOF
                   8275: if ac_fn_c_try_compile "$LINENO"; then :
                   8276:   rsync_cv_HAVE_STRUCT_UTIMBUF=yes
                   8277: else
                   8278:   rsync_cv_HAVE_STRUCT_UTIMBUF=no
                   8279: fi
                   8280: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8281: fi
                   8282: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_STRUCT_UTIMBUF" >&5
                   8283: $as_echo "$rsync_cv_HAVE_STRUCT_UTIMBUF" >&6; }
                   8284: if test x"$rsync_cv_HAVE_STRUCT_UTIMBUF" = x"yes"; then
                   8285: 
                   8286: $as_echo "#define HAVE_STRUCT_UTIMBUF 1" >>confdefs.h
                   8287: 
                   8288: fi
                   8289: 
                   8290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gettimeofday takes tz argument" >&5
                   8291: $as_echo_n "checking if gettimeofday takes tz argument... " >&6; }
                   8292: if ${rsync_cv_HAVE_GETTIMEOFDAY_TZ+:} false; then :
                   8293:   $as_echo_n "(cached) " >&6
                   8294: else
                   8295: 
                   8296: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8297: /* end confdefs.h.  */
                   8298: #include <sys/time.h>
                   8299: #include <unistd.h>
                   8300: int
                   8301: main ()
                   8302: {
                   8303: struct timeval tv; exit(gettimeofday(&tv, NULL));
                   8304:   ;
                   8305:   return 0;
                   8306: }
                   8307: _ACEOF
                   8308: if ac_fn_c_try_compile "$LINENO"; then :
                   8309:   rsync_cv_HAVE_GETTIMEOFDAY_TZ=yes
                   8310: else
                   8311:   rsync_cv_HAVE_GETTIMEOFDAY_TZ=no
                   8312: fi
                   8313: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   8314: fi
                   8315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_GETTIMEOFDAY_TZ" >&5
                   8316: $as_echo "$rsync_cv_HAVE_GETTIMEOFDAY_TZ" >&6; }
                   8317: if test x"$rsync_cv_HAVE_GETTIMEOFDAY_TZ" != x"no"; then
                   8318: 
                   8319: $as_echo "#define HAVE_GETTIMEOFDAY_TZ 1" >>confdefs.h
                   8320: 
                   8321: fi
                   8322: 
                   8323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 vsnprintf" >&5
                   8324: $as_echo_n "checking for C99 vsnprintf... " >&6; }
                   8325: if ${rsync_cv_HAVE_C99_VSNPRINTF+:} false; then :
                   8326:   $as_echo_n "(cached) " >&6
                   8327: else
                   8328: 
                   8329: if test "$cross_compiling" = yes; then :
                   8330:   rsync_cv_HAVE_C99_VSNPRINTF=cross
                   8331: else
                   8332:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8333: /* end confdefs.h.  */
                   8334: 
                   8335: #include <sys/types.h>
                   8336: #include <stdarg.h>
                   8337: void foo(const char *format, ...) {
                   8338:        va_list ap;
                   8339:        int len;
                   8340:        char buf[5];
                   8341: 
                   8342:        va_start(ap, format);
                   8343:        len = vsnprintf(0, 0, format, ap);
                   8344:        va_end(ap);
                   8345:        if (len != 5) exit(1);
                   8346: 
                   8347:        if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
                   8348: 
                   8349:        exit(0);
                   8350: }
                   8351: main() { foo("hello"); }
                   8352: 
                   8353: _ACEOF
                   8354: if ac_fn_c_try_run "$LINENO"; then :
                   8355:   rsync_cv_HAVE_C99_VSNPRINTF=yes
                   8356: else
                   8357:   rsync_cv_HAVE_C99_VSNPRINTF=no
                   8358: fi
                   8359: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8360:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8361: fi
                   8362: 
                   8363: fi
                   8364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_C99_VSNPRINTF" >&5
                   8365: $as_echo "$rsync_cv_HAVE_C99_VSNPRINTF" >&6; }
                   8366: if test x"$rsync_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
                   8367: 
                   8368: $as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h
                   8369: 
                   8370: fi
                   8371: 
                   8372: 
                   8373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for secure mkstemp" >&5
                   8374: $as_echo_n "checking for secure mkstemp... " >&6; }
                   8375: if ${rsync_cv_HAVE_SECURE_MKSTEMP+:} false; then :
                   8376:   $as_echo_n "(cached) " >&6
                   8377: else
                   8378: 
                   8379: if test "$cross_compiling" = yes; then :
                   8380:   rsync_cv_HAVE_SECURE_MKSTEMP=cross
                   8381: else
                   8382:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8383: /* end confdefs.h.  */
                   8384: #include <stdlib.h>
                   8385: #include <sys/types.h>
                   8386: #include <sys/stat.h>
                   8387: #include <unistd.h>
                   8388: main() {
                   8389:   struct stat st;
                   8390:   char tpl[20]="/tmp/test.XXXXXX";
                   8391:   int fd = mkstemp(tpl);
                   8392:   if (fd == -1) exit(1);
                   8393:   unlink(tpl);
                   8394:   if (fstat(fd, &st) != 0) exit(1);
                   8395:   if ((st.st_mode & 0777) != 0600) exit(1);
                   8396:   exit(0);
                   8397: }
                   8398: _ACEOF
                   8399: if ac_fn_c_try_run "$LINENO"; then :
                   8400:   rsync_cv_HAVE_SECURE_MKSTEMP=yes
                   8401: else
                   8402:   rsync_cv_HAVE_SECURE_MKSTEMP=no
                   8403: fi
                   8404: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8405:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8406: fi
                   8407: 
                   8408: fi
                   8409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_HAVE_SECURE_MKSTEMP" >&5
                   8410: $as_echo "$rsync_cv_HAVE_SECURE_MKSTEMP" >&6; }
                   8411: if test x"$rsync_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then
                   8412:     case $host_os in
                   8413:     hpux*)
                   8414:                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Skipping broken HP-UX mkstemp() -- using mktemp() instead" >&5
                   8415: $as_echo "$as_me: WARNING: Skipping broken HP-UX mkstemp() -- using mktemp() instead" >&2;}
                   8416:        ;;
                   8417:     *)
                   8418: 
                   8419: $as_echo "#define HAVE_SECURE_MKSTEMP 1" >>confdefs.h
                   8420: 
                   8421:        ;;
                   8422:     esac
                   8423: fi
                   8424: 
                   8425: 
                   8426: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mknod creates FIFOs" >&5
                   8427: $as_echo_n "checking if mknod creates FIFOs... " >&6; }
                   8428: if ${rsync_cv_MKNOD_CREATES_FIFOS+:} false; then :
                   8429:   $as_echo_n "(cached) " >&6
                   8430: else
                   8431: 
                   8432: if test "$cross_compiling" = yes; then :
                   8433:   rsync_cv_MKNOD_CREATES_FIFOS=cross
                   8434: else
                   8435:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8436: /* end confdefs.h.  */
                   8437: 
                   8438: #include <stdio.h>
                   8439: #include <sys/stat.h>
                   8440: #include <errno.h>
                   8441: main() { int rc, ec; char *fn = "fifo-test";
                   8442: unlink(fn); rc = mknod(fn,S_IFIFO,0600); ec = errno; unlink(fn);
                   8443: if (rc) {printf("(%d %d) ",rc,ec); return ec;}
                   8444: return 0;}
                   8445: _ACEOF
                   8446: if ac_fn_c_try_run "$LINENO"; then :
                   8447:   rsync_cv_MKNOD_CREATES_FIFOS=yes
                   8448: else
                   8449:   rsync_cv_MKNOD_CREATES_FIFOS=no
                   8450: fi
                   8451: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8452:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8453: fi
                   8454: 
                   8455: fi
                   8456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MKNOD_CREATES_FIFOS" >&5
                   8457: $as_echo "$rsync_cv_MKNOD_CREATES_FIFOS" >&6; }
                   8458: if test x"$rsync_cv_MKNOD_CREATES_FIFOS" = x"yes"; then
                   8459: 
                   8460: $as_echo "#define MKNOD_CREATES_FIFOS 1" >>confdefs.h
                   8461: 
                   8462: fi
                   8463: 
                   8464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mknod creates sockets" >&5
                   8465: $as_echo_n "checking if mknod creates sockets... " >&6; }
                   8466: if ${rsync_cv_MKNOD_CREATES_SOCKETS+:} false; then :
                   8467:   $as_echo_n "(cached) " >&6
                   8468: else
                   8469: 
                   8470: if test "$cross_compiling" = yes; then :
                   8471:   rsync_cv_MKNOD_CREATES_SOCKETS=cross
                   8472: else
                   8473:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8474: /* end confdefs.h.  */
                   8475: 
                   8476: #include <stdio.h>
                   8477: #include <sys/stat.h>
                   8478: #include <errno.h>
                   8479: main() { int rc, ec; char *fn = "sock-test";
                   8480: unlink(fn); rc = mknod(fn,S_IFSOCK,0600); ec = errno; unlink(fn);
                   8481: if (rc) {printf("(%d %d) ",rc,ec); return ec;}
                   8482: return 0;}
                   8483: _ACEOF
                   8484: if ac_fn_c_try_run "$LINENO"; then :
                   8485:   rsync_cv_MKNOD_CREATES_SOCKETS=yes
                   8486: else
                   8487:   rsync_cv_MKNOD_CREATES_SOCKETS=no
                   8488: fi
                   8489: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   8490:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   8491: fi
                   8492: 
                   8493: fi
                   8494: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_MKNOD_CREATES_SOCKETS" >&5
                   8495: $as_echo "$rsync_cv_MKNOD_CREATES_SOCKETS" >&6; }
                   8496: if test x"$rsync_cv_MKNOD_CREATES_SOCKETS" = x"yes"; then
                   8497: 
                   8498: $as_echo "#define MKNOD_CREATES_SOCKETS 1" >>confdefs.h
                   8499: 
                   8500: fi
                   8501: 
                   8502: #
                   8503: # The following test was mostly taken from the tcl/tk plus patches
                   8504: #
                   8505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -c -o works" >&5
                   8506: $as_echo_n "checking whether -c -o works... " >&6; }
                   8507: if ${rsync_cv_DASHC_WORKS_WITH_DASHO+:} false; then :
                   8508:   $as_echo_n "(cached) " >&6
                   8509: else
                   8510: 
                   8511: rm -rf conftest*
                   8512: cat > conftest.$ac_ext <<EOF
                   8513: int main() { return 0; }
                   8514: EOF
                   8515: ${CC-cc} -c -o conftest..o conftest.$ac_ext
                   8516: if test -f conftest..o; then
                   8517:     rsync_cv_DASHC_WORKS_WITH_DASHO=yes
                   8518: else
                   8519:     rsync_cv_DASHC_WORKS_WITH_DASHO=no
                   8520: fi
                   8521: rm -rf conftest*
                   8522: 
                   8523: fi
                   8524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_cv_DASHC_WORKS_WITH_DASHO" >&5
                   8525: $as_echo "$rsync_cv_DASHC_WORKS_WITH_DASHO" >&6; }
                   8526: if test x"$rsync_cv_DASHC_WORKS_WITH_DASHO" = x"yes"; then
                   8527:     OBJ_SAVE="#"
                   8528:     OBJ_RESTORE="#"
                   8529:     CC_SHOBJ_FLAG='-o $@'
                   8530: else
                   8531:     OBJ_SAVE=' @b=`basename $@ .o`;rm -f $$b.o.sav;if test -f $$b.o; then mv $$b.o $$b.o.sav;fi;'
                   8532:     OBJ_RESTORE='      @b=`basename $@ .o`;if test "$$b.o" != "$@"; then mv $$b.o $@; if test -f $$b.o.sav; then mv $$b.o.sav $$b.o; fi; fi'
                   8533:     CC_SHOBJ_FLAG=""
                   8534: fi
                   8535: 
                   8536: 
                   8537: 
                   8538: 
                   8539: 
                   8540: 
                   8541: 
1.1.1.2 ! misho    8542: 
        !          8543: # Extract the first word of "stunnel", so it can be a program name with args.
        !          8544: set dummy stunnel; ac_word=$2
        !          8545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8546: $as_echo_n "checking for $ac_word... " >&6; }
        !          8547: if ${ac_cv_path_STUNNEL+:} false; then :
        !          8548:   $as_echo_n "(cached) " >&6
        !          8549: else
        !          8550:   case $STUNNEL in
        !          8551:   [\\/]* | ?:[\\/]*)
        !          8552:   ac_cv_path_STUNNEL="$STUNNEL" # Let the user override the test with a path.
        !          8553:   ;;
        !          8554:   *)
        !          8555:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8556: for as_dir in $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin
        !          8557: do
        !          8558:   IFS=$as_save_IFS
        !          8559:   test -z "$as_dir" && as_dir=.
        !          8560:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8561:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          8562:     ac_cv_path_STUNNEL="$as_dir/$ac_word$ac_exec_ext"
        !          8563:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8564:     break 2
        !          8565:   fi
        !          8566: done
        !          8567:   done
        !          8568: IFS=$as_save_IFS
        !          8569: 
        !          8570:   test -z "$ac_cv_path_STUNNEL" && ac_cv_path_STUNNEL="stunnel"
        !          8571:   ;;
        !          8572: esac
        !          8573: fi
        !          8574: STUNNEL=$ac_cv_path_STUNNEL
        !          8575: if test -n "$STUNNEL"; then
        !          8576:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STUNNEL" >&5
        !          8577: $as_echo "$STUNNEL" >&6; }
        !          8578: else
        !          8579:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8580: $as_echo "no" >&6; }
        !          8581: fi
        !          8582: 
        !          8583: 
        !          8584: # Extract the first word of "stunnel4", so it can be a program name with args.
        !          8585: set dummy stunnel4; ac_word=$2
        !          8586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8587: $as_echo_n "checking for $ac_word... " >&6; }
        !          8588: if ${ac_cv_path_STUNNEL4+:} false; then :
        !          8589:   $as_echo_n "(cached) " >&6
        !          8590: else
        !          8591:   case $STUNNEL4 in
        !          8592:   [\\/]* | ?:[\\/]*)
        !          8593:   ac_cv_path_STUNNEL4="$STUNNEL4" # Let the user override the test with a path.
        !          8594:   ;;
        !          8595:   *)
        !          8596:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8597: for as_dir in $PATH$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/sbin
        !          8598: do
        !          8599:   IFS=$as_save_IFS
        !          8600:   test -z "$as_dir" && as_dir=.
        !          8601:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8602:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          8603:     ac_cv_path_STUNNEL4="$as_dir/$ac_word$ac_exec_ext"
        !          8604:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8605:     break 2
        !          8606:   fi
        !          8607: done
        !          8608:   done
        !          8609: IFS=$as_save_IFS
        !          8610: 
        !          8611:   test -z "$ac_cv_path_STUNNEL4" && ac_cv_path_STUNNEL4="$STUNNEL"
        !          8612:   ;;
        !          8613: esac
        !          8614: fi
        !          8615: STUNNEL4=$ac_cv_path_STUNNEL4
        !          8616: if test -n "$STUNNEL4"; then
        !          8617:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STUNNEL4" >&5
        !          8618: $as_echo "$STUNNEL4" >&6; }
        !          8619: else
        !          8620:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8621: $as_echo "no" >&6; }
        !          8622: fi
        !          8623: 
        !          8624: 
        !          8625: 
1.1       misho    8626: for ac_func in _acl __acl _facl __facl
                   8627: do :
                   8628:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   8629: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   8630: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   8631:   cat >>confdefs.h <<_ACEOF
                   8632: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   8633: _ACEOF
                   8634: 
                   8635: fi
                   8636: done
                   8637: 
                   8638: #################################################
                   8639: # check for ACL support
                   8640: 
                   8641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support ACLs" >&5
                   8642: $as_echo_n "checking whether to support ACLs... " >&6; }
                   8643: # Check whether --enable-acl-support was given.
                   8644: if test "${enable_acl_support+set}" = set; then :
                   8645:   enableval=$enable_acl_support;
                   8646: fi
                   8647: 
                   8648: 
                   8649: if test x"$enable_acl_support" = x"no"; then
                   8650:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8651: $as_echo "no" >&6; }
                   8652: else
                   8653:     case "$host_os" in
                   8654:     *sysv5*)
                   8655:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using UnixWare ACLs" >&5
                   8656: $as_echo "Using UnixWare ACLs" >&6; }
                   8657: 
                   8658: $as_echo "#define HAVE_UNIXWARE_ACLS 1" >>confdefs.h
                   8659: 
                   8660: 
                   8661: $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8662: 
                   8663:        ;;
1.1.1.2 ! misho    8664:     solaris*|*cygwin*)
1.1       misho    8665:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using solaris ACLs" >&5
                   8666: $as_echo "Using solaris ACLs" >&6; }
                   8667: 
                   8668: $as_echo "#define HAVE_SOLARIS_ACLS 1" >>confdefs.h
                   8669: 
                   8670:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8671: 
                   8672:        ;;
                   8673:     *hpux*)
                   8674:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using HPUX ACLs" >&5
                   8675: $as_echo "Using HPUX ACLs" >&6; }
                   8676: 
                   8677: $as_echo "#define HAVE_HPUX_ACLS 1" >>confdefs.h
                   8678: 
                   8679:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8680: 
                   8681:        ;;
                   8682:     *irix*)
                   8683:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using IRIX ACLs" >&5
                   8684: $as_echo "Using IRIX ACLs" >&6; }
                   8685: 
                   8686: $as_echo "#define HAVE_IRIX_ACLS 1" >>confdefs.h
                   8687: 
                   8688:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8689: 
                   8690:        ;;
                   8691:     *aix*)
                   8692:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using AIX ACLs" >&5
                   8693: $as_echo "Using AIX ACLs" >&6; }
                   8694: 
                   8695: $as_echo "#define HAVE_AIX_ACLS 1" >>confdefs.h
                   8696: 
                   8697:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8698: 
                   8699:        ;;
                   8700:     *osf*)
                   8701:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Tru64 ACLs" >&5
                   8702: $as_echo "Using Tru64 ACLs" >&6; }
                   8703: 
                   8704: $as_echo "#define HAVE_TRU64_ACLS 1" >>confdefs.h
                   8705: 
                   8706:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8707: 
                   8708:        LIBS="$LIBS -lpacl"
                   8709:        ;;
                   8710:     darwin*)
                   8711:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X ACLs" >&5
                   8712: $as_echo "Using OS X ACLs" >&6; }
                   8713: 
                   8714: $as_echo "#define HAVE_OSX_ACLS 1" >>confdefs.h
                   8715: 
                   8716:        $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8717: 
                   8718:        ;;
                   8719:     *)
                   8720:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: running tests:" >&5
                   8721: $as_echo "running tests:" >&6; }
                   8722:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_file in -lacl" >&5
                   8723: $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
                   8724: if ${ac_cv_lib_acl_acl_get_file+:} false; then :
                   8725:   $as_echo_n "(cached) " >&6
                   8726: else
                   8727:   ac_check_lib_save_LIBS=$LIBS
                   8728: LIBS="-lacl  $LIBS"
                   8729: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8730: /* end confdefs.h.  */
                   8731: 
                   8732: /* Override any GCC internal prototype to avoid an error.
                   8733:    Use char because int might match the return type of a GCC
                   8734:    builtin and then its argument prototype would still apply.  */
                   8735: #ifdef __cplusplus
                   8736: extern "C"
                   8737: #endif
                   8738: char acl_get_file ();
                   8739: int
                   8740: main ()
                   8741: {
                   8742: return acl_get_file ();
                   8743:   ;
                   8744:   return 0;
                   8745: }
                   8746: _ACEOF
                   8747: if ac_fn_c_try_link "$LINENO"; then :
                   8748:   ac_cv_lib_acl_acl_get_file=yes
                   8749: else
                   8750:   ac_cv_lib_acl_acl_get_file=no
                   8751: fi
                   8752: rm -f core conftest.err conftest.$ac_objext \
                   8753:     conftest$ac_exeext conftest.$ac_ext
                   8754: LIBS=$ac_check_lib_save_LIBS
                   8755: fi
                   8756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_get_file" >&5
                   8757: $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
                   8758: if test "x$ac_cv_lib_acl_acl_get_file" = xyes; then :
                   8759:   cat >>confdefs.h <<_ACEOF
                   8760: #define HAVE_LIBACL 1
                   8761: _ACEOF
                   8762: 
                   8763:   LIBS="-lacl $LIBS"
                   8764: 
                   8765: fi
                   8766: 
                   8767:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ACL support" >&5
                   8768: $as_echo_n "checking for ACL support... " >&6; }
                   8769: if ${samba_cv_HAVE_POSIX_ACLS+:} false; then :
                   8770:   $as_echo_n "(cached) " >&6
                   8771: else
                   8772: 
                   8773:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8774: /* end confdefs.h.  */
                   8775: #include <sys/types.h>
                   8776: #include <sys/acl.h>
                   8777: int
                   8778: main ()
                   8779: {
                   8780:  acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);
                   8781:   ;
                   8782:   return 0;
                   8783: }
                   8784: _ACEOF
                   8785: if ac_fn_c_try_link "$LINENO"; then :
                   8786:   samba_cv_HAVE_POSIX_ACLS=yes
                   8787: else
                   8788:   samba_cv_HAVE_POSIX_ACLS=no
                   8789: fi
                   8790: rm -f core conftest.err conftest.$ac_objext \
                   8791:     conftest$ac_exeext conftest.$ac_ext
                   8792: fi
                   8793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_POSIX_ACLS" >&5
                   8794: $as_echo "$samba_cv_HAVE_POSIX_ACLS" >&6; }
                   8795:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking ACL test results" >&5
                   8796: $as_echo_n "checking ACL test results... " >&6; }
                   8797:        if test x"$samba_cv_HAVE_POSIX_ACLS" = x"yes"; then
                   8798:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using posix ACLs" >&5
                   8799: $as_echo "Using posix ACLs" >&6; }
                   8800: 
                   8801: $as_echo "#define HAVE_POSIX_ACLS 1" >>confdefs.h
                   8802: 
                   8803:            $as_echo "#define SUPPORT_ACLS 1" >>confdefs.h
                   8804: 
                   8805:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_get_perm_np" >&5
                   8806: $as_echo_n "checking for acl_get_perm_np... " >&6; }
                   8807: if ${samba_cv_HAVE_ACL_GET_PERM_NP+:} false; then :
                   8808:   $as_echo_n "(cached) " >&6
                   8809: else
                   8810: 
                   8811:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8812: /* end confdefs.h.  */
                   8813: #include <sys/types.h>
                   8814: #include <sys/acl.h>
                   8815: int
                   8816: main ()
                   8817: {
                   8818:  acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np( permset_d, perm);
                   8819:   ;
                   8820:   return 0;
                   8821: }
                   8822: _ACEOF
                   8823: if ac_fn_c_try_link "$LINENO"; then :
                   8824:   samba_cv_HAVE_ACL_GET_PERM_NP=yes
                   8825: else
                   8826:   samba_cv_HAVE_ACL_GET_PERM_NP=no
                   8827: fi
                   8828: rm -f core conftest.err conftest.$ac_objext \
                   8829:     conftest$ac_exeext conftest.$ac_ext
                   8830: fi
                   8831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $samba_cv_HAVE_ACL_GET_PERM_NP" >&5
                   8832: $as_echo "$samba_cv_HAVE_ACL_GET_PERM_NP" >&6; }
                   8833:            if test x"$samba_cv_HAVE_ACL_GET_PERM_NP" = x"yes"; then
                   8834: 
                   8835: $as_echo "#define HAVE_ACL_GET_PERM_NP 1" >>confdefs.h
                   8836: 
                   8837:            fi
                   8838:        else
                   8839:            if test x"$enable_acl_support" = x"yes"; then
                   8840:                as_fn_error $? "Failed to find ACL support" "$LINENO" 5
                   8841:            else
                   8842:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: No ACL support found" >&5
                   8843: $as_echo "No ACL support found" >&6; }
                   8844:            fi
                   8845:        fi
                   8846:        ;;
                   8847:     esac
                   8848: fi
                   8849: 
                   8850: #################################################
                   8851: # check for extended attribute support
                   8852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support extended attributes" >&5
                   8853: $as_echo_n "checking whether to support extended attributes... " >&6; }
                   8854: # Check whether --enable-xattr-support was given.
                   8855: if test "${enable_xattr_support+set}" = set; then :
                   8856:   enableval=$enable_xattr_support;
                   8857: else
1.1.1.2 ! misho    8858:   case "$ac_cv_func_getxattr$ac_cv_func_extattr_get_link$ac_cv_func_attropen" in
1.1       misho    8859:        *yes*) enable_xattr_support=maybe ;;
                   8860:        *) enable_xattr_support=no ;;
                   8861:        esac
                   8862: fi
                   8863: 
                   8864: 
                   8865: if test x"$enable_xattr_support" = x"no"; then
                   8866:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8867: $as_echo "no" >&6; }
                   8868: else
                   8869:     case "$host_os" in
                   8870:     *linux*)
                   8871:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Linux xattrs" >&5
                   8872: $as_echo "Using Linux xattrs" >&6; }
                   8873: 
                   8874: $as_echo "#define HAVE_LINUX_XATTRS 1" >>confdefs.h
                   8875: 
                   8876:        $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
                   8877: 
1.1.1.2 ! misho    8878: 
        !          8879: $as_echo "#define NO_SYMLINK_USER_XATTRS 1" >>confdefs.h
        !          8880: 
1.1       misho    8881:        ;;
                   8882:     darwin*)
                   8883:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OS X xattrs" >&5
                   8884: $as_echo "Using OS X xattrs" >&6; }
                   8885: 
                   8886: $as_echo "#define HAVE_OSX_XATTRS 1" >>confdefs.h
                   8887: 
                   8888:        $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
                   8889: 
                   8890: 
                   8891: $as_echo "#define NO_DEVICE_XATTRS 1" >>confdefs.h
                   8892: 
                   8893: 
                   8894: $as_echo "#define NO_SPECIAL_XATTRS 1" >>confdefs.h
                   8895: 
                   8896:        ;;
                   8897:     freebsd*)
                   8898:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using FreeBSD extattrs" >&5
                   8899: $as_echo "Using FreeBSD extattrs" >&6; }
                   8900: 
                   8901: $as_echo "#define HAVE_FREEBSD_XATTRS 1" >>confdefs.h
                   8902: 
                   8903:        $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
                   8904: 
                   8905:        ;;
                   8906:     solaris*)
1.1.1.2 ! misho    8907:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using Solaris xattrs" >&5
        !          8908: $as_echo "Using Solaris xattrs" >&6; }
        !          8909: 
        !          8910: $as_echo "#define HAVE_SOLARIS_XATTRS 1" >>confdefs.h
        !          8911: 
        !          8912:        $as_echo "#define SUPPORT_XATTRS 1" >>confdefs.h
        !          8913: 
1.1       misho    8914: 
                   8915: $as_echo "#define NO_SYMLINK_XATTRS 1" >>confdefs.h
                   8916: 
                   8917:        ;;
                   8918:     *)
                   8919:        if test x"$enable_xattr_support" = x"yes"; then
                   8920:            as_fn_error $? "Failed to find extended attribute support" "$LINENO" 5
                   8921:        else
                   8922:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: No extended attribute support found" >&5
                   8923: $as_echo "No extended attribute support found" >&6; }
                   8924:        fi
                   8925:        ;;
                   8926:     esac
                   8927: fi
                   8928: 
                   8929: if test x"$enable_acl_support" = x"no" -o x"$enable_xattr_support" = x"no" -o x"$enable_iconv" = x"no"; then
                   8930:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5
                   8931: $as_echo_n "checking whether $CC supports -Wno-unused-parameter... " >&6; }
                   8932:     OLD_CFLAGS="$CFLAGS"
                   8933:     CFLAGS="$CFLAGS -Wno-unused-parameter"
                   8934:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8935: /* end confdefs.h.  */
                   8936: #include <stdio.h>
                   8937: int
                   8938: main ()
                   8939: {
                   8940: printf("hello\n");
                   8941:   ;
                   8942:   return 0;
                   8943: }
                   8944: _ACEOF
                   8945: if ac_fn_c_try_link "$LINENO"; then :
                   8946:   rsync_warn_flag=yes
                   8947: else
                   8948:   rsync_warn_flag=no
                   8949: fi
                   8950: rm -f core conftest.err conftest.$ac_objext \
                   8951:     conftest$ac_exeext conftest.$ac_ext
                   8952:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rsync_warn_flag" >&5
                   8953: $as_echo "$rsync_warn_flag" >&6; }
                   8954:     if test x"$rsync_warn_flag" = x"no"; then
                   8955:        CFLAGS="$OLD_CFLAGS"
                   8956:     fi
                   8957: fi
                   8958: 
                   8959: case "$CC" in
                   8960: ' checker'*|checker*)
                   8961: 
                   8962: $as_echo "#define FORCE_FD_ZERO_MEMSET 1" >>confdefs.h
                   8963: 
                   8964:     ;;
                   8965: esac
                   8966: 
                   8967: ac_config_files="$ac_config_files Makefile lib/dummy zlib/dummy popt/dummy shconfig"
                   8968: 
                   8969: cat >confcache <<\_ACEOF
                   8970: # This file is a shell script that caches the results of configure
                   8971: # tests run on this system so they can be shared between configure
                   8972: # scripts and configure runs, see configure's option --config-cache.
                   8973: # It is not useful on other systems.  If it contains results you don't
                   8974: # want to keep, you may remove or edit it.
                   8975: #
                   8976: # config.status only pays attention to the cache file if you give it
                   8977: # the --recheck option to rerun configure.
                   8978: #
                   8979: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   8980: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   8981: # following values.
                   8982: 
                   8983: _ACEOF
                   8984: 
                   8985: # The following way of writing the cache mishandles newlines in values,
                   8986: # but we know of no workaround that is simple, portable, and efficient.
                   8987: # So, we kill variables containing newlines.
                   8988: # Ultrix sh set writes to stderr and can't be redirected directly,
                   8989: # and sets the high bit in the cache file unless we assign to the vars.
                   8990: (
                   8991:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   8992:     eval ac_val=\$$ac_var
                   8993:     case $ac_val in #(
                   8994:     *${as_nl}*)
                   8995:       case $ac_var in #(
                   8996:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   8997: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   8998:       esac
                   8999:       case $ac_var in #(
                   9000:       _ | IFS | as_nl) ;; #(
                   9001:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   9002:       *) { eval $ac_var=; unset $ac_var;} ;;
                   9003:       esac ;;
                   9004:     esac
                   9005:   done
                   9006: 
                   9007:   (set) 2>&1 |
                   9008:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   9009:     *${as_nl}ac_space=\ *)
                   9010:       # `set' does not quote correctly, so add quotes: double-quote
                   9011:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   9012:       sed -n \
                   9013:        "s/'/'\\\\''/g;
                   9014:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   9015:       ;; #(
                   9016:     *)
                   9017:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   9018:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   9019:       ;;
                   9020:     esac |
                   9021:     sort
                   9022: ) |
                   9023:   sed '
                   9024:      /^ac_cv_env_/b end
                   9025:      t clear
                   9026:      :clear
                   9027:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   9028:      t end
                   9029:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   9030:      :end' >>confcache
                   9031: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   9032:   if test -w "$cache_file"; then
                   9033:     if test "x$cache_file" != "x/dev/null"; then
                   9034:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   9035: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   9036:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   9037:        cat confcache >"$cache_file"
                   9038:       else
                   9039:         case $cache_file in #(
                   9040:         */* | ?:*)
                   9041:          mv -f confcache "$cache_file"$$ &&
                   9042:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   9043:         *)
                   9044:          mv -f confcache "$cache_file" ;;
                   9045:        esac
                   9046:       fi
                   9047:     fi
                   9048:   else
                   9049:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   9050: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   9051:   fi
                   9052: fi
                   9053: rm -f confcache
                   9054: 
                   9055: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   9056: # Let make expand exec_prefix.
                   9057: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   9058: 
                   9059: DEFS=-DHAVE_CONFIG_H
                   9060: 
                   9061: ac_libobjs=
                   9062: ac_ltlibobjs=
                   9063: U=
                   9064: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   9065:   # 1. Remove the extension, and $U if already installed.
                   9066:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   9067:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   9068:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   9069:   #    will be set to the directory where LIBOBJS objects are built.
                   9070:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   9071:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   9072: done
                   9073: LIBOBJS=$ac_libobjs
                   9074: 
                   9075: LTLIBOBJS=$ac_ltlibobjs
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: : "${CONFIG_STATUS=./config.status}"
                   9081: ac_write_fail=0
                   9082: ac_clean_files_save=$ac_clean_files
                   9083: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   9084: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   9085: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   9086: as_write_fail=0
                   9087: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   9088: #! $SHELL
                   9089: # Generated by $as_me.
                   9090: # Run this file to recreate the current configuration.
                   9091: # Compiler output produced by configure, useful for debugging
                   9092: # configure, is in config.log if it exists.
                   9093: 
                   9094: debug=false
                   9095: ac_cs_recheck=false
                   9096: ac_cs_silent=false
                   9097: 
                   9098: SHELL=\${CONFIG_SHELL-$SHELL}
                   9099: export SHELL
                   9100: _ASEOF
                   9101: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   9102: ## -------------------- ##
                   9103: ## M4sh Initialization. ##
                   9104: ## -------------------- ##
                   9105: 
                   9106: # Be more Bourne compatible
                   9107: DUALCASE=1; export DUALCASE # for MKS sh
                   9108: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   9109:   emulate sh
                   9110:   NULLCMD=:
                   9111:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   9112:   # is contrary to our usage.  Disable this feature.
                   9113:   alias -g '${1+"$@"}'='"$@"'
                   9114:   setopt NO_GLOB_SUBST
                   9115: else
                   9116:   case `(set -o) 2>/dev/null` in #(
                   9117:   *posix*) :
                   9118:     set -o posix ;; #(
                   9119:   *) :
                   9120:      ;;
                   9121: esac
                   9122: fi
                   9123: 
                   9124: 
                   9125: as_nl='
                   9126: '
                   9127: export as_nl
                   9128: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   9129: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   9130: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   9131: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   9132: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   9133: # but without wasting forks for bash or zsh.
                   9134: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   9135:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   9136:   as_echo='print -r --'
                   9137:   as_echo_n='print -rn --'
                   9138: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   9139:   as_echo='printf %s\n'
                   9140:   as_echo_n='printf %s'
                   9141: else
                   9142:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   9143:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   9144:     as_echo_n='/usr/ucb/echo -n'
                   9145:   else
                   9146:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   9147:     as_echo_n_body='eval
                   9148:       arg=$1;
                   9149:       case $arg in #(
                   9150:       *"$as_nl"*)
                   9151:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   9152:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   9153:       esac;
                   9154:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   9155:     '
                   9156:     export as_echo_n_body
                   9157:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   9158:   fi
                   9159:   export as_echo_body
                   9160:   as_echo='sh -c $as_echo_body as_echo'
                   9161: fi
                   9162: 
                   9163: # The user is always right.
                   9164: if test "${PATH_SEPARATOR+set}" != set; then
                   9165:   PATH_SEPARATOR=:
                   9166:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   9167:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   9168:       PATH_SEPARATOR=';'
                   9169:   }
                   9170: fi
                   9171: 
                   9172: 
                   9173: # IFS
                   9174: # We need space, tab and new line, in precisely that order.  Quoting is
                   9175: # there to prevent editors from complaining about space-tab.
                   9176: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   9177: # splitting by setting IFS to empty value.)
                   9178: IFS=" ""       $as_nl"
                   9179: 
                   9180: # Find who we are.  Look in the path if we contain no directory separator.
                   9181: as_myself=
                   9182: case $0 in #((
                   9183:   *[\\/]* ) as_myself=$0 ;;
                   9184:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9185: for as_dir in $PATH
                   9186: do
                   9187:   IFS=$as_save_IFS
                   9188:   test -z "$as_dir" && as_dir=.
                   9189:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   9190:   done
                   9191: IFS=$as_save_IFS
                   9192: 
                   9193:      ;;
                   9194: esac
                   9195: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   9196: # in which case we are not to be found in the path.
                   9197: if test "x$as_myself" = x; then
                   9198:   as_myself=$0
                   9199: fi
                   9200: if test ! -f "$as_myself"; then
                   9201:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   9202:   exit 1
                   9203: fi
                   9204: 
                   9205: # Unset variables that we do not need and which cause bugs (e.g. in
                   9206: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   9207: # suppresses any "Segmentation fault" message there.  '((' could
                   9208: # trigger a bug in pdksh 5.2.14.
                   9209: for as_var in BASH_ENV ENV MAIL MAILPATH
                   9210: do eval test x\${$as_var+set} = xset \
                   9211:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   9212: done
                   9213: PS1='$ '
                   9214: PS2='> '
                   9215: PS4='+ '
                   9216: 
                   9217: # NLS nuisances.
                   9218: LC_ALL=C
                   9219: export LC_ALL
                   9220: LANGUAGE=C
                   9221: export LANGUAGE
                   9222: 
                   9223: # CDPATH.
                   9224: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   9225: 
                   9226: 
                   9227: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   9228: # ----------------------------------------
                   9229: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   9230: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   9231: # script with STATUS, using 1 if that was 0.
                   9232: as_fn_error ()
                   9233: {
                   9234:   as_status=$1; test $as_status -eq 0 && as_status=1
                   9235:   if test "$4"; then
                   9236:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   9237:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   9238:   fi
                   9239:   $as_echo "$as_me: error: $2" >&2
                   9240:   as_fn_exit $as_status
                   9241: } # as_fn_error
                   9242: 
                   9243: 
                   9244: # as_fn_set_status STATUS
                   9245: # -----------------------
                   9246: # Set $? to STATUS, without forking.
                   9247: as_fn_set_status ()
                   9248: {
                   9249:   return $1
                   9250: } # as_fn_set_status
                   9251: 
                   9252: # as_fn_exit STATUS
                   9253: # -----------------
                   9254: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   9255: as_fn_exit ()
                   9256: {
                   9257:   set +e
                   9258:   as_fn_set_status $1
                   9259:   exit $1
                   9260: } # as_fn_exit
                   9261: 
                   9262: # as_fn_unset VAR
                   9263: # ---------------
                   9264: # Portably unset VAR.
                   9265: as_fn_unset ()
                   9266: {
                   9267:   { eval $1=; unset $1;}
                   9268: }
                   9269: as_unset=as_fn_unset
                   9270: # as_fn_append VAR VALUE
                   9271: # ----------------------
                   9272: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   9273: # advantage of any shell optimizations that allow amortized linear growth over
                   9274: # repeated appends, instead of the typical quadratic growth present in naive
                   9275: # implementations.
                   9276: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   9277:   eval 'as_fn_append ()
                   9278:   {
                   9279:     eval $1+=\$2
                   9280:   }'
                   9281: else
                   9282:   as_fn_append ()
                   9283:   {
                   9284:     eval $1=\$$1\$2
                   9285:   }
                   9286: fi # as_fn_append
                   9287: 
                   9288: # as_fn_arith ARG...
                   9289: # ------------------
                   9290: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   9291: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   9292: # must be portable across $(()) and expr.
                   9293: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   9294:   eval 'as_fn_arith ()
                   9295:   {
                   9296:     as_val=$(( $* ))
                   9297:   }'
                   9298: else
                   9299:   as_fn_arith ()
                   9300:   {
                   9301:     as_val=`expr "$@" || test $? -eq 1`
                   9302:   }
                   9303: fi # as_fn_arith
                   9304: 
                   9305: 
                   9306: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   9307:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   9308:   as_expr=expr
                   9309: else
                   9310:   as_expr=false
                   9311: fi
                   9312: 
                   9313: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   9314:   as_basename=basename
                   9315: else
                   9316:   as_basename=false
                   9317: fi
                   9318: 
                   9319: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   9320:   as_dirname=dirname
                   9321: else
                   9322:   as_dirname=false
                   9323: fi
                   9324: 
                   9325: as_me=`$as_basename -- "$0" ||
                   9326: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   9327:         X"$0" : 'X\(//\)$' \| \
                   9328:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   9329: $as_echo X/"$0" |
                   9330:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   9331:            s//\1/
                   9332:            q
                   9333:          }
                   9334:          /^X\/\(\/\/\)$/{
                   9335:            s//\1/
                   9336:            q
                   9337:          }
                   9338:          /^X\/\(\/\).*/{
                   9339:            s//\1/
                   9340:            q
                   9341:          }
                   9342:          s/.*/./; q'`
                   9343: 
                   9344: # Avoid depending upon Character Ranges.
                   9345: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   9346: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   9347: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   9348: as_cr_digits='0123456789'
                   9349: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   9350: 
                   9351: ECHO_C= ECHO_N= ECHO_T=
                   9352: case `echo -n x` in #(((((
                   9353: -n*)
                   9354:   case `echo 'xy\c'` in
                   9355:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   9356:   xy)  ECHO_C='\c';;
                   9357:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   9358:        ECHO_T='        ';;
                   9359:   esac;;
                   9360: *)
                   9361:   ECHO_N='-n';;
                   9362: esac
                   9363: 
                   9364: rm -f conf$$ conf$$.exe conf$$.file
                   9365: if test -d conf$$.dir; then
                   9366:   rm -f conf$$.dir/conf$$.file
                   9367: else
                   9368:   rm -f conf$$.dir
                   9369:   mkdir conf$$.dir 2>/dev/null
                   9370: fi
                   9371: if (echo >conf$$.file) 2>/dev/null; then
                   9372:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   9373:     as_ln_s='ln -s'
                   9374:     # ... but there are two gotchas:
                   9375:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   9376:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   9377:     # In both cases, we have to default to `cp -p'.
                   9378:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   9379:       as_ln_s='cp -p'
                   9380:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   9381:     as_ln_s=ln
                   9382:   else
                   9383:     as_ln_s='cp -p'
                   9384:   fi
                   9385: else
                   9386:   as_ln_s='cp -p'
                   9387: fi
                   9388: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   9389: rmdir conf$$.dir 2>/dev/null
                   9390: 
                   9391: 
                   9392: # as_fn_mkdir_p
                   9393: # -------------
                   9394: # Create "$as_dir" as a directory, including parents if necessary.
                   9395: as_fn_mkdir_p ()
                   9396: {
                   9397: 
                   9398:   case $as_dir in #(
                   9399:   -*) as_dir=./$as_dir;;
                   9400:   esac
                   9401:   test -d "$as_dir" || eval $as_mkdir_p || {
                   9402:     as_dirs=
                   9403:     while :; do
                   9404:       case $as_dir in #(
                   9405:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   9406:       *) as_qdir=$as_dir;;
                   9407:       esac
                   9408:       as_dirs="'$as_qdir' $as_dirs"
                   9409:       as_dir=`$as_dirname -- "$as_dir" ||
                   9410: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   9411:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   9412:         X"$as_dir" : 'X\(//\)$' \| \
                   9413:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   9414: $as_echo X"$as_dir" |
                   9415:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   9416:            s//\1/
                   9417:            q
                   9418:          }
                   9419:          /^X\(\/\/\)[^/].*/{
                   9420:            s//\1/
                   9421:            q
                   9422:          }
                   9423:          /^X\(\/\/\)$/{
                   9424:            s//\1/
                   9425:            q
                   9426:          }
                   9427:          /^X\(\/\).*/{
                   9428:            s//\1/
                   9429:            q
                   9430:          }
                   9431:          s/.*/./; q'`
                   9432:       test -d "$as_dir" && break
                   9433:     done
                   9434:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   9435:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   9436: 
                   9437: 
                   9438: } # as_fn_mkdir_p
                   9439: if mkdir -p . 2>/dev/null; then
                   9440:   as_mkdir_p='mkdir -p "$as_dir"'
                   9441: else
                   9442:   test -d ./-p && rmdir ./-p
                   9443:   as_mkdir_p=false
                   9444: fi
                   9445: 
                   9446: if test -x / >/dev/null 2>&1; then
                   9447:   as_test_x='test -x'
                   9448: else
                   9449:   if ls -dL / >/dev/null 2>&1; then
                   9450:     as_ls_L_option=L
                   9451:   else
                   9452:     as_ls_L_option=
                   9453:   fi
                   9454:   as_test_x='
                   9455:     eval sh -c '\''
                   9456:       if test -d "$1"; then
                   9457:        test -d "$1/.";
                   9458:       else
                   9459:        case $1 in #(
                   9460:        -*)set "./$1";;
                   9461:        esac;
                   9462:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   9463:        ???[sx]*):;;*)false;;esac;fi
                   9464:     '\'' sh
                   9465:   '
                   9466: fi
                   9467: as_executable_p=$as_test_x
                   9468: 
                   9469: # Sed expression to map a string onto a valid CPP name.
                   9470: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   9471: 
                   9472: # Sed expression to map a string onto a valid variable name.
                   9473: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   9474: 
                   9475: 
                   9476: exec 6>&1
                   9477: ## ----------------------------------- ##
                   9478: ## Main body of $CONFIG_STATUS script. ##
                   9479: ## ----------------------------------- ##
                   9480: _ASEOF
                   9481: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   9482: 
                   9483: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9484: # Save the log message, to keep $0 and so on meaningful, and to
                   9485: # report actual input values of CONFIG_FILES etc. instead of their
                   9486: # values after options handling.
                   9487: ac_log="
                   9488: This file was extended by $as_me, which was
                   9489: generated by GNU Autoconf 2.68.  Invocation command line was
                   9490: 
                   9491:   CONFIG_FILES    = $CONFIG_FILES
                   9492:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   9493:   CONFIG_LINKS    = $CONFIG_LINKS
                   9494:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   9495:   $ $0 $@
                   9496: 
                   9497: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   9498: "
                   9499: 
                   9500: _ACEOF
                   9501: 
                   9502: case $ac_config_files in *"
                   9503: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   9504: esac
                   9505: 
                   9506: case $ac_config_headers in *"
                   9507: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   9508: esac
                   9509: 
                   9510: 
                   9511: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9512: # Files that config.status was made for.
                   9513: config_files="$ac_config_files"
                   9514: config_headers="$ac_config_headers"
                   9515: 
                   9516: _ACEOF
                   9517: 
                   9518: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9519: ac_cs_usage="\
                   9520: \`$as_me' instantiates files and other configuration actions
                   9521: from templates according to the current configuration.  Unless the files
                   9522: and actions are specified as TAGs, all are instantiated by default.
                   9523: 
                   9524: Usage: $0 [OPTION]... [TAG]...
                   9525: 
                   9526:   -h, --help       print this help, then exit
                   9527:   -V, --version    print version number and configuration settings, then exit
                   9528:       --config     print configuration, then exit
                   9529:   -q, --quiet, --silent
                   9530:                    do not print progress messages
                   9531:   -d, --debug      don't remove temporary files
                   9532:       --recheck    update $as_me by reconfiguring in the same conditions
                   9533:       --file=FILE[:TEMPLATE]
                   9534:                    instantiate the configuration file FILE
                   9535:       --header=FILE[:TEMPLATE]
                   9536:                    instantiate the configuration header FILE
                   9537: 
                   9538: Configuration files:
                   9539: $config_files
                   9540: 
                   9541: Configuration headers:
                   9542: $config_headers
                   9543: 
                   9544: Report bugs to the package provider."
                   9545: 
                   9546: _ACEOF
                   9547: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9548: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   9549: ac_cs_version="\\
                   9550: config.status
                   9551: configured by $0, generated by GNU Autoconf 2.68,
                   9552:   with options \\"\$ac_cs_config\\"
                   9553: 
                   9554: Copyright (C) 2010 Free Software Foundation, Inc.
                   9555: This config.status script is free software; the Free Software Foundation
                   9556: gives unlimited permission to copy, distribute and modify it."
                   9557: 
                   9558: ac_pwd='$ac_pwd'
                   9559: srcdir='$srcdir'
                   9560: INSTALL='$INSTALL'
1.1.1.2 ! misho    9561: MKDIR_P='$MKDIR_P'
1.1       misho    9562: test -n "\$AWK" || AWK=awk
                   9563: _ACEOF
                   9564: 
                   9565: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9566: # The default lists apply if the user does not specify any file.
                   9567: ac_need_defaults=:
                   9568: while test $# != 0
                   9569: do
                   9570:   case $1 in
                   9571:   --*=?*)
                   9572:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9573:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   9574:     ac_shift=:
                   9575:     ;;
                   9576:   --*=)
                   9577:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   9578:     ac_optarg=
                   9579:     ac_shift=:
                   9580:     ;;
                   9581:   *)
                   9582:     ac_option=$1
                   9583:     ac_optarg=$2
                   9584:     ac_shift=shift
                   9585:     ;;
                   9586:   esac
                   9587: 
                   9588:   case $ac_option in
                   9589:   # Handling of the options.
                   9590:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   9591:     ac_cs_recheck=: ;;
                   9592:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   9593:     $as_echo "$ac_cs_version"; exit ;;
                   9594:   --config | --confi | --conf | --con | --co | --c )
                   9595:     $as_echo "$ac_cs_config"; exit ;;
                   9596:   --debug | --debu | --deb | --de | --d | -d )
                   9597:     debug=: ;;
                   9598:   --file | --fil | --fi | --f )
                   9599:     $ac_shift
                   9600:     case $ac_optarg in
                   9601:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   9602:     '') as_fn_error $? "missing file argument" ;;
                   9603:     esac
                   9604:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   9605:     ac_need_defaults=false;;
                   9606:   --header | --heade | --head | --hea )
                   9607:     $ac_shift
                   9608:     case $ac_optarg in
                   9609:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   9610:     esac
                   9611:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   9612:     ac_need_defaults=false;;
                   9613:   --he | --h)
                   9614:     # Conflict between --help and --header
                   9615:     as_fn_error $? "ambiguous option: \`$1'
                   9616: Try \`$0 --help' for more information.";;
                   9617:   --help | --hel | -h )
                   9618:     $as_echo "$ac_cs_usage"; exit ;;
                   9619:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   9620:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   9621:     ac_cs_silent=: ;;
                   9622: 
                   9623:   # This is an error.
                   9624:   -*) as_fn_error $? "unrecognized option: \`$1'
                   9625: Try \`$0 --help' for more information." ;;
                   9626: 
                   9627:   *) as_fn_append ac_config_targets " $1"
                   9628:      ac_need_defaults=false ;;
                   9629: 
                   9630:   esac
                   9631:   shift
                   9632: done
                   9633: 
                   9634: ac_configure_extra_args=
                   9635: 
                   9636: if $ac_cs_silent; then
                   9637:   exec 6>/dev/null
                   9638:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   9639: fi
                   9640: 
                   9641: _ACEOF
                   9642: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9643: if \$ac_cs_recheck; then
                   9644:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   9645:   shift
                   9646:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   9647:   CONFIG_SHELL='$SHELL'
                   9648:   export CONFIG_SHELL
                   9649:   exec "\$@"
                   9650: fi
                   9651: 
                   9652: _ACEOF
                   9653: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9654: exec 5>>config.log
                   9655: {
                   9656:   echo
                   9657:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   9658: ## Running $as_me. ##
                   9659: _ASBOX
                   9660:   $as_echo "$ac_log"
                   9661: } >&5
                   9662: 
                   9663: _ACEOF
                   9664: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9665: _ACEOF
                   9666: 
                   9667: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9668: 
                   9669: # Handling of arguments.
                   9670: for ac_config_target in $ac_config_targets
                   9671: do
                   9672:   case $ac_config_target in
                   9673:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   9674:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   9675:     "lib/dummy") CONFIG_FILES="$CONFIG_FILES lib/dummy" ;;
                   9676:     "zlib/dummy") CONFIG_FILES="$CONFIG_FILES zlib/dummy" ;;
                   9677:     "popt/dummy") CONFIG_FILES="$CONFIG_FILES popt/dummy" ;;
                   9678:     "shconfig") CONFIG_FILES="$CONFIG_FILES shconfig" ;;
                   9679: 
                   9680:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   9681:   esac
                   9682: done
                   9683: 
                   9684: 
                   9685: # If the user did not use the arguments to specify the items to instantiate,
                   9686: # then the envvar interface is used.  Set only those that are not.
                   9687: # We use the long form for the default assignment because of an extremely
                   9688: # bizarre bug on SunOS 4.1.3.
                   9689: if $ac_need_defaults; then
                   9690:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   9691:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   9692: fi
                   9693: 
                   9694: # Have a temporary directory for convenience.  Make it in the build tree
                   9695: # simply because there is no reason against having it here, and in addition,
                   9696: # creating and moving files from /tmp can sometimes cause problems.
                   9697: # Hook for its removal unless debugging.
                   9698: # Note that there is a small window in which the directory will not be cleaned:
                   9699: # after its creation but before its name has been assigned to `$tmp'.
                   9700: $debug ||
                   9701: {
                   9702:   tmp= ac_tmp=
                   9703:   trap 'exit_status=$?
                   9704:   : "${ac_tmp:=$tmp}"
                   9705:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   9706: ' 0
                   9707:   trap 'as_fn_exit 1' 1 2 13 15
                   9708: }
                   9709: # Create a (secure) tmp directory for tmp files.
                   9710: 
                   9711: {
                   9712:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   9713:   test -d "$tmp"
                   9714: }  ||
                   9715: {
                   9716:   tmp=./conf$$-$RANDOM
                   9717:   (umask 077 && mkdir "$tmp")
                   9718: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   9719: ac_tmp=$tmp
                   9720: 
                   9721: # Set up the scripts for CONFIG_FILES section.
                   9722: # No need to generate them if there are no CONFIG_FILES.
                   9723: # This happens for instance with `./config.status config.h'.
                   9724: if test -n "$CONFIG_FILES"; then
                   9725: 
                   9726: 
                   9727: ac_cr=`echo X | tr X '\015'`
                   9728: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   9729: # But we know of no other shell where ac_cr would be empty at this
                   9730: # point, so we can use a bashism as a fallback.
                   9731: if test "x$ac_cr" = x; then
                   9732:   eval ac_cr=\$\'\\r\'
                   9733: fi
                   9734: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   9735: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   9736:   ac_cs_awk_cr='\\r'
                   9737: else
                   9738:   ac_cs_awk_cr=$ac_cr
                   9739: fi
                   9740: 
                   9741: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   9742: _ACEOF
                   9743: 
                   9744: 
                   9745: {
                   9746:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   9747:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   9748:   echo "_ACEOF"
                   9749: } >conf$$subs.sh ||
                   9750:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9751: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   9752: ac_delim='%!_!# '
                   9753: for ac_last_try in false false false false false :; do
                   9754:   . ./conf$$subs.sh ||
                   9755:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9756: 
                   9757:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   9758:   if test $ac_delim_n = $ac_delim_num; then
                   9759:     break
                   9760:   elif $ac_last_try; then
                   9761:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   9762:   else
                   9763:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9764:   fi
                   9765: done
                   9766: rm -f conf$$subs.sh
                   9767: 
                   9768: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9769: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   9770: _ACEOF
                   9771: sed -n '
                   9772: h
                   9773: s/^/S["/; s/!.*/"]=/
                   9774: p
                   9775: g
                   9776: s/^[^!]*!//
                   9777: :repl
                   9778: t repl
                   9779: s/'"$ac_delim"'$//
                   9780: t delim
                   9781: :nl
                   9782: h
                   9783: s/\(.\{148\}\)..*/\1/
                   9784: t more1
                   9785: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   9786: p
                   9787: n
                   9788: b repl
                   9789: :more1
                   9790: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9791: p
                   9792: g
                   9793: s/.\{148\}//
                   9794: t nl
                   9795: :delim
                   9796: h
                   9797: s/\(.\{148\}\)..*/\1/
                   9798: t more2
                   9799: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   9800: p
                   9801: b
                   9802: :more2
                   9803: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   9804: p
                   9805: g
                   9806: s/.\{148\}//
                   9807: t delim
                   9808: ' <conf$$subs.awk | sed '
                   9809: /^[^""]/{
                   9810:   N
                   9811:   s/\n//
                   9812: }
                   9813: ' >>$CONFIG_STATUS || ac_write_fail=1
                   9814: rm -f conf$$subs.awk
                   9815: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9816: _ACAWK
                   9817: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   9818:   for (key in S) S_is_set[key] = 1
                   9819:   FS = ""
                   9820: 
                   9821: }
                   9822: {
                   9823:   line = $ 0
                   9824:   nfields = split(line, field, "@")
                   9825:   substed = 0
                   9826:   len = length(field[1])
                   9827:   for (i = 2; i < nfields; i++) {
                   9828:     key = field[i]
                   9829:     keylen = length(key)
                   9830:     if (S_is_set[key]) {
                   9831:       value = S[key]
                   9832:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   9833:       len += length(value) + length(field[++i])
                   9834:       substed = 1
                   9835:     } else
                   9836:       len += 1 + keylen
                   9837:   }
                   9838: 
                   9839:   print line
                   9840: }
                   9841: 
                   9842: _ACAWK
                   9843: _ACEOF
                   9844: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9845: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   9846:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   9847: else
                   9848:   cat
                   9849: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   9850:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   9851: _ACEOF
                   9852: 
                   9853: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   9854: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   9855: # trailing colons and then remove the whole line if VPATH becomes empty
                   9856: # (actually we leave an empty line to preserve line numbers).
                   9857: if test "x$srcdir" = x.; then
                   9858:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   9859: h
                   9860: s///
                   9861: s/^/:/
                   9862: s/[     ]*$/:/
                   9863: s/:\$(srcdir):/:/g
                   9864: s/:\${srcdir}:/:/g
                   9865: s/:@srcdir@:/:/g
                   9866: s/^:*//
                   9867: s/:*$//
                   9868: x
                   9869: s/\(=[  ]*\).*/\1/
                   9870: G
                   9871: s/\n//
                   9872: s/^[^=]*=[      ]*$//
                   9873: }'
                   9874: fi
                   9875: 
                   9876: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9877: fi # test -n "$CONFIG_FILES"
                   9878: 
                   9879: # Set up the scripts for CONFIG_HEADERS section.
                   9880: # No need to generate them if there are no CONFIG_HEADERS.
                   9881: # This happens for instance with `./config.status Makefile'.
                   9882: if test -n "$CONFIG_HEADERS"; then
                   9883: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   9884: BEGIN {
                   9885: _ACEOF
                   9886: 
                   9887: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   9888: # here-document in config.status, that substitutes the proper values into
                   9889: # config.h.in to produce config.h.
                   9890: 
                   9891: # Create a delimiter string that does not exist in confdefs.h, to ease
                   9892: # handling of long lines.
                   9893: ac_delim='%!_!# '
                   9894: for ac_last_try in false false :; do
                   9895:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   9896:   if test -z "$ac_tt"; then
                   9897:     break
                   9898:   elif $ac_last_try; then
                   9899:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   9900:   else
                   9901:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   9902:   fi
                   9903: done
                   9904: 
                   9905: # For the awk script, D is an array of macro values keyed by name,
                   9906: # likewise P contains macro parameters if any.  Preserve backslash
                   9907: # newline sequences.
                   9908: 
                   9909: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   9910: sed -n '
                   9911: s/.\{148\}/&'"$ac_delim"'/g
                   9912: t rset
                   9913: :rset
                   9914: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   9915: t def
                   9916: d
                   9917: :def
                   9918: s/\\$//
                   9919: t bsnl
                   9920: s/["\\]/\\&/g
                   9921: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9922: D["\1"]=" \3"/p
                   9923: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   9924: d
                   9925: :bsnl
                   9926: s/["\\]/\\&/g
                   9927: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   9928: D["\1"]=" \3\\\\\\n"\\/p
                   9929: t cont
                   9930: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   9931: t cont
                   9932: d
                   9933: :cont
                   9934: n
                   9935: s/.\{148\}/&'"$ac_delim"'/g
                   9936: t clear
                   9937: :clear
                   9938: s/\\$//
                   9939: t bsnlc
                   9940: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   9941: d
                   9942: :bsnlc
                   9943: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   9944: b cont
                   9945: ' <confdefs.h | sed '
                   9946: s/'"$ac_delim"'/"\\\
                   9947: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   9948: 
                   9949: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   9950:   for (key in D) D_is_set[key] = 1
                   9951:   FS = ""
                   9952: }
                   9953: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   9954:   line = \$ 0
                   9955:   split(line, arg, " ")
                   9956:   if (arg[1] == "#") {
                   9957:     defundef = arg[2]
                   9958:     mac1 = arg[3]
                   9959:   } else {
                   9960:     defundef = substr(arg[1], 2)
                   9961:     mac1 = arg[2]
                   9962:   }
                   9963:   split(mac1, mac2, "(") #)
                   9964:   macro = mac2[1]
                   9965:   prefix = substr(line, 1, index(line, defundef) - 1)
                   9966:   if (D_is_set[macro]) {
                   9967:     # Preserve the white space surrounding the "#".
                   9968:     print prefix "define", macro P[macro] D[macro]
                   9969:     next
                   9970:   } else {
                   9971:     # Replace #undef with comments.  This is necessary, for example,
                   9972:     # in the case of _POSIX_SOURCE, which is predefined and required
                   9973:     # on some systems where configure will not decide to define it.
                   9974:     if (defundef == "undef") {
                   9975:       print "/*", prefix defundef, macro, "*/"
                   9976:       next
                   9977:     }
                   9978:   }
                   9979: }
                   9980: { print }
                   9981: _ACAWK
                   9982: _ACEOF
                   9983: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   9984:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   9985: fi # test -n "$CONFIG_HEADERS"
                   9986: 
                   9987: 
                   9988: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
                   9989: shift
                   9990: for ac_tag
                   9991: do
                   9992:   case $ac_tag in
                   9993:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   9994:   esac
                   9995:   case $ac_mode$ac_tag in
                   9996:   :[FHL]*:*);;
                   9997:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   9998:   :[FH]-) ac_tag=-:-;;
                   9999:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   10000:   esac
                   10001:   ac_save_IFS=$IFS
                   10002:   IFS=:
                   10003:   set x $ac_tag
                   10004:   IFS=$ac_save_IFS
                   10005:   shift
                   10006:   ac_file=$1
                   10007:   shift
                   10008: 
                   10009:   case $ac_mode in
                   10010:   :L) ac_source=$1;;
                   10011:   :[FH])
                   10012:     ac_file_inputs=
                   10013:     for ac_f
                   10014:     do
                   10015:       case $ac_f in
                   10016:       -) ac_f="$ac_tmp/stdin";;
                   10017:       *) # Look for the file first in the build tree, then in the source tree
                   10018:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   10019:         # because $ac_f cannot contain `:'.
                   10020:         test -f "$ac_f" ||
                   10021:           case $ac_f in
                   10022:           [\\/$]*) false;;
                   10023:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   10024:           esac ||
                   10025:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   10026:       esac
                   10027:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   10028:       as_fn_append ac_file_inputs " '$ac_f'"
                   10029:     done
                   10030: 
                   10031:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   10032:     # use $as_me), people would be surprised to read:
                   10033:     #    /* config.h.  Generated by config.status.  */
                   10034:     configure_input='Generated from '`
                   10035:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   10036:        `' by configure.'
                   10037:     if test x"$ac_file" != x-; then
                   10038:       configure_input="$ac_file.  $configure_input"
                   10039:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   10040: $as_echo "$as_me: creating $ac_file" >&6;}
                   10041:     fi
                   10042:     # Neutralize special characters interpreted by sed in replacement strings.
                   10043:     case $configure_input in #(
                   10044:     *\&* | *\|* | *\\* )
                   10045:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   10046:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   10047:     *) ac_sed_conf_input=$configure_input;;
                   10048:     esac
                   10049: 
                   10050:     case $ac_tag in
                   10051:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   10052:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   10053:     esac
                   10054:     ;;
                   10055:   esac
                   10056: 
                   10057:   ac_dir=`$as_dirname -- "$ac_file" ||
                   10058: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   10059:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   10060:         X"$ac_file" : 'X\(//\)$' \| \
                   10061:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   10062: $as_echo X"$ac_file" |
                   10063:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   10064:            s//\1/
                   10065:            q
                   10066:          }
                   10067:          /^X\(\/\/\)[^/].*/{
                   10068:            s//\1/
                   10069:            q
                   10070:          }
                   10071:          /^X\(\/\/\)$/{
                   10072:            s//\1/
                   10073:            q
                   10074:          }
                   10075:          /^X\(\/\).*/{
                   10076:            s//\1/
                   10077:            q
                   10078:          }
                   10079:          s/.*/./; q'`
                   10080:   as_dir="$ac_dir"; as_fn_mkdir_p
                   10081:   ac_builddir=.
                   10082: 
                   10083: case "$ac_dir" in
                   10084: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10085: *)
                   10086:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   10087:   # A ".." for each directory in $ac_dir_suffix.
                   10088:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   10089:   case $ac_top_builddir_sub in
                   10090:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   10091:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   10092:   esac ;;
                   10093: esac
                   10094: ac_abs_top_builddir=$ac_pwd
                   10095: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   10096: # for backward compatibility:
                   10097: ac_top_builddir=$ac_top_build_prefix
                   10098: 
                   10099: case $srcdir in
                   10100:   .)  # We are building in place.
                   10101:     ac_srcdir=.
                   10102:     ac_top_srcdir=$ac_top_builddir_sub
                   10103:     ac_abs_top_srcdir=$ac_pwd ;;
                   10104:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   10105:     ac_srcdir=$srcdir$ac_dir_suffix;
                   10106:     ac_top_srcdir=$srcdir
                   10107:     ac_abs_top_srcdir=$srcdir ;;
                   10108:   *) # Relative name.
                   10109:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   10110:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   10111:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   10112: esac
                   10113: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   10114: 
                   10115: 
                   10116:   case $ac_mode in
                   10117:   :F)
                   10118:   #
                   10119:   # CONFIG_FILE
                   10120:   #
                   10121: 
                   10122:   case $INSTALL in
                   10123:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   10124:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   10125:   esac
1.1.1.2 ! misho    10126:   ac_MKDIR_P=$MKDIR_P
        !          10127:   case $MKDIR_P in
        !          10128:   [\\/$]* | ?:[\\/]* ) ;;
        !          10129:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
        !          10130:   esac
1.1       misho    10131: _ACEOF
                   10132: 
                   10133: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10134: # If the template does not know about datarootdir, expand it.
                   10135: # FIXME: This hack should be removed a few years after 2.60.
                   10136: ac_datarootdir_hack=; ac_datarootdir_seen=
                   10137: ac_sed_dataroot='
                   10138: /datarootdir/ {
                   10139:   p
                   10140:   q
                   10141: }
                   10142: /@datadir@/p
                   10143: /@docdir@/p
                   10144: /@infodir@/p
                   10145: /@localedir@/p
                   10146: /@mandir@/p'
                   10147: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   10148: *datarootdir*) ac_datarootdir_seen=yes;;
                   10149: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   10150:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   10151: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   10152: _ACEOF
                   10153: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10154:   ac_datarootdir_hack='
                   10155:   s&@datadir@&$datadir&g
                   10156:   s&@docdir@&$docdir&g
                   10157:   s&@infodir@&$infodir&g
                   10158:   s&@localedir@&$localedir&g
                   10159:   s&@mandir@&$mandir&g
                   10160:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   10161: esac
                   10162: _ACEOF
                   10163: 
                   10164: # Neutralize VPATH when `$srcdir' = `.'.
                   10165: # Shell code in configure.ac might set extrasub.
                   10166: # FIXME: do we really want to maintain this feature?
                   10167: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   10168: ac_sed_extra="$ac_vpsub
                   10169: $extrasub
                   10170: _ACEOF
                   10171: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   10172: :t
                   10173: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   10174: s|@configure_input@|$ac_sed_conf_input|;t t
                   10175: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   10176: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   10177: s&@srcdir@&$ac_srcdir&;t t
                   10178: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   10179: s&@top_srcdir@&$ac_top_srcdir&;t t
                   10180: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   10181: s&@builddir@&$ac_builddir&;t t
                   10182: s&@abs_builddir@&$ac_abs_builddir&;t t
                   10183: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   10184: s&@INSTALL@&$ac_INSTALL&;t t
1.1.1.2 ! misho    10185: s&@MKDIR_P@&$ac_MKDIR_P&;t t
1.1       misho    10186: $ac_datarootdir_hack
                   10187: "
                   10188: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   10189:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   10190: 
                   10191: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   10192:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   10193:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   10194:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   10195:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   10196: which seems to be undefined.  Please make sure it is defined" >&5
                   10197: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   10198: which seems to be undefined.  Please make sure it is defined" >&2;}
                   10199: 
                   10200:   rm -f "$ac_tmp/stdin"
                   10201:   case $ac_file in
                   10202:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   10203:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   10204:   esac \
                   10205:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   10206:  ;;
                   10207:   :H)
                   10208:   #
                   10209:   # CONFIG_HEADER
                   10210:   #
                   10211:   if test x"$ac_file" != x-; then
                   10212:     {
                   10213:       $as_echo "/* $configure_input  */" \
                   10214:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   10215:     } >"$ac_tmp/config.h" \
                   10216:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   10217:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   10218:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   10219: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   10220:     else
                   10221:       rm -f "$ac_file"
                   10222:       mv "$ac_tmp/config.h" "$ac_file" \
                   10223:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   10224:     fi
                   10225:   else
                   10226:     $as_echo "/* $configure_input  */" \
                   10227:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   10228:       || as_fn_error $? "could not create -" "$LINENO" 5
                   10229:   fi
                   10230:  ;;
                   10231: 
                   10232: 
                   10233:   esac
                   10234: 
                   10235: done # for ac_tag
                   10236: 
                   10237: 
                   10238: as_fn_exit 0
                   10239: _ACEOF
                   10240: ac_clean_files=$ac_clean_files_save
                   10241: 
                   10242: test $ac_write_fail = 0 ||
                   10243:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   10244: 
                   10245: 
                   10246: # configure is writing to config.log, and then calls config.status.
                   10247: # config.status does its own redirection, appending to config.log.
                   10248: # Unfortunately, on DOS this fails, as config.log is still kept open
                   10249: # by configure, so config.status won't be able to write to it; its
                   10250: # output is simply discarded.  So we exec the FD to /dev/null,
                   10251: # effectively closing config.log, so it can be properly (re)opened and
                   10252: # appended to by config.status.  When coming back to configure, we
                   10253: # need to make the FD available again.
                   10254: if test "$no_create" != yes; then
                   10255:   ac_cs_success=:
                   10256:   ac_config_status_args=
                   10257:   test "$silent" = yes &&
                   10258:     ac_config_status_args="$ac_config_status_args --quiet"
                   10259:   exec 5>/dev/null
                   10260:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   10261:   exec 5>>config.log
                   10262:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   10263:   # would make configure fail if this is the last instruction.
                   10264:   $ac_cs_success || as_fn_exit 1
                   10265: fi
                   10266: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   10267:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   10268: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   10269: fi
                   10270: 
                   10271: 
                   10272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
                   10273: $as_echo "" >&6; }
                   10274: { $as_echo "$as_me:${as_lineno-$LINENO}: result:     rsync ${RSYNC_VERSION} configuration successful" >&5
                   10275: $as_echo "    rsync ${RSYNC_VERSION} configuration successful" >&6; }
                   10276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
                   10277: $as_echo "" >&6; }

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