Annotation of embedaddon/ntp/configure, revision 1.1.1.1.2.1

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.1.2.1! misho       3: # Generated by GNU Autoconf 2.69 for ntp 4.2.6p5.
1.1       misho       4: #
                      5: #
1.1.1.1.2.1! misho       6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       7: #
                      8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
                     11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
                     14: 
                     15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     18:   emulate sh
                     19:   NULLCMD=:
                     20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
                     23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
                     70: fi
                     71: 
                     72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
                     79: fi
                     80: 
                     81: 
                     82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88: 
                     89: # Find who we are.  Look in the path if we contain no directory separator.
                     90: as_myself=
                     91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    121: done
                    122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
                    127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131: 
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134: 
1.1.1.1.2.1! misho     135: # Use a proper internal environment variable to ensure we don't fall
        !           136:   # into an infinite loop, continuously re-executing ourselves.
        !           137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           138:     _as_can_reexec=no; export _as_can_reexec;
        !           139:     # We cannot yet assume a decent shell, so we have to provide a
        !           140: # neutralization value for shells without unset; and this also
        !           141: # works around shells that cannot unset nonexistent variables.
        !           142: # Preserve -v and -x to the replacement shell.
        !           143: BASH_ENV=/dev/null
        !           144: ENV=/dev/null
        !           145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           146: case $- in # ((((
        !           147:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           148:   *v* ) as_opts=-v ;;
        !           149:   *x* ) as_opts=-x ;;
        !           150:   * ) as_opts= ;;
        !           151: esac
        !           152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           153: # Admittedly, this is quite paranoid, since all the known shells bail
        !           154: # out after a failed `exec'.
        !           155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           156: as_fn_exit 255
        !           157:   fi
        !           158:   # We don't want this to propagate to other subprocesses.
        !           159:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182: 
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189: 
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
1.1.1.1.2.1! misho     193: test x\$exitcode = x0 || exit 1
        !           194: test -x / || exit 1"
1.1       misho     195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    199: test \$(( 1 + 1 )) = 2 || exit 1
                    200: 
                    201:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    202:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    204:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    205:     PATH=/empty FPATH=/empty; export PATH FPATH
                    206:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    207:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
                    208:   if (eval "$as_required") 2>/dev/null; then :
                    209:   as_have_required=yes
                    210: else
                    211:   as_have_required=no
                    212: fi
                    213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    214: 
                    215: else
                    216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    217: as_found=false
                    218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    219: do
                    220:   IFS=$as_save_IFS
                    221:   test -z "$as_dir" && as_dir=.
                    222:   as_found=:
                    223:   case $as_dir in #(
                    224:         /*)
                    225:           for as_base in sh bash ksh sh5; do
                    226:             # Try only shells that exist, to save several forks.
                    227:             as_shell=$as_dir/$as_base
                    228:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    229:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    230:   CONFIG_SHELL=$as_shell as_have_required=yes
                    231:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   break 2
                    233: fi
                    234: fi
                    235:           done;;
                    236:        esac
                    237:   as_found=false
                    238: done
                    239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    241:   CONFIG_SHELL=$SHELL as_have_required=yes
                    242: fi; }
                    243: IFS=$as_save_IFS
                    244: 
                    245: 
                    246:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.1.2.1! misho     247:   export CONFIG_SHELL
        !           248:              # We cannot yet assume a decent shell, so we have to provide a
        !           249: # neutralization value for shells without unset; and this also
        !           250: # works around shells that cannot unset nonexistent variables.
        !           251: # Preserve -v and -x to the replacement shell.
        !           252: BASH_ENV=/dev/null
        !           253: ENV=/dev/null
        !           254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           255: case $- in # ((((
        !           256:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           257:   *v* ) as_opts=-v ;;
        !           258:   *x* ) as_opts=-x ;;
        !           259:   * ) as_opts= ;;
        !           260: esac
        !           261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           262: # Admittedly, this is quite paranoid, since all the known shells bail
        !           263: # out after a failed `exec'.
        !           264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           265: exit 255
1.1       misho     266: fi
                    267: 
                    268:     if test x$as_have_required = xno; then :
                    269:   $as_echo "$0: This script requires a shell more modern than all"
                    270:   $as_echo "$0: the shells that I found on your system."
                    271:   if test x${ZSH_VERSION+set} = xset ; then
                    272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    274:   else
                    275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    276: $0: including any error possibly output before this
                    277: $0: message. Then install a modern shell, or manually run
                    278: $0: the script under such a shell if you do have one."
                    279:   fi
                    280:   exit 1
                    281: fi
                    282: fi
                    283: fi
                    284: SHELL=${CONFIG_SHELL-/bin/sh}
                    285: export SHELL
                    286: # Unset more variables known to interfere with behavior of common tools.
                    287: CLICOLOR_FORCE= GREP_OPTIONS=
                    288: unset CLICOLOR_FORCE GREP_OPTIONS
                    289: 
                    290: ## --------------------- ##
                    291: ## M4sh Shell Functions. ##
                    292: ## --------------------- ##
                    293: # as_fn_unset VAR
                    294: # ---------------
                    295: # Portably unset VAR.
                    296: as_fn_unset ()
                    297: {
                    298:   { eval $1=; unset $1;}
                    299: }
                    300: as_unset=as_fn_unset
                    301: 
                    302: # as_fn_set_status STATUS
                    303: # -----------------------
                    304: # Set $? to STATUS, without forking.
                    305: as_fn_set_status ()
                    306: {
                    307:   return $1
                    308: } # as_fn_set_status
                    309: 
                    310: # as_fn_exit STATUS
                    311: # -----------------
                    312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    313: as_fn_exit ()
                    314: {
                    315:   set +e
                    316:   as_fn_set_status $1
                    317:   exit $1
                    318: } # as_fn_exit
                    319: 
                    320: # as_fn_mkdir_p
                    321: # -------------
                    322: # Create "$as_dir" as a directory, including parents if necessary.
                    323: as_fn_mkdir_p ()
                    324: {
                    325: 
                    326:   case $as_dir in #(
                    327:   -*) as_dir=./$as_dir;;
                    328:   esac
                    329:   test -d "$as_dir" || eval $as_mkdir_p || {
                    330:     as_dirs=
                    331:     while :; do
                    332:       case $as_dir in #(
                    333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    334:       *) as_qdir=$as_dir;;
                    335:       esac
                    336:       as_dirs="'$as_qdir' $as_dirs"
                    337:       as_dir=`$as_dirname -- "$as_dir" ||
                    338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    339:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    340:         X"$as_dir" : 'X\(//\)$' \| \
                    341:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    342: $as_echo X"$as_dir" |
                    343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\/\)[^/].*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          /^X\(\/\/\)$/{
                    352:            s//\1/
                    353:            q
                    354:          }
                    355:          /^X\(\/\).*/{
                    356:            s//\1/
                    357:            q
                    358:          }
                    359:          s/.*/./; q'`
                    360:       test -d "$as_dir" && break
                    361:     done
                    362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    364: 
                    365: 
                    366: } # as_fn_mkdir_p
1.1.1.1.2.1! misho     367: 
        !           368: # as_fn_executable_p FILE
        !           369: # -----------------------
        !           370: # Test if FILE is an executable regular file.
        !           371: as_fn_executable_p ()
        !           372: {
        !           373:   test -f "$1" && test -x "$1"
        !           374: } # as_fn_executable_p
1.1       misho     375: # as_fn_append VAR VALUE
                    376: # ----------------------
                    377: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    378: # advantage of any shell optimizations that allow amortized linear growth over
                    379: # repeated appends, instead of the typical quadratic growth present in naive
                    380: # implementations.
                    381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    382:   eval 'as_fn_append ()
                    383:   {
                    384:     eval $1+=\$2
                    385:   }'
                    386: else
                    387:   as_fn_append ()
                    388:   {
                    389:     eval $1=\$$1\$2
                    390:   }
                    391: fi # as_fn_append
                    392: 
                    393: # as_fn_arith ARG...
                    394: # ------------------
                    395: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    397: # must be portable across $(()) and expr.
                    398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
                    403: else
                    404:   as_fn_arith ()
                    405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
                    407:   }
                    408: fi # as_fn_arith
                    409: 
                    410: 
                    411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    412: # ----------------------------------------
                    413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    415: # script with STATUS, using 1 if that was 0.
                    416: as_fn_error ()
                    417: {
                    418:   as_status=$1; test $as_status -eq 0 && as_status=1
                    419:   if test "$4"; then
                    420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    422:   fi
                    423:   $as_echo "$as_me: error: $2" >&2
                    424:   as_fn_exit $as_status
                    425: } # as_fn_error
                    426: 
                    427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
                    434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
                    440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    441:   as_dirname=dirname
                    442: else
                    443:   as_dirname=false
                    444: fi
                    445: 
                    446: as_me=`$as_basename -- "$0" ||
                    447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
                    449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    450: $as_echo X/"$0" |
                    451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          /^X\/\(\/\/\)$/{
                    456:            s//\1/
                    457:            q
                    458:          }
                    459:          /^X\/\(\/\).*/{
                    460:            s//\1/
                    461:            q
                    462:          }
                    463:          s/.*/./; q'`
                    464: 
                    465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    471: 
                    472: 
                    473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    478:   sed -n '
                    479:     p
                    480:     /[$]LINENO/=
                    481:   ' <$as_myself |
                    482:     sed '
                    483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
                    487:       N
                    488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    490:       t loop
                    491:       s/-\n.*//
                    492:     ' >$as_me.lineno &&
                    493:   chmod +x "$as_me.lineno" ||
                    494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    495: 
1.1.1.1.2.1! misho     496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           497:   # already done that, so ensure we don't try to do so again and fall
        !           498:   # in an infinite loop.  This has already happened in practice.
        !           499:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     500:   # Don't try to exec as it changes $[0], causing all sort of problems
                    501:   # (the dirname of $[0] is not the place where we might find the
                    502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
                    504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
                    508: ECHO_C= ECHO_N= ECHO_T=
                    509: case `echo -n x` in #(((((
                    510: -n*)
                    511:   case `echo 'xy\c'` in
                    512:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    513:   xy)  ECHO_C='\c';;
                    514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    515:        ECHO_T='        ';;
                    516:   esac;;
                    517: *)
                    518:   ECHO_N='-n';;
                    519: esac
                    520: 
                    521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
                    524: else
                    525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
                    527: fi
                    528: if (echo >conf$$.file) 2>/dev/null; then
                    529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s='ln -s'
                    531:     # ... but there are two gotchas:
                    532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.1.2.1! misho     534:     # In both cases, we have to default to `cp -pR'.
1.1       misho     535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.1.2.1! misho     536:       as_ln_s='cp -pR'
1.1       misho     537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.1.1.1.2.1! misho     540:     as_ln_s='cp -pR'
1.1       misho     541:   fi
                    542: else
1.1.1.1.2.1! misho     543:   as_ln_s='cp -pR'
1.1       misho     544: fi
                    545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
                    547: 
                    548: if mkdir -p . 2>/dev/null; then
                    549:   as_mkdir_p='mkdir -p "$as_dir"'
                    550: else
                    551:   test -d ./-p && rmdir ./-p
                    552:   as_mkdir_p=false
                    553: fi
                    554: 
1.1.1.1.2.1! misho     555: as_test_x='test -x'
        !           556: as_executable_p=as_fn_executable_p
1.1       misho     557: 
                    558: # Sed expression to map a string onto a valid CPP name.
                    559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    560: 
                    561: # Sed expression to map a string onto a valid variable name.
                    562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
                    564: SHELL=${CONFIG_SHELL-/bin/sh}
                    565: 
                    566: 
                    567: test -n "$DJDIR" || exec 7<&0 </dev/null
                    568: exec 6>&1
                    569: 
                    570: # Name of the host.
                    571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    572: # so uname gets run too.
                    573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    574: 
                    575: #
                    576: # Initializations.
                    577: #
                    578: ac_default_prefix=/usr/local
                    579: ac_clean_files=
                    580: ac_config_libobj_dir=.
                    581: LIBOBJS=
                    582: cross_compiling=no
                    583: subdirs=
                    584: MFLAGS=
                    585: MAKEFLAGS=
                    586: 
                    587: # Identity of this package.
                    588: PACKAGE_NAME='ntp'
                    589: PACKAGE_TARNAME='ntp'
                    590: PACKAGE_VERSION='4.2.6p5'
                    591: PACKAGE_STRING='ntp 4.2.6p5'
                    592: PACKAGE_BUGREPORT=''
                    593: PACKAGE_URL=''
                    594: 
                    595: # Factoring default headers for most tests.
                    596: ac_includes_default="\
                    597: #include <stdio.h>
                    598: #ifdef HAVE_SYS_TYPES_H
                    599: # include <sys/types.h>
                    600: #endif
                    601: #ifdef HAVE_SYS_STAT_H
                    602: # include <sys/stat.h>
                    603: #endif
                    604: #ifdef STDC_HEADERS
                    605: # include <stdlib.h>
                    606: # include <stddef.h>
                    607: #else
                    608: # ifdef HAVE_STDLIB_H
                    609: #  include <stdlib.h>
                    610: # endif
                    611: #endif
                    612: #ifdef HAVE_STRING_H
                    613: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    614: #  include <memory.h>
                    615: # endif
                    616: # include <string.h>
                    617: #endif
                    618: #ifdef HAVE_STRINGS_H
                    619: # include <strings.h>
                    620: #endif
                    621: #ifdef HAVE_INTTYPES_H
                    622: # include <inttypes.h>
                    623: #endif
                    624: #ifdef HAVE_STDINT_H
                    625: # include <stdint.h>
                    626: #endif
                    627: #ifdef HAVE_UNISTD_H
                    628: # include <unistd.h>
                    629: #endif"
                    630: 
                    631: enable_option_checking=no
                    632: ac_subst_vars='am__EXEEXT_FALSE
                    633: am__EXEEXT_TRUE
                    634: LTLIBOBJS
                    635: LIBOBJS
                    636: subdirs
                    637: SAVECONFIG_ENABLED_FALSE
                    638: SAVECONFIG_ENABLED_TRUE
                    639: LSCF
                    640: MAKE_NTPSNMPD
                    641: SNMP_CFLAGS
                    642: SNMP_CPPFLAGS
                    643: SNMP_LIBS
                    644: MAKE_NTPDSIM
                    645: MAKE_LIBNTPSIM
                    646: MAKE_TIMETRIM
                    647: MAKE_TICKADJ
                    648: MAKE_NTPTIME
                    649: MAKE_ADJTIMED
                    650: CLKTEST
                    651: CHUTEST
                    652: PROPDELAY
                    653: MAKE_PARSEKMODULE
                    654: DCFD
                    655: TESTDCF
                    656: MAKE_CHECK_LAYOUT
                    657: EF_LIBS
                    658: EF_PROGS
                    659: LCRYPTO
                    660: OPENSSL_LIB
                    661: OPENSSL_INC
                    662: OPENSSL
                    663: MAKE_CHECK_Y2K
                    664: MAKE_LIBPARSE_KERNEL
                    665: MAKE_LIBPARSE
                    666: LIBPARSE
                    667: HAVE_INLINE
                    668: EDITLINE_LIBS
                    669: PATH_NET_SNMP_CONFIG
                    670: PATH_TEST
                    671: PATH_SH
                    672: PATH_PERL
                    673: OTOOL64
                    674: OTOOL
                    675: LIPO
                    676: NMEDIT
                    677: DSYMUTIL
                    678: MANIFEST_TOOL
                    679: RANLIB
                    680: ac_ct_AR
                    681: AR
                    682: DLLTOOL
                    683: OBJDUMP
                    684: LN_S
                    685: NM
                    686: ac_ct_DUMPBIN
                    687: DUMPBIN
                    688: LD
                    689: FGREP
                    690: LIBTOOL
                    691: NTP_BINSUBDIR_IS_BIN_FALSE
                    692: NTP_BINSUBDIR_IS_BIN_TRUE
                    693: BINSUBDIR
                    694: NTP_CROSSCOMPILE_FALSE
                    695: NTP_CROSSCOMPILE_TRUE
                    696: LIBOPTS_DIR
                    697: LIBOPTS_CFLAGS
                    698: LIBOPTS_LDADD
                    699: NEED_LIBOPTS_FALSE
                    700: NEED_LIBOPTS_TRUE
                    701: INSTALL_LIBOPTS_FALSE
                    702: INSTALL_LIBOPTS_TRUE
                    703: POSIX_SHELL
                    704: SED
                    705: VPATH_HACK_FALSE
                    706: VPATH_HACK_TRUE
                    707: YFLAGS
                    708: YACC
                    709: EGREP
                    710: GREP
                    711: CPP
                    712: am__fastdepCC_FALSE
                    713: am__fastdepCC_TRUE
                    714: CCDEPMODE
                    715: AMDEPBACKSLASH
                    716: AMDEP_FALSE
                    717: AMDEP_TRUE
                    718: am__quote
                    719: am__include
                    720: DEPDIR
                    721: OBJEXT
                    722: EXEEXT
                    723: ac_ct_CC
                    724: CPPFLAGS
                    725: LDFLAGS
                    726: CFLAGS
                    727: CC
                    728: host_os
                    729: host_vendor
                    730: host_cpu
                    731: host
                    732: build_os
                    733: build_vendor
                    734: build_cpu
                    735: build
                    736: am__untar
                    737: am__tar
                    738: AMTAR
                    739: am__leading_dot
                    740: SET_MAKE
                    741: AWK
                    742: mkdir_p
                    743: MKDIR_P
                    744: INSTALL_STRIP_PROGRAM
                    745: STRIP
                    746: install_sh
                    747: MAKEINFO
                    748: AUTOHEADER
                    749: AUTOMAKE
                    750: AUTOCONF
                    751: ACLOCAL
                    752: VERSION
                    753: PACKAGE
                    754: CYGPATH_W
                    755: am__isrc
                    756: INSTALL_DATA
                    757: INSTALL_SCRIPT
                    758: INSTALL_PROGRAM
                    759: target_alias
                    760: host_alias
                    761: build_alias
                    762: LIBS
                    763: ECHO_T
                    764: ECHO_N
                    765: ECHO_C
                    766: DEFS
                    767: mandir
                    768: localedir
                    769: libdir
                    770: psdir
                    771: pdfdir
                    772: dvidir
                    773: htmldir
                    774: infodir
                    775: docdir
                    776: oldincludedir
                    777: includedir
                    778: localstatedir
                    779: sharedstatedir
                    780: sysconfdir
                    781: datadir
                    782: datarootdir
                    783: libexecdir
                    784: sbindir
                    785: bindir
                    786: program_transform_name
                    787: prefix
                    788: exec_prefix
                    789: PACKAGE_URL
                    790: PACKAGE_BUGREPORT
                    791: PACKAGE_STRING
                    792: PACKAGE_VERSION
                    793: PACKAGE_TARNAME
                    794: PACKAGE_NAME
                    795: PATH_SEPARATOR
                    796: SHELL'
                    797: ac_subst_files=''
                    798: ac_user_opts='
                    799: enable_option_checking
                    800: enable_dependency_tracking
                    801: enable_shared
                    802: enable_local_libopts
                    803: enable_libopts_install
                    804: with_autoopts_config
                    805: with_binsubdir
                    806: with_arlib
                    807: with_rpath
                    808: enable_static
                    809: with_pic
                    810: enable_fast_install
                    811: with_gnu_ld
                    812: with_sysroot
                    813: enable_libtool_lock
                    814: with_net_snmp_config
                    815: with_lineeditlibs
                    816: enable_getifaddrs
                    817: enable_debugging
                    818: enable_debug_timing
                    819: enable_dst_minutes
                    820: enable_ignore_dns_errors
                    821: enable_force_defer_DNS
                    822: enable_BANCOMM
                    823: enable_GPSVME
                    824: enable_all_clocks
                    825: enable_ACTS
                    826: enable_ARBITER
                    827: enable_ARCRON_MSF
                    828: enable_AS2201
                    829: enable_ATOM
                    830: enable_CHRONOLOG
                    831: enable_CHU
                    832: enable_AUDIO_CHU
                    833: enable_DATUM
                    834: enable_DUMBCLOCK
                    835: enable_FG
                    836: enable_HEATH
                    837: enable_HOPFSERIAL
                    838: enable_HOPFPCI
                    839: enable_HPGPS
                    840: enable_IRIG
                    841: enable_JJY
                    842: enable_JUPITER
                    843: enable_LEITCH
                    844: enable_LOCAL_CLOCK
                    845: enable_MX4200
                    846: enable_NEOCLOCK4X
                    847: enable_NMEA
                    848: enable_ONCORE
                    849: enable_PALISADE
                    850: enable_PCF
                    851: enable_PST
                    852: enable_RIPENCC
                    853: enable_SHM
                    854: enable_SPECTRACOM
                    855: enable_TPRO
                    856: enable_TRUETIME
                    857: enable_TT560
                    858: enable_ULINK
                    859: enable_WWV
                    860: enable_ZYFER
                    861: enable_parse_clocks
                    862: enable_COMPUTIME
                    863: enable_DCF7000
                    864: enable_HOPF6021
                    865: enable_MEINBERG
                    866: enable_RAWDCF
                    867: enable_RCC8000
                    868: enable_SCHMID
                    869: enable_TRIMTAIP
                    870: enable_TRIMTSIP
                    871: enable_WHARTON
                    872: enable_VARITEXT
                    873: with_openssl_libdir
                    874: with_openssl_incdir
                    875: with_crypto
                    876: with_electricfence
                    877: enable_kmem
                    878: enable_accurate_adjtime
                    879: enable_tick
                    880: enable_tickadj
                    881: enable_simulator
                    882: with_ntpsnmpd
                    883: enable_slew_always
                    884: enable_step_slew
                    885: enable_ntpdate_step
                    886: enable_hourly_todr_sync
                    887: enable_kernel_fll_bug
                    888: enable_bug1243_fix
                    889: enable_irig_sawtooth
                    890: enable_nist
                    891: enable_ntp_signd
                    892: enable_clockctl
                    893: enable_linuxcaps
                    894: enable_ipv6
                    895: with_kame
                    896: enable_saveconfig
                    897: '
                    898:       ac_precious_vars='build_alias
                    899: host_alias
                    900: target_alias
                    901: CC
                    902: CFLAGS
                    903: LDFLAGS
                    904: LIBS
                    905: CPPFLAGS
                    906: CPP
                    907: YACC
                    908: YFLAGS'
                    909: ac_subdirs_all='sntp'
                    910: 
                    911: # Initialize some variables set by options.
                    912: ac_init_help=
                    913: ac_init_version=false
                    914: ac_unrecognized_opts=
                    915: ac_unrecognized_sep=
                    916: # The variables have the same names as the options, with
                    917: # dashes changed to underlines.
                    918: cache_file=/dev/null
                    919: exec_prefix=NONE
                    920: no_create=
                    921: no_recursion=
                    922: prefix=NONE
                    923: program_prefix=NONE
                    924: program_suffix=NONE
                    925: program_transform_name=s,x,x,
                    926: silent=
                    927: site=
                    928: srcdir=
                    929: verbose=
                    930: x_includes=NONE
                    931: x_libraries=NONE
                    932: 
                    933: # Installation directory options.
                    934: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    935: # and all the variables that are supposed to be based on exec_prefix
                    936: # by default will actually change.
                    937: # Use braces instead of parens because sh, perl, etc. also accept them.
                    938: # (The list follows the same order as the GNU Coding Standards.)
                    939: bindir='${exec_prefix}/bin'
                    940: sbindir='${exec_prefix}/sbin'
                    941: libexecdir='${exec_prefix}/libexec'
                    942: datarootdir='${prefix}/share'
                    943: datadir='${datarootdir}'
                    944: sysconfdir='${prefix}/etc'
                    945: sharedstatedir='${prefix}/com'
                    946: localstatedir='${prefix}/var'
                    947: includedir='${prefix}/include'
                    948: oldincludedir='/usr/include'
                    949: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    950: infodir='${datarootdir}/info'
                    951: htmldir='${docdir}'
                    952: dvidir='${docdir}'
                    953: pdfdir='${docdir}'
                    954: psdir='${docdir}'
                    955: libdir='${exec_prefix}/lib'
                    956: localedir='${datarootdir}/locale'
                    957: mandir='${datarootdir}/man'
                    958: 
                    959: ac_prev=
                    960: ac_dashdash=
                    961: for ac_option
                    962: do
                    963:   # If the previous option needs an argument, assign it.
                    964:   if test -n "$ac_prev"; then
                    965:     eval $ac_prev=\$ac_option
                    966:     ac_prev=
                    967:     continue
                    968:   fi
                    969: 
                    970:   case $ac_option in
                    971:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    972:   *=)   ac_optarg= ;;
                    973:   *)    ac_optarg=yes ;;
                    974:   esac
                    975: 
                    976:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    977: 
                    978:   case $ac_dashdash$ac_option in
                    979:   --)
                    980:     ac_dashdash=yes ;;
                    981: 
                    982:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    983:     ac_prev=bindir ;;
                    984:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    985:     bindir=$ac_optarg ;;
                    986: 
                    987:   -build | --build | --buil | --bui | --bu)
                    988:     ac_prev=build_alias ;;
                    989:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    990:     build_alias=$ac_optarg ;;
                    991: 
                    992:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    993:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    994:     ac_prev=cache_file ;;
                    995:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    996:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    997:     cache_file=$ac_optarg ;;
                    998: 
                    999:   --config-cache | -C)
                   1000:     cache_file=config.cache ;;
                   1001: 
                   1002:   -datadir | --datadir | --datadi | --datad)
                   1003:     ac_prev=datadir ;;
                   1004:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                   1005:     datadir=$ac_optarg ;;
                   1006: 
                   1007:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                   1008:   | --dataroo | --dataro | --datar)
                   1009:     ac_prev=datarootdir ;;
                   1010:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                   1011:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                   1012:     datarootdir=$ac_optarg ;;
                   1013: 
                   1014:   -disable-* | --disable-*)
                   1015:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                   1016:     # Reject names that are not valid shell variable names.
                   1017:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1018:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1019:     ac_useropt_orig=$ac_useropt
                   1020:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1021:     case $ac_user_opts in
                   1022:       *"
                   1023: "enable_$ac_useropt"
                   1024: "*) ;;
                   1025:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                   1026:         ac_unrecognized_sep=', ';;
                   1027:     esac
                   1028:     eval enable_$ac_useropt=no ;;
                   1029: 
                   1030:   -docdir | --docdir | --docdi | --doc | --do)
                   1031:     ac_prev=docdir ;;
                   1032:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                   1033:     docdir=$ac_optarg ;;
                   1034: 
                   1035:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                   1036:     ac_prev=dvidir ;;
                   1037:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                   1038:     dvidir=$ac_optarg ;;
                   1039: 
                   1040:   -enable-* | --enable-*)
                   1041:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                   1042:     # Reject names that are not valid shell variable names.
                   1043:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1044:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1045:     ac_useropt_orig=$ac_useropt
                   1046:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1047:     case $ac_user_opts in
                   1048:       *"
                   1049: "enable_$ac_useropt"
                   1050: "*) ;;
                   1051:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1052:         ac_unrecognized_sep=', ';;
                   1053:     esac
                   1054:     eval enable_$ac_useropt=\$ac_optarg ;;
                   1055: 
                   1056:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1057:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1058:   | --exec | --exe | --ex)
                   1059:     ac_prev=exec_prefix ;;
                   1060:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1061:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1062:   | --exec=* | --exe=* | --ex=*)
                   1063:     exec_prefix=$ac_optarg ;;
                   1064: 
                   1065:   -gas | --gas | --ga | --g)
                   1066:     # Obsolete; use --with-gas.
                   1067:     with_gas=yes ;;
                   1068: 
                   1069:   -help | --help | --hel | --he | -h)
                   1070:     ac_init_help=long ;;
                   1071:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1072:     ac_init_help=recursive ;;
                   1073:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1074:     ac_init_help=short ;;
                   1075: 
                   1076:   -host | --host | --hos | --ho)
                   1077:     ac_prev=host_alias ;;
                   1078:   -host=* | --host=* | --hos=* | --ho=*)
                   1079:     host_alias=$ac_optarg ;;
                   1080: 
                   1081:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1082:     ac_prev=htmldir ;;
                   1083:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1084:   | --ht=*)
                   1085:     htmldir=$ac_optarg ;;
                   1086: 
                   1087:   -includedir | --includedir | --includedi | --included | --include \
                   1088:   | --includ | --inclu | --incl | --inc)
                   1089:     ac_prev=includedir ;;
                   1090:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1091:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1092:     includedir=$ac_optarg ;;
                   1093: 
                   1094:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1095:     ac_prev=infodir ;;
                   1096:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1097:     infodir=$ac_optarg ;;
                   1098: 
                   1099:   -libdir | --libdir | --libdi | --libd)
                   1100:     ac_prev=libdir ;;
                   1101:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1102:     libdir=$ac_optarg ;;
                   1103: 
                   1104:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1105:   | --libexe | --libex | --libe)
                   1106:     ac_prev=libexecdir ;;
                   1107:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1108:   | --libexe=* | --libex=* | --libe=*)
                   1109:     libexecdir=$ac_optarg ;;
                   1110: 
                   1111:   -localedir | --localedir | --localedi | --localed | --locale)
                   1112:     ac_prev=localedir ;;
                   1113:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1114:     localedir=$ac_optarg ;;
                   1115: 
                   1116:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1117:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1118:     ac_prev=localstatedir ;;
                   1119:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1120:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1121:     localstatedir=$ac_optarg ;;
                   1122: 
                   1123:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1124:     ac_prev=mandir ;;
                   1125:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1126:     mandir=$ac_optarg ;;
                   1127: 
                   1128:   -nfp | --nfp | --nf)
                   1129:     # Obsolete; use --without-fp.
                   1130:     with_fp=no ;;
                   1131: 
                   1132:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1133:   | --no-cr | --no-c | -n)
                   1134:     no_create=yes ;;
                   1135: 
                   1136:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1137:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1138:     no_recursion=yes ;;
                   1139: 
                   1140:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1141:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1142:   | --oldin | --oldi | --old | --ol | --o)
                   1143:     ac_prev=oldincludedir ;;
                   1144:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1145:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1146:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1147:     oldincludedir=$ac_optarg ;;
                   1148: 
                   1149:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1150:     ac_prev=prefix ;;
                   1151:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1152:     prefix=$ac_optarg ;;
                   1153: 
                   1154:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1155:   | --program-pre | --program-pr | --program-p)
                   1156:     ac_prev=program_prefix ;;
                   1157:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1158:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1159:     program_prefix=$ac_optarg ;;
                   1160: 
                   1161:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1162:   | --program-suf | --program-su | --program-s)
                   1163:     ac_prev=program_suffix ;;
                   1164:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1165:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1166:     program_suffix=$ac_optarg ;;
                   1167: 
                   1168:   -program-transform-name | --program-transform-name \
                   1169:   | --program-transform-nam | --program-transform-na \
                   1170:   | --program-transform-n | --program-transform- \
                   1171:   | --program-transform | --program-transfor \
                   1172:   | --program-transfo | --program-transf \
                   1173:   | --program-trans | --program-tran \
                   1174:   | --progr-tra | --program-tr | --program-t)
                   1175:     ac_prev=program_transform_name ;;
                   1176:   -program-transform-name=* | --program-transform-name=* \
                   1177:   | --program-transform-nam=* | --program-transform-na=* \
                   1178:   | --program-transform-n=* | --program-transform-=* \
                   1179:   | --program-transform=* | --program-transfor=* \
                   1180:   | --program-transfo=* | --program-transf=* \
                   1181:   | --program-trans=* | --program-tran=* \
                   1182:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1183:     program_transform_name=$ac_optarg ;;
                   1184: 
                   1185:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1186:     ac_prev=pdfdir ;;
                   1187:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1188:     pdfdir=$ac_optarg ;;
                   1189: 
                   1190:   -psdir | --psdir | --psdi | --psd | --ps)
                   1191:     ac_prev=psdir ;;
                   1192:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1193:     psdir=$ac_optarg ;;
                   1194: 
                   1195:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1196:   | -silent | --silent | --silen | --sile | --sil)
                   1197:     silent=yes ;;
                   1198: 
                   1199:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1200:     ac_prev=sbindir ;;
                   1201:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1202:   | --sbi=* | --sb=*)
                   1203:     sbindir=$ac_optarg ;;
                   1204: 
                   1205:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1206:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1207:   | --sharedst | --shareds | --shared | --share | --shar \
                   1208:   | --sha | --sh)
                   1209:     ac_prev=sharedstatedir ;;
                   1210:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1211:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1212:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1213:   | --sha=* | --sh=*)
                   1214:     sharedstatedir=$ac_optarg ;;
                   1215: 
                   1216:   -site | --site | --sit)
                   1217:     ac_prev=site ;;
                   1218:   -site=* | --site=* | --sit=*)
                   1219:     site=$ac_optarg ;;
                   1220: 
                   1221:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1222:     ac_prev=srcdir ;;
                   1223:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1224:     srcdir=$ac_optarg ;;
                   1225: 
                   1226:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1227:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1228:     ac_prev=sysconfdir ;;
                   1229:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1230:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1231:     sysconfdir=$ac_optarg ;;
                   1232: 
                   1233:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1234:     ac_prev=target_alias ;;
                   1235:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1236:     target_alias=$ac_optarg ;;
                   1237: 
                   1238:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1239:     verbose=yes ;;
                   1240: 
                   1241:   -version | --version | --versio | --versi | --vers | -V)
                   1242:     ac_init_version=: ;;
                   1243: 
                   1244:   -with-* | --with-*)
                   1245:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1246:     # Reject names that are not valid shell variable names.
                   1247:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1248:       as_fn_error $? "invalid package name: $ac_useropt"
                   1249:     ac_useropt_orig=$ac_useropt
                   1250:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1251:     case $ac_user_opts in
                   1252:       *"
                   1253: "with_$ac_useropt"
                   1254: "*) ;;
                   1255:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1256:         ac_unrecognized_sep=', ';;
                   1257:     esac
                   1258:     eval with_$ac_useropt=\$ac_optarg ;;
                   1259: 
                   1260:   -without-* | --without-*)
                   1261:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1262:     # Reject names that are not valid shell variable names.
                   1263:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1264:       as_fn_error $? "invalid package name: $ac_useropt"
                   1265:     ac_useropt_orig=$ac_useropt
                   1266:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1267:     case $ac_user_opts in
                   1268:       *"
                   1269: "with_$ac_useropt"
                   1270: "*) ;;
                   1271:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1272:         ac_unrecognized_sep=', ';;
                   1273:     esac
                   1274:     eval with_$ac_useropt=no ;;
                   1275: 
                   1276:   --x)
                   1277:     # Obsolete; use --with-x.
                   1278:     with_x=yes ;;
                   1279: 
                   1280:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1281:   | --x-incl | --x-inc | --x-in | --x-i)
                   1282:     ac_prev=x_includes ;;
                   1283:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1284:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1285:     x_includes=$ac_optarg ;;
                   1286: 
                   1287:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1288:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1289:     ac_prev=x_libraries ;;
                   1290:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1291:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1292:     x_libraries=$ac_optarg ;;
                   1293: 
                   1294:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1295: Try \`$0 --help' for more information"
                   1296:     ;;
                   1297: 
                   1298:   *=*)
                   1299:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1300:     # Reject names that are not valid shell variable names.
                   1301:     case $ac_envvar in #(
                   1302:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1303:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1304:     esac
                   1305:     eval $ac_envvar=\$ac_optarg
                   1306:     export $ac_envvar ;;
                   1307: 
                   1308:   *)
                   1309:     # FIXME: should be removed in autoconf 3.0.
                   1310:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1311:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1312:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1313:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1314:     ;;
                   1315: 
                   1316:   esac
                   1317: done
                   1318: 
                   1319: if test -n "$ac_prev"; then
                   1320:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1321:   as_fn_error $? "missing argument to $ac_option"
                   1322: fi
                   1323: 
                   1324: if test -n "$ac_unrecognized_opts"; then
                   1325:   case $enable_option_checking in
                   1326:     no) ;;
                   1327:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1328:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1329:   esac
                   1330: fi
                   1331: 
                   1332: # Check all directory arguments for consistency.
                   1333: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1334:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1335:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1336:                libdir localedir mandir
                   1337: do
                   1338:   eval ac_val=\$$ac_var
                   1339:   # Remove trailing slashes.
                   1340:   case $ac_val in
                   1341:     */ )
                   1342:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1343:       eval $ac_var=\$ac_val;;
                   1344:   esac
                   1345:   # Be sure to have absolute directory names.
                   1346:   case $ac_val in
                   1347:     [\\/$]* | ?:[\\/]* )  continue;;
                   1348:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1349:   esac
                   1350:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1351: done
                   1352: 
                   1353: # There might be people who depend on the old broken behavior: `$host'
                   1354: # used to hold the argument of --host etc.
                   1355: # FIXME: To remove some day.
                   1356: build=$build_alias
                   1357: host=$host_alias
                   1358: target=$target_alias
                   1359: 
                   1360: # FIXME: To remove some day.
                   1361: if test "x$host_alias" != x; then
                   1362:   if test "x$build_alias" = x; then
                   1363:     cross_compiling=maybe
                   1364:   elif test "x$build_alias" != "x$host_alias"; then
                   1365:     cross_compiling=yes
                   1366:   fi
                   1367: fi
                   1368: 
                   1369: ac_tool_prefix=
                   1370: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1371: 
                   1372: test "$silent" = yes && exec 6>/dev/null
                   1373: 
                   1374: 
                   1375: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1376: ac_ls_di=`ls -di .` &&
                   1377: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1378:   as_fn_error $? "working directory cannot be determined"
                   1379: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1380:   as_fn_error $? "pwd does not report name of working directory"
                   1381: 
                   1382: 
                   1383: # Find the source files, if location was not specified.
                   1384: if test -z "$srcdir"; then
                   1385:   ac_srcdir_defaulted=yes
                   1386:   # Try the directory containing this script, then the parent directory.
                   1387:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1388: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1389:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1390:         X"$as_myself" : 'X\(//\)$' \| \
                   1391:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1392: $as_echo X"$as_myself" |
                   1393:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1394:            s//\1/
                   1395:            q
                   1396:          }
                   1397:          /^X\(\/\/\)[^/].*/{
                   1398:            s//\1/
                   1399:            q
                   1400:          }
                   1401:          /^X\(\/\/\)$/{
                   1402:            s//\1/
                   1403:            q
                   1404:          }
                   1405:          /^X\(\/\).*/{
                   1406:            s//\1/
                   1407:            q
                   1408:          }
                   1409:          s/.*/./; q'`
                   1410:   srcdir=$ac_confdir
                   1411:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1412:     srcdir=..
                   1413:   fi
                   1414: else
                   1415:   ac_srcdir_defaulted=no
                   1416: fi
                   1417: if test ! -r "$srcdir/$ac_unique_file"; then
                   1418:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1419:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1420: fi
                   1421: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1422: ac_abs_confdir=`(
                   1423:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1424:        pwd)`
                   1425: # When building in place, set srcdir=.
                   1426: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1427:   srcdir=.
                   1428: fi
                   1429: # Remove unnecessary trailing slashes from srcdir.
                   1430: # Double slashes in file names in object file debugging info
                   1431: # mess up M-x gdb in Emacs.
                   1432: case $srcdir in
                   1433: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1434: esac
                   1435: for ac_var in $ac_precious_vars; do
                   1436:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1437:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1438:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1439:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1440: done
                   1441: 
                   1442: #
                   1443: # Report the --help message.
                   1444: #
                   1445: if test "$ac_init_help" = "long"; then
                   1446:   # Omit some internal or obsolete options to make the list less imposing.
                   1447:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1448:   cat <<_ACEOF
                   1449: \`configure' configures ntp 4.2.6p5 to adapt to many kinds of systems.
                   1450: 
                   1451: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1452: 
                   1453: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1454: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1455: 
                   1456: Defaults for the options are specified in brackets.
                   1457: 
                   1458: Configuration:
                   1459:   -h, --help              display this help and exit
                   1460:       --help=short        display options specific to this package
                   1461:       --help=recursive    display the short help of all the included packages
                   1462:   -V, --version           display version information and exit
                   1463:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1464:       --cache-file=FILE   cache test results in FILE [disabled]
                   1465:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1466:   -n, --no-create         do not create output files
                   1467:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1468: 
                   1469: Installation directories:
                   1470:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1471:                           [$ac_default_prefix]
                   1472:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1473:                           [PREFIX]
                   1474: 
                   1475: By default, \`make install' will install all the files in
                   1476: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1477: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1478: for instance \`--prefix=\$HOME'.
                   1479: 
                   1480: For better control, use the options below.
                   1481: 
                   1482: Fine tuning of the installation directories:
                   1483:   --bindir=DIR            user executables [EPREFIX/bin]
                   1484:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1485:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1486:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1487:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1488:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1489:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1490:   --includedir=DIR        C header files [PREFIX/include]
                   1491:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1492:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1493:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1494:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1495:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1496:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1497:   --docdir=DIR            documentation root [DATAROOTDIR/doc/ntp]
                   1498:   --htmldir=DIR           html documentation [DOCDIR]
                   1499:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1500:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1501:   --psdir=DIR             ps documentation [DOCDIR]
                   1502: _ACEOF
                   1503: 
                   1504:   cat <<\_ACEOF
                   1505: 
                   1506: Program names:
                   1507:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1508:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1509:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1510: 
                   1511: System types:
                   1512:   --build=BUILD     configure for building on BUILD [guessed]
                   1513:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1514: _ACEOF
                   1515: fi
                   1516: 
                   1517: if test -n "$ac_init_help"; then
                   1518:   case $ac_init_help in
                   1519:      short | recursive ) echo "Configuration of ntp 4.2.6p5:";;
                   1520:    esac
                   1521:   cat <<\_ACEOF
                   1522: 
                   1523: Optional Features:
                   1524:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1525:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1526:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1527:   --disable-dependency-tracking  speeds up one-time build
                   1528:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1529:   --enable-shared[=PKGS]  build shared libraries [default=no]
                   1530:   --enable-local-libopts  Force using the supplied libopts tearoff code
                   1531:   --disable-libopts-install
                   1532:                           Do not install libopts with client installation
                   1533:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1534:   --enable-fast-install[=PKGS]
                   1535:                           optimize for fast installation [default=yes]
                   1536:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1537:   --enable-getifaddrs     s Enable the use of getifaddrs() [[yes|no|glibc]].
                   1538:                           glibc: Use getifaddrs() in glibc if you know it
                   1539:                           supports IPv6.
                   1540:   --enable-debugging      + include ntpd debugging code
                   1541:   --enable-debug-timing   - include processing time debugging code (costs
                   1542:                           performance)
                   1543:   --enable-dst-minutes    n minutes per DST adjustment [60]
                   1544:   --enable-ignore-dns-errors
                   1545:                           - retry DNS queries on any error
                   1546:   --enable-force-defer-DNS
                   1547:                           - force all DNS lookups to take the deferred path
                   1548:   --enable-BANCOMM        - Datum/Bancomm bc635/VME interface
                   1549:   --enable-GPSVME         - TrueTime GPS receiver/VME interface
                   1550:   --enable-all-clocks     + include all suitable non-PARSE clocks:
                   1551:   --enable-ACTS           s ACTS modem service
                   1552:   --enable-ARBITER        + Arbiter 1088A/B GPS receiver
                   1553:   --enable-ARCRON-MSF     + Arcron MSF receiver
                   1554:   --enable-AS2201         + Austron 2200A/2201A GPS receiver
                   1555:   --enable-ATOM           s ATOM PPS interface
                   1556:   --enable-CHRONOLOG      + Chrono-log K-series WWVB receiver
                   1557:   --enable-CHU            + CHU modem/decoder
                   1558:   --enable-AUDIO-CHU      s CHU audio/decoder
                   1559:   --enable-DATUM          s Datum Programmable Time System
                   1560:   --enable-DUMBCLOCK      + Dumb generic hh:mm:ss local clock
                   1561:   --enable-FG             + Forum Graphic GPS
                   1562:   --enable-HEATH          s Heath GC-1000 WWV/WWVH receiver
                   1563:   --enable-HOPFSERIAL     + hopf serial clock device
                   1564:   --enable-HOPFPCI        + hopf 6039 PCI board
                   1565:   --enable-HPGPS          + HP 58503A GPS receiver
                   1566:   --enable-IRIG           s IRIG audio decoder
                   1567:   --enable-JJY            + JJY receiver
                   1568:   --enable-JUPITER        s Rockwell Jupiter GPS receiver
                   1569:   --enable-LEITCH         + Leitch CSD 5300 Master Clock System Driver
                   1570:   --enable-LOCAL-CLOCK    + local clock reference
                   1571:   --enable-MX4200         s Magnavox MX4200 GPS receiver
                   1572:   --enable-NEOCLOCK4X     + NeoClock4X DCF77 / TDF receiver
                   1573:   --enable-NMEA           + NMEA GPS receiver
                   1574:   --enable-ONCORE         s Motorola VP/UT Oncore GPS receiver
                   1575:   --enable-PALISADE       s Palisade clock
                   1576:   --enable-PCF            + Conrad parallel port radio clock
                   1577:   --enable-PST            + PST/Traconex 1020 WWV/WWVH receiver
                   1578:   --enable-RIPENCC        - RIPENCC specific Trimble driver
                   1579:   --enable-SHM            s SHM clock attached thru shared memory
                   1580:   --enable-SPECTRACOM     + Spectracom 8170/Netclock/2 WWVB receiver
                   1581:   --enable-TPRO           s KSI/Odetics TPRO/S GPS receiver/IRIG interface
                   1582:   --enable-TRUETIME       s Kinemetrics/TrueTime receivers
                   1583:   --enable-TT560          - TrueTime 560 IRIG-B decoder
                   1584:   --enable-ULINK          + Ultralink WWVB receiver
                   1585:   --enable-WWV            s WWV Audio receiver
                   1586:   --enable-ZYFER          + Zyfer GPStarplus receiver
                   1587:   --enable-parse-clocks   - include all suitable PARSE clocks:
                   1588:   --enable-COMPUTIME      s Diem Computime Radio Clock
                   1589:   --enable-DCF7000        s ELV/DCF7000 clock
                   1590:   --enable-HOPF6021       s HOPF 6021 clock
                   1591:   --enable-MEINBERG       s Meinberg clocks
                   1592:   --enable-RAWDCF         s DCF77 raw time code
                   1593:   --enable-RCC8000        s RCC 8000 clock
                   1594:   --enable-SCHMID         s Schmid DCF77 clock
                   1595:   --enable-TRIMTAIP       s Trimble GPS receiver/TAIP protocol
                   1596:   --enable-TRIMTSIP       s Trimble GPS receiver/TSIP protocol
                   1597:   --enable-WHARTON        s WHARTON 400A Series clock
                   1598:   --enable-VARITEXT       s VARITEXT clock
                   1599:   --enable-kmem           s read /dev/kmem for tick and/or tickadj
                   1600:   --enable-accurate-adjtime
                   1601:                           s the adjtime() call is accurate
                   1602:   --enable-tick=VALUE     s force a value for 'tick'
                   1603:   --enable-tickadj=VALUE  s force a value for 'tickadj'
                   1604:   --enable-simulator      - build/install the NTPD simulator?
                   1605:   --enable-slew-always    s always slew the time
                   1606:   --enable-step-slew      s step and slew the time
                   1607:   --enable-ntpdate-step   s if ntpdate should step the time
                   1608:   --enable-hourly-todr-sync
                   1609:                           s if we should sync TODR hourly
                   1610:   --enable-kernel-fll-bug s if we should avoid a kernel FLL bug
                   1611:   --enable-bug1243-fix    + use unmodified autokey session keys
                   1612:   --enable-irig-sawtooth  s if we should enable the IRIG sawtooth filter
                   1613:   --enable-nist           - if we should enable the NIST lockclock scheme
                   1614:   --enable-ntp-signd      - Provide support for Samba's signing daemon,
                   1615:                           =/var/run/ntp_signd
                   1616:   --enable-clockctl       s Use /dev/clockctl for non-root clock control
                   1617:   --enable-linuxcaps      + Use Linux capabilities for non-root clock control
                   1618:   --enable-ipv6           s use IPv6?
                   1619: 
                   1620:   --enable-saveconfig     + saveconfig mechanism
                   1621: 
                   1622: Optional Packages:
                   1623:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1624:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1625:   --with-autoopts-config  specify the config-info script
                   1626:   --with-binsubdir        bin ={bin,sbin}
                   1627:   --with-arlib            - deprecated, arlib not distributed
                   1628:   --without-rpath         s Disable auto-added -R linker paths
                   1629:   --with-pic              try to use only PIC/non-PIC objects [default=use
                   1630:                           both]
                   1631:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1632:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1633:                         (or the compiler's sysroot if not specified).
                   1634:   --with-net-snmp-config  + =net-snmp-config
                   1635:   --with-lineeditlibs     edit,editline (readline may be specified if desired)
                   1636:   --with-openssl-libdir   + =/something/reasonable
                   1637:   --with-openssl-incdir   + =/something/reasonable
                   1638:   --with-crypto           + =openssl
                   1639:   --with-electricfence    - compile with ElectricFence malloc debugger
                   1640:   --with-ntpsnmpd         s Build ntpsnmpd MIB agent?
                   1641:   --with-kame             - =/usr/local/v6
                   1642: 
                   1643: Some influential environment variables:
                   1644:   CC          C compiler command
                   1645:   CFLAGS      C compiler flags
                   1646:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1647:               nonstandard directory <lib dir>
                   1648:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1649:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1650:               you have headers in a nonstandard directory <include dir>
                   1651:   CPP         C preprocessor
                   1652:   YACC        The `Yet Another Compiler Compiler' implementation to use.
                   1653:               Defaults to the first program found out of: `bison -y', `byacc',
                   1654:               `yacc'.
                   1655:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1656:               This script will default YFLAGS to the empty string to avoid a
                   1657:               default value of `-d' given by some make applications.
                   1658: 
                   1659: Use these variables to override the choices made by `configure' or to help
                   1660: it to find libraries and programs with nonstandard names/locations.
                   1661: 
                   1662: Report bugs to the package provider.
                   1663: _ACEOF
                   1664: ac_status=$?
                   1665: fi
                   1666: 
                   1667: if test "$ac_init_help" = "recursive"; then
                   1668:   # If there are subdirs, report their specific --help.
                   1669:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1670:     test -d "$ac_dir" ||
                   1671:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1672:       continue
                   1673:     ac_builddir=.
                   1674: 
                   1675: case "$ac_dir" in
                   1676: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1677: *)
                   1678:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1679:   # A ".." for each directory in $ac_dir_suffix.
                   1680:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1681:   case $ac_top_builddir_sub in
                   1682:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1683:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1684:   esac ;;
                   1685: esac
                   1686: ac_abs_top_builddir=$ac_pwd
                   1687: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1688: # for backward compatibility:
                   1689: ac_top_builddir=$ac_top_build_prefix
                   1690: 
                   1691: case $srcdir in
                   1692:   .)  # We are building in place.
                   1693:     ac_srcdir=.
                   1694:     ac_top_srcdir=$ac_top_builddir_sub
                   1695:     ac_abs_top_srcdir=$ac_pwd ;;
                   1696:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1697:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1698:     ac_top_srcdir=$srcdir
                   1699:     ac_abs_top_srcdir=$srcdir ;;
                   1700:   *) # Relative name.
                   1701:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1702:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1703:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1704: esac
                   1705: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1706: 
                   1707:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1708:     # Check for guested configure.
                   1709:     if test -f "$ac_srcdir/configure.gnu"; then
                   1710:       echo &&
                   1711:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1712:     elif test -f "$ac_srcdir/configure"; then
                   1713:       echo &&
                   1714:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1715:     else
                   1716:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1717:     fi || ac_status=$?
                   1718:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1719:   done
                   1720: fi
                   1721: 
                   1722: test -n "$ac_init_help" && exit $ac_status
                   1723: if $ac_init_version; then
                   1724:   cat <<\_ACEOF
                   1725: ntp configure 4.2.6p5
1.1.1.1.2.1! misho    1726: generated by GNU Autoconf 2.69
1.1       misho    1727: 
1.1.1.1.2.1! misho    1728: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1729: This configure script is free software; the Free Software Foundation
                   1730: gives unlimited permission to copy, distribute and modify it.
                   1731: _ACEOF
                   1732:   exit
                   1733: fi
                   1734: 
                   1735: ## ------------------------ ##
                   1736: ## Autoconf initialization. ##
                   1737: ## ------------------------ ##
                   1738: 
                   1739: # ac_fn_c_try_compile LINENO
                   1740: # --------------------------
                   1741: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1742: ac_fn_c_try_compile ()
                   1743: {
                   1744:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1745:   rm -f conftest.$ac_objext
                   1746:   if { { ac_try="$ac_compile"
                   1747: case "(($ac_try" in
                   1748:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1749:   *) ac_try_echo=$ac_try;;
                   1750: esac
                   1751: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1752: $as_echo "$ac_try_echo"; } >&5
                   1753:   (eval "$ac_compile") 2>conftest.err
                   1754:   ac_status=$?
                   1755:   if test -s conftest.err; then
                   1756:     grep -v '^ *+' conftest.err >conftest.er1
                   1757:     cat conftest.er1 >&5
                   1758:     mv -f conftest.er1 conftest.err
                   1759:   fi
                   1760:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1761:   test $ac_status = 0; } && {
                   1762:         test -z "$ac_c_werror_flag" ||
                   1763:         test ! -s conftest.err
                   1764:        } && test -s conftest.$ac_objext; then :
                   1765:   ac_retval=0
                   1766: else
                   1767:   $as_echo "$as_me: failed program was:" >&5
                   1768: sed 's/^/| /' conftest.$ac_ext >&5
                   1769: 
                   1770:        ac_retval=1
                   1771: fi
                   1772:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1773:   as_fn_set_status $ac_retval
                   1774: 
                   1775: } # ac_fn_c_try_compile
                   1776: 
                   1777: # ac_fn_c_try_cpp LINENO
                   1778: # ----------------------
                   1779: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1780: ac_fn_c_try_cpp ()
                   1781: {
                   1782:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1783:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1784: case "(($ac_try" in
                   1785:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1786:   *) ac_try_echo=$ac_try;;
                   1787: esac
                   1788: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1789: $as_echo "$ac_try_echo"; } >&5
                   1790:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1791:   ac_status=$?
                   1792:   if test -s conftest.err; then
                   1793:     grep -v '^ *+' conftest.err >conftest.er1
                   1794:     cat conftest.er1 >&5
                   1795:     mv -f conftest.er1 conftest.err
                   1796:   fi
                   1797:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1798:   test $ac_status = 0; } > conftest.i && {
                   1799:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1800:         test ! -s conftest.err
                   1801:        }; then :
                   1802:   ac_retval=0
                   1803: else
                   1804:   $as_echo "$as_me: failed program was:" >&5
                   1805: sed 's/^/| /' conftest.$ac_ext >&5
                   1806: 
                   1807:     ac_retval=1
                   1808: fi
                   1809:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1810:   as_fn_set_status $ac_retval
                   1811: 
                   1812: } # ac_fn_c_try_cpp
                   1813: 
                   1814: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1815: # -------------------------------------------------------
                   1816: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1817: # the include files in INCLUDES and setting the cache variable VAR
                   1818: # accordingly.
                   1819: ac_fn_c_check_header_mongrel ()
                   1820: {
                   1821:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1822:   if eval \${$3+:} false; then :
                   1823:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1824: $as_echo_n "checking for $2... " >&6; }
                   1825: if eval \${$3+:} false; then :
                   1826:   $as_echo_n "(cached) " >&6
                   1827: fi
                   1828: eval ac_res=\$$3
                   1829:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1830: $as_echo "$ac_res" >&6; }
                   1831: else
                   1832:   # Is the header compilable?
                   1833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1834: $as_echo_n "checking $2 usability... " >&6; }
                   1835: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1836: /* end confdefs.h.  */
                   1837: $4
                   1838: #include <$2>
                   1839: _ACEOF
                   1840: if ac_fn_c_try_compile "$LINENO"; then :
                   1841:   ac_header_compiler=yes
                   1842: else
                   1843:   ac_header_compiler=no
                   1844: fi
                   1845: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1847: $as_echo "$ac_header_compiler" >&6; }
                   1848: 
                   1849: # Is the header present?
                   1850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1851: $as_echo_n "checking $2 presence... " >&6; }
                   1852: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1853: /* end confdefs.h.  */
                   1854: #include <$2>
                   1855: _ACEOF
                   1856: if ac_fn_c_try_cpp "$LINENO"; then :
                   1857:   ac_header_preproc=yes
                   1858: else
                   1859:   ac_header_preproc=no
                   1860: fi
                   1861: rm -f conftest.err conftest.i conftest.$ac_ext
                   1862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1863: $as_echo "$ac_header_preproc" >&6; }
                   1864: 
                   1865: # So?  What about this header?
                   1866: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1867:   yes:no: )
                   1868:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1869: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1870:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1871: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1872:     ;;
                   1873:   no:yes:* )
                   1874:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1875: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1876:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1877: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1878:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1879: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1880:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1881: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1882:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1883: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1884:     ;;
                   1885: esac
                   1886:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1887: $as_echo_n "checking for $2... " >&6; }
                   1888: if eval \${$3+:} false; then :
                   1889:   $as_echo_n "(cached) " >&6
                   1890: else
                   1891:   eval "$3=\$ac_header_compiler"
                   1892: fi
                   1893: eval ac_res=\$$3
                   1894:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1895: $as_echo "$ac_res" >&6; }
                   1896: fi
                   1897:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1898: 
                   1899: } # ac_fn_c_check_header_mongrel
                   1900: 
                   1901: # ac_fn_c_try_run LINENO
                   1902: # ----------------------
                   1903: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1904: # that executables *can* be run.
                   1905: ac_fn_c_try_run ()
                   1906: {
                   1907:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1908:   if { { ac_try="$ac_link"
                   1909: case "(($ac_try" in
                   1910:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1911:   *) ac_try_echo=$ac_try;;
                   1912: esac
                   1913: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1914: $as_echo "$ac_try_echo"; } >&5
                   1915:   (eval "$ac_link") 2>&5
                   1916:   ac_status=$?
                   1917:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1918:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1919:   { { case "(($ac_try" in
                   1920:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1921:   *) ac_try_echo=$ac_try;;
                   1922: esac
                   1923: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1924: $as_echo "$ac_try_echo"; } >&5
                   1925:   (eval "$ac_try") 2>&5
                   1926:   ac_status=$?
                   1927:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1928:   test $ac_status = 0; }; }; then :
                   1929:   ac_retval=0
                   1930: else
                   1931:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1932:        $as_echo "$as_me: failed program was:" >&5
                   1933: sed 's/^/| /' conftest.$ac_ext >&5
                   1934: 
                   1935:        ac_retval=$ac_status
                   1936: fi
                   1937:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1938:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1939:   as_fn_set_status $ac_retval
                   1940: 
                   1941: } # ac_fn_c_try_run
                   1942: 
                   1943: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1944: # -------------------------------------------------------
                   1945: # Tests whether HEADER exists and can be compiled using the include files in
                   1946: # INCLUDES, setting the cache variable VAR accordingly.
                   1947: ac_fn_c_check_header_compile ()
                   1948: {
                   1949:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1950:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1951: $as_echo_n "checking for $2... " >&6; }
                   1952: if eval \${$3+:} false; then :
                   1953:   $as_echo_n "(cached) " >&6
                   1954: else
                   1955:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1956: /* end confdefs.h.  */
                   1957: $4
                   1958: #include <$2>
                   1959: _ACEOF
                   1960: if ac_fn_c_try_compile "$LINENO"; then :
                   1961:   eval "$3=yes"
                   1962: else
                   1963:   eval "$3=no"
                   1964: fi
                   1965: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1966: fi
                   1967: eval ac_res=\$$3
                   1968:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1969: $as_echo "$ac_res" >&6; }
                   1970:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1971: 
                   1972: } # ac_fn_c_check_header_compile
                   1973: 
                   1974: # ac_fn_c_try_link LINENO
                   1975: # -----------------------
                   1976: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1977: ac_fn_c_try_link ()
                   1978: {
                   1979:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1980:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1981:   if { { ac_try="$ac_link"
                   1982: case "(($ac_try" in
                   1983:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1984:   *) ac_try_echo=$ac_try;;
                   1985: esac
                   1986: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1987: $as_echo "$ac_try_echo"; } >&5
                   1988:   (eval "$ac_link") 2>conftest.err
                   1989:   ac_status=$?
                   1990:   if test -s conftest.err; then
                   1991:     grep -v '^ *+' conftest.err >conftest.er1
                   1992:     cat conftest.er1 >&5
                   1993:     mv -f conftest.er1 conftest.err
                   1994:   fi
                   1995:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1996:   test $ac_status = 0; } && {
                   1997:         test -z "$ac_c_werror_flag" ||
                   1998:         test ! -s conftest.err
                   1999:        } && test -s conftest$ac_exeext && {
                   2000:         test "$cross_compiling" = yes ||
1.1.1.1.2.1! misho    2001:         test -x conftest$ac_exeext
1.1       misho    2002:        }; then :
                   2003:   ac_retval=0
                   2004: else
                   2005:   $as_echo "$as_me: failed program was:" >&5
                   2006: sed 's/^/| /' conftest.$ac_ext >&5
                   2007: 
                   2008:        ac_retval=1
                   2009: fi
                   2010:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   2011:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   2012:   # interfere with the next link command; also delete a directory that is
                   2013:   # left behind by Apple's compiler.  We do this before executing the actions.
                   2014:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   2015:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2016:   as_fn_set_status $ac_retval
                   2017: 
                   2018: } # ac_fn_c_try_link
                   2019: 
                   2020: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2021: # -------------------------------------------
                   2022: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2023: # variable VAR accordingly.
                   2024: ac_fn_c_check_type ()
                   2025: {
                   2026:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2027:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2028: $as_echo_n "checking for $2... " >&6; }
                   2029: if eval \${$3+:} false; then :
                   2030:   $as_echo_n "(cached) " >&6
                   2031: else
                   2032:   eval "$3=no"
                   2033:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2034: /* end confdefs.h.  */
                   2035: $4
                   2036: int
                   2037: main ()
                   2038: {
                   2039: if (sizeof ($2))
                   2040:         return 0;
                   2041:   ;
                   2042:   return 0;
                   2043: }
                   2044: _ACEOF
                   2045: if ac_fn_c_try_compile "$LINENO"; then :
                   2046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2047: /* end confdefs.h.  */
                   2048: $4
                   2049: int
                   2050: main ()
                   2051: {
                   2052: if (sizeof (($2)))
                   2053:            return 0;
                   2054:   ;
                   2055:   return 0;
                   2056: }
                   2057: _ACEOF
                   2058: if ac_fn_c_try_compile "$LINENO"; then :
                   2059: 
                   2060: else
                   2061:   eval "$3=yes"
                   2062: fi
                   2063: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2064: fi
                   2065: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2066: fi
                   2067: eval ac_res=\$$3
                   2068:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2069: $as_echo "$ac_res" >&6; }
                   2070:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2071: 
                   2072: } # ac_fn_c_check_type
                   2073: 
                   2074: # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
                   2075: # --------------------------------------------
                   2076: # Tries to find the compile-time value of EXPR in a program that includes
                   2077: # INCLUDES, setting VAR accordingly. Returns whether the value could be
                   2078: # computed
                   2079: ac_fn_c_compute_int ()
                   2080: {
                   2081:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2082:   if test "$cross_compiling" = yes; then
                   2083:     # Depending upon the size, compute the lo and hi bounds.
                   2084: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2085: /* end confdefs.h.  */
                   2086: $4
                   2087: int
                   2088: main ()
                   2089: {
                   2090: static int test_array [1 - 2 * !(($2) >= 0)];
1.1.1.1.2.1! misho    2091: test_array [0] = 0;
        !          2092: return test_array [0];
1.1       misho    2093: 
                   2094:   ;
                   2095:   return 0;
                   2096: }
                   2097: _ACEOF
                   2098: if ac_fn_c_try_compile "$LINENO"; then :
                   2099:   ac_lo=0 ac_mid=0
                   2100:   while :; do
                   2101:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2102: /* end confdefs.h.  */
                   2103: $4
                   2104: int
                   2105: main ()
                   2106: {
                   2107: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.1.1.1.2.1! misho    2108: test_array [0] = 0;
        !          2109: return test_array [0];
1.1       misho    2110: 
                   2111:   ;
                   2112:   return 0;
                   2113: }
                   2114: _ACEOF
                   2115: if ac_fn_c_try_compile "$LINENO"; then :
                   2116:   ac_hi=$ac_mid; break
                   2117: else
                   2118:   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
                   2119:                        if test $ac_lo -le $ac_mid; then
                   2120:                          ac_lo= ac_hi=
                   2121:                          break
                   2122:                        fi
                   2123:                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
                   2124: fi
                   2125: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2126:   done
                   2127: else
                   2128:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2129: /* end confdefs.h.  */
                   2130: $4
                   2131: int
                   2132: main ()
                   2133: {
                   2134: static int test_array [1 - 2 * !(($2) < 0)];
1.1.1.1.2.1! misho    2135: test_array [0] = 0;
        !          2136: return test_array [0];
1.1       misho    2137: 
                   2138:   ;
                   2139:   return 0;
                   2140: }
                   2141: _ACEOF
                   2142: if ac_fn_c_try_compile "$LINENO"; then :
                   2143:   ac_hi=-1 ac_mid=-1
                   2144:   while :; do
                   2145:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2146: /* end confdefs.h.  */
                   2147: $4
                   2148: int
                   2149: main ()
                   2150: {
                   2151: static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1.1.1.1.2.1! misho    2152: test_array [0] = 0;
        !          2153: return test_array [0];
1.1       misho    2154: 
                   2155:   ;
                   2156:   return 0;
                   2157: }
                   2158: _ACEOF
                   2159: if ac_fn_c_try_compile "$LINENO"; then :
                   2160:   ac_lo=$ac_mid; break
                   2161: else
                   2162:   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
                   2163:                        if test $ac_mid -le $ac_hi; then
                   2164:                          ac_lo= ac_hi=
                   2165:                          break
                   2166:                        fi
                   2167:                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
                   2168: fi
                   2169: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2170:   done
                   2171: else
                   2172:   ac_lo= ac_hi=
                   2173: fi
                   2174: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2175: fi
                   2176: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2177: # Binary search between lo and hi bounds.
                   2178: while test "x$ac_lo" != "x$ac_hi"; do
                   2179:   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
                   2180:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2181: /* end confdefs.h.  */
                   2182: $4
                   2183: int
                   2184: main ()
                   2185: {
                   2186: static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1.1.1.1.2.1! misho    2187: test_array [0] = 0;
        !          2188: return test_array [0];
1.1       misho    2189: 
                   2190:   ;
                   2191:   return 0;
                   2192: }
                   2193: _ACEOF
                   2194: if ac_fn_c_try_compile "$LINENO"; then :
                   2195:   ac_hi=$ac_mid
                   2196: else
                   2197:   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
                   2198: fi
                   2199: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2200: done
                   2201: case $ac_lo in #((
                   2202: ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
                   2203: '') ac_retval=1 ;;
                   2204: esac
                   2205:   else
                   2206:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2207: /* end confdefs.h.  */
                   2208: $4
                   2209: static long int longval () { return $2; }
                   2210: static unsigned long int ulongval () { return $2; }
                   2211: #include <stdio.h>
                   2212: #include <stdlib.h>
                   2213: int
                   2214: main ()
                   2215: {
                   2216: 
                   2217:   FILE *f = fopen ("conftest.val", "w");
                   2218:   if (! f)
                   2219:     return 1;
                   2220:   if (($2) < 0)
                   2221:     {
                   2222:       long int i = longval ();
                   2223:       if (i != ($2))
                   2224:        return 1;
                   2225:       fprintf (f, "%ld", i);
                   2226:     }
                   2227:   else
                   2228:     {
                   2229:       unsigned long int i = ulongval ();
                   2230:       if (i != ($2))
                   2231:        return 1;
                   2232:       fprintf (f, "%lu", i);
                   2233:     }
                   2234:   /* Do not output a trailing newline, as this causes \r\n confusion
                   2235:      on some platforms.  */
                   2236:   return ferror (f) || fclose (f) != 0;
                   2237: 
                   2238:   ;
                   2239:   return 0;
                   2240: }
                   2241: _ACEOF
                   2242: if ac_fn_c_try_run "$LINENO"; then :
                   2243:   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
                   2244: else
                   2245:   ac_retval=1
                   2246: fi
                   2247: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   2248:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   2249: rm -f conftest.val
                   2250: 
                   2251:   fi
                   2252:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2253:   as_fn_set_status $ac_retval
                   2254: 
                   2255: } # ac_fn_c_compute_int
                   2256: 
                   2257: # ac_fn_c_check_func LINENO FUNC VAR
                   2258: # ----------------------------------
                   2259: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   2260: ac_fn_c_check_func ()
                   2261: {
                   2262:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2263:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2264: $as_echo_n "checking for $2... " >&6; }
                   2265: if eval \${$3+:} false; then :
                   2266:   $as_echo_n "(cached) " >&6
                   2267: else
                   2268:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2269: /* end confdefs.h.  */
                   2270: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   2271:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   2272: #define $2 innocuous_$2
                   2273: 
                   2274: /* System header to define __stub macros and hopefully few prototypes,
                   2275:     which can conflict with char $2 (); below.
                   2276:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   2277:     <limits.h> exists even on freestanding compilers.  */
                   2278: 
                   2279: #ifdef __STDC__
                   2280: # include <limits.h>
                   2281: #else
                   2282: # include <assert.h>
                   2283: #endif
                   2284: 
                   2285: #undef $2
                   2286: 
                   2287: /* Override any GCC internal prototype to avoid an error.
                   2288:    Use char because int might match the return type of a GCC
                   2289:    builtin and then its argument prototype would still apply.  */
                   2290: #ifdef __cplusplus
                   2291: extern "C"
                   2292: #endif
                   2293: char $2 ();
                   2294: /* The GNU C library defines this for functions which it implements
                   2295:     to always fail with ENOSYS.  Some functions are actually named
                   2296:     something starting with __ and the normal name is an alias.  */
                   2297: #if defined __stub_$2 || defined __stub___$2
                   2298: choke me
                   2299: #endif
                   2300: 
                   2301: int
                   2302: main ()
                   2303: {
                   2304: return $2 ();
                   2305:   ;
                   2306:   return 0;
                   2307: }
                   2308: _ACEOF
                   2309: if ac_fn_c_try_link "$LINENO"; then :
                   2310:   eval "$3=yes"
                   2311: else
                   2312:   eval "$3=no"
                   2313: fi
                   2314: rm -f core conftest.err conftest.$ac_objext \
                   2315:     conftest$ac_exeext conftest.$ac_ext
                   2316: fi
                   2317: eval ac_res=\$$3
                   2318:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2319: $as_echo "$ac_res" >&6; }
                   2320:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2321: 
                   2322: } # ac_fn_c_check_func
                   2323: 
                   2324: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2325: # ----------------------------------------------------
                   2326: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2327: # INCLUDES, setting cache variable VAR accordingly.
                   2328: ac_fn_c_check_member ()
                   2329: {
                   2330:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2331:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2332: $as_echo_n "checking for $2.$3... " >&6; }
                   2333: if eval \${$4+:} false; then :
                   2334:   $as_echo_n "(cached) " >&6
                   2335: else
                   2336:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2337: /* end confdefs.h.  */
                   2338: $5
                   2339: int
                   2340: main ()
                   2341: {
                   2342: static $2 ac_aggr;
                   2343: if (ac_aggr.$3)
                   2344: return 0;
                   2345:   ;
                   2346:   return 0;
                   2347: }
                   2348: _ACEOF
                   2349: if ac_fn_c_try_compile "$LINENO"; then :
                   2350:   eval "$4=yes"
                   2351: else
                   2352:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2353: /* end confdefs.h.  */
                   2354: $5
                   2355: int
                   2356: main ()
                   2357: {
                   2358: static $2 ac_aggr;
                   2359: if (sizeof ac_aggr.$3)
                   2360: return 0;
                   2361:   ;
                   2362:   return 0;
                   2363: }
                   2364: _ACEOF
                   2365: if ac_fn_c_try_compile "$LINENO"; then :
                   2366:   eval "$4=yes"
                   2367: else
                   2368:   eval "$4=no"
                   2369: fi
                   2370: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2371: fi
                   2372: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2373: fi
                   2374: eval ac_res=\$$4
                   2375:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2376: $as_echo "$ac_res" >&6; }
                   2377:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2378: 
                   2379: } # ac_fn_c_check_member
                   2380: cat >config.log <<_ACEOF
                   2381: This file contains any messages produced by compilers while
                   2382: running configure, to aid debugging if configure makes a mistake.
                   2383: 
                   2384: It was created by ntp $as_me 4.2.6p5, which was
1.1.1.1.2.1! misho    2385: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    2386: 
                   2387:   $ $0 $@
                   2388: 
                   2389: _ACEOF
                   2390: exec 5>>config.log
                   2391: {
                   2392: cat <<_ASUNAME
                   2393: ## --------- ##
                   2394: ## Platform. ##
                   2395: ## --------- ##
                   2396: 
                   2397: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2398: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2399: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2400: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2401: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2402: 
                   2403: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2404: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2405: 
                   2406: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2407: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2408: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2409: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2410: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2411: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2412: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2413: 
                   2414: _ASUNAME
                   2415: 
                   2416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2417: for as_dir in $PATH
                   2418: do
                   2419:   IFS=$as_save_IFS
                   2420:   test -z "$as_dir" && as_dir=.
                   2421:     $as_echo "PATH: $as_dir"
                   2422:   done
                   2423: IFS=$as_save_IFS
                   2424: 
                   2425: } >&5
                   2426: 
                   2427: cat >&5 <<_ACEOF
                   2428: 
                   2429: 
                   2430: ## ----------- ##
                   2431: ## Core tests. ##
                   2432: ## ----------- ##
                   2433: 
                   2434: _ACEOF
                   2435: 
                   2436: 
                   2437: # Keep a trace of the command line.
                   2438: # Strip out --no-create and --no-recursion so they do not pile up.
                   2439: # Strip out --silent because we don't want to record it for future runs.
                   2440: # Also quote any args containing shell meta-characters.
                   2441: # Make two passes to allow for proper duplicate-argument suppression.
                   2442: ac_configure_args=
                   2443: ac_configure_args0=
                   2444: ac_configure_args1=
                   2445: ac_must_keep_next=false
                   2446: for ac_pass in 1 2
                   2447: do
                   2448:   for ac_arg
                   2449:   do
                   2450:     case $ac_arg in
                   2451:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2452:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2453:     | -silent | --silent | --silen | --sile | --sil)
                   2454:       continue ;;
                   2455:     *\'*)
                   2456:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2457:     esac
                   2458:     case $ac_pass in
                   2459:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2460:     2)
                   2461:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2462:       if test $ac_must_keep_next = true; then
                   2463:        ac_must_keep_next=false # Got value, back to normal.
                   2464:       else
                   2465:        case $ac_arg in
                   2466:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2467:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2468:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2469:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2470:            case "$ac_configure_args0 " in
                   2471:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2472:            esac
                   2473:            ;;
                   2474:          -* ) ac_must_keep_next=true ;;
                   2475:        esac
                   2476:       fi
                   2477:       as_fn_append ac_configure_args " '$ac_arg'"
                   2478:       ;;
                   2479:     esac
                   2480:   done
                   2481: done
                   2482: { ac_configure_args0=; unset ac_configure_args0;}
                   2483: { ac_configure_args1=; unset ac_configure_args1;}
                   2484: 
                   2485: # When interrupted or exit'd, cleanup temporary files, and complete
                   2486: # config.log.  We remove comments because anyway the quotes in there
                   2487: # would cause problems or look ugly.
                   2488: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2489: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2490: trap 'exit_status=$?
                   2491:   # Save into config.log some information that might help in debugging.
                   2492:   {
                   2493:     echo
                   2494: 
                   2495:     $as_echo "## ---------------- ##
                   2496: ## Cache variables. ##
                   2497: ## ---------------- ##"
                   2498:     echo
                   2499:     # The following way of writing the cache mishandles newlines in values,
                   2500: (
                   2501:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2502:     eval ac_val=\$$ac_var
                   2503:     case $ac_val in #(
                   2504:     *${as_nl}*)
                   2505:       case $ac_var in #(
                   2506:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2507: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2508:       esac
                   2509:       case $ac_var in #(
                   2510:       _ | IFS | as_nl) ;; #(
                   2511:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2512:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2513:       esac ;;
                   2514:     esac
                   2515:   done
                   2516:   (set) 2>&1 |
                   2517:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2518:     *${as_nl}ac_space=\ *)
                   2519:       sed -n \
                   2520:        "s/'\''/'\''\\\\'\'''\''/g;
                   2521:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2522:       ;; #(
                   2523:     *)
                   2524:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2525:       ;;
                   2526:     esac |
                   2527:     sort
                   2528: )
                   2529:     echo
                   2530: 
                   2531:     $as_echo "## ----------------- ##
                   2532: ## Output variables. ##
                   2533: ## ----------------- ##"
                   2534:     echo
                   2535:     for ac_var in $ac_subst_vars
                   2536:     do
                   2537:       eval ac_val=\$$ac_var
                   2538:       case $ac_val in
                   2539:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2540:       esac
                   2541:       $as_echo "$ac_var='\''$ac_val'\''"
                   2542:     done | sort
                   2543:     echo
                   2544: 
                   2545:     if test -n "$ac_subst_files"; then
                   2546:       $as_echo "## ------------------- ##
                   2547: ## File substitutions. ##
                   2548: ## ------------------- ##"
                   2549:       echo
                   2550:       for ac_var in $ac_subst_files
                   2551:       do
                   2552:        eval ac_val=\$$ac_var
                   2553:        case $ac_val in
                   2554:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2555:        esac
                   2556:        $as_echo "$ac_var='\''$ac_val'\''"
                   2557:       done | sort
                   2558:       echo
                   2559:     fi
                   2560: 
                   2561:     if test -s confdefs.h; then
                   2562:       $as_echo "## ----------- ##
                   2563: ## confdefs.h. ##
                   2564: ## ----------- ##"
                   2565:       echo
                   2566:       cat confdefs.h
                   2567:       echo
                   2568:     fi
                   2569:     test "$ac_signal" != 0 &&
                   2570:       $as_echo "$as_me: caught signal $ac_signal"
                   2571:     $as_echo "$as_me: exit $exit_status"
                   2572:   } >&5
                   2573:   rm -f core *.core core.conftest.* &&
                   2574:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2575:     exit $exit_status
                   2576: ' 0
                   2577: for ac_signal in 1 2 13 15; do
                   2578:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2579: done
                   2580: ac_signal=0
                   2581: 
                   2582: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2583: rm -f -r conftest* confdefs.h
                   2584: 
                   2585: $as_echo "/* confdefs.h */" > confdefs.h
                   2586: 
                   2587: # Predefined preprocessor variables.
                   2588: 
                   2589: cat >>confdefs.h <<_ACEOF
                   2590: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2591: _ACEOF
                   2592: 
                   2593: cat >>confdefs.h <<_ACEOF
                   2594: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2595: _ACEOF
                   2596: 
                   2597: cat >>confdefs.h <<_ACEOF
                   2598: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2599: _ACEOF
                   2600: 
                   2601: cat >>confdefs.h <<_ACEOF
                   2602: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2603: _ACEOF
                   2604: 
                   2605: cat >>confdefs.h <<_ACEOF
                   2606: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2607: _ACEOF
                   2608: 
                   2609: cat >>confdefs.h <<_ACEOF
                   2610: #define PACKAGE_URL "$PACKAGE_URL"
                   2611: _ACEOF
                   2612: 
                   2613: 
                   2614: # Let the site file select an alternate cache file if it wants to.
                   2615: # Prefer an explicitly selected file to automatically selected ones.
                   2616: ac_site_file1=NONE
                   2617: ac_site_file2=NONE
                   2618: if test -n "$CONFIG_SITE"; then
                   2619:   # We do not want a PATH search for config.site.
                   2620:   case $CONFIG_SITE in #((
                   2621:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2622:     */*) ac_site_file1=$CONFIG_SITE;;
                   2623:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2624:   esac
                   2625: elif test "x$prefix" != xNONE; then
                   2626:   ac_site_file1=$prefix/share/config.site
                   2627:   ac_site_file2=$prefix/etc/config.site
                   2628: else
                   2629:   ac_site_file1=$ac_default_prefix/share/config.site
                   2630:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2631: fi
                   2632: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2633: do
                   2634:   test "x$ac_site_file" = xNONE && continue
                   2635:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2636:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2637: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2638:     sed 's/^/| /' "$ac_site_file" >&5
                   2639:     . "$ac_site_file" \
                   2640:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2641: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2642: as_fn_error $? "failed to load site script $ac_site_file
                   2643: See \`config.log' for more details" "$LINENO" 5; }
                   2644:   fi
                   2645: done
                   2646: 
                   2647: if test -r "$cache_file"; then
                   2648:   # Some versions of bash will fail to source /dev/null (special files
                   2649:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2650:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2651:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2652: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2653:     case $cache_file in
                   2654:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2655:       *)                      . "./$cache_file";;
                   2656:     esac
                   2657:   fi
                   2658: else
                   2659:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2660: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2661:   >$cache_file
                   2662: fi
                   2663: 
                   2664: # Check that the precious variables saved in the cache have kept the same
                   2665: # value.
                   2666: ac_cache_corrupted=false
                   2667: for ac_var in $ac_precious_vars; do
                   2668:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2669:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2670:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2671:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2672:   case $ac_old_set,$ac_new_set in
                   2673:     set,)
                   2674:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2675: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2676:       ac_cache_corrupted=: ;;
                   2677:     ,set)
                   2678:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2679: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2680:       ac_cache_corrupted=: ;;
                   2681:     ,);;
                   2682:     *)
                   2683:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2684:        # differences in whitespace do not lead to failure.
                   2685:        ac_old_val_w=`echo x $ac_old_val`
                   2686:        ac_new_val_w=`echo x $ac_new_val`
                   2687:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2688:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2689: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2690:          ac_cache_corrupted=:
                   2691:        else
                   2692:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2693: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2694:          eval $ac_var=\$ac_old_val
                   2695:        fi
                   2696:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2697: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2698:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2699: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2700:       fi;;
                   2701:   esac
                   2702:   # Pass precious variables to config.status.
                   2703:   if test "$ac_new_set" = set; then
                   2704:     case $ac_new_val in
                   2705:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2706:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2707:     esac
                   2708:     case " $ac_configure_args " in
                   2709:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2710:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2711:     esac
                   2712:   fi
                   2713: done
                   2714: if $ac_cache_corrupted; then
                   2715:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2716: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2717:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2718: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2719:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2720: fi
                   2721: ## -------------------- ##
                   2722: ## Main body of script. ##
                   2723: ## -------------------- ##
                   2724: 
                   2725: ac_ext=c
                   2726: ac_cpp='$CPP $CPPFLAGS'
                   2727: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2728: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2729: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2730: 
                   2731: 
                   2732: 
                   2733: ac_aux_dir=
                   2734: for ac_dir in . "$srcdir"/.; do
                   2735:   if test -f "$ac_dir/install-sh"; then
                   2736:     ac_aux_dir=$ac_dir
                   2737:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2738:     break
                   2739:   elif test -f "$ac_dir/install.sh"; then
                   2740:     ac_aux_dir=$ac_dir
                   2741:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2742:     break
                   2743:   elif test -f "$ac_dir/shtool"; then
                   2744:     ac_aux_dir=$ac_dir
                   2745:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2746:     break
                   2747:   fi
                   2748: done
                   2749: if test -z "$ac_aux_dir"; then
                   2750:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
                   2751: fi
                   2752: 
                   2753: # These three variables are undocumented and unsupported,
                   2754: # and are intended to be withdrawn in a future Autoconf release.
                   2755: # They can cause serious problems if a builder's source tree is in a directory
                   2756: # whose full name contains unusual characters.
                   2757: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2758: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2759: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2760: 
                   2761: 
                   2762: 
                   2763: # Increment ntp_configure_cache_version by one for each change to
                   2764: # configure.ac or .m4 files which invalidates cached values from
                   2765: # previous versions.
                   2766: #
                   2767: # If the change affects cache variables used only by the main NTP
                   2768: # configure.ac, then only its version number should be bumped, while
                   2769: # the subdir configure.ac version numbers should be unchanged.  The
                   2770: # same is true for a test/variable that is used only by one subdir
                   2771: # being changed incompatibly; only that subdir's cache version needs
                   2772: # bumping.
                   2773: #
                   2774: # If a change affects variables shared by all NTP configure scripts,
                   2775: # please bump the version numbers of all three.  If you are not sure,
                   2776: # the safe choice is to bump all three on any cache-invalidating change.
                   2777: #
                   2778: # In order to avoid the risk of version stamp collision between -stable
                   2779: # and -dev branches, do not simply increment the version, instead use
                   2780: # the date YYYYMMDD optionally with -HHMM if there is more than one
                   2781: # bump in a day.
                   2782: 
                   2783: ntp_configure_cache_version=20091117
                   2784: 
                   2785: # When the cache version of config.cache and configure do not
                   2786: # match, NTP_CACHEVERSION will flush the cache.
                   2787: 
                   2788: 
                   2789: 
                   2790:     ntp_cache_flush=1
                   2791: 
                   2792:     case "$ntp_cv_main_cache_version" in
                   2793:      $ntp_configure_cache_version)
                   2794:        # same version, good
                   2795:        ntp_cache_flush=0
                   2796:        ;;
                   2797:      '')
                   2798:        # No cache, predates ntp_cv_main_cache_version, or is empty.
                   2799:        case "$cache_file" in
                   2800:         /dev/null)
                   2801:            ntp_cache_flush=0
                   2802:            ;;
                   2803:         *)
                   2804:            case "$NTP_CACHEVERSION_PARENT" in
                   2805:             '')
                   2806:                # Do not clear the cache immediately after it is created
                   2807:                # empty as it is noisy.  Differentiate a newly-created
                   2808:                # config.cache from one predating the cache version
                   2809:                # mechanism by looking for the first cached variable set
                   2810:                # by Autoconf
                   2811:                case "$ac_cv_path_install" in
                   2812:                 '')
                   2813:                    # empty config.cache file
                   2814:                    ntp_cache_flush=0
                   2815:                esac
                   2816:                ;;
                   2817:             *)
                   2818:                # Parent configure just created cache from empty,
                   2819:                # flushing would be counterproductive.
                   2820:                ntp_cache_flush=0;
                   2821:            esac
                   2822:        esac
                   2823:        ;;
                   2824:      *)
                   2825:        # configure cache version mismatches config.cache version
                   2826:     esac
                   2827: 
                   2828:     case "$ntp_cache_flush" in
                   2829:      1)
                   2830:        c_version="${ntp_cv_main_cache_version:-(no version found)}"
                   2831: 
                   2832:        # Do we flush all variables or exclude others' version stamps?
                   2833: 
                   2834:        case "$NTP_CACHEVERSION_PARENT" in
                   2835:         '')
                   2836:            # Clear all *_cv_* variables including our child subdirs'
                   2837:            # ntp_cv_*_cache_version variables.  This prevents subdir
                   2838:            # configure scripts from noticing a version mismatch just
                   2839:            # after the top configure in the invocation cleared and
                   2840:            # recreated the cache.
                   2841: 
                   2842:            c_varname_list=`set |
                   2843:                            sed -n -e 's/=.*$//' \
                   2844:                                   -e '/_cv_/p'
                   2845:                           `
                   2846:            ;;
                   2847:         *)
                   2848:            # This is not the top configure this particular invocation.
                   2849:            # Clear all *_cv_* variables sparing the version stamps
                   2850:            # of other configure scripts, so we don't trigger
                   2851:            # useless repeated clearings.
                   2852: 
                   2853:            c_varname_list=`set |
                   2854:                            sed -n -e 's/=.*$//' \
                   2855:                                   -e '/ntp_cv_.*_cache_version/d' \
                   2856:                                   -e '/_cv_/p'
                   2857:                           `
                   2858:        esac
                   2859: 
                   2860:        for c_varname in $c_varname_list
                   2861:        do
                   2862:            { eval $c_varname=; unset $c_varname;}
                   2863:        done
                   2864: 
                   2865:        { $as_echo "$as_me:${as_lineno-$LINENO}: $cache_file saved by another version, ignored." >&5
                   2866: $as_echo "$as_me: $cache_file saved by another version, ignored." >&6;}
                   2867:        { $as_echo "$as_me:${as_lineno-$LINENO}: configure script cache version: $ntp_configure_cache_version" >&5
                   2868: $as_echo "$as_me: configure script cache version: $ntp_configure_cache_version" >&6;}
                   2869:        { $as_echo "$as_me:${as_lineno-$LINENO}: $cache_file version: $c_version" >&5
                   2870: $as_echo "$as_me: $cache_file version: $c_version" >&6;}
                   2871:        { c_varname=; unset c_varname;}
                   2872:        { c_varname_list=; unset c_varname_list;}
                   2873:        { c_version=; unset c_version;}
                   2874:     esac
                   2875: 
                   2876:     { ntp_cache_flush=; unset ntp_cache_flush;}
                   2877: 
                   2878:     # save configure version in config.cache for next time
                   2879:     ntp_cv_main_cache_version="$ntp_configure_cache_version"
                   2880: 
                   2881:     # let any subdir configure.ac NTP_CACHEVERSION invocations
                   2882:     # know they are not the top level.
                   2883:     NTP_CACHEVERSION_PARENT='main' ; export NTP_CACHEVERSION_PARENT
                   2884: 
                   2885: 
                   2886: am__api_version='1.11'
                   2887: 
                   2888: # Find a good install program.  We prefer a C program (faster),
                   2889: # so one script is as good as another.  But avoid the broken or
                   2890: # incompatible versions:
                   2891: # SysV /etc/install, /usr/sbin/install
                   2892: # SunOS /usr/etc/install
                   2893: # IRIX /sbin/install
                   2894: # AIX /bin/install
                   2895: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2896: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2897: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2898: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2899: # OS/2's system install, which has a completely different semantic
                   2900: # ./install, which can be erroneously created by make from ./install.sh.
                   2901: # Reject install programs that cannot install multiple files.
                   2902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2903: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2904: if test -z "$INSTALL"; then
                   2905: if ${ac_cv_path_install+:} false; then :
                   2906:   $as_echo_n "(cached) " >&6
                   2907: else
                   2908:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2909: for as_dir in $PATH
                   2910: do
                   2911:   IFS=$as_save_IFS
                   2912:   test -z "$as_dir" && as_dir=.
                   2913:     # Account for people who put trailing slashes in PATH elements.
                   2914: case $as_dir/ in #((
                   2915:   ./ | .// | /[cC]/* | \
                   2916:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2917:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2918:   /usr/ucb/* ) ;;
                   2919:   *)
                   2920:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2921:     # Don't use installbsd from OSF since it installs stuff as root
                   2922:     # by default.
                   2923:     for ac_prog in ginstall scoinst install; do
                   2924:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    2925:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2926:          if test $ac_prog = install &&
                   2927:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2928:            # AIX install.  It has an incompatible calling convention.
                   2929:            :
                   2930:          elif test $ac_prog = install &&
                   2931:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2932:            # program-specific install script used by HP pwplus--don't use.
                   2933:            :
                   2934:          else
                   2935:            rm -rf conftest.one conftest.two conftest.dir
                   2936:            echo one > conftest.one
                   2937:            echo two > conftest.two
                   2938:            mkdir conftest.dir
                   2939:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2940:              test -s conftest.one && test -s conftest.two &&
                   2941:              test -s conftest.dir/conftest.one &&
                   2942:              test -s conftest.dir/conftest.two
                   2943:            then
                   2944:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2945:              break 3
                   2946:            fi
                   2947:          fi
                   2948:        fi
                   2949:       done
                   2950:     done
                   2951:     ;;
                   2952: esac
                   2953: 
                   2954:   done
                   2955: IFS=$as_save_IFS
                   2956: 
                   2957: rm -rf conftest.one conftest.two conftest.dir
                   2958: 
                   2959: fi
                   2960:   if test "${ac_cv_path_install+set}" = set; then
                   2961:     INSTALL=$ac_cv_path_install
                   2962:   else
                   2963:     # As a last resort, use the slow shell script.  Don't cache a
                   2964:     # value for INSTALL within a source directory, because that will
                   2965:     # break other packages using the cache if that directory is
                   2966:     # removed, or if the value is a relative name.
                   2967:     INSTALL=$ac_install_sh
                   2968:   fi
                   2969: fi
                   2970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2971: $as_echo "$INSTALL" >&6; }
                   2972: 
                   2973: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2974: # It thinks the first close brace ends the variable substitution.
                   2975: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2976: 
                   2977: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2978: 
                   2979: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2980: 
                   2981: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2982: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2983: # Just in case
                   2984: sleep 1
                   2985: echo timestamp > conftest.file
                   2986: # Reject unsafe characters in $srcdir or the absolute working directory
                   2987: # name.  Accept space and tab only in the latter.
                   2988: am_lf='
                   2989: '
                   2990: case `pwd` in
                   2991:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2992:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2993: esac
                   2994: case $srcdir in
                   2995:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2996:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2997: esac
                   2998: 
                   2999: # Do `set' in a subshell so we don't clobber the current shell's
                   3000: # arguments.  Must try -L first in case configure is actually a
                   3001: # symlink; some systems play weird games with the mod time of symlinks
                   3002: # (eg FreeBSD returns the mod time of the symlink's containing
                   3003: # directory).
                   3004: if (
                   3005:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   3006:    if test "$*" = "X"; then
                   3007:       # -L didn't work.
                   3008:       set X `ls -t "$srcdir/configure" conftest.file`
                   3009:    fi
                   3010:    rm -f conftest.file
                   3011:    if test "$*" != "X $srcdir/configure conftest.file" \
                   3012:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   3013: 
                   3014:       # If neither matched, then we have a broken ls.  This can happen
                   3015:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   3016:       # broken ls alias from the environment.  This has actually
                   3017:       # happened.  Such a system could not be considered "sane".
                   3018:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   3019: alias in your environment" "$LINENO" 5
                   3020:    fi
                   3021: 
                   3022:    test "$2" = conftest.file
                   3023:    )
                   3024: then
                   3025:    # Ok.
                   3026:    :
                   3027: else
                   3028:    as_fn_error $? "newly created file is older than distributed files!
                   3029: Check your system clock" "$LINENO" 5
                   3030: fi
                   3031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3032: $as_echo "yes" >&6; }
                   3033: test "$program_prefix" != NONE &&
                   3034:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   3035: # Use a double $ so make ignores it.
                   3036: test "$program_suffix" != NONE &&
                   3037:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   3038: # Double any \ or $.
                   3039: # By default was `s,x,x', remove it if useless.
                   3040: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   3041: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   3042: 
                   3043: # expand $ac_aux_dir to an absolute path
                   3044: am_aux_dir=`cd $ac_aux_dir && pwd`
                   3045: 
                   3046: if test x"${MISSING+set}" != xset; then
                   3047:   case $am_aux_dir in
                   3048:   *\ * | *\    *)
                   3049:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   3050:   *)
                   3051:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   3052:   esac
                   3053: fi
                   3054: # Use eval to expand $SHELL
                   3055: if eval "$MISSING --run true"; then
                   3056:   am_missing_run="$MISSING --run "
                   3057: else
                   3058:   am_missing_run=
                   3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   3060: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   3061: fi
                   3062: 
                   3063: if test x"${install_sh}" != xset; then
                   3064:   case $am_aux_dir in
                   3065:   *\ * | *\    *)
                   3066:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   3067:   *)
                   3068:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   3069:   esac
                   3070: fi
                   3071: 
                   3072: # Installed binaries are usually stripped using `strip' when the user
                   3073: # run `make install-strip'.  However `strip' might not be the right
                   3074: # tool to use in cross-compilation environments, therefore Automake
                   3075: # will honor the `STRIP' environment variable to overrule this program.
                   3076: if test "$cross_compiling" != no; then
                   3077:   if test -n "$ac_tool_prefix"; then
                   3078:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   3079: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   3080: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3081: $as_echo_n "checking for $ac_word... " >&6; }
                   3082: if ${ac_cv_prog_STRIP+:} false; then :
                   3083:   $as_echo_n "(cached) " >&6
                   3084: else
                   3085:   if test -n "$STRIP"; then
                   3086:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   3087: else
                   3088: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3089: for as_dir in $PATH
                   3090: do
                   3091:   IFS=$as_save_IFS
                   3092:   test -z "$as_dir" && as_dir=.
                   3093:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3094:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3095:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   3096:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3097:     break 2
                   3098:   fi
                   3099: done
                   3100:   done
                   3101: IFS=$as_save_IFS
                   3102: 
                   3103: fi
                   3104: fi
                   3105: STRIP=$ac_cv_prog_STRIP
                   3106: if test -n "$STRIP"; then
                   3107:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   3108: $as_echo "$STRIP" >&6; }
                   3109: else
                   3110:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3111: $as_echo "no" >&6; }
                   3112: fi
                   3113: 
                   3114: 
                   3115: fi
                   3116: if test -z "$ac_cv_prog_STRIP"; then
                   3117:   ac_ct_STRIP=$STRIP
                   3118:   # Extract the first word of "strip", so it can be a program name with args.
                   3119: set dummy strip; ac_word=$2
                   3120: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3121: $as_echo_n "checking for $ac_word... " >&6; }
                   3122: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   3123:   $as_echo_n "(cached) " >&6
                   3124: else
                   3125:   if test -n "$ac_ct_STRIP"; then
                   3126:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   3127: else
                   3128: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3129: for as_dir in $PATH
                   3130: do
                   3131:   IFS=$as_save_IFS
                   3132:   test -z "$as_dir" && as_dir=.
                   3133:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3134:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3135:     ac_cv_prog_ac_ct_STRIP="strip"
                   3136:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3137:     break 2
                   3138:   fi
                   3139: done
                   3140:   done
                   3141: IFS=$as_save_IFS
                   3142: 
                   3143: fi
                   3144: fi
                   3145: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   3146: if test -n "$ac_ct_STRIP"; then
                   3147:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   3148: $as_echo "$ac_ct_STRIP" >&6; }
                   3149: else
                   3150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3151: $as_echo "no" >&6; }
                   3152: fi
                   3153: 
                   3154:   if test "x$ac_ct_STRIP" = x; then
                   3155:     STRIP=":"
                   3156:   else
                   3157:     case $cross_compiling:$ac_tool_warned in
                   3158: yes:)
                   3159: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3160: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3161: ac_tool_warned=yes ;;
                   3162: esac
                   3163:     STRIP=$ac_ct_STRIP
                   3164:   fi
                   3165: else
                   3166:   STRIP="$ac_cv_prog_STRIP"
                   3167: fi
                   3168: 
                   3169: fi
                   3170: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   3171: 
                   3172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   3173: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   3174: if test -z "$MKDIR_P"; then
                   3175:   if ${ac_cv_path_mkdir+:} false; then :
                   3176:   $as_echo_n "(cached) " >&6
                   3177: else
                   3178:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3179: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   3180: do
                   3181:   IFS=$as_save_IFS
                   3182:   test -z "$as_dir" && as_dir=.
                   3183:     for ac_prog in mkdir gmkdir; do
                   3184:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3185:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    3186:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   3187:             'mkdir (GNU coreutils) '* | \
                   3188:             'mkdir (coreutils) '* | \
                   3189:             'mkdir (fileutils) '4.1*)
                   3190:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   3191:               break 3;;
                   3192:           esac
                   3193:         done
                   3194:        done
                   3195:   done
                   3196: IFS=$as_save_IFS
                   3197: 
                   3198: fi
                   3199: 
                   3200:   test -d ./--version && rmdir ./--version
                   3201:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3202:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3203:   else
                   3204:     # As a last resort, use the slow shell script.  Don't cache a
                   3205:     # value for MKDIR_P within a source directory, because that will
                   3206:     # break other packages using the cache if that directory is
                   3207:     # removed, or if the value is a relative name.
                   3208:     MKDIR_P="$ac_install_sh -d"
                   3209:   fi
                   3210: fi
                   3211: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3212: $as_echo "$MKDIR_P" >&6; }
                   3213: 
                   3214: mkdir_p="$MKDIR_P"
                   3215: case $mkdir_p in
                   3216:   [\\/$]* | ?:[\\/]*) ;;
                   3217:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   3218: esac
                   3219: 
                   3220: for ac_prog in gawk mawk nawk awk
                   3221: do
                   3222:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3223: set dummy $ac_prog; ac_word=$2
                   3224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3225: $as_echo_n "checking for $ac_word... " >&6; }
                   3226: if ${ac_cv_prog_AWK+:} false; then :
                   3227:   $as_echo_n "(cached) " >&6
                   3228: else
                   3229:   if test -n "$AWK"; then
                   3230:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3231: else
                   3232: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3233: for as_dir in $PATH
                   3234: do
                   3235:   IFS=$as_save_IFS
                   3236:   test -z "$as_dir" && as_dir=.
                   3237:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3238:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3239:     ac_cv_prog_AWK="$ac_prog"
                   3240:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3241:     break 2
                   3242:   fi
                   3243: done
                   3244:   done
                   3245: IFS=$as_save_IFS
                   3246: 
                   3247: fi
                   3248: fi
                   3249: AWK=$ac_cv_prog_AWK
                   3250: if test -n "$AWK"; then
                   3251:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3252: $as_echo "$AWK" >&6; }
                   3253: else
                   3254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3255: $as_echo "no" >&6; }
                   3256: fi
                   3257: 
                   3258: 
                   3259:   test -n "$AWK" && break
                   3260: done
                   3261: 
                   3262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3263: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3264: set x ${MAKE-make}
                   3265: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3266: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3267:   $as_echo_n "(cached) " >&6
                   3268: else
                   3269:   cat >conftest.make <<\_ACEOF
                   3270: SHELL = /bin/sh
                   3271: all:
                   3272:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3273: _ACEOF
                   3274: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3275: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3276:   *@@@%%%=?*=@@@%%%*)
                   3277:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3278:   *)
                   3279:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3280: esac
                   3281: rm -f conftest.make
                   3282: fi
                   3283: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3284:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3285: $as_echo "yes" >&6; }
                   3286:   SET_MAKE=
                   3287: else
                   3288:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3289: $as_echo "no" >&6; }
                   3290:   SET_MAKE="MAKE=${MAKE-make}"
                   3291: fi
                   3292: 
                   3293: rm -rf .tst 2>/dev/null
                   3294: mkdir .tst 2>/dev/null
                   3295: if test -d .tst; then
                   3296:   am__leading_dot=.
                   3297: else
                   3298:   am__leading_dot=_
                   3299: fi
                   3300: rmdir .tst 2>/dev/null
                   3301: 
                   3302: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3303:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3304:   # is not polluted with repeated "-I."
                   3305:   am__isrc=' -I$(srcdir)'
                   3306:   # test to see if srcdir already configured
                   3307:   if test -f $srcdir/config.status; then
                   3308:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3309:   fi
                   3310: fi
                   3311: 
                   3312: # test whether we have cygpath
                   3313: if test -z "$CYGPATH_W"; then
                   3314:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3315:     CYGPATH_W='cygpath -w'
                   3316:   else
                   3317:     CYGPATH_W=echo
                   3318:   fi
                   3319: fi
                   3320: 
                   3321: 
                   3322: # Define the identity of the package.
                   3323:  PACKAGE='ntp'
                   3324:  VERSION='4.2.6p5'
                   3325: 
                   3326: 
                   3327: cat >>confdefs.h <<_ACEOF
                   3328: #define PACKAGE "$PACKAGE"
                   3329: _ACEOF
                   3330: 
                   3331: 
                   3332: cat >>confdefs.h <<_ACEOF
                   3333: #define VERSION "$VERSION"
                   3334: _ACEOF
                   3335: 
                   3336: # Some tools Automake needs.
                   3337: 
                   3338: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3339: 
                   3340: 
                   3341: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3342: 
                   3343: 
                   3344: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3345: 
                   3346: 
                   3347: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3348: 
                   3349: 
                   3350: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3351: 
                   3352: # We need awk for the "check" target.  The system "awk" is bad on
                   3353: # some platforms.
                   3354: # Always define AMTAR for backward compatibility.
                   3355: 
                   3356: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3357: 
                   3358: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3359: 
                   3360: 
                   3361: 
                   3362: 
                   3363: 
                   3364: # Make sure we can run config.sub.
                   3365: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   3366:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   3367: 
                   3368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   3369: $as_echo_n "checking build system type... " >&6; }
                   3370: if ${ac_cv_build+:} false; then :
                   3371:   $as_echo_n "(cached) " >&6
                   3372: else
                   3373:   ac_build_alias=$build_alias
                   3374: test "x$ac_build_alias" = x &&
                   3375:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3376: test "x$ac_build_alias" = x &&
                   3377:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   3378: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   3379:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   3380: 
                   3381: fi
                   3382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   3383: $as_echo "$ac_cv_build" >&6; }
                   3384: case $ac_cv_build in
                   3385: *-*-*) ;;
                   3386: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   3387: esac
                   3388: build=$ac_cv_build
                   3389: ac_save_IFS=$IFS; IFS='-'
                   3390: set x $ac_cv_build
                   3391: shift
                   3392: build_cpu=$1
                   3393: build_vendor=$2
                   3394: shift; shift
                   3395: # Remember, the first character of IFS is used to create $*,
                   3396: # except with old shells:
                   3397: build_os=$*
                   3398: IFS=$ac_save_IFS
                   3399: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3400: 
                   3401: 
                   3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   3403: $as_echo_n "checking host system type... " >&6; }
                   3404: if ${ac_cv_host+:} false; then :
                   3405:   $as_echo_n "(cached) " >&6
                   3406: else
                   3407:   if test "x$host_alias" = x; then
                   3408:   ac_cv_host=$ac_cv_build
                   3409: else
                   3410:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   3411:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   3412: fi
                   3413: 
                   3414: fi
                   3415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   3416: $as_echo "$ac_cv_host" >&6; }
                   3417: case $ac_cv_host in
                   3418: *-*-*) ;;
                   3419: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   3420: esac
                   3421: host=$ac_cv_host
                   3422: ac_save_IFS=$IFS; IFS='-'
                   3423: set x $ac_cv_host
                   3424: shift
                   3425: host_cpu=$1
                   3426: host_vendor=$2
                   3427: shift; shift
                   3428: # Remember, the first character of IFS is used to create $*,
                   3429: # except with old shells:
                   3430: host_os=$*
                   3431: IFS=$ac_save_IFS
                   3432: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   3433: 
                   3434: 
                   3435: 
                   3436: cat >>confdefs.h <<_ACEOF
                   3437: #define STR_SYSTEM "$host"
                   3438: _ACEOF
                   3439: 
                   3440: ac_config_headers="$ac_config_headers config.h"
                   3441: 
                   3442: 
                   3443: ntp_atom_ok=${ntp_atom_ok=no}
                   3444: ntp_oncore_ok=${ntp_oncore_ok=no}
                   3445: ntp_parse_ok=${ntp_parse_ok=no}
                   3446: ntp_ripe_ncc_ok=${ntp_parse_ok=no}
                   3447: ntp_jupiter_ok=${ntp_jupiter_ok=no}
                   3448: 
                   3449: DEPDIR="${am__leading_dot}deps"
                   3450: 
                   3451: ac_config_commands="$ac_config_commands depfiles"
                   3452: 
                   3453: 
                   3454: am_make=${MAKE-make}
                   3455: cat > confinc << 'END'
                   3456: am__doit:
                   3457:        @echo this is the am__doit target
                   3458: .PHONY: am__doit
                   3459: END
                   3460: # If we don't find an include directive, just comment out the code.
                   3461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3462: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3463: am__include="#"
                   3464: am__quote=
                   3465: _am_result=none
                   3466: # First try GNU make style include.
                   3467: echo "include confinc" > confmf
                   3468: # Ignore all kinds of additional output from `make'.
                   3469: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3470: *the\ am__doit\ target*)
                   3471:   am__include=include
                   3472:   am__quote=
                   3473:   _am_result=GNU
                   3474:   ;;
                   3475: esac
                   3476: # Now try BSD make style include.
                   3477: if test "$am__include" = "#"; then
                   3478:    echo '.include "confinc"' > confmf
                   3479:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3480:    *the\ am__doit\ target*)
                   3481:      am__include=.include
                   3482:      am__quote="\""
                   3483:      _am_result=BSD
                   3484:      ;;
                   3485:    esac
                   3486: fi
                   3487: 
                   3488: 
                   3489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3490: $as_echo "$_am_result" >&6; }
                   3491: rm -f confinc confmf
                   3492: 
                   3493: # Check whether --enable-dependency-tracking was given.
                   3494: if test "${enable_dependency_tracking+set}" = set; then :
                   3495:   enableval=$enable_dependency_tracking;
                   3496: fi
                   3497: 
                   3498: if test "x$enable_dependency_tracking" != xno; then
                   3499:   am_depcomp="$ac_aux_dir/depcomp"
                   3500:   AMDEPBACKSLASH='\'
                   3501: fi
                   3502:  if test "x$enable_dependency_tracking" != xno; then
                   3503:   AMDEP_TRUE=
                   3504:   AMDEP_FALSE='#'
                   3505: else
                   3506:   AMDEP_TRUE='#'
                   3507:   AMDEP_FALSE=
                   3508: fi
                   3509: 
                   3510: 
                   3511: ac_ext=c
                   3512: ac_cpp='$CPP $CPPFLAGS'
                   3513: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3514: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3515: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3516: if test -n "$ac_tool_prefix"; then
                   3517:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3518: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3520: $as_echo_n "checking for $ac_word... " >&6; }
                   3521: if ${ac_cv_prog_CC+:} false; then :
                   3522:   $as_echo_n "(cached) " >&6
                   3523: else
                   3524:   if test -n "$CC"; then
                   3525:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3526: else
                   3527: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3528: for as_dir in $PATH
                   3529: do
                   3530:   IFS=$as_save_IFS
                   3531:   test -z "$as_dir" && as_dir=.
                   3532:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3533:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3534:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3535:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3536:     break 2
                   3537:   fi
                   3538: done
                   3539:   done
                   3540: IFS=$as_save_IFS
                   3541: 
                   3542: fi
                   3543: fi
                   3544: CC=$ac_cv_prog_CC
                   3545: if test -n "$CC"; then
                   3546:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3547: $as_echo "$CC" >&6; }
                   3548: else
                   3549:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3550: $as_echo "no" >&6; }
                   3551: fi
                   3552: 
                   3553: 
                   3554: fi
                   3555: if test -z "$ac_cv_prog_CC"; then
                   3556:   ac_ct_CC=$CC
                   3557:   # Extract the first word of "gcc", so it can be a program name with args.
                   3558: set dummy gcc; ac_word=$2
                   3559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3560: $as_echo_n "checking for $ac_word... " >&6; }
                   3561: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3562:   $as_echo_n "(cached) " >&6
                   3563: else
                   3564:   if test -n "$ac_ct_CC"; then
                   3565:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3566: else
                   3567: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3568: for as_dir in $PATH
                   3569: do
                   3570:   IFS=$as_save_IFS
                   3571:   test -z "$as_dir" && as_dir=.
                   3572:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3573:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3574:     ac_cv_prog_ac_ct_CC="gcc"
                   3575:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3576:     break 2
                   3577:   fi
                   3578: done
                   3579:   done
                   3580: IFS=$as_save_IFS
                   3581: 
                   3582: fi
                   3583: fi
                   3584: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3585: if test -n "$ac_ct_CC"; then
                   3586:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3587: $as_echo "$ac_ct_CC" >&6; }
                   3588: else
                   3589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3590: $as_echo "no" >&6; }
                   3591: fi
                   3592: 
                   3593:   if test "x$ac_ct_CC" = x; then
                   3594:     CC=""
                   3595:   else
                   3596:     case $cross_compiling:$ac_tool_warned in
                   3597: yes:)
                   3598: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3599: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3600: ac_tool_warned=yes ;;
                   3601: esac
                   3602:     CC=$ac_ct_CC
                   3603:   fi
                   3604: else
                   3605:   CC="$ac_cv_prog_CC"
                   3606: fi
                   3607: 
                   3608: if test -z "$CC"; then
                   3609:           if test -n "$ac_tool_prefix"; then
                   3610:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3611: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3613: $as_echo_n "checking for $ac_word... " >&6; }
                   3614: if ${ac_cv_prog_CC+:} false; then :
                   3615:   $as_echo_n "(cached) " >&6
                   3616: else
                   3617:   if test -n "$CC"; then
                   3618:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3619: else
                   3620: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3621: for as_dir in $PATH
                   3622: do
                   3623:   IFS=$as_save_IFS
                   3624:   test -z "$as_dir" && as_dir=.
                   3625:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3626:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3627:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3628:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3629:     break 2
                   3630:   fi
                   3631: done
                   3632:   done
                   3633: IFS=$as_save_IFS
                   3634: 
                   3635: fi
                   3636: fi
                   3637: CC=$ac_cv_prog_CC
                   3638: if test -n "$CC"; then
                   3639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3640: $as_echo "$CC" >&6; }
                   3641: else
                   3642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3643: $as_echo "no" >&6; }
                   3644: fi
                   3645: 
                   3646: 
                   3647:   fi
                   3648: fi
                   3649: if test -z "$CC"; then
                   3650:   # Extract the first word of "cc", so it can be a program name with args.
                   3651: set dummy cc; ac_word=$2
                   3652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3653: $as_echo_n "checking for $ac_word... " >&6; }
                   3654: if ${ac_cv_prog_CC+:} false; then :
                   3655:   $as_echo_n "(cached) " >&6
                   3656: else
                   3657:   if test -n "$CC"; then
                   3658:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3659: else
                   3660:   ac_prog_rejected=no
                   3661: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3662: for as_dir in $PATH
                   3663: do
                   3664:   IFS=$as_save_IFS
                   3665:   test -z "$as_dir" && as_dir=.
                   3666:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3667:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3668:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3669:        ac_prog_rejected=yes
                   3670:        continue
                   3671:      fi
                   3672:     ac_cv_prog_CC="cc"
                   3673:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3674:     break 2
                   3675:   fi
                   3676: done
                   3677:   done
                   3678: IFS=$as_save_IFS
                   3679: 
                   3680: if test $ac_prog_rejected = yes; then
                   3681:   # We found a bogon in the path, so make sure we never use it.
                   3682:   set dummy $ac_cv_prog_CC
                   3683:   shift
                   3684:   if test $# != 0; then
                   3685:     # We chose a different compiler from the bogus one.
                   3686:     # However, it has the same basename, so the bogon will be chosen
                   3687:     # first if we set CC to just the basename; use the full file name.
                   3688:     shift
                   3689:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3690:   fi
                   3691: fi
                   3692: fi
                   3693: fi
                   3694: CC=$ac_cv_prog_CC
                   3695: if test -n "$CC"; then
                   3696:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3697: $as_echo "$CC" >&6; }
                   3698: else
                   3699:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3700: $as_echo "no" >&6; }
                   3701: fi
                   3702: 
                   3703: 
                   3704: fi
                   3705: if test -z "$CC"; then
                   3706:   if test -n "$ac_tool_prefix"; then
                   3707:   for ac_prog in cl.exe
                   3708:   do
                   3709:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3710: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3711: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3712: $as_echo_n "checking for $ac_word... " >&6; }
                   3713: if ${ac_cv_prog_CC+:} false; then :
                   3714:   $as_echo_n "(cached) " >&6
                   3715: else
                   3716:   if test -n "$CC"; then
                   3717:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3718: else
                   3719: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3720: for as_dir in $PATH
                   3721: do
                   3722:   IFS=$as_save_IFS
                   3723:   test -z "$as_dir" && as_dir=.
                   3724:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3725:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3726:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3727:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3728:     break 2
                   3729:   fi
                   3730: done
                   3731:   done
                   3732: IFS=$as_save_IFS
                   3733: 
                   3734: fi
                   3735: fi
                   3736: CC=$ac_cv_prog_CC
                   3737: if test -n "$CC"; then
                   3738:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3739: $as_echo "$CC" >&6; }
                   3740: else
                   3741:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3742: $as_echo "no" >&6; }
                   3743: fi
                   3744: 
                   3745: 
                   3746:     test -n "$CC" && break
                   3747:   done
                   3748: fi
                   3749: if test -z "$CC"; then
                   3750:   ac_ct_CC=$CC
                   3751:   for ac_prog in cl.exe
                   3752: do
                   3753:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3754: set dummy $ac_prog; ac_word=$2
                   3755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3756: $as_echo_n "checking for $ac_word... " >&6; }
                   3757: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3758:   $as_echo_n "(cached) " >&6
                   3759: else
                   3760:   if test -n "$ac_ct_CC"; then
                   3761:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3762: else
                   3763: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3764: for as_dir in $PATH
                   3765: do
                   3766:   IFS=$as_save_IFS
                   3767:   test -z "$as_dir" && as_dir=.
                   3768:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    3769:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3770:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3771:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3772:     break 2
                   3773:   fi
                   3774: done
                   3775:   done
                   3776: IFS=$as_save_IFS
                   3777: 
                   3778: fi
                   3779: fi
                   3780: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3781: if test -n "$ac_ct_CC"; then
                   3782:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3783: $as_echo "$ac_ct_CC" >&6; }
                   3784: else
                   3785:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3786: $as_echo "no" >&6; }
                   3787: fi
                   3788: 
                   3789: 
                   3790:   test -n "$ac_ct_CC" && break
                   3791: done
                   3792: 
                   3793:   if test "x$ac_ct_CC" = x; then
                   3794:     CC=""
                   3795:   else
                   3796:     case $cross_compiling:$ac_tool_warned in
                   3797: yes:)
                   3798: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3799: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3800: ac_tool_warned=yes ;;
                   3801: esac
                   3802:     CC=$ac_ct_CC
                   3803:   fi
                   3804: fi
                   3805: 
                   3806: fi
                   3807: 
                   3808: 
                   3809: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3810: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3811: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3812: See \`config.log' for more details" "$LINENO" 5; }
                   3813: 
                   3814: # Provide some information about the compiler.
                   3815: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3816: set X $ac_compile
                   3817: ac_compiler=$2
                   3818: for ac_option in --version -v -V -qversion; do
                   3819:   { { ac_try="$ac_compiler $ac_option >&5"
                   3820: case "(($ac_try" in
                   3821:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3822:   *) ac_try_echo=$ac_try;;
                   3823: esac
                   3824: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3825: $as_echo "$ac_try_echo"; } >&5
                   3826:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3827:   ac_status=$?
                   3828:   if test -s conftest.err; then
                   3829:     sed '10a\
                   3830: ... rest of stderr output deleted ...
                   3831:          10q' conftest.err >conftest.er1
                   3832:     cat conftest.er1 >&5
                   3833:   fi
                   3834:   rm -f conftest.er1 conftest.err
                   3835:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3836:   test $ac_status = 0; }
                   3837: done
                   3838: 
                   3839: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3840: /* end confdefs.h.  */
                   3841: 
                   3842: int
                   3843: main ()
                   3844: {
                   3845: 
                   3846:   ;
                   3847:   return 0;
                   3848: }
                   3849: _ACEOF
                   3850: ac_clean_files_save=$ac_clean_files
                   3851: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3852: # Try to create an executable without -o first, disregard a.out.
                   3853: # It will help us diagnose broken compilers, and finding out an intuition
                   3854: # of exeext.
                   3855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3856: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3857: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3858: 
                   3859: # The possible output files:
                   3860: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3861: 
                   3862: ac_rmfiles=
                   3863: for ac_file in $ac_files
                   3864: do
                   3865:   case $ac_file in
                   3866:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3867:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3868:   esac
                   3869: done
                   3870: rm -f $ac_rmfiles
                   3871: 
                   3872: if { { ac_try="$ac_link_default"
                   3873: case "(($ac_try" in
                   3874:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3875:   *) ac_try_echo=$ac_try;;
                   3876: esac
                   3877: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3878: $as_echo "$ac_try_echo"; } >&5
                   3879:   (eval "$ac_link_default") 2>&5
                   3880:   ac_status=$?
                   3881:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3882:   test $ac_status = 0; }; then :
                   3883:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3884: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3885: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3886: # so that the user can short-circuit this test for compilers unknown to
                   3887: # Autoconf.
                   3888: for ac_file in $ac_files ''
                   3889: do
                   3890:   test -f "$ac_file" || continue
                   3891:   case $ac_file in
                   3892:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3893:        ;;
                   3894:     [ab].out )
                   3895:        # We found the default executable, but exeext='' is most
                   3896:        # certainly right.
                   3897:        break;;
                   3898:     *.* )
                   3899:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3900:        then :; else
                   3901:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3902:        fi
                   3903:        # We set ac_cv_exeext here because the later test for it is not
                   3904:        # safe: cross compilers may not add the suffix if given an `-o'
                   3905:        # argument, so we may need to know it at that point already.
                   3906:        # Even if this section looks crufty: it has the advantage of
                   3907:        # actually working.
                   3908:        break;;
                   3909:     * )
                   3910:        break;;
                   3911:   esac
                   3912: done
                   3913: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3914: 
                   3915: else
                   3916:   ac_file=''
                   3917: fi
                   3918: if test -z "$ac_file"; then :
                   3919:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3920: $as_echo "no" >&6; }
                   3921: $as_echo "$as_me: failed program was:" >&5
                   3922: sed 's/^/| /' conftest.$ac_ext >&5
                   3923: 
                   3924: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3925: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3926: as_fn_error 77 "C compiler cannot create executables
                   3927: See \`config.log' for more details" "$LINENO" 5; }
                   3928: else
                   3929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3930: $as_echo "yes" >&6; }
                   3931: fi
                   3932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3933: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3934: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3935: $as_echo "$ac_file" >&6; }
                   3936: ac_exeext=$ac_cv_exeext
                   3937: 
                   3938: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3939: ac_clean_files=$ac_clean_files_save
                   3940: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3941: $as_echo_n "checking for suffix of executables... " >&6; }
                   3942: if { { ac_try="$ac_link"
                   3943: case "(($ac_try" in
                   3944:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3945:   *) ac_try_echo=$ac_try;;
                   3946: esac
                   3947: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3948: $as_echo "$ac_try_echo"; } >&5
                   3949:   (eval "$ac_link") 2>&5
                   3950:   ac_status=$?
                   3951:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3952:   test $ac_status = 0; }; then :
                   3953:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3954: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3955: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3956: # `rm'.
                   3957: for ac_file in conftest.exe conftest conftest.*; do
                   3958:   test -f "$ac_file" || continue
                   3959:   case $ac_file in
                   3960:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3961:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3962:          break;;
                   3963:     * ) break;;
                   3964:   esac
                   3965: done
                   3966: else
                   3967:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3968: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3969: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3970: See \`config.log' for more details" "$LINENO" 5; }
                   3971: fi
                   3972: rm -f conftest conftest$ac_cv_exeext
                   3973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3974: $as_echo "$ac_cv_exeext" >&6; }
                   3975: 
                   3976: rm -f conftest.$ac_ext
                   3977: EXEEXT=$ac_cv_exeext
                   3978: ac_exeext=$EXEEXT
                   3979: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3980: /* end confdefs.h.  */
                   3981: #include <stdio.h>
                   3982: int
                   3983: main ()
                   3984: {
                   3985: FILE *f = fopen ("conftest.out", "w");
                   3986:  return ferror (f) || fclose (f) != 0;
                   3987: 
                   3988:   ;
                   3989:   return 0;
                   3990: }
                   3991: _ACEOF
                   3992: ac_clean_files="$ac_clean_files conftest.out"
                   3993: # Check that the compiler produces executables we can run.  If not, either
                   3994: # the compiler is broken, or we cross compile.
                   3995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3996: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3997: if test "$cross_compiling" != yes; then
                   3998:   { { ac_try="$ac_link"
                   3999: case "(($ac_try" in
                   4000:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4001:   *) ac_try_echo=$ac_try;;
                   4002: esac
                   4003: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4004: $as_echo "$ac_try_echo"; } >&5
                   4005:   (eval "$ac_link") 2>&5
                   4006:   ac_status=$?
                   4007:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4008:   test $ac_status = 0; }
                   4009:   if { ac_try='./conftest$ac_cv_exeext'
                   4010:   { { case "(($ac_try" in
                   4011:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4012:   *) ac_try_echo=$ac_try;;
                   4013: esac
                   4014: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4015: $as_echo "$ac_try_echo"; } >&5
                   4016:   (eval "$ac_try") 2>&5
                   4017:   ac_status=$?
                   4018:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4019:   test $ac_status = 0; }; }; then
                   4020:     cross_compiling=no
                   4021:   else
                   4022:     if test "$cross_compiling" = maybe; then
                   4023:        cross_compiling=yes
                   4024:     else
                   4025:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4026: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4027: as_fn_error $? "cannot run C compiled programs.
                   4028: If you meant to cross compile, use \`--host'.
                   4029: See \`config.log' for more details" "$LINENO" 5; }
                   4030:     fi
                   4031:   fi
                   4032: fi
                   4033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   4034: $as_echo "$cross_compiling" >&6; }
                   4035: 
                   4036: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   4037: ac_clean_files=$ac_clean_files_save
                   4038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   4039: $as_echo_n "checking for suffix of object files... " >&6; }
                   4040: if ${ac_cv_objext+:} false; then :
                   4041:   $as_echo_n "(cached) " >&6
                   4042: else
                   4043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4044: /* end confdefs.h.  */
                   4045: 
                   4046: int
                   4047: main ()
                   4048: {
                   4049: 
                   4050:   ;
                   4051:   return 0;
                   4052: }
                   4053: _ACEOF
                   4054: rm -f conftest.o conftest.obj
                   4055: if { { ac_try="$ac_compile"
                   4056: case "(($ac_try" in
                   4057:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4058:   *) ac_try_echo=$ac_try;;
                   4059: esac
                   4060: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4061: $as_echo "$ac_try_echo"; } >&5
                   4062:   (eval "$ac_compile") 2>&5
                   4063:   ac_status=$?
                   4064:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4065:   test $ac_status = 0; }; then :
                   4066:   for ac_file in conftest.o conftest.obj conftest.*; do
                   4067:   test -f "$ac_file" || continue;
                   4068:   case $ac_file in
                   4069:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   4070:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   4071:        break;;
                   4072:   esac
                   4073: done
                   4074: else
                   4075:   $as_echo "$as_me: failed program was:" >&5
                   4076: sed 's/^/| /' conftest.$ac_ext >&5
                   4077: 
                   4078: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4079: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4080: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   4081: See \`config.log' for more details" "$LINENO" 5; }
                   4082: fi
                   4083: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   4084: fi
                   4085: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   4086: $as_echo "$ac_cv_objext" >&6; }
                   4087: OBJEXT=$ac_cv_objext
                   4088: ac_objext=$OBJEXT
                   4089: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4090: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4091: if ${ac_cv_c_compiler_gnu+:} false; then :
                   4092:   $as_echo_n "(cached) " >&6
                   4093: else
                   4094:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4095: /* end confdefs.h.  */
                   4096: 
                   4097: int
                   4098: main ()
                   4099: {
                   4100: #ifndef __GNUC__
                   4101:        choke me
                   4102: #endif
                   4103: 
                   4104:   ;
                   4105:   return 0;
                   4106: }
                   4107: _ACEOF
                   4108: if ac_fn_c_try_compile "$LINENO"; then :
                   4109:   ac_compiler_gnu=yes
                   4110: else
                   4111:   ac_compiler_gnu=no
                   4112: fi
                   4113: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4114: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4115: 
                   4116: fi
                   4117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4118: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4119: if test $ac_compiler_gnu = yes; then
                   4120:   GCC=yes
                   4121: else
                   4122:   GCC=
                   4123: fi
                   4124: ac_test_CFLAGS=${CFLAGS+set}
                   4125: ac_save_CFLAGS=$CFLAGS
                   4126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4127: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4128: if ${ac_cv_prog_cc_g+:} false; then :
                   4129:   $as_echo_n "(cached) " >&6
                   4130: else
                   4131:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4132:    ac_c_werror_flag=yes
                   4133:    ac_cv_prog_cc_g=no
                   4134:    CFLAGS="-g"
                   4135:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4136: /* end confdefs.h.  */
                   4137: 
                   4138: int
                   4139: main ()
                   4140: {
                   4141: 
                   4142:   ;
                   4143:   return 0;
                   4144: }
                   4145: _ACEOF
                   4146: if ac_fn_c_try_compile "$LINENO"; then :
                   4147:   ac_cv_prog_cc_g=yes
                   4148: else
                   4149:   CFLAGS=""
                   4150:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4151: /* end confdefs.h.  */
                   4152: 
                   4153: int
                   4154: main ()
                   4155: {
                   4156: 
                   4157:   ;
                   4158:   return 0;
                   4159: }
                   4160: _ACEOF
                   4161: if ac_fn_c_try_compile "$LINENO"; then :
                   4162: 
                   4163: else
                   4164:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4165:         CFLAGS="-g"
                   4166:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4167: /* end confdefs.h.  */
                   4168: 
                   4169: int
                   4170: main ()
                   4171: {
                   4172: 
                   4173:   ;
                   4174:   return 0;
                   4175: }
                   4176: _ACEOF
                   4177: if ac_fn_c_try_compile "$LINENO"; then :
                   4178:   ac_cv_prog_cc_g=yes
                   4179: fi
                   4180: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4181: fi
                   4182: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4183: fi
                   4184: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4185:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4186: fi
                   4187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4188: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   4189: if test "$ac_test_CFLAGS" = set; then
                   4190:   CFLAGS=$ac_save_CFLAGS
                   4191: elif test $ac_cv_prog_cc_g = yes; then
                   4192:   if test "$GCC" = yes; then
                   4193:     CFLAGS="-g -O2"
                   4194:   else
                   4195:     CFLAGS="-g"
                   4196:   fi
                   4197: else
                   4198:   if test "$GCC" = yes; then
                   4199:     CFLAGS="-O2"
                   4200:   else
                   4201:     CFLAGS=
                   4202:   fi
                   4203: fi
                   4204: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4205: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4206: if ${ac_cv_prog_cc_c89+:} false; then :
                   4207:   $as_echo_n "(cached) " >&6
                   4208: else
                   4209:   ac_cv_prog_cc_c89=no
                   4210: ac_save_CC=$CC
                   4211: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4212: /* end confdefs.h.  */
                   4213: #include <stdarg.h>
                   4214: #include <stdio.h>
1.1.1.1.2.1! misho    4215: struct stat;
1.1       misho    4216: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4217: struct buf { int x; };
                   4218: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4219: static char *e (p, i)
                   4220:      char **p;
                   4221:      int i;
                   4222: {
                   4223:   return p[i];
                   4224: }
                   4225: static char *f (char * (*g) (char **, int), char **p, ...)
                   4226: {
                   4227:   char *s;
                   4228:   va_list v;
                   4229:   va_start (v,p);
                   4230:   s = g (p, va_arg (v,int));
                   4231:   va_end (v);
                   4232:   return s;
                   4233: }
                   4234: 
                   4235: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4236:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4237:    These don't provoke an error unfortunately, instead are silently treated
                   4238:    as 'x'.  The following induces an error, until -std is added to get
                   4239:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4240:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4241:    that's true only with -std.  */
                   4242: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4243: 
                   4244: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4245:    inside strings and character constants.  */
                   4246: #define FOO(x) 'x'
                   4247: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4248: 
                   4249: int test (int i, double x);
                   4250: struct s1 {int (*f) (int a);};
                   4251: struct s2 {int (*f) (double a);};
                   4252: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4253: int argc;
                   4254: char **argv;
                   4255: int
                   4256: main ()
                   4257: {
                   4258: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4259:   ;
                   4260:   return 0;
                   4261: }
                   4262: _ACEOF
                   4263: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4264:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4265: do
                   4266:   CC="$ac_save_CC $ac_arg"
                   4267:   if ac_fn_c_try_compile "$LINENO"; then :
                   4268:   ac_cv_prog_cc_c89=$ac_arg
                   4269: fi
                   4270: rm -f core conftest.err conftest.$ac_objext
                   4271:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4272: done
                   4273: rm -f conftest.$ac_ext
                   4274: CC=$ac_save_CC
                   4275: 
                   4276: fi
                   4277: # AC_CACHE_VAL
                   4278: case "x$ac_cv_prog_cc_c89" in
                   4279:   x)
                   4280:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4281: $as_echo "none needed" >&6; } ;;
                   4282:   xno)
                   4283:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4284: $as_echo "unsupported" >&6; } ;;
                   4285:   *)
                   4286:     CC="$CC $ac_cv_prog_cc_c89"
                   4287:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4288: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4289: esac
                   4290: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4291: 
                   4292: fi
                   4293: 
                   4294: ac_ext=c
                   4295: ac_cpp='$CPP $CPPFLAGS'
                   4296: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4297: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4298: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4299: 
                   4300: depcc="$CC"   am_compiler_list=
                   4301: 
                   4302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4303: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4304: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4305:   $as_echo_n "(cached) " >&6
                   4306: else
                   4307:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4308:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4309:   # making bogus files that we don't know about and never remove.  For
                   4310:   # instance it was reported that on HP-UX the gcc test will end up
                   4311:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4312:   # in D'.
                   4313:   mkdir conftest.dir
                   4314:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4315:   # using a relative directory.
                   4316:   cp "$am_depcomp" conftest.dir
                   4317:   cd conftest.dir
                   4318:   # We will build objects and dependencies in a subdirectory because
                   4319:   # it helps to detect inapplicable dependency modes.  For instance
                   4320:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4321:   # side effect of compilation, but ICC will put the dependencies in
                   4322:   # the current directory while Tru64 will put them in the object
                   4323:   # directory.
                   4324:   mkdir sub
                   4325: 
                   4326:   am_cv_CC_dependencies_compiler_type=none
                   4327:   if test "$am_compiler_list" = ""; then
                   4328:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4329:   fi
                   4330:   am__universal=false
                   4331:   case " $depcc " in #(
                   4332:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4333:      esac
                   4334: 
                   4335:   for depmode in $am_compiler_list; do
                   4336:     # Setup a source with many dependencies, because some compilers
                   4337:     # like to wrap large dependency lists on column 80 (with \), and
                   4338:     # we should not choose a depcomp mode which is confused by this.
                   4339:     #
                   4340:     # We need to recreate these files for each test, as the compiler may
                   4341:     # overwrite some of them when testing with obscure command lines.
                   4342:     # This happens at least with the AIX C compiler.
                   4343:     : > sub/conftest.c
                   4344:     for i in 1 2 3 4 5 6; do
                   4345:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4346:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4347:       # Solaris 8's {/usr,}/bin/sh.
                   4348:       touch sub/conftst$i.h
                   4349:     done
                   4350:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4351: 
                   4352:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4353:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4354:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4355:     # versions had trouble with output in subdirs
                   4356:     am__obj=sub/conftest.${OBJEXT-o}
                   4357:     am__minus_obj="-o $am__obj"
                   4358:     case $depmode in
                   4359:     gcc)
                   4360:       # This depmode causes a compiler race in universal mode.
                   4361:       test "$am__universal" = false || continue
                   4362:       ;;
                   4363:     nosideeffect)
                   4364:       # after this tag, mechanisms are not by side-effect, so they'll
                   4365:       # only be used when explicitly requested
                   4366:       if test "x$enable_dependency_tracking" = xyes; then
                   4367:        continue
                   4368:       else
                   4369:        break
                   4370:       fi
                   4371:       ;;
                   4372:     msvisualcpp | msvcmsys)
                   4373:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4374:       # not run yet.  These depmodes are late enough in the game, and
                   4375:       # so weak that their functioning should not be impacted.
                   4376:       am__obj=conftest.${OBJEXT-o}
                   4377:       am__minus_obj=
                   4378:       ;;
                   4379:     none) break ;;
                   4380:     esac
                   4381:     if depmode=$depmode \
                   4382:        source=sub/conftest.c object=$am__obj \
                   4383:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4384:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4385:          >/dev/null 2>conftest.err &&
                   4386:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4387:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4388:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4389:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4390:       # icc doesn't choke on unknown options, it will just issue warnings
                   4391:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4392:       # that says an option was ignored or not supported.
                   4393:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4394:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4395:       # The diagnosis changed in icc 8.0:
                   4396:       #   icc: Command line remark: option '-MP' not supported
                   4397:       if (grep 'ignoring option' conftest.err ||
                   4398:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4399:         am_cv_CC_dependencies_compiler_type=$depmode
                   4400:         break
                   4401:       fi
                   4402:     fi
                   4403:   done
                   4404: 
                   4405:   cd ..
                   4406:   rm -rf conftest.dir
                   4407: else
                   4408:   am_cv_CC_dependencies_compiler_type=none
                   4409: fi
                   4410: 
                   4411: fi
                   4412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4413: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4414: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4415: 
                   4416:  if
                   4417:   test "x$enable_dependency_tracking" != xno \
                   4418:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4419:   am__fastdepCC_TRUE=
                   4420:   am__fastdepCC_FALSE='#'
                   4421: else
                   4422:   am__fastdepCC_TRUE='#'
                   4423:   am__fastdepCC_FALSE=
                   4424: fi
                   4425: 
                   4426: 
                   4427: 
                   4428: ac_ext=c
                   4429: ac_cpp='$CPP $CPPFLAGS'
                   4430: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4431: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4432: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4433: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4434: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4435: # On Suns, sometimes $CPP names a directory.
                   4436: if test -n "$CPP" && test -d "$CPP"; then
                   4437:   CPP=
                   4438: fi
                   4439: if test -z "$CPP"; then
                   4440:   if ${ac_cv_prog_CPP+:} false; then :
                   4441:   $as_echo_n "(cached) " >&6
                   4442: else
                   4443:       # Double quotes because CPP needs to be expanded
                   4444:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4445:     do
                   4446:       ac_preproc_ok=false
                   4447: for ac_c_preproc_warn_flag in '' yes
                   4448: do
                   4449:   # Use a header file that comes with gcc, so configuring glibc
                   4450:   # with a fresh cross-compiler works.
                   4451:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4452:   # <limits.h> exists even on freestanding compilers.
                   4453:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4454:   # not just through cpp. "Syntax error" is here to catch this case.
                   4455:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4456: /* end confdefs.h.  */
                   4457: #ifdef __STDC__
                   4458: # include <limits.h>
                   4459: #else
                   4460: # include <assert.h>
                   4461: #endif
                   4462:                     Syntax error
                   4463: _ACEOF
                   4464: if ac_fn_c_try_cpp "$LINENO"; then :
                   4465: 
                   4466: else
                   4467:   # Broken: fails on valid input.
                   4468: continue
                   4469: fi
                   4470: rm -f conftest.err conftest.i conftest.$ac_ext
                   4471: 
                   4472:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4473:   # can be detected and how.
                   4474:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4475: /* end confdefs.h.  */
                   4476: #include <ac_nonexistent.h>
                   4477: _ACEOF
                   4478: if ac_fn_c_try_cpp "$LINENO"; then :
                   4479:   # Broken: success on invalid input.
                   4480: continue
                   4481: else
                   4482:   # Passes both tests.
                   4483: ac_preproc_ok=:
                   4484: break
                   4485: fi
                   4486: rm -f conftest.err conftest.i conftest.$ac_ext
                   4487: 
                   4488: done
                   4489: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4490: rm -f conftest.i conftest.err conftest.$ac_ext
                   4491: if $ac_preproc_ok; then :
                   4492:   break
                   4493: fi
                   4494: 
                   4495:     done
                   4496:     ac_cv_prog_CPP=$CPP
                   4497: 
                   4498: fi
                   4499:   CPP=$ac_cv_prog_CPP
                   4500: else
                   4501:   ac_cv_prog_CPP=$CPP
                   4502: fi
                   4503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4504: $as_echo "$CPP" >&6; }
                   4505: ac_preproc_ok=false
                   4506: for ac_c_preproc_warn_flag in '' yes
                   4507: do
                   4508:   # Use a header file that comes with gcc, so configuring glibc
                   4509:   # with a fresh cross-compiler works.
                   4510:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4511:   # <limits.h> exists even on freestanding compilers.
                   4512:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4513:   # not just through cpp. "Syntax error" is here to catch this case.
                   4514:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4515: /* end confdefs.h.  */
                   4516: #ifdef __STDC__
                   4517: # include <limits.h>
                   4518: #else
                   4519: # include <assert.h>
                   4520: #endif
                   4521:                     Syntax error
                   4522: _ACEOF
                   4523: if ac_fn_c_try_cpp "$LINENO"; then :
                   4524: 
                   4525: else
                   4526:   # Broken: fails on valid input.
                   4527: continue
                   4528: fi
                   4529: rm -f conftest.err conftest.i conftest.$ac_ext
                   4530: 
                   4531:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4532:   # can be detected and how.
                   4533:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4534: /* end confdefs.h.  */
                   4535: #include <ac_nonexistent.h>
                   4536: _ACEOF
                   4537: if ac_fn_c_try_cpp "$LINENO"; then :
                   4538:   # Broken: success on invalid input.
                   4539: continue
                   4540: else
                   4541:   # Passes both tests.
                   4542: ac_preproc_ok=:
                   4543: break
                   4544: fi
                   4545: rm -f conftest.err conftest.i conftest.$ac_ext
                   4546: 
                   4547: done
                   4548: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4549: rm -f conftest.i conftest.err conftest.$ac_ext
                   4550: if $ac_preproc_ok; then :
                   4551: 
                   4552: else
                   4553:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4554: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4555: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4556: See \`config.log' for more details" "$LINENO" 5; }
                   4557: fi
                   4558: 
                   4559: ac_ext=c
                   4560: ac_cpp='$CPP $CPPFLAGS'
                   4561: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4562: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4563: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4564: 
                   4565: 
                   4566: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4567: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4568: if ${ac_cv_path_GREP+:} false; then :
                   4569:   $as_echo_n "(cached) " >&6
                   4570: else
                   4571:   if test -z "$GREP"; then
                   4572:   ac_path_GREP_found=false
                   4573:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4574:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4575: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4576: do
                   4577:   IFS=$as_save_IFS
                   4578:   test -z "$as_dir" && as_dir=.
                   4579:     for ac_prog in grep ggrep; do
                   4580:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4581:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.1.2.1! misho    4582:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    4583: # Check for GNU ac_path_GREP and select it if it is found.
                   4584:   # Check for GNU $ac_path_GREP
                   4585: case `"$ac_path_GREP" --version 2>&1` in
                   4586: *GNU*)
                   4587:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4588: *)
                   4589:   ac_count=0
                   4590:   $as_echo_n 0123456789 >"conftest.in"
                   4591:   while :
                   4592:   do
                   4593:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4594:     mv "conftest.tmp" "conftest.in"
                   4595:     cp "conftest.in" "conftest.nl"
                   4596:     $as_echo 'GREP' >> "conftest.nl"
                   4597:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4598:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4599:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4600:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4601:       # Best one so far, save it but keep looking for a better one
                   4602:       ac_cv_path_GREP="$ac_path_GREP"
                   4603:       ac_path_GREP_max=$ac_count
                   4604:     fi
                   4605:     # 10*(2^10) chars as input seems more than enough
                   4606:     test $ac_count -gt 10 && break
                   4607:   done
                   4608:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4609: esac
                   4610: 
                   4611:       $ac_path_GREP_found && break 3
                   4612:     done
                   4613:   done
                   4614:   done
                   4615: IFS=$as_save_IFS
                   4616:   if test -z "$ac_cv_path_GREP"; then
                   4617:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4618:   fi
                   4619: else
                   4620:   ac_cv_path_GREP=$GREP
                   4621: fi
                   4622: 
                   4623: fi
                   4624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4625: $as_echo "$ac_cv_path_GREP" >&6; }
                   4626:  GREP="$ac_cv_path_GREP"
                   4627: 
                   4628: 
                   4629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4630: $as_echo_n "checking for egrep... " >&6; }
                   4631: if ${ac_cv_path_EGREP+:} false; then :
                   4632:   $as_echo_n "(cached) " >&6
                   4633: else
                   4634:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4635:    then ac_cv_path_EGREP="$GREP -E"
                   4636:    else
                   4637:      if test -z "$EGREP"; then
                   4638:   ac_path_EGREP_found=false
                   4639:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4640:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4641: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4642: do
                   4643:   IFS=$as_save_IFS
                   4644:   test -z "$as_dir" && as_dir=.
                   4645:     for ac_prog in egrep; do
                   4646:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4647:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.1.2.1! misho    4648:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    4649: # Check for GNU ac_path_EGREP and select it if it is found.
                   4650:   # Check for GNU $ac_path_EGREP
                   4651: case `"$ac_path_EGREP" --version 2>&1` in
                   4652: *GNU*)
                   4653:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4654: *)
                   4655:   ac_count=0
                   4656:   $as_echo_n 0123456789 >"conftest.in"
                   4657:   while :
                   4658:   do
                   4659:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4660:     mv "conftest.tmp" "conftest.in"
                   4661:     cp "conftest.in" "conftest.nl"
                   4662:     $as_echo 'EGREP' >> "conftest.nl"
                   4663:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4664:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4665:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4666:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4667:       # Best one so far, save it but keep looking for a better one
                   4668:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4669:       ac_path_EGREP_max=$ac_count
                   4670:     fi
                   4671:     # 10*(2^10) chars as input seems more than enough
                   4672:     test $ac_count -gt 10 && break
                   4673:   done
                   4674:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4675: esac
                   4676: 
                   4677:       $ac_path_EGREP_found && break 3
                   4678:     done
                   4679:   done
                   4680:   done
                   4681: IFS=$as_save_IFS
                   4682:   if test -z "$ac_cv_path_EGREP"; then
                   4683:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4684:   fi
                   4685: else
                   4686:   ac_cv_path_EGREP=$EGREP
                   4687: fi
                   4688: 
                   4689:    fi
                   4690: fi
                   4691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4692: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4693:  EGREP="$ac_cv_path_EGREP"
                   4694: 
                   4695: 
                   4696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4697: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4698: if ${ac_cv_header_stdc+:} false; then :
                   4699:   $as_echo_n "(cached) " >&6
                   4700: else
                   4701:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4702: /* end confdefs.h.  */
                   4703: #include <stdlib.h>
                   4704: #include <stdarg.h>
                   4705: #include <string.h>
                   4706: #include <float.h>
                   4707: 
                   4708: int
                   4709: main ()
                   4710: {
                   4711: 
                   4712:   ;
                   4713:   return 0;
                   4714: }
                   4715: _ACEOF
                   4716: if ac_fn_c_try_compile "$LINENO"; then :
                   4717:   ac_cv_header_stdc=yes
                   4718: else
                   4719:   ac_cv_header_stdc=no
                   4720: fi
                   4721: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4722: 
                   4723: if test $ac_cv_header_stdc = yes; then
                   4724:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4725:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4726: /* end confdefs.h.  */
                   4727: #include <string.h>
                   4728: 
                   4729: _ACEOF
                   4730: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4731:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4732: 
                   4733: else
                   4734:   ac_cv_header_stdc=no
                   4735: fi
                   4736: rm -f conftest*
                   4737: 
                   4738: fi
                   4739: 
                   4740: if test $ac_cv_header_stdc = yes; then
                   4741:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4742:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4743: /* end confdefs.h.  */
                   4744: #include <stdlib.h>
                   4745: 
                   4746: _ACEOF
                   4747: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4748:   $EGREP "free" >/dev/null 2>&1; then :
                   4749: 
                   4750: else
                   4751:   ac_cv_header_stdc=no
                   4752: fi
                   4753: rm -f conftest*
                   4754: 
                   4755: fi
                   4756: 
                   4757: if test $ac_cv_header_stdc = yes; then
                   4758:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4759:   if test "$cross_compiling" = yes; then :
                   4760:   :
                   4761: else
                   4762:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4763: /* end confdefs.h.  */
                   4764: #include <ctype.h>
                   4765: #include <stdlib.h>
                   4766: #if ((' ' & 0x0FF) == 0x020)
                   4767: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4768: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4769: #else
                   4770: # define ISLOWER(c) \
                   4771:                   (('a' <= (c) && (c) <= 'i') \
                   4772:                     || ('j' <= (c) && (c) <= 'r') \
                   4773:                     || ('s' <= (c) && (c) <= 'z'))
                   4774: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4775: #endif
                   4776: 
                   4777: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4778: int
                   4779: main ()
                   4780: {
                   4781:   int i;
                   4782:   for (i = 0; i < 256; i++)
                   4783:     if (XOR (islower (i), ISLOWER (i))
                   4784:        || toupper (i) != TOUPPER (i))
                   4785:       return 2;
                   4786:   return 0;
                   4787: }
                   4788: _ACEOF
                   4789: if ac_fn_c_try_run "$LINENO"; then :
                   4790: 
                   4791: else
                   4792:   ac_cv_header_stdc=no
                   4793: fi
                   4794: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4795:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4796: fi
                   4797: 
                   4798: fi
                   4799: fi
                   4800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4801: $as_echo "$ac_cv_header_stdc" >&6; }
                   4802: if test $ac_cv_header_stdc = yes; then
                   4803: 
                   4804: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   4805: 
                   4806: fi
                   4807: 
                   4808: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4809: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4810:                  inttypes.h stdint.h unistd.h
                   4811: do :
                   4812:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4813: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4814: "
                   4815: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4816:   cat >>confdefs.h <<_ACEOF
                   4817: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4818: _ACEOF
                   4819: 
                   4820: fi
                   4821: 
                   4822: done
                   4823: 
                   4824: 
                   4825: 
                   4826:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   4827: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   4828:   MINIX=yes
                   4829: else
                   4830:   MINIX=
                   4831: fi
                   4832: 
                   4833: 
                   4834:   if test "$MINIX" = yes; then
                   4835: 
                   4836: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
                   4837: 
                   4838: 
                   4839: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
                   4840: 
                   4841: 
                   4842: $as_echo "#define _MINIX 1" >>confdefs.h
                   4843: 
                   4844:   fi
                   4845: 
                   4846: 
                   4847:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   4848: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   4849: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   4850:   $as_echo_n "(cached) " >&6
                   4851: else
                   4852:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4853: /* end confdefs.h.  */
                   4854: 
1.1.1.1.2.1! misho    4855: #         define __EXTENSIONS__ 1
        !          4856:           $ac_includes_default
1.1       misho    4857: int
                   4858: main ()
                   4859: {
                   4860: 
                   4861:   ;
                   4862:   return 0;
                   4863: }
                   4864: _ACEOF
                   4865: if ac_fn_c_try_compile "$LINENO"; then :
                   4866:   ac_cv_safe_to_define___extensions__=yes
                   4867: else
                   4868:   ac_cv_safe_to_define___extensions__=no
                   4869: fi
                   4870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4871: fi
                   4872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   4873: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   4874:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   4875:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
                   4876: 
                   4877:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   4878: 
                   4879:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
                   4880: 
                   4881:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
                   4882: 
                   4883:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
                   4884: 
                   4885: 
                   4886: 
                   4887: 
                   4888: 
                   4889: # So far, the only shared library we might use is libopts.
                   4890: # It's a small library - we might as well use a static version of it.
                   4891: # Check whether --enable-shared was given.
                   4892: if test "${enable_shared+set}" = set; then :
                   4893:   enableval=$enable_shared; p=${PACKAGE-default}
                   4894:     case $enableval in
                   4895:     yes) enable_shared=yes ;;
                   4896:     no) enable_shared=no ;;
                   4897:     *)
                   4898:       enable_shared=no
                   4899:       # Look at the argument we got.  We use all the common list separators.
                   4900:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   4901:       for pkg in $enableval; do
                   4902:        IFS="$lt_save_ifs"
                   4903:        if test "X$pkg" = "X$p"; then
                   4904:          enable_shared=yes
                   4905:        fi
                   4906:       done
                   4907:       IFS="$lt_save_ifs"
                   4908:       ;;
                   4909:     esac
                   4910: else
                   4911:   enable_shared=no
                   4912: fi
                   4913: 
                   4914: 
                   4915: 
                   4916: 
                   4917: 
                   4918: 
                   4919: 
                   4920: 
                   4921: 
                   4922: 
                   4923: ac_ext=c
                   4924: ac_cpp='$CPP $CPPFLAGS'
                   4925: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4926: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4927: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4928: if test -n "$ac_tool_prefix"; then
                   4929:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4930: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   4931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4932: $as_echo_n "checking for $ac_word... " >&6; }
                   4933: if ${ac_cv_prog_CC+:} false; then :
                   4934:   $as_echo_n "(cached) " >&6
                   4935: else
                   4936:   if test -n "$CC"; then
                   4937:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4938: else
                   4939: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4940: for as_dir in $PATH
                   4941: do
                   4942:   IFS=$as_save_IFS
                   4943:   test -z "$as_dir" && as_dir=.
                   4944:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    4945:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4946:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   4947:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4948:     break 2
                   4949:   fi
                   4950: done
                   4951:   done
                   4952: IFS=$as_save_IFS
                   4953: 
                   4954: fi
                   4955: fi
                   4956: CC=$ac_cv_prog_CC
                   4957: if test -n "$CC"; then
                   4958:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4959: $as_echo "$CC" >&6; }
                   4960: else
                   4961:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4962: $as_echo "no" >&6; }
                   4963: fi
                   4964: 
                   4965: 
                   4966: fi
                   4967: if test -z "$ac_cv_prog_CC"; then
                   4968:   ac_ct_CC=$CC
                   4969:   # Extract the first word of "gcc", so it can be a program name with args.
                   4970: set dummy gcc; ac_word=$2
                   4971: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4972: $as_echo_n "checking for $ac_word... " >&6; }
                   4973: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   4974:   $as_echo_n "(cached) " >&6
                   4975: else
                   4976:   if test -n "$ac_ct_CC"; then
                   4977:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4978: else
                   4979: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4980: for as_dir in $PATH
                   4981: do
                   4982:   IFS=$as_save_IFS
                   4983:   test -z "$as_dir" && as_dir=.
                   4984:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    4985:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4986:     ac_cv_prog_ac_ct_CC="gcc"
                   4987:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4988:     break 2
                   4989:   fi
                   4990: done
                   4991:   done
                   4992: IFS=$as_save_IFS
                   4993: 
                   4994: fi
                   4995: fi
                   4996: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4997: if test -n "$ac_ct_CC"; then
                   4998:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4999: $as_echo "$ac_ct_CC" >&6; }
                   5000: else
                   5001:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5002: $as_echo "no" >&6; }
                   5003: fi
                   5004: 
                   5005:   if test "x$ac_ct_CC" = x; then
                   5006:     CC=""
                   5007:   else
                   5008:     case $cross_compiling:$ac_tool_warned in
                   5009: yes:)
                   5010: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5011: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5012: ac_tool_warned=yes ;;
                   5013: esac
                   5014:     CC=$ac_ct_CC
                   5015:   fi
                   5016: else
                   5017:   CC="$ac_cv_prog_CC"
                   5018: fi
                   5019: 
                   5020: if test -z "$CC"; then
                   5021:           if test -n "$ac_tool_prefix"; then
                   5022:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   5023: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   5024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5025: $as_echo_n "checking for $ac_word... " >&6; }
                   5026: if ${ac_cv_prog_CC+:} false; then :
                   5027:   $as_echo_n "(cached) " >&6
                   5028: else
                   5029:   if test -n "$CC"; then
                   5030:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5031: else
                   5032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5033: for as_dir in $PATH
                   5034: do
                   5035:   IFS=$as_save_IFS
                   5036:   test -z "$as_dir" && as_dir=.
                   5037:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    5038:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5039:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   5040:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5041:     break 2
                   5042:   fi
                   5043: done
                   5044:   done
                   5045: IFS=$as_save_IFS
                   5046: 
                   5047: fi
                   5048: fi
                   5049: CC=$ac_cv_prog_CC
                   5050: if test -n "$CC"; then
                   5051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5052: $as_echo "$CC" >&6; }
                   5053: else
                   5054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5055: $as_echo "no" >&6; }
                   5056: fi
                   5057: 
                   5058: 
                   5059:   fi
                   5060: fi
                   5061: if test -z "$CC"; then
                   5062:   # Extract the first word of "cc", so it can be a program name with args.
                   5063: set dummy cc; ac_word=$2
                   5064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5065: $as_echo_n "checking for $ac_word... " >&6; }
                   5066: if ${ac_cv_prog_CC+:} false; then :
                   5067:   $as_echo_n "(cached) " >&6
                   5068: else
                   5069:   if test -n "$CC"; then
                   5070:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5071: else
                   5072:   ac_prog_rejected=no
                   5073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5074: for as_dir in $PATH
                   5075: do
                   5076:   IFS=$as_save_IFS
                   5077:   test -z "$as_dir" && as_dir=.
                   5078:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    5079:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5080:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   5081:        ac_prog_rejected=yes
                   5082:        continue
                   5083:      fi
                   5084:     ac_cv_prog_CC="cc"
                   5085:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5086:     break 2
                   5087:   fi
                   5088: done
                   5089:   done
                   5090: IFS=$as_save_IFS
                   5091: 
                   5092: if test $ac_prog_rejected = yes; then
                   5093:   # We found a bogon in the path, so make sure we never use it.
                   5094:   set dummy $ac_cv_prog_CC
                   5095:   shift
                   5096:   if test $# != 0; then
                   5097:     # We chose a different compiler from the bogus one.
                   5098:     # However, it has the same basename, so the bogon will be chosen
                   5099:     # first if we set CC to just the basename; use the full file name.
                   5100:     shift
                   5101:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   5102:   fi
                   5103: fi
                   5104: fi
                   5105: fi
                   5106: CC=$ac_cv_prog_CC
                   5107: if test -n "$CC"; then
                   5108:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5109: $as_echo "$CC" >&6; }
                   5110: else
                   5111:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5112: $as_echo "no" >&6; }
                   5113: fi
                   5114: 
                   5115: 
                   5116: fi
                   5117: if test -z "$CC"; then
                   5118:   if test -n "$ac_tool_prefix"; then
                   5119:   for ac_prog in cl.exe
                   5120:   do
                   5121:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5122: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5124: $as_echo_n "checking for $ac_word... " >&6; }
                   5125: if ${ac_cv_prog_CC+:} false; then :
                   5126:   $as_echo_n "(cached) " >&6
                   5127: else
                   5128:   if test -n "$CC"; then
                   5129:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   5130: else
                   5131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5132: for as_dir in $PATH
                   5133: do
                   5134:   IFS=$as_save_IFS
                   5135:   test -z "$as_dir" && as_dir=.
                   5136:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    5137:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5138:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   5139:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5140:     break 2
                   5141:   fi
                   5142: done
                   5143:   done
                   5144: IFS=$as_save_IFS
                   5145: 
                   5146: fi
                   5147: fi
                   5148: CC=$ac_cv_prog_CC
                   5149: if test -n "$CC"; then
                   5150:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   5151: $as_echo "$CC" >&6; }
                   5152: else
                   5153:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5154: $as_echo "no" >&6; }
                   5155: fi
                   5156: 
                   5157: 
                   5158:     test -n "$CC" && break
                   5159:   done
                   5160: fi
                   5161: if test -z "$CC"; then
                   5162:   ac_ct_CC=$CC
                   5163:   for ac_prog in cl.exe
                   5164: do
                   5165:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5166: set dummy $ac_prog; ac_word=$2
                   5167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5168: $as_echo_n "checking for $ac_word... " >&6; }
                   5169: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   5170:   $as_echo_n "(cached) " >&6
                   5171: else
                   5172:   if test -n "$ac_ct_CC"; then
                   5173:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   5174: else
                   5175: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5176: for as_dir in $PATH
                   5177: do
                   5178:   IFS=$as_save_IFS
                   5179:   test -z "$as_dir" && as_dir=.
                   5180:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    5181:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5182:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   5183:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5184:     break 2
                   5185:   fi
                   5186: done
                   5187:   done
                   5188: IFS=$as_save_IFS
                   5189: 
                   5190: fi
                   5191: fi
                   5192: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   5193: if test -n "$ac_ct_CC"; then
                   5194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   5195: $as_echo "$ac_ct_CC" >&6; }
                   5196: else
                   5197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5198: $as_echo "no" >&6; }
                   5199: fi
                   5200: 
                   5201: 
                   5202:   test -n "$ac_ct_CC" && break
                   5203: done
                   5204: 
                   5205:   if test "x$ac_ct_CC" = x; then
                   5206:     CC=""
                   5207:   else
                   5208:     case $cross_compiling:$ac_tool_warned in
                   5209: yes:)
                   5210: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5211: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5212: ac_tool_warned=yes ;;
                   5213: esac
                   5214:     CC=$ac_ct_CC
                   5215:   fi
                   5216: fi
                   5217: 
                   5218: fi
                   5219: 
                   5220: 
                   5221: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5222: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5223: as_fn_error $? "no acceptable C compiler found in \$PATH
                   5224: See \`config.log' for more details" "$LINENO" 5; }
                   5225: 
                   5226: # Provide some information about the compiler.
                   5227: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   5228: set X $ac_compile
                   5229: ac_compiler=$2
                   5230: for ac_option in --version -v -V -qversion; do
                   5231:   { { ac_try="$ac_compiler $ac_option >&5"
                   5232: case "(($ac_try" in
                   5233:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5234:   *) ac_try_echo=$ac_try;;
                   5235: esac
                   5236: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5237: $as_echo "$ac_try_echo"; } >&5
                   5238:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   5239:   ac_status=$?
                   5240:   if test -s conftest.err; then
                   5241:     sed '10a\
                   5242: ... rest of stderr output deleted ...
                   5243:          10q' conftest.err >conftest.er1
                   5244:     cat conftest.er1 >&5
                   5245:   fi
                   5246:   rm -f conftest.er1 conftest.err
                   5247:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5248:   test $ac_status = 0; }
                   5249: done
                   5250: 
                   5251: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   5252: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   5253: if ${ac_cv_c_compiler_gnu+:} false; then :
                   5254:   $as_echo_n "(cached) " >&6
                   5255: else
                   5256:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5257: /* end confdefs.h.  */
                   5258: 
                   5259: int
                   5260: main ()
                   5261: {
                   5262: #ifndef __GNUC__
                   5263:        choke me
                   5264: #endif
                   5265: 
                   5266:   ;
                   5267:   return 0;
                   5268: }
                   5269: _ACEOF
                   5270: if ac_fn_c_try_compile "$LINENO"; then :
                   5271:   ac_compiler_gnu=yes
                   5272: else
                   5273:   ac_compiler_gnu=no
                   5274: fi
                   5275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5276: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   5277: 
                   5278: fi
                   5279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   5280: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   5281: if test $ac_compiler_gnu = yes; then
                   5282:   GCC=yes
                   5283: else
                   5284:   GCC=
                   5285: fi
                   5286: ac_test_CFLAGS=${CFLAGS+set}
                   5287: ac_save_CFLAGS=$CFLAGS
                   5288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   5289: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   5290: if ${ac_cv_prog_cc_g+:} false; then :
                   5291:   $as_echo_n "(cached) " >&6
                   5292: else
                   5293:   ac_save_c_werror_flag=$ac_c_werror_flag
                   5294:    ac_c_werror_flag=yes
                   5295:    ac_cv_prog_cc_g=no
                   5296:    CFLAGS="-g"
                   5297:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5298: /* end confdefs.h.  */
                   5299: 
                   5300: int
                   5301: main ()
                   5302: {
                   5303: 
                   5304:   ;
                   5305:   return 0;
                   5306: }
                   5307: _ACEOF
                   5308: if ac_fn_c_try_compile "$LINENO"; then :
                   5309:   ac_cv_prog_cc_g=yes
                   5310: else
                   5311:   CFLAGS=""
                   5312:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5313: /* end confdefs.h.  */
                   5314: 
                   5315: int
                   5316: main ()
                   5317: {
                   5318: 
                   5319:   ;
                   5320:   return 0;
                   5321: }
                   5322: _ACEOF
                   5323: if ac_fn_c_try_compile "$LINENO"; then :
                   5324: 
                   5325: else
                   5326:   ac_c_werror_flag=$ac_save_c_werror_flag
                   5327:         CFLAGS="-g"
                   5328:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5329: /* end confdefs.h.  */
                   5330: 
                   5331: int
                   5332: main ()
                   5333: {
                   5334: 
                   5335:   ;
                   5336:   return 0;
                   5337: }
                   5338: _ACEOF
                   5339: if ac_fn_c_try_compile "$LINENO"; then :
                   5340:   ac_cv_prog_cc_g=yes
                   5341: fi
                   5342: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5343: fi
                   5344: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5345: fi
                   5346: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5347:    ac_c_werror_flag=$ac_save_c_werror_flag
                   5348: fi
                   5349: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   5350: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   5351: if test "$ac_test_CFLAGS" = set; then
                   5352:   CFLAGS=$ac_save_CFLAGS
                   5353: elif test $ac_cv_prog_cc_g = yes; then
                   5354:   if test "$GCC" = yes; then
                   5355:     CFLAGS="-g -O2"
                   5356:   else
                   5357:     CFLAGS="-g"
                   5358:   fi
                   5359: else
                   5360:   if test "$GCC" = yes; then
                   5361:     CFLAGS="-O2"
                   5362:   else
                   5363:     CFLAGS=
                   5364:   fi
                   5365: fi
                   5366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   5367: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   5368: if ${ac_cv_prog_cc_c89+:} false; then :
                   5369:   $as_echo_n "(cached) " >&6
                   5370: else
                   5371:   ac_cv_prog_cc_c89=no
                   5372: ac_save_CC=$CC
                   5373: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5374: /* end confdefs.h.  */
                   5375: #include <stdarg.h>
                   5376: #include <stdio.h>
1.1.1.1.2.1! misho    5377: struct stat;
1.1       misho    5378: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   5379: struct buf { int x; };
                   5380: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   5381: static char *e (p, i)
                   5382:      char **p;
                   5383:      int i;
                   5384: {
                   5385:   return p[i];
                   5386: }
                   5387: static char *f (char * (*g) (char **, int), char **p, ...)
                   5388: {
                   5389:   char *s;
                   5390:   va_list v;
                   5391:   va_start (v,p);
                   5392:   s = g (p, va_arg (v,int));
                   5393:   va_end (v);
                   5394:   return s;
                   5395: }
                   5396: 
                   5397: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   5398:    function prototypes and stuff, but not '\xHH' hex character constants.
                   5399:    These don't provoke an error unfortunately, instead are silently treated
                   5400:    as 'x'.  The following induces an error, until -std is added to get
                   5401:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   5402:    array size at least.  It's necessary to write '\x00'==0 to get something
                   5403:    that's true only with -std.  */
                   5404: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   5405: 
                   5406: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   5407:    inside strings and character constants.  */
                   5408: #define FOO(x) 'x'
                   5409: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   5410: 
                   5411: int test (int i, double x);
                   5412: struct s1 {int (*f) (int a);};
                   5413: struct s2 {int (*f) (double a);};
                   5414: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   5415: int argc;
                   5416: char **argv;
                   5417: int
                   5418: main ()
                   5419: {
                   5420: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   5421:   ;
                   5422:   return 0;
                   5423: }
                   5424: _ACEOF
                   5425: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   5426:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   5427: do
                   5428:   CC="$ac_save_CC $ac_arg"
                   5429:   if ac_fn_c_try_compile "$LINENO"; then :
                   5430:   ac_cv_prog_cc_c89=$ac_arg
                   5431: fi
                   5432: rm -f core conftest.err conftest.$ac_objext
                   5433:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   5434: done
                   5435: rm -f conftest.$ac_ext
                   5436: CC=$ac_save_CC
                   5437: 
                   5438: fi
                   5439: # AC_CACHE_VAL
                   5440: case "x$ac_cv_prog_cc_c89" in
                   5441:   x)
                   5442:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   5443: $as_echo "none needed" >&6; } ;;
                   5444:   xno)
                   5445:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   5446: $as_echo "unsupported" >&6; } ;;
                   5447:   *)
                   5448:     CC="$CC $ac_cv_prog_cc_c89"
                   5449:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   5450: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   5451: esac
                   5452: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   5453: 
                   5454: fi
                   5455: 
                   5456: ac_ext=c
                   5457: ac_cpp='$CPP $CPPFLAGS'
                   5458: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5459: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5460: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5461: 
                   5462: depcc="$CC"   am_compiler_list=
                   5463: 
                   5464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   5465: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   5466: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   5467:   $as_echo_n "(cached) " >&6
                   5468: else
                   5469:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   5470:   # We make a subdir and do the tests there.  Otherwise we can end up
                   5471:   # making bogus files that we don't know about and never remove.  For
                   5472:   # instance it was reported that on HP-UX the gcc test will end up
                   5473:   # making a dummy file named `D' -- because `-MD' means `put the output
                   5474:   # in D'.
                   5475:   mkdir conftest.dir
                   5476:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   5477:   # using a relative directory.
                   5478:   cp "$am_depcomp" conftest.dir
                   5479:   cd conftest.dir
                   5480:   # We will build objects and dependencies in a subdirectory because
                   5481:   # it helps to detect inapplicable dependency modes.  For instance
                   5482:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   5483:   # side effect of compilation, but ICC will put the dependencies in
                   5484:   # the current directory while Tru64 will put them in the object
                   5485:   # directory.
                   5486:   mkdir sub
                   5487: 
                   5488:   am_cv_CC_dependencies_compiler_type=none
                   5489:   if test "$am_compiler_list" = ""; then
                   5490:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   5491:   fi
                   5492:   am__universal=false
                   5493:   case " $depcc " in #(
                   5494:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   5495:      esac
                   5496: 
                   5497:   for depmode in $am_compiler_list; do
                   5498:     # Setup a source with many dependencies, because some compilers
                   5499:     # like to wrap large dependency lists on column 80 (with \), and
                   5500:     # we should not choose a depcomp mode which is confused by this.
                   5501:     #
                   5502:     # We need to recreate these files for each test, as the compiler may
                   5503:     # overwrite some of them when testing with obscure command lines.
                   5504:     # This happens at least with the AIX C compiler.
                   5505:     : > sub/conftest.c
                   5506:     for i in 1 2 3 4 5 6; do
                   5507:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   5508:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   5509:       # Solaris 8's {/usr,}/bin/sh.
                   5510:       touch sub/conftst$i.h
                   5511:     done
                   5512:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   5513: 
                   5514:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   5515:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   5516:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   5517:     # versions had trouble with output in subdirs
                   5518:     am__obj=sub/conftest.${OBJEXT-o}
                   5519:     am__minus_obj="-o $am__obj"
                   5520:     case $depmode in
                   5521:     gcc)
                   5522:       # This depmode causes a compiler race in universal mode.
                   5523:       test "$am__universal" = false || continue
                   5524:       ;;
                   5525:     nosideeffect)
                   5526:       # after this tag, mechanisms are not by side-effect, so they'll
                   5527:       # only be used when explicitly requested
                   5528:       if test "x$enable_dependency_tracking" = xyes; then
                   5529:        continue
                   5530:       else
                   5531:        break
                   5532:       fi
                   5533:       ;;
                   5534:     msvisualcpp | msvcmsys)
                   5535:       # This compiler won't grok `-c -o', but also, the minuso test has
                   5536:       # not run yet.  These depmodes are late enough in the game, and
                   5537:       # so weak that their functioning should not be impacted.
                   5538:       am__obj=conftest.${OBJEXT-o}
                   5539:       am__minus_obj=
                   5540:       ;;
                   5541:     none) break ;;
                   5542:     esac
                   5543:     if depmode=$depmode \
                   5544:        source=sub/conftest.c object=$am__obj \
                   5545:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   5546:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   5547:          >/dev/null 2>conftest.err &&
                   5548:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   5549:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   5550:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   5551:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   5552:       # icc doesn't choke on unknown options, it will just issue warnings
                   5553:       # or remarks (even with -Werror).  So we grep stderr for any message
                   5554:       # that says an option was ignored or not supported.
                   5555:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   5556:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   5557:       # The diagnosis changed in icc 8.0:
                   5558:       #   icc: Command line remark: option '-MP' not supported
                   5559:       if (grep 'ignoring option' conftest.err ||
                   5560:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   5561:         am_cv_CC_dependencies_compiler_type=$depmode
                   5562:         break
                   5563:       fi
                   5564:     fi
                   5565:   done
                   5566: 
                   5567:   cd ..
                   5568:   rm -rf conftest.dir
                   5569: else
                   5570:   am_cv_CC_dependencies_compiler_type=none
                   5571: fi
                   5572: 
                   5573: fi
                   5574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   5575: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   5576: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   5577: 
                   5578:  if
                   5579:   test "x$enable_dependency_tracking" != xno \
                   5580:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   5581:   am__fastdepCC_TRUE=
                   5582:   am__fastdepCC_FALSE='#'
                   5583: else
                   5584:   am__fastdepCC_TRUE='#'
                   5585:   am__fastdepCC_FALSE=
                   5586: fi
                   5587: 
                   5588: 
                   5589: # Ralf Wildenhues: With per-target flags we need CC_C_O
                   5590: # AM_PROG_CC_C_O supersets AC_PROG_CC_C_O
                   5591: if test "x$CC" != xcc; then
                   5592:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
                   5593: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
                   5594: else
                   5595:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
                   5596: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
                   5597: fi
                   5598: set dummy $CC; ac_cc=`$as_echo "$2" |
                   5599:                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   5600: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
                   5601:   $as_echo_n "(cached) " >&6
                   5602: else
                   5603:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5604: /* end confdefs.h.  */
                   5605: 
                   5606: int
                   5607: main ()
                   5608: {
                   5609: 
                   5610:   ;
                   5611:   return 0;
                   5612: }
                   5613: _ACEOF
                   5614: # Make sure it works both with $CC and with simple cc.
                   5615: # We do the test twice because some compilers refuse to overwrite an
                   5616: # existing .o file with -o, though they will create one.
                   5617: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   5618: rm -f conftest2.*
                   5619: if { { case "(($ac_try" in
                   5620:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5621:   *) ac_try_echo=$ac_try;;
                   5622: esac
                   5623: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5624: $as_echo "$ac_try_echo"; } >&5
                   5625:   (eval "$ac_try") 2>&5
                   5626:   ac_status=$?
                   5627:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5628:   test $ac_status = 0; } &&
                   5629:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   5630:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5631:   *) ac_try_echo=$ac_try;;
                   5632: esac
                   5633: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5634: $as_echo "$ac_try_echo"; } >&5
                   5635:   (eval "$ac_try") 2>&5
                   5636:   ac_status=$?
                   5637:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5638:   test $ac_status = 0; };
                   5639: then
                   5640:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
                   5641:   if test "x$CC" != xcc; then
                   5642:     # Test first that cc exists at all.
                   5643:     if { ac_try='cc -c conftest.$ac_ext >&5'
                   5644:   { { case "(($ac_try" in
                   5645:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5646:   *) ac_try_echo=$ac_try;;
                   5647: esac
                   5648: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5649: $as_echo "$ac_try_echo"; } >&5
                   5650:   (eval "$ac_try") 2>&5
                   5651:   ac_status=$?
                   5652:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5653:   test $ac_status = 0; }; }; then
                   5654:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   5655:       rm -f conftest2.*
                   5656:       if { { case "(($ac_try" in
                   5657:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5658:   *) ac_try_echo=$ac_try;;
                   5659: esac
                   5660: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5661: $as_echo "$ac_try_echo"; } >&5
                   5662:   (eval "$ac_try") 2>&5
                   5663:   ac_status=$?
                   5664:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5665:   test $ac_status = 0; } &&
                   5666:         test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   5667:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   5668:   *) ac_try_echo=$ac_try;;
                   5669: esac
                   5670: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   5671: $as_echo "$ac_try_echo"; } >&5
                   5672:   (eval "$ac_try") 2>&5
                   5673:   ac_status=$?
                   5674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5675:   test $ac_status = 0; };
                   5676:       then
                   5677:        # cc works too.
                   5678:        :
                   5679:       else
                   5680:        # cc exists but doesn't like -o.
                   5681:        eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   5682:       fi
                   5683:     fi
                   5684:   fi
                   5685: else
                   5686:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   5687: fi
                   5688: rm -f core conftest*
                   5689: 
                   5690: fi
                   5691: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
                   5692:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5693: $as_echo "yes" >&6; }
                   5694: else
                   5695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5696: $as_echo "no" >&6; }
                   5697: 
                   5698: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
                   5699: 
                   5700: fi
                   5701: 
                   5702: # FIXME: we rely on the cache variable name because
                   5703: # there is no other way.
                   5704: set dummy $CC
                   5705: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   5706: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
                   5707: if test "$am_t" != yes; then
                   5708:    # Losing compiler, so override with the script.
                   5709:    # FIXME: It is wrong to rewrite CC.
                   5710:    # But if we don't then we get into trouble of one sort or another.
                   5711:    # A longer-term fix would be to have automake use am__CC in this case,
                   5712:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   5713:    CC="$am_aux_dir/compile $CC"
                   5714: fi
                   5715: 
                   5716: 
                   5717: ac_ext=c
                   5718: ac_cpp='$CPP $CPPFLAGS'
                   5719: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5720: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5721: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   5723: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   5724: # On Suns, sometimes $CPP names a directory.
                   5725: if test -n "$CPP" && test -d "$CPP"; then
                   5726:   CPP=
                   5727: fi
                   5728: if test -z "$CPP"; then
                   5729:   if ${ac_cv_prog_CPP+:} false; then :
                   5730:   $as_echo_n "(cached) " >&6
                   5731: else
                   5732:       # Double quotes because CPP needs to be expanded
                   5733:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   5734:     do
                   5735:       ac_preproc_ok=false
                   5736: for ac_c_preproc_warn_flag in '' yes
                   5737: do
                   5738:   # Use a header file that comes with gcc, so configuring glibc
                   5739:   # with a fresh cross-compiler works.
                   5740:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5741:   # <limits.h> exists even on freestanding compilers.
                   5742:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5743:   # not just through cpp. "Syntax error" is here to catch this case.
                   5744:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5745: /* end confdefs.h.  */
                   5746: #ifdef __STDC__
                   5747: # include <limits.h>
                   5748: #else
                   5749: # include <assert.h>
                   5750: #endif
                   5751:                     Syntax error
                   5752: _ACEOF
                   5753: if ac_fn_c_try_cpp "$LINENO"; then :
                   5754: 
                   5755: else
                   5756:   # Broken: fails on valid input.
                   5757: continue
                   5758: fi
                   5759: rm -f conftest.err conftest.i conftest.$ac_ext
                   5760: 
                   5761:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5762:   # can be detected and how.
                   5763:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5764: /* end confdefs.h.  */
                   5765: #include <ac_nonexistent.h>
                   5766: _ACEOF
                   5767: if ac_fn_c_try_cpp "$LINENO"; then :
                   5768:   # Broken: success on invalid input.
                   5769: continue
                   5770: else
                   5771:   # Passes both tests.
                   5772: ac_preproc_ok=:
                   5773: break
                   5774: fi
                   5775: rm -f conftest.err conftest.i conftest.$ac_ext
                   5776: 
                   5777: done
                   5778: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5779: rm -f conftest.i conftest.err conftest.$ac_ext
                   5780: if $ac_preproc_ok; then :
                   5781:   break
                   5782: fi
                   5783: 
                   5784:     done
                   5785:     ac_cv_prog_CPP=$CPP
                   5786: 
                   5787: fi
                   5788:   CPP=$ac_cv_prog_CPP
                   5789: else
                   5790:   ac_cv_prog_CPP=$CPP
                   5791: fi
                   5792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   5793: $as_echo "$CPP" >&6; }
                   5794: ac_preproc_ok=false
                   5795: for ac_c_preproc_warn_flag in '' yes
                   5796: do
                   5797:   # Use a header file that comes with gcc, so configuring glibc
                   5798:   # with a fresh cross-compiler works.
                   5799:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   5800:   # <limits.h> exists even on freestanding compilers.
                   5801:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   5802:   # not just through cpp. "Syntax error" is here to catch this case.
                   5803:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5804: /* end confdefs.h.  */
                   5805: #ifdef __STDC__
                   5806: # include <limits.h>
                   5807: #else
                   5808: # include <assert.h>
                   5809: #endif
                   5810:                     Syntax error
                   5811: _ACEOF
                   5812: if ac_fn_c_try_cpp "$LINENO"; then :
                   5813: 
                   5814: else
                   5815:   # Broken: fails on valid input.
                   5816: continue
                   5817: fi
                   5818: rm -f conftest.err conftest.i conftest.$ac_ext
                   5819: 
                   5820:   # OK, works on sane cases.  Now check whether nonexistent headers
                   5821:   # can be detected and how.
                   5822:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5823: /* end confdefs.h.  */
                   5824: #include <ac_nonexistent.h>
                   5825: _ACEOF
                   5826: if ac_fn_c_try_cpp "$LINENO"; then :
                   5827:   # Broken: success on invalid input.
                   5828: continue
                   5829: else
                   5830:   # Passes both tests.
                   5831: ac_preproc_ok=:
                   5832: break
                   5833: fi
                   5834: rm -f conftest.err conftest.i conftest.$ac_ext
                   5835: 
                   5836: done
                   5837: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   5838: rm -f conftest.i conftest.err conftest.$ac_ext
                   5839: if $ac_preproc_ok; then :
                   5840: 
                   5841: else
                   5842:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   5843: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   5844: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   5845: See \`config.log' for more details" "$LINENO" 5; }
                   5846: fi
                   5847: 
                   5848: ac_ext=c
                   5849: ac_cpp='$CPP $CPPFLAGS'
                   5850: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5851: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5852: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5853: 
                   5854: for ac_prog in 'bison -y' byacc
                   5855: do
                   5856:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5857: set dummy $ac_prog; ac_word=$2
                   5858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5859: $as_echo_n "checking for $ac_word... " >&6; }
                   5860: if ${ac_cv_prog_YACC+:} false; then :
                   5861:   $as_echo_n "(cached) " >&6
                   5862: else
                   5863:   if test -n "$YACC"; then
                   5864:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   5865: else
                   5866: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5867: for as_dir in $PATH
                   5868: do
                   5869:   IFS=$as_save_IFS
                   5870:   test -z "$as_dir" && as_dir=.
                   5871:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    5872:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5873:     ac_cv_prog_YACC="$ac_prog"
                   5874:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5875:     break 2
                   5876:   fi
                   5877: done
                   5878:   done
                   5879: IFS=$as_save_IFS
                   5880: 
                   5881: fi
                   5882: fi
                   5883: YACC=$ac_cv_prog_YACC
                   5884: if test -n "$YACC"; then
                   5885:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   5886: $as_echo "$YACC" >&6; }
                   5887: else
                   5888:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5889: $as_echo "no" >&6; }
                   5890: fi
                   5891: 
                   5892: 
                   5893:   test -n "$YACC" && break
                   5894: done
                   5895: test -n "$YACC" || YACC="yacc"
                   5896: 
                   5897: 
                   5898: # AC_PROG_CC_STDC has two functions.  It attempts to find a compiler
                   5899: # capable of C99, or failing that, for C89.  CC is set afterward with
                   5900: # the selected invocation, such as "gcc --std=gnu99".  Also, the
                   5901: # ac_cv_prog_cc_stdc variable is no if the compiler selected for CC
                   5902: # does not accept C89.
                   5903: 
                   5904:    case $ac_cv_prog_cc_stdc in #(
                   5905:   no) :
                   5906:     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
                   5907:   *) :
                   5908:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
                   5909: $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
                   5910: if ${ac_cv_prog_cc_c99+:} false; then :
                   5911:   $as_echo_n "(cached) " >&6
                   5912: else
                   5913:   ac_cv_prog_cc_c99=no
                   5914: ac_save_CC=$CC
                   5915: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5916: /* end confdefs.h.  */
                   5917: #include <stdarg.h>
                   5918: #include <stdbool.h>
                   5919: #include <stdlib.h>
                   5920: #include <wchar.h>
                   5921: #include <stdio.h>
                   5922: 
                   5923: // Check varargs macros.  These examples are taken from C99 6.10.3.5.
                   5924: #define debug(...) fprintf (stderr, __VA_ARGS__)
                   5925: #define showlist(...) puts (#__VA_ARGS__)
                   5926: #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
                   5927: static void
                   5928: test_varargs_macros (void)
                   5929: {
                   5930:   int x = 1234;
                   5931:   int y = 5678;
                   5932:   debug ("Flag");
                   5933:   debug ("X = %d\n", x);
                   5934:   showlist (The first, second, and third items.);
                   5935:   report (x>y, "x is %d but y is %d", x, y);
                   5936: }
                   5937: 
                   5938: // Check long long types.
                   5939: #define BIG64 18446744073709551615ull
                   5940: #define BIG32 4294967295ul
                   5941: #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
                   5942: #if !BIG_OK
                   5943:   your preprocessor is broken;
                   5944: #endif
                   5945: #if BIG_OK
                   5946: #else
                   5947:   your preprocessor is broken;
                   5948: #endif
                   5949: static long long int bignum = -9223372036854775807LL;
                   5950: static unsigned long long int ubignum = BIG64;
                   5951: 
                   5952: struct incomplete_array
                   5953: {
                   5954:   int datasize;
                   5955:   double data[];
                   5956: };
                   5957: 
                   5958: struct named_init {
                   5959:   int number;
                   5960:   const wchar_t *name;
                   5961:   double average;
                   5962: };
                   5963: 
                   5964: typedef const char *ccp;
                   5965: 
                   5966: static inline int
                   5967: test_restrict (ccp restrict text)
                   5968: {
                   5969:   // See if C++-style comments work.
                   5970:   // Iterate through items via the restricted pointer.
                   5971:   // Also check for declarations in for loops.
                   5972:   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
                   5973:     continue;
                   5974:   return 0;
                   5975: }
                   5976: 
                   5977: // Check varargs and va_copy.
                   5978: static void
                   5979: test_varargs (const char *format, ...)
                   5980: {
                   5981:   va_list args;
                   5982:   va_start (args, format);
                   5983:   va_list args_copy;
                   5984:   va_copy (args_copy, args);
                   5985: 
                   5986:   const char *str;
                   5987:   int number;
                   5988:   float fnumber;
                   5989: 
                   5990:   while (*format)
                   5991:     {
                   5992:       switch (*format++)
                   5993:        {
                   5994:        case 's': // string
                   5995:          str = va_arg (args_copy, const char *);
                   5996:          break;
                   5997:        case 'd': // int
                   5998:          number = va_arg (args_copy, int);
                   5999:          break;
                   6000:        case 'f': // float
                   6001:          fnumber = va_arg (args_copy, double);
                   6002:          break;
                   6003:        default:
                   6004:          break;
                   6005:        }
                   6006:     }
                   6007:   va_end (args_copy);
                   6008:   va_end (args);
                   6009: }
                   6010: 
                   6011: int
                   6012: main ()
                   6013: {
                   6014: 
                   6015:   // Check bool.
                   6016:   _Bool success = false;
                   6017: 
                   6018:   // Check restrict.
                   6019:   if (test_restrict ("String literal") == 0)
                   6020:     success = true;
                   6021:   char *restrict newvar = "Another string";
                   6022: 
                   6023:   // Check varargs.
                   6024:   test_varargs ("s, d' f .", "string", 65, 34.234);
                   6025:   test_varargs_macros ();
                   6026: 
                   6027:   // Check flexible array members.
                   6028:   struct incomplete_array *ia =
                   6029:     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
                   6030:   ia->datasize = 10;
                   6031:   for (int i = 0; i < ia->datasize; ++i)
                   6032:     ia->data[i] = i * 1.234;
                   6033: 
                   6034:   // Check named initializers.
                   6035:   struct named_init ni = {
                   6036:     .number = 34,
                   6037:     .name = L"Test wide string",
                   6038:     .average = 543.34343,
                   6039:   };
                   6040: 
                   6041:   ni.number = 58;
                   6042: 
                   6043:   int dynamic_array[ni.number];
                   6044:   dynamic_array[ni.number - 1] = 543;
                   6045: 
                   6046:   // work around unused variable warnings
                   6047:   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
                   6048:          || dynamic_array[ni.number - 1] != 543);
                   6049: 
                   6050:   ;
                   6051:   return 0;
                   6052: }
                   6053: _ACEOF
1.1.1.1.2.1! misho    6054: for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
1.1       misho    6055: do
                   6056:   CC="$ac_save_CC $ac_arg"
                   6057:   if ac_fn_c_try_compile "$LINENO"; then :
                   6058:   ac_cv_prog_cc_c99=$ac_arg
                   6059: fi
                   6060: rm -f core conftest.err conftest.$ac_objext
                   6061:   test "x$ac_cv_prog_cc_c99" != "xno" && break
                   6062: done
                   6063: rm -f conftest.$ac_ext
                   6064: CC=$ac_save_CC
                   6065: 
                   6066: fi
                   6067: # AC_CACHE_VAL
                   6068: case "x$ac_cv_prog_cc_c99" in
                   6069:   x)
                   6070:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   6071: $as_echo "none needed" >&6; } ;;
                   6072:   xno)
                   6073:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   6074: $as_echo "unsupported" >&6; } ;;
                   6075:   *)
                   6076:     CC="$CC $ac_cv_prog_cc_c99"
                   6077:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
                   6078: $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
                   6079: esac
                   6080: if test "x$ac_cv_prog_cc_c99" != xno; then :
                   6081:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
                   6082: else
                   6083:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   6084: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   6085: if ${ac_cv_prog_cc_c89+:} false; then :
                   6086:   $as_echo_n "(cached) " >&6
                   6087: else
                   6088:   ac_cv_prog_cc_c89=no
                   6089: ac_save_CC=$CC
                   6090: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6091: /* end confdefs.h.  */
                   6092: #include <stdarg.h>
                   6093: #include <stdio.h>
1.1.1.1.2.1! misho    6094: struct stat;
1.1       misho    6095: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   6096: struct buf { int x; };
                   6097: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   6098: static char *e (p, i)
                   6099:      char **p;
                   6100:      int i;
                   6101: {
                   6102:   return p[i];
                   6103: }
                   6104: static char *f (char * (*g) (char **, int), char **p, ...)
                   6105: {
                   6106:   char *s;
                   6107:   va_list v;
                   6108:   va_start (v,p);
                   6109:   s = g (p, va_arg (v,int));
                   6110:   va_end (v);
                   6111:   return s;
                   6112: }
                   6113: 
                   6114: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   6115:    function prototypes and stuff, but not '\xHH' hex character constants.
                   6116:    These don't provoke an error unfortunately, instead are silently treated
                   6117:    as 'x'.  The following induces an error, until -std is added to get
                   6118:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   6119:    array size at least.  It's necessary to write '\x00'==0 to get something
                   6120:    that's true only with -std.  */
                   6121: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   6122: 
                   6123: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   6124:    inside strings and character constants.  */
                   6125: #define FOO(x) 'x'
                   6126: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   6127: 
                   6128: int test (int i, double x);
                   6129: struct s1 {int (*f) (int a);};
                   6130: struct s2 {int (*f) (double a);};
                   6131: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   6132: int argc;
                   6133: char **argv;
                   6134: int
                   6135: main ()
                   6136: {
                   6137: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   6138:   ;
                   6139:   return 0;
                   6140: }
                   6141: _ACEOF
                   6142: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   6143:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   6144: do
                   6145:   CC="$ac_save_CC $ac_arg"
                   6146:   if ac_fn_c_try_compile "$LINENO"; then :
                   6147:   ac_cv_prog_cc_c89=$ac_arg
                   6148: fi
                   6149: rm -f core conftest.err conftest.$ac_objext
                   6150:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   6151: done
                   6152: rm -f conftest.$ac_ext
                   6153: CC=$ac_save_CC
                   6154: 
                   6155: fi
                   6156: # AC_CACHE_VAL
                   6157: case "x$ac_cv_prog_cc_c89" in
                   6158:   x)
                   6159:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   6160: $as_echo "none needed" >&6; } ;;
                   6161:   xno)
                   6162:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   6163: $as_echo "unsupported" >&6; } ;;
                   6164:   *)
                   6165:     CC="$CC $ac_cv_prog_cc_c89"
                   6166:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   6167: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   6168: esac
                   6169: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   6170:   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
                   6171: else
                   6172:   ac_cv_prog_cc_stdc=no
                   6173: fi
                   6174: 
                   6175: fi
                   6176:  ;;
                   6177: esac
                   6178:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
                   6179: $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
                   6180:   if ${ac_cv_prog_cc_stdc+:} false; then :
                   6181:   $as_echo_n "(cached) " >&6
                   6182: fi
                   6183: 
                   6184:   case $ac_cv_prog_cc_stdc in #(
                   6185:   no) :
                   6186:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   6187: $as_echo "unsupported" >&6; } ;; #(
                   6188:   '') :
                   6189:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   6190: $as_echo "none needed" >&6; } ;; #(
                   6191:   *) :
                   6192:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
                   6193: $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
                   6194: esac
                   6195: 
                   6196: 
                   6197: case "$ac_cv_prog_cc_stdc" in
                   6198:  no)
                   6199:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ANSI C89/ISO C90 is the minimum to compile NTP
                   6200:                version 4.2.5 and higher." >&5
                   6201: $as_echo "$as_me: WARNING: ANSI C89/ISO C90 is the minimum to compile NTP
                   6202:                version 4.2.5 and higher." >&2;}
                   6203: esac
                   6204: 
                   6205: # HMS: These need to be moved to AM_CPPFLAGS and/or AM_CFLAGS
                   6206: case "$host" in
                   6207:  *-pc-cygwin*)
                   6208:     CFLAGS="$CFLAGS -DSYS_CYGWIN32"
                   6209:     ;;
                   6210:  i386-sequent-sysv4)
                   6211:     case "$CC" in
                   6212:      cc)
                   6213:        CFLAGS="$CFLAGS -Wc,+abi-socket"
                   6214:        ;;
                   6215:     esac
                   6216:     ;;
                   6217:  *-*-mpeix*)
                   6218:     CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
                   6219:     LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
                   6220:     LIBS="$LIBS -lcurses"
                   6221:     ;;
                   6222:  *-*-solaris*)
                   6223:     # see "man standards".
                   6224:     # -D_XOPEN_SOURCE=500 is probably OK for c89 and before
                   6225:     # -D_XOPEN_SOURCE=600 seems OK for c99
                   6226:     #CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
                   6227:     CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
                   6228:     libxnet=-lxnet
                   6229:     ;;
                   6230: esac
                   6231: 
                   6232: 
                   6233:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional compiler flags" >&5
                   6234: $as_echo_n "checking additional compiler flags... " >&6; }
                   6235:     # allow ntp_os_flags to be preset to skip this stuff
                   6236:     case "${ntp_os_cflags+set}" in
                   6237:      set)
                   6238:        ;;
                   6239:      *)
                   6240:        ntp_os_cflags=""
                   6241:        case "$host_os" in
                   6242:         aix[1-3]*)
                   6243:            ;;
                   6244:         aix4.[0-2]*)
                   6245:            # turn on additional headers
                   6246:            ntp_os_cflags="-D_XOPEN_EXTENDED_SOURCE"
                   6247:            ;;
                   6248:         aix5.3*)
                   6249:            # avoid circular dependencies in yp headers, and more
                   6250:            ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
                   6251:            ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS -D_MSGQSUPPORT"
                   6252:            ;;
                   6253:         aix*)
                   6254:            # avoid circular dependencies in yp headers
                   6255:            ntp_os_cflags="-DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE"
                   6256:            ntp_os_cflags="${ntp_os_cflags} -D_USE_IRS"
                   6257:            ;;
                   6258:         amigaos)
                   6259:            ntp_os_cflags="-DSYS_AMIGA"
                   6260:            ;;
                   6261:         darwin*|macosx*|rhapsody*)
                   6262:            ntp_os_cflags="-D_P1003_1B_VISIBLE"
                   6263:            ;;
                   6264:         hpux10.*)              # at least for hppa2.0-hp-hpux10.20
                   6265:            case "$GCC" in
                   6266:             yes)
                   6267:                ;;
                   6268:             *)
                   6269:                # use Ansi compiler on HPUX, and some -Wp magic
                   6270:                ntp_os_cflags="-Ae -Wp,-H18816"
                   6271:                ;;
                   6272:            esac
                   6273:            ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE"
                   6274:            ;;
                   6275:         hpux*)
                   6276:            case "$GCC" in
                   6277:             yes)
                   6278:                ;;
                   6279:             *)
                   6280:                # use Ansi compiler on HPUX
                   6281:                ntp_os_cflags="-Ae"
                   6282:            esac
                   6283:            ntp_os_cflags="${ntp_os_cflags} -D_HPUX_SOURCE"
                   6284:            ;;
                   6285:         irix6*)
                   6286:            case "$CC" in
                   6287:             cc)
                   6288:                # do not use 64-bit compiler
                   6289:                ntp_os_cflags="-n32 -mips3 -Wl,-woff,84"
                   6290:            esac
                   6291:            ;;
                   6292:         nextstep3)
                   6293:            ntp_os_cflags="-posix"
                   6294:            ;;
                   6295:         solaris1*|solaris2.[0-5]|solaris2.5.*)
                   6296:            ;;
                   6297:         sunos[34]*|sunos5.[0-5]|sunos5.5.*)
                   6298:            ;;
                   6299:         solaris2*|sunos5*)
                   6300:            # turn on 64-bit file offset interface
                   6301:            ntp_os_cflags="-D_LARGEFILE64_SOURCE"
                   6302:            ;;
                   6303:         vxworks*)
                   6304:            case "$build" in
                   6305:             $host)
                   6306:                ;;
                   6307:             *)
                   6308:                # Quick and dirty sanity check
                   6309:                case "$VX_KERNEL" in
                   6310:                 '')
                   6311:                    as_fn_error $? "See html/build/hints/vxworks.html" "$LINENO" 5
                   6312:                esac
                   6313:                ntp_os_cflags="-DSYS_VXWORKS"
                   6314:            esac
                   6315:            ;;
                   6316:        esac
                   6317:     esac
                   6318:     case "$ntp_os_flags" in
                   6319:      '')
                   6320:        ntp_os_cflags_msg="none needed"
                   6321:        ;;
                   6322:      *)
                   6323:        ntp_os_cflags_msg="$ntp_os_cflags"
                   6324:        CFLAGS="$CFLAGS $ntp_os_cflags"
                   6325:     esac
                   6326:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_os_cflags_msg" >&5
                   6327: $as_echo "$ntp_os_cflags_msg" >&6; }
                   6328:     { ntp_os_cflags_msg=; unset ntp_os_cflags_msg;}
                   6329: 
                   6330: 
                   6331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory path separator" >&5
                   6332: $as_echo_n "checking for directory path separator... " >&6; }
                   6333: if ${ntp_cv_dir_sep+:} false; then :
                   6334:   $as_echo_n "(cached) " >&6
                   6335: else
                   6336: 
                   6337:        case "$ntp_cv_dir_sep" in
                   6338:         '')
                   6339:            case "$target_os" in
                   6340:             *djgpp | *mingw32* | *emx*)
                   6341:                ntp_cv_dir_sep="'\\'"
                   6342:                ;;
                   6343:             *)
                   6344:                ntp_cv_dir_sep="'/'"
                   6345:                ;;
                   6346:            esac
                   6347:        esac
                   6348: 
                   6349: 
                   6350: fi
                   6351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_dir_sep" >&5
                   6352: $as_echo "$ntp_cv_dir_sep" >&6; }
                   6353: 
                   6354: cat >>confdefs.h <<_ACEOF
                   6355: #define DIR_SEP $ntp_cv_dir_sep
                   6356: _ACEOF
                   6357: 
                   6358: 
                   6359: 
                   6360: { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if we need a VPATH hack" >&5
                   6361: $as_echo_n "checking to see if we need a VPATH hack... " >&6; }
                   6362: ntp_vpath_hack="no"
                   6363: case "$srcdir::$build_os::${force_ntp_vpath_hack+set}" in
                   6364:  .::*::*)
                   6365:     ;;
                   6366:  *::*::set)
                   6367:     ntp_vpath_hack="yes"
                   6368:     ;;
                   6369:  *::freebsd*::)
                   6370:     case "`${MAKE-make} -v -f /dev/null 2>/dev/null | grep 'GNU Make'`" in
                   6371:      '')
                   6372:        ntp_vpath_hack="yes"
                   6373:     esac
                   6374: esac
                   6375: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_vpath_hack" >&5
                   6376: $as_echo "$ntp_vpath_hack" >&6; }
                   6377:  if test x$ntp_vpath_hack = xyes; then
                   6378:   VPATH_HACK_TRUE=
                   6379:   VPATH_HACK_FALSE='#'
                   6380: else
                   6381:   VPATH_HACK_TRUE='#'
                   6382:   VPATH_HACK_FALSE=
                   6383: fi
                   6384: 
                   6385: 
                   6386: 
                   6387: # NTP has (so far) been relying on leading-edge autogen.
                   6388: # Therefore, by default:
                   6389: # - use the version we ship with
                   6390: # - do not install it
                   6391: # - build a static copy (AC_DISABLE_SHARED - done earlier)
                   6392: case "${enable_local_libopts+set}" in
                   6393:  set) ;;
                   6394:  *) enable_local_libopts=yes ;;
                   6395: esac
                   6396: case "${enable_libopts_install+set}" in
                   6397:  set) ;;
                   6398:  *) enable_libopts_install=no ;;
                   6399: esac
                   6400: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   6401: if test "x$ac_cv_type_pid_t" = xyes; then :
                   6402: 
                   6403: else
                   6404: 
                   6405: cat >>confdefs.h <<_ACEOF
                   6406: #define pid_t int
                   6407: _ACEOF
                   6408: 
                   6409: fi
                   6410: 
                   6411: 
                   6412: 
                   6413:   ac_header_dirent=no
                   6414: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
                   6415:   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
                   6416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
                   6417: $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
                   6418: if eval \${$as_ac_Header+:} false; then :
                   6419:   $as_echo_n "(cached) " >&6
                   6420: else
                   6421:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6422: /* end confdefs.h.  */
                   6423: #include <sys/types.h>
                   6424: #include <$ac_hdr>
                   6425: 
                   6426: int
                   6427: main ()
                   6428: {
                   6429: if ((DIR *) 0)
                   6430: return 0;
                   6431:   ;
                   6432:   return 0;
                   6433: }
                   6434: _ACEOF
                   6435: if ac_fn_c_try_compile "$LINENO"; then :
                   6436:   eval "$as_ac_Header=yes"
                   6437: else
                   6438:   eval "$as_ac_Header=no"
                   6439: fi
                   6440: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6441: fi
                   6442: eval ac_res=\$$as_ac_Header
                   6443:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   6444: $as_echo "$ac_res" >&6; }
                   6445: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6446:   cat >>confdefs.h <<_ACEOF
                   6447: #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
                   6448: _ACEOF
                   6449: 
                   6450: ac_header_dirent=$ac_hdr; break
                   6451: fi
                   6452: 
                   6453: done
                   6454: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   6455: if test $ac_header_dirent = dirent.h; then
                   6456:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   6457: $as_echo_n "checking for library containing opendir... " >&6; }
                   6458: if ${ac_cv_search_opendir+:} false; then :
                   6459:   $as_echo_n "(cached) " >&6
                   6460: else
                   6461:   ac_func_search_save_LIBS=$LIBS
                   6462: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6463: /* end confdefs.h.  */
                   6464: 
                   6465: /* Override any GCC internal prototype to avoid an error.
                   6466:    Use char because int might match the return type of a GCC
                   6467:    builtin and then its argument prototype would still apply.  */
                   6468: #ifdef __cplusplus
                   6469: extern "C"
                   6470: #endif
                   6471: char opendir ();
                   6472: int
                   6473: main ()
                   6474: {
                   6475: return opendir ();
                   6476:   ;
                   6477:   return 0;
                   6478: }
                   6479: _ACEOF
                   6480: for ac_lib in '' dir; do
                   6481:   if test -z "$ac_lib"; then
                   6482:     ac_res="none required"
                   6483:   else
                   6484:     ac_res=-l$ac_lib
                   6485:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6486:   fi
                   6487:   if ac_fn_c_try_link "$LINENO"; then :
                   6488:   ac_cv_search_opendir=$ac_res
                   6489: fi
                   6490: rm -f core conftest.err conftest.$ac_objext \
                   6491:     conftest$ac_exeext
                   6492:   if ${ac_cv_search_opendir+:} false; then :
                   6493:   break
                   6494: fi
                   6495: done
                   6496: if ${ac_cv_search_opendir+:} false; then :
                   6497: 
                   6498: else
                   6499:   ac_cv_search_opendir=no
                   6500: fi
                   6501: rm conftest.$ac_ext
                   6502: LIBS=$ac_func_search_save_LIBS
                   6503: fi
                   6504: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   6505: $as_echo "$ac_cv_search_opendir" >&6; }
                   6506: ac_res=$ac_cv_search_opendir
                   6507: if test "$ac_res" != no; then :
                   6508:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6509: 
                   6510: fi
                   6511: 
                   6512: else
                   6513:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
                   6514: $as_echo_n "checking for library containing opendir... " >&6; }
                   6515: if ${ac_cv_search_opendir+:} false; then :
                   6516:   $as_echo_n "(cached) " >&6
                   6517: else
                   6518:   ac_func_search_save_LIBS=$LIBS
                   6519: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6520: /* end confdefs.h.  */
                   6521: 
                   6522: /* Override any GCC internal prototype to avoid an error.
                   6523:    Use char because int might match the return type of a GCC
                   6524:    builtin and then its argument prototype would still apply.  */
                   6525: #ifdef __cplusplus
                   6526: extern "C"
                   6527: #endif
                   6528: char opendir ();
                   6529: int
                   6530: main ()
                   6531: {
                   6532: return opendir ();
                   6533:   ;
                   6534:   return 0;
                   6535: }
                   6536: _ACEOF
                   6537: for ac_lib in '' x; do
                   6538:   if test -z "$ac_lib"; then
                   6539:     ac_res="none required"
                   6540:   else
                   6541:     ac_res=-l$ac_lib
                   6542:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   6543:   fi
                   6544:   if ac_fn_c_try_link "$LINENO"; then :
                   6545:   ac_cv_search_opendir=$ac_res
                   6546: fi
                   6547: rm -f core conftest.err conftest.$ac_objext \
                   6548:     conftest$ac_exeext
                   6549:   if ${ac_cv_search_opendir+:} false; then :
                   6550:   break
                   6551: fi
                   6552: done
                   6553: if ${ac_cv_search_opendir+:} false; then :
                   6554: 
                   6555: else
                   6556:   ac_cv_search_opendir=no
                   6557: fi
                   6558: rm conftest.$ac_ext
                   6559: LIBS=$ac_func_search_save_LIBS
                   6560: fi
                   6561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
                   6562: $as_echo "$ac_cv_search_opendir" >&6; }
                   6563: ac_res=$ac_cv_search_opendir
                   6564: if test "$ac_res" != no; then :
                   6565:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   6566: 
                   6567: fi
                   6568: 
                   6569: fi
                   6570: 
                   6571: 
                   6572:   # =================
                   6573:   # AC_CHECK_HEADERS
                   6574:   # =================
                   6575:   for ac_header in  \
                   6576:       dlfcn.h      errno.h       fcntl.h       libgen.h     \
                   6577:       memory.h     netinet/in.h  setjmp.h      sys/mman.h   \
                   6578:       sys/param.h  sys/poll.h    sys/procset.h sys/select.h \
                   6579:       sys/socket.h sys/stropts.h sys/time.h    sys/un.h     \
                   6580:       sys/wait.h   unistd.h      utime.h       sysexits.h
                   6581: do :
                   6582:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6583: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   6584: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6585:   cat >>confdefs.h <<_ACEOF
                   6586: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6587: _ACEOF
                   6588: 
                   6589: fi
                   6590: 
                   6591: done
                   6592: 
                   6593: 
                   6594:   for ac_header in stdarg.h     varargs.h
                   6595: do :
                   6596:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6597: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   6598: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6599:   cat >>confdefs.h <<_ACEOF
                   6600: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6601: _ACEOF
                   6602:  lo_have_arg_hdr=true;break
                   6603: else
                   6604:   lo_have_arg_hdr=false
                   6605: fi
                   6606: 
                   6607: done
                   6608: 
                   6609: 
                   6610:   for ac_header in string.h     strings.h
                   6611: do :
                   6612:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6613: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   6614: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6615:   cat >>confdefs.h <<_ACEOF
                   6616: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6617: _ACEOF
                   6618:  lo_have_str_hdr=true;break
                   6619: else
                   6620:   lo_have_str_hdr=false
                   6621: fi
                   6622: 
                   6623: done
                   6624: 
                   6625: 
                   6626:   for ac_header in limits.h     sys/limits.h  values.h
                   6627: do :
                   6628:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6629: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   6630: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6631:   cat >>confdefs.h <<_ACEOF
                   6632: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6633: _ACEOF
                   6634:  lo_have_lim_hdr=true;break
                   6635: else
                   6636:   lo_have_lim_hdr=false
                   6637: fi
                   6638: 
                   6639: done
                   6640: 
                   6641: 
                   6642:   for ac_header in inttypes.h   stdint.h
                   6643: do :
                   6644:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6645: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   6646: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6647:   cat >>confdefs.h <<_ACEOF
                   6648: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6649: _ACEOF
                   6650:  lo_have_typ_hdr=true;break
                   6651: else
                   6652:   lo_have_typ_hdr=false
                   6653: fi
                   6654: 
                   6655: done
                   6656: 
                   6657: 
                   6658:   # ----------------------------------------------------------------------
                   6659:   # check for various programs used during the build.
                   6660:   # On OS/X, "wchar.h" needs "runetype.h" to work properly.
                   6661:   # ----------------------------------------------------------------------
                   6662:   for ac_header in runetype.h wchar.h
                   6663: do :
                   6664:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6665: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
                   6666:   $ac_includes_default
                   6667:   #if HAVE_RUNETYPE_H
                   6668:   # include <runetype.h>
                   6669:   #endif
                   6670: 
                   6671: "
                   6672: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   6673:   cat >>confdefs.h <<_ACEOF
                   6674: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6675: _ACEOF
                   6676: 
                   6677: fi
                   6678: 
                   6679: done
                   6680: 
                   6681: 
                   6682:   # --------------------------------------------
                   6683:   # Verify certain entries from AC_CHECK_HEADERS
                   6684:   # --------------------------------------------
                   6685:   for f in sys_types sys_mman sys_param sys_stat sys_wait \
                   6686:            string errno stdlib memory setjmp
                   6687:   do eval as_ac_var=\${ac_cv_header_${f}_h+set}
                   6688:      test "${as_ac_var}" = set || {
                   6689:        as_fn_error $? "You must have ${f}.h on your system" "$LINENO" 5
                   6690:      }
                   6691:   done
                   6692: 
                   6693:   ${lo_have_arg_hdr} || \
                   6694:     as_fn_error $? "You must have stdarg.h or varargs.h on your system" "$LINENO" 5
                   6695: 
                   6696:   ${lo_have_str_hdr} || \
                   6697:     as_fn_error $? "You must have string.h or strings.h on your system" "$LINENO" 5
                   6698: 
                   6699:   ${lo_have_lim_hdr} || \
                   6700:     as_fn_error $? "You must have one of limits.h, sys/limits.h or values.h" "$LINENO" 5
                   6701: 
                   6702:   ${lo_have_typ_hdr} || \
                   6703:     as_fn_error $? "You must have inttypes.h or stdint.h on your system" "$LINENO" 5
                   6704: 
                   6705:   # ----------------------------------------------------------------------
                   6706:   # Checks for typedefs
                   6707:   # ----------------------------------------------------------------------
                   6708:   ac_fn_c_check_type "$LINENO" "wchar_t" "ac_cv_type_wchar_t" "$ac_includes_default"
                   6709: if test "x$ac_cv_type_wchar_t" = xyes; then :
                   6710: 
                   6711: cat >>confdefs.h <<_ACEOF
                   6712: #define HAVE_WCHAR_T 1
                   6713: _ACEOF
                   6714: 
                   6715: 
                   6716: fi
                   6717: 
                   6718:   ac_fn_c_check_type "$LINENO" "wint_t" "ac_cv_type_wint_t" "
                   6719:   $ac_includes_default
                   6720:   #if HAVE_RUNETYPE_H
                   6721:   # include <runetype.h>
                   6722:   #endif
                   6723:   #if HAVE_WCHAR_H
                   6724:   # include <wchar.h>
                   6725:   #endif
                   6726: 
                   6727: "
                   6728: if test "x$ac_cv_type_wint_t" = xyes; then :
                   6729: 
                   6730: cat >>confdefs.h <<_ACEOF
                   6731: #define HAVE_WINT_T 1
                   6732: _ACEOF
                   6733: 
                   6734: 
                   6735: fi
                   6736: 
                   6737:   ac_fn_c_check_type "$LINENO" "int8_t" "ac_cv_type_int8_t" "$ac_includes_default"
                   6738: if test "x$ac_cv_type_int8_t" = xyes; then :
                   6739: 
                   6740: cat >>confdefs.h <<_ACEOF
                   6741: #define HAVE_INT8_T 1
                   6742: _ACEOF
                   6743: 
                   6744: 
                   6745: fi
                   6746: ac_fn_c_check_type "$LINENO" "uint8_t" "ac_cv_type_uint8_t" "$ac_includes_default"
                   6747: if test "x$ac_cv_type_uint8_t" = xyes; then :
                   6748: 
                   6749: cat >>confdefs.h <<_ACEOF
                   6750: #define HAVE_UINT8_T 1
                   6751: _ACEOF
                   6752: 
                   6753: 
                   6754: fi
                   6755: ac_fn_c_check_type "$LINENO" "int16_t" "ac_cv_type_int16_t" "$ac_includes_default"
                   6756: if test "x$ac_cv_type_int16_t" = xyes; then :
                   6757: 
                   6758: cat >>confdefs.h <<_ACEOF
                   6759: #define HAVE_INT16_T 1
                   6760: _ACEOF
                   6761: 
                   6762: 
                   6763: fi
                   6764: ac_fn_c_check_type "$LINENO" "uint16_t" "ac_cv_type_uint16_t" "$ac_includes_default"
                   6765: if test "x$ac_cv_type_uint16_t" = xyes; then :
                   6766: 
                   6767: cat >>confdefs.h <<_ACEOF
                   6768: #define HAVE_UINT16_T 1
                   6769: _ACEOF
                   6770: 
                   6771: 
                   6772: fi
                   6773: ac_fn_c_check_type "$LINENO" "int32_t" "ac_cv_type_int32_t" "$ac_includes_default"
                   6774: if test "x$ac_cv_type_int32_t" = xyes; then :
                   6775: 
                   6776: cat >>confdefs.h <<_ACEOF
                   6777: #define HAVE_INT32_T 1
                   6778: _ACEOF
                   6779: 
                   6780: 
                   6781: fi
                   6782: ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "$ac_includes_default"
                   6783: if test "x$ac_cv_type_uint32_t" = xyes; then :
                   6784: 
                   6785: cat >>confdefs.h <<_ACEOF
                   6786: #define HAVE_UINT32_T 1
                   6787: _ACEOF
                   6788: 
                   6789: 
                   6790: fi
                   6791: ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
                   6792: if test "x$ac_cv_type_intptr_t" = xyes; then :
                   6793: 
                   6794: cat >>confdefs.h <<_ACEOF
                   6795: #define HAVE_INTPTR_T 1
                   6796: _ACEOF
                   6797: 
                   6798: 
                   6799: fi
                   6800: ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
                   6801: if test "x$ac_cv_type_uintptr_t" = xyes; then :
                   6802: 
                   6803: cat >>confdefs.h <<_ACEOF
                   6804: #define HAVE_UINTPTR_T 1
                   6805: _ACEOF
                   6806: 
                   6807: 
                   6808: fi
                   6809: ac_fn_c_check_type "$LINENO" "uint_t" "ac_cv_type_uint_t" "$ac_includes_default"
                   6810: if test "x$ac_cv_type_uint_t" = xyes; then :
                   6811: 
                   6812: cat >>confdefs.h <<_ACEOF
                   6813: #define HAVE_UINT_T 1
                   6814: _ACEOF
                   6815: 
                   6816: 
                   6817: fi
                   6818: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   6819: if test "x$ac_cv_type_pid_t" = xyes; then :
                   6820: 
                   6821: cat >>confdefs.h <<_ACEOF
                   6822: #define HAVE_PID_T 1
                   6823: _ACEOF
                   6824: 
                   6825: 
                   6826: fi
                   6827: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   6828: if test "x$ac_cv_type_size_t" = xyes; then :
                   6829: 
                   6830: cat >>confdefs.h <<_ACEOF
                   6831: #define HAVE_SIZE_T 1
                   6832: _ACEOF
                   6833: 
                   6834: 
                   6835: fi
                   6836: 
                   6837: 
                   6838:   # =====
                   6839:   # sizes
                   6840:   # =====
                   6841:   # The cast to long int works around a bug in the HP C Compiler
                   6842: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   6843: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   6844: # This bug is HP SR number 8606223364.
                   6845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char*" >&5
                   6846: $as_echo_n "checking size of char*... " >&6; }
                   6847: if ${ac_cv_sizeof_charp+:} false; then :
                   6848:   $as_echo_n "(cached) " >&6
                   6849: else
                   6850:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char*))" "ac_cv_sizeof_charp"        "$ac_includes_default"; then :
                   6851: 
                   6852: else
                   6853:   if test "$ac_cv_type_charp" = yes; then
                   6854:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6855: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6856: as_fn_error 77 "cannot compute sizeof (char*)
                   6857: See \`config.log' for more details" "$LINENO" 5; }
                   6858:    else
                   6859:      ac_cv_sizeof_charp=0
                   6860:    fi
                   6861: fi
                   6862: 
                   6863: fi
                   6864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_charp" >&5
                   6865: $as_echo "$ac_cv_sizeof_charp" >&6; }
                   6866: 
                   6867: 
                   6868: 
                   6869: cat >>confdefs.h <<_ACEOF
                   6870: #define SIZEOF_CHARP $ac_cv_sizeof_charp
                   6871: _ACEOF
                   6872: 
                   6873: 
                   6874:   # The cast to long int works around a bug in the HP C Compiler
                   6875: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   6876: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   6877: # This bug is HP SR number 8606223364.
                   6878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
                   6879: $as_echo_n "checking size of int... " >&6; }
                   6880: if ${ac_cv_sizeof_int+:} false; then :
                   6881:   $as_echo_n "(cached) " >&6
                   6882: else
                   6883:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
                   6884: 
                   6885: else
                   6886:   if test "$ac_cv_type_int" = yes; then
                   6887:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6888: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6889: as_fn_error 77 "cannot compute sizeof (int)
                   6890: See \`config.log' for more details" "$LINENO" 5; }
                   6891:    else
                   6892:      ac_cv_sizeof_int=0
                   6893:    fi
                   6894: fi
                   6895: 
                   6896: fi
                   6897: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
                   6898: $as_echo "$ac_cv_sizeof_int" >&6; }
                   6899: 
                   6900: 
                   6901: 
                   6902: cat >>confdefs.h <<_ACEOF
                   6903: #define SIZEOF_INT $ac_cv_sizeof_int
                   6904: _ACEOF
                   6905: 
                   6906: 
                   6907:   # The cast to long int works around a bug in the HP C Compiler
                   6908: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   6909: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   6910: # This bug is HP SR number 8606223364.
                   6911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
                   6912: $as_echo_n "checking size of long... " >&6; }
                   6913: if ${ac_cv_sizeof_long+:} false; then :
                   6914:   $as_echo_n "(cached) " >&6
                   6915: else
                   6916:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
                   6917: 
                   6918: else
                   6919:   if test "$ac_cv_type_long" = yes; then
                   6920:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6921: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6922: as_fn_error 77 "cannot compute sizeof (long)
                   6923: See \`config.log' for more details" "$LINENO" 5; }
                   6924:    else
                   6925:      ac_cv_sizeof_long=0
                   6926:    fi
                   6927: fi
                   6928: 
                   6929: fi
                   6930: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
                   6931: $as_echo "$ac_cv_sizeof_long" >&6; }
                   6932: 
                   6933: 
                   6934: 
                   6935: cat >>confdefs.h <<_ACEOF
                   6936: #define SIZEOF_LONG $ac_cv_sizeof_long
                   6937: _ACEOF
                   6938: 
                   6939: 
                   6940:   # The cast to long int works around a bug in the HP C Compiler
                   6941: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   6942: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   6943: # This bug is HP SR number 8606223364.
                   6944: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
                   6945: $as_echo_n "checking size of short... " >&6; }
                   6946: if ${ac_cv_sizeof_short+:} false; then :
                   6947:   $as_echo_n "(cached) " >&6
                   6948: else
                   6949:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
                   6950: 
                   6951: else
                   6952:   if test "$ac_cv_type_short" = yes; then
                   6953:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   6954: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   6955: as_fn_error 77 "cannot compute sizeof (short)
                   6956: See \`config.log' for more details" "$LINENO" 5; }
                   6957:    else
                   6958:      ac_cv_sizeof_short=0
                   6959:    fi
                   6960: fi
                   6961: 
                   6962: fi
                   6963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
                   6964: $as_echo "$ac_cv_sizeof_short" >&6; }
                   6965: 
                   6966: 
                   6967: 
                   6968: cat >>confdefs.h <<_ACEOF
                   6969: #define SIZEOF_SHORT $ac_cv_sizeof_short
                   6970: _ACEOF
                   6971: 
                   6972: 
                   6973: 
                   6974:   # ----------------------------------------------------------------------
                   6975:   # AC_CHECK_LIB for SVR4 libgen, and use it if it defines pathfind.
                   6976:   # ----------------------------------------------------------------------
                   6977:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pathfind in -lgen" >&5
                   6978: $as_echo_n "checking for pathfind in -lgen... " >&6; }
                   6979: if ${ac_cv_lib_gen_pathfind+:} false; then :
                   6980:   $as_echo_n "(cached) " >&6
                   6981: else
                   6982:   ac_check_lib_save_LIBS=$LIBS
                   6983: LIBS="-lgen  $LIBS"
                   6984: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6985: /* end confdefs.h.  */
                   6986: 
                   6987: /* Override any GCC internal prototype to avoid an error.
                   6988:    Use char because int might match the return type of a GCC
                   6989:    builtin and then its argument prototype would still apply.  */
                   6990: #ifdef __cplusplus
                   6991: extern "C"
                   6992: #endif
                   6993: char pathfind ();
                   6994: int
                   6995: main ()
                   6996: {
                   6997: return pathfind ();
                   6998:   ;
                   6999:   return 0;
                   7000: }
                   7001: _ACEOF
                   7002: if ac_fn_c_try_link "$LINENO"; then :
                   7003:   ac_cv_lib_gen_pathfind=yes
                   7004: else
                   7005:   ac_cv_lib_gen_pathfind=no
                   7006: fi
                   7007: rm -f core conftest.err conftest.$ac_objext \
                   7008:     conftest$ac_exeext conftest.$ac_ext
                   7009: LIBS=$ac_check_lib_save_LIBS
                   7010: fi
                   7011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_pathfind" >&5
                   7012: $as_echo "$ac_cv_lib_gen_pathfind" >&6; }
                   7013: if test "x$ac_cv_lib_gen_pathfind" = xyes; then :
                   7014:   cat >>confdefs.h <<_ACEOF
                   7015: #define HAVE_LIBGEN 1
                   7016: _ACEOF
                   7017: 
                   7018:   LIBS="-lgen $LIBS"
                   7019: 
                   7020: fi
                   7021: 
                   7022:   for ac_func in vprintf
                   7023: do :
                   7024:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
                   7025: if test "x$ac_cv_func_vprintf" = xyes; then :
                   7026:   cat >>confdefs.h <<_ACEOF
                   7027: #define HAVE_VPRINTF 1
                   7028: _ACEOF
                   7029: 
                   7030: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
                   7031: if test "x$ac_cv_func__doprnt" = xyes; then :
                   7032: 
                   7033: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
                   7034: 
                   7035: fi
                   7036: 
                   7037: fi
                   7038: done
                   7039: 
                   7040: 
                   7041:   for ac_header in vfork.h
                   7042: do :
                   7043:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
                   7044: if test "x$ac_cv_header_vfork_h" = xyes; then :
                   7045:   cat >>confdefs.h <<_ACEOF
                   7046: #define HAVE_VFORK_H 1
                   7047: _ACEOF
                   7048: 
                   7049: fi
                   7050: 
                   7051: done
                   7052: 
                   7053: for ac_func in fork vfork
                   7054: do :
                   7055:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7056: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7057: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7058:   cat >>confdefs.h <<_ACEOF
                   7059: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   7060: _ACEOF
                   7061: 
                   7062: fi
                   7063: done
                   7064: 
                   7065: if test "x$ac_cv_func_fork" = xyes; then
                   7066:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
                   7067: $as_echo_n "checking for working fork... " >&6; }
                   7068: if ${ac_cv_func_fork_works+:} false; then :
                   7069:   $as_echo_n "(cached) " >&6
                   7070: else
                   7071:   if test "$cross_compiling" = yes; then :
                   7072:   ac_cv_func_fork_works=cross
                   7073: else
                   7074:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7075: /* end confdefs.h.  */
                   7076: $ac_includes_default
                   7077: int
                   7078: main ()
                   7079: {
                   7080: 
                   7081:          /* By Ruediger Kuhlmann. */
                   7082:          return fork () < 0;
                   7083: 
                   7084:   ;
                   7085:   return 0;
                   7086: }
                   7087: _ACEOF
                   7088: if ac_fn_c_try_run "$LINENO"; then :
                   7089:   ac_cv_func_fork_works=yes
                   7090: else
                   7091:   ac_cv_func_fork_works=no
                   7092: fi
                   7093: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7094:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7095: fi
                   7096: 
                   7097: fi
                   7098: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
                   7099: $as_echo "$ac_cv_func_fork_works" >&6; }
                   7100: 
                   7101: else
                   7102:   ac_cv_func_fork_works=$ac_cv_func_fork
                   7103: fi
                   7104: if test "x$ac_cv_func_fork_works" = xcross; then
                   7105:   case $host in
                   7106:     *-*-amigaos* | *-*-msdosdjgpp*)
                   7107:       # Override, as these systems have only a dummy fork() stub
                   7108:       ac_cv_func_fork_works=no
                   7109:       ;;
                   7110:     *)
                   7111:       ac_cv_func_fork_works=yes
                   7112:       ;;
                   7113:   esac
                   7114:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
                   7115: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
                   7116: fi
                   7117: ac_cv_func_vfork_works=$ac_cv_func_vfork
                   7118: if test "x$ac_cv_func_vfork" = xyes; then
                   7119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
                   7120: $as_echo_n "checking for working vfork... " >&6; }
                   7121: if ${ac_cv_func_vfork_works+:} false; then :
                   7122:   $as_echo_n "(cached) " >&6
                   7123: else
                   7124:   if test "$cross_compiling" = yes; then :
                   7125:   ac_cv_func_vfork_works=cross
                   7126: else
                   7127:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7128: /* end confdefs.h.  */
                   7129: /* Thanks to Paul Eggert for this test.  */
                   7130: $ac_includes_default
                   7131: #include <sys/wait.h>
                   7132: #ifdef HAVE_VFORK_H
                   7133: # include <vfork.h>
                   7134: #endif
                   7135: /* On some sparc systems, changes by the child to local and incoming
                   7136:    argument registers are propagated back to the parent.  The compiler
                   7137:    is told about this with #include <vfork.h>, but some compilers
                   7138:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
                   7139:    static variable whose address is put into a register that is
                   7140:    clobbered by the vfork.  */
                   7141: static void
                   7142: #ifdef __cplusplus
                   7143: sparc_address_test (int arg)
                   7144: # else
                   7145: sparc_address_test (arg) int arg;
                   7146: #endif
                   7147: {
                   7148:   static pid_t child;
                   7149:   if (!child) {
                   7150:     child = vfork ();
                   7151:     if (child < 0) {
                   7152:       perror ("vfork");
                   7153:       _exit(2);
                   7154:     }
                   7155:     if (!child) {
                   7156:       arg = getpid();
                   7157:       write(-1, "", 0);
                   7158:       _exit (arg);
                   7159:     }
                   7160:   }
                   7161: }
                   7162: 
                   7163: int
                   7164: main ()
                   7165: {
                   7166:   pid_t parent = getpid ();
                   7167:   pid_t child;
                   7168: 
                   7169:   sparc_address_test (0);
                   7170: 
                   7171:   child = vfork ();
                   7172: 
                   7173:   if (child == 0) {
                   7174:     /* Here is another test for sparc vfork register problems.  This
                   7175:        test uses lots of local variables, at least as many local
                   7176:        variables as main has allocated so far including compiler
                   7177:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
                   7178:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
                   7179:        reuse the register of parent for one of the local variables,
                   7180:        since it will think that parent can't possibly be used any more
                   7181:        in this routine.  Assigning to the local variable will thus
                   7182:        munge parent in the parent process.  */
                   7183:     pid_t
                   7184:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
                   7185:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
                   7186:     /* Convince the compiler that p..p7 are live; otherwise, it might
                   7187:        use the same hardware register for all 8 local variables.  */
                   7188:     if (p != p1 || p != p2 || p != p3 || p != p4
                   7189:        || p != p5 || p != p6 || p != p7)
                   7190:       _exit(1);
                   7191: 
                   7192:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
                   7193:        from child file descriptors.  If the child closes a descriptor
                   7194:        before it execs or exits, this munges the parent's descriptor
                   7195:        as well.  Test for this by closing stdout in the child.  */
                   7196:     _exit(close(fileno(stdout)) != 0);
                   7197:   } else {
                   7198:     int status;
                   7199:     struct stat st;
                   7200: 
                   7201:     while (wait(&status) != child)
                   7202:       ;
                   7203:     return (
                   7204:         /* Was there some problem with vforking?  */
                   7205:         child < 0
                   7206: 
                   7207:         /* Did the child fail?  (This shouldn't happen.)  */
                   7208:         || status
                   7209: 
                   7210:         /* Did the vfork/compiler bug occur?  */
                   7211:         || parent != getpid()
                   7212: 
                   7213:         /* Did the file descriptor bug occur?  */
                   7214:         || fstat(fileno(stdout), &st) != 0
                   7215:         );
                   7216:   }
                   7217: }
                   7218: _ACEOF
                   7219: if ac_fn_c_try_run "$LINENO"; then :
                   7220:   ac_cv_func_vfork_works=yes
                   7221: else
                   7222:   ac_cv_func_vfork_works=no
                   7223: fi
                   7224: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7225:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7226: fi
                   7227: 
                   7228: fi
                   7229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
                   7230: $as_echo "$ac_cv_func_vfork_works" >&6; }
                   7231: 
                   7232: fi;
                   7233: if test "x$ac_cv_func_fork_works" = xcross; then
                   7234:   ac_cv_func_vfork_works=$ac_cv_func_vfork
                   7235:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
                   7236: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
                   7237: fi
                   7238: 
                   7239: if test "x$ac_cv_func_vfork_works" = xyes; then
                   7240: 
                   7241: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
                   7242: 
                   7243: else
                   7244: 
                   7245: $as_echo "#define vfork fork" >>confdefs.h
                   7246: 
                   7247: fi
                   7248: if test "x$ac_cv_func_fork_works" = xyes; then
                   7249: 
                   7250: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
                   7251: 
                   7252: fi
                   7253: 
                   7254:   for ac_func in mmap canonicalize_file_name snprintf strdup strchr \
                   7255:                  strrchr strsignal
                   7256: do :
                   7257:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7258: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7259: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7260:   cat >>confdefs.h <<_ACEOF
                   7261: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   7262: _ACEOF
                   7263: 
                   7264: fi
                   7265: done
                   7266: 
                   7267:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   7268: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   7269: if ${ac_cv_path_SED+:} false; then :
                   7270:   $as_echo_n "(cached) " >&6
                   7271: else
                   7272:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   7273:      for ac_i in 1 2 3 4 5 6 7; do
                   7274:        ac_script="$ac_script$as_nl$ac_script"
                   7275:      done
                   7276:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   7277:      { ac_script=; unset ac_script;}
                   7278:      if test -z "$SED"; then
                   7279:   ac_path_SED_found=false
                   7280:   # Loop through the user's path and test for each of PROGNAME-LIST
                   7281:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7282: for as_dir in $PATH
                   7283: do
                   7284:   IFS=$as_save_IFS
                   7285:   test -z "$as_dir" && as_dir=.
                   7286:     for ac_prog in sed gsed; do
                   7287:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7288:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.1.2.1! misho    7289:       as_fn_executable_p "$ac_path_SED" || continue
1.1       misho    7290: # Check for GNU ac_path_SED and select it if it is found.
                   7291:   # Check for GNU $ac_path_SED
                   7292: case `"$ac_path_SED" --version 2>&1` in
                   7293: *GNU*)
                   7294:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   7295: *)
                   7296:   ac_count=0
                   7297:   $as_echo_n 0123456789 >"conftest.in"
                   7298:   while :
                   7299:   do
                   7300:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   7301:     mv "conftest.tmp" "conftest.in"
                   7302:     cp "conftest.in" "conftest.nl"
                   7303:     $as_echo '' >> "conftest.nl"
                   7304:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   7305:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   7306:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   7307:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   7308:       # Best one so far, save it but keep looking for a better one
                   7309:       ac_cv_path_SED="$ac_path_SED"
                   7310:       ac_path_SED_max=$ac_count
                   7311:     fi
                   7312:     # 10*(2^10) chars as input seems more than enough
                   7313:     test $ac_count -gt 10 && break
                   7314:   done
                   7315:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   7316: esac
                   7317: 
                   7318:       $ac_path_SED_found && break 3
                   7319:     done
                   7320:   done
                   7321:   done
                   7322: IFS=$as_save_IFS
                   7323:   if test -z "$ac_cv_path_SED"; then
                   7324:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   7325:   fi
                   7326: else
                   7327:   ac_cv_path_SED=$SED
                   7328: fi
                   7329: 
                   7330: fi
                   7331: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   7332: $as_echo "$ac_cv_path_SED" >&6; }
                   7333:  SED="$ac_cv_path_SED"
                   7334:   rm -f conftest.sed
                   7335: 
                   7336:   while :
                   7337:   do
                   7338:       POSIX_SHELL=`which bash`
                   7339:       test -x "$POSIX_SHELL" && break
                   7340:       POSIX_SHELL=`which dash`
                   7341:       test -x "$POSIX_SHELL" && break
                   7342:       POSIX_SHELL=/usr/xpg4/bin/sh
                   7343:       test -x "$POSIX_SHELL" && break
                   7344:       POSIX_SHELL=`/bin/sh -c '
                   7345:           exec 2>/dev/null
                   7346:           if ! true ; then exit 1 ; fi
                   7347:           echo /bin/sh'`
                   7348:       test -x "$POSIX_SHELL" && break
                   7349:       as_fn_error $? "Cannot locate a working POSIX shell" "$LINENO" 5
                   7350:   done
                   7351: 
                   7352: cat >>confdefs.h <<_ACEOF
                   7353: #define POSIX_SHELL "${POSIX_SHELL}"
                   7354: _ACEOF
                   7355: 
                   7356: 
                   7357: 
                   7358: 
                   7359: 
                   7360:   LIBOPTS_BUILD_BLOCKED=true
                   7361: 
                   7362: 
                   7363:   NEED_LIBOPTS_DIR=''
                   7364: 
                   7365:   # Check whether --enable-local-libopts was given.
                   7366: if test "${enable_local_libopts+set}" = set; then :
                   7367:   enableval=$enable_local_libopts;
                   7368:     if test x$enableval = xyes ; then
                   7369:        { $as_echo "$as_me:${as_lineno-$LINENO}: Using supplied libopts tearoff" >&5
                   7370: $as_echo "$as_me: Using supplied libopts tearoff" >&6;}
                   7371:        LIBOPTS_LDADD='$(top_builddir)/sntp/libopts/libopts.la'
                   7372:        LIBOPTS_CFLAGS='-I$(top_srcdir)/sntp/libopts'
                   7373:        NEED_LIBOPTS_DIR=true
                   7374:     fi
                   7375: fi
                   7376: 
                   7377: 
                   7378:   # Check whether --enable-libopts-install was given.
                   7379: if test "${enable_libopts_install+set}" = set; then :
                   7380:   enableval=$enable_libopts_install;
                   7381: fi
                   7382: 
                   7383:    if test "X${enable_libopts_install}" != Xno; then
                   7384:   INSTALL_LIBOPTS_TRUE=
                   7385:   INSTALL_LIBOPTS_FALSE='#'
                   7386: else
                   7387:   INSTALL_LIBOPTS_TRUE='#'
                   7388:   INSTALL_LIBOPTS_FALSE=
                   7389: fi
                   7390: 
                   7391: 
                   7392:   if test -z "${NEED_LIBOPTS_DIR}" ; then
                   7393:      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config can be found" >&5
                   7394: $as_echo_n "checking whether autoopts-config can be found... " >&6; }
                   7395: 
                   7396: # Check whether --with-autoopts-config was given.
                   7397: if test "${with_autoopts_config+set}" = set; then :
                   7398:   withval=$with_autoopts_config; lo_cv_with_autoopts_config=${with_autoopts_config}
                   7399: else
                   7400:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether autoopts-config is specified" >&5
                   7401: $as_echo_n "checking whether autoopts-config is specified... " >&6; }
                   7402: if ${lo_cv_with_autoopts_config+:} false; then :
                   7403:   $as_echo_n "(cached) " >&6
                   7404: else
                   7405:   if autoopts-config --help 2>/dev/null 1>&2
                   7406:         then lo_cv_with_autoopts_config=autoopts-config
                   7407:         elif libopts-config --help 2>/dev/null 1>&2
                   7408:         then lo_cv_with_autoopts_config=libopts-config
                   7409:         else lo_cv_with_autoopts_config=no ; fi
                   7410: fi
                   7411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lo_cv_with_autoopts_config" >&5
                   7412: $as_echo "$lo_cv_with_autoopts_config" >&6; }
                   7413: 
                   7414: fi
                   7415:  # end of AC_ARG_WITH
                   7416: 
                   7417:      if ${lo_cv_test_autoopts+:} false; then :
                   7418:   $as_echo_n "(cached) " >&6
                   7419: else
                   7420: 
                   7421:         if test -z "${lo_cv_with_autoopts_config}" \
                   7422:                 -o X"${lo_cv_with_autoopts_config}" = Xno
                   7423:         then
                   7424:            if autoopts-config --help 2>/dev/null 1>&2
                   7425:            then lo_cv_with_autoopts_config=autoopts-config
                   7426:            elif libopts-config --help 2>/dev/null 1>&2
                   7427:            then lo_cv_with_autoopts_config=libopts-config
                   7428:            else lo_cv_with_autoopts_config=false ; fi
                   7429:         fi
                   7430:         lo_cv_test_autoopts=`
                   7431:             ${lo_cv_with_autoopts_config} --libs` 2> /dev/null
                   7432:         if test $? -ne 0 -o -z "${lo_cv_test_autoopts}"
                   7433:         then lo_cv_test_autoopts=no ; fi
                   7434: 
                   7435: fi
                   7436:  # end of CACHE_VAL
                   7437:      { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lo_cv_test_autoopts}" >&5
                   7438: $as_echo "${lo_cv_test_autoopts}" >&6; }
                   7439: 
                   7440:      if test "X${lo_cv_test_autoopts}" != Xno
                   7441:      then
                   7442:         LIBOPTS_LDADD="${lo_cv_test_autoopts}"
                   7443:         LIBOPTS_CFLAGS="`${lo_cv_with_autoopts_config} --cflags`"
                   7444:      else
                   7445:         LIBOPTS_LDADD='$(top_builddir)/sntp/libopts/libopts.la'
                   7446:         LIBOPTS_CFLAGS='-I$(top_srcdir)/sntp/libopts'
                   7447:         NEED_LIBOPTS_DIR=true
                   7448:      fi
                   7449:   fi # end of if test -z "${NEED_LIBOPTS_DIR}"
                   7450:   if test -n "${LIBOPTS_BUILD_BLOCKED}" ; then
                   7451:     NEED_LIBOPTS_DIR=''
                   7452:   fi
                   7453:    if test -n "${NEED_LIBOPTS_DIR}"; then
                   7454:   NEED_LIBOPTS_TRUE=
                   7455:   NEED_LIBOPTS_FALSE='#'
                   7456: else
                   7457:   NEED_LIBOPTS_TRUE='#'
                   7458:   NEED_LIBOPTS_FALSE=
                   7459: fi
                   7460: 
                   7461: 
                   7462: 
                   7463:   LIBOPTS_DIR=sntp/libopts
                   7464: 
                   7465: 
                   7466: # end of AC_DEFUN of LIBOPTS_CHECK_COMMON
                   7467: 
                   7468:   # end of AC_DEFUN of LIBOPTS_CHECK_NOBUILD
                   7469: 
                   7470: 
                   7471: for ac_header in vfork.h
                   7472: do :
                   7473:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
                   7474: if test "x$ac_cv_header_vfork_h" = xyes; then :
                   7475:   cat >>confdefs.h <<_ACEOF
                   7476: #define HAVE_VFORK_H 1
                   7477: _ACEOF
                   7478: 
                   7479: fi
                   7480: 
                   7481: done
                   7482: 
                   7483: for ac_func in fork vfork
                   7484: do :
                   7485:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   7486: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   7487: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   7488:   cat >>confdefs.h <<_ACEOF
                   7489: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   7490: _ACEOF
                   7491: 
                   7492: fi
                   7493: done
                   7494: 
                   7495: if test "x$ac_cv_func_fork" = xyes; then
                   7496:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
                   7497: $as_echo_n "checking for working fork... " >&6; }
                   7498: if ${ac_cv_func_fork_works+:} false; then :
                   7499:   $as_echo_n "(cached) " >&6
                   7500: else
                   7501:   if test "$cross_compiling" = yes; then :
                   7502:   ac_cv_func_fork_works=cross
                   7503: else
                   7504:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7505: /* end confdefs.h.  */
                   7506: $ac_includes_default
                   7507: int
                   7508: main ()
                   7509: {
                   7510: 
                   7511:          /* By Ruediger Kuhlmann. */
                   7512:          return fork () < 0;
                   7513: 
                   7514:   ;
                   7515:   return 0;
                   7516: }
                   7517: _ACEOF
                   7518: if ac_fn_c_try_run "$LINENO"; then :
                   7519:   ac_cv_func_fork_works=yes
                   7520: else
                   7521:   ac_cv_func_fork_works=no
                   7522: fi
                   7523: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7524:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7525: fi
                   7526: 
                   7527: fi
                   7528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
                   7529: $as_echo "$ac_cv_func_fork_works" >&6; }
                   7530: 
                   7531: else
                   7532:   ac_cv_func_fork_works=$ac_cv_func_fork
                   7533: fi
                   7534: if test "x$ac_cv_func_fork_works" = xcross; then
                   7535:   case $host in
                   7536:     *-*-amigaos* | *-*-msdosdjgpp*)
                   7537:       # Override, as these systems have only a dummy fork() stub
                   7538:       ac_cv_func_fork_works=no
                   7539:       ;;
                   7540:     *)
                   7541:       ac_cv_func_fork_works=yes
                   7542:       ;;
                   7543:   esac
                   7544:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
                   7545: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
                   7546: fi
                   7547: ac_cv_func_vfork_works=$ac_cv_func_vfork
                   7548: if test "x$ac_cv_func_vfork" = xyes; then
                   7549:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
                   7550: $as_echo_n "checking for working vfork... " >&6; }
                   7551: if ${ac_cv_func_vfork_works+:} false; then :
                   7552:   $as_echo_n "(cached) " >&6
                   7553: else
                   7554:   if test "$cross_compiling" = yes; then :
                   7555:   ac_cv_func_vfork_works=cross
                   7556: else
                   7557:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7558: /* end confdefs.h.  */
                   7559: /* Thanks to Paul Eggert for this test.  */
                   7560: $ac_includes_default
                   7561: #include <sys/wait.h>
                   7562: #ifdef HAVE_VFORK_H
                   7563: # include <vfork.h>
                   7564: #endif
                   7565: /* On some sparc systems, changes by the child to local and incoming
                   7566:    argument registers are propagated back to the parent.  The compiler
                   7567:    is told about this with #include <vfork.h>, but some compilers
                   7568:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
                   7569:    static variable whose address is put into a register that is
                   7570:    clobbered by the vfork.  */
                   7571: static void
                   7572: #ifdef __cplusplus
                   7573: sparc_address_test (int arg)
                   7574: # else
                   7575: sparc_address_test (arg) int arg;
                   7576: #endif
                   7577: {
                   7578:   static pid_t child;
                   7579:   if (!child) {
                   7580:     child = vfork ();
                   7581:     if (child < 0) {
                   7582:       perror ("vfork");
                   7583:       _exit(2);
                   7584:     }
                   7585:     if (!child) {
                   7586:       arg = getpid();
                   7587:       write(-1, "", 0);
                   7588:       _exit (arg);
                   7589:     }
                   7590:   }
                   7591: }
                   7592: 
                   7593: int
                   7594: main ()
                   7595: {
                   7596:   pid_t parent = getpid ();
                   7597:   pid_t child;
                   7598: 
                   7599:   sparc_address_test (0);
                   7600: 
                   7601:   child = vfork ();
                   7602: 
                   7603:   if (child == 0) {
                   7604:     /* Here is another test for sparc vfork register problems.  This
                   7605:        test uses lots of local variables, at least as many local
                   7606:        variables as main has allocated so far including compiler
                   7607:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
                   7608:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
                   7609:        reuse the register of parent for one of the local variables,
                   7610:        since it will think that parent can't possibly be used any more
                   7611:        in this routine.  Assigning to the local variable will thus
                   7612:        munge parent in the parent process.  */
                   7613:     pid_t
                   7614:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
                   7615:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
                   7616:     /* Convince the compiler that p..p7 are live; otherwise, it might
                   7617:        use the same hardware register for all 8 local variables.  */
                   7618:     if (p != p1 || p != p2 || p != p3 || p != p4
                   7619:        || p != p5 || p != p6 || p != p7)
                   7620:       _exit(1);
                   7621: 
                   7622:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
                   7623:        from child file descriptors.  If the child closes a descriptor
                   7624:        before it execs or exits, this munges the parent's descriptor
                   7625:        as well.  Test for this by closing stdout in the child.  */
                   7626:     _exit(close(fileno(stdout)) != 0);
                   7627:   } else {
                   7628:     int status;
                   7629:     struct stat st;
                   7630: 
                   7631:     while (wait(&status) != child)
                   7632:       ;
                   7633:     return (
                   7634:         /* Was there some problem with vforking?  */
                   7635:         child < 0
                   7636: 
                   7637:         /* Did the child fail?  (This shouldn't happen.)  */
                   7638:         || status
                   7639: 
                   7640:         /* Did the vfork/compiler bug occur?  */
                   7641:         || parent != getpid()
                   7642: 
                   7643:         /* Did the file descriptor bug occur?  */
                   7644:         || fstat(fileno(stdout), &st) != 0
                   7645:         );
                   7646:   }
                   7647: }
                   7648: _ACEOF
                   7649: if ac_fn_c_try_run "$LINENO"; then :
                   7650:   ac_cv_func_vfork_works=yes
                   7651: else
                   7652:   ac_cv_func_vfork_works=no
                   7653: fi
                   7654: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7655:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7656: fi
                   7657: 
                   7658: fi
                   7659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
                   7660: $as_echo "$ac_cv_func_vfork_works" >&6; }
                   7661: 
                   7662: fi;
                   7663: if test "x$ac_cv_func_fork_works" = xcross; then
                   7664:   ac_cv_func_vfork_works=$ac_cv_func_vfork
                   7665:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
                   7666: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
                   7667: fi
                   7668: 
                   7669: if test "x$ac_cv_func_vfork_works" = xyes; then
                   7670: 
                   7671: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
                   7672: 
                   7673: else
                   7674: 
                   7675: $as_echo "#define vfork fork" >>confdefs.h
                   7676: 
                   7677: fi
                   7678: if test "x$ac_cv_func_fork_works" = xyes; then
                   7679: 
                   7680: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
                   7681: 
                   7682: fi
                   7683: 
                   7684: 
                   7685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC can handle #warning" >&5
                   7686: $as_echo_n "checking if $CC can handle #warning... " >&6; }
                   7687: if ${ntp_cv_cpp_warning+:} false; then :
                   7688:   $as_echo_n "(cached) " >&6
                   7689: else
                   7690:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7691: /* end confdefs.h.  */
                   7692: 
                   7693: int
                   7694: main ()
                   7695: {
                   7696: #warning foo
                   7697:   ;
                   7698:   return 0;
                   7699: }
                   7700: _ACEOF
                   7701: if ac_fn_c_try_compile "$LINENO"; then :
                   7702:   ntp_cv_cpp_warning=yes
                   7703: else
                   7704:   ntp_cv_cpp_warning=no
                   7705: 
                   7706: fi
                   7707: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7708: 
                   7709: fi
                   7710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_cpp_warning" >&5
                   7711: $as_echo "$ntp_cv_cpp_warning" >&6; }
                   7712: case "$ntp_cv_cpp_warning" in
                   7713:  no)
                   7714: 
                   7715: $as_echo "#define NO_OPTION_NAME_WARNINGS 1" >>confdefs.h
                   7716: 
                   7717: esac
                   7718: 
                   7719: case "$GCC" in
                   7720:  yes)
                   7721:     SAVED_CFLAGS_NTP="$CFLAGS"
                   7722:     CFLAGS="$CFLAGS -Wstrict-overflow"
                   7723:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Wstrict-overflow" >&5
                   7724: $as_echo_n "checking if $CC can handle -Wstrict-overflow... " >&6; }
                   7725: if ${ntp_cv_gcc_Wstrict_overflow+:} false; then :
                   7726:   $as_echo_n "(cached) " >&6
                   7727: else
                   7728:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7729: /* end confdefs.h.  */
                   7730: 
                   7731: int
                   7732: main ()
                   7733: {
                   7734: 
                   7735:   ;
                   7736:   return 0;
                   7737: }
                   7738: _ACEOF
                   7739: if ac_fn_c_try_compile "$LINENO"; then :
                   7740:   ntp_cv_gcc_Wstrict_overflow=yes
                   7741: else
                   7742:   ntp_cv_gcc_Wstrict_overflow=no
                   7743: 
                   7744: fi
                   7745: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7746: 
                   7747: fi
                   7748: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Wstrict_overflow" >&5
                   7749: $as_echo "$ntp_cv_gcc_Wstrict_overflow" >&6; }
                   7750:     #
                   7751:     # $ntp_cv_gcc_Wstrict_overflow is tested later to add the
                   7752:     # flag to CFLAGS.
                   7753:     #
                   7754:     CFLAGS="$SAVED_CFLAGS_NTP -Winit-self"
                   7755:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC can handle -Winit-self" >&5
                   7756: $as_echo_n "checking if $CC can handle -Winit-self... " >&6; }
                   7757: if ${ntp_cv_gcc_Winit_self+:} false; then :
                   7758:   $as_echo_n "(cached) " >&6
                   7759: else
                   7760: 
                   7761:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7762: /* end confdefs.h.  */
                   7763: 
                   7764: int
                   7765: main ()
                   7766: {
                   7767: 
                   7768:   ;
                   7769:   return 0;
                   7770: }
                   7771: _ACEOF
                   7772: if ac_fn_c_try_compile "$LINENO"; then :
                   7773:   ntp_cv_gcc_Winit_self=yes
                   7774: else
                   7775:   ntp_cv_gcc_Winit_self=no
                   7776: 
                   7777: fi
                   7778: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7779: 
                   7780: 
                   7781: fi
                   7782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_gcc_Winit_self" >&5
                   7783: $as_echo "$ntp_cv_gcc_Winit_self" >&6; }
                   7784:     CFLAGS="$SAVED_CFLAGS_NTP"
                   7785:     { SAVED_CFLAGS_NTP=; unset SAVED_CFLAGS_NTP;}
                   7786:     #
                   7787:     # $ntp_cv_gcc_Winit_self is tested later to add the
                   7788:     # flag to CFLAGS.
                   7789:     #
                   7790: esac
                   7791: 
                   7792: # Expose a cross-compilation indicator to makefiles
                   7793:  if test $build != $host; then
                   7794:   NTP_CROSSCOMPILE_TRUE=
                   7795:   NTP_CROSSCOMPILE_FALSE='#'
                   7796: else
                   7797:   NTP_CROSSCOMPILE_TRUE='#'
                   7798:   NTP_CROSSCOMPILE_FALSE=
                   7799: fi
                   7800: 
                   7801: 
                   7802: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bin subdirectory" >&5
                   7803: $as_echo_n "checking for bin subdirectory... " >&6; }
                   7804: 
                   7805: # Check whether --with-binsubdir was given.
                   7806: if test "${with_binsubdir+set}" = set; then :
                   7807:   withval=$with_binsubdir; use_binsubdir="$withval"
                   7808: else
                   7809:   use_binsubdir="bin"
                   7810: 
                   7811: fi
                   7812: 
                   7813: case "$use_binsubdir" in
                   7814:  bin)
                   7815:     ;;
                   7816:  sbin)
                   7817:     ;;
                   7818:  *)
                   7819:     as_fn_error $? "<$use_binsubdir> is illegal - must be \"bin\" or \"sbin\"" "$LINENO" 5
                   7820:     ;;
                   7821: esac
                   7822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_binsubdir" >&5
                   7823: $as_echo "$use_binsubdir" >&6; }
                   7824: 
                   7825: BINSUBDIR=$use_binsubdir
                   7826: 
                   7827:  if test "bin" = "$BINSUBDIR"; then
                   7828:   NTP_BINSUBDIR_IS_BIN_TRUE=
                   7829:   NTP_BINSUBDIR_IS_BIN_FALSE='#'
                   7830: else
                   7831:   NTP_BINSUBDIR_IS_BIN_TRUE='#'
                   7832:   NTP_BINSUBDIR_IS_BIN_FALSE=
                   7833: fi
                   7834: 
                   7835: 
                   7836: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deprecated --with-arlib" >&5
                   7837: $as_echo_n "checking for deprecated --with-arlib... " >&6; }
                   7838: 
                   7839: # Check whether --with-arlib was given.
                   7840: if test "${with_arlib+set}" = set; then :
                   7841:   withval=$with_arlib; ans=$withval
                   7842: else
                   7843:   ans=no
                   7844: fi
                   7845: 
                   7846: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   7847: $as_echo "$ans" >&6; }
                   7848: 
                   7849: case "$ans" in
                   7850:  yes)
                   7851:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please do not use --with-arlib, arlib is no longer included.  In the future, --with-arlib will not be recognized." >&5
                   7852: $as_echo "$as_me: WARNING: Please do not use --with-arlib, arlib is no longer included.  In the future, --with-arlib will not be recognized." >&2;}
                   7853: esac
                   7854: 
                   7855: 
                   7856: # Check whether --with-rpath was given.
                   7857: if test "${with_rpath+set}" = set; then :
                   7858:   withval=$with_rpath; ans=$withval
                   7859: else
                   7860:   ans=x
                   7861: fi
                   7862: 
                   7863: case "$ans" in
                   7864:  no)
                   7865:     need_dash_r=
                   7866:     ;;
                   7867:  yes)
                   7868:     need_dash_r=1
                   7869:     ;;
                   7870: esac
                   7871: # HMS: Why isn't this $build?
                   7872: # Well, that depends on if we need this for the build toolchain or
                   7873: # for info in the host executable...
                   7874: # I still have no idea which way this should go, but nobody has complained.
                   7875: case "$host" in
                   7876:  *-*-netbsd*)
                   7877:     case "$need_dash_r" in
                   7878:      no) ;;
                   7879:      *)  need_dash_r=1
                   7880:         ;;
                   7881:     esac
                   7882:     ;;
                   7883:  *-*-solaris*)
                   7884:     case "$need_dash_r" in
                   7885:      no) ;;
                   7886:      *)  need_dash_r=1
                   7887:         ;;
                   7888:     esac
                   7889:     ;;
                   7890: esac
                   7891: 
                   7892: for ac_prog in gawk mawk nawk awk
                   7893: do
                   7894:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   7895: set dummy $ac_prog; ac_word=$2
                   7896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7897: $as_echo_n "checking for $ac_word... " >&6; }
                   7898: if ${ac_cv_prog_AWK+:} false; then :
                   7899:   $as_echo_n "(cached) " >&6
                   7900: else
                   7901:   if test -n "$AWK"; then
                   7902:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   7903: else
                   7904: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7905: for as_dir in $PATH
                   7906: do
                   7907:   IFS=$as_save_IFS
                   7908:   test -z "$as_dir" && as_dir=.
                   7909:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    7910:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7911:     ac_cv_prog_AWK="$ac_prog"
                   7912:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7913:     break 2
                   7914:   fi
                   7915: done
                   7916:   done
                   7917: IFS=$as_save_IFS
                   7918: 
                   7919: fi
                   7920: fi
                   7921: AWK=$ac_cv_prog_AWK
                   7922: if test -n "$AWK"; then
                   7923:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   7924: $as_echo "$AWK" >&6; }
                   7925: else
                   7926:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7927: $as_echo "no" >&6; }
                   7928: fi
                   7929: 
                   7930: 
                   7931:   test -n "$AWK" && break
                   7932: done
                   7933: 
                   7934: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   7935: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   7936: set x ${MAKE-make}
                   7937: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   7938: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   7939:   $as_echo_n "(cached) " >&6
                   7940: else
                   7941:   cat >conftest.make <<\_ACEOF
                   7942: SHELL = /bin/sh
                   7943: all:
                   7944:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   7945: _ACEOF
                   7946: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   7947: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   7948:   *@@@%%%=?*=@@@%%%*)
                   7949:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   7950:   *)
                   7951:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   7952: esac
                   7953: rm -f conftest.make
                   7954: fi
                   7955: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   7956:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   7957: $as_echo "yes" >&6; }
                   7958:   SET_MAKE=
                   7959: else
                   7960:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7961: $as_echo "no" >&6; }
                   7962:   SET_MAKE="MAKE=${MAKE-make}"
                   7963: fi
                   7964: 
                   7965: 
                   7966: rm -f conftest*
                   7967: 
                   7968: case "$GCC" in
                   7969:  yes)
                   7970:     CFLAGS="$CFLAGS -Wall"
                   7971:     # CFLAGS="$CFLAGS -Wcast-align"
                   7972:     CFLAGS="$CFLAGS -Wcast-qual"
                   7973:     # CFLAGS="$CFLAGS -Wconversion"
                   7974:     # CFLAGS="$CFLAGS -Werror"
                   7975:     # CFLAGS="$CFLAGS -Wextra"
                   7976:     # CFLAGS="$CFLAGS -Wfloat-equal"
                   7977:     CFLAGS="$CFLAGS -Wmissing-prototypes"
                   7978:     CFLAGS="$CFLAGS -Wpointer-arith"
                   7979:     CFLAGS="$CFLAGS -Wshadow"
                   7980:     # CFLAGS="$CFLAGS -Wtraditional"
                   7981:     # CFLAGS="$CFLAGS -Wwrite-strings"
                   7982:     case "$ntp_cv_gcc_Winit_self" in
                   7983:      yes)
                   7984:        CFLAGS="$CFLAGS -Winit-self"
                   7985:     esac
                   7986:     case "$ntp_cv_gcc_Wstrict_overflow" in
                   7987:      yes)
                   7988:        CFLAGS="$CFLAGS -Wstrict-overflow"
                   7989:     esac
                   7990:     # -W[no-]strict-prototypes is added later depending on OpenSSL
                   7991: esac
                   7992: 
                   7993: ac_busted_vpath_in_make=no
                   7994: 
                   7995: case "$build" in
                   7996:  *-*-irix6.1*) # 64 bit only
                   7997:     # busted vpath?
                   7998:     ;;
                   7999:  *-*-irix6*)   # 6.2 (and later?)
                   8000:     ac_busted_vpath_in_make=yes
                   8001:     ;;
                   8002:  *-*-solaris2.5.1)
                   8003:     ac_busted_vpath_in_make=yes
                   8004:     ;;
                   8005:  *-*-unicosmp*)
                   8006:     ac_busted_vpath_in_make=yes
                   8007:     ;;
                   8008: esac
                   8009: 
                   8010: case "$ac_busted_vpath_in_make$srcdir" in
                   8011:  no*) ;;
                   8012:  yes.) ;;
                   8013:  *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in
                   8014:      '')
                   8015:        as_fn_error $? "building outside of the main directory requires GNU make" "$LINENO" 5
                   8016:        ;;
                   8017:      *) ;;
                   8018:     esac
                   8019:     ;;
                   8020: esac
                   8021: 
                   8022: 
                   8023: 
                   8024: 
                   8025: case `pwd` in
                   8026:   *\ * | *\    *)
                   8027:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   8028: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   8029: esac
                   8030: 
                   8031: 
                   8032: 
                   8033: macro_version='2.4'
                   8034: macro_revision='1.3293'
                   8035: 
                   8036: 
                   8037: 
                   8038: 
                   8039: 
                   8040: 
                   8041: 
                   8042: 
                   8043: 
                   8044: 
                   8045: 
                   8046: 
                   8047: 
                   8048: ltmain="$ac_aux_dir/ltmain.sh"
                   8049: 
                   8050: # Backslashify metacharacters that are still active within
                   8051: # double-quoted strings.
                   8052: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   8053: 
                   8054: # Same as above, but do not quote variable references.
                   8055: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   8056: 
                   8057: # Sed substitution to delay expansion of an escaped shell variable in a
                   8058: # double_quote_subst'ed string.
                   8059: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   8060: 
                   8061: # Sed substitution to delay expansion of an escaped single quote.
                   8062: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   8063: 
                   8064: # Sed substitution to avoid accidental globbing in evaled expressions
                   8065: no_glob_subst='s/\*/\\\*/g'
                   8066: 
                   8067: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   8068: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   8069: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   8070: 
                   8071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   8072: $as_echo_n "checking how to print strings... " >&6; }
                   8073: # Test print first, because it will be a builtin if present.
                   8074: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   8075:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   8076:   ECHO='print -r --'
                   8077: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   8078:   ECHO='printf %s\n'
                   8079: else
                   8080:   # Use this function as a fallback that always works.
                   8081:   func_fallback_echo ()
                   8082:   {
                   8083:     eval 'cat <<_LTECHO_EOF
                   8084: $1
                   8085: _LTECHO_EOF'
                   8086:   }
                   8087:   ECHO='func_fallback_echo'
                   8088: fi
                   8089: 
                   8090: # func_echo_all arg...
                   8091: # Invoke $ECHO with all args, space-separated.
                   8092: func_echo_all ()
                   8093: {
                   8094:     $ECHO ""
                   8095: }
                   8096: 
                   8097: case "$ECHO" in
                   8098:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   8099: $as_echo "printf" >&6; } ;;
                   8100:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   8101: $as_echo "print -r" >&6; } ;;
                   8102:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   8103: $as_echo "cat" >&6; } ;;
                   8104: esac
                   8105: 
                   8106: 
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: 
                   8112: 
                   8113: 
                   8114: 
                   8115: 
                   8116: 
                   8117: 
                   8118: 
                   8119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   8120: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   8121: if ${ac_cv_path_SED+:} false; then :
                   8122:   $as_echo_n "(cached) " >&6
                   8123: else
                   8124:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   8125:      for ac_i in 1 2 3 4 5 6 7; do
                   8126:        ac_script="$ac_script$as_nl$ac_script"
                   8127:      done
                   8128:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   8129:      { ac_script=; unset ac_script;}
                   8130:      if test -z "$SED"; then
                   8131:   ac_path_SED_found=false
                   8132:   # Loop through the user's path and test for each of PROGNAME-LIST
                   8133:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8134: for as_dir in $PATH
                   8135: do
                   8136:   IFS=$as_save_IFS
                   8137:   test -z "$as_dir" && as_dir=.
                   8138:     for ac_prog in sed gsed; do
                   8139:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8140:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.1.2.1! misho    8141:       as_fn_executable_p "$ac_path_SED" || continue
1.1       misho    8142: # Check for GNU ac_path_SED and select it if it is found.
                   8143:   # Check for GNU $ac_path_SED
                   8144: case `"$ac_path_SED" --version 2>&1` in
                   8145: *GNU*)
                   8146:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   8147: *)
                   8148:   ac_count=0
                   8149:   $as_echo_n 0123456789 >"conftest.in"
                   8150:   while :
                   8151:   do
                   8152:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   8153:     mv "conftest.tmp" "conftest.in"
                   8154:     cp "conftest.in" "conftest.nl"
                   8155:     $as_echo '' >> "conftest.nl"
                   8156:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   8157:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   8158:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   8159:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   8160:       # Best one so far, save it but keep looking for a better one
                   8161:       ac_cv_path_SED="$ac_path_SED"
                   8162:       ac_path_SED_max=$ac_count
                   8163:     fi
                   8164:     # 10*(2^10) chars as input seems more than enough
                   8165:     test $ac_count -gt 10 && break
                   8166:   done
                   8167:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   8168: esac
                   8169: 
                   8170:       $ac_path_SED_found && break 3
                   8171:     done
                   8172:   done
                   8173:   done
                   8174: IFS=$as_save_IFS
                   8175:   if test -z "$ac_cv_path_SED"; then
                   8176:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   8177:   fi
                   8178: else
                   8179:   ac_cv_path_SED=$SED
                   8180: fi
                   8181: 
                   8182: fi
                   8183: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   8184: $as_echo "$ac_cv_path_SED" >&6; }
                   8185:  SED="$ac_cv_path_SED"
                   8186:   rm -f conftest.sed
                   8187: 
                   8188: test -z "$SED" && SED=sed
                   8189: Xsed="$SED -e 1s/^X//"
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: 
                   8200: 
                   8201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   8202: $as_echo_n "checking for fgrep... " >&6; }
                   8203: if ${ac_cv_path_FGREP+:} false; then :
                   8204:   $as_echo_n "(cached) " >&6
                   8205: else
                   8206:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   8207:    then ac_cv_path_FGREP="$GREP -F"
                   8208:    else
                   8209:      if test -z "$FGREP"; then
                   8210:   ac_path_FGREP_found=false
                   8211:   # Loop through the user's path and test for each of PROGNAME-LIST
                   8212:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8213: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   8214: do
                   8215:   IFS=$as_save_IFS
                   8216:   test -z "$as_dir" && as_dir=.
                   8217:     for ac_prog in fgrep; do
                   8218:     for ac_exec_ext in '' $ac_executable_extensions; do
                   8219:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.1.2.1! misho    8220:       as_fn_executable_p "$ac_path_FGREP" || continue
1.1       misho    8221: # Check for GNU ac_path_FGREP and select it if it is found.
                   8222:   # Check for GNU $ac_path_FGREP
                   8223: case `"$ac_path_FGREP" --version 2>&1` in
                   8224: *GNU*)
                   8225:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   8226: *)
                   8227:   ac_count=0
                   8228:   $as_echo_n 0123456789 >"conftest.in"
                   8229:   while :
                   8230:   do
                   8231:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   8232:     mv "conftest.tmp" "conftest.in"
                   8233:     cp "conftest.in" "conftest.nl"
                   8234:     $as_echo 'FGREP' >> "conftest.nl"
                   8235:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   8236:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   8237:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   8238:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   8239:       # Best one so far, save it but keep looking for a better one
                   8240:       ac_cv_path_FGREP="$ac_path_FGREP"
                   8241:       ac_path_FGREP_max=$ac_count
                   8242:     fi
                   8243:     # 10*(2^10) chars as input seems more than enough
                   8244:     test $ac_count -gt 10 && break
                   8245:   done
                   8246:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   8247: esac
                   8248: 
                   8249:       $ac_path_FGREP_found && break 3
                   8250:     done
                   8251:   done
                   8252:   done
                   8253: IFS=$as_save_IFS
                   8254:   if test -z "$ac_cv_path_FGREP"; then
                   8255:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   8256:   fi
                   8257: else
                   8258:   ac_cv_path_FGREP=$FGREP
                   8259: fi
                   8260: 
                   8261:    fi
                   8262: fi
                   8263: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   8264: $as_echo "$ac_cv_path_FGREP" >&6; }
                   8265:  FGREP="$ac_cv_path_FGREP"
                   8266: 
                   8267: 
                   8268: test -z "$GREP" && GREP=grep
                   8269: 
                   8270: 
                   8271: 
                   8272: 
                   8273: 
                   8274: 
                   8275: 
                   8276: 
                   8277: 
                   8278: 
                   8279: 
                   8280: 
                   8281: 
                   8282: 
                   8283: 
                   8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: # Check whether --with-gnu-ld was given.
                   8289: if test "${with_gnu_ld+set}" = set; then :
                   8290:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   8291: else
                   8292:   with_gnu_ld=no
                   8293: fi
                   8294: 
                   8295: ac_prog=ld
                   8296: if test "$GCC" = yes; then
                   8297:   # Check if gcc -print-prog-name=ld gives a path.
                   8298:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   8299: $as_echo_n "checking for ld used by $CC... " >&6; }
                   8300:   case $host in
                   8301:   *-*-mingw*)
                   8302:     # gcc leaves a trailing carriage return which upsets mingw
                   8303:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   8304:   *)
                   8305:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   8306:   esac
                   8307:   case $ac_prog in
                   8308:     # Accept absolute paths.
                   8309:     [\\/]* | ?:[\\/]*)
                   8310:       re_direlt='/[^/][^/]*/\.\./'
                   8311:       # Canonicalize the pathname of ld
                   8312:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   8313:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   8314:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   8315:       done
                   8316:       test -z "$LD" && LD="$ac_prog"
                   8317:       ;;
                   8318:   "")
                   8319:     # If it fails, then pretend we aren't using GCC.
                   8320:     ac_prog=ld
                   8321:     ;;
                   8322:   *)
                   8323:     # If it is relative, then search for the first ld in PATH.
                   8324:     with_gnu_ld=unknown
                   8325:     ;;
                   8326:   esac
                   8327: elif test "$with_gnu_ld" = yes; then
                   8328:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   8329: $as_echo_n "checking for GNU ld... " >&6; }
                   8330: else
                   8331:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   8332: $as_echo_n "checking for non-GNU ld... " >&6; }
                   8333: fi
                   8334: if ${lt_cv_path_LD+:} false; then :
                   8335:   $as_echo_n "(cached) " >&6
                   8336: else
                   8337:   if test -z "$LD"; then
                   8338:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8339:   for ac_dir in $PATH; do
                   8340:     IFS="$lt_save_ifs"
                   8341:     test -z "$ac_dir" && ac_dir=.
                   8342:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   8343:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   8344:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   8345:       # but apparently some variants of GNU ld only accept -v.
                   8346:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   8347:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   8348:       *GNU* | *'with BFD'*)
                   8349:        test "$with_gnu_ld" != no && break
                   8350:        ;;
                   8351:       *)
                   8352:        test "$with_gnu_ld" != yes && break
                   8353:        ;;
                   8354:       esac
                   8355:     fi
                   8356:   done
                   8357:   IFS="$lt_save_ifs"
                   8358: else
                   8359:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   8360: fi
                   8361: fi
                   8362: 
                   8363: LD="$lt_cv_path_LD"
                   8364: if test -n "$LD"; then
                   8365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   8366: $as_echo "$LD" >&6; }
                   8367: else
                   8368:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8369: $as_echo "no" >&6; }
                   8370: fi
                   8371: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   8372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   8373: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   8374: if ${lt_cv_prog_gnu_ld+:} false; then :
                   8375:   $as_echo_n "(cached) " >&6
                   8376: else
                   8377:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   8378: case `$LD -v 2>&1 </dev/null` in
                   8379: *GNU* | *'with BFD'*)
                   8380:   lt_cv_prog_gnu_ld=yes
                   8381:   ;;
                   8382: *)
                   8383:   lt_cv_prog_gnu_ld=no
                   8384:   ;;
                   8385: esac
                   8386: fi
                   8387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   8388: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   8389: with_gnu_ld=$lt_cv_prog_gnu_ld
                   8390: 
                   8391: 
                   8392: 
                   8393: 
                   8394: 
                   8395: 
                   8396: 
                   8397: 
                   8398: 
                   8399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   8400: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   8401: if ${lt_cv_path_NM+:} false; then :
                   8402:   $as_echo_n "(cached) " >&6
                   8403: else
                   8404:   if test -n "$NM"; then
                   8405:   # Let the user override the test.
                   8406:   lt_cv_path_NM="$NM"
                   8407: else
                   8408:   lt_nm_to_check="${ac_tool_prefix}nm"
                   8409:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   8410:     lt_nm_to_check="$lt_nm_to_check nm"
                   8411:   fi
                   8412:   for lt_tmp_nm in $lt_nm_to_check; do
                   8413:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8414:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   8415:       IFS="$lt_save_ifs"
                   8416:       test -z "$ac_dir" && ac_dir=.
                   8417:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   8418:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   8419:        # Check to see if the nm accepts a BSD-compat flag.
                   8420:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   8421:        #   nm: unknown option "B" ignored
                   8422:        # Tru64's nm complains that /dev/null is an invalid object file
                   8423:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   8424:        */dev/null* | *'Invalid file or object type'*)
                   8425:          lt_cv_path_NM="$tmp_nm -B"
                   8426:          break
                   8427:          ;;
                   8428:        *)
                   8429:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   8430:          */dev/null*)
                   8431:            lt_cv_path_NM="$tmp_nm -p"
                   8432:            break
                   8433:            ;;
                   8434:          *)
                   8435:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   8436:            continue # so that we can try to find one that supports BSD flags
                   8437:            ;;
                   8438:          esac
                   8439:          ;;
                   8440:        esac
                   8441:       fi
                   8442:     done
                   8443:     IFS="$lt_save_ifs"
                   8444:   done
                   8445:   : ${lt_cv_path_NM=no}
                   8446: fi
                   8447: fi
                   8448: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   8449: $as_echo "$lt_cv_path_NM" >&6; }
                   8450: if test "$lt_cv_path_NM" != "no"; then
                   8451:   NM="$lt_cv_path_NM"
                   8452: else
                   8453:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   8454:   if test -n "$DUMPBIN"; then :
                   8455:     # Let the user override the test.
                   8456:   else
                   8457:     if test -n "$ac_tool_prefix"; then
                   8458:   for ac_prog in dumpbin "link -dump"
                   8459:   do
                   8460:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   8461: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   8462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8463: $as_echo_n "checking for $ac_word... " >&6; }
                   8464: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   8465:   $as_echo_n "(cached) " >&6
                   8466: else
                   8467:   if test -n "$DUMPBIN"; then
                   8468:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   8469: else
                   8470: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8471: for as_dir in $PATH
                   8472: do
                   8473:   IFS=$as_save_IFS
                   8474:   test -z "$as_dir" && as_dir=.
                   8475:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    8476:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8477:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   8478:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8479:     break 2
                   8480:   fi
                   8481: done
                   8482:   done
                   8483: IFS=$as_save_IFS
                   8484: 
                   8485: fi
                   8486: fi
                   8487: DUMPBIN=$ac_cv_prog_DUMPBIN
                   8488: if test -n "$DUMPBIN"; then
                   8489:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   8490: $as_echo "$DUMPBIN" >&6; }
                   8491: else
                   8492:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8493: $as_echo "no" >&6; }
                   8494: fi
                   8495: 
                   8496: 
                   8497:     test -n "$DUMPBIN" && break
                   8498:   done
                   8499: fi
                   8500: if test -z "$DUMPBIN"; then
                   8501:   ac_ct_DUMPBIN=$DUMPBIN
                   8502:   for ac_prog in dumpbin "link -dump"
                   8503: do
                   8504:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   8505: set dummy $ac_prog; ac_word=$2
                   8506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8507: $as_echo_n "checking for $ac_word... " >&6; }
                   8508: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   8509:   $as_echo_n "(cached) " >&6
                   8510: else
                   8511:   if test -n "$ac_ct_DUMPBIN"; then
                   8512:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   8513: else
                   8514: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8515: for as_dir in $PATH
                   8516: do
                   8517:   IFS=$as_save_IFS
                   8518:   test -z "$as_dir" && as_dir=.
                   8519:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    8520:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8521:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   8522:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8523:     break 2
                   8524:   fi
                   8525: done
                   8526:   done
                   8527: IFS=$as_save_IFS
                   8528: 
                   8529: fi
                   8530: fi
                   8531: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   8532: if test -n "$ac_ct_DUMPBIN"; then
                   8533:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   8534: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   8535: else
                   8536:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8537: $as_echo "no" >&6; }
                   8538: fi
                   8539: 
                   8540: 
                   8541:   test -n "$ac_ct_DUMPBIN" && break
                   8542: done
                   8543: 
                   8544:   if test "x$ac_ct_DUMPBIN" = x; then
                   8545:     DUMPBIN=":"
                   8546:   else
                   8547:     case $cross_compiling:$ac_tool_warned in
                   8548: yes:)
                   8549: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8550: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8551: ac_tool_warned=yes ;;
                   8552: esac
                   8553:     DUMPBIN=$ac_ct_DUMPBIN
                   8554:   fi
                   8555: fi
                   8556: 
                   8557:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   8558:     *COFF*)
                   8559:       DUMPBIN="$DUMPBIN -symbols"
                   8560:       ;;
                   8561:     *)
                   8562:       DUMPBIN=:
                   8563:       ;;
                   8564:     esac
                   8565:   fi
                   8566: 
                   8567:   if test "$DUMPBIN" != ":"; then
                   8568:     NM="$DUMPBIN"
                   8569:   fi
                   8570: fi
                   8571: test -z "$NM" && NM=nm
                   8572: 
                   8573: 
                   8574: 
                   8575: 
                   8576: 
                   8577: 
                   8578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   8579: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   8580: if ${lt_cv_nm_interface+:} false; then :
                   8581:   $as_echo_n "(cached) " >&6
                   8582: else
                   8583:   lt_cv_nm_interface="BSD nm"
                   8584:   echo "int some_variable = 0;" > conftest.$ac_ext
                   8585:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   8586:   (eval "$ac_compile" 2>conftest.err)
                   8587:   cat conftest.err >&5
                   8588:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   8589:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   8590:   cat conftest.err >&5
                   8591:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   8592:   cat conftest.out >&5
                   8593:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   8594:     lt_cv_nm_interface="MS dumpbin"
                   8595:   fi
                   8596:   rm -f conftest*
                   8597: fi
                   8598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   8599: $as_echo "$lt_cv_nm_interface" >&6; }
                   8600: 
                   8601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   8602: $as_echo_n "checking whether ln -s works... " >&6; }
                   8603: LN_S=$as_ln_s
                   8604: if test "$LN_S" = "ln -s"; then
                   8605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   8606: $as_echo "yes" >&6; }
                   8607: else
                   8608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   8609: $as_echo "no, using $LN_S" >&6; }
                   8610: fi
                   8611: 
                   8612: # find the maximum length of command line arguments
                   8613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   8614: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   8615: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   8616:   $as_echo_n "(cached) " >&6
                   8617: else
                   8618:     i=0
                   8619:   teststring="ABCD"
                   8620: 
                   8621:   case $build_os in
                   8622:   msdosdjgpp*)
                   8623:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   8624:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   8625:     # during glob expansion).  Even if it were fixed, the result of this
                   8626:     # check would be larger than it should be.
                   8627:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   8628:     ;;
                   8629: 
                   8630:   gnu*)
                   8631:     # Under GNU Hurd, this test is not required because there is
                   8632:     # no limit to the length of command line arguments.
                   8633:     # Libtool will interpret -1 as no limit whatsoever
                   8634:     lt_cv_sys_max_cmd_len=-1;
                   8635:     ;;
                   8636: 
                   8637:   cygwin* | mingw* | cegcc*)
                   8638:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   8639:     # about 5 minutes as the teststring grows exponentially.
                   8640:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   8641:     # you end up with a "frozen" computer, even though with patience
                   8642:     # the test eventually succeeds (with a max line length of 256k).
                   8643:     # Instead, let's just punt: use the minimum linelength reported by
                   8644:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   8645:     lt_cv_sys_max_cmd_len=8192;
                   8646:     ;;
                   8647: 
                   8648:   mint*)
                   8649:     # On MiNT this can take a long time and run out of memory.
                   8650:     lt_cv_sys_max_cmd_len=8192;
                   8651:     ;;
                   8652: 
                   8653:   amigaos*)
                   8654:     # On AmigaOS with pdksh, this test takes hours, literally.
                   8655:     # So we just punt and use a minimum line length of 8192.
                   8656:     lt_cv_sys_max_cmd_len=8192;
                   8657:     ;;
                   8658: 
                   8659:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   8660:     # This has been around since 386BSD, at least.  Likely further.
                   8661:     if test -x /sbin/sysctl; then
                   8662:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   8663:     elif test -x /usr/sbin/sysctl; then
                   8664:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   8665:     else
                   8666:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   8667:     fi
                   8668:     # And add a safety zone
                   8669:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   8670:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   8671:     ;;
                   8672: 
                   8673:   interix*)
                   8674:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   8675:     lt_cv_sys_max_cmd_len=196608
                   8676:     ;;
                   8677: 
                   8678:   osf*)
                   8679:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   8680:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   8681:     # nice to cause kernel panics so lets avoid the loop below.
                   8682:     # First set a reasonable default.
                   8683:     lt_cv_sys_max_cmd_len=16384
                   8684:     #
                   8685:     if test -x /sbin/sysconfig; then
                   8686:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   8687:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   8688:       esac
                   8689:     fi
                   8690:     ;;
                   8691:   sco3.2v5*)
                   8692:     lt_cv_sys_max_cmd_len=102400
                   8693:     ;;
                   8694:   sysv5* | sco5v6* | sysv4.2uw2*)
                   8695:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   8696:     if test -n "$kargmax"; then
                   8697:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   8698:     else
                   8699:       lt_cv_sys_max_cmd_len=32768
                   8700:     fi
                   8701:     ;;
                   8702:   *)
                   8703:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   8704:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   8705:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   8706:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   8707:     else
                   8708:       # Make teststring a little bigger before we do anything with it.
                   8709:       # a 1K string should be a reasonable start.
                   8710:       for i in 1 2 3 4 5 6 7 8 ; do
                   8711:         teststring=$teststring$teststring
                   8712:       done
                   8713:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   8714:       # If test is not a shell built-in, we'll probably end up computing a
                   8715:       # maximum length that is only half of the actual maximum length, but
                   8716:       # we can't tell.
                   8717:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
                   8718:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   8719:              test $i != 17 # 1/2 MB should be enough
                   8720:       do
                   8721:         i=`expr $i + 1`
                   8722:         teststring=$teststring$teststring
                   8723:       done
                   8724:       # Only check the string length outside the loop.
                   8725:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   8726:       teststring=
                   8727:       # Add a significant safety factor because C++ compilers can tack on
                   8728:       # massive amounts of additional arguments before passing them to the
                   8729:       # linker.  It appears as though 1/2 is a usable value.
                   8730:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   8731:     fi
                   8732:     ;;
                   8733:   esac
                   8734: 
                   8735: fi
                   8736: 
                   8737: if test -n $lt_cv_sys_max_cmd_len ; then
                   8738:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   8739: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   8740: else
                   8741:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   8742: $as_echo "none" >&6; }
                   8743: fi
                   8744: max_cmd_len=$lt_cv_sys_max_cmd_len
                   8745: 
                   8746: 
                   8747: 
                   8748: 
                   8749: 
                   8750: 
                   8751: : ${CP="cp -f"}
                   8752: : ${MV="mv -f"}
                   8753: : ${RM="rm -f"}
                   8754: 
                   8755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   8756: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   8757: # Try some XSI features
                   8758: xsi_shell=no
                   8759: ( _lt_dummy="a/b/c"
                   8760:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   8761:       = c,a/b,b/c, \
                   8762:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   8763:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   8764:   && xsi_shell=yes
                   8765: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   8766: $as_echo "$xsi_shell" >&6; }
                   8767: 
                   8768: 
                   8769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   8770: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   8771: lt_shell_append=no
                   8772: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   8773:     >/dev/null 2>&1 \
                   8774:   && lt_shell_append=yes
                   8775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   8776: $as_echo "$lt_shell_append" >&6; }
                   8777: 
                   8778: 
                   8779: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   8780:   lt_unset=unset
                   8781: else
                   8782:   lt_unset=false
                   8783: fi
                   8784: 
                   8785: 
                   8786: 
                   8787: 
                   8788: 
                   8789: # test EBCDIC or ASCII
                   8790: case `echo X|tr X '\101'` in
                   8791:  A) # ASCII based system
                   8792:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   8793:   lt_SP2NL='tr \040 \012'
                   8794:   lt_NL2SP='tr \015\012 \040\040'
                   8795:   ;;
                   8796:  *) # EBCDIC based system
                   8797:   lt_SP2NL='tr \100 \n'
                   8798:   lt_NL2SP='tr \r\n \100\100'
                   8799:   ;;
                   8800: esac
                   8801: 
                   8802: 
                   8803: 
                   8804: 
                   8805: 
                   8806: 
                   8807: 
                   8808: 
                   8809: 
                   8810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   8811: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   8812: if ${lt_cv_to_host_file_cmd+:} false; then :
                   8813:   $as_echo_n "(cached) " >&6
                   8814: else
                   8815:   case $host in
                   8816:   *-*-mingw* )
                   8817:     case $build in
                   8818:       *-*-mingw* ) # actually msys
                   8819:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   8820:         ;;
                   8821:       *-*-cygwin* )
                   8822:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   8823:         ;;
                   8824:       * ) # otherwise, assume *nix
                   8825:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   8826:         ;;
                   8827:     esac
                   8828:     ;;
                   8829:   *-*-cygwin* )
                   8830:     case $build in
                   8831:       *-*-mingw* ) # actually msys
                   8832:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   8833:         ;;
                   8834:       *-*-cygwin* )
                   8835:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   8836:         ;;
                   8837:       * ) # otherwise, assume *nix
                   8838:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   8839:         ;;
                   8840:     esac
                   8841:     ;;
                   8842:   * ) # unhandled hosts (and "normal" native builds)
                   8843:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   8844:     ;;
                   8845: esac
                   8846: 
                   8847: fi
                   8848: 
                   8849: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   8850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   8851: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   8852: 
                   8853: 
                   8854: 
                   8855: 
                   8856: 
                   8857: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   8858: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   8859: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   8860:   $as_echo_n "(cached) " >&6
                   8861: else
                   8862:   #assume ordinary cross tools, or native build.
                   8863: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   8864: case $host in
                   8865:   *-*-mingw* )
                   8866:     case $build in
                   8867:       *-*-mingw* ) # actually msys
                   8868:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   8869:         ;;
                   8870:     esac
                   8871:     ;;
                   8872: esac
                   8873: 
                   8874: fi
                   8875: 
                   8876: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   8877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   8878: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   8879: 
                   8880: 
                   8881: 
                   8882: 
                   8883: 
                   8884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   8885: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   8886: if ${lt_cv_ld_reload_flag+:} false; then :
                   8887:   $as_echo_n "(cached) " >&6
                   8888: else
                   8889:   lt_cv_ld_reload_flag='-r'
                   8890: fi
                   8891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   8892: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   8893: reload_flag=$lt_cv_ld_reload_flag
                   8894: case $reload_flag in
                   8895: "" | " "*) ;;
                   8896: *) reload_flag=" $reload_flag" ;;
                   8897: esac
                   8898: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   8899: case $host_os in
                   8900:   cygwin* | mingw* | pw32* | cegcc*)
                   8901:     if test "$GCC" != yes; then
                   8902:       reload_cmds=false
                   8903:     fi
                   8904:     ;;
                   8905:   darwin*)
                   8906:     if test "$GCC" = yes; then
                   8907:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   8908:     else
                   8909:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   8910:     fi
                   8911:     ;;
                   8912: esac
                   8913: 
                   8914: 
                   8915: 
                   8916: 
                   8917: 
                   8918: 
                   8919: 
                   8920: 
                   8921: 
                   8922: if test -n "$ac_tool_prefix"; then
                   8923:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   8924: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   8925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8926: $as_echo_n "checking for $ac_word... " >&6; }
                   8927: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   8928:   $as_echo_n "(cached) " >&6
                   8929: else
                   8930:   if test -n "$OBJDUMP"; then
                   8931:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   8932: else
                   8933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8934: for as_dir in $PATH
                   8935: do
                   8936:   IFS=$as_save_IFS
                   8937:   test -z "$as_dir" && as_dir=.
                   8938:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    8939:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8940:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   8941:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8942:     break 2
                   8943:   fi
                   8944: done
                   8945:   done
                   8946: IFS=$as_save_IFS
                   8947: 
                   8948: fi
                   8949: fi
                   8950: OBJDUMP=$ac_cv_prog_OBJDUMP
                   8951: if test -n "$OBJDUMP"; then
                   8952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   8953: $as_echo "$OBJDUMP" >&6; }
                   8954: else
                   8955:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8956: $as_echo "no" >&6; }
                   8957: fi
                   8958: 
                   8959: 
                   8960: fi
                   8961: if test -z "$ac_cv_prog_OBJDUMP"; then
                   8962:   ac_ct_OBJDUMP=$OBJDUMP
                   8963:   # Extract the first word of "objdump", so it can be a program name with args.
                   8964: set dummy objdump; ac_word=$2
                   8965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8966: $as_echo_n "checking for $ac_word... " >&6; }
                   8967: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   8968:   $as_echo_n "(cached) " >&6
                   8969: else
                   8970:   if test -n "$ac_ct_OBJDUMP"; then
                   8971:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   8972: else
                   8973: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8974: for as_dir in $PATH
                   8975: do
                   8976:   IFS=$as_save_IFS
                   8977:   test -z "$as_dir" && as_dir=.
                   8978:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    8979:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    8980:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   8981:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8982:     break 2
                   8983:   fi
                   8984: done
                   8985:   done
                   8986: IFS=$as_save_IFS
                   8987: 
                   8988: fi
                   8989: fi
                   8990: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   8991: if test -n "$ac_ct_OBJDUMP"; then
                   8992:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   8993: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   8994: else
                   8995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8996: $as_echo "no" >&6; }
                   8997: fi
                   8998: 
                   8999:   if test "x$ac_ct_OBJDUMP" = x; then
                   9000:     OBJDUMP="false"
                   9001:   else
                   9002:     case $cross_compiling:$ac_tool_warned in
                   9003: yes:)
                   9004: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9005: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9006: ac_tool_warned=yes ;;
                   9007: esac
                   9008:     OBJDUMP=$ac_ct_OBJDUMP
                   9009:   fi
                   9010: else
                   9011:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   9012: fi
                   9013: 
                   9014: test -z "$OBJDUMP" && OBJDUMP=objdump
                   9015: 
                   9016: 
                   9017: 
                   9018: 
                   9019: 
                   9020: 
                   9021: 
                   9022: 
                   9023: 
                   9024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   9025: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   9026: if ${lt_cv_deplibs_check_method+:} false; then :
                   9027:   $as_echo_n "(cached) " >&6
                   9028: else
                   9029:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   9030: lt_cv_file_magic_test_file=
                   9031: lt_cv_deplibs_check_method='unknown'
                   9032: # Need to set the preceding variable on all platforms that support
                   9033: # interlibrary dependencies.
                   9034: # 'none' -- dependencies not supported.
                   9035: # `unknown' -- same as none, but documents that we really don't know.
                   9036: # 'pass_all' -- all dependencies passed with no checks.
                   9037: # 'test_compile' -- check by making test program.
                   9038: # 'file_magic [[regex]]' -- check by looking for files in library path
                   9039: # which responds to the $file_magic_cmd with a given extended regex.
                   9040: # If you have `file' or equivalent on your system and you're not sure
                   9041: # whether `pass_all' will *always* work, you probably want this one.
                   9042: 
                   9043: case $host_os in
                   9044: aix[4-9]*)
                   9045:   lt_cv_deplibs_check_method=pass_all
                   9046:   ;;
                   9047: 
                   9048: beos*)
                   9049:   lt_cv_deplibs_check_method=pass_all
                   9050:   ;;
                   9051: 
                   9052: bsdi[45]*)
                   9053:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   9054:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   9055:   lt_cv_file_magic_test_file=/shlib/libc.so
                   9056:   ;;
                   9057: 
                   9058: cygwin*)
                   9059:   # func_win32_libid is a shell function defined in ltmain.sh
                   9060:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   9061:   lt_cv_file_magic_cmd='func_win32_libid'
                   9062:   ;;
                   9063: 
                   9064: mingw* | pw32*)
                   9065:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   9066:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   9067:   # unless we find 'file', for example because we are cross-compiling.
                   9068:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   9069:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   9070:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   9071:     lt_cv_file_magic_cmd='func_win32_libid'
                   9072:   else
                   9073:     # Keep this pattern in sync with the one in func_win32_libid.
                   9074:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   9075:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   9076:   fi
                   9077:   ;;
                   9078: 
                   9079: cegcc*)
                   9080:   # use the weaker test based on 'objdump'. See mingw*.
                   9081:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   9082:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   9083:   ;;
                   9084: 
                   9085: darwin* | rhapsody*)
                   9086:   lt_cv_deplibs_check_method=pass_all
                   9087:   ;;
                   9088: 
                   9089: freebsd* | dragonfly*)
                   9090:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   9091:     case $host_cpu in
                   9092:     i*86 )
                   9093:       # Not sure whether the presence of OpenBSD here was a mistake.
                   9094:       # Let's accept both of them until this is cleared up.
                   9095:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   9096:       lt_cv_file_magic_cmd=/usr/bin/file
                   9097:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   9098:       ;;
                   9099:     esac
                   9100:   else
                   9101:     lt_cv_deplibs_check_method=pass_all
                   9102:   fi
                   9103:   ;;
                   9104: 
                   9105: gnu*)
                   9106:   lt_cv_deplibs_check_method=pass_all
                   9107:   ;;
                   9108: 
                   9109: haiku*)
                   9110:   lt_cv_deplibs_check_method=pass_all
                   9111:   ;;
                   9112: 
                   9113: hpux10.20* | hpux11*)
                   9114:   lt_cv_file_magic_cmd=/usr/bin/file
                   9115:   case $host_cpu in
                   9116:   ia64*)
                   9117:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   9118:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   9119:     ;;
                   9120:   hppa*64*)
                   9121:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
                   9122:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   9123:     ;;
                   9124:   *)
                   9125:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   9126:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   9127:     ;;
                   9128:   esac
                   9129:   ;;
                   9130: 
                   9131: interix[3-9]*)
                   9132:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   9133:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   9134:   ;;
                   9135: 
                   9136: irix5* | irix6* | nonstopux*)
                   9137:   case $LD in
                   9138:   *-32|*"-32 ") libmagic=32-bit;;
                   9139:   *-n32|*"-n32 ") libmagic=N32;;
                   9140:   *-64|*"-64 ") libmagic=64-bit;;
                   9141:   *) libmagic=never-match;;
                   9142:   esac
                   9143:   lt_cv_deplibs_check_method=pass_all
                   9144:   ;;
                   9145: 
                   9146: # This must be Linux ELF.
                   9147: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   9148:   lt_cv_deplibs_check_method=pass_all
                   9149:   ;;
                   9150: 
                   9151: netbsd*)
                   9152:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   9153:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   9154:   else
                   9155:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   9156:   fi
                   9157:   ;;
                   9158: 
                   9159: newos6*)
                   9160:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   9161:   lt_cv_file_magic_cmd=/usr/bin/file
                   9162:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   9163:   ;;
                   9164: 
                   9165: *nto* | *qnx*)
                   9166:   lt_cv_deplibs_check_method=pass_all
                   9167:   ;;
                   9168: 
                   9169: openbsd*)
                   9170:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9171:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   9172:   else
                   9173:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   9174:   fi
                   9175:   ;;
                   9176: 
                   9177: osf3* | osf4* | osf5*)
                   9178:   lt_cv_deplibs_check_method=pass_all
                   9179:   ;;
                   9180: 
                   9181: rdos*)
                   9182:   lt_cv_deplibs_check_method=pass_all
                   9183:   ;;
                   9184: 
                   9185: solaris*)
                   9186:   lt_cv_deplibs_check_method=pass_all
                   9187:   ;;
                   9188: 
                   9189: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   9190:   lt_cv_deplibs_check_method=pass_all
                   9191:   ;;
                   9192: 
                   9193: sysv4 | sysv4.3*)
                   9194:   case $host_vendor in
                   9195:   motorola)
                   9196:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
                   9197:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   9198:     ;;
                   9199:   ncr)
                   9200:     lt_cv_deplibs_check_method=pass_all
                   9201:     ;;
                   9202:   sequent)
                   9203:     lt_cv_file_magic_cmd='/bin/file'
                   9204:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   9205:     ;;
                   9206:   sni)
                   9207:     lt_cv_file_magic_cmd='/bin/file'
                   9208:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   9209:     lt_cv_file_magic_test_file=/lib/libc.so
                   9210:     ;;
                   9211:   siemens)
                   9212:     lt_cv_deplibs_check_method=pass_all
                   9213:     ;;
                   9214:   pc)
                   9215:     lt_cv_deplibs_check_method=pass_all
                   9216:     ;;
                   9217:   esac
                   9218:   ;;
                   9219: 
                   9220: tpf*)
                   9221:   lt_cv_deplibs_check_method=pass_all
                   9222:   ;;
                   9223: esac
                   9224: 
                   9225: fi
                   9226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   9227: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   9228: 
                   9229: file_magic_glob=
                   9230: want_nocaseglob=no
                   9231: if test "$build" = "$host"; then
                   9232:   case $host_os in
                   9233:   mingw* | pw32*)
                   9234:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   9235:       want_nocaseglob=yes
                   9236:     else
                   9237:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   9238:     fi
                   9239:     ;;
                   9240:   esac
                   9241: fi
                   9242: 
                   9243: file_magic_cmd=$lt_cv_file_magic_cmd
                   9244: deplibs_check_method=$lt_cv_deplibs_check_method
                   9245: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   9246: 
                   9247: 
                   9248: 
                   9249: 
                   9250: 
                   9251: 
                   9252: 
                   9253: 
                   9254: 
                   9255: 
                   9256: 
                   9257: 
                   9258: 
                   9259: 
                   9260: 
                   9261: 
                   9262: 
                   9263: 
                   9264: 
                   9265: 
                   9266: 
                   9267: 
                   9268: if test -n "$ac_tool_prefix"; then
                   9269:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   9270: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   9271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9272: $as_echo_n "checking for $ac_word... " >&6; }
                   9273: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   9274:   $as_echo_n "(cached) " >&6
                   9275: else
                   9276:   if test -n "$DLLTOOL"; then
                   9277:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   9278: else
                   9279: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9280: for as_dir in $PATH
                   9281: do
                   9282:   IFS=$as_save_IFS
                   9283:   test -z "$as_dir" && as_dir=.
                   9284:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9285:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9286:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   9287:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9288:     break 2
                   9289:   fi
                   9290: done
                   9291:   done
                   9292: IFS=$as_save_IFS
                   9293: 
                   9294: fi
                   9295: fi
                   9296: DLLTOOL=$ac_cv_prog_DLLTOOL
                   9297: if test -n "$DLLTOOL"; then
                   9298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   9299: $as_echo "$DLLTOOL" >&6; }
                   9300: else
                   9301:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9302: $as_echo "no" >&6; }
                   9303: fi
                   9304: 
                   9305: 
                   9306: fi
                   9307: if test -z "$ac_cv_prog_DLLTOOL"; then
                   9308:   ac_ct_DLLTOOL=$DLLTOOL
                   9309:   # Extract the first word of "dlltool", so it can be a program name with args.
                   9310: set dummy dlltool; ac_word=$2
                   9311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9312: $as_echo_n "checking for $ac_word... " >&6; }
                   9313: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   9314:   $as_echo_n "(cached) " >&6
                   9315: else
                   9316:   if test -n "$ac_ct_DLLTOOL"; then
                   9317:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   9318: else
                   9319: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9320: for as_dir in $PATH
                   9321: do
                   9322:   IFS=$as_save_IFS
                   9323:   test -z "$as_dir" && as_dir=.
                   9324:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9325:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9326:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   9327:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9328:     break 2
                   9329:   fi
                   9330: done
                   9331:   done
                   9332: IFS=$as_save_IFS
                   9333: 
                   9334: fi
                   9335: fi
                   9336: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   9337: if test -n "$ac_ct_DLLTOOL"; then
                   9338:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   9339: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   9340: else
                   9341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9342: $as_echo "no" >&6; }
                   9343: fi
                   9344: 
                   9345:   if test "x$ac_ct_DLLTOOL" = x; then
                   9346:     DLLTOOL="false"
                   9347:   else
                   9348:     case $cross_compiling:$ac_tool_warned in
                   9349: yes:)
                   9350: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9351: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9352: ac_tool_warned=yes ;;
                   9353: esac
                   9354:     DLLTOOL=$ac_ct_DLLTOOL
                   9355:   fi
                   9356: else
                   9357:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   9358: fi
                   9359: 
                   9360: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   9361: 
                   9362: 
                   9363: 
                   9364: 
                   9365: 
                   9366: 
                   9367: 
                   9368: 
                   9369: 
                   9370: 
                   9371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   9372: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   9373: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   9374:   $as_echo_n "(cached) " >&6
                   9375: else
                   9376:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   9377: 
                   9378: case $host_os in
                   9379: cygwin* | mingw* | pw32* | cegcc*)
                   9380:   # two different shell functions defined in ltmain.sh
                   9381:   # decide which to use based on capabilities of $DLLTOOL
                   9382:   case `$DLLTOOL --help 2>&1` in
                   9383:   *--identify-strict*)
                   9384:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   9385:     ;;
                   9386:   *)
                   9387:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   9388:     ;;
                   9389:   esac
                   9390:   ;;
                   9391: *)
                   9392:   # fallback: assume linklib IS sharedlib
                   9393:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   9394:   ;;
                   9395: esac
                   9396: 
                   9397: fi
                   9398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   9399: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   9400: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   9401: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   9402: 
                   9403: 
                   9404: 
                   9405: 
                   9406: 
                   9407: 
                   9408: 
                   9409: if test -n "$ac_tool_prefix"; then
                   9410:   for ac_prog in ar
                   9411:   do
                   9412:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   9413: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   9414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9415: $as_echo_n "checking for $ac_word... " >&6; }
                   9416: if ${ac_cv_prog_AR+:} false; then :
                   9417:   $as_echo_n "(cached) " >&6
                   9418: else
                   9419:   if test -n "$AR"; then
                   9420:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   9421: else
                   9422: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9423: for as_dir in $PATH
                   9424: do
                   9425:   IFS=$as_save_IFS
                   9426:   test -z "$as_dir" && as_dir=.
                   9427:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9428:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9429:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   9430:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9431:     break 2
                   9432:   fi
                   9433: done
                   9434:   done
                   9435: IFS=$as_save_IFS
                   9436: 
                   9437: fi
                   9438: fi
                   9439: AR=$ac_cv_prog_AR
                   9440: if test -n "$AR"; then
                   9441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   9442: $as_echo "$AR" >&6; }
                   9443: else
                   9444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9445: $as_echo "no" >&6; }
                   9446: fi
                   9447: 
                   9448: 
                   9449:     test -n "$AR" && break
                   9450:   done
                   9451: fi
                   9452: if test -z "$AR"; then
                   9453:   ac_ct_AR=$AR
                   9454:   for ac_prog in ar
                   9455: do
                   9456:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   9457: set dummy $ac_prog; ac_word=$2
                   9458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9459: $as_echo_n "checking for $ac_word... " >&6; }
                   9460: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   9461:   $as_echo_n "(cached) " >&6
                   9462: else
                   9463:   if test -n "$ac_ct_AR"; then
                   9464:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   9465: else
                   9466: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9467: for as_dir in $PATH
                   9468: do
                   9469:   IFS=$as_save_IFS
                   9470:   test -z "$as_dir" && as_dir=.
                   9471:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9472:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9473:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   9474:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9475:     break 2
                   9476:   fi
                   9477: done
                   9478:   done
                   9479: IFS=$as_save_IFS
                   9480: 
                   9481: fi
                   9482: fi
                   9483: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   9484: if test -n "$ac_ct_AR"; then
                   9485:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   9486: $as_echo "$ac_ct_AR" >&6; }
                   9487: else
                   9488:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9489: $as_echo "no" >&6; }
                   9490: fi
                   9491: 
                   9492: 
                   9493:   test -n "$ac_ct_AR" && break
                   9494: done
                   9495: 
                   9496:   if test "x$ac_ct_AR" = x; then
                   9497:     AR="false"
                   9498:   else
                   9499:     case $cross_compiling:$ac_tool_warned in
                   9500: yes:)
                   9501: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9502: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9503: ac_tool_warned=yes ;;
                   9504: esac
                   9505:     AR=$ac_ct_AR
                   9506:   fi
                   9507: fi
                   9508: 
                   9509: : ${AR=ar}
                   9510: : ${AR_FLAGS=cru}
                   9511: 
                   9512: 
                   9513: 
                   9514: 
                   9515: 
                   9516: 
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: 
                   9522: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   9523: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   9524: if ${lt_cv_ar_at_file+:} false; then :
                   9525:   $as_echo_n "(cached) " >&6
                   9526: else
                   9527:   lt_cv_ar_at_file=no
                   9528:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9529: /* end confdefs.h.  */
                   9530: 
                   9531: int
                   9532: main ()
                   9533: {
                   9534: 
                   9535:   ;
                   9536:   return 0;
                   9537: }
                   9538: _ACEOF
                   9539: if ac_fn_c_try_compile "$LINENO"; then :
                   9540:   echo conftest.$ac_objext > conftest.lst
                   9541:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   9542:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   9543:   (eval $lt_ar_try) 2>&5
                   9544:   ac_status=$?
                   9545:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9546:   test $ac_status = 0; }
                   9547:       if test "$ac_status" -eq 0; then
                   9548:        # Ensure the archiver fails upon bogus file names.
                   9549:        rm -f conftest.$ac_objext libconftest.a
                   9550:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   9551:   (eval $lt_ar_try) 2>&5
                   9552:   ac_status=$?
                   9553:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9554:   test $ac_status = 0; }
                   9555:        if test "$ac_status" -ne 0; then
                   9556:           lt_cv_ar_at_file=@
                   9557:         fi
                   9558:       fi
                   9559:       rm -f conftest.* libconftest.a
                   9560: 
                   9561: fi
                   9562: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   9563: 
                   9564: fi
                   9565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   9566: $as_echo "$lt_cv_ar_at_file" >&6; }
                   9567: 
                   9568: if test "x$lt_cv_ar_at_file" = xno; then
                   9569:   archiver_list_spec=
                   9570: else
                   9571:   archiver_list_spec=$lt_cv_ar_at_file
                   9572: fi
                   9573: 
                   9574: 
                   9575: 
                   9576: 
                   9577: 
                   9578: 
                   9579: 
                   9580: if test -n "$ac_tool_prefix"; then
                   9581:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   9582: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   9583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9584: $as_echo_n "checking for $ac_word... " >&6; }
                   9585: if ${ac_cv_prog_STRIP+:} false; then :
                   9586:   $as_echo_n "(cached) " >&6
                   9587: else
                   9588:   if test -n "$STRIP"; then
                   9589:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   9590: else
                   9591: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9592: for as_dir in $PATH
                   9593: do
                   9594:   IFS=$as_save_IFS
                   9595:   test -z "$as_dir" && as_dir=.
                   9596:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9597:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9598:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   9599:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9600:     break 2
                   9601:   fi
                   9602: done
                   9603:   done
                   9604: IFS=$as_save_IFS
                   9605: 
                   9606: fi
                   9607: fi
                   9608: STRIP=$ac_cv_prog_STRIP
                   9609: if test -n "$STRIP"; then
                   9610:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   9611: $as_echo "$STRIP" >&6; }
                   9612: else
                   9613:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9614: $as_echo "no" >&6; }
                   9615: fi
                   9616: 
                   9617: 
                   9618: fi
                   9619: if test -z "$ac_cv_prog_STRIP"; then
                   9620:   ac_ct_STRIP=$STRIP
                   9621:   # Extract the first word of "strip", so it can be a program name with args.
                   9622: set dummy strip; ac_word=$2
                   9623: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9624: $as_echo_n "checking for $ac_word... " >&6; }
                   9625: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   9626:   $as_echo_n "(cached) " >&6
                   9627: else
                   9628:   if test -n "$ac_ct_STRIP"; then
                   9629:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   9630: else
                   9631: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9632: for as_dir in $PATH
                   9633: do
                   9634:   IFS=$as_save_IFS
                   9635:   test -z "$as_dir" && as_dir=.
                   9636:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9637:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9638:     ac_cv_prog_ac_ct_STRIP="strip"
                   9639:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9640:     break 2
                   9641:   fi
                   9642: done
                   9643:   done
                   9644: IFS=$as_save_IFS
                   9645: 
                   9646: fi
                   9647: fi
                   9648: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   9649: if test -n "$ac_ct_STRIP"; then
                   9650:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   9651: $as_echo "$ac_ct_STRIP" >&6; }
                   9652: else
                   9653:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9654: $as_echo "no" >&6; }
                   9655: fi
                   9656: 
                   9657:   if test "x$ac_ct_STRIP" = x; then
                   9658:     STRIP=":"
                   9659:   else
                   9660:     case $cross_compiling:$ac_tool_warned in
                   9661: yes:)
                   9662: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9663: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9664: ac_tool_warned=yes ;;
                   9665: esac
                   9666:     STRIP=$ac_ct_STRIP
                   9667:   fi
                   9668: else
                   9669:   STRIP="$ac_cv_prog_STRIP"
                   9670: fi
                   9671: 
                   9672: test -z "$STRIP" && STRIP=:
                   9673: 
                   9674: 
                   9675: 
                   9676: 
                   9677: 
                   9678: 
                   9679: if test -n "$ac_tool_prefix"; then
                   9680:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   9681: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   9682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9683: $as_echo_n "checking for $ac_word... " >&6; }
                   9684: if ${ac_cv_prog_RANLIB+:} false; then :
                   9685:   $as_echo_n "(cached) " >&6
                   9686: else
                   9687:   if test -n "$RANLIB"; then
                   9688:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   9689: else
                   9690: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9691: for as_dir in $PATH
                   9692: do
                   9693:   IFS=$as_save_IFS
                   9694:   test -z "$as_dir" && as_dir=.
                   9695:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9696:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9697:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   9698:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9699:     break 2
                   9700:   fi
                   9701: done
                   9702:   done
                   9703: IFS=$as_save_IFS
                   9704: 
                   9705: fi
                   9706: fi
                   9707: RANLIB=$ac_cv_prog_RANLIB
                   9708: if test -n "$RANLIB"; then
                   9709:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   9710: $as_echo "$RANLIB" >&6; }
                   9711: else
                   9712:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9713: $as_echo "no" >&6; }
                   9714: fi
                   9715: 
                   9716: 
                   9717: fi
                   9718: if test -z "$ac_cv_prog_RANLIB"; then
                   9719:   ac_ct_RANLIB=$RANLIB
                   9720:   # Extract the first word of "ranlib", so it can be a program name with args.
                   9721: set dummy ranlib; ac_word=$2
                   9722: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   9723: $as_echo_n "checking for $ac_word... " >&6; }
                   9724: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   9725:   $as_echo_n "(cached) " >&6
                   9726: else
                   9727:   if test -n "$ac_ct_RANLIB"; then
                   9728:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   9729: else
                   9730: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   9731: for as_dir in $PATH
                   9732: do
                   9733:   IFS=$as_save_IFS
                   9734:   test -z "$as_dir" && as_dir=.
                   9735:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    9736:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    9737:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   9738:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   9739:     break 2
                   9740:   fi
                   9741: done
                   9742:   done
                   9743: IFS=$as_save_IFS
                   9744: 
                   9745: fi
                   9746: fi
                   9747: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   9748: if test -n "$ac_ct_RANLIB"; then
                   9749:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   9750: $as_echo "$ac_ct_RANLIB" >&6; }
                   9751: else
                   9752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9753: $as_echo "no" >&6; }
                   9754: fi
                   9755: 
                   9756:   if test "x$ac_ct_RANLIB" = x; then
                   9757:     RANLIB=":"
                   9758:   else
                   9759:     case $cross_compiling:$ac_tool_warned in
                   9760: yes:)
                   9761: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   9762: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   9763: ac_tool_warned=yes ;;
                   9764: esac
                   9765:     RANLIB=$ac_ct_RANLIB
                   9766:   fi
                   9767: else
                   9768:   RANLIB="$ac_cv_prog_RANLIB"
                   9769: fi
                   9770: 
                   9771: test -z "$RANLIB" && RANLIB=:
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: # Determine commands to create old-style static archives.
                   9779: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   9780: old_postinstall_cmds='chmod 644 $oldlib'
                   9781: old_postuninstall_cmds=
                   9782: 
                   9783: if test -n "$RANLIB"; then
                   9784:   case $host_os in
                   9785:   openbsd*)
                   9786:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
                   9787:     ;;
                   9788:   *)
                   9789:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
                   9790:     ;;
                   9791:   esac
                   9792:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   9793: fi
                   9794: 
                   9795: case $host_os in
                   9796:   darwin*)
                   9797:     lock_old_archive_extraction=yes ;;
                   9798:   *)
                   9799:     lock_old_archive_extraction=no ;;
                   9800: esac
                   9801: 
                   9802: 
                   9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: 
                   9817: 
                   9818: 
                   9819: 
                   9820: 
                   9821: 
                   9822: 
                   9823: 
                   9824: 
                   9825: 
                   9826: 
                   9827: 
                   9828: 
                   9829: 
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: # If no C compiler was specified, use CC.
                   9841: LTCC=${LTCC-"$CC"}
                   9842: 
                   9843: # If no C compiler flags were specified, use CFLAGS.
                   9844: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9845: 
                   9846: # Allow CC to be a program name with arguments.
                   9847: compiler=$CC
                   9848: 
                   9849: 
                   9850: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   9851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   9852: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   9853: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   9854:   $as_echo_n "(cached) " >&6
                   9855: else
                   9856: 
                   9857: # These are sane defaults that work on at least a few old systems.
                   9858: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   9859: 
                   9860: # Character class describing NM global symbol codes.
                   9861: symcode='[BCDEGRST]'
                   9862: 
                   9863: # Regexp to match symbols that can be accessed directly from C.
                   9864: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   9865: 
                   9866: # Define system-specific variables.
                   9867: case $host_os in
                   9868: aix*)
                   9869:   symcode='[BCDT]'
                   9870:   ;;
                   9871: cygwin* | mingw* | pw32* | cegcc*)
                   9872:   symcode='[ABCDGISTW]'
                   9873:   ;;
                   9874: hpux*)
                   9875:   if test "$host_cpu" = ia64; then
                   9876:     symcode='[ABCDEGRST]'
                   9877:   fi
                   9878:   ;;
                   9879: irix* | nonstopux*)
                   9880:   symcode='[BCDEGRST]'
                   9881:   ;;
                   9882: osf*)
                   9883:   symcode='[BCDEGQRST]'
                   9884:   ;;
                   9885: solaris*)
                   9886:   symcode='[BDRT]'
                   9887:   ;;
                   9888: sco3.2v5*)
                   9889:   symcode='[DT]'
                   9890:   ;;
                   9891: sysv4.2uw2*)
                   9892:   symcode='[DT]'
                   9893:   ;;
                   9894: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   9895:   symcode='[ABDT]'
                   9896:   ;;
                   9897: sysv4)
                   9898:   symcode='[DFNSTU]'
                   9899:   ;;
                   9900: esac
                   9901: 
                   9902: # If we're using GNU nm, then use its standard symbol codes.
                   9903: case `$NM -V 2>&1` in
                   9904: *GNU* | *'with BFD'*)
                   9905:   symcode='[ABCDGIRSTW]' ;;
                   9906: esac
                   9907: 
                   9908: # Transform an extracted symbol line into a proper C declaration.
                   9909: # Some systems (esp. on ia64) link data and code symbols differently,
                   9910: # so use this general approach.
                   9911: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   9912: 
                   9913: # Transform an extracted symbol line into symbol name and symbol address
                   9914: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   9915: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
                   9916: 
                   9917: # Handle CRLF in mingw tool chain
                   9918: opt_cr=
                   9919: case $build_os in
                   9920: mingw*)
                   9921:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   9922:   ;;
                   9923: esac
                   9924: 
                   9925: # Try without a prefix underscore, then with it.
                   9926: for ac_symprfx in "" "_"; do
                   9927: 
                   9928:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   9929:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   9930: 
                   9931:   # Write the raw and C identifiers.
                   9932:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   9933:     # Fake it for dumpbin and say T for any non-static function
                   9934:     # and D for any global variable.
                   9935:     # Also find C++ and __fastcall symbols from MSVC++,
                   9936:     # which start with @ or ?.
                   9937:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   9938: "     {last_section=section; section=\$ 3};"\
                   9939: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   9940: "     \$ 0!~/External *\|/{next};"\
                   9941: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   9942: "     {if(hide[section]) next};"\
                   9943: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   9944: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   9945: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   9946: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   9947: "     ' prfx=^$ac_symprfx"
                   9948:   else
                   9949:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   9950:   fi
                   9951:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   9952: 
                   9953:   # Check to see that the pipe works correctly.
                   9954:   pipe_works=no
                   9955: 
                   9956:   rm -f conftest*
                   9957:   cat > conftest.$ac_ext <<_LT_EOF
                   9958: #ifdef __cplusplus
                   9959: extern "C" {
                   9960: #endif
                   9961: char nm_test_var;
                   9962: void nm_test_func(void);
                   9963: void nm_test_func(void){}
                   9964: #ifdef __cplusplus
                   9965: }
                   9966: #endif
                   9967: int main(){nm_test_var='a';nm_test_func();return(0);}
                   9968: _LT_EOF
                   9969: 
                   9970:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9971:   (eval $ac_compile) 2>&5
                   9972:   ac_status=$?
                   9973:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9974:   test $ac_status = 0; }; then
                   9975:     # Now try to grab the symbols.
                   9976:     nlist=conftest.nm
                   9977:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   9978:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   9979:   ac_status=$?
                   9980:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9981:   test $ac_status = 0; } && test -s "$nlist"; then
                   9982:       # Try sorting and uniquifying the output.
                   9983:       if sort "$nlist" | uniq > "$nlist"T; then
                   9984:        mv -f "$nlist"T "$nlist"
                   9985:       else
                   9986:        rm -f "$nlist"T
                   9987:       fi
                   9988: 
                   9989:       # Make sure that we snagged all the symbols we need.
                   9990:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   9991:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   9992:          cat <<_LT_EOF > conftest.$ac_ext
                   9993: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   9994: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   9995: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   9996:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   9997: # define LT_DLSYM_CONST
                   9998: #elif defined(__osf__)
                   9999: /* This system does not cope well with relocations in const data.  */
                   10000: # define LT_DLSYM_CONST
                   10001: #else
                   10002: # define LT_DLSYM_CONST const
                   10003: #endif
                   10004: 
                   10005: #ifdef __cplusplus
                   10006: extern "C" {
                   10007: #endif
                   10008: 
                   10009: _LT_EOF
                   10010:          # Now generate the symbol file.
                   10011:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   10012: 
                   10013:          cat <<_LT_EOF >> conftest.$ac_ext
                   10014: 
                   10015: /* The mapping between symbol names and symbols.  */
                   10016: LT_DLSYM_CONST struct {
                   10017:   const char *name;
                   10018:   void       *address;
                   10019: }
                   10020: lt__PROGRAM__LTX_preloaded_symbols[] =
                   10021: {
                   10022:   { "@PROGRAM@", (void *) 0 },
                   10023: _LT_EOF
                   10024:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   10025:          cat <<\_LT_EOF >> conftest.$ac_ext
                   10026:   {0, (void *) 0}
                   10027: };
                   10028: 
                   10029: /* This works around a problem in FreeBSD linker */
                   10030: #ifdef FREEBSD_WORKAROUND
                   10031: static const void *lt_preloaded_setup() {
                   10032:   return lt__PROGRAM__LTX_preloaded_symbols;
                   10033: }
                   10034: #endif
                   10035: 
                   10036: #ifdef __cplusplus
                   10037: }
                   10038: #endif
                   10039: _LT_EOF
                   10040:          # Now try linking the two files.
                   10041:          mv conftest.$ac_objext conftstm.$ac_objext
                   10042:          lt_globsym_save_LIBS=$LIBS
                   10043:          lt_globsym_save_CFLAGS=$CFLAGS
                   10044:          LIBS="conftstm.$ac_objext"
                   10045:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   10046:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   10047:   (eval $ac_link) 2>&5
                   10048:   ac_status=$?
                   10049:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10050:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   10051:            pipe_works=yes
                   10052:          fi
                   10053:          LIBS=$lt_globsym_save_LIBS
                   10054:          CFLAGS=$lt_globsym_save_CFLAGS
                   10055:        else
                   10056:          echo "cannot find nm_test_func in $nlist" >&5
                   10057:        fi
                   10058:       else
                   10059:        echo "cannot find nm_test_var in $nlist" >&5
                   10060:       fi
                   10061:     else
                   10062:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   10063:     fi
                   10064:   else
                   10065:     echo "$progname: failed program was:" >&5
                   10066:     cat conftest.$ac_ext >&5
                   10067:   fi
                   10068:   rm -rf conftest* conftst*
                   10069: 
                   10070:   # Do not use the global_symbol_pipe unless it works.
                   10071:   if test "$pipe_works" = yes; then
                   10072:     break
                   10073:   else
                   10074:     lt_cv_sys_global_symbol_pipe=
                   10075:   fi
                   10076: done
                   10077: 
                   10078: fi
                   10079: 
                   10080: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   10081:   lt_cv_sys_global_symbol_to_cdecl=
                   10082: fi
                   10083: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   10084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   10085: $as_echo "failed" >&6; }
                   10086: else
                   10087:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   10088: $as_echo "ok" >&6; }
                   10089: fi
                   10090: 
                   10091: # Response file support.
                   10092: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   10093:   nm_file_list_spec='@'
                   10094: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   10095:   nm_file_list_spec='@'
                   10096: fi
                   10097: 
                   10098: 
                   10099: 
                   10100: 
                   10101: 
                   10102: 
                   10103: 
                   10104: 
                   10105: 
                   10106: 
                   10107: 
                   10108: 
                   10109: 
                   10110: 
                   10111: 
                   10112: 
                   10113: 
                   10114: 
                   10115: 
                   10116: 
                   10117: 
                   10118: 
                   10119: 
                   10120: 
                   10121: 
                   10122: 
                   10123: 
                   10124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   10125: $as_echo_n "checking for sysroot... " >&6; }
                   10126: 
                   10127: # Check whether --with-sysroot was given.
                   10128: if test "${with_sysroot+set}" = set; then :
                   10129:   withval=$with_sysroot;
                   10130: else
                   10131:   with_sysroot=no
                   10132: fi
                   10133: 
                   10134: 
                   10135: lt_sysroot=
                   10136: case ${with_sysroot} in #(
                   10137:  yes)
                   10138:    if test "$GCC" = yes; then
                   10139:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   10140:    fi
                   10141:    ;; #(
                   10142:  /*)
                   10143:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   10144:    ;; #(
                   10145:  no|'')
                   10146:    ;; #(
                   10147:  *)
                   10148:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   10149: $as_echo "${with_sysroot}" >&6; }
                   10150:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   10151:    ;;
                   10152: esac
                   10153: 
                   10154:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   10155: $as_echo "${lt_sysroot:-no}" >&6; }
                   10156: 
                   10157: 
                   10158: 
                   10159: 
                   10160: 
                   10161: # Check whether --enable-libtool-lock was given.
                   10162: if test "${enable_libtool_lock+set}" = set; then :
                   10163:   enableval=$enable_libtool_lock;
                   10164: fi
                   10165: 
                   10166: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   10167: 
                   10168: # Some flags need to be propagated to the compiler or linker for good
                   10169: # libtool support.
                   10170: case $host in
                   10171: ia64-*-hpux*)
                   10172:   # Find out which ABI we are using.
                   10173:   echo 'int i;' > conftest.$ac_ext
                   10174:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10175:   (eval $ac_compile) 2>&5
                   10176:   ac_status=$?
                   10177:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10178:   test $ac_status = 0; }; then
                   10179:     case `/usr/bin/file conftest.$ac_objext` in
                   10180:       *ELF-32*)
                   10181:        HPUX_IA64_MODE="32"
                   10182:        ;;
                   10183:       *ELF-64*)
                   10184:        HPUX_IA64_MODE="64"
                   10185:        ;;
                   10186:     esac
                   10187:   fi
                   10188:   rm -rf conftest*
                   10189:   ;;
                   10190: *-*-irix6*)
                   10191:   # Find out which ABI we are using.
                   10192:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   10193:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10194:   (eval $ac_compile) 2>&5
                   10195:   ac_status=$?
                   10196:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10197:   test $ac_status = 0; }; then
                   10198:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   10199:       case `/usr/bin/file conftest.$ac_objext` in
                   10200:        *32-bit*)
                   10201:          LD="${LD-ld} -melf32bsmip"
                   10202:          ;;
                   10203:        *N32*)
                   10204:          LD="${LD-ld} -melf32bmipn32"
                   10205:          ;;
                   10206:        *64-bit*)
                   10207:          LD="${LD-ld} -melf64bmip"
                   10208:        ;;
                   10209:       esac
                   10210:     else
                   10211:       case `/usr/bin/file conftest.$ac_objext` in
                   10212:        *32-bit*)
                   10213:          LD="${LD-ld} -32"
                   10214:          ;;
                   10215:        *N32*)
                   10216:          LD="${LD-ld} -n32"
                   10217:          ;;
                   10218:        *64-bit*)
                   10219:          LD="${LD-ld} -64"
                   10220:          ;;
                   10221:       esac
                   10222:     fi
                   10223:   fi
                   10224:   rm -rf conftest*
                   10225:   ;;
                   10226: 
                   10227: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   10228: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   10229:   # Find out which ABI we are using.
                   10230:   echo 'int i;' > conftest.$ac_ext
                   10231:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10232:   (eval $ac_compile) 2>&5
                   10233:   ac_status=$?
                   10234:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10235:   test $ac_status = 0; }; then
                   10236:     case `/usr/bin/file conftest.o` in
                   10237:       *32-bit*)
                   10238:        case $host in
                   10239:          x86_64-*kfreebsd*-gnu)
                   10240:            LD="${LD-ld} -m elf_i386_fbsd"
                   10241:            ;;
                   10242:          x86_64-*linux*)
                   10243:            LD="${LD-ld} -m elf_i386"
                   10244:            ;;
                   10245:          ppc64-*linux*|powerpc64-*linux*)
                   10246:            LD="${LD-ld} -m elf32ppclinux"
                   10247:            ;;
                   10248:          s390x-*linux*)
                   10249:            LD="${LD-ld} -m elf_s390"
                   10250:            ;;
                   10251:          sparc64-*linux*)
                   10252:            LD="${LD-ld} -m elf32_sparc"
                   10253:            ;;
                   10254:        esac
                   10255:        ;;
                   10256:       *64-bit*)
                   10257:        case $host in
                   10258:          x86_64-*kfreebsd*-gnu)
                   10259:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   10260:            ;;
                   10261:          x86_64-*linux*)
                   10262:            LD="${LD-ld} -m elf_x86_64"
                   10263:            ;;
                   10264:          ppc*-*linux*|powerpc*-*linux*)
                   10265:            LD="${LD-ld} -m elf64ppc"
                   10266:            ;;
                   10267:          s390*-*linux*|s390*-*tpf*)
                   10268:            LD="${LD-ld} -m elf64_s390"
                   10269:            ;;
                   10270:          sparc*-*linux*)
                   10271:            LD="${LD-ld} -m elf64_sparc"
                   10272:            ;;
                   10273:        esac
                   10274:        ;;
                   10275:     esac
                   10276:   fi
                   10277:   rm -rf conftest*
                   10278:   ;;
                   10279: 
                   10280: *-*-sco3.2v5*)
                   10281:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   10282:   SAVE_CFLAGS="$CFLAGS"
                   10283:   CFLAGS="$CFLAGS -belf"
                   10284:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   10285: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   10286: if ${lt_cv_cc_needs_belf+:} false; then :
                   10287:   $as_echo_n "(cached) " >&6
                   10288: else
                   10289:   ac_ext=c
                   10290: ac_cpp='$CPP $CPPFLAGS'
                   10291: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10292: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10293: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   10294: 
                   10295:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10296: /* end confdefs.h.  */
                   10297: 
                   10298: int
                   10299: main ()
                   10300: {
                   10301: 
                   10302:   ;
                   10303:   return 0;
                   10304: }
                   10305: _ACEOF
                   10306: if ac_fn_c_try_link "$LINENO"; then :
                   10307:   lt_cv_cc_needs_belf=yes
                   10308: else
                   10309:   lt_cv_cc_needs_belf=no
                   10310: fi
                   10311: rm -f core conftest.err conftest.$ac_objext \
                   10312:     conftest$ac_exeext conftest.$ac_ext
                   10313:      ac_ext=c
                   10314: ac_cpp='$CPP $CPPFLAGS'
                   10315: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   10316: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   10317: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   10318: 
                   10319: fi
                   10320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   10321: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   10322:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   10323:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   10324:     CFLAGS="$SAVE_CFLAGS"
                   10325:   fi
                   10326:   ;;
                   10327: sparc*-*solaris*)
                   10328:   # Find out which ABI we are using.
                   10329:   echo 'int i;' > conftest.$ac_ext
                   10330:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10331:   (eval $ac_compile) 2>&5
                   10332:   ac_status=$?
                   10333:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10334:   test $ac_status = 0; }; then
                   10335:     case `/usr/bin/file conftest.o` in
                   10336:     *64-bit*)
                   10337:       case $lt_cv_prog_gnu_ld in
                   10338:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
                   10339:       *)
                   10340:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   10341:          LD="${LD-ld} -64"
                   10342:        fi
                   10343:        ;;
                   10344:       esac
                   10345:       ;;
                   10346:     esac
                   10347:   fi
                   10348:   rm -rf conftest*
                   10349:   ;;
                   10350: esac
                   10351: 
                   10352: need_locks="$enable_libtool_lock"
                   10353: 
                   10354: if test -n "$ac_tool_prefix"; then
                   10355:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   10356: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   10357: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10358: $as_echo_n "checking for $ac_word... " >&6; }
                   10359: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   10360:   $as_echo_n "(cached) " >&6
                   10361: else
                   10362:   if test -n "$MANIFEST_TOOL"; then
                   10363:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   10364: else
                   10365: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10366: for as_dir in $PATH
                   10367: do
                   10368:   IFS=$as_save_IFS
                   10369:   test -z "$as_dir" && as_dir=.
                   10370:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10371:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10372:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   10373:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10374:     break 2
                   10375:   fi
                   10376: done
                   10377:   done
                   10378: IFS=$as_save_IFS
                   10379: 
                   10380: fi
                   10381: fi
                   10382: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   10383: if test -n "$MANIFEST_TOOL"; then
                   10384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   10385: $as_echo "$MANIFEST_TOOL" >&6; }
                   10386: else
                   10387:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10388: $as_echo "no" >&6; }
                   10389: fi
                   10390: 
                   10391: 
                   10392: fi
                   10393: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   10394:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   10395:   # Extract the first word of "mt", so it can be a program name with args.
                   10396: set dummy mt; ac_word=$2
                   10397: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10398: $as_echo_n "checking for $ac_word... " >&6; }
                   10399: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   10400:   $as_echo_n "(cached) " >&6
                   10401: else
                   10402:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   10403:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   10404: else
                   10405: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10406: for as_dir in $PATH
                   10407: do
                   10408:   IFS=$as_save_IFS
                   10409:   test -z "$as_dir" && as_dir=.
                   10410:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10411:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10412:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   10413:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10414:     break 2
                   10415:   fi
                   10416: done
                   10417:   done
                   10418: IFS=$as_save_IFS
                   10419: 
                   10420: fi
                   10421: fi
                   10422: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   10423: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   10424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   10425: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   10426: else
                   10427:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10428: $as_echo "no" >&6; }
                   10429: fi
                   10430: 
                   10431:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   10432:     MANIFEST_TOOL=":"
                   10433:   else
                   10434:     case $cross_compiling:$ac_tool_warned in
                   10435: yes:)
                   10436: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10437: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10438: ac_tool_warned=yes ;;
                   10439: esac
                   10440:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   10441:   fi
                   10442: else
                   10443:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   10444: fi
                   10445: 
                   10446: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   10447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   10448: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   10449: if ${lt_cv_path_mainfest_tool+:} false; then :
                   10450:   $as_echo_n "(cached) " >&6
                   10451: else
                   10452:   lt_cv_path_mainfest_tool=no
                   10453:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   10454:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   10455:   cat conftest.err >&5
                   10456:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   10457:     lt_cv_path_mainfest_tool=yes
                   10458:   fi
                   10459:   rm -f conftest*
                   10460: fi
                   10461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   10462: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   10463: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   10464:   MANIFEST_TOOL=:
                   10465: fi
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472:   case $host_os in
                   10473:     rhapsody* | darwin*)
                   10474:     if test -n "$ac_tool_prefix"; then
                   10475:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   10476: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   10477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10478: $as_echo_n "checking for $ac_word... " >&6; }
                   10479: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   10480:   $as_echo_n "(cached) " >&6
                   10481: else
                   10482:   if test -n "$DSYMUTIL"; then
                   10483:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   10484: else
                   10485: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10486: for as_dir in $PATH
                   10487: do
                   10488:   IFS=$as_save_IFS
                   10489:   test -z "$as_dir" && as_dir=.
                   10490:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10491:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10492:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   10493:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10494:     break 2
                   10495:   fi
                   10496: done
                   10497:   done
                   10498: IFS=$as_save_IFS
                   10499: 
                   10500: fi
                   10501: fi
                   10502: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   10503: if test -n "$DSYMUTIL"; then
                   10504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   10505: $as_echo "$DSYMUTIL" >&6; }
                   10506: else
                   10507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10508: $as_echo "no" >&6; }
                   10509: fi
                   10510: 
                   10511: 
                   10512: fi
                   10513: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   10514:   ac_ct_DSYMUTIL=$DSYMUTIL
                   10515:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   10516: set dummy dsymutil; ac_word=$2
                   10517: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10518: $as_echo_n "checking for $ac_word... " >&6; }
                   10519: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   10520:   $as_echo_n "(cached) " >&6
                   10521: else
                   10522:   if test -n "$ac_ct_DSYMUTIL"; then
                   10523:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   10524: else
                   10525: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10526: for as_dir in $PATH
                   10527: do
                   10528:   IFS=$as_save_IFS
                   10529:   test -z "$as_dir" && as_dir=.
                   10530:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10531:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10532:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   10533:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10534:     break 2
                   10535:   fi
                   10536: done
                   10537:   done
                   10538: IFS=$as_save_IFS
                   10539: 
                   10540: fi
                   10541: fi
                   10542: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   10543: if test -n "$ac_ct_DSYMUTIL"; then
                   10544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   10545: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   10546: else
                   10547:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10548: $as_echo "no" >&6; }
                   10549: fi
                   10550: 
                   10551:   if test "x$ac_ct_DSYMUTIL" = x; then
                   10552:     DSYMUTIL=":"
                   10553:   else
                   10554:     case $cross_compiling:$ac_tool_warned in
                   10555: yes:)
                   10556: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10557: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10558: ac_tool_warned=yes ;;
                   10559: esac
                   10560:     DSYMUTIL=$ac_ct_DSYMUTIL
                   10561:   fi
                   10562: else
                   10563:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   10564: fi
                   10565: 
                   10566:     if test -n "$ac_tool_prefix"; then
                   10567:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   10568: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   10569: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10570: $as_echo_n "checking for $ac_word... " >&6; }
                   10571: if ${ac_cv_prog_NMEDIT+:} false; then :
                   10572:   $as_echo_n "(cached) " >&6
                   10573: else
                   10574:   if test -n "$NMEDIT"; then
                   10575:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   10576: else
                   10577: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10578: for as_dir in $PATH
                   10579: do
                   10580:   IFS=$as_save_IFS
                   10581:   test -z "$as_dir" && as_dir=.
                   10582:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10583:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10584:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   10585:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10586:     break 2
                   10587:   fi
                   10588: done
                   10589:   done
                   10590: IFS=$as_save_IFS
                   10591: 
                   10592: fi
                   10593: fi
                   10594: NMEDIT=$ac_cv_prog_NMEDIT
                   10595: if test -n "$NMEDIT"; then
                   10596:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   10597: $as_echo "$NMEDIT" >&6; }
                   10598: else
                   10599:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10600: $as_echo "no" >&6; }
                   10601: fi
                   10602: 
                   10603: 
                   10604: fi
                   10605: if test -z "$ac_cv_prog_NMEDIT"; then
                   10606:   ac_ct_NMEDIT=$NMEDIT
                   10607:   # Extract the first word of "nmedit", so it can be a program name with args.
                   10608: set dummy nmedit; ac_word=$2
                   10609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10610: $as_echo_n "checking for $ac_word... " >&6; }
                   10611: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   10612:   $as_echo_n "(cached) " >&6
                   10613: else
                   10614:   if test -n "$ac_ct_NMEDIT"; then
                   10615:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   10616: else
                   10617: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10618: for as_dir in $PATH
                   10619: do
                   10620:   IFS=$as_save_IFS
                   10621:   test -z "$as_dir" && as_dir=.
                   10622:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10623:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10624:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   10625:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10626:     break 2
                   10627:   fi
                   10628: done
                   10629:   done
                   10630: IFS=$as_save_IFS
                   10631: 
                   10632: fi
                   10633: fi
                   10634: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   10635: if test -n "$ac_ct_NMEDIT"; then
                   10636:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   10637: $as_echo "$ac_ct_NMEDIT" >&6; }
                   10638: else
                   10639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10640: $as_echo "no" >&6; }
                   10641: fi
                   10642: 
                   10643:   if test "x$ac_ct_NMEDIT" = x; then
                   10644:     NMEDIT=":"
                   10645:   else
                   10646:     case $cross_compiling:$ac_tool_warned in
                   10647: yes:)
                   10648: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10649: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10650: ac_tool_warned=yes ;;
                   10651: esac
                   10652:     NMEDIT=$ac_ct_NMEDIT
                   10653:   fi
                   10654: else
                   10655:   NMEDIT="$ac_cv_prog_NMEDIT"
                   10656: fi
                   10657: 
                   10658:     if test -n "$ac_tool_prefix"; then
                   10659:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   10660: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   10661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10662: $as_echo_n "checking for $ac_word... " >&6; }
                   10663: if ${ac_cv_prog_LIPO+:} false; then :
                   10664:   $as_echo_n "(cached) " >&6
                   10665: else
                   10666:   if test -n "$LIPO"; then
                   10667:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   10668: else
                   10669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10670: for as_dir in $PATH
                   10671: do
                   10672:   IFS=$as_save_IFS
                   10673:   test -z "$as_dir" && as_dir=.
                   10674:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10675:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10676:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   10677:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10678:     break 2
                   10679:   fi
                   10680: done
                   10681:   done
                   10682: IFS=$as_save_IFS
                   10683: 
                   10684: fi
                   10685: fi
                   10686: LIPO=$ac_cv_prog_LIPO
                   10687: if test -n "$LIPO"; then
                   10688:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   10689: $as_echo "$LIPO" >&6; }
                   10690: else
                   10691:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10692: $as_echo "no" >&6; }
                   10693: fi
                   10694: 
                   10695: 
                   10696: fi
                   10697: if test -z "$ac_cv_prog_LIPO"; then
                   10698:   ac_ct_LIPO=$LIPO
                   10699:   # Extract the first word of "lipo", so it can be a program name with args.
                   10700: set dummy lipo; ac_word=$2
                   10701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10702: $as_echo_n "checking for $ac_word... " >&6; }
                   10703: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   10704:   $as_echo_n "(cached) " >&6
                   10705: else
                   10706:   if test -n "$ac_ct_LIPO"; then
                   10707:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   10708: else
                   10709: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10710: for as_dir in $PATH
                   10711: do
                   10712:   IFS=$as_save_IFS
                   10713:   test -z "$as_dir" && as_dir=.
                   10714:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10715:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10716:     ac_cv_prog_ac_ct_LIPO="lipo"
                   10717:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10718:     break 2
                   10719:   fi
                   10720: done
                   10721:   done
                   10722: IFS=$as_save_IFS
                   10723: 
                   10724: fi
                   10725: fi
                   10726: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   10727: if test -n "$ac_ct_LIPO"; then
                   10728:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   10729: $as_echo "$ac_ct_LIPO" >&6; }
                   10730: else
                   10731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10732: $as_echo "no" >&6; }
                   10733: fi
                   10734: 
                   10735:   if test "x$ac_ct_LIPO" = x; then
                   10736:     LIPO=":"
                   10737:   else
                   10738:     case $cross_compiling:$ac_tool_warned in
                   10739: yes:)
                   10740: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10741: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10742: ac_tool_warned=yes ;;
                   10743: esac
                   10744:     LIPO=$ac_ct_LIPO
                   10745:   fi
                   10746: else
                   10747:   LIPO="$ac_cv_prog_LIPO"
                   10748: fi
                   10749: 
                   10750:     if test -n "$ac_tool_prefix"; then
                   10751:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   10752: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   10753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10754: $as_echo_n "checking for $ac_word... " >&6; }
                   10755: if ${ac_cv_prog_OTOOL+:} false; then :
                   10756:   $as_echo_n "(cached) " >&6
                   10757: else
                   10758:   if test -n "$OTOOL"; then
                   10759:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   10760: else
                   10761: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10762: for as_dir in $PATH
                   10763: do
                   10764:   IFS=$as_save_IFS
                   10765:   test -z "$as_dir" && as_dir=.
                   10766:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10767:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10768:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   10769:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10770:     break 2
                   10771:   fi
                   10772: done
                   10773:   done
                   10774: IFS=$as_save_IFS
                   10775: 
                   10776: fi
                   10777: fi
                   10778: OTOOL=$ac_cv_prog_OTOOL
                   10779: if test -n "$OTOOL"; then
                   10780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   10781: $as_echo "$OTOOL" >&6; }
                   10782: else
                   10783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10784: $as_echo "no" >&6; }
                   10785: fi
                   10786: 
                   10787: 
                   10788: fi
                   10789: if test -z "$ac_cv_prog_OTOOL"; then
                   10790:   ac_ct_OTOOL=$OTOOL
                   10791:   # Extract the first word of "otool", so it can be a program name with args.
                   10792: set dummy otool; ac_word=$2
                   10793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10794: $as_echo_n "checking for $ac_word... " >&6; }
                   10795: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   10796:   $as_echo_n "(cached) " >&6
                   10797: else
                   10798:   if test -n "$ac_ct_OTOOL"; then
                   10799:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   10800: else
                   10801: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10802: for as_dir in $PATH
                   10803: do
                   10804:   IFS=$as_save_IFS
                   10805:   test -z "$as_dir" && as_dir=.
                   10806:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10807:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10808:     ac_cv_prog_ac_ct_OTOOL="otool"
                   10809:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10810:     break 2
                   10811:   fi
                   10812: done
                   10813:   done
                   10814: IFS=$as_save_IFS
                   10815: 
                   10816: fi
                   10817: fi
                   10818: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   10819: if test -n "$ac_ct_OTOOL"; then
                   10820:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   10821: $as_echo "$ac_ct_OTOOL" >&6; }
                   10822: else
                   10823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10824: $as_echo "no" >&6; }
                   10825: fi
                   10826: 
                   10827:   if test "x$ac_ct_OTOOL" = x; then
                   10828:     OTOOL=":"
                   10829:   else
                   10830:     case $cross_compiling:$ac_tool_warned in
                   10831: yes:)
                   10832: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10833: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10834: ac_tool_warned=yes ;;
                   10835: esac
                   10836:     OTOOL=$ac_ct_OTOOL
                   10837:   fi
                   10838: else
                   10839:   OTOOL="$ac_cv_prog_OTOOL"
                   10840: fi
                   10841: 
                   10842:     if test -n "$ac_tool_prefix"; then
                   10843:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   10844: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   10845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10846: $as_echo_n "checking for $ac_word... " >&6; }
                   10847: if ${ac_cv_prog_OTOOL64+:} false; then :
                   10848:   $as_echo_n "(cached) " >&6
                   10849: else
                   10850:   if test -n "$OTOOL64"; then
                   10851:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   10852: else
                   10853: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10854: for as_dir in $PATH
                   10855: do
                   10856:   IFS=$as_save_IFS
                   10857:   test -z "$as_dir" && as_dir=.
                   10858:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10859:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10860:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   10861:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10862:     break 2
                   10863:   fi
                   10864: done
                   10865:   done
                   10866: IFS=$as_save_IFS
                   10867: 
                   10868: fi
                   10869: fi
                   10870: OTOOL64=$ac_cv_prog_OTOOL64
                   10871: if test -n "$OTOOL64"; then
                   10872:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   10873: $as_echo "$OTOOL64" >&6; }
                   10874: else
                   10875:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10876: $as_echo "no" >&6; }
                   10877: fi
                   10878: 
                   10879: 
                   10880: fi
                   10881: if test -z "$ac_cv_prog_OTOOL64"; then
                   10882:   ac_ct_OTOOL64=$OTOOL64
                   10883:   # Extract the first word of "otool64", so it can be a program name with args.
                   10884: set dummy otool64; ac_word=$2
                   10885: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   10886: $as_echo_n "checking for $ac_word... " >&6; }
                   10887: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   10888:   $as_echo_n "(cached) " >&6
                   10889: else
                   10890:   if test -n "$ac_ct_OTOOL64"; then
                   10891:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   10892: else
                   10893: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   10894: for as_dir in $PATH
                   10895: do
                   10896:   IFS=$as_save_IFS
                   10897:   test -z "$as_dir" && as_dir=.
                   10898:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    10899:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    10900:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   10901:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   10902:     break 2
                   10903:   fi
                   10904: done
                   10905:   done
                   10906: IFS=$as_save_IFS
                   10907: 
                   10908: fi
                   10909: fi
                   10910: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   10911: if test -n "$ac_ct_OTOOL64"; then
                   10912:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   10913: $as_echo "$ac_ct_OTOOL64" >&6; }
                   10914: else
                   10915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   10916: $as_echo "no" >&6; }
                   10917: fi
                   10918: 
                   10919:   if test "x$ac_ct_OTOOL64" = x; then
                   10920:     OTOOL64=":"
                   10921:   else
                   10922:     case $cross_compiling:$ac_tool_warned in
                   10923: yes:)
                   10924: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   10925: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   10926: ac_tool_warned=yes ;;
                   10927: esac
                   10928:     OTOOL64=$ac_ct_OTOOL64
                   10929:   fi
                   10930: else
                   10931:   OTOOL64="$ac_cv_prog_OTOOL64"
                   10932: fi
                   10933: 
                   10934: 
                   10935: 
                   10936: 
                   10937: 
                   10938: 
                   10939: 
                   10940: 
                   10941: 
                   10942: 
                   10943: 
                   10944: 
                   10945: 
                   10946: 
                   10947: 
                   10948: 
                   10949: 
                   10950: 
                   10951: 
                   10952: 
                   10953: 
                   10954: 
                   10955: 
                   10956: 
                   10957: 
                   10958: 
                   10959: 
                   10960:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   10961: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   10962: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   10963:   $as_echo_n "(cached) " >&6
                   10964: else
                   10965:   lt_cv_apple_cc_single_mod=no
                   10966:       if test -z "${LT_MULTI_MODULE}"; then
                   10967:        # By default we will add the -single_module flag. You can override
                   10968:        # by either setting the environment variable LT_MULTI_MODULE
                   10969:        # non-empty at configure time, or by adding -multi_module to the
                   10970:        # link flags.
                   10971:        rm -rf libconftest.dylib*
                   10972:        echo "int foo(void){return 1;}" > conftest.c
                   10973:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10974: -dynamiclib -Wl,-single_module conftest.c" >&5
                   10975:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   10976:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   10977:         _lt_result=$?
                   10978:        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
                   10979:          lt_cv_apple_cc_single_mod=yes
                   10980:        else
                   10981:          cat conftest.err >&5
                   10982:        fi
                   10983:        rm -rf libconftest.dylib*
                   10984:        rm -f conftest.*
                   10985:       fi
                   10986: fi
                   10987: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   10988: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   10989:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   10990: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   10991: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   10992:   $as_echo_n "(cached) " >&6
                   10993: else
                   10994:   lt_cv_ld_exported_symbols_list=no
                   10995:       save_LDFLAGS=$LDFLAGS
                   10996:       echo "_main" > conftest.sym
                   10997:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   10998:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10999: /* end confdefs.h.  */
                   11000: 
                   11001: int
                   11002: main ()
                   11003: {
                   11004: 
                   11005:   ;
                   11006:   return 0;
                   11007: }
                   11008: _ACEOF
                   11009: if ac_fn_c_try_link "$LINENO"; then :
                   11010:   lt_cv_ld_exported_symbols_list=yes
                   11011: else
                   11012:   lt_cv_ld_exported_symbols_list=no
                   11013: fi
                   11014: rm -f core conftest.err conftest.$ac_objext \
                   11015:     conftest$ac_exeext conftest.$ac_ext
                   11016:        LDFLAGS="$save_LDFLAGS"
                   11017: 
                   11018: fi
                   11019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   11020: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   11021:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   11022: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   11023: if ${lt_cv_ld_force_load+:} false; then :
                   11024:   $as_echo_n "(cached) " >&6
                   11025: else
                   11026:   lt_cv_ld_force_load=no
                   11027:       cat > conftest.c << _LT_EOF
                   11028: int forced_loaded() { return 2;}
                   11029: _LT_EOF
                   11030:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   11031:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   11032:       echo "$AR cru libconftest.a conftest.o" >&5
                   11033:       $AR cru libconftest.a conftest.o 2>&5
                   11034:       echo "$RANLIB libconftest.a" >&5
                   11035:       $RANLIB libconftest.a 2>&5
                   11036:       cat > conftest.c << _LT_EOF
                   11037: int main() { return 0;}
                   11038: _LT_EOF
                   11039:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   11040:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   11041:       _lt_result=$?
                   11042:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
                   11043:        lt_cv_ld_force_load=yes
                   11044:       else
                   11045:        cat conftest.err >&5
                   11046:       fi
                   11047:         rm -f conftest.err libconftest.a conftest conftest.c
                   11048:         rm -rf conftest.dSYM
                   11049: 
                   11050: fi
                   11051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   11052: $as_echo "$lt_cv_ld_force_load" >&6; }
                   11053:     case $host_os in
                   11054:     rhapsody* | darwin1.[012])
                   11055:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   11056:     darwin1.*)
                   11057:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   11058:     darwin*) # darwin 5.x on
                   11059:       # if running on 10.5 or later, the deployment target defaults
                   11060:       # to the OS version, if on x86, and 10.4, the deployment
                   11061:       # target defaults to 10.4. Don't you love it?
                   11062:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   11063:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   11064:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   11065:        10.[012]*)
                   11066:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   11067:        10.*)
                   11068:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   11069:       esac
                   11070:     ;;
                   11071:   esac
                   11072:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   11073:       _lt_dar_single_mod='$single_module'
                   11074:     fi
                   11075:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   11076:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   11077:     else
                   11078:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   11079:     fi
                   11080:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   11081:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   11082:     else
                   11083:       _lt_dsymutil=
                   11084:     fi
                   11085:     ;;
                   11086:   esac
                   11087: 
                   11088: for ac_header in dlfcn.h
                   11089: do :
                   11090:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   11091: "
                   11092: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   11093:   cat >>confdefs.h <<_ACEOF
                   11094: #define HAVE_DLFCN_H 1
                   11095: _ACEOF
                   11096: 
                   11097: fi
                   11098: 
                   11099: done
                   11100: 
                   11101: 
                   11102: 
                   11103: 
                   11104: 
                   11105: # Set options
                   11106: 
                   11107: 
                   11108: 
                   11109:         enable_dlopen=no
                   11110: 
                   11111: 
                   11112:   enable_win32_dll=no
                   11113: 
                   11114: 
                   11115: 
                   11116:   # Check whether --enable-static was given.
                   11117: if test "${enable_static+set}" = set; then :
                   11118:   enableval=$enable_static; p=${PACKAGE-default}
                   11119:     case $enableval in
                   11120:     yes) enable_static=yes ;;
                   11121:     no) enable_static=no ;;
                   11122:     *)
                   11123:      enable_static=no
                   11124:       # Look at the argument we got.  We use all the common list separators.
                   11125:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   11126:       for pkg in $enableval; do
                   11127:        IFS="$lt_save_ifs"
                   11128:        if test "X$pkg" = "X$p"; then
                   11129:          enable_static=yes
                   11130:        fi
                   11131:       done
                   11132:       IFS="$lt_save_ifs"
                   11133:       ;;
                   11134:     esac
                   11135: else
                   11136:   enable_static=yes
                   11137: fi
                   11138: 
                   11139: 
                   11140: 
                   11141: 
                   11142: 
                   11143: 
                   11144: 
                   11145: 
                   11146: 
                   11147: 
                   11148: # Check whether --with-pic was given.
                   11149: if test "${with_pic+set}" = set; then :
                   11150:   withval=$with_pic; pic_mode="$withval"
                   11151: else
                   11152:   pic_mode=default
                   11153: fi
                   11154: 
                   11155: 
                   11156: test -z "$pic_mode" && pic_mode=default
                   11157: 
                   11158: 
                   11159: 
                   11160: 
                   11161: 
                   11162: 
                   11163: 
                   11164:   # Check whether --enable-fast-install was given.
                   11165: if test "${enable_fast_install+set}" = set; then :
                   11166:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   11167:     case $enableval in
                   11168:     yes) enable_fast_install=yes ;;
                   11169:     no) enable_fast_install=no ;;
                   11170:     *)
                   11171:       enable_fast_install=no
                   11172:       # Look at the argument we got.  We use all the common list separators.
                   11173:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   11174:       for pkg in $enableval; do
                   11175:        IFS="$lt_save_ifs"
                   11176:        if test "X$pkg" = "X$p"; then
                   11177:          enable_fast_install=yes
                   11178:        fi
                   11179:       done
                   11180:       IFS="$lt_save_ifs"
                   11181:       ;;
                   11182:     esac
                   11183: else
                   11184:   enable_fast_install=yes
                   11185: fi
                   11186: 
                   11187: 
                   11188: 
                   11189: 
                   11190: 
                   11191: 
                   11192: 
                   11193: 
                   11194: 
                   11195: 
                   11196: 
                   11197: # This can be used to rebuild libtool when needed
                   11198: LIBTOOL_DEPS="$ltmain"
                   11199: 
                   11200: # Always use our own libtool.
                   11201: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   11202: 
                   11203: 
                   11204: 
                   11205: 
                   11206: 
                   11207: 
                   11208: 
                   11209: 
                   11210: 
                   11211: 
                   11212: 
                   11213: 
                   11214: 
                   11215: 
                   11216: 
                   11217: 
                   11218: 
                   11219: 
                   11220: 
                   11221: 
                   11222: 
                   11223: 
                   11224: 
                   11225: 
                   11226: 
                   11227: 
                   11228: test -z "$LN_S" && LN_S="ln -s"
                   11229: 
                   11230: 
                   11231: 
                   11232: 
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: 
                   11238: 
                   11239: 
                   11240: 
                   11241: 
                   11242: 
                   11243: if test -n "${ZSH_VERSION+set}" ; then
                   11244:    setopt NO_GLOB_SUBST
                   11245: fi
                   11246: 
                   11247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   11248: $as_echo_n "checking for objdir... " >&6; }
                   11249: if ${lt_cv_objdir+:} false; then :
                   11250:   $as_echo_n "(cached) " >&6
                   11251: else
                   11252:   rm -f .libs 2>/dev/null
                   11253: mkdir .libs 2>/dev/null
                   11254: if test -d .libs; then
                   11255:   lt_cv_objdir=.libs
                   11256: else
                   11257:   # MS-DOS does not allow filenames that begin with a dot.
                   11258:   lt_cv_objdir=_libs
                   11259: fi
                   11260: rmdir .libs 2>/dev/null
                   11261: fi
                   11262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   11263: $as_echo "$lt_cv_objdir" >&6; }
                   11264: objdir=$lt_cv_objdir
                   11265: 
                   11266: 
                   11267: 
                   11268: 
                   11269: 
                   11270: cat >>confdefs.h <<_ACEOF
                   11271: #define LT_OBJDIR "$lt_cv_objdir/"
                   11272: _ACEOF
                   11273: 
                   11274: 
                   11275: 
                   11276: 
                   11277: case $host_os in
                   11278: aix3*)
                   11279:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   11280:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   11281:   # vanish in a puff of smoke.
                   11282:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   11283:     COLLECT_NAMES=
                   11284:     export COLLECT_NAMES
                   11285:   fi
                   11286:   ;;
                   11287: esac
                   11288: 
                   11289: # Global variables:
                   11290: ofile=libtool
                   11291: can_build_shared=yes
                   11292: 
                   11293: # All known linkers require a `.a' archive for static linking (except MSVC,
                   11294: # which needs '.lib').
                   11295: libext=a
                   11296: 
                   11297: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   11298: 
                   11299: old_CC="$CC"
                   11300: old_CFLAGS="$CFLAGS"
                   11301: 
                   11302: # Set sane defaults for various variables
                   11303: test -z "$CC" && CC=cc
                   11304: test -z "$LTCC" && LTCC=$CC
                   11305: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   11306: test -z "$LD" && LD=ld
                   11307: test -z "$ac_objext" && ac_objext=o
                   11308: 
                   11309: for cc_temp in $compiler""; do
                   11310:   case $cc_temp in
                   11311:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   11312:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   11313:     \-*) ;;
                   11314:     *) break;;
                   11315:   esac
                   11316: done
                   11317: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   11318: 
                   11319: 
                   11320: # Only perform the check for file, if the check method requires it
                   11321: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   11322: case $deplibs_check_method in
                   11323: file_magic*)
                   11324:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   11325:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   11326: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   11327: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   11328:   $as_echo_n "(cached) " >&6
                   11329: else
                   11330:   case $MAGIC_CMD in
                   11331: [\\/*] |  ?:[\\/]*)
                   11332:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   11333:   ;;
                   11334: *)
                   11335:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   11336:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   11337:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11338:   for ac_dir in $ac_dummy; do
                   11339:     IFS="$lt_save_ifs"
                   11340:     test -z "$ac_dir" && ac_dir=.
                   11341:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   11342:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   11343:       if test -n "$file_magic_test_file"; then
                   11344:        case $deplibs_check_method in
                   11345:        "file_magic "*)
                   11346:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   11347:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   11348:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11349:            $EGREP "$file_magic_regex" > /dev/null; then
                   11350:            :
                   11351:          else
                   11352:            cat <<_LT_EOF 1>&2
                   11353: 
                   11354: *** Warning: the command libtool uses to detect shared libraries,
                   11355: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11356: *** The result is that libtool may fail to recognize shared libraries
                   11357: *** as such.  This will affect the creation of libtool libraries that
                   11358: *** depend on shared libraries, but programs linked with such libtool
                   11359: *** libraries will work regardless of this problem.  Nevertheless, you
                   11360: *** may want to report the problem to your system manager and/or to
                   11361: *** bug-libtool@gnu.org
                   11362: 
                   11363: _LT_EOF
                   11364:          fi ;;
                   11365:        esac
                   11366:       fi
                   11367:       break
                   11368:     fi
                   11369:   done
                   11370:   IFS="$lt_save_ifs"
                   11371:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   11372:   ;;
                   11373: esac
                   11374: fi
                   11375: 
                   11376: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   11377: if test -n "$MAGIC_CMD"; then
                   11378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11379: $as_echo "$MAGIC_CMD" >&6; }
                   11380: else
                   11381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11382: $as_echo "no" >&6; }
                   11383: fi
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   11390:   if test -n "$ac_tool_prefix"; then
                   11391:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   11392: $as_echo_n "checking for file... " >&6; }
                   11393: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   11394:   $as_echo_n "(cached) " >&6
                   11395: else
                   11396:   case $MAGIC_CMD in
                   11397: [\\/*] |  ?:[\\/]*)
                   11398:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   11399:   ;;
                   11400: *)
                   11401:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   11402:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   11403:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   11404:   for ac_dir in $ac_dummy; do
                   11405:     IFS="$lt_save_ifs"
                   11406:     test -z "$ac_dir" && ac_dir=.
                   11407:     if test -f $ac_dir/file; then
                   11408:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   11409:       if test -n "$file_magic_test_file"; then
                   11410:        case $deplibs_check_method in
                   11411:        "file_magic "*)
                   11412:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   11413:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   11414:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   11415:            $EGREP "$file_magic_regex" > /dev/null; then
                   11416:            :
                   11417:          else
                   11418:            cat <<_LT_EOF 1>&2
                   11419: 
                   11420: *** Warning: the command libtool uses to detect shared libraries,
                   11421: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   11422: *** The result is that libtool may fail to recognize shared libraries
                   11423: *** as such.  This will affect the creation of libtool libraries that
                   11424: *** depend on shared libraries, but programs linked with such libtool
                   11425: *** libraries will work regardless of this problem.  Nevertheless, you
                   11426: *** may want to report the problem to your system manager and/or to
                   11427: *** bug-libtool@gnu.org
                   11428: 
                   11429: _LT_EOF
                   11430:          fi ;;
                   11431:        esac
                   11432:       fi
                   11433:       break
                   11434:     fi
                   11435:   done
                   11436:   IFS="$lt_save_ifs"
                   11437:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   11438:   ;;
                   11439: esac
                   11440: fi
                   11441: 
                   11442: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   11443: if test -n "$MAGIC_CMD"; then
                   11444:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   11445: $as_echo "$MAGIC_CMD" >&6; }
                   11446: else
                   11447:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11448: $as_echo "no" >&6; }
                   11449: fi
                   11450: 
                   11451: 
                   11452:   else
                   11453:     MAGIC_CMD=:
                   11454:   fi
                   11455: fi
                   11456: 
                   11457:   fi
                   11458:   ;;
                   11459: esac
                   11460: 
                   11461: # Use C for the default configuration in the libtool script
                   11462: 
                   11463: lt_save_CC="$CC"
                   11464: ac_ext=c
                   11465: ac_cpp='$CPP $CPPFLAGS'
                   11466: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11467: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11468: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11469: 
                   11470: 
                   11471: # Source file extension for C test sources.
                   11472: ac_ext=c
                   11473: 
                   11474: # Object file extension for compiled C test sources.
                   11475: objext=o
                   11476: objext=$objext
                   11477: 
                   11478: # Code to be used in simple compile tests
                   11479: lt_simple_compile_test_code="int some_variable = 0;"
                   11480: 
                   11481: # Code to be used in simple link tests
                   11482: lt_simple_link_test_code='int main(){return(0);}'
                   11483: 
                   11484: 
                   11485: 
                   11486: 
                   11487: 
                   11488: 
                   11489: 
                   11490: # If no C compiler was specified, use CC.
                   11491: LTCC=${LTCC-"$CC"}
                   11492: 
                   11493: # If no C compiler flags were specified, use CFLAGS.
                   11494: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   11495: 
                   11496: # Allow CC to be a program name with arguments.
                   11497: compiler=$CC
                   11498: 
                   11499: # Save the default compiler, since it gets overwritten when the other
                   11500: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   11501: compiler_DEFAULT=$CC
                   11502: 
                   11503: # save warnings/boilerplate of simple test code
                   11504: ac_outfile=conftest.$ac_objext
                   11505: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   11506: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11507: _lt_compiler_boilerplate=`cat conftest.err`
                   11508: $RM conftest*
                   11509: 
                   11510: ac_outfile=conftest.$ac_objext
                   11511: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   11512: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   11513: _lt_linker_boilerplate=`cat conftest.err`
                   11514: $RM -r conftest*
                   11515: 
                   11516: 
                   11517: ## CAVEAT EMPTOR:
                   11518: ## There is no encapsulation within the following macros, do not change
                   11519: ## the running order or otherwise move them around unless you know exactly
                   11520: ## what you are doing...
                   11521: if test -n "$compiler"; then
                   11522: 
                   11523: lt_prog_compiler_no_builtin_flag=
                   11524: 
                   11525: if test "$GCC" = yes; then
                   11526:   case $cc_basename in
                   11527:   nvcc*)
                   11528:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   11529:   *)
                   11530:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   11531:   esac
                   11532: 
                   11533:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   11534: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   11535: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   11536:   $as_echo_n "(cached) " >&6
                   11537: else
                   11538:   lt_cv_prog_compiler_rtti_exceptions=no
                   11539:    ac_outfile=conftest.$ac_objext
                   11540:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11541:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   11542:    # Insert the option either (1) after the last *FLAGS variable, or
                   11543:    # (2) before a word containing "conftest.", or (3) at the end.
                   11544:    # Note that $ac_compile itself does not contain backslashes and begins
                   11545:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   11546:    # The option is referenced via a variable to avoid confusing sed.
                   11547:    lt_compile=`echo "$ac_compile" | $SED \
                   11548:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   11549:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   11550:    -e 's:$: $lt_compiler_flag:'`
                   11551:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   11552:    (eval "$lt_compile" 2>conftest.err)
                   11553:    ac_status=$?
                   11554:    cat conftest.err >&5
                   11555:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11556:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   11557:      # The compiler can only warn and ignore the option if not recognized
                   11558:      # So say no if there are warnings other than the usual output.
                   11559:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   11560:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11561:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   11562:        lt_cv_prog_compiler_rtti_exceptions=yes
                   11563:      fi
                   11564:    fi
                   11565:    $RM conftest*
                   11566: 
                   11567: fi
                   11568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   11569: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   11570: 
                   11571: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   11572:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   11573: else
                   11574:     :
                   11575: fi
                   11576: 
                   11577: fi
                   11578: 
                   11579: 
                   11580: 
                   11581: 
                   11582: 
                   11583: 
                   11584:   lt_prog_compiler_wl=
                   11585: lt_prog_compiler_pic=
                   11586: lt_prog_compiler_static=
                   11587: 
                   11588: 
                   11589:   if test "$GCC" = yes; then
                   11590:     lt_prog_compiler_wl='-Wl,'
                   11591:     lt_prog_compiler_static='-static'
                   11592: 
                   11593:     case $host_os in
                   11594:       aix*)
                   11595:       # All AIX code is PIC.
                   11596:       if test "$host_cpu" = ia64; then
                   11597:        # AIX 5 now supports IA64 processor
                   11598:        lt_prog_compiler_static='-Bstatic'
                   11599:       fi
                   11600:       ;;
                   11601: 
                   11602:     amigaos*)
                   11603:       case $host_cpu in
                   11604:       powerpc)
                   11605:             # see comment about AmigaOS4 .so support
                   11606:             lt_prog_compiler_pic='-fPIC'
                   11607:         ;;
                   11608:       m68k)
                   11609:             # FIXME: we need at least 68020 code to build shared libraries, but
                   11610:             # adding the `-m68020' flag to GCC prevents building anything better,
                   11611:             # like `-m68040'.
                   11612:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   11613:         ;;
                   11614:       esac
                   11615:       ;;
                   11616: 
                   11617:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   11618:       # PIC is the default for these OSes.
                   11619:       ;;
                   11620: 
                   11621:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   11622:       # This hack is so that the source file can tell whether it is being
                   11623:       # built for inclusion in a dll (and should export symbols for example).
                   11624:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   11625:       # (--disable-auto-import) libraries
                   11626:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   11627:       ;;
                   11628: 
                   11629:     darwin* | rhapsody*)
                   11630:       # PIC is the default on this platform
                   11631:       # Common symbols not allowed in MH_DYLIB files
                   11632:       lt_prog_compiler_pic='-fno-common'
                   11633:       ;;
                   11634: 
                   11635:     haiku*)
                   11636:       # PIC is the default for Haiku.
                   11637:       # The "-static" flag exists, but is broken.
                   11638:       lt_prog_compiler_static=
                   11639:       ;;
                   11640: 
                   11641:     hpux*)
                   11642:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   11643:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   11644:       # sets the default TLS model and affects inlining.
                   11645:       case $host_cpu in
                   11646:       hppa*64*)
                   11647:        # +Z the default
                   11648:        ;;
                   11649:       *)
                   11650:        lt_prog_compiler_pic='-fPIC'
                   11651:        ;;
                   11652:       esac
                   11653:       ;;
                   11654: 
                   11655:     interix[3-9]*)
                   11656:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   11657:       # Instead, we relocate shared libraries at runtime.
                   11658:       ;;
                   11659: 
                   11660:     msdosdjgpp*)
                   11661:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   11662:       # on systems that don't support them.
                   11663:       lt_prog_compiler_can_build_shared=no
                   11664:       enable_shared=no
                   11665:       ;;
                   11666: 
                   11667:     *nto* | *qnx*)
                   11668:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   11669:       # it will coredump.
                   11670:       lt_prog_compiler_pic='-fPIC -shared'
                   11671:       ;;
                   11672: 
                   11673:     sysv4*MP*)
                   11674:       if test -d /usr/nec; then
                   11675:        lt_prog_compiler_pic=-Kconform_pic
                   11676:       fi
                   11677:       ;;
                   11678: 
                   11679:     *)
                   11680:       lt_prog_compiler_pic='-fPIC'
                   11681:       ;;
                   11682:     esac
                   11683: 
                   11684:     case $cc_basename in
                   11685:     nvcc*) # Cuda Compiler Driver 2.2
                   11686:       lt_prog_compiler_wl='-Xlinker '
                   11687:       lt_prog_compiler_pic='-Xcompiler -fPIC'
                   11688:       ;;
                   11689:     esac
                   11690:   else
                   11691:     # PORTME Check for flag to pass linker flags through the system compiler.
                   11692:     case $host_os in
                   11693:     aix*)
                   11694:       lt_prog_compiler_wl='-Wl,'
                   11695:       if test "$host_cpu" = ia64; then
                   11696:        # AIX 5 now supports IA64 processor
                   11697:        lt_prog_compiler_static='-Bstatic'
                   11698:       else
                   11699:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   11700:       fi
                   11701:       ;;
                   11702: 
                   11703:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   11704:       # This hack is so that the source file can tell whether it is being
                   11705:       # built for inclusion in a dll (and should export symbols for example).
                   11706:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   11707:       ;;
                   11708: 
                   11709:     hpux9* | hpux10* | hpux11*)
                   11710:       lt_prog_compiler_wl='-Wl,'
                   11711:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   11712:       # not for PA HP-UX.
                   11713:       case $host_cpu in
                   11714:       hppa*64*|ia64*)
                   11715:        # +Z the default
                   11716:        ;;
                   11717:       *)
                   11718:        lt_prog_compiler_pic='+Z'
                   11719:        ;;
                   11720:       esac
                   11721:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   11722:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   11723:       ;;
                   11724: 
                   11725:     irix5* | irix6* | nonstopux*)
                   11726:       lt_prog_compiler_wl='-Wl,'
                   11727:       # PIC (with -KPIC) is the default.
                   11728:       lt_prog_compiler_static='-non_shared'
                   11729:       ;;
                   11730: 
                   11731:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   11732:       case $cc_basename in
                   11733:       # old Intel for x86_64 which still supported -KPIC.
                   11734:       ecc*)
                   11735:        lt_prog_compiler_wl='-Wl,'
                   11736:        lt_prog_compiler_pic='-KPIC'
                   11737:        lt_prog_compiler_static='-static'
                   11738:         ;;
                   11739:       # icc used to be incompatible with GCC.
                   11740:       # ICC 10 doesn't accept -KPIC any more.
                   11741:       icc* | ifort*)
                   11742:        lt_prog_compiler_wl='-Wl,'
                   11743:        lt_prog_compiler_pic='-fPIC'
                   11744:        lt_prog_compiler_static='-static'
                   11745:         ;;
                   11746:       # Lahey Fortran 8.1.
                   11747:       lf95*)
                   11748:        lt_prog_compiler_wl='-Wl,'
                   11749:        lt_prog_compiler_pic='--shared'
                   11750:        lt_prog_compiler_static='--static'
                   11751:        ;;
                   11752:       nagfor*)
                   11753:        # NAG Fortran compiler
                   11754:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   11755:        lt_prog_compiler_pic='-PIC'
                   11756:        lt_prog_compiler_static='-Bstatic'
                   11757:        ;;
                   11758:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   11759:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   11760:        # which looks to be a dead project)
                   11761:        lt_prog_compiler_wl='-Wl,'
                   11762:        lt_prog_compiler_pic='-fpic'
                   11763:        lt_prog_compiler_static='-Bstatic'
                   11764:         ;;
                   11765:       ccc*)
                   11766:         lt_prog_compiler_wl='-Wl,'
                   11767:         # All Alpha code is PIC.
                   11768:         lt_prog_compiler_static='-non_shared'
                   11769:         ;;
                   11770:       xl* | bgxl* | bgf* | mpixl*)
                   11771:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   11772:        lt_prog_compiler_wl='-Wl,'
                   11773:        lt_prog_compiler_pic='-qpic'
                   11774:        lt_prog_compiler_static='-qstaticlink'
                   11775:        ;;
                   11776:       *)
                   11777:        case `$CC -V 2>&1 | sed 5q` in
                   11778:        *Sun\ F* | *Sun*Fortran*)
                   11779:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   11780:          lt_prog_compiler_pic='-KPIC'
                   11781:          lt_prog_compiler_static='-Bstatic'
                   11782:          lt_prog_compiler_wl=''
                   11783:          ;;
                   11784:        *Sun\ C*)
                   11785:          # Sun C 5.9
                   11786:          lt_prog_compiler_pic='-KPIC'
                   11787:          lt_prog_compiler_static='-Bstatic'
                   11788:          lt_prog_compiler_wl='-Wl,'
                   11789:          ;;
                   11790:        esac
                   11791:        ;;
                   11792:       esac
                   11793:       ;;
                   11794: 
                   11795:     newsos6)
                   11796:       lt_prog_compiler_pic='-KPIC'
                   11797:       lt_prog_compiler_static='-Bstatic'
                   11798:       ;;
                   11799: 
                   11800:     *nto* | *qnx*)
                   11801:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   11802:       # it will coredump.
                   11803:       lt_prog_compiler_pic='-fPIC -shared'
                   11804:       ;;
                   11805: 
                   11806:     osf3* | osf4* | osf5*)
                   11807:       lt_prog_compiler_wl='-Wl,'
                   11808:       # All OSF/1 code is PIC.
                   11809:       lt_prog_compiler_static='-non_shared'
                   11810:       ;;
                   11811: 
                   11812:     rdos*)
                   11813:       lt_prog_compiler_static='-non_shared'
                   11814:       ;;
                   11815: 
                   11816:     solaris*)
                   11817:       lt_prog_compiler_pic='-KPIC'
                   11818:       lt_prog_compiler_static='-Bstatic'
                   11819:       case $cc_basename in
                   11820:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   11821:        lt_prog_compiler_wl='-Qoption ld ';;
                   11822:       *)
                   11823:        lt_prog_compiler_wl='-Wl,';;
                   11824:       esac
                   11825:       ;;
                   11826: 
                   11827:     sunos4*)
                   11828:       lt_prog_compiler_wl='-Qoption ld '
                   11829:       lt_prog_compiler_pic='-PIC'
                   11830:       lt_prog_compiler_static='-Bstatic'
                   11831:       ;;
                   11832: 
                   11833:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   11834:       lt_prog_compiler_wl='-Wl,'
                   11835:       lt_prog_compiler_pic='-KPIC'
                   11836:       lt_prog_compiler_static='-Bstatic'
                   11837:       ;;
                   11838: 
                   11839:     sysv4*MP*)
                   11840:       if test -d /usr/nec ;then
                   11841:        lt_prog_compiler_pic='-Kconform_pic'
                   11842:        lt_prog_compiler_static='-Bstatic'
                   11843:       fi
                   11844:       ;;
                   11845: 
                   11846:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   11847:       lt_prog_compiler_wl='-Wl,'
                   11848:       lt_prog_compiler_pic='-KPIC'
                   11849:       lt_prog_compiler_static='-Bstatic'
                   11850:       ;;
                   11851: 
                   11852:     unicos*)
                   11853:       lt_prog_compiler_wl='-Wl,'
                   11854:       lt_prog_compiler_can_build_shared=no
                   11855:       ;;
                   11856: 
                   11857:     uts4*)
                   11858:       lt_prog_compiler_pic='-pic'
                   11859:       lt_prog_compiler_static='-Bstatic'
                   11860:       ;;
                   11861: 
                   11862:     *)
                   11863:       lt_prog_compiler_can_build_shared=no
                   11864:       ;;
                   11865:     esac
                   11866:   fi
                   11867: 
                   11868: case $host_os in
                   11869:   # For platforms which do not support PIC, -DPIC is meaningless:
                   11870:   *djgpp*)
                   11871:     lt_prog_compiler_pic=
                   11872:     ;;
                   11873:   *)
                   11874:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   11875:     ;;
                   11876: esac
                   11877: 
                   11878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   11879: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   11880: if ${lt_cv_prog_compiler_pic+:} false; then :
                   11881:   $as_echo_n "(cached) " >&6
                   11882: else
                   11883:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   11884: fi
                   11885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   11886: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   11887: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   11888: 
                   11889: #
                   11890: # Check to make sure the PIC flag actually works.
                   11891: #
                   11892: if test -n "$lt_prog_compiler_pic"; then
                   11893:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   11894: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   11895: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   11896:   $as_echo_n "(cached) " >&6
                   11897: else
                   11898:   lt_cv_prog_compiler_pic_works=no
                   11899:    ac_outfile=conftest.$ac_objext
                   11900:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11901:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   11902:    # Insert the option either (1) after the last *FLAGS variable, or
                   11903:    # (2) before a word containing "conftest.", or (3) at the end.
                   11904:    # Note that $ac_compile itself does not contain backslashes and begins
                   11905:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   11906:    # The option is referenced via a variable to avoid confusing sed.
                   11907:    lt_compile=`echo "$ac_compile" | $SED \
                   11908:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   11909:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   11910:    -e 's:$: $lt_compiler_flag:'`
                   11911:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   11912:    (eval "$lt_compile" 2>conftest.err)
                   11913:    ac_status=$?
                   11914:    cat conftest.err >&5
                   11915:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11916:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   11917:      # The compiler can only warn and ignore the option if not recognized
                   11918:      # So say no if there are warnings other than the usual output.
                   11919:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   11920:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11921:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   11922:        lt_cv_prog_compiler_pic_works=yes
                   11923:      fi
                   11924:    fi
                   11925:    $RM conftest*
                   11926: 
                   11927: fi
                   11928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   11929: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   11930: 
                   11931: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   11932:     case $lt_prog_compiler_pic in
                   11933:      "" | " "*) ;;
                   11934:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   11935:      esac
                   11936: else
                   11937:     lt_prog_compiler_pic=
                   11938:      lt_prog_compiler_can_build_shared=no
                   11939: fi
                   11940: 
                   11941: fi
                   11942: 
                   11943: 
                   11944: 
                   11945: 
                   11946: 
                   11947: 
                   11948: 
                   11949: 
                   11950: 
                   11951: 
                   11952: 
                   11953: #
                   11954: # Check to make sure the static flag actually works.
                   11955: #
                   11956: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   11957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   11958: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   11959: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   11960:   $as_echo_n "(cached) " >&6
                   11961: else
                   11962:   lt_cv_prog_compiler_static_works=no
                   11963:    save_LDFLAGS="$LDFLAGS"
                   11964:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   11965:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11966:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11967:      # The linker can only warn and ignore the option if not recognized
                   11968:      # So say no if there are warnings
                   11969:      if test -s conftest.err; then
                   11970:        # Append any errors to the config.log.
                   11971:        cat conftest.err 1>&5
                   11972:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11973:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11974:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11975:          lt_cv_prog_compiler_static_works=yes
                   11976:        fi
                   11977:      else
                   11978:        lt_cv_prog_compiler_static_works=yes
                   11979:      fi
                   11980:    fi
                   11981:    $RM -r conftest*
                   11982:    LDFLAGS="$save_LDFLAGS"
                   11983: 
                   11984: fi
                   11985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   11986: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   11987: 
                   11988: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   11989:     :
                   11990: else
                   11991:     lt_prog_compiler_static=
                   11992: fi
                   11993: 
                   11994: 
                   11995: 
                   11996: 
                   11997: 
                   11998: 
                   11999: 
                   12000:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12001: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12002: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   12003:   $as_echo_n "(cached) " >&6
                   12004: else
                   12005:   lt_cv_prog_compiler_c_o=no
                   12006:    $RM -r conftest 2>/dev/null
                   12007:    mkdir conftest
                   12008:    cd conftest
                   12009:    mkdir out
                   12010:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12011: 
                   12012:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12013:    # Insert the option either (1) after the last *FLAGS variable, or
                   12014:    # (2) before a word containing "conftest.", or (3) at the end.
                   12015:    # Note that $ac_compile itself does not contain backslashes and begins
                   12016:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12017:    lt_compile=`echo "$ac_compile" | $SED \
                   12018:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12019:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12020:    -e 's:$: $lt_compiler_flag:'`
                   12021:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12022:    (eval "$lt_compile" 2>out/conftest.err)
                   12023:    ac_status=$?
                   12024:    cat out/conftest.err >&5
                   12025:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12026:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12027:    then
                   12028:      # The compiler can only warn and ignore the option if not recognized
                   12029:      # So say no if there are warnings
                   12030:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12031:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12032:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12033:        lt_cv_prog_compiler_c_o=yes
                   12034:      fi
                   12035:    fi
                   12036:    chmod u+w . 2>&5
                   12037:    $RM conftest*
                   12038:    # SGI C++ compiler will create directory out/ii_files/ for
                   12039:    # template instantiation
                   12040:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12041:    $RM out/* && rmdir out
                   12042:    cd ..
                   12043:    $RM -r conftest
                   12044:    $RM conftest*
                   12045: 
                   12046: fi
                   12047: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12048: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   12049: 
                   12050: 
                   12051: 
                   12052: 
                   12053: 
                   12054: 
                   12055:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   12056: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   12057: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   12058:   $as_echo_n "(cached) " >&6
                   12059: else
                   12060:   lt_cv_prog_compiler_c_o=no
                   12061:    $RM -r conftest 2>/dev/null
                   12062:    mkdir conftest
                   12063:    cd conftest
                   12064:    mkdir out
                   12065:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   12066: 
                   12067:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   12068:    # Insert the option either (1) after the last *FLAGS variable, or
                   12069:    # (2) before a word containing "conftest.", or (3) at the end.
                   12070:    # Note that $ac_compile itself does not contain backslashes and begins
                   12071:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   12072:    lt_compile=`echo "$ac_compile" | $SED \
                   12073:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   12074:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   12075:    -e 's:$: $lt_compiler_flag:'`
                   12076:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   12077:    (eval "$lt_compile" 2>out/conftest.err)
                   12078:    ac_status=$?
                   12079:    cat out/conftest.err >&5
                   12080:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12081:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   12082:    then
                   12083:      # The compiler can only warn and ignore the option if not recognized
                   12084:      # So say no if there are warnings
                   12085:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   12086:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   12087:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   12088:        lt_cv_prog_compiler_c_o=yes
                   12089:      fi
                   12090:    fi
                   12091:    chmod u+w . 2>&5
                   12092:    $RM conftest*
                   12093:    # SGI C++ compiler will create directory out/ii_files/ for
                   12094:    # template instantiation
                   12095:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   12096:    $RM out/* && rmdir out
                   12097:    cd ..
                   12098:    $RM -r conftest
                   12099:    $RM conftest*
                   12100: 
                   12101: fi
                   12102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   12103: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   12104: 
                   12105: 
                   12106: 
                   12107: 
                   12108: hard_links="nottested"
                   12109: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   12110:   # do not overwrite the value of need_locks provided by the user
                   12111:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   12112: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   12113:   hard_links=yes
                   12114:   $RM conftest*
                   12115:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   12116:   touch conftest.a
                   12117:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   12118:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   12119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   12120: $as_echo "$hard_links" >&6; }
                   12121:   if test "$hard_links" = no; then
                   12122:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   12123: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   12124:     need_locks=warn
                   12125:   fi
                   12126: else
                   12127:   need_locks=no
                   12128: fi
                   12129: 
                   12130: 
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12136: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   12137: 
                   12138:   runpath_var=
                   12139:   allow_undefined_flag=
                   12140:   always_export_symbols=no
                   12141:   archive_cmds=
                   12142:   archive_expsym_cmds=
                   12143:   compiler_needs_object=no
                   12144:   enable_shared_with_static_runtimes=no
                   12145:   export_dynamic_flag_spec=
                   12146:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   12147:   hardcode_automatic=no
                   12148:   hardcode_direct=no
                   12149:   hardcode_direct_absolute=no
                   12150:   hardcode_libdir_flag_spec=
                   12151:   hardcode_libdir_flag_spec_ld=
                   12152:   hardcode_libdir_separator=
                   12153:   hardcode_minus_L=no
                   12154:   hardcode_shlibpath_var=unsupported
                   12155:   inherit_rpath=no
                   12156:   link_all_deplibs=unknown
                   12157:   module_cmds=
                   12158:   module_expsym_cmds=
                   12159:   old_archive_from_new_cmds=
                   12160:   old_archive_from_expsyms_cmds=
                   12161:   thread_safe_flag_spec=
                   12162:   whole_archive_flag_spec=
                   12163:   # include_expsyms should be a list of space-separated symbols to be *always*
                   12164:   # included in the symbol list
                   12165:   include_expsyms=
                   12166:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   12167:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   12168:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   12169:   # as well as any symbol that contains `d'.
                   12170:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   12171:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   12172:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   12173:   # the symbol is explicitly referenced.  Since portable code cannot
                   12174:   # rely on this symbol name, it's probably fine to never include it in
                   12175:   # preloaded symbol tables.
                   12176:   # Exclude shared library initialization/finalization symbols.
                   12177:   extract_expsyms_cmds=
                   12178: 
                   12179:   case $host_os in
                   12180:   cygwin* | mingw* | pw32* | cegcc*)
                   12181:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   12182:     # When not using gcc, we currently assume that we are using
                   12183:     # Microsoft Visual C++.
                   12184:     if test "$GCC" != yes; then
                   12185:       with_gnu_ld=no
                   12186:     fi
                   12187:     ;;
                   12188:   interix*)
                   12189:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   12190:     with_gnu_ld=yes
                   12191:     ;;
                   12192:   openbsd*)
                   12193:     with_gnu_ld=no
                   12194:     ;;
                   12195:   esac
                   12196: 
                   12197:   ld_shlibs=yes
                   12198: 
                   12199:   # On some targets, GNU ld is compatible enough with the native linker
                   12200:   # that we're better off using the native interface for both.
                   12201:   lt_use_gnu_ld_interface=no
                   12202:   if test "$with_gnu_ld" = yes; then
                   12203:     case $host_os in
                   12204:       aix*)
                   12205:        # The AIX port of GNU ld has always aspired to compatibility
                   12206:        # with the native linker.  However, as the warning in the GNU ld
                   12207:        # block says, versions before 2.19.5* couldn't really create working
                   12208:        # shared libraries, regardless of the interface used.
                   12209:        case `$LD -v 2>&1` in
                   12210:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   12211:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   12212:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   12213:          *)
                   12214:            lt_use_gnu_ld_interface=yes
                   12215:            ;;
                   12216:        esac
                   12217:        ;;
                   12218:       *)
                   12219:        lt_use_gnu_ld_interface=yes
                   12220:        ;;
                   12221:     esac
                   12222:   fi
                   12223: 
                   12224:   if test "$lt_use_gnu_ld_interface" = yes; then
                   12225:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   12226:     wlarc='${wl}'
                   12227: 
                   12228:     # Set some defaults for GNU ld with shared library support. These
                   12229:     # are reset later if shared libraries are not supported. Putting them
                   12230:     # here allows them to be overridden if necessary.
                   12231:     runpath_var=LD_RUN_PATH
                   12232:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   12233:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   12234:     # ancient GNU ld didn't support --whole-archive et. al.
                   12235:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   12236:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12237:     else
                   12238:       whole_archive_flag_spec=
                   12239:     fi
                   12240:     supports_anon_versioning=no
                   12241:     case `$LD -v 2>&1` in
                   12242:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   12243:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   12244:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   12245:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   12246:       *\ 2.11.*) ;; # other 2.11 versions
                   12247:       *) supports_anon_versioning=yes ;;
                   12248:     esac
                   12249: 
                   12250:     # See if GNU ld supports shared libraries.
                   12251:     case $host_os in
                   12252:     aix[3-9]*)
                   12253:       # On AIX/PPC, the GNU linker is very broken
                   12254:       if test "$host_cpu" != ia64; then
                   12255:        ld_shlibs=no
                   12256:        cat <<_LT_EOF 1>&2
                   12257: 
                   12258: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   12259: *** to be unable to reliably create shared libraries on AIX.
                   12260: *** Therefore, libtool is disabling shared libraries support.  If you
                   12261: *** really care for shared libraries, you may want to install binutils
                   12262: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   12263: *** You will then need to restart the configuration process.
                   12264: 
                   12265: _LT_EOF
                   12266:       fi
                   12267:       ;;
                   12268: 
                   12269:     amigaos*)
                   12270:       case $host_cpu in
                   12271:       powerpc)
                   12272:             # see comment about AmigaOS4 .so support
                   12273:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12274:             archive_expsym_cmds=''
                   12275:         ;;
                   12276:       m68k)
                   12277:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
                   12278:             hardcode_libdir_flag_spec='-L$libdir'
                   12279:             hardcode_minus_L=yes
                   12280:         ;;
                   12281:       esac
                   12282:       ;;
                   12283: 
                   12284:     beos*)
                   12285:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12286:        allow_undefined_flag=unsupported
                   12287:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12288:        # support --undefined.  This deserves some investigation.  FIXME
                   12289:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12290:       else
                   12291:        ld_shlibs=no
                   12292:       fi
                   12293:       ;;
                   12294: 
                   12295:     cygwin* | mingw* | pw32* | cegcc*)
                   12296:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   12297:       # as there is no search path for DLLs.
                   12298:       hardcode_libdir_flag_spec='-L$libdir'
                   12299:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   12300:       allow_undefined_flag=unsupported
                   12301:       always_export_symbols=no
                   12302:       enable_shared_with_static_runtimes=yes
                   12303:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   12304:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   12305: 
                   12306:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12307:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12308:        # If the export-symbols file already is a .def file (1st line
                   12309:        # is EXPORTS), use it as is; otherwise, prepend...
                   12310:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12311:          cp $export_symbols $output_objdir/$soname.def;
                   12312:        else
                   12313:          echo EXPORTS > $output_objdir/$soname.def;
                   12314:          cat $export_symbols >> $output_objdir/$soname.def;
                   12315:        fi~
                   12316:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12317:       else
                   12318:        ld_shlibs=no
                   12319:       fi
                   12320:       ;;
                   12321: 
                   12322:     haiku*)
                   12323:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12324:       link_all_deplibs=yes
                   12325:       ;;
                   12326: 
                   12327:     interix[3-9]*)
                   12328:       hardcode_direct=no
                   12329:       hardcode_shlibpath_var=no
                   12330:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   12331:       export_dynamic_flag_spec='${wl}-E'
                   12332:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12333:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12334:       # default) and relocated if they conflict, which is a slow very memory
                   12335:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   12336:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12337:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   12338:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12339:       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12340:       ;;
                   12341: 
                   12342:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   12343:       tmp_diet=no
                   12344:       if test "$host_os" = linux-dietlibc; then
                   12345:        case $cc_basename in
                   12346:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   12347:        esac
                   12348:       fi
                   12349:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   12350:         && test "$tmp_diet" = no
                   12351:       then
                   12352:        tmp_addflag=' $pic_flag'
                   12353:        tmp_sharedflag='-shared'
                   12354:        case $cc_basename,$host_cpu in
                   12355:         pgcc*)                         # Portland Group C compiler
                   12356:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   12357:          tmp_addflag=' $pic_flag'
                   12358:          ;;
                   12359:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   12360:                                        # Portland Group f77 and f90 compilers
                   12361:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   12362:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   12363:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   12364:          tmp_addflag=' -i_dynamic' ;;
                   12365:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   12366:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   12367:        ifc* | ifort*)                  # Intel Fortran compiler
                   12368:          tmp_addflag=' -nofor_main' ;;
                   12369:        lf95*)                          # Lahey Fortran 8.1
                   12370:          whole_archive_flag_spec=
                   12371:          tmp_sharedflag='--shared' ;;
                   12372:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   12373:          tmp_sharedflag='-qmkshrobj'
                   12374:          tmp_addflag= ;;
                   12375:        nvcc*)  # Cuda Compiler Driver 2.2
                   12376:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   12377:          compiler_needs_object=yes
                   12378:          ;;
                   12379:        esac
                   12380:        case `$CC -V 2>&1 | sed 5q` in
                   12381:        *Sun\ C*)                       # Sun C 5.9
                   12382:          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
                   12383:          compiler_needs_object=yes
                   12384:          tmp_sharedflag='-G' ;;
                   12385:        *Sun\ F*)                       # Sun Fortran 8.3
                   12386:          tmp_sharedflag='-G' ;;
                   12387:        esac
                   12388:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12389: 
                   12390:         if test "x$supports_anon_versioning" = xyes; then
                   12391:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   12392:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12393:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   12394:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   12395:         fi
                   12396: 
                   12397:        case $cc_basename in
                   12398:        xlf* | bgf* | bgxlf* | mpixlf*)
                   12399:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   12400:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   12401:          hardcode_libdir_flag_spec=
                   12402:          hardcode_libdir_flag_spec_ld='-rpath $libdir'
                   12403:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   12404:          if test "x$supports_anon_versioning" = xyes; then
                   12405:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   12406:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12407:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   12408:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   12409:          fi
                   12410:          ;;
                   12411:        esac
                   12412:       else
                   12413:         ld_shlibs=no
                   12414:       fi
                   12415:       ;;
                   12416: 
                   12417:     netbsd*)
                   12418:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12419:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   12420:        wlarc=
                   12421:       else
                   12422:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12423:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12424:       fi
                   12425:       ;;
                   12426: 
                   12427:     solaris*)
                   12428:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   12429:        ld_shlibs=no
                   12430:        cat <<_LT_EOF 1>&2
                   12431: 
                   12432: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   12433: *** create shared libraries on Solaris systems.  Therefore, libtool
                   12434: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12435: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   12436: *** your PATH or compiler configuration so that the native linker is
                   12437: *** used, and then restart.
                   12438: 
                   12439: _LT_EOF
                   12440:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12441:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12442:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12443:       else
                   12444:        ld_shlibs=no
                   12445:       fi
                   12446:       ;;
                   12447: 
                   12448:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   12449:       case `$LD -v 2>&1` in
                   12450:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   12451:        ld_shlibs=no
                   12452:        cat <<_LT_EOF 1>&2
                   12453: 
                   12454: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   12455: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   12456: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   12457: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   12458: *** your PATH or compiler configuration so that the native linker is
                   12459: *** used, and then restart.
                   12460: 
                   12461: _LT_EOF
                   12462:        ;;
                   12463:        *)
                   12464:          # For security reasons, it is highly recommended that you always
                   12465:          # use absolute paths for naming shared libraries, and exclude the
                   12466:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   12467:          # requires that you compile everything twice, which is a pain.
                   12468:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12469:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   12470:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12471:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12472:          else
                   12473:            ld_shlibs=no
                   12474:          fi
                   12475:        ;;
                   12476:       esac
                   12477:       ;;
                   12478: 
                   12479:     sunos4*)
                   12480:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   12481:       wlarc=
                   12482:       hardcode_direct=yes
                   12483:       hardcode_shlibpath_var=no
                   12484:       ;;
                   12485: 
                   12486:     *)
                   12487:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12488:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12489:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12490:       else
                   12491:        ld_shlibs=no
                   12492:       fi
                   12493:       ;;
                   12494:     esac
                   12495: 
                   12496:     if test "$ld_shlibs" = no; then
                   12497:       runpath_var=
                   12498:       hardcode_libdir_flag_spec=
                   12499:       export_dynamic_flag_spec=
                   12500:       whole_archive_flag_spec=
                   12501:     fi
                   12502:   else
                   12503:     # PORTME fill in a description of your system's linker (not GNU ld)
                   12504:     case $host_os in
                   12505:     aix3*)
                   12506:       allow_undefined_flag=unsupported
                   12507:       always_export_symbols=yes
                   12508:       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
                   12509:       # Note: this linker hardcodes the directories in LIBPATH if there
                   12510:       # are no directories specified by -L.
                   12511:       hardcode_minus_L=yes
                   12512:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   12513:        # Neither direct hardcoding nor static linking is supported with a
                   12514:        # broken collect2.
                   12515:        hardcode_direct=unsupported
                   12516:       fi
                   12517:       ;;
                   12518: 
                   12519:     aix[4-9]*)
                   12520:       if test "$host_cpu" = ia64; then
                   12521:        # On IA64, the linker does run time linking by default, so we don't
                   12522:        # have to do anything special.
                   12523:        aix_use_runtimelinking=no
                   12524:        exp_sym_flag='-Bexport'
                   12525:        no_entry_flag=""
                   12526:       else
                   12527:        # If we're using GNU nm, then we don't want the "-C" option.
                   12528:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   12529:        # Also, AIX nm treats weak defined symbols like other global
                   12530:        # defined symbols, whereas GNU nm marks them as "W".
                   12531:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   12532:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   12533:        else
                   12534:          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   12535:        fi
                   12536:        aix_use_runtimelinking=no
                   12537: 
                   12538:        # Test if we are trying to use run time linking or normal
                   12539:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12540:        # need to do runtime linking.
                   12541:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12542:          for ld_flag in $LDFLAGS; do
                   12543:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   12544:            aix_use_runtimelinking=yes
                   12545:            break
                   12546:          fi
                   12547:          done
                   12548:          ;;
                   12549:        esac
                   12550: 
                   12551:        exp_sym_flag='-bexport'
                   12552:        no_entry_flag='-bnoentry'
                   12553:       fi
                   12554: 
                   12555:       # When large executables or shared objects are built, AIX ld can
                   12556:       # have problems creating the table of contents.  If linking a library
                   12557:       # or program results in "error TOC overflow" add -mminimal-toc to
                   12558:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12559:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12560: 
                   12561:       archive_cmds=''
                   12562:       hardcode_direct=yes
                   12563:       hardcode_direct_absolute=yes
                   12564:       hardcode_libdir_separator=':'
                   12565:       link_all_deplibs=yes
                   12566:       file_list_spec='${wl}-f,'
                   12567: 
                   12568:       if test "$GCC" = yes; then
                   12569:        case $host_os in aix4.[012]|aix4.[012].*)
                   12570:        # We only want to do this on AIX 4.2 and lower, the check
                   12571:        # below for broken collect2 doesn't work under 4.3+
                   12572:          collect2name=`${CC} -print-prog-name=collect2`
                   12573:          if test -f "$collect2name" &&
                   12574:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12575:          then
                   12576:          # We have reworked collect2
                   12577:          :
                   12578:          else
                   12579:          # We have old collect2
                   12580:          hardcode_direct=unsupported
                   12581:          # It fails to find uninstalled libraries when the uninstalled
                   12582:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   12583:          # to unsupported forces relinking
                   12584:          hardcode_minus_L=yes
                   12585:          hardcode_libdir_flag_spec='-L$libdir'
                   12586:          hardcode_libdir_separator=
                   12587:          fi
                   12588:          ;;
                   12589:        esac
                   12590:        shared_flag='-shared'
                   12591:        if test "$aix_use_runtimelinking" = yes; then
                   12592:          shared_flag="$shared_flag "'${wl}-G'
                   12593:        fi
                   12594:       else
                   12595:        # not using gcc
                   12596:        if test "$host_cpu" = ia64; then
                   12597:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12598:        # chokes on -Wl,-G. The following line is correct:
                   12599:          shared_flag='-G'
                   12600:        else
                   12601:          if test "$aix_use_runtimelinking" = yes; then
                   12602:            shared_flag='${wl}-G'
                   12603:          else
                   12604:            shared_flag='${wl}-bM:SRE'
                   12605:          fi
                   12606:        fi
                   12607:       fi
                   12608: 
                   12609:       export_dynamic_flag_spec='${wl}-bexpall'
                   12610:       # It seems that -bexpall does not export symbols beginning with
                   12611:       # underscore (_), so it is better to generate a list of symbols to export.
                   12612:       always_export_symbols=yes
                   12613:       if test "$aix_use_runtimelinking" = yes; then
                   12614:        # Warning - without using the other runtime loading flags (-brtl),
                   12615:        # -berok will link without error, but may produce a broken library.
                   12616:        allow_undefined_flag='-berok'
                   12617:         # Determine the default libpath from the value encoded in an
                   12618:         # empty executable.
                   12619:         if test "${lt_cv_aix_libpath+set}" = set; then
                   12620:   aix_libpath=$lt_cv_aix_libpath
                   12621: else
                   12622:   if ${lt_cv_aix_libpath_+:} false; then :
                   12623:   $as_echo_n "(cached) " >&6
                   12624: else
                   12625:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12626: /* end confdefs.h.  */
                   12627: 
                   12628: int
                   12629: main ()
                   12630: {
                   12631: 
                   12632:   ;
                   12633:   return 0;
                   12634: }
                   12635: _ACEOF
                   12636: if ac_fn_c_try_link "$LINENO"; then :
                   12637: 
                   12638:   lt_aix_libpath_sed='
                   12639:       /Import File Strings/,/^$/ {
                   12640:          /^0/ {
                   12641:              s/^0  *\([^ ]*\) *$/\1/
                   12642:              p
                   12643:          }
                   12644:       }'
                   12645:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12646:   # Check for a 64-bit object if we didn't find anything.
                   12647:   if test -z "$lt_cv_aix_libpath_"; then
                   12648:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12649:   fi
                   12650: fi
                   12651: rm -f core conftest.err conftest.$ac_objext \
                   12652:     conftest$ac_exeext conftest.$ac_ext
                   12653:   if test -z "$lt_cv_aix_libpath_"; then
                   12654:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   12655:   fi
                   12656: 
                   12657: fi
                   12658: 
                   12659:   aix_libpath=$lt_cv_aix_libpath_
                   12660: fi
                   12661: 
                   12662:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12663:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   12664:       else
                   12665:        if test "$host_cpu" = ia64; then
                   12666:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   12667:          allow_undefined_flag="-z nodefs"
                   12668:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
                   12669:        else
                   12670:         # Determine the default libpath from the value encoded in an
                   12671:         # empty executable.
                   12672:         if test "${lt_cv_aix_libpath+set}" = set; then
                   12673:   aix_libpath=$lt_cv_aix_libpath
                   12674: else
                   12675:   if ${lt_cv_aix_libpath_+:} false; then :
                   12676:   $as_echo_n "(cached) " >&6
                   12677: else
                   12678:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12679: /* end confdefs.h.  */
                   12680: 
                   12681: int
                   12682: main ()
                   12683: {
                   12684: 
                   12685:   ;
                   12686:   return 0;
                   12687: }
                   12688: _ACEOF
                   12689: if ac_fn_c_try_link "$LINENO"; then :
                   12690: 
                   12691:   lt_aix_libpath_sed='
                   12692:       /Import File Strings/,/^$/ {
                   12693:          /^0/ {
                   12694:              s/^0  *\([^ ]*\) *$/\1/
                   12695:              p
                   12696:          }
                   12697:       }'
                   12698:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12699:   # Check for a 64-bit object if we didn't find anything.
                   12700:   if test -z "$lt_cv_aix_libpath_"; then
                   12701:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12702:   fi
                   12703: fi
                   12704: rm -f core conftest.err conftest.$ac_objext \
                   12705:     conftest$ac_exeext conftest.$ac_ext
                   12706:   if test -z "$lt_cv_aix_libpath_"; then
                   12707:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   12708:   fi
                   12709: 
                   12710: fi
                   12711: 
                   12712:   aix_libpath=$lt_cv_aix_libpath_
                   12713: fi
                   12714: 
                   12715:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12716:          # Warning - without using the other run time loading flags,
                   12717:          # -berok will link without error, but may produce a broken library.
                   12718:          no_undefined_flag=' ${wl}-bernotok'
                   12719:          allow_undefined_flag=' ${wl}-berok'
                   12720:          if test "$with_gnu_ld" = yes; then
                   12721:            # We only use this code for GNU lds that support --whole-archive.
                   12722:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12723:          else
                   12724:            # Exported symbols can be pulled into shared objects from archives
                   12725:            whole_archive_flag_spec='$convenience'
                   12726:          fi
                   12727:          archive_cmds_need_lc=yes
                   12728:          # This is similar to how AIX traditionally builds its shared libraries.
                   12729:          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
                   12730:        fi
                   12731:       fi
                   12732:       ;;
                   12733: 
                   12734:     amigaos*)
                   12735:       case $host_cpu in
                   12736:       powerpc)
                   12737:             # see comment about AmigaOS4 .so support
                   12738:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12739:             archive_expsym_cmds=''
                   12740:         ;;
                   12741:       m68k)
                   12742:             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
                   12743:             hardcode_libdir_flag_spec='-L$libdir'
                   12744:             hardcode_minus_L=yes
                   12745:         ;;
                   12746:       esac
                   12747:       ;;
                   12748: 
                   12749:     bsdi[45]*)
                   12750:       export_dynamic_flag_spec=-rdynamic
                   12751:       ;;
                   12752: 
                   12753:     cygwin* | mingw* | pw32* | cegcc*)
                   12754:       # When not using gcc, we currently assume that we are using
                   12755:       # Microsoft Visual C++.
                   12756:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12757:       # no search path for DLLs.
                   12758:       case $cc_basename in
                   12759:       cl*)
                   12760:        # Native MSVC
                   12761:        hardcode_libdir_flag_spec=' '
                   12762:        allow_undefined_flag=unsupported
                   12763:        always_export_symbols=yes
                   12764:        file_list_spec='@'
                   12765:        # Tell ltmain to make .lib files, not .a files.
                   12766:        libext=lib
                   12767:        # Tell ltmain to make .dll files, not .so files.
                   12768:        shrext_cmds=".dll"
                   12769:        # FIXME: Setting linknames here is a bad hack.
                   12770:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12771:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12772:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12773:          else
                   12774:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12775:          fi~
                   12776:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12777:          linknames='
                   12778:        # The linker will not automatically build a static lib if we build a DLL.
                   12779:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   12780:        enable_shared_with_static_runtimes=yes
                   12781:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   12782:        # Don't use ranlib
                   12783:        old_postinstall_cmds='chmod 644 $oldlib'
                   12784:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   12785:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12786:          case $lt_outputfile in
                   12787:            *.exe|*.EXE) ;;
                   12788:            *)
                   12789:              lt_outputfile="$lt_outputfile.exe"
                   12790:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12791:              ;;
                   12792:          esac~
                   12793:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12794:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12795:            $RM "$lt_outputfile.manifest";
                   12796:          fi'
                   12797:        ;;
                   12798:       *)
                   12799:        # Assume MSVC wrapper
                   12800:        hardcode_libdir_flag_spec=' '
                   12801:        allow_undefined_flag=unsupported
                   12802:        # Tell ltmain to make .lib files, not .a files.
                   12803:        libext=lib
                   12804:        # Tell ltmain to make .dll files, not .so files.
                   12805:        shrext_cmds=".dll"
                   12806:        # FIXME: Setting linknames here is a bad hack.
                   12807:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   12808:        # The linker will automatically build a .lib file if we build a DLL.
                   12809:        old_archive_from_new_cmds='true'
                   12810:        # FIXME: Should let the user specify the lib program.
                   12811:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   12812:        enable_shared_with_static_runtimes=yes
                   12813:        ;;
                   12814:       esac
                   12815:       ;;
                   12816: 
                   12817:     darwin* | rhapsody*)
                   12818: 
                   12819: 
                   12820:   archive_cmds_need_lc=no
                   12821:   hardcode_direct=no
                   12822:   hardcode_automatic=yes
                   12823:   hardcode_shlibpath_var=unsupported
                   12824:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12825:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   12826:   else
                   12827:     whole_archive_flag_spec=''
                   12828:   fi
                   12829:   link_all_deplibs=yes
                   12830:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   12831:   case $cc_basename in
                   12832:      ifort*) _lt_dar_can_shared=yes ;;
                   12833:      *) _lt_dar_can_shared=$GCC ;;
                   12834:   esac
                   12835:   if test "$_lt_dar_can_shared" = "yes"; then
                   12836:     output_verbose_link_cmd=func_echo_all
                   12837:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   12838:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12839:     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
                   12840:     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
                   12841: 
                   12842:   else
                   12843:   ld_shlibs=no
                   12844:   fi
                   12845: 
                   12846:       ;;
                   12847: 
                   12848:     dgux*)
                   12849:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   12850:       hardcode_libdir_flag_spec='-L$libdir'
                   12851:       hardcode_shlibpath_var=no
                   12852:       ;;
                   12853: 
                   12854:     freebsd1*)
                   12855:       ld_shlibs=no
                   12856:       ;;
                   12857: 
                   12858:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   12859:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   12860:     # does not break anything, and helps significantly (at the cost of a little
                   12861:     # extra space).
                   12862:     freebsd2.2*)
                   12863:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   12864:       hardcode_libdir_flag_spec='-R$libdir'
                   12865:       hardcode_direct=yes
                   12866:       hardcode_shlibpath_var=no
                   12867:       ;;
                   12868: 
                   12869:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   12870:     freebsd2*)
                   12871:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   12872:       hardcode_direct=yes
                   12873:       hardcode_minus_L=yes
                   12874:       hardcode_shlibpath_var=no
                   12875:       ;;
                   12876: 
                   12877:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   12878:     freebsd* | dragonfly*)
                   12879:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   12880:       hardcode_libdir_flag_spec='-R$libdir'
                   12881:       hardcode_direct=yes
                   12882:       hardcode_shlibpath_var=no
                   12883:       ;;
                   12884: 
                   12885:     hpux9*)
                   12886:       if test "$GCC" = yes; then
                   12887:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   12888:       else
                   12889:        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   12890:       fi
                   12891:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   12892:       hardcode_libdir_separator=:
                   12893:       hardcode_direct=yes
                   12894: 
                   12895:       # hardcode_minus_L: Not really in the search PATH,
                   12896:       # but as the default location of the library.
                   12897:       hardcode_minus_L=yes
                   12898:       export_dynamic_flag_spec='${wl}-E'
                   12899:       ;;
                   12900: 
                   12901:     hpux10*)
                   12902:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   12903:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   12904:       else
                   12905:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   12906:       fi
                   12907:       if test "$with_gnu_ld" = no; then
                   12908:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   12909:        hardcode_libdir_flag_spec_ld='+b $libdir'
                   12910:        hardcode_libdir_separator=:
                   12911:        hardcode_direct=yes
                   12912:        hardcode_direct_absolute=yes
                   12913:        export_dynamic_flag_spec='${wl}-E'
                   12914:        # hardcode_minus_L: Not really in the search PATH,
                   12915:        # but as the default location of the library.
                   12916:        hardcode_minus_L=yes
                   12917:       fi
                   12918:       ;;
                   12919: 
                   12920:     hpux11*)
                   12921:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   12922:        case $host_cpu in
                   12923:        hppa*64*)
                   12924:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   12925:          ;;
                   12926:        ia64*)
                   12927:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   12928:          ;;
                   12929:        *)
                   12930:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   12931:          ;;
                   12932:        esac
                   12933:       else
                   12934:        case $host_cpu in
                   12935:        hppa*64*)
                   12936:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   12937:          ;;
                   12938:        ia64*)
                   12939:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   12940:          ;;
                   12941:        *)
                   12942: 
                   12943:          # Older versions of the 11.00 compiler do not understand -b yet
                   12944:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   12945:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   12946: $as_echo_n "checking if $CC understands -b... " >&6; }
                   12947: if ${lt_cv_prog_compiler__b+:} false; then :
                   12948:   $as_echo_n "(cached) " >&6
                   12949: else
                   12950:   lt_cv_prog_compiler__b=no
                   12951:    save_LDFLAGS="$LDFLAGS"
                   12952:    LDFLAGS="$LDFLAGS -b"
                   12953:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   12954:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   12955:      # The linker can only warn and ignore the option if not recognized
                   12956:      # So say no if there are warnings
                   12957:      if test -s conftest.err; then
                   12958:        # Append any errors to the config.log.
                   12959:        cat conftest.err 1>&5
                   12960:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   12961:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   12962:        if diff conftest.exp conftest.er2 >/dev/null; then
                   12963:          lt_cv_prog_compiler__b=yes
                   12964:        fi
                   12965:      else
                   12966:        lt_cv_prog_compiler__b=yes
                   12967:      fi
                   12968:    fi
                   12969:    $RM -r conftest*
                   12970:    LDFLAGS="$save_LDFLAGS"
                   12971: 
                   12972: fi
                   12973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   12974: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   12975: 
                   12976: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   12977:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   12978: else
                   12979:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   12980: fi
                   12981: 
                   12982:          ;;
                   12983:        esac
                   12984:       fi
                   12985:       if test "$with_gnu_ld" = no; then
                   12986:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   12987:        hardcode_libdir_separator=:
                   12988: 
                   12989:        case $host_cpu in
                   12990:        hppa*64*|ia64*)
                   12991:          hardcode_direct=no
                   12992:          hardcode_shlibpath_var=no
                   12993:          ;;
                   12994:        *)
                   12995:          hardcode_direct=yes
                   12996:          hardcode_direct_absolute=yes
                   12997:          export_dynamic_flag_spec='${wl}-E'
                   12998: 
                   12999:          # hardcode_minus_L: Not really in the search PATH,
                   13000:          # but as the default location of the library.
                   13001:          hardcode_minus_L=yes
                   13002:          ;;
                   13003:        esac
                   13004:       fi
                   13005:       ;;
                   13006: 
                   13007:     irix5* | irix6* | nonstopux*)
                   13008:       if test "$GCC" = yes; then
                   13009:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13010:        # Try to use the -exported_symbol ld option, if it does not
                   13011:        # work, assume that -exports_file does not work either and
                   13012:        # implicitly export all symbols.
                   13013:        # This should be the same for all languages, so no per-tag cache variable.
                   13014:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   13015: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   13016: if ${lt_cv_irix_exported_symbol+:} false; then :
                   13017:   $as_echo_n "(cached) " >&6
                   13018: else
                   13019:   save_LDFLAGS="$LDFLAGS"
                   13020:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   13021:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13022: /* end confdefs.h.  */
                   13023: int foo (void) { return 0; }
                   13024: _ACEOF
                   13025: if ac_fn_c_try_link "$LINENO"; then :
                   13026:   lt_cv_irix_exported_symbol=yes
                   13027: else
                   13028:   lt_cv_irix_exported_symbol=no
                   13029: fi
                   13030: rm -f core conftest.err conftest.$ac_objext \
                   13031:     conftest$ac_exeext conftest.$ac_ext
                   13032:            LDFLAGS="$save_LDFLAGS"
                   13033: fi
                   13034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   13035: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   13036:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   13037:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
                   13038:        fi
                   13039:       else
                   13040:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13041:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
                   13042:       fi
                   13043:       archive_cmds_need_lc='no'
                   13044:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   13045:       hardcode_libdir_separator=:
                   13046:       inherit_rpath=yes
                   13047:       link_all_deplibs=yes
                   13048:       ;;
                   13049: 
                   13050:     netbsd*)
                   13051:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13052:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   13053:       else
                   13054:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   13055:       fi
                   13056:       hardcode_libdir_flag_spec='-R$libdir'
                   13057:       hardcode_direct=yes
                   13058:       hardcode_shlibpath_var=no
                   13059:       ;;
                   13060: 
                   13061:     newsos6)
                   13062:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13063:       hardcode_direct=yes
                   13064:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   13065:       hardcode_libdir_separator=:
                   13066:       hardcode_shlibpath_var=no
                   13067:       ;;
                   13068: 
                   13069:     *nto* | *qnx*)
                   13070:       ;;
                   13071: 
                   13072:     openbsd*)
                   13073:       if test -f /usr/libexec/ld.so; then
                   13074:        hardcode_direct=yes
                   13075:        hardcode_shlibpath_var=no
                   13076:        hardcode_direct_absolute=yes
                   13077:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13078:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13079:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   13080:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   13081:          export_dynamic_flag_spec='${wl}-E'
                   13082:        else
                   13083:          case $host_os in
                   13084:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   13085:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   13086:             hardcode_libdir_flag_spec='-R$libdir'
                   13087:             ;;
                   13088:           *)
                   13089:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   13090:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   13091:             ;;
                   13092:          esac
                   13093:        fi
                   13094:       else
                   13095:        ld_shlibs=no
                   13096:       fi
                   13097:       ;;
                   13098: 
                   13099:     os2*)
                   13100:       hardcode_libdir_flag_spec='-L$libdir'
                   13101:       hardcode_minus_L=yes
                   13102:       allow_undefined_flag=unsupported
                   13103:       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
                   13104:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   13105:       ;;
                   13106: 
                   13107:     osf3*)
                   13108:       if test "$GCC" = yes; then
                   13109:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   13110:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13111:       else
                   13112:        allow_undefined_flag=' -expect_unresolved \*'
                   13113:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13114:       fi
                   13115:       archive_cmds_need_lc='no'
                   13116:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   13117:       hardcode_libdir_separator=:
                   13118:       ;;
                   13119: 
                   13120:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   13121:       if test "$GCC" = yes; then
                   13122:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   13123:        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   13124:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   13125:       else
                   13126:        allow_undefined_flag=' -expect_unresolved \*'
                   13127:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13128:        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
                   13129:        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
                   13130: 
                   13131:        # Both c and cxx compiler support -rpath directly
                   13132:        hardcode_libdir_flag_spec='-rpath $libdir'
                   13133:       fi
                   13134:       archive_cmds_need_lc='no'
                   13135:       hardcode_libdir_separator=:
                   13136:       ;;
                   13137: 
                   13138:     solaris*)
                   13139:       no_undefined_flag=' -z defs'
                   13140:       if test "$GCC" = yes; then
                   13141:        wlarc='${wl}'
                   13142:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13143:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13144:          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   13145:       else
                   13146:        case `$CC -V 2>&1` in
                   13147:        *"Compilers 5.0"*)
                   13148:          wlarc=''
                   13149:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13150:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13151:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   13152:          ;;
                   13153:        *)
                   13154:          wlarc='${wl}'
                   13155:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   13156:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13157:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   13158:          ;;
                   13159:        esac
                   13160:       fi
                   13161:       hardcode_libdir_flag_spec='-R$libdir'
                   13162:       hardcode_shlibpath_var=no
                   13163:       case $host_os in
                   13164:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13165:       *)
                   13166:        # The compiler driver will combine and reorder linker options,
                   13167:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   13168:        # but is careful enough not to reorder.
                   13169:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13170:        if test "$GCC" = yes; then
                   13171:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13172:        else
                   13173:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   13174:        fi
                   13175:        ;;
                   13176:       esac
                   13177:       link_all_deplibs=yes
                   13178:       ;;
                   13179: 
                   13180:     sunos4*)
                   13181:       if test "x$host_vendor" = xsequent; then
                   13182:        # Use $CC to link under sequent, because it throws in some extra .o
                   13183:        # files that make .init and .fini sections work.
                   13184:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   13185:       else
                   13186:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   13187:       fi
                   13188:       hardcode_libdir_flag_spec='-L$libdir'
                   13189:       hardcode_direct=yes
                   13190:       hardcode_minus_L=yes
                   13191:       hardcode_shlibpath_var=no
                   13192:       ;;
                   13193: 
                   13194:     sysv4)
                   13195:       case $host_vendor in
                   13196:        sni)
                   13197:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13198:          hardcode_direct=yes # is this really true???
                   13199:        ;;
                   13200:        siemens)
                   13201:          ## LD is ld it makes a PLAMLIB
                   13202:          ## CC just makes a GrossModule.
                   13203:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   13204:          reload_cmds='$CC -r -o $output$reload_objs'
                   13205:          hardcode_direct=no
                   13206:         ;;
                   13207:        motorola)
                   13208:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13209:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   13210:        ;;
                   13211:       esac
                   13212:       runpath_var='LD_RUN_PATH'
                   13213:       hardcode_shlibpath_var=no
                   13214:       ;;
                   13215: 
                   13216:     sysv4.3*)
                   13217:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13218:       hardcode_shlibpath_var=no
                   13219:       export_dynamic_flag_spec='-Bexport'
                   13220:       ;;
                   13221: 
                   13222:     sysv4*MP*)
                   13223:       if test -d /usr/nec; then
                   13224:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13225:        hardcode_shlibpath_var=no
                   13226:        runpath_var=LD_RUN_PATH
                   13227:        hardcode_runpath_var=yes
                   13228:        ld_shlibs=yes
                   13229:       fi
                   13230:       ;;
                   13231: 
                   13232:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13233:       no_undefined_flag='${wl}-z,text'
                   13234:       archive_cmds_need_lc=no
                   13235:       hardcode_shlibpath_var=no
                   13236:       runpath_var='LD_RUN_PATH'
                   13237: 
                   13238:       if test "$GCC" = yes; then
                   13239:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13240:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13241:       else
                   13242:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13243:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13244:       fi
                   13245:       ;;
                   13246: 
                   13247:     sysv5* | sco3.2v5* | sco5v6*)
                   13248:       # Note: We can NOT use -z defs as we might desire, because we do not
                   13249:       # link with -lc, and that would cause any symbols used from libc to
                   13250:       # always be unresolved, which means just about no library would
                   13251:       # ever link correctly.  If we're not using GNU ld we use -z text
                   13252:       # though, which does catch some bad symbols but isn't as heavy-handed
                   13253:       # as -z defs.
                   13254:       no_undefined_flag='${wl}-z,text'
                   13255:       allow_undefined_flag='${wl}-z,nodefs'
                   13256:       archive_cmds_need_lc=no
                   13257:       hardcode_shlibpath_var=no
                   13258:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   13259:       hardcode_libdir_separator=':'
                   13260:       link_all_deplibs=yes
                   13261:       export_dynamic_flag_spec='${wl}-Bexport'
                   13262:       runpath_var='LD_RUN_PATH'
                   13263: 
                   13264:       if test "$GCC" = yes; then
                   13265:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13266:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13267:       else
                   13268:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13269:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13270:       fi
                   13271:       ;;
                   13272: 
                   13273:     uts4*)
                   13274:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   13275:       hardcode_libdir_flag_spec='-L$libdir'
                   13276:       hardcode_shlibpath_var=no
                   13277:       ;;
                   13278: 
                   13279:     *)
                   13280:       ld_shlibs=no
                   13281:       ;;
                   13282:     esac
                   13283: 
                   13284:     if test x$host_vendor = xsni; then
                   13285:       case $host in
                   13286:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   13287:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   13288:        ;;
                   13289:       esac
                   13290:     fi
                   13291:   fi
                   13292: 
                   13293: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   13294: $as_echo "$ld_shlibs" >&6; }
                   13295: test "$ld_shlibs" = no && can_build_shared=no
                   13296: 
                   13297: with_gnu_ld=$with_gnu_ld
                   13298: 
                   13299: 
                   13300: 
                   13301: 
                   13302: 
                   13303: 
                   13304: 
                   13305: 
                   13306: 
                   13307: 
                   13308: 
                   13309: 
                   13310: 
                   13311: 
                   13312: 
                   13313: #
                   13314: # Do we need to explicitly link libc?
                   13315: #
                   13316: case "x$archive_cmds_need_lc" in
                   13317: x|xyes)
                   13318:   # Assume -lc should be added
                   13319:   archive_cmds_need_lc=yes
                   13320: 
                   13321:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   13322:     case $archive_cmds in
                   13323:     *'~'*)
                   13324:       # FIXME: we may have to deal with multi-command sequences.
                   13325:       ;;
                   13326:     '$CC '*)
                   13327:       # Test whether the compiler implicitly links with -lc since on some
                   13328:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   13329:       # to ld, don't add -lc before -lgcc.
                   13330:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   13331: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   13332: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   13333:   $as_echo_n "(cached) " >&6
                   13334: else
                   13335:   $RM conftest*
                   13336:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13337: 
                   13338:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   13339:   (eval $ac_compile) 2>&5
                   13340:   ac_status=$?
                   13341:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13342:   test $ac_status = 0; } 2>conftest.err; then
                   13343:          soname=conftest
                   13344:          lib=conftest
                   13345:          libobjs=conftest.$ac_objext
                   13346:          deplibs=
                   13347:          wl=$lt_prog_compiler_wl
                   13348:          pic_flag=$lt_prog_compiler_pic
                   13349:          compiler_flags=-v
                   13350:          linker_flags=-v
                   13351:          verstring=
                   13352:          output_objdir=.
                   13353:          libname=conftest
                   13354:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   13355:          allow_undefined_flag=
                   13356:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   13357:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   13358:   ac_status=$?
                   13359:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13360:   test $ac_status = 0; }
                   13361:          then
                   13362:            lt_cv_archive_cmds_need_lc=no
                   13363:          else
                   13364:            lt_cv_archive_cmds_need_lc=yes
                   13365:          fi
                   13366:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   13367:        else
                   13368:          cat conftest.err 1>&5
                   13369:        fi
                   13370:        $RM conftest*
                   13371: 
                   13372: fi
                   13373: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   13374: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   13375:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   13376:       ;;
                   13377:     esac
                   13378:   fi
                   13379:   ;;
                   13380: esac
                   13381: 
                   13382: 
                   13383: 
                   13384: 
                   13385: 
                   13386: 
                   13387: 
                   13388: 
                   13389: 
                   13390: 
                   13391: 
                   13392: 
                   13393: 
                   13394: 
                   13395: 
                   13396: 
                   13397: 
                   13398: 
                   13399: 
                   13400: 
                   13401: 
                   13402: 
                   13403: 
                   13404: 
                   13405: 
                   13406: 
                   13407: 
                   13408: 
                   13409: 
                   13410: 
                   13411: 
                   13412: 
                   13413: 
                   13414: 
                   13415: 
                   13416: 
                   13417: 
                   13418: 
                   13419: 
                   13420: 
                   13421: 
                   13422: 
                   13423: 
                   13424: 
                   13425: 
                   13426: 
                   13427: 
                   13428: 
                   13429: 
                   13430: 
                   13431: 
                   13432: 
                   13433: 
                   13434: 
                   13435: 
                   13436: 
                   13437: 
                   13438: 
                   13439: 
                   13440: 
                   13441: 
                   13442: 
                   13443: 
                   13444: 
                   13445: 
                   13446: 
                   13447: 
                   13448: 
                   13449: 
                   13450: 
                   13451: 
                   13452: 
                   13453: 
                   13454: 
                   13455: 
                   13456: 
                   13457: 
                   13458: 
                   13459: 
                   13460: 
                   13461: 
                   13462: 
                   13463: 
                   13464: 
                   13465: 
                   13466: 
                   13467: 
                   13468: 
                   13469: 
                   13470: 
                   13471: 
                   13472: 
                   13473: 
                   13474: 
                   13475: 
                   13476: 
                   13477: 
                   13478: 
                   13479: 
                   13480: 
                   13481: 
                   13482: 
                   13483: 
                   13484: 
                   13485: 
                   13486: 
                   13487: 
                   13488: 
                   13489: 
                   13490: 
                   13491: 
                   13492: 
                   13493: 
                   13494: 
                   13495: 
                   13496: 
                   13497: 
                   13498: 
                   13499: 
                   13500: 
                   13501: 
                   13502: 
                   13503: 
                   13504: 
                   13505: 
                   13506: 
                   13507: 
                   13508: 
                   13509: 
                   13510: 
                   13511: 
                   13512: 
                   13513: 
                   13514: 
                   13515: 
                   13516: 
                   13517: 
                   13518: 
                   13519: 
                   13520: 
                   13521: 
                   13522: 
                   13523: 
                   13524: 
                   13525: 
                   13526: 
                   13527: 
                   13528: 
                   13529: 
                   13530: 
                   13531: 
                   13532: 
                   13533: 
                   13534: 
                   13535: 
                   13536: 
                   13537: 
                   13538:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   13539: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   13540: 
                   13541: if test "$GCC" = yes; then
                   13542:   case $host_os in
                   13543:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   13544:     *) lt_awk_arg="/^libraries:/" ;;
                   13545:   esac
                   13546:   case $host_os in
                   13547:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   13548:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   13549:   esac
                   13550:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   13551:   case $lt_search_path_spec in
                   13552:   *\;*)
                   13553:     # if the path contains ";" then we assume it to be the separator
                   13554:     # otherwise default to the standard path separator (i.e. ":") - it is
                   13555:     # assumed that no part of a normal pathname contains ";" but that should
                   13556:     # okay in the real world where ";" in dirpaths is itself problematic.
                   13557:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   13558:     ;;
                   13559:   *)
                   13560:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   13561:     ;;
                   13562:   esac
                   13563:   # Ok, now we have the path, separated by spaces, we can step through it
                   13564:   # and add multilib dir if necessary.
                   13565:   lt_tmp_lt_search_path_spec=
                   13566:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   13567:   for lt_sys_path in $lt_search_path_spec; do
                   13568:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   13569:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   13570:     else
                   13571:       test -d "$lt_sys_path" && \
                   13572:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   13573:     fi
                   13574:   done
                   13575:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   13576: BEGIN {RS=" "; FS="/|\n";} {
                   13577:   lt_foo="";
                   13578:   lt_count=0;
                   13579:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   13580:     if ($lt_i != "" && $lt_i != ".") {
                   13581:       if ($lt_i == "..") {
                   13582:         lt_count++;
                   13583:       } else {
                   13584:         if (lt_count == 0) {
                   13585:           lt_foo="/" $lt_i lt_foo;
                   13586:         } else {
                   13587:           lt_count--;
                   13588:         }
                   13589:       }
                   13590:     }
                   13591:   }
                   13592:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   13593:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   13594: }'`
                   13595:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   13596:   # for these hosts.
                   13597:   case $host_os in
                   13598:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   13599:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   13600:   esac
                   13601:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   13602: else
                   13603:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   13604: fi
                   13605: library_names_spec=
                   13606: libname_spec='lib$name'
                   13607: soname_spec=
                   13608: shrext_cmds=".so"
                   13609: postinstall_cmds=
                   13610: postuninstall_cmds=
                   13611: finish_cmds=
                   13612: finish_eval=
                   13613: shlibpath_var=
                   13614: shlibpath_overrides_runpath=unknown
                   13615: version_type=none
                   13616: dynamic_linker="$host_os ld.so"
                   13617: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   13618: need_lib_prefix=unknown
                   13619: hardcode_into_libs=no
                   13620: 
                   13621: # when you set need_version to no, make sure it does not cause -set_version
                   13622: # flags to be left without arguments
                   13623: need_version=unknown
                   13624: 
                   13625: case $host_os in
                   13626: aix3*)
                   13627:   version_type=linux
                   13628:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   13629:   shlibpath_var=LIBPATH
                   13630: 
                   13631:   # AIX 3 has no versioning support, so we append a major version to the name.
                   13632:   soname_spec='${libname}${release}${shared_ext}$major'
                   13633:   ;;
                   13634: 
                   13635: aix[4-9]*)
                   13636:   version_type=linux
                   13637:   need_lib_prefix=no
                   13638:   need_version=no
                   13639:   hardcode_into_libs=yes
                   13640:   if test "$host_cpu" = ia64; then
                   13641:     # AIX 5 supports IA64
                   13642:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   13643:     shlibpath_var=LD_LIBRARY_PATH
                   13644:   else
                   13645:     # With GCC up to 2.95.x, collect2 would create an import file
                   13646:     # for dependence libraries.  The import file would start with
                   13647:     # the line `#! .'.  This would cause the generated library to
                   13648:     # depend on `.', always an invalid library.  This was fixed in
                   13649:     # development snapshots of GCC prior to 3.0.
                   13650:     case $host_os in
                   13651:       aix4 | aix4.[01] | aix4.[01].*)
                   13652:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   13653:           echo ' yes '
                   13654:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   13655:        :
                   13656:       else
                   13657:        can_build_shared=no
                   13658:       fi
                   13659:       ;;
                   13660:     esac
                   13661:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   13662:     # soname into executable. Probably we can add versioning support to
                   13663:     # collect2, so additional links can be useful in future.
                   13664:     if test "$aix_use_runtimelinking" = yes; then
                   13665:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   13666:       # instead of lib<name>.a to let people know that these are not
                   13667:       # typical AIX shared libraries.
                   13668:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13669:     else
                   13670:       # We preserve .a as extension for shared libraries through AIX4.2
                   13671:       # and later when we are not doing run time linking.
                   13672:       library_names_spec='${libname}${release}.a $libname.a'
                   13673:       soname_spec='${libname}${release}${shared_ext}$major'
                   13674:     fi
                   13675:     shlibpath_var=LIBPATH
                   13676:   fi
                   13677:   ;;
                   13678: 
                   13679: amigaos*)
                   13680:   case $host_cpu in
                   13681:   powerpc)
                   13682:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   13683:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   13684:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13685:     ;;
                   13686:   m68k)
                   13687:     library_names_spec='$libname.ixlibrary $libname.a'
                   13688:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   13689:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
                   13690:     ;;
                   13691:   esac
                   13692:   ;;
                   13693: 
                   13694: beos*)
                   13695:   library_names_spec='${libname}${shared_ext}'
                   13696:   dynamic_linker="$host_os ld.so"
                   13697:   shlibpath_var=LIBRARY_PATH
                   13698:   ;;
                   13699: 
                   13700: bsdi[45]*)
                   13701:   version_type=linux
                   13702:   need_version=no
                   13703:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13704:   soname_spec='${libname}${release}${shared_ext}$major'
                   13705:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   13706:   shlibpath_var=LD_LIBRARY_PATH
                   13707:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   13708:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   13709:   # the default ld.so.conf also contains /usr/contrib/lib and
                   13710:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   13711:   # libtool to hard-code these into programs
                   13712:   ;;
                   13713: 
                   13714: cygwin* | mingw* | pw32* | cegcc*)
                   13715:   version_type=windows
                   13716:   shrext_cmds=".dll"
                   13717:   need_version=no
                   13718:   need_lib_prefix=no
                   13719: 
                   13720:   case $GCC,$cc_basename in
                   13721:   yes,*)
                   13722:     # gcc
                   13723:     library_names_spec='$libname.dll.a'
                   13724:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   13725:     postinstall_cmds='base_file=`basename \${file}`~
                   13726:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   13727:       dldir=$destdir/`dirname \$dlpath`~
                   13728:       test -d \$dldir || mkdir -p \$dldir~
                   13729:       $install_prog $dir/$dlname \$dldir/$dlname~
                   13730:       chmod a+x \$dldir/$dlname~
                   13731:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   13732:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   13733:       fi'
                   13734:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   13735:       dlpath=$dir/\$dldll~
                   13736:        $RM \$dlpath'
                   13737:     shlibpath_overrides_runpath=yes
                   13738: 
                   13739:     case $host_os in
                   13740:     cygwin*)
                   13741:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   13742:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   13743: 
                   13744:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   13745:       ;;
                   13746:     mingw* | cegcc*)
                   13747:       # MinGW DLLs use traditional 'lib' prefix
                   13748:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   13749:       ;;
                   13750:     pw32*)
                   13751:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   13752:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   13753:       ;;
                   13754:     esac
                   13755:     dynamic_linker='Win32 ld.exe'
                   13756:     ;;
                   13757: 
                   13758:   *,cl*)
                   13759:     # Native MSVC
                   13760:     libname_spec='$name'
                   13761:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   13762:     library_names_spec='${libname}.dll.lib'
                   13763: 
                   13764:     case $build_os in
                   13765:     mingw*)
                   13766:       sys_lib_search_path_spec=
                   13767:       lt_save_ifs=$IFS
                   13768:       IFS=';'
                   13769:       for lt_path in $LIB
                   13770:       do
                   13771:         IFS=$lt_save_ifs
                   13772:         # Let DOS variable expansion print the short 8.3 style file name.
                   13773:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   13774:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   13775:       done
                   13776:       IFS=$lt_save_ifs
                   13777:       # Convert to MSYS style.
                   13778:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   13779:       ;;
                   13780:     cygwin*)
                   13781:       # Convert to unix form, then to dos form, then back to unix form
                   13782:       # but this time dos style (no spaces!) so that the unix form looks
                   13783:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   13784:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   13785:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   13786:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   13787:       ;;
                   13788:     *)
                   13789:       sys_lib_search_path_spec="$LIB"
                   13790:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   13791:         # It is most probably a Windows format PATH.
                   13792:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   13793:       else
                   13794:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   13795:       fi
                   13796:       # FIXME: find the short name or the path components, as spaces are
                   13797:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   13798:       ;;
                   13799:     esac
                   13800: 
                   13801:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   13802:     postinstall_cmds='base_file=`basename \${file}`~
                   13803:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   13804:       dldir=$destdir/`dirname \$dlpath`~
                   13805:       test -d \$dldir || mkdir -p \$dldir~
                   13806:       $install_prog $dir/$dlname \$dldir/$dlname'
                   13807:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   13808:       dlpath=$dir/\$dldll~
                   13809:        $RM \$dlpath'
                   13810:     shlibpath_overrides_runpath=yes
                   13811:     dynamic_linker='Win32 link.exe'
                   13812:     ;;
                   13813: 
                   13814:   *)
                   13815:     # Assume MSVC wrapper
                   13816:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   13817:     dynamic_linker='Win32 ld.exe'
                   13818:     ;;
                   13819:   esac
                   13820:   # FIXME: first we should search . and the directory the executable is in
                   13821:   shlibpath_var=PATH
                   13822:   ;;
                   13823: 
                   13824: darwin* | rhapsody*)
                   13825:   dynamic_linker="$host_os dyld"
                   13826:   version_type=darwin
                   13827:   need_lib_prefix=no
                   13828:   need_version=no
                   13829:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   13830:   soname_spec='${libname}${release}${major}$shared_ext'
                   13831:   shlibpath_overrides_runpath=yes
                   13832:   shlibpath_var=DYLD_LIBRARY_PATH
                   13833:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   13834: 
                   13835:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   13836:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   13837:   ;;
                   13838: 
                   13839: dgux*)
                   13840:   version_type=linux
                   13841:   need_lib_prefix=no
                   13842:   need_version=no
                   13843:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   13844:   soname_spec='${libname}${release}${shared_ext}$major'
                   13845:   shlibpath_var=LD_LIBRARY_PATH
                   13846:   ;;
                   13847: 
                   13848: freebsd1*)
                   13849:   dynamic_linker=no
                   13850:   ;;
                   13851: 
                   13852: freebsd* | dragonfly*)
                   13853:   # DragonFly does not have aout.  When/if they implement a new
                   13854:   # versioning mechanism, adjust this.
                   13855:   if test -x /usr/bin/objformat; then
                   13856:     objformat=`/usr/bin/objformat`
                   13857:   else
                   13858:     case $host_os in
                   13859:     freebsd[123]*) objformat=aout ;;
                   13860:     *) objformat=elf ;;
                   13861:     esac
                   13862:   fi
                   13863:   version_type=freebsd-$objformat
                   13864:   case $version_type in
                   13865:     freebsd-elf*)
                   13866:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   13867:       need_version=no
                   13868:       need_lib_prefix=no
                   13869:       ;;
                   13870:     freebsd-*)
                   13871:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   13872:       need_version=yes
                   13873:       ;;
                   13874:   esac
                   13875:   shlibpath_var=LD_LIBRARY_PATH
                   13876:   case $host_os in
                   13877:   freebsd2*)
                   13878:     shlibpath_overrides_runpath=yes
                   13879:     ;;
                   13880:   freebsd3.[01]* | freebsdelf3.[01]*)
                   13881:     shlibpath_overrides_runpath=yes
                   13882:     hardcode_into_libs=yes
                   13883:     ;;
                   13884:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   13885:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   13886:     shlibpath_overrides_runpath=no
                   13887:     hardcode_into_libs=yes
                   13888:     ;;
                   13889:   *) # from 4.6 on, and DragonFly
                   13890:     shlibpath_overrides_runpath=yes
                   13891:     hardcode_into_libs=yes
                   13892:     ;;
                   13893:   esac
                   13894:   ;;
                   13895: 
                   13896: gnu*)
                   13897:   version_type=linux
                   13898:   need_lib_prefix=no
                   13899:   need_version=no
                   13900:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   13901:   soname_spec='${libname}${release}${shared_ext}$major'
                   13902:   shlibpath_var=LD_LIBRARY_PATH
                   13903:   hardcode_into_libs=yes
                   13904:   ;;
                   13905: 
                   13906: haiku*)
                   13907:   version_type=linux
                   13908:   need_lib_prefix=no
                   13909:   need_version=no
                   13910:   dynamic_linker="$host_os runtime_loader"
                   13911:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   13912:   soname_spec='${libname}${release}${shared_ext}$major'
                   13913:   shlibpath_var=LIBRARY_PATH
                   13914:   shlibpath_overrides_runpath=yes
                   13915:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   13916:   hardcode_into_libs=yes
                   13917:   ;;
                   13918: 
                   13919: hpux9* | hpux10* | hpux11*)
                   13920:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   13921:   # link against other versions.
                   13922:   version_type=sunos
                   13923:   need_lib_prefix=no
                   13924:   need_version=no
                   13925:   case $host_cpu in
                   13926:   ia64*)
                   13927:     shrext_cmds='.so'
                   13928:     hardcode_into_libs=yes
                   13929:     dynamic_linker="$host_os dld.so"
                   13930:     shlibpath_var=LD_LIBRARY_PATH
                   13931:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   13932:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13933:     soname_spec='${libname}${release}${shared_ext}$major'
                   13934:     if test "X$HPUX_IA64_MODE" = X32; then
                   13935:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   13936:     else
                   13937:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   13938:     fi
                   13939:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   13940:     ;;
                   13941:   hppa*64*)
                   13942:     shrext_cmds='.sl'
                   13943:     hardcode_into_libs=yes
                   13944:     dynamic_linker="$host_os dld.sl"
                   13945:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   13946:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   13947:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13948:     soname_spec='${libname}${release}${shared_ext}$major'
                   13949:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   13950:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   13951:     ;;
                   13952:   *)
                   13953:     shrext_cmds='.sl'
                   13954:     dynamic_linker="$host_os dld.sl"
                   13955:     shlibpath_var=SHLIB_PATH
                   13956:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   13957:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   13958:     soname_spec='${libname}${release}${shared_ext}$major'
                   13959:     ;;
                   13960:   esac
                   13961:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   13962:   postinstall_cmds='chmod 555 $lib'
                   13963:   # or fails outright, so override atomically:
                   13964:   install_override_mode=555
                   13965:   ;;
                   13966: 
                   13967: interix[3-9]*)
                   13968:   version_type=linux
                   13969:   need_lib_prefix=no
                   13970:   need_version=no
                   13971:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   13972:   soname_spec='${libname}${release}${shared_ext}$major'
                   13973:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   13974:   shlibpath_var=LD_LIBRARY_PATH
                   13975:   shlibpath_overrides_runpath=no
                   13976:   hardcode_into_libs=yes
                   13977:   ;;
                   13978: 
                   13979: irix5* | irix6* | nonstopux*)
                   13980:   case $host_os in
                   13981:     nonstopux*) version_type=nonstopux ;;
                   13982:     *)
                   13983:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   13984:                version_type=linux
                   13985:        else
                   13986:                version_type=irix
                   13987:        fi ;;
                   13988:   esac
                   13989:   need_lib_prefix=no
                   13990:   need_version=no
                   13991:   soname_spec='${libname}${release}${shared_ext}$major'
                   13992:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   13993:   case $host_os in
                   13994:   irix5* | nonstopux*)
                   13995:     libsuff= shlibsuff=
                   13996:     ;;
                   13997:   *)
                   13998:     case $LD in # libtool.m4 will add one of these switches to LD
                   13999:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14000:       libsuff= shlibsuff= libmagic=32-bit;;
                   14001:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14002:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14003:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14004:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14005:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14006:     esac
                   14007:     ;;
                   14008:   esac
                   14009:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14010:   shlibpath_overrides_runpath=no
                   14011:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   14012:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   14013:   hardcode_into_libs=yes
                   14014:   ;;
                   14015: 
                   14016: # No shared lib support for Linux oldld, aout, or coff.
                   14017: linux*oldld* | linux*aout* | linux*coff*)
                   14018:   dynamic_linker=no
                   14019:   ;;
                   14020: 
                   14021: # This must be Linux ELF.
                   14022: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14023:   version_type=linux
                   14024:   need_lib_prefix=no
                   14025:   need_version=no
                   14026:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14027:   soname_spec='${libname}${release}${shared_ext}$major'
                   14028:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14029:   shlibpath_var=LD_LIBRARY_PATH
                   14030:   shlibpath_overrides_runpath=no
                   14031: 
                   14032:   # Some binutils ld are patched to set DT_RUNPATH
                   14033:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   14034:   $as_echo_n "(cached) " >&6
                   14035: else
                   14036:   lt_cv_shlibpath_overrides_runpath=no
                   14037:     save_LDFLAGS=$LDFLAGS
                   14038:     save_libdir=$libdir
                   14039:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   14040:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   14041:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14042: /* end confdefs.h.  */
                   14043: 
                   14044: int
                   14045: main ()
                   14046: {
                   14047: 
                   14048:   ;
                   14049:   return 0;
                   14050: }
                   14051: _ACEOF
                   14052: if ac_fn_c_try_link "$LINENO"; then :
                   14053:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   14054:   lt_cv_shlibpath_overrides_runpath=yes
                   14055: fi
                   14056: fi
                   14057: rm -f core conftest.err conftest.$ac_objext \
                   14058:     conftest$ac_exeext conftest.$ac_ext
                   14059:     LDFLAGS=$save_LDFLAGS
                   14060:     libdir=$save_libdir
                   14061: 
                   14062: fi
                   14063: 
                   14064:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14065: 
                   14066:   # This implies no fast_install, which is unacceptable.
                   14067:   # Some rework will be needed to allow for fast_install
                   14068:   # before this can be enabled.
                   14069:   hardcode_into_libs=yes
                   14070: 
                   14071:   # Append ld.so.conf contents to the search path
                   14072:   if test -f /etc/ld.so.conf; then
                   14073:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
                   14074:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14075:   fi
                   14076: 
                   14077:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14078:   # powerpc, because MkLinux only supported shared libraries with the
                   14079:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14080:   # most powerpc-linux boxes support dynamic linking these days and
                   14081:   # people can always --disable-shared, the test was removed, and we
                   14082:   # assume the GNU/Linux dynamic linker is in use.
                   14083:   dynamic_linker='GNU/Linux ld.so'
                   14084:   ;;
                   14085: 
                   14086: netbsd*)
                   14087:   version_type=sunos
                   14088:   need_lib_prefix=no
                   14089:   need_version=no
                   14090:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14091:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14092:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14093:     dynamic_linker='NetBSD (a.out) ld.so'
                   14094:   else
                   14095:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14096:     soname_spec='${libname}${release}${shared_ext}$major'
                   14097:     dynamic_linker='NetBSD ld.elf_so'
                   14098:   fi
                   14099:   shlibpath_var=LD_LIBRARY_PATH
                   14100:   shlibpath_overrides_runpath=yes
                   14101:   hardcode_into_libs=yes
                   14102:   ;;
                   14103: 
                   14104: newsos6)
                   14105:   version_type=linux
                   14106:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14107:   shlibpath_var=LD_LIBRARY_PATH
                   14108:   shlibpath_overrides_runpath=yes
                   14109:   ;;
                   14110: 
                   14111: *nto* | *qnx*)
                   14112:   version_type=qnx
                   14113:   need_lib_prefix=no
                   14114:   need_version=no
                   14115:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14116:   soname_spec='${libname}${release}${shared_ext}$major'
                   14117:   shlibpath_var=LD_LIBRARY_PATH
                   14118:   shlibpath_overrides_runpath=no
                   14119:   hardcode_into_libs=yes
                   14120:   dynamic_linker='ldqnx.so'
                   14121:   ;;
                   14122: 
                   14123: openbsd*)
                   14124:   version_type=sunos
                   14125:   sys_lib_dlsearch_path_spec="/usr/lib"
                   14126:   need_lib_prefix=no
                   14127:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   14128:   case $host_os in
                   14129:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   14130:     *)                         need_version=no  ;;
                   14131:   esac
                   14132:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14133:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14134:   shlibpath_var=LD_LIBRARY_PATH
                   14135:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14136:     case $host_os in
                   14137:       openbsd2.[89] | openbsd2.[89].*)
                   14138:        shlibpath_overrides_runpath=no
                   14139:        ;;
                   14140:       *)
                   14141:        shlibpath_overrides_runpath=yes
                   14142:        ;;
                   14143:       esac
                   14144:   else
                   14145:     shlibpath_overrides_runpath=yes
                   14146:   fi
                   14147:   ;;
                   14148: 
                   14149: os2*)
                   14150:   libname_spec='$name'
                   14151:   shrext_cmds=".dll"
                   14152:   need_lib_prefix=no
                   14153:   library_names_spec='$libname${shared_ext} $libname.a'
                   14154:   dynamic_linker='OS/2 ld.exe'
                   14155:   shlibpath_var=LIBPATH
                   14156:   ;;
                   14157: 
                   14158: osf3* | osf4* | osf5*)
                   14159:   version_type=osf
                   14160:   need_lib_prefix=no
                   14161:   need_version=no
                   14162:   soname_spec='${libname}${release}${shared_ext}$major'
                   14163:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14164:   shlibpath_var=LD_LIBRARY_PATH
                   14165:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   14166:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   14167:   ;;
                   14168: 
                   14169: rdos*)
                   14170:   dynamic_linker=no
                   14171:   ;;
                   14172: 
                   14173: solaris*)
                   14174:   version_type=linux
                   14175:   need_lib_prefix=no
                   14176:   need_version=no
                   14177:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14178:   soname_spec='${libname}${release}${shared_ext}$major'
                   14179:   shlibpath_var=LD_LIBRARY_PATH
                   14180:   shlibpath_overrides_runpath=yes
                   14181:   hardcode_into_libs=yes
                   14182:   # ldd complains unless libraries are executable
                   14183:   postinstall_cmds='chmod +x $lib'
                   14184:   ;;
                   14185: 
                   14186: sunos4*)
                   14187:   version_type=sunos
                   14188:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14189:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14190:   shlibpath_var=LD_LIBRARY_PATH
                   14191:   shlibpath_overrides_runpath=yes
                   14192:   if test "$with_gnu_ld" = yes; then
                   14193:     need_lib_prefix=no
                   14194:   fi
                   14195:   need_version=yes
                   14196:   ;;
                   14197: 
                   14198: sysv4 | sysv4.3*)
                   14199:   version_type=linux
                   14200:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14201:   soname_spec='${libname}${release}${shared_ext}$major'
                   14202:   shlibpath_var=LD_LIBRARY_PATH
                   14203:   case $host_vendor in
                   14204:     sni)
                   14205:       shlibpath_overrides_runpath=no
                   14206:       need_lib_prefix=no
                   14207:       runpath_var=LD_RUN_PATH
                   14208:       ;;
                   14209:     siemens)
                   14210:       need_lib_prefix=no
                   14211:       ;;
                   14212:     motorola)
                   14213:       need_lib_prefix=no
                   14214:       need_version=no
                   14215:       shlibpath_overrides_runpath=no
                   14216:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14217:       ;;
                   14218:   esac
                   14219:   ;;
                   14220: 
                   14221: sysv4*MP*)
                   14222:   if test -d /usr/nec ;then
                   14223:     version_type=linux
                   14224:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   14225:     soname_spec='$libname${shared_ext}.$major'
                   14226:     shlibpath_var=LD_LIBRARY_PATH
                   14227:   fi
                   14228:   ;;
                   14229: 
                   14230: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14231:   version_type=freebsd-elf
                   14232:   need_lib_prefix=no
                   14233:   need_version=no
                   14234:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14235:   soname_spec='${libname}${release}${shared_ext}$major'
                   14236:   shlibpath_var=LD_LIBRARY_PATH
                   14237:   shlibpath_overrides_runpath=yes
                   14238:   hardcode_into_libs=yes
                   14239:   if test "$with_gnu_ld" = yes; then
                   14240:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14241:   else
                   14242:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14243:     case $host_os in
                   14244:       sco3.2v5*)
                   14245:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14246:        ;;
                   14247:     esac
                   14248:   fi
                   14249:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14250:   ;;
                   14251: 
                   14252: tpf*)
                   14253:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   14254:   version_type=linux
                   14255:   need_lib_prefix=no
                   14256:   need_version=no
                   14257:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14258:   shlibpath_var=LD_LIBRARY_PATH
                   14259:   shlibpath_overrides_runpath=no
                   14260:   hardcode_into_libs=yes
                   14261:   ;;
                   14262: 
                   14263: uts4*)
                   14264:   version_type=linux
                   14265:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14266:   soname_spec='${libname}${release}${shared_ext}$major'
                   14267:   shlibpath_var=LD_LIBRARY_PATH
                   14268:   ;;
                   14269: 
                   14270: *)
                   14271:   dynamic_linker=no
                   14272:   ;;
                   14273: esac
                   14274: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   14275: $as_echo "$dynamic_linker" >&6; }
                   14276: test "$dynamic_linker" = no && can_build_shared=no
                   14277: 
                   14278: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   14279: if test "$GCC" = yes; then
                   14280:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   14281: fi
                   14282: 
                   14283: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   14284:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   14285: fi
                   14286: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   14287:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   14288: fi
                   14289: 
                   14290: 
                   14291: 
                   14292: 
                   14293: 
                   14294: 
                   14295: 
                   14296: 
                   14297: 
                   14298: 
                   14299: 
                   14300: 
                   14301: 
                   14302: 
                   14303: 
                   14304: 
                   14305: 
                   14306: 
                   14307: 
                   14308: 
                   14309: 
                   14310: 
                   14311: 
                   14312: 
                   14313: 
                   14314: 
                   14315: 
                   14316: 
                   14317: 
                   14318: 
                   14319: 
                   14320: 
                   14321: 
                   14322: 
                   14323: 
                   14324: 
                   14325: 
                   14326: 
                   14327: 
                   14328: 
                   14329: 
                   14330: 
                   14331: 
                   14332: 
                   14333: 
                   14334: 
                   14335: 
                   14336: 
                   14337: 
                   14338: 
                   14339: 
                   14340: 
                   14341: 
                   14342: 
                   14343: 
                   14344: 
                   14345: 
                   14346: 
                   14347: 
                   14348: 
                   14349: 
                   14350: 
                   14351: 
                   14352: 
                   14353: 
                   14354: 
                   14355: 
                   14356: 
                   14357: 
                   14358: 
                   14359: 
                   14360: 
                   14361: 
                   14362: 
                   14363: 
                   14364: 
                   14365: 
                   14366: 
                   14367: 
                   14368: 
                   14369: 
                   14370: 
                   14371: 
                   14372: 
                   14373: 
                   14374: 
                   14375: 
                   14376: 
                   14377: 
                   14378: 
                   14379: 
                   14380: 
                   14381:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   14382: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   14383: hardcode_action=
                   14384: if test -n "$hardcode_libdir_flag_spec" ||
                   14385:    test -n "$runpath_var" ||
                   14386:    test "X$hardcode_automatic" = "Xyes" ; then
                   14387: 
                   14388:   # We can hardcode non-existent directories.
                   14389:   if test "$hardcode_direct" != no &&
                   14390:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   14391:      # have to relink, otherwise we might link with an installed library
                   14392:      # when we should be linking with a yet-to-be-installed one
                   14393:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   14394:      test "$hardcode_minus_L" != no; then
                   14395:     # Linking always hardcodes the temporary library directory.
                   14396:     hardcode_action=relink
                   14397:   else
                   14398:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   14399:     hardcode_action=immediate
                   14400:   fi
                   14401: else
                   14402:   # We cannot hardcode anything, or else we can only hardcode existing
                   14403:   # directories.
                   14404:   hardcode_action=unsupported
                   14405: fi
                   14406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   14407: $as_echo "$hardcode_action" >&6; }
                   14408: 
                   14409: if test "$hardcode_action" = relink ||
                   14410:    test "$inherit_rpath" = yes; then
                   14411:   # Fast installation is not supported
                   14412:   enable_fast_install=no
                   14413: elif test "$shlibpath_overrides_runpath" = yes ||
                   14414:      test "$enable_shared" = no; then
                   14415:   # Fast installation is not necessary
                   14416:   enable_fast_install=needless
                   14417: fi
                   14418: 
                   14419: 
                   14420: 
                   14421: 
                   14422: 
                   14423: 
                   14424:   if test "x$enable_dlopen" != xyes; then
                   14425:   enable_dlopen=unknown
                   14426:   enable_dlopen_self=unknown
                   14427:   enable_dlopen_self_static=unknown
                   14428: else
                   14429:   lt_cv_dlopen=no
                   14430:   lt_cv_dlopen_libs=
                   14431: 
                   14432:   case $host_os in
                   14433:   beos*)
                   14434:     lt_cv_dlopen="load_add_on"
                   14435:     lt_cv_dlopen_libs=
                   14436:     lt_cv_dlopen_self=yes
                   14437:     ;;
                   14438: 
                   14439:   mingw* | pw32* | cegcc*)
                   14440:     lt_cv_dlopen="LoadLibrary"
                   14441:     lt_cv_dlopen_libs=
                   14442:     ;;
                   14443: 
                   14444:   cygwin*)
                   14445:     lt_cv_dlopen="dlopen"
                   14446:     lt_cv_dlopen_libs=
                   14447:     ;;
                   14448: 
                   14449:   darwin*)
                   14450:   # if libdl is installed we need to link against it
                   14451:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   14452: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   14453: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   14454:   $as_echo_n "(cached) " >&6
                   14455: else
                   14456:   ac_check_lib_save_LIBS=$LIBS
                   14457: LIBS="-ldl  $LIBS"
                   14458: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14459: /* end confdefs.h.  */
                   14460: 
                   14461: /* Override any GCC internal prototype to avoid an error.
                   14462:    Use char because int might match the return type of a GCC
                   14463:    builtin and then its argument prototype would still apply.  */
                   14464: #ifdef __cplusplus
                   14465: extern "C"
                   14466: #endif
                   14467: char dlopen ();
                   14468: int
                   14469: main ()
                   14470: {
                   14471: return dlopen ();
                   14472:   ;
                   14473:   return 0;
                   14474: }
                   14475: _ACEOF
                   14476: if ac_fn_c_try_link "$LINENO"; then :
                   14477:   ac_cv_lib_dl_dlopen=yes
                   14478: else
                   14479:   ac_cv_lib_dl_dlopen=no
                   14480: fi
                   14481: rm -f core conftest.err conftest.$ac_objext \
                   14482:     conftest$ac_exeext conftest.$ac_ext
                   14483: LIBS=$ac_check_lib_save_LIBS
                   14484: fi
                   14485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   14486: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   14487: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   14488:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   14489: else
                   14490: 
                   14491:     lt_cv_dlopen="dyld"
                   14492:     lt_cv_dlopen_libs=
                   14493:     lt_cv_dlopen_self=yes
                   14494: 
                   14495: fi
                   14496: 
                   14497:     ;;
                   14498: 
                   14499:   *)
                   14500:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   14501: if test "x$ac_cv_func_shl_load" = xyes; then :
                   14502:   lt_cv_dlopen="shl_load"
                   14503: else
                   14504:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   14505: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   14506: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   14507:   $as_echo_n "(cached) " >&6
                   14508: else
                   14509:   ac_check_lib_save_LIBS=$LIBS
                   14510: LIBS="-ldld  $LIBS"
                   14511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14512: /* end confdefs.h.  */
                   14513: 
                   14514: /* Override any GCC internal prototype to avoid an error.
                   14515:    Use char because int might match the return type of a GCC
                   14516:    builtin and then its argument prototype would still apply.  */
                   14517: #ifdef __cplusplus
                   14518: extern "C"
                   14519: #endif
                   14520: char shl_load ();
                   14521: int
                   14522: main ()
                   14523: {
                   14524: return shl_load ();
                   14525:   ;
                   14526:   return 0;
                   14527: }
                   14528: _ACEOF
                   14529: if ac_fn_c_try_link "$LINENO"; then :
                   14530:   ac_cv_lib_dld_shl_load=yes
                   14531: else
                   14532:   ac_cv_lib_dld_shl_load=no
                   14533: fi
                   14534: rm -f core conftest.err conftest.$ac_objext \
                   14535:     conftest$ac_exeext conftest.$ac_ext
                   14536: LIBS=$ac_check_lib_save_LIBS
                   14537: fi
                   14538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   14539: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   14540: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   14541:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   14542: else
                   14543:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   14544: if test "x$ac_cv_func_dlopen" = xyes; then :
                   14545:   lt_cv_dlopen="dlopen"
                   14546: else
                   14547:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   14548: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   14549: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   14550:   $as_echo_n "(cached) " >&6
                   14551: else
                   14552:   ac_check_lib_save_LIBS=$LIBS
                   14553: LIBS="-ldl  $LIBS"
                   14554: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14555: /* end confdefs.h.  */
                   14556: 
                   14557: /* Override any GCC internal prototype to avoid an error.
                   14558:    Use char because int might match the return type of a GCC
                   14559:    builtin and then its argument prototype would still apply.  */
                   14560: #ifdef __cplusplus
                   14561: extern "C"
                   14562: #endif
                   14563: char dlopen ();
                   14564: int
                   14565: main ()
                   14566: {
                   14567: return dlopen ();
                   14568:   ;
                   14569:   return 0;
                   14570: }
                   14571: _ACEOF
                   14572: if ac_fn_c_try_link "$LINENO"; then :
                   14573:   ac_cv_lib_dl_dlopen=yes
                   14574: else
                   14575:   ac_cv_lib_dl_dlopen=no
                   14576: fi
                   14577: rm -f core conftest.err conftest.$ac_objext \
                   14578:     conftest$ac_exeext conftest.$ac_ext
                   14579: LIBS=$ac_check_lib_save_LIBS
                   14580: fi
                   14581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   14582: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   14583: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   14584:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   14585: else
                   14586:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   14587: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   14588: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   14589:   $as_echo_n "(cached) " >&6
                   14590: else
                   14591:   ac_check_lib_save_LIBS=$LIBS
                   14592: LIBS="-lsvld  $LIBS"
                   14593: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14594: /* end confdefs.h.  */
                   14595: 
                   14596: /* Override any GCC internal prototype to avoid an error.
                   14597:    Use char because int might match the return type of a GCC
                   14598:    builtin and then its argument prototype would still apply.  */
                   14599: #ifdef __cplusplus
                   14600: extern "C"
                   14601: #endif
                   14602: char dlopen ();
                   14603: int
                   14604: main ()
                   14605: {
                   14606: return dlopen ();
                   14607:   ;
                   14608:   return 0;
                   14609: }
                   14610: _ACEOF
                   14611: if ac_fn_c_try_link "$LINENO"; then :
                   14612:   ac_cv_lib_svld_dlopen=yes
                   14613: else
                   14614:   ac_cv_lib_svld_dlopen=no
                   14615: fi
                   14616: rm -f core conftest.err conftest.$ac_objext \
                   14617:     conftest$ac_exeext conftest.$ac_ext
                   14618: LIBS=$ac_check_lib_save_LIBS
                   14619: fi
                   14620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   14621: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   14622: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   14623:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   14624: else
                   14625:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   14626: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   14627: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   14628:   $as_echo_n "(cached) " >&6
                   14629: else
                   14630:   ac_check_lib_save_LIBS=$LIBS
                   14631: LIBS="-ldld  $LIBS"
                   14632: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14633: /* end confdefs.h.  */
                   14634: 
                   14635: /* Override any GCC internal prototype to avoid an error.
                   14636:    Use char because int might match the return type of a GCC
                   14637:    builtin and then its argument prototype would still apply.  */
                   14638: #ifdef __cplusplus
                   14639: extern "C"
                   14640: #endif
                   14641: char dld_link ();
                   14642: int
                   14643: main ()
                   14644: {
                   14645: return dld_link ();
                   14646:   ;
                   14647:   return 0;
                   14648: }
                   14649: _ACEOF
                   14650: if ac_fn_c_try_link "$LINENO"; then :
                   14651:   ac_cv_lib_dld_dld_link=yes
                   14652: else
                   14653:   ac_cv_lib_dld_dld_link=no
                   14654: fi
                   14655: rm -f core conftest.err conftest.$ac_objext \
                   14656:     conftest$ac_exeext conftest.$ac_ext
                   14657: LIBS=$ac_check_lib_save_LIBS
                   14658: fi
                   14659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   14660: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   14661: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   14662:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   14663: fi
                   14664: 
                   14665: 
                   14666: fi
                   14667: 
                   14668: 
                   14669: fi
                   14670: 
                   14671: 
                   14672: fi
                   14673: 
                   14674: 
                   14675: fi
                   14676: 
                   14677: 
                   14678: fi
                   14679: 
                   14680:     ;;
                   14681:   esac
                   14682: 
                   14683:   if test "x$lt_cv_dlopen" != xno; then
                   14684:     enable_dlopen=yes
                   14685:   else
                   14686:     enable_dlopen=no
                   14687:   fi
                   14688: 
                   14689:   case $lt_cv_dlopen in
                   14690:   dlopen)
                   14691:     save_CPPFLAGS="$CPPFLAGS"
                   14692:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   14693: 
                   14694:     save_LDFLAGS="$LDFLAGS"
                   14695:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   14696: 
                   14697:     save_LIBS="$LIBS"
                   14698:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   14699: 
                   14700:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   14701: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   14702: if ${lt_cv_dlopen_self+:} false; then :
                   14703:   $as_echo_n "(cached) " >&6
                   14704: else
                   14705:          if test "$cross_compiling" = yes; then :
                   14706:   lt_cv_dlopen_self=cross
                   14707: else
                   14708:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   14709:   lt_status=$lt_dlunknown
                   14710:   cat > conftest.$ac_ext <<_LT_EOF
                   14711: #line $LINENO "configure"
                   14712: #include "confdefs.h"
                   14713: 
                   14714: #if HAVE_DLFCN_H
                   14715: #include <dlfcn.h>
                   14716: #endif
                   14717: 
                   14718: #include <stdio.h>
                   14719: 
                   14720: #ifdef RTLD_GLOBAL
                   14721: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   14722: #else
                   14723: #  ifdef DL_GLOBAL
                   14724: #    define LT_DLGLOBAL                DL_GLOBAL
                   14725: #  else
                   14726: #    define LT_DLGLOBAL                0
                   14727: #  endif
                   14728: #endif
                   14729: 
                   14730: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   14731:    find out it does not work in some platform. */
                   14732: #ifndef LT_DLLAZY_OR_NOW
                   14733: #  ifdef RTLD_LAZY
                   14734: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   14735: #  else
                   14736: #    ifdef DL_LAZY
                   14737: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   14738: #    else
                   14739: #      ifdef RTLD_NOW
                   14740: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   14741: #      else
                   14742: #        ifdef DL_NOW
                   14743: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   14744: #        else
                   14745: #          define LT_DLLAZY_OR_NOW     0
                   14746: #        endif
                   14747: #      endif
                   14748: #    endif
                   14749: #  endif
                   14750: #endif
                   14751: 
                   14752: /* When -fvisbility=hidden is used, assume the code has been annotated
                   14753:    correspondingly for the symbols needed.  */
                   14754: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   14755: int fnord () __attribute__((visibility("default")));
                   14756: #endif
                   14757: 
                   14758: int fnord () { return 42; }
                   14759: int main ()
                   14760: {
                   14761:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   14762:   int status = $lt_dlunknown;
                   14763: 
                   14764:   if (self)
                   14765:     {
                   14766:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   14767:       else
                   14768:         {
                   14769:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   14770:           else puts (dlerror ());
                   14771:        }
                   14772:       /* dlclose (self); */
                   14773:     }
                   14774:   else
                   14775:     puts (dlerror ());
                   14776: 
                   14777:   return status;
                   14778: }
                   14779: _LT_EOF
                   14780:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   14781:   (eval $ac_link) 2>&5
                   14782:   ac_status=$?
                   14783:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14784:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   14785:     (./conftest; exit; ) >&5 2>/dev/null
                   14786:     lt_status=$?
                   14787:     case x$lt_status in
                   14788:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   14789:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   14790:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   14791:     esac
                   14792:   else :
                   14793:     # compilation failed
                   14794:     lt_cv_dlopen_self=no
                   14795:   fi
                   14796: fi
                   14797: rm -fr conftest*
                   14798: 
                   14799: 
                   14800: fi
                   14801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   14802: $as_echo "$lt_cv_dlopen_self" >&6; }
                   14803: 
                   14804:     if test "x$lt_cv_dlopen_self" = xyes; then
                   14805:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   14806:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   14807: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   14808: if ${lt_cv_dlopen_self_static+:} false; then :
                   14809:   $as_echo_n "(cached) " >&6
                   14810: else
                   14811:          if test "$cross_compiling" = yes; then :
                   14812:   lt_cv_dlopen_self_static=cross
                   14813: else
                   14814:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   14815:   lt_status=$lt_dlunknown
                   14816:   cat > conftest.$ac_ext <<_LT_EOF
                   14817: #line $LINENO "configure"
                   14818: #include "confdefs.h"
                   14819: 
                   14820: #if HAVE_DLFCN_H
                   14821: #include <dlfcn.h>
                   14822: #endif
                   14823: 
                   14824: #include <stdio.h>
                   14825: 
                   14826: #ifdef RTLD_GLOBAL
                   14827: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   14828: #else
                   14829: #  ifdef DL_GLOBAL
                   14830: #    define LT_DLGLOBAL                DL_GLOBAL
                   14831: #  else
                   14832: #    define LT_DLGLOBAL                0
                   14833: #  endif
                   14834: #endif
                   14835: 
                   14836: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   14837:    find out it does not work in some platform. */
                   14838: #ifndef LT_DLLAZY_OR_NOW
                   14839: #  ifdef RTLD_LAZY
                   14840: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   14841: #  else
                   14842: #    ifdef DL_LAZY
                   14843: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   14844: #    else
                   14845: #      ifdef RTLD_NOW
                   14846: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   14847: #      else
                   14848: #        ifdef DL_NOW
                   14849: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   14850: #        else
                   14851: #          define LT_DLLAZY_OR_NOW     0
                   14852: #        endif
                   14853: #      endif
                   14854: #    endif
                   14855: #  endif
                   14856: #endif
                   14857: 
                   14858: /* When -fvisbility=hidden is used, assume the code has been annotated
                   14859:    correspondingly for the symbols needed.  */
                   14860: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   14861: int fnord () __attribute__((visibility("default")));
                   14862: #endif
                   14863: 
                   14864: int fnord () { return 42; }
                   14865: int main ()
                   14866: {
                   14867:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   14868:   int status = $lt_dlunknown;
                   14869: 
                   14870:   if (self)
                   14871:     {
                   14872:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   14873:       else
                   14874:         {
                   14875:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   14876:           else puts (dlerror ());
                   14877:        }
                   14878:       /* dlclose (self); */
                   14879:     }
                   14880:   else
                   14881:     puts (dlerror ());
                   14882: 
                   14883:   return status;
                   14884: }
                   14885: _LT_EOF
                   14886:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   14887:   (eval $ac_link) 2>&5
                   14888:   ac_status=$?
                   14889:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   14890:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   14891:     (./conftest; exit; ) >&5 2>/dev/null
                   14892:     lt_status=$?
                   14893:     case x$lt_status in
                   14894:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   14895:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   14896:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   14897:     esac
                   14898:   else :
                   14899:     # compilation failed
                   14900:     lt_cv_dlopen_self_static=no
                   14901:   fi
                   14902: fi
                   14903: rm -fr conftest*
                   14904: 
                   14905: 
                   14906: fi
                   14907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   14908: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   14909:     fi
                   14910: 
                   14911:     CPPFLAGS="$save_CPPFLAGS"
                   14912:     LDFLAGS="$save_LDFLAGS"
                   14913:     LIBS="$save_LIBS"
                   14914:     ;;
                   14915:   esac
                   14916: 
                   14917:   case $lt_cv_dlopen_self in
                   14918:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   14919:   *) enable_dlopen_self=unknown ;;
                   14920:   esac
                   14921: 
                   14922:   case $lt_cv_dlopen_self_static in
                   14923:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   14924:   *) enable_dlopen_self_static=unknown ;;
                   14925:   esac
                   14926: fi
                   14927: 
                   14928: 
                   14929: 
                   14930: 
                   14931: 
                   14932: 
                   14933: 
                   14934: 
                   14935: 
                   14936: 
                   14937: 
                   14938: 
                   14939: 
                   14940: 
                   14941: 
                   14942: 
                   14943: 
                   14944: striplib=
                   14945: old_striplib=
                   14946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   14947: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   14948: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   14949:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   14950:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   14951:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14952: $as_echo "yes" >&6; }
                   14953: else
                   14954: # FIXME - insert some real tests, host_os isn't really good enough
                   14955:   case $host_os in
                   14956:   darwin*)
                   14957:     if test -n "$STRIP" ; then
                   14958:       striplib="$STRIP -x"
                   14959:       old_striplib="$STRIP -S"
                   14960:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14961: $as_echo "yes" >&6; }
                   14962:     else
                   14963:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14964: $as_echo "no" >&6; }
                   14965:     fi
                   14966:     ;;
                   14967:   *)
                   14968:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14969: $as_echo "no" >&6; }
                   14970:     ;;
                   14971:   esac
                   14972: fi
                   14973: 
                   14974: 
                   14975: 
                   14976: 
                   14977: 
                   14978: 
                   14979: 
                   14980: 
                   14981: 
                   14982: 
                   14983: 
                   14984: 
                   14985:   # Report which library types will actually be built
                   14986:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   14987: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   14988:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   14989: $as_echo "$can_build_shared" >&6; }
                   14990: 
                   14991:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   14992: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   14993:   test "$can_build_shared" = "no" && enable_shared=no
                   14994: 
                   14995:   # On AIX, shared libraries and static libraries use the same namespace, and
                   14996:   # are all built from PIC.
                   14997:   case $host_os in
                   14998:   aix3*)
                   14999:     test "$enable_shared" = yes && enable_static=no
                   15000:     if test -n "$RANLIB"; then
                   15001:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   15002:       postinstall_cmds='$RANLIB $lib'
                   15003:     fi
                   15004:     ;;
                   15005: 
                   15006:   aix[4-9]*)
                   15007:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   15008:       test "$enable_shared" = yes && enable_static=no
                   15009:     fi
                   15010:     ;;
                   15011:   esac
                   15012:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   15013: $as_echo "$enable_shared" >&6; }
                   15014: 
                   15015:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   15016: $as_echo_n "checking whether to build static libraries... " >&6; }
                   15017:   # Make sure either enable_shared or enable_static is yes.
                   15018:   test "$enable_shared" = yes || enable_static=yes
                   15019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   15020: $as_echo "$enable_static" >&6; }
                   15021: 
                   15022: 
                   15023: 
                   15024: 
                   15025: fi
                   15026: ac_ext=c
                   15027: ac_cpp='$CPP $CPPFLAGS'
                   15028: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15029: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15030: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15031: 
                   15032: CC="$lt_save_CC"
                   15033: 
                   15034: 
                   15035: 
                   15036: 
                   15037: 
                   15038: 
                   15039: 
                   15040: 
                   15041: 
                   15042: 
                   15043: 
                   15044: 
                   15045: 
                   15046:         ac_config_commands="$ac_config_commands libtool"
                   15047: 
                   15048: 
                   15049: 
                   15050: 
                   15051: # Only expand once:
                   15052: 
                   15053: 
                   15054: 
                   15055: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   15056: $as_echo_n "checking whether ln -s works... " >&6; }
                   15057: LN_S=$as_ln_s
                   15058: if test "$LN_S" = "ln -s"; then
                   15059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15060: $as_echo "yes" >&6; }
                   15061: else
                   15062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   15063: $as_echo "no, using $LN_S" >&6; }
                   15064: fi
                   15065: 
                   15066: if test $ac_cv_c_compiler_gnu = yes; then
                   15067:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
                   15068: $as_echo_n "checking whether $CC needs -traditional... " >&6; }
                   15069: if ${ac_cv_prog_gcc_traditional+:} false; then :
                   15070:   $as_echo_n "(cached) " >&6
                   15071: else
                   15072:     ac_pattern="Autoconf.*'x'"
                   15073:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15074: /* end confdefs.h.  */
                   15075: #include <sgtty.h>
                   15076: Autoconf TIOCGETP
                   15077: _ACEOF
                   15078: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   15079:   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
                   15080:   ac_cv_prog_gcc_traditional=yes
                   15081: else
                   15082:   ac_cv_prog_gcc_traditional=no
                   15083: fi
                   15084: rm -f conftest*
                   15085: 
                   15086: 
                   15087:   if test $ac_cv_prog_gcc_traditional = no; then
                   15088:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15089: /* end confdefs.h.  */
                   15090: #include <termio.h>
                   15091: Autoconf TCGETA
                   15092: _ACEOF
                   15093: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   15094:   $EGREP "$ac_pattern" >/dev/null 2>&1; then :
                   15095:   ac_cv_prog_gcc_traditional=yes
                   15096: fi
                   15097: rm -f conftest*
                   15098: 
                   15099:   fi
                   15100: fi
                   15101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
                   15102: $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
                   15103:   if test $ac_cv_prog_gcc_traditional = yes; then
                   15104:     CC="$CC -traditional"
                   15105:   fi
                   15106: fi
                   15107: 
                   15108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
                   15109: $as_echo_n "checking for working volatile... " >&6; }
                   15110: if ${ac_cv_c_volatile+:} false; then :
                   15111:   $as_echo_n "(cached) " >&6
                   15112: else
                   15113:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15114: /* end confdefs.h.  */
                   15115: 
                   15116: int
                   15117: main ()
                   15118: {
                   15119: 
                   15120: volatile int x;
                   15121: int * volatile y = (int *) 0;
                   15122: return !x && !y;
                   15123:   ;
                   15124:   return 0;
                   15125: }
                   15126: _ACEOF
                   15127: if ac_fn_c_try_compile "$LINENO"; then :
                   15128:   ac_cv_c_volatile=yes
                   15129: else
                   15130:   ac_cv_c_volatile=no
                   15131: fi
                   15132: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15133: fi
                   15134: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
                   15135: $as_echo "$ac_cv_c_volatile" >&6; }
                   15136: if test $ac_cv_c_volatile = no; then
                   15137: 
                   15138: $as_echo "#define volatile /**/" >>confdefs.h
                   15139: 
                   15140: fi
                   15141: 
                   15142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
                   15143: $as_echo_n "checking for library containing strerror... " >&6; }
                   15144: if ${ac_cv_search_strerror+:} false; then :
                   15145:   $as_echo_n "(cached) " >&6
                   15146: else
                   15147:   ac_func_search_save_LIBS=$LIBS
                   15148: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15149: /* end confdefs.h.  */
                   15150: 
                   15151: /* Override any GCC internal prototype to avoid an error.
                   15152:    Use char because int might match the return type of a GCC
                   15153:    builtin and then its argument prototype would still apply.  */
                   15154: #ifdef __cplusplus
                   15155: extern "C"
                   15156: #endif
                   15157: char strerror ();
                   15158: int
                   15159: main ()
                   15160: {
                   15161: return strerror ();
                   15162:   ;
                   15163:   return 0;
                   15164: }
                   15165: _ACEOF
                   15166: for ac_lib in '' cposix; do
                   15167:   if test -z "$ac_lib"; then
                   15168:     ac_res="none required"
                   15169:   else
                   15170:     ac_res=-l$ac_lib
                   15171:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15172:   fi
                   15173:   if ac_fn_c_try_link "$LINENO"; then :
                   15174:   ac_cv_search_strerror=$ac_res
                   15175: fi
                   15176: rm -f core conftest.err conftest.$ac_objext \
                   15177:     conftest$ac_exeext
                   15178:   if ${ac_cv_search_strerror+:} false; then :
                   15179:   break
                   15180: fi
                   15181: done
                   15182: if ${ac_cv_search_strerror+:} false; then :
                   15183: 
                   15184: else
                   15185:   ac_cv_search_strerror=no
                   15186: fi
                   15187: rm conftest.$ac_ext
                   15188: LIBS=$ac_func_search_save_LIBS
                   15189: fi
                   15190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
                   15191: $as_echo "$ac_cv_search_strerror" >&6; }
                   15192: ac_res=$ac_cv_search_strerror
                   15193: if test "$ac_res" != no; then :
                   15194:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   15195: 
                   15196: fi
                   15197: 
                   15198: 
                   15199: # Extract the first word of "perl", so it can be a program name with args.
                   15200: set dummy perl; ac_word=$2
                   15201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   15202: $as_echo_n "checking for $ac_word... " >&6; }
                   15203: if ${ac_cv_path_PATH_PERL+:} false; then :
                   15204:   $as_echo_n "(cached) " >&6
                   15205: else
                   15206:   case $PATH_PERL in
                   15207:   [\\/]* | ?:[\\/]*)
                   15208:   ac_cv_path_PATH_PERL="$PATH_PERL" # Let the user override the test with a path.
                   15209:   ;;
                   15210:   *)
                   15211:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15212: for as_dir in $PATH
                   15213: do
                   15214:   IFS=$as_save_IFS
                   15215:   test -z "$as_dir" && as_dir=.
                   15216:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    15217:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    15218:     ac_cv_path_PATH_PERL="$as_dir/$ac_word$ac_exec_ext"
                   15219:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   15220:     break 2
                   15221:   fi
                   15222: done
                   15223:   done
                   15224: IFS=$as_save_IFS
                   15225: 
                   15226:   ;;
                   15227: esac
                   15228: fi
                   15229: PATH_PERL=$ac_cv_path_PATH_PERL
                   15230: if test -n "$PATH_PERL"; then
                   15231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_PERL" >&5
                   15232: $as_echo "$PATH_PERL" >&6; }
                   15233: else
                   15234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15235: $as_echo "no" >&6; }
                   15236: fi
                   15237: 
                   15238: 
                   15239: # Extract the first word of "sh", so it can be a program name with args.
                   15240: set dummy sh; ac_word=$2
                   15241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   15242: $as_echo_n "checking for $ac_word... " >&6; }
                   15243: if ${ac_cv_path_PATH_SH+:} false; then :
                   15244:   $as_echo_n "(cached) " >&6
                   15245: else
                   15246:   case $PATH_SH in
                   15247:   [\\/]* | ?:[\\/]*)
                   15248:   ac_cv_path_PATH_SH="$PATH_SH" # Let the user override the test with a path.
                   15249:   ;;
                   15250:   *)
                   15251:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15252: for as_dir in $PATH
                   15253: do
                   15254:   IFS=$as_save_IFS
                   15255:   test -z "$as_dir" && as_dir=.
                   15256:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    15257:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    15258:     ac_cv_path_PATH_SH="$as_dir/$ac_word$ac_exec_ext"
                   15259:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   15260:     break 2
                   15261:   fi
                   15262: done
                   15263:   done
                   15264: IFS=$as_save_IFS
                   15265: 
                   15266:   ;;
                   15267: esac
                   15268: fi
                   15269: PATH_SH=$ac_cv_path_PATH_SH
                   15270: if test -n "$PATH_SH"; then
                   15271:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_SH" >&5
                   15272: $as_echo "$PATH_SH" >&6; }
                   15273: else
                   15274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15275: $as_echo "no" >&6; }
                   15276: fi
                   15277: 
                   15278: 
                   15279: # Extract the first word of "test", so it can be a program name with args.
                   15280: set dummy test; ac_word=$2
                   15281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   15282: $as_echo_n "checking for $ac_word... " >&6; }
                   15283: if ${ac_cv_path_PATH_TEST+:} false; then :
                   15284:   $as_echo_n "(cached) " >&6
                   15285: else
                   15286:   case $PATH_TEST in
                   15287:   [\\/]* | ?:[\\/]*)
                   15288:   ac_cv_path_PATH_TEST="$PATH_TEST" # Let the user override the test with a path.
                   15289:   ;;
                   15290:   *)
                   15291:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15292: for as_dir in $PATH
                   15293: do
                   15294:   IFS=$as_save_IFS
                   15295:   test -z "$as_dir" && as_dir=.
                   15296:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    15297:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    15298:     ac_cv_path_PATH_TEST="$as_dir/$ac_word$ac_exec_ext"
                   15299:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   15300:     break 2
                   15301:   fi
                   15302: done
                   15303:   done
                   15304: IFS=$as_save_IFS
                   15305: 
                   15306:   ;;
                   15307: esac
                   15308: fi
                   15309: PATH_TEST=$ac_cv_path_PATH_TEST
                   15310: if test -n "$PATH_TEST"; then
                   15311:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_TEST" >&5
                   15312: $as_echo "$PATH_TEST" >&6; }
                   15313: else
                   15314:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15315: $as_echo "no" >&6; }
                   15316: fi
                   15317: 
                   15318: 
                   15319: 
                   15320: 
                   15321: # Check whether --with-net-snmp-config was given.
                   15322: if test "${with_net_snmp_config+set}" = set; then :
                   15323:   withval=$with_net_snmp_config; ans=$withval
                   15324: else
                   15325:   ans=yes
                   15326: 
                   15327: fi
                   15328: 
                   15329: case "$ans" in
                   15330:  no)
                   15331:     ;;
                   15332:  yes)
                   15333:     ans=net-snmp-config
                   15334:     ;;
                   15335:  /*)
                   15336:     ;;
                   15337:  */*)
                   15338:     as_fn_error $? "--with-net-snmp-config takes either a name or an absolute path" "$LINENO" 5
                   15339:     ;;
                   15340:  *)
                   15341:     ;;
                   15342: esac
                   15343: PROG_NET_SNMP_CONFIG=$ans
                   15344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for net-snmp-config path" >&5
                   15345: $as_echo_n "checking for net-snmp-config path... " >&6; }
                   15346: case "$PROG_NET_SNMP_CONFIG" in
                   15347:  no) ;;
                   15348:  /*)
                   15349:     PATH_NET_SNMP_CONFIG=$PROG_NET_SNMP_CONFIG
                   15350:     ;;
                   15351:  *)
                   15352:     # Extract the first word of "$PROG_NET_SNMP_CONFIG", so it can be a program name with args.
                   15353: set dummy $PROG_NET_SNMP_CONFIG; ac_word=$2
                   15354: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   15355: $as_echo_n "checking for $ac_word... " >&6; }
                   15356: if ${ac_cv_path_PATH_NET_SNMP_CONFIG+:} false; then :
                   15357:   $as_echo_n "(cached) " >&6
                   15358: else
                   15359:   case $PATH_NET_SNMP_CONFIG in
                   15360:   [\\/]* | ?:[\\/]*)
                   15361:   ac_cv_path_PATH_NET_SNMP_CONFIG="$PATH_NET_SNMP_CONFIG" # Let the user override the test with a path.
                   15362:   ;;
                   15363:   *)
                   15364:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15365: for as_dir in $PATH
                   15366: do
                   15367:   IFS=$as_save_IFS
                   15368:   test -z "$as_dir" && as_dir=.
                   15369:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.1.2.1! misho    15370:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    15371:     ac_cv_path_PATH_NET_SNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   15372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   15373:     break 2
                   15374:   fi
                   15375: done
                   15376:   done
                   15377: IFS=$as_save_IFS
                   15378: 
                   15379:   ;;
                   15380: esac
                   15381: fi
                   15382: PATH_NET_SNMP_CONFIG=$ac_cv_path_PATH_NET_SNMP_CONFIG
                   15383: if test -n "$PATH_NET_SNMP_CONFIG"; then
                   15384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_NET_SNMP_CONFIG" >&5
                   15385: $as_echo "$PATH_NET_SNMP_CONFIG" >&6; }
                   15386: else
                   15387:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15388: $as_echo "no" >&6; }
                   15389: fi
                   15390: 
                   15391: 
                   15392:     ;;
                   15393: esac
                   15394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_NET_SNMP_CONFIG" >&5
                   15395: $as_echo "$PATH_NET_SNMP_CONFIG" >&6; }
                   15396: 
                   15397: case "$host" in
                   15398:  *-*-vxworks*)
                   15399:     ac_link="$ac_link $VX_KERNEL"
                   15400:     ;;
                   15401: esac
                   15402: 
                   15403: 
                   15404: 
                   15405: ac_fn_c_check_func "$LINENO" "gethostent" "ac_cv_func_gethostent"
                   15406: if test "x$ac_cv_func_gethostent" = xyes; then :
                   15407: 
                   15408: else
                   15409:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
                   15410: $as_echo_n "checking for library containing gethostent... " >&6; }
                   15411: if ${ac_cv_search_gethostent+:} false; then :
                   15412:   $as_echo_n "(cached) " >&6
                   15413: else
                   15414:   ac_func_search_save_LIBS=$LIBS
                   15415: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15416: /* end confdefs.h.  */
                   15417: 
                   15418: /* Override any GCC internal prototype to avoid an error.
                   15419:    Use char because int might match the return type of a GCC
                   15420:    builtin and then its argument prototype would still apply.  */
                   15421: #ifdef __cplusplus
                   15422: extern "C"
                   15423: #endif
                   15424: char gethostent ();
                   15425: int
                   15426: main ()
                   15427: {
                   15428: return gethostent ();
                   15429:   ;
                   15430:   return 0;
                   15431: }
                   15432: _ACEOF
                   15433: for ac_lib in '' nsl; do
                   15434:   if test -z "$ac_lib"; then
                   15435:     ac_res="none required"
                   15436:   else
                   15437:     ac_res=-l$ac_lib
                   15438:     LIBS="-l$ac_lib $libxnet -lsocket $ac_func_search_save_LIBS"
                   15439:   fi
                   15440:   if ac_fn_c_try_link "$LINENO"; then :
                   15441:   ac_cv_search_gethostent=$ac_res
                   15442: fi
                   15443: rm -f core conftest.err conftest.$ac_objext \
                   15444:     conftest$ac_exeext
                   15445:   if ${ac_cv_search_gethostent+:} false; then :
                   15446:   break
                   15447: fi
                   15448: done
                   15449: if ${ac_cv_search_gethostent+:} false; then :
                   15450: 
                   15451: else
                   15452:   ac_cv_search_gethostent=no
                   15453: fi
                   15454: rm conftest.$ac_ext
                   15455: LIBS=$ac_func_search_save_LIBS
                   15456: fi
                   15457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
                   15458: $as_echo "$ac_cv_search_gethostent" >&6; }
                   15459: ac_res=$ac_cv_search_gethostent
                   15460: if test "$ac_res" != no; then :
                   15461:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   15462: 
                   15463: fi
                   15464: 
                   15465: fi
                   15466: 
                   15467: ac_fn_c_check_func "$LINENO" "openlog" "ac_cv_func_openlog"
                   15468: if test "x$ac_cv_func_openlog" = xyes; then :
                   15469: 
                   15470: else
                   15471:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openlog" >&5
                   15472: $as_echo_n "checking for library containing openlog... " >&6; }
                   15473: if ${ac_cv_search_openlog+:} false; then :
                   15474:   $as_echo_n "(cached) " >&6
                   15475: else
                   15476:   ac_func_search_save_LIBS=$LIBS
                   15477: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15478: /* end confdefs.h.  */
                   15479: 
                   15480: /* Override any GCC internal prototype to avoid an error.
                   15481:    Use char because int might match the return type of a GCC
                   15482:    builtin and then its argument prototype would still apply.  */
                   15483: #ifdef __cplusplus
                   15484: extern "C"
                   15485: #endif
                   15486: char openlog ();
                   15487: int
                   15488: main ()
                   15489: {
                   15490: return openlog ();
                   15491:   ;
                   15492:   return 0;
                   15493: }
                   15494: _ACEOF
                   15495: for ac_lib in '' gen; do
                   15496:   if test -z "$ac_lib"; then
                   15497:     ac_res="none required"
                   15498:   else
                   15499:     ac_res=-l$ac_lib
                   15500:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15501:   fi
                   15502:   if ac_fn_c_try_link "$LINENO"; then :
                   15503:   ac_cv_search_openlog=$ac_res
                   15504: fi
                   15505: rm -f core conftest.err conftest.$ac_objext \
                   15506:     conftest$ac_exeext
                   15507:   if ${ac_cv_search_openlog+:} false; then :
                   15508:   break
                   15509: fi
                   15510: done
                   15511: if ${ac_cv_search_openlog+:} false; then :
                   15512: 
                   15513: else
                   15514:   ac_cv_search_openlog=no
                   15515: fi
                   15516: rm conftest.$ac_ext
                   15517: LIBS=$ac_func_search_save_LIBS
                   15518: fi
                   15519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openlog" >&5
                   15520: $as_echo "$ac_cv_search_openlog" >&6; }
                   15521: ac_res=$ac_cv_search_openlog
                   15522: if test "$ac_res" != no; then :
                   15523:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   15524: 
                   15525: else
                   15526:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openlog" >&5
                   15527: $as_echo_n "checking for library containing openlog... " >&6; }
                   15528: if ${ac_cv_search_openlog+:} false; then :
                   15529:   $as_echo_n "(cached) " >&6
                   15530: else
                   15531:   ac_func_search_save_LIBS=$LIBS
                   15532: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15533: /* end confdefs.h.  */
                   15534: 
                   15535: /* Override any GCC internal prototype to avoid an error.
                   15536:    Use char because int might match the return type of a GCC
                   15537:    builtin and then its argument prototype would still apply.  */
                   15538: #ifdef __cplusplus
                   15539: extern "C"
                   15540: #endif
                   15541: char openlog ();
                   15542: int
                   15543: main ()
                   15544: {
                   15545: return openlog ();
                   15546:   ;
                   15547:   return 0;
                   15548: }
                   15549: _ACEOF
                   15550: for ac_lib in '' syslog; do
                   15551:   if test -z "$ac_lib"; then
                   15552:     ac_res="none required"
                   15553:   else
                   15554:     ac_res=-l$ac_lib
                   15555:     LIBS="-l$ac_lib $libxnet -lsocket $ac_func_search_save_LIBS"
                   15556:   fi
                   15557:   if ac_fn_c_try_link "$LINENO"; then :
                   15558:   ac_cv_search_openlog=$ac_res
                   15559: fi
                   15560: rm -f core conftest.err conftest.$ac_objext \
                   15561:     conftest$ac_exeext
                   15562:   if ${ac_cv_search_openlog+:} false; then :
                   15563:   break
                   15564: fi
                   15565: done
                   15566: if ${ac_cv_search_openlog+:} false; then :
                   15567: 
                   15568: else
                   15569:   ac_cv_search_openlog=no
                   15570: fi
                   15571: rm conftest.$ac_ext
                   15572: LIBS=$ac_func_search_save_LIBS
                   15573: fi
                   15574: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openlog" >&5
                   15575: $as_echo "$ac_cv_search_openlog" >&6; }
                   15576: ac_res=$ac_cv_search_openlog
                   15577: if test "$ac_res" != no; then :
                   15578:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   15579: 
                   15580: fi
                   15581: 
                   15582: fi
                   15583: 
                   15584: fi
                   15585: 
                   15586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing MD5Init" >&5
                   15587: $as_echo_n "checking for library containing MD5Init... " >&6; }
                   15588: if ${ac_cv_search_MD5Init+:} false; then :
                   15589:   $as_echo_n "(cached) " >&6
                   15590: else
                   15591:   ac_func_search_save_LIBS=$LIBS
                   15592: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15593: /* end confdefs.h.  */
                   15594: 
                   15595: /* Override any GCC internal prototype to avoid an error.
                   15596:    Use char because int might match the return type of a GCC
                   15597:    builtin and then its argument prototype would still apply.  */
                   15598: #ifdef __cplusplus
                   15599: extern "C"
                   15600: #endif
                   15601: char MD5Init ();
                   15602: int
                   15603: main ()
                   15604: {
                   15605: return MD5Init ();
                   15606:   ;
                   15607:   return 0;
                   15608: }
                   15609: _ACEOF
                   15610: for ac_lib in '' md5 md; do
                   15611:   if test -z "$ac_lib"; then
                   15612:     ac_res="none required"
                   15613:   else
                   15614:     ac_res=-l$ac_lib
                   15615:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15616:   fi
                   15617:   if ac_fn_c_try_link "$LINENO"; then :
                   15618:   ac_cv_search_MD5Init=$ac_res
                   15619: fi
                   15620: rm -f core conftest.err conftest.$ac_objext \
                   15621:     conftest$ac_exeext
                   15622:   if ${ac_cv_search_MD5Init+:} false; then :
                   15623:   break
                   15624: fi
                   15625: done
                   15626: if ${ac_cv_search_MD5Init+:} false; then :
                   15627: 
                   15628: else
                   15629:   ac_cv_search_MD5Init=no
                   15630: fi
                   15631: rm conftest.$ac_ext
                   15632: LIBS=$ac_func_search_save_LIBS
                   15633: fi
                   15634: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5Init" >&5
                   15635: $as_echo "$ac_cv_search_MD5Init" >&6; }
                   15636: ac_res=$ac_cv_search_MD5Init
                   15637: if test "$ac_res" != no; then :
                   15638:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   15639: 
                   15640: fi
                   15641: 
                   15642: for ac_func in MD5Init
                   15643: do :
                   15644:   ac_fn_c_check_func "$LINENO" "MD5Init" "ac_cv_func_MD5Init"
                   15645: if test "x$ac_cv_func_MD5Init" = xyes; then :
                   15646:   cat >>confdefs.h <<_ACEOF
                   15647: #define HAVE_MD5INIT 1
                   15648: _ACEOF
                   15649: 
                   15650: fi
                   15651: done
                   15652: 
                   15653: 
                   15654: 
                   15655:     NTP_ORIG_LIBS="$LIBS"
                   15656: 
                   15657: # Check whether --with-lineeditlibs was given.
                   15658: if test "${with_lineeditlibs+set}" = set; then :
                   15659:   withval=$with_lineeditlibs; use_lineeditlibs="$withval"
                   15660: else
                   15661:   use_lineeditlibs="edit,editline"
                   15662: 
                   15663: fi
                   15664: 
                   15665:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking line editing libraries" >&5
                   15666: $as_echo_n "checking line editing libraries... " >&6; }
                   15667:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_lineeditlibs" >&5
                   15668: $as_echo "$use_lineeditlibs" >&6; }
                   15669:     case "$use_lineeditlibs" in
                   15670:      no)
                   15671:        ntp_lib_lineedit=no
                   15672:        ;;
                   15673:      *)
                   15674:        for lineedit_lib in `echo $use_lineeditlibs | sed -e 's/,/ /'`; do
                   15675:            for term_lib in "" termcap curses ncurses; do
                   15676:                case "$term_lib" in
                   15677:                 '')
                   15678:                    TRY_LIB="-l$lineedit_lib"
                   15679:                    ;;
                   15680:                 *)
                   15681:                    TRY_LIB="-l$lineedit_lib -l$term_lib"
                   15682:                    ;;
                   15683:                esac
                   15684:                LIBS="$NTP_ORIG_LIBS $TRY_LIB"
                   15685:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline() with $TRY_LIB" >&5
                   15686: $as_echo_n "checking for readline() with $TRY_LIB... " >&6; }
                   15687:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15688: /* end confdefs.h.  */
                   15689: 
                   15690: /* Override any GCC internal prototype to avoid an error.
                   15691:    Use char because int might match the return type of a GCC
                   15692:    builtin and then its argument prototype would still apply.  */
                   15693: #ifdef __cplusplus
                   15694: extern "C"
                   15695: #endif
                   15696: char readline ();
                   15697: int
                   15698: main ()
                   15699: {
                   15700: return readline ();
                   15701:   ;
                   15702:   return 0;
                   15703: }
                   15704: _ACEOF
                   15705: if ac_fn_c_try_link "$LINENO"; then :
                   15706:   ntp_lib_lineedit="$TRY_LIB"
                   15707: fi
                   15708: rm -f core conftest.err conftest.$ac_objext \
                   15709:     conftest$ac_exeext conftest.$ac_ext
                   15710:                case "$ntp_lib_lineedit" in
                   15711:                 '')
                   15712:                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15713: $as_echo "no" >&6; }
                   15714:                    ;;
                   15715:                 *)
                   15716:                    # Use readline()
                   15717:                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15718: $as_echo "yes" >&6; }
                   15719:                    break
                   15720:                esac
                   15721:                case "$term_lib" in
                   15722:                 '')
                   15723:                    # do not try el_gets without a terminal library
                   15724:                    ;;
                   15725:                 *)
                   15726:                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for el_gets() with $TRY_LIB" >&5
                   15727: $as_echo_n "checking for el_gets() with $TRY_LIB... " >&6; }
                   15728:                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15729: /* end confdefs.h.  */
                   15730: 
                   15731: /* Override any GCC internal prototype to avoid an error.
                   15732:    Use char because int might match the return type of a GCC
                   15733:    builtin and then its argument prototype would still apply.  */
                   15734: #ifdef __cplusplus
                   15735: extern "C"
                   15736: #endif
                   15737: char el_gets ();
                   15738: int
                   15739: main ()
                   15740: {
                   15741: return el_gets ();
                   15742:   ;
                   15743:   return 0;
                   15744: }
                   15745: _ACEOF
                   15746: if ac_fn_c_try_link "$LINENO"; then :
                   15747:   ntp_lib_lineedit="$TRY_LIB"
                   15748: fi
                   15749: rm -f core conftest.err conftest.$ac_objext \
                   15750:     conftest$ac_exeext conftest.$ac_ext
                   15751:                    case "$ntp_lib_lineedit" in
                   15752:                     '')
                   15753:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   15754: $as_echo "no" >&6; }
                   15755:                        ;;
                   15756:                     *) # Use el_gets()
                   15757:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   15758: $as_echo "yes" >&6; }
                   15759:                        break
                   15760:                        ;;
                   15761:                    esac        # $ntp_lib_lineedit
                   15762:                esac            # $term_lib
                   15763:            done
                   15764:            case "$ntp_lib_lineedit" in
                   15765:             '')
                   15766:                ;;
                   15767:             *)
                   15768:                break
                   15769:                ;;
                   15770:            esac
                   15771:        done
                   15772:        LIBS="$NTP_ORIG_LIBS"
                   15773:        ;;
                   15774:     esac       # $use_lineeditlibs
                   15775: 
                   15776:     case "$ntp_lib_lineedit" in
                   15777:      '')
                   15778:        ntp_lib_lineedit="no"
                   15779:        ;;
                   15780:      no)
                   15781:        ;;
                   15782:      *)
                   15783:        EDITLINE_LIBS="$ntp_lib_lineedit"
                   15784: 
                   15785:        ;;
                   15786:     esac       # $ntp_lib_lineedit
                   15787: 
                   15788:     case "$ntp_lib_lineedit" in
                   15789:      no)
                   15790:        ;;
                   15791:      *)
                   15792:        for ac_header in readline.h readline/readline.h histedit.h
                   15793: do :
                   15794:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   15795: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   15796: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   15797:   cat >>confdefs.h <<_ACEOF
                   15798: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   15799: _ACEOF
                   15800: 
                   15801: fi
                   15802: 
                   15803: done
                   15804: 
                   15805:        for ac_header in history.h readline/history.h
                   15806: do :
                   15807:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   15808: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   15809: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   15810:   cat >>confdefs.h <<_ACEOF
                   15811: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   15812: _ACEOF
                   15813: 
                   15814: fi
                   15815: 
                   15816: done
                   15817: 
                   15818: 
                   15819:        case "$ac_cv_header_histedit_h" in
                   15820:         yes)
                   15821:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of arguments to el_init()" >&5
                   15822: $as_echo_n "checking number of arguments to el_init()... " >&6; }
                   15823: if ${ntp_cv_el_init_args+:} false; then :
                   15824:   $as_echo_n "(cached) " >&6
                   15825: else
                   15826:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15827: /* end confdefs.h.  */
                   15828: 
                   15829:                            #include <stdio.h>
                   15830:                            #include <histedit.h>
                   15831: 
                   15832: int
                   15833: main ()
                   15834: {
                   15835: 
                   15836:                            el_init("conftest", stdin, stdout, stderr);
                   15837: 
                   15838: 
                   15839:   ;
                   15840:   return 0;
                   15841: }
                   15842: _ACEOF
                   15843: if ac_fn_c_try_compile "$LINENO"; then :
                   15844:   ntp_cv_el_init_args=4
                   15845: else
                   15846:   ntp_cv_el_init_args=3
                   15847: 
                   15848: fi
                   15849: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15850: 
                   15851: fi
                   15852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_el_init_args" >&5
                   15853: $as_echo "$ntp_cv_el_init_args" >&6; }
                   15854: 
                   15855: cat >>confdefs.h <<_ACEOF
                   15856: #define EL_INIT_ARGS $ntp_cv_el_init_args
                   15857: _ACEOF
                   15858: 
                   15859:        esac
                   15860: 
                   15861:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
                   15862: $as_echo_n "checking whether readline supports history... " >&6; }
                   15863: 
                   15864:        ntp_lib_lineedit_history="no"
                   15865:        ORIG_LIBS="$LIBS"
                   15866:        LIBS="$ORIG_LIBS $ntp_lib_lineedit"
                   15867:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15868: /* end confdefs.h.  */
                   15869: 
                   15870: /* Override any GCC internal prototype to avoid an error.
                   15871:    Use char because int might match the return type of a GCC
                   15872:    builtin and then its argument prototype would still apply.  */
                   15873: #ifdef __cplusplus
                   15874: extern "C"
                   15875: #endif
                   15876: char add_history ();
                   15877: int
                   15878: main ()
                   15879: {
                   15880: return add_history ();
                   15881:   ;
                   15882:   return 0;
                   15883: }
                   15884: _ACEOF
                   15885: if ac_fn_c_try_link "$LINENO"; then :
                   15886:   ntp_lib_lineedit_history="yes"
                   15887: fi
                   15888: rm -f core conftest.err conftest.$ac_objext \
                   15889:     conftest$ac_exeext conftest.$ac_ext
                   15890:        LIBS="$ORIG_LIBS"
                   15891: 
                   15892:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_lib_lineedit_history" >&5
                   15893: $as_echo "$ntp_lib_lineedit_history" >&6; }
                   15894: 
                   15895:        case "$ntp_lib_lineedit_history" in
                   15896:         yes)
                   15897: 
                   15898: $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
                   15899: 
                   15900:        esac
                   15901:     esac       # $ntp_lib_lineedit
                   15902:     { NTP_ORIG_LIBS=; unset NTP_ORIG_LIBS;}
                   15903:     { ORIG_LIBS=; unset ORIG_LIBS;}
                   15904:     { TRY_LIB=; unset TRY_LIB;}
                   15905:     { use_lineeditlibs=; unset use_lineeditlibs;}
                   15906: 
                   15907: 
                   15908: 
                   15909: case "$host" in
                   15910:  *-*-*linux*) ;;
                   15911:  *-*-osf4*) ;;
                   15912:  *-*-osf5*) ;;
                   15913:  *)
                   15914:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setscheduler in -lrt" >&5
                   15915: $as_echo_n "checking for sched_setscheduler in -lrt... " >&6; }
                   15916: if ${ac_cv_lib_rt_sched_setscheduler+:} false; then :
                   15917:   $as_echo_n "(cached) " >&6
                   15918: else
                   15919:   ac_check_lib_save_LIBS=$LIBS
                   15920: LIBS="-lrt  $LIBS"
                   15921: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15922: /* end confdefs.h.  */
                   15923: 
                   15924: /* Override any GCC internal prototype to avoid an error.
                   15925:    Use char because int might match the return type of a GCC
                   15926:    builtin and then its argument prototype would still apply.  */
                   15927: #ifdef __cplusplus
                   15928: extern "C"
                   15929: #endif
                   15930: char sched_setscheduler ();
                   15931: int
                   15932: main ()
                   15933: {
                   15934: return sched_setscheduler ();
                   15935:   ;
                   15936:   return 0;
                   15937: }
                   15938: _ACEOF
                   15939: if ac_fn_c_try_link "$LINENO"; then :
                   15940:   ac_cv_lib_rt_sched_setscheduler=yes
                   15941: else
                   15942:   ac_cv_lib_rt_sched_setscheduler=no
                   15943: fi
                   15944: rm -f core conftest.err conftest.$ac_objext \
                   15945:     conftest$ac_exeext conftest.$ac_ext
                   15946: LIBS=$ac_check_lib_save_LIBS
                   15947: fi
                   15948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_setscheduler" >&5
                   15949: $as_echo "$ac_cv_lib_rt_sched_setscheduler" >&6; }
                   15950: if test "x$ac_cv_lib_rt_sched_setscheduler" = xyes; then :
                   15951:   cat >>confdefs.h <<_ACEOF
                   15952: #define HAVE_LIBRT 1
                   15953: _ACEOF
                   15954: 
                   15955:   LIBS="-lrt $LIBS"
                   15956: 
                   15957: else
                   15958:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setscheduler in -lposix4" >&5
                   15959: $as_echo_n "checking for sched_setscheduler in -lposix4... " >&6; }
                   15960: if ${ac_cv_lib_posix4_sched_setscheduler+:} false; then :
                   15961:   $as_echo_n "(cached) " >&6
                   15962: else
                   15963:   ac_check_lib_save_LIBS=$LIBS
                   15964: LIBS="-lposix4  $LIBS"
                   15965: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15966: /* end confdefs.h.  */
                   15967: 
                   15968: /* Override any GCC internal prototype to avoid an error.
                   15969:    Use char because int might match the return type of a GCC
                   15970:    builtin and then its argument prototype would still apply.  */
                   15971: #ifdef __cplusplus
                   15972: extern "C"
                   15973: #endif
                   15974: char sched_setscheduler ();
                   15975: int
                   15976: main ()
                   15977: {
                   15978: return sched_setscheduler ();
                   15979:   ;
                   15980:   return 0;
                   15981: }
                   15982: _ACEOF
                   15983: if ac_fn_c_try_link "$LINENO"; then :
                   15984:   ac_cv_lib_posix4_sched_setscheduler=yes
                   15985: else
                   15986:   ac_cv_lib_posix4_sched_setscheduler=no
                   15987: fi
                   15988: rm -f core conftest.err conftest.$ac_objext \
                   15989:     conftest$ac_exeext conftest.$ac_ext
                   15990: LIBS=$ac_check_lib_save_LIBS
                   15991: fi
                   15992: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_setscheduler" >&5
                   15993: $as_echo "$ac_cv_lib_posix4_sched_setscheduler" >&6; }
                   15994: if test "x$ac_cv_lib_posix4_sched_setscheduler" = xyes; then :
                   15995:   cat >>confdefs.h <<_ACEOF
                   15996: #define HAVE_LIBPOSIX4 1
                   15997: _ACEOF
                   15998: 
                   15999:   LIBS="-lposix4 $LIBS"
                   16000: 
                   16001: fi
                   16002: 
                   16003: fi
                   16004: 
                   16005:     ;;
                   16006: esac
                   16007: 
                   16008: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
                   16009: $as_echo_n "checking for library containing setsockopt... " >&6; }
                   16010: if ${ac_cv_search_setsockopt+:} false; then :
                   16011:   $as_echo_n "(cached) " >&6
                   16012: else
                   16013:   ac_func_search_save_LIBS=$LIBS
                   16014: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16015: /* end confdefs.h.  */
                   16016: 
                   16017: /* Override any GCC internal prototype to avoid an error.
                   16018:    Use char because int might match the return type of a GCC
                   16019:    builtin and then its argument prototype would still apply.  */
                   16020: #ifdef __cplusplus
                   16021: extern "C"
                   16022: #endif
                   16023: char setsockopt ();
                   16024: int
                   16025: main ()
                   16026: {
                   16027: return setsockopt ();
                   16028:   ;
                   16029:   return 0;
                   16030: }
                   16031: _ACEOF
                   16032: for ac_lib in '' socket xnet; do
                   16033:   if test -z "$ac_lib"; then
                   16034:     ac_res="none required"
                   16035:   else
                   16036:     ac_res=-l$ac_lib
                   16037:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   16038:   fi
                   16039:   if ac_fn_c_try_link "$LINENO"; then :
                   16040:   ac_cv_search_setsockopt=$ac_res
                   16041: fi
                   16042: rm -f core conftest.err conftest.$ac_objext \
                   16043:     conftest$ac_exeext
                   16044:   if ${ac_cv_search_setsockopt+:} false; then :
                   16045:   break
                   16046: fi
                   16047: done
                   16048: if ${ac_cv_search_setsockopt+:} false; then :
                   16049: 
                   16050: else
                   16051:   ac_cv_search_setsockopt=no
                   16052: fi
                   16053: rm conftest.$ac_ext
                   16054: LIBS=$ac_func_search_save_LIBS
                   16055: fi
                   16056: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
                   16057: $as_echo "$ac_cv_search_setsockopt" >&6; }
                   16058: ac_res=$ac_cv_search_setsockopt
                   16059: if test "$ac_res" != no; then :
                   16060:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   16061: 
                   16062: fi
                   16063: 
                   16064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_init" >&5
                   16065: $as_echo_n "checking for library containing res_init... " >&6; }
                   16066: if ${ac_cv_search_res_init+:} false; then :
                   16067:   $as_echo_n "(cached) " >&6
                   16068: else
                   16069:   ac_func_search_save_LIBS=$LIBS
                   16070: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16071: /* end confdefs.h.  */
                   16072: 
                   16073: /* Override any GCC internal prototype to avoid an error.
                   16074:    Use char because int might match the return type of a GCC
                   16075:    builtin and then its argument prototype would still apply.  */
                   16076: #ifdef __cplusplus
                   16077: extern "C"
                   16078: #endif
                   16079: char res_init ();
                   16080: int
                   16081: main ()
                   16082: {
                   16083: return res_init ();
                   16084:   ;
                   16085:   return 0;
                   16086: }
                   16087: _ACEOF
                   16088: for ac_lib in '' resolv; do
                   16089:   if test -z "$ac_lib"; then
                   16090:     ac_res="none required"
                   16091:   else
                   16092:     ac_res=-l$ac_lib
                   16093:     LIBS="-l$ac_lib -lsocket -lnsl $ac_func_search_save_LIBS"
                   16094:   fi
                   16095:   if ac_fn_c_try_link "$LINENO"; then :
                   16096:   ac_cv_search_res_init=$ac_res
                   16097: fi
                   16098: rm -f core conftest.err conftest.$ac_objext \
                   16099:     conftest$ac_exeext
                   16100:   if ${ac_cv_search_res_init+:} false; then :
                   16101:   break
                   16102: fi
                   16103: done
                   16104: if ${ac_cv_search_res_init+:} false; then :
                   16105: 
                   16106: else
                   16107:   ac_cv_search_res_init=no
                   16108: fi
                   16109: rm conftest.$ac_ext
                   16110: LIBS=$ac_func_search_save_LIBS
                   16111: fi
                   16112: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_init" >&5
                   16113: $as_echo "$ac_cv_search_res_init" >&6; }
                   16114: ac_res=$ac_cv_search_res_init
                   16115: if test "$ac_res" != no; then :
                   16116:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   16117: 
                   16118: fi
                   16119: 
                   16120: case "$host" in
                   16121:  *-*-darwin*)
                   16122:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_9_init in -lresolv" >&5
                   16123: $as_echo_n "checking for res_9_init in -lresolv... " >&6; }
                   16124: if ${ac_cv_lib_resolv_res_9_init+:} false; then :
                   16125:   $as_echo_n "(cached) " >&6
                   16126: else
                   16127:   ac_check_lib_save_LIBS=$LIBS
                   16128: LIBS="-lresolv  $LIBS"
                   16129: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16130: /* end confdefs.h.  */
                   16131: 
                   16132: /* Override any GCC internal prototype to avoid an error.
                   16133:    Use char because int might match the return type of a GCC
                   16134:    builtin and then its argument prototype would still apply.  */
                   16135: #ifdef __cplusplus
                   16136: extern "C"
                   16137: #endif
                   16138: char res_9_init ();
                   16139: int
                   16140: main ()
                   16141: {
                   16142: return res_9_init ();
                   16143:   ;
                   16144:   return 0;
                   16145: }
                   16146: _ACEOF
                   16147: if ac_fn_c_try_link "$LINENO"; then :
                   16148:   ac_cv_lib_resolv_res_9_init=yes
                   16149: else
                   16150:   ac_cv_lib_resolv_res_9_init=no
                   16151: fi
                   16152: rm -f core conftest.err conftest.$ac_objext \
                   16153:     conftest$ac_exeext conftest.$ac_ext
                   16154: LIBS=$ac_check_lib_save_LIBS
                   16155: fi
                   16156: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_9_init" >&5
                   16157: $as_echo "$ac_cv_lib_resolv_res_9_init" >&6; }
                   16158: if test "x$ac_cv_lib_resolv_res_9_init" = xyes; then :
                   16159:   cat >>confdefs.h <<_ACEOF
                   16160: #define HAVE_LIBRESOLV 1
                   16161: _ACEOF
                   16162: 
                   16163:   LIBS="-lresolv $LIBS"
                   16164: 
                   16165: fi
                   16166: 
                   16167:     ;;
                   16168: esac
                   16169: for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h
                   16170: do :
                   16171:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16172: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
                   16173: #  include <sys/types.h>
                   16174: #endif
                   16175: #ifdef HAVE_NETINET_IN_H
                   16176: #  include <netinet/in.h>   /* inet_ functions / structs */
                   16177: #endif
                   16178: #ifdef HAVE_ARPA_NAMESER_H
                   16179: #  include <arpa/nameser.h> /* DNS HEADER struct */
                   16180: #endif
                   16181: #ifdef HAVE_NETDB_H
                   16182: #  include <netdb.h>
                   16183: #endif
                   16184: "
                   16185: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16186:   cat >>confdefs.h <<_ACEOF
                   16187: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16188: _ACEOF
                   16189: 
                   16190: fi
                   16191: 
                   16192: done
                   16193: 
                   16194: 
                   16195: for ac_func in res_init __res_init
                   16196: do :
                   16197:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16198: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16199: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   16200:   cat >>confdefs.h <<_ACEOF
                   16201: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16202: _ACEOF
                   16203: 
                   16204: fi
                   16205: done
                   16206: 
                   16207: 
                   16208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   16209: $as_echo_n "checking for ANSI C header files... " >&6; }
                   16210: if ${ac_cv_header_stdc+:} false; then :
                   16211:   $as_echo_n "(cached) " >&6
                   16212: else
                   16213:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16214: /* end confdefs.h.  */
                   16215: #include <stdlib.h>
                   16216: #include <stdarg.h>
                   16217: #include <string.h>
                   16218: #include <float.h>
                   16219: 
                   16220: int
                   16221: main ()
                   16222: {
                   16223: 
                   16224:   ;
                   16225:   return 0;
                   16226: }
                   16227: _ACEOF
                   16228: if ac_fn_c_try_compile "$LINENO"; then :
                   16229:   ac_cv_header_stdc=yes
                   16230: else
                   16231:   ac_cv_header_stdc=no
                   16232: fi
                   16233: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16234: 
                   16235: if test $ac_cv_header_stdc = yes; then
                   16236:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   16237:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16238: /* end confdefs.h.  */
                   16239: #include <string.h>
                   16240: 
                   16241: _ACEOF
                   16242: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   16243:   $EGREP "memchr" >/dev/null 2>&1; then :
                   16244: 
                   16245: else
                   16246:   ac_cv_header_stdc=no
                   16247: fi
                   16248: rm -f conftest*
                   16249: 
                   16250: fi
                   16251: 
                   16252: if test $ac_cv_header_stdc = yes; then
                   16253:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   16254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16255: /* end confdefs.h.  */
                   16256: #include <stdlib.h>
                   16257: 
                   16258: _ACEOF
                   16259: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   16260:   $EGREP "free" >/dev/null 2>&1; then :
                   16261: 
                   16262: else
                   16263:   ac_cv_header_stdc=no
                   16264: fi
                   16265: rm -f conftest*
                   16266: 
                   16267: fi
                   16268: 
                   16269: if test $ac_cv_header_stdc = yes; then
                   16270:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   16271:   if test "$cross_compiling" = yes; then :
                   16272:   :
                   16273: else
                   16274:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16275: /* end confdefs.h.  */
                   16276: #include <ctype.h>
                   16277: #include <stdlib.h>
                   16278: #if ((' ' & 0x0FF) == 0x020)
                   16279: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   16280: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   16281: #else
                   16282: # define ISLOWER(c) \
                   16283:                   (('a' <= (c) && (c) <= 'i') \
                   16284:                     || ('j' <= (c) && (c) <= 'r') \
                   16285:                     || ('s' <= (c) && (c) <= 'z'))
                   16286: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   16287: #endif
                   16288: 
                   16289: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   16290: int
                   16291: main ()
                   16292: {
                   16293:   int i;
                   16294:   for (i = 0; i < 256; i++)
                   16295:     if (XOR (islower (i), ISLOWER (i))
                   16296:        || toupper (i) != TOUPPER (i))
                   16297:       return 2;
                   16298:   return 0;
                   16299: }
                   16300: _ACEOF
                   16301: if ac_fn_c_try_run "$LINENO"; then :
                   16302: 
                   16303: else
                   16304:   ac_cv_header_stdc=no
                   16305: fi
                   16306: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16307:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16308: fi
                   16309: 
                   16310: fi
                   16311: fi
                   16312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   16313: $as_echo "$ac_cv_header_stdc" >&6; }
                   16314: if test $ac_cv_header_stdc = yes; then
                   16315: 
                   16316: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   16317: 
                   16318: fi
                   16319: 
                   16320: for ac_header in bstring.h
                   16321: do :
                   16322:   ac_fn_c_check_header_mongrel "$LINENO" "bstring.h" "ac_cv_header_bstring_h" "$ac_includes_default"
                   16323: if test "x$ac_cv_header_bstring_h" = xyes; then :
                   16324:   cat >>confdefs.h <<_ACEOF
                   16325: #define HAVE_BSTRING_H 1
                   16326: _ACEOF
                   16327: 
                   16328: fi
                   16329: 
                   16330: done
                   16331: 
                   16332: ac_fn_c_check_header_mongrel "$LINENO" "dns_sd.h" "ac_cv_header_dns_sd_h" "$ac_includes_default"
                   16333: if test "x$ac_cv_header_dns_sd_h" = xyes; then :
                   16334:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DNSServiceRegister in -ldns_sd" >&5
                   16335: $as_echo_n "checking for DNSServiceRegister in -ldns_sd... " >&6; }
                   16336: if ${ac_cv_lib_dns_sd_DNSServiceRegister+:} false; then :
                   16337:   $as_echo_n "(cached) " >&6
                   16338: else
                   16339:   ac_check_lib_save_LIBS=$LIBS
                   16340: LIBS="-ldns_sd  $LIBS"
                   16341: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16342: /* end confdefs.h.  */
                   16343: 
                   16344: /* Override any GCC internal prototype to avoid an error.
                   16345:    Use char because int might match the return type of a GCC
                   16346:    builtin and then its argument prototype would still apply.  */
                   16347: #ifdef __cplusplus
                   16348: extern "C"
                   16349: #endif
                   16350: char DNSServiceRegister ();
                   16351: int
                   16352: main ()
                   16353: {
                   16354: return DNSServiceRegister ();
                   16355:   ;
                   16356:   return 0;
                   16357: }
                   16358: _ACEOF
                   16359: if ac_fn_c_try_link "$LINENO"; then :
                   16360:   ac_cv_lib_dns_sd_DNSServiceRegister=yes
                   16361: else
                   16362:   ac_cv_lib_dns_sd_DNSServiceRegister=no
                   16363: fi
                   16364: rm -f core conftest.err conftest.$ac_objext \
                   16365:     conftest$ac_exeext conftest.$ac_ext
                   16366: LIBS=$ac_check_lib_save_LIBS
                   16367: fi
                   16368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dns_sd_DNSServiceRegister" >&5
                   16369: $as_echo "$ac_cv_lib_dns_sd_DNSServiceRegister" >&6; }
                   16370: if test "x$ac_cv_lib_dns_sd_DNSServiceRegister" = xyes; then :
                   16371: 
                   16372: $as_echo "#define HAVE_DNSREGISTRATION 1" >>confdefs.h
                   16373: 
                   16374: 
                   16375: fi
                   16376: 
                   16377: 
                   16378: fi
                   16379: 
                   16380: 
                   16381: case "$ac_cv_lib_dns_sd_DNSServiceRegister" in
                   16382:  yes)
                   16383:     LIBS="-ldns_sd $LIBS"
                   16384: esac
                   16385: for ac_header in errno.h fcntl.h ieeefp.h kvm.h math.h
                   16386: do :
                   16387:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16388: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16389: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16390:   cat >>confdefs.h <<_ACEOF
                   16391: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16392: _ACEOF
                   16393: 
                   16394: fi
                   16395: 
                   16396: done
                   16397: 
                   16398: 
                   16399: for ac_header in md5.h
                   16400: do :
                   16401:   ac_fn_c_check_header_compile "$LINENO" "md5.h" "ac_cv_header_md5_h" "
                   16402:        #ifdef HAVE_SYS_TYPES_H
                   16403:        # include <sys/types.h>
                   16404:        #endif
                   16405: 
                   16406: 
                   16407: "
                   16408: if test "x$ac_cv_header_md5_h" = xyes; then :
                   16409:   cat >>confdefs.h <<_ACEOF
                   16410: #define HAVE_MD5_H 1
                   16411: _ACEOF
                   16412: 
                   16413: fi
                   16414: 
                   16415: done
                   16416: 
                   16417: for ac_header in memory.h netdb.h poll.h
                   16418: do :
                   16419:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16420: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16421: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16422:   cat >>confdefs.h <<_ACEOF
                   16423: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16424: _ACEOF
                   16425: 
                   16426: fi
                   16427: 
                   16428: done
                   16429: 
                   16430: for ac_header in sgtty.h stdlib.h string.h termio.h
                   16431: do :
                   16432:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16433: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16434: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16435:   cat >>confdefs.h <<_ACEOF
                   16436: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16437: _ACEOF
                   16438: 
                   16439: fi
                   16440: 
                   16441: done
                   16442: 
                   16443: for ac_header in termios.h timepps.h timex.h unistd.h
                   16444: do :
                   16445:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16446: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16447: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16448:   cat >>confdefs.h <<_ACEOF
                   16449: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16450: _ACEOF
                   16451: 
                   16452: fi
                   16453: 
                   16454: done
                   16455: 
                   16456: 
                   16457: case "$host" in
                   16458:  *-*-aix*)
                   16459:     for ac_header in utmpx.h
                   16460: do :
                   16461:   ac_fn_c_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
                   16462: if test "x$ac_cv_header_utmpx_h" = xyes; then :
                   16463:   cat >>confdefs.h <<_ACEOF
                   16464: #define HAVE_UTMPX_H 1
                   16465: _ACEOF
                   16466: 
                   16467: fi
                   16468: 
                   16469: done
                   16470: 
                   16471:     case "$ac_cv_header_utmpx_h" in
                   16472:      yes)
                   16473:        ;;
                   16474:      *)
                   16475:        for ac_header in utmp.h
                   16476: do :
                   16477:   ac_fn_c_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
                   16478: if test "x$ac_cv_header_utmp_h" = xyes; then :
                   16479:   cat >>confdefs.h <<_ACEOF
                   16480: #define HAVE_UTMP_H 1
                   16481: _ACEOF
                   16482: 
                   16483: fi
                   16484: 
                   16485: done
                   16486: 
                   16487:        ;;
                   16488:     esac
                   16489:     ;;
                   16490:  *)
                   16491:     for ac_header in utmp.h utmpx.h
                   16492: do :
                   16493:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16494: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16495: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16496:   cat >>confdefs.h <<_ACEOF
                   16497: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16498: _ACEOF
                   16499: 
                   16500: fi
                   16501: 
                   16502: done
                   16503: 
                   16504:     ;;
                   16505: esac
                   16506: 
                   16507: #
                   16508: # On Suns only (so far) getpass() truncates the typed password to 8
                   16509: # characters, but getpassphrase() allows up to 257.  Most systems'
                   16510: # getpass() does not truncate, at least not so as to affect ntpq and
                   16511: # ntpdc password prompts.
                   16512: #
                   16513: # So check for getpassphrase(), but only on Sun operating systems.
                   16514: #
                   16515: case "$host" in
                   16516:  *-*-sunos*|*-*-solaris*)
                   16517:     for ac_func in getpassphrase
                   16518: do :
                   16519:   ac_fn_c_check_func "$LINENO" "getpassphrase" "ac_cv_func_getpassphrase"
                   16520: if test "x$ac_cv_func_getpassphrase" = xyes; then :
                   16521:   cat >>confdefs.h <<_ACEOF
                   16522: #define HAVE_GETPASSPHRASE 1
                   16523: _ACEOF
                   16524: 
                   16525: fi
                   16526: done
                   16527: 
                   16528: esac
                   16529: 
                   16530: for ac_header in arpa/nameser.h
                   16531: do :
                   16532:   ac_fn_c_check_header_mongrel "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
                   16533: if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
                   16534:   cat >>confdefs.h <<_ACEOF
                   16535: #define HAVE_ARPA_NAMESER_H 1
                   16536: _ACEOF
                   16537: 
                   16538: fi
                   16539: 
                   16540: done
                   16541: 
                   16542: for ac_header in sys/socket.h
                   16543: do :
                   16544:   ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
                   16545: if test "x$ac_cv_header_sys_socket_h" = xyes; then :
                   16546:   cat >>confdefs.h <<_ACEOF
                   16547: #define HAVE_SYS_SOCKET_H 1
                   16548: _ACEOF
                   16549: 
                   16550: fi
                   16551: 
                   16552: done
                   16553: 
                   16554: 
                   16555: #
                   16556: case "$host" in
                   16557:  *-hp-hpux*)
                   16558:     for ac_header in net/netmp.h
                   16559: do :
                   16560:   ac_fn_c_check_header_mongrel "$LINENO" "net/netmp.h" "ac_cv_header_net_netmp_h" "$ac_includes_default"
                   16561: if test "x$ac_cv_header_net_netmp_h" = xyes; then :
                   16562:   cat >>confdefs.h <<_ACEOF
                   16563: #define HAVE_NET_NETMP_H 1
                   16564: _ACEOF
                   16565:  netmp_h_works=yes
                   16566: else
                   16567:   netmp_h_works=no
                   16568: 
                   16569: fi
                   16570: 
                   16571: done
                   16572: 
                   16573:     case "$netmp_h_works" in
                   16574:      no)
                   16575:        cat >>confdefs.h <<_ACEOF
                   16576: #ifndef MPINFOU_PREDECLARED
                   16577: # define MPINFOU_PREDECLARED
                   16578: typedef union mpinfou {                /* For lint */
                   16579:        struct pdk_mpinfo *pdkptr;
                   16580:        struct mpinfo *pikptr;
                   16581: } mpinfou_t;
                   16582: #endif
                   16583: _ACEOF
                   16584: 
                   16585:        ;;
                   16586:     esac
                   16587:     ;;
                   16588: esac
                   16589: 
                   16590: case "$host" in
                   16591:  *-linux*)
                   16592:     for ac_header in linux/if_addr.h
                   16593: do :
                   16594:   ac_fn_c_check_header_compile "$LINENO" "linux/if_addr.h" "ac_cv_header_linux_if_addr_h" "
                   16595:        #ifdef HAVE_SYS_SOCKET_H
                   16596:        # include <sys/socket.h>
                   16597:        #endif
                   16598: 
                   16599: "
                   16600: if test "x$ac_cv_header_linux_if_addr_h" = xyes; then :
                   16601:   cat >>confdefs.h <<_ACEOF
                   16602: #define HAVE_LINUX_IF_ADDR_H 1
                   16603: _ACEOF
                   16604: 
                   16605: fi
                   16606: 
                   16607: done
                   16608: 
                   16609: esac
                   16610: 
                   16611: for ac_header in net/if.h
                   16612: do :
                   16613:   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#ifdef HAVE_SYS_SOCKET_H
                   16614: #include <sys/socket.h>
                   16615: #endif
                   16616: 
                   16617: "
                   16618: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   16619:   cat >>confdefs.h <<_ACEOF
                   16620: #define HAVE_NET_IF_H 1
                   16621: _ACEOF
                   16622: 
                   16623: fi
                   16624: 
                   16625: done
                   16626: 
                   16627: for ac_header in net/if6.h
                   16628: do :
                   16629:   ac_fn_c_check_header_mongrel "$LINENO" "net/if6.h" "ac_cv_header_net_if6_h" "$ac_includes_default"
                   16630: if test "x$ac_cv_header_net_if6_h" = xyes; then :
                   16631:   cat >>confdefs.h <<_ACEOF
                   16632: #define HAVE_NET_IF6_H 1
                   16633: _ACEOF
                   16634: 
                   16635: fi
                   16636: 
                   16637: done
                   16638: 
                   16639: for ac_header in net/route.h
                   16640: do :
                   16641:   ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "
                   16642: #include <sys/types.h>
                   16643: #include <sys/socket.h>
                   16644: #include <net/if.h>
                   16645: 
                   16646: "
                   16647: if test "x$ac_cv_header_net_route_h" = xyes; then :
                   16648:   cat >>confdefs.h <<_ACEOF
                   16649: #define HAVE_NET_ROUTE_H 1
                   16650: _ACEOF
                   16651: 
                   16652: fi
                   16653: 
                   16654: done
                   16655: 
                   16656: for ac_header in netinet/in_system.h netinet/in_systm.h netinet/in.h
                   16657: do :
                   16658:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16659: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16660: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16661:   cat >>confdefs.h <<_ACEOF
                   16662: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16663: _ACEOF
                   16664: 
                   16665: fi
                   16666: 
                   16667: done
                   16668: 
                   16669: for ac_header in net/if_var.h
                   16670: do :
                   16671:   ac_fn_c_check_header_compile "$LINENO" "net/if_var.h" "ac_cv_header_net_if_var_h" "#if HAVE_SYS_TYPES_H
                   16672: #include <sys/types.h>
                   16673: #endif
                   16674: #ifdef HAVE_SYS_SOCKET_H
                   16675: #include <sys/socket.h>
                   16676: #endif
                   16677: #ifdef HAVE_NETINET_IN_H
                   16678: #include <netinet/in.h>
                   16679: #endif
                   16680: #ifdef HAVE_NET_IF_H
                   16681: #include <net/if.h>
                   16682: #endif
                   16683: 
                   16684: "
                   16685: if test "x$ac_cv_header_net_if_var_h" = xyes; then :
                   16686:   cat >>confdefs.h <<_ACEOF
                   16687: #define HAVE_NET_IF_VAR_H 1
                   16688: _ACEOF
                   16689: 
                   16690: fi
                   16691: 
                   16692: done
                   16693: 
                   16694: for ac_header in netinet/ip.h netinet/in_var.h
                   16695: do :
                   16696:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16697: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H
                   16698: #include <sys/types.h>
                   16699: #endif
                   16700: #ifdef HAVE_SYS_SOCKET_H
                   16701: #include <sys/socket.h>
                   16702: #endif
                   16703: #ifdef HAVE_NET_IF_H
                   16704: #include <net/if.h>
                   16705: #endif
                   16706: #ifdef HAVE_NETINET_IN_H
                   16707: #include <netinet/in.h>
                   16708: #endif
                   16709: #ifdef HAVE_NET_IF_VAR_H
                   16710: #include <net/if_var.h>
                   16711: #endif
                   16712: #ifdef HAVE_NETINET_IN_SYSTM_H
                   16713: #include <netinet/in_systm.h>
                   16714: #endif
                   16715: 
                   16716: "
                   16717: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16718:   cat >>confdefs.h <<_ACEOF
                   16719: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16720: _ACEOF
                   16721: 
                   16722: fi
                   16723: 
                   16724: done
                   16725: 
                   16726: 
                   16727: # Check for IPTOS_PREC
                   16728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking IPPROTO_IP IP_TOS IPTOS_LOWDELAY" >&5
                   16729: $as_echo_n "checking IPPROTO_IP IP_TOS IPTOS_LOWDELAY... " >&6; }
                   16730: if ${ntp_cv_ip_tos+:} false; then :
                   16731:   $as_echo_n "(cached) " >&6
                   16732: else
                   16733:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16734: /* end confdefs.h.  */
                   16735: 
                   16736:            #ifdef HAVE_SYS_TYPES_H
                   16737:            # include <sys/types.h>
                   16738:            #endif
                   16739:            #ifdef HAVE_NETINET_IP_H
                   16740:            # include <netinet/in.h>
                   16741:            # include <netinet/ip.h>
                   16742:            #endif
                   16743:            #if defined(IPPROTO_IP) && defined(IP_TOS) && defined(IPTOS_LOWDELAY)
                   16744:                yes
                   16745:            #endif
                   16746: 
                   16747: _ACEOF
                   16748: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   16749:   $EGREP "yes" >/dev/null 2>&1; then :
                   16750:   ntp_cv_ip_tos=yes
                   16751: else
                   16752:   ntp_cv_ip_tos=no
                   16753: 
                   16754: fi
                   16755: rm -f conftest*
                   16756: 
                   16757: 
                   16758: fi
                   16759: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_ip_tos" >&5
                   16760: $as_echo "$ntp_cv_ip_tos" >&6; }
                   16761: case "$ntp_cv_ip_tos" in
                   16762:  yes)
                   16763: 
                   16764: $as_echo "#define HAVE_IPTOS_SUPPORT 1" >>confdefs.h
                   16765: 
                   16766: esac
                   16767: 
                   16768: for ac_header in netinfo/ni.h
                   16769: do :
                   16770:   ac_fn_c_check_header_mongrel "$LINENO" "netinfo/ni.h" "ac_cv_header_netinfo_ni_h" "$ac_includes_default"
                   16771: if test "x$ac_cv_header_netinfo_ni_h" = xyes; then :
                   16772:   cat >>confdefs.h <<_ACEOF
                   16773: #define HAVE_NETINFO_NI_H 1
                   16774: _ACEOF
                   16775: 
                   16776: fi
                   16777: 
                   16778: done
                   16779: 
                   16780: case "$ac_cv_header_netinfo_ni_h" in
                   16781:  yes)
                   16782: 
                   16783: $as_echo "#define HAVE_NETINFO 1" >>confdefs.h
                   16784: 
                   16785: esac
                   16786: for ac_header in sun/audioio.h sys/audioio.h
                   16787: do :
                   16788:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16789: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16790: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16791:   cat >>confdefs.h <<_ACEOF
                   16792: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16793: _ACEOF
                   16794: 
                   16795: fi
                   16796: 
                   16797: done
                   16798: 
                   16799: for ac_header in sys/clkdefs.h sys/file.h
                   16800: do :
                   16801:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16802: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16803: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16804:   cat >>confdefs.h <<_ACEOF
                   16805: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16806: _ACEOF
                   16807: 
                   16808: fi
                   16809: 
                   16810: done
                   16811: 
                   16812: case "$host" in
                   16813:  *-*-sunos4*)
                   16814:     ;;
                   16815:  *)
                   16816:     for ac_header in sys/ioctl.h
                   16817: do :
                   16818:   ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
                   16819: if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
                   16820:   cat >>confdefs.h <<_ACEOF
                   16821: #define HAVE_SYS_IOCTL_H 1
                   16822: _ACEOF
                   16823: 
                   16824: fi
                   16825: 
                   16826: done
                   16827: 
                   16828:     ;;
                   16829: esac
                   16830: for ac_header in sys/ipc.h sys/lock.h sys/mman.h
                   16831: do :
                   16832:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16833: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16834: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16835:   cat >>confdefs.h <<_ACEOF
                   16836: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16837: _ACEOF
                   16838: 
                   16839: fi
                   16840: 
                   16841: done
                   16842: 
                   16843: for ac_header in sys/modem.h sys/param.h sys/ppsclock.h
                   16844: do :
                   16845:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16846: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16847: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16848:   cat >>confdefs.h <<_ACEOF
                   16849: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16850: _ACEOF
                   16851: 
                   16852: fi
                   16853: 
                   16854: done
                   16855: 
                   16856: # HMS: Check sys/proc.h and sys/resource.h after some others
                   16857: for ac_header in sys/ppstime.h sched.h
                   16858: do :
                   16859:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16860: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16861: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16862:   cat >>confdefs.h <<_ACEOF
                   16863: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16864: _ACEOF
                   16865: 
                   16866: fi
                   16867: 
                   16868: done
                   16869: 
                   16870: case "$ac_cv_header_sched_h" in
                   16871:  yes)
                   16872:     ;;
                   16873:  *)
                   16874:     for ac_header in sys/sched.h
                   16875: do :
                   16876:   ac_fn_c_check_header_mongrel "$LINENO" "sys/sched.h" "ac_cv_header_sys_sched_h" "$ac_includes_default"
                   16877: if test "x$ac_cv_header_sys_sched_h" = xyes; then :
                   16878:   cat >>confdefs.h <<_ACEOF
                   16879: #define HAVE_SYS_SCHED_H 1
                   16880: _ACEOF
                   16881: 
                   16882: fi
                   16883: 
                   16884: done
                   16885: 
                   16886:     ;;
                   16887: esac
                   16888: case "$host" in
                   16889:  *-*-sco*)
                   16890:     for ac_header in sys/sio.h
                   16891: do :
                   16892:   ac_fn_c_check_header_mongrel "$LINENO" "sys/sio.h" "ac_cv_header_sys_sio_h" "$ac_includes_default"
                   16893: if test "x$ac_cv_header_sys_sio_h" = xyes; then :
                   16894:   cat >>confdefs.h <<_ACEOF
                   16895: #define HAVE_SYS_SIO_H 1
                   16896: _ACEOF
                   16897: 
                   16898: fi
                   16899: 
                   16900: done
                   16901: 
                   16902:     ;;
                   16903: esac
                   16904: # HMS: Check sys/shm.h after some others
                   16905: for ac_header in sys/select.h sys/signal.h sys/sockio.h
                   16906: do :
                   16907:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16908: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16909: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16910:   cat >>confdefs.h <<_ACEOF
                   16911: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16912: _ACEOF
                   16913: 
                   16914: fi
                   16915: 
                   16916: done
                   16917: 
                   16918: # HMS: Checked sys/socket.h earlier
                   16919: case "$host" in
                   16920:  *-*-netbsd*)
                   16921:     ;;
                   16922:  *)
                   16923:     for ac_header in machine/soundcard.h sys/soundcard.h
                   16924: do :
                   16925:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16926: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16927: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16928:   cat >>confdefs.h <<_ACEOF
                   16929: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16930: _ACEOF
                   16931: 
                   16932: fi
                   16933: 
                   16934: done
                   16935: 
                   16936:     ;;
                   16937: esac
                   16938: for ac_header in sys/stat.h sys/stream.h sys/stropts.h
                   16939: do :
                   16940:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16941: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16942: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16943:   cat >>confdefs.h <<_ACEOF
                   16944: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16945: _ACEOF
                   16946: 
                   16947: fi
                   16948: 
                   16949: done
                   16950: 
                   16951: # sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
                   16952: for ac_header in sys/sysctl.h
                   16953: do :
                   16954:   ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#if defined HAVE_SYS_PARAM_H
                   16955: # include <sys/param.h>
                   16956: #endif
                   16957: "
                   16958: if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
                   16959:   cat >>confdefs.h <<_ACEOF
                   16960: #define HAVE_SYS_SYSCTL_H 1
                   16961: _ACEOF
                   16962: 
                   16963: fi
                   16964: 
                   16965: done
                   16966: 
                   16967: for ac_header in sys/syssgi.h sys/systune.h
                   16968: do :
                   16969:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16970: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16971: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16972:   cat >>confdefs.h <<_ACEOF
                   16973: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16974: _ACEOF
                   16975: 
                   16976: fi
                   16977: 
                   16978: done
                   16979: 
                   16980: for ac_header in sys/termios.h sys/time.h sys/signal.h
                   16981: do :
                   16982:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16983: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   16984: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16985:   cat >>confdefs.h <<_ACEOF
                   16986: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16987: _ACEOF
                   16988: 
                   16989: fi
                   16990: 
                   16991: done
                   16992: 
                   16993: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16994: /* end confdefs.h.  */
                   16995: 
                   16996:        #ifdef HAVE_SYS_TIME_H
                   16997:        # include <sys/time.h>
                   16998:        #endif
                   16999:        #ifdef HAVE_ERRNO_H
                   17000:        # include <errno.h>
                   17001:        #endif
                   17002:        #include <sys/timepps.h>
                   17003:        #ifdef PPS_API_VERS_1
                   17004:            yes
                   17005:        #endif
                   17006: 
                   17007: _ACEOF
                   17008: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17009:   $EGREP "yes" >/dev/null 2>&1; then :
                   17010:   for ac_header in sys/timepps.h
                   17011: do :
                   17012:   ac_fn_c_check_header_compile "$LINENO" "sys/timepps.h" "ac_cv_header_sys_timepps_h" "
                   17013:            #ifdef HAVE_SYS_TIME_H
                   17014:            # include <sys/time.h>
                   17015:            #endif
                   17016:            #ifdef HAVE_ERRNO_H
                   17017:            # include <errno.h>
                   17018:            #endif
                   17019: 
                   17020: 
                   17021: "
                   17022: if test "x$ac_cv_header_sys_timepps_h" = xyes; then :
                   17023:   cat >>confdefs.h <<_ACEOF
                   17024: #define HAVE_SYS_TIMEPPS_H 1
                   17025: _ACEOF
                   17026: 
                   17027: fi
                   17028: 
                   17029: done
                   17030: 
                   17031: 
                   17032: fi
                   17033: rm -f conftest*
                   17034: 
                   17035: for ac_header in sys/timers.h sys/tpro.h sys/types.h sys/wait.h
                   17036: do :
                   17037:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17038: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17039: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17040:   cat >>confdefs.h <<_ACEOF
                   17041: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17042: _ACEOF
                   17043: 
                   17044: fi
                   17045: 
                   17046: done
                   17047: 
                   17048: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   17049: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   17050: if ${ac_cv_header_time+:} false; then :
                   17051:   $as_echo_n "(cached) " >&6
                   17052: else
                   17053:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17054: /* end confdefs.h.  */
                   17055: #include <sys/types.h>
                   17056: #include <sys/time.h>
                   17057: #include <time.h>
                   17058: 
                   17059: int
                   17060: main ()
                   17061: {
                   17062: if ((struct tm *) 0)
                   17063: return 0;
                   17064:   ;
                   17065:   return 0;
                   17066: }
                   17067: _ACEOF
                   17068: if ac_fn_c_try_compile "$LINENO"; then :
                   17069:   ac_cv_header_time=yes
                   17070: else
                   17071:   ac_cv_header_time=no
                   17072: fi
                   17073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17074: fi
                   17075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   17076: $as_echo "$ac_cv_header_time" >&6; }
                   17077: if test $ac_cv_header_time = yes; then
                   17078: 
                   17079: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   17080: 
                   17081: fi
                   17082: 
                   17083: case "$host" in
                   17084: *-convex-*)
                   17085:     for ac_header in /sys/sync/queue.h /sys/sync/sema.h
                   17086: do :
                   17087:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17088: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17089: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17090:   cat >>confdefs.h <<_ACEOF
                   17091: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17092: _ACEOF
                   17093: 
                   17094: fi
                   17095: 
                   17096: done
                   17097: 
                   17098:     ;;
                   17099: *-*-bsdi*)
                   17100:     for ac_header in machine/inline.h sys/pcl720.h sys/i8253.h
                   17101: do :
                   17102:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17103: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17104: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17105:   cat >>confdefs.h <<_ACEOF
                   17106: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17107: _ACEOF
                   17108: 
                   17109: fi
                   17110: 
                   17111: done
                   17112: 
                   17113:     ;;
                   17114: esac
                   17115: 
                   17116: case "$host" in
                   17117:  *-*-*linux*)
                   17118:     for ac_func in __adjtimex __ntp_gettime
                   17119: do :
                   17120:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17121: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   17122: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   17123:   cat >>confdefs.h <<_ACEOF
                   17124: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17125: _ACEOF
                   17126: 
                   17127: fi
                   17128: done
                   17129: 
                   17130:     ;;
                   17131: esac
                   17132: case "$ac_cv_func___adjtimex" in
                   17133:  yes)
                   17134:     ;;
                   17135:  *)
                   17136:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nlist in -lelf" >&5
                   17137: $as_echo_n "checking for nlist in -lelf... " >&6; }
                   17138: if ${ac_cv_lib_elf_nlist+:} false; then :
                   17139:   $as_echo_n "(cached) " >&6
                   17140: else
                   17141:   ac_check_lib_save_LIBS=$LIBS
                   17142: LIBS="-lelf  $LIBS"
                   17143: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17144: /* end confdefs.h.  */
                   17145: 
                   17146: /* Override any GCC internal prototype to avoid an error.
                   17147:    Use char because int might match the return type of a GCC
                   17148:    builtin and then its argument prototype would still apply.  */
                   17149: #ifdef __cplusplus
                   17150: extern "C"
                   17151: #endif
                   17152: char nlist ();
                   17153: int
                   17154: main ()
                   17155: {
                   17156: return nlist ();
                   17157:   ;
                   17158:   return 0;
                   17159: }
                   17160: _ACEOF
                   17161: if ac_fn_c_try_link "$LINENO"; then :
                   17162:   ac_cv_lib_elf_nlist=yes
                   17163: else
                   17164:   ac_cv_lib_elf_nlist=no
                   17165: fi
                   17166: rm -f core conftest.err conftest.$ac_objext \
                   17167:     conftest$ac_exeext conftest.$ac_ext
                   17168: LIBS=$ac_check_lib_save_LIBS
                   17169: fi
                   17170: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_elf_nlist" >&5
                   17171: $as_echo "$ac_cv_lib_elf_nlist" >&6; }
                   17172: if test "x$ac_cv_lib_elf_nlist" = xyes; then :
                   17173:   cat >>confdefs.h <<_ACEOF
                   17174: #define HAVE_LIBELF 1
                   17175: _ACEOF
                   17176: 
                   17177:   LIBS="-lelf $LIBS"
                   17178: 
                   17179: fi
                   17180:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkvm" >&5
                   17181: $as_echo_n "checking for main in -lkvm... " >&6; }
                   17182: if ${ac_cv_lib_kvm_main+:} false; then :
                   17183:   $as_echo_n "(cached) " >&6
                   17184: else
                   17185:   ac_check_lib_save_LIBS=$LIBS
                   17186: LIBS="-lkvm  $LIBS"
                   17187: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17188: /* end confdefs.h.  */
                   17189: 
                   17190: 
                   17191: int
                   17192: main ()
                   17193: {
                   17194: return main ();
                   17195:   ;
                   17196:   return 0;
                   17197: }
                   17198: _ACEOF
                   17199: if ac_fn_c_try_link "$LINENO"; then :
                   17200:   ac_cv_lib_kvm_main=yes
                   17201: else
                   17202:   ac_cv_lib_kvm_main=no
                   17203: fi
                   17204: rm -f core conftest.err conftest.$ac_objext \
                   17205:     conftest$ac_exeext conftest.$ac_ext
                   17206: LIBS=$ac_check_lib_save_LIBS
                   17207: fi
                   17208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_main" >&5
                   17209: $as_echo "$ac_cv_lib_kvm_main" >&6; }
                   17210: if test "x$ac_cv_lib_kvm_main" = xyes; then :
                   17211:   cat >>confdefs.h <<_ACEOF
                   17212: #define HAVE_LIBKVM 1
                   17213: _ACEOF
                   17214: 
                   17215:   LIBS="-lkvm $LIBS"
                   17216: 
                   17217: fi
                   17218:                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nlist in -lld" >&5
                   17219: $as_echo_n "checking for nlist in -lld... " >&6; }
                   17220: if ${ac_cv_lib_ld_nlist+:} false; then :
                   17221:   $as_echo_n "(cached) " >&6
                   17222: else
                   17223:   ac_check_lib_save_LIBS=$LIBS
                   17224: LIBS="-lld  $LIBS"
                   17225: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17226: /* end confdefs.h.  */
                   17227: 
                   17228: /* Override any GCC internal prototype to avoid an error.
                   17229:    Use char because int might match the return type of a GCC
                   17230:    builtin and then its argument prototype would still apply.  */
                   17231: #ifdef __cplusplus
                   17232: extern "C"
                   17233: #endif
                   17234: char nlist ();
                   17235: int
                   17236: main ()
                   17237: {
                   17238: return nlist ();
                   17239:   ;
                   17240:   return 0;
                   17241: }
                   17242: _ACEOF
                   17243: if ac_fn_c_try_link "$LINENO"; then :
                   17244:   ac_cv_lib_ld_nlist=yes
                   17245: else
                   17246:   ac_cv_lib_ld_nlist=no
                   17247: fi
                   17248: rm -f core conftest.err conftest.$ac_objext \
                   17249:     conftest$ac_exeext conftest.$ac_ext
                   17250: LIBS=$ac_check_lib_save_LIBS
                   17251: fi
                   17252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ld_nlist" >&5
                   17253: $as_echo "$ac_cv_lib_ld_nlist" >&6; }
                   17254: if test "x$ac_cv_lib_ld_nlist" = xyes; then :
                   17255:   cat >>confdefs.h <<_ACEOF
                   17256: #define HAVE_LIBLD 1
                   17257: _ACEOF
                   17258: 
                   17259:   LIBS="-lld $LIBS"
                   17260: 
                   17261: fi
                   17262: 
                   17263:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nlist in -lmld" >&5
                   17264: $as_echo_n "checking for nlist in -lmld... " >&6; }
                   17265: if ${ac_cv_lib_mld_nlist+:} false; then :
                   17266:   $as_echo_n "(cached) " >&6
                   17267: else
                   17268:   ac_check_lib_save_LIBS=$LIBS
                   17269: LIBS="-lmld  $LIBS"
                   17270: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17271: /* end confdefs.h.  */
                   17272: 
                   17273: /* Override any GCC internal prototype to avoid an error.
                   17274:    Use char because int might match the return type of a GCC
                   17275:    builtin and then its argument prototype would still apply.  */
                   17276: #ifdef __cplusplus
                   17277: extern "C"
                   17278: #endif
                   17279: char nlist ();
                   17280: int
                   17281: main ()
                   17282: {
                   17283: return nlist ();
                   17284:   ;
                   17285:   return 0;
                   17286: }
                   17287: _ACEOF
                   17288: if ac_fn_c_try_link "$LINENO"; then :
                   17289:   ac_cv_lib_mld_nlist=yes
                   17290: else
                   17291:   ac_cv_lib_mld_nlist=no
                   17292: fi
                   17293: rm -f core conftest.err conftest.$ac_objext \
                   17294:     conftest$ac_exeext conftest.$ac_ext
                   17295: LIBS=$ac_check_lib_save_LIBS
                   17296: fi
                   17297: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mld_nlist" >&5
                   17298: $as_echo "$ac_cv_lib_mld_nlist" >&6; }
                   17299: if test "x$ac_cv_lib_mld_nlist" = xyes; then :
                   17300:   cat >>confdefs.h <<_ACEOF
                   17301: #define HAVE_LIBMLD 1
                   17302: _ACEOF
                   17303: 
                   17304:   LIBS="-lmld $LIBS"
                   17305: 
                   17306: fi
                   17307: 
                   17308:     for ac_header in nlist.h sys/var.h
                   17309: do :
                   17310:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17311: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17312: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17313:   cat >>confdefs.h <<_ACEOF
                   17314: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17315: _ACEOF
                   17316: 
                   17317: fi
                   17318: 
                   17319: done
                   17320: 
                   17321:     case "$ac_cv_header_nlist_h" in
                   17322:      yes)
                   17323: 
                   17324: $as_echo "#define NLIST_STRUCT 1" >>confdefs.h
                   17325: 
                   17326:     esac
                   17327:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for n_un in struct nlist" >&5
                   17328: $as_echo_n "checking for n_un in struct nlist... " >&6; }
                   17329: if ${ntp_cv_struct_nlist_n_un+:} false; then :
                   17330:   $as_echo_n "(cached) " >&6
                   17331: else
                   17332:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17333: /* end confdefs.h.  */
                   17334: 
                   17335:                    #include <nlist.h>
                   17336: 
                   17337: int
                   17338: main ()
                   17339: {
                   17340: 
                   17341:                    struct nlist n;
                   17342:                    n.n_un.n_name = 0;
                   17343: 
                   17344: 
                   17345:   ;
                   17346:   return 0;
                   17347: }
                   17348:            ntp_cv_struct_nlist_n_un=yes
                   17349: _ACEOF
                   17350: if ac_fn_c_try_compile "$LINENO"; then :
                   17351:   ntp_cv_struct_nlist_n_un=no
                   17352: 
                   17353: fi
                   17354: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17355: 
                   17356: fi
                   17357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_nlist_n_un" >&5
                   17358: $as_echo "$ntp_cv_struct_nlist_n_un" >&6; }
                   17359:     case "$ntp_cv_struct_nlist_n_un" in
                   17360:      yes)
                   17361: 
                   17362: $as_echo "#define NLIST_NAME_UNION 1" >>confdefs.h
                   17363: 
                   17364:     esac
                   17365:     ;;
                   17366: esac
                   17367: 
                   17368: for ac_header in sys/proc.h
                   17369: do :
                   17370:   ac_fn_c_check_header_compile "$LINENO" "sys/proc.h" "ac_cv_header_sys_proc_h" "#ifdef HAVE_SYS_TYPES_H
                   17371: # include <sys/types.h>
                   17372: #endif
                   17373: #ifdef HAVE_SYS_TIME_H
                   17374: # include <sys/time.h>
                   17375: #endif
                   17376: 
                   17377: "
                   17378: if test "x$ac_cv_header_sys_proc_h" = xyes; then :
                   17379:   cat >>confdefs.h <<_ACEOF
                   17380: #define HAVE_SYS_PROC_H 1
                   17381: _ACEOF
                   17382: 
                   17383: fi
                   17384: 
                   17385: done
                   17386: 
                   17387: 
                   17388: for ac_header in sys/resource.h
                   17389: do :
                   17390:   ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "#ifdef HAVE_SYS_TIME_H
                   17391: # include <sys/time.h>
                   17392: #endif
                   17393: 
                   17394: "
                   17395: if test "x$ac_cv_header_sys_resource_h" = xyes; then :
                   17396:   cat >>confdefs.h <<_ACEOF
                   17397: #define HAVE_SYS_RESOURCE_H 1
                   17398: _ACEOF
                   17399: 
                   17400: fi
                   17401: 
                   17402: done
                   17403: 
                   17404: 
                   17405: for ac_header in sys/shm.h
                   17406: do :
                   17407:   ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "#ifdef HAVE_SYS_TYPES_H
                   17408: # include <sys/types.h>
                   17409: #endif
                   17410: #ifdef HAVE_SYS_IPC_H
                   17411: # include <sys/ipc.h>
                   17412: #endif
                   17413: 
                   17414: "
                   17415: if test "x$ac_cv_header_sys_shm_h" = xyes; then :
                   17416:   cat >>confdefs.h <<_ACEOF
                   17417: #define HAVE_SYS_SHM_H 1
                   17418: _ACEOF
                   17419: 
                   17420: fi
                   17421: 
                   17422: done
                   17423: 
                   17424: 
                   17425: for ac_header in sys/timex.h
                   17426: do :
                   17427:   ac_fn_c_check_header_compile "$LINENO" "sys/timex.h" "ac_cv_header_sys_timex_h" "#if HAVE_SYS_TIME_H
                   17428: # include <sys/time.h>
                   17429: #endif
                   17430: 
                   17431: "
                   17432: if test "x$ac_cv_header_sys_timex_h" = xyes; then :
                   17433:   cat >>confdefs.h <<_ACEOF
                   17434: #define HAVE_SYS_TIMEX_H 1
                   17435: _ACEOF
                   17436: 
                   17437: fi
                   17438: 
                   17439: done
                   17440: 
                   17441: 
                   17442: for ac_header in resolv.h
                   17443: do :
                   17444:   ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#ifdef HAVE_SYS_TYPES_H
                   17445: #include <sys/types.h>
                   17446: #endif
                   17447: #ifdef HAVE_NETINET_IN_H
                   17448: #include <netinet/in.h>
                   17449: #endif
                   17450: #ifdef HAVE_ARPA_NAMESER_H
                   17451: #include <arpa/nameser.h>
                   17452: #endif
                   17453: 
                   17454: "
                   17455: if test "x$ac_cv_header_resolv_h" = xyes; then :
                   17456:   cat >>confdefs.h <<_ACEOF
                   17457: #define HAVE_RESOLV_H 1
                   17458: _ACEOF
                   17459: 
                   17460: fi
                   17461: 
                   17462: done
                   17463: 
                   17464: 
                   17465: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic volatile support" >&5
                   17466: $as_echo_n "checking for basic volatile support... " >&6; }
                   17467: if ${ntp_cv_c_volatile+:} false; then :
                   17468:   $as_echo_n "(cached) " >&6
                   17469: else
                   17470:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17471: /* end confdefs.h.  */
                   17472: 
                   17473: 
                   17474: int
                   17475: main ()
                   17476: {
                   17477: 
                   17478:                volatile int x;
                   17479: 
                   17480: 
                   17481:   ;
                   17482:   return 0;
                   17483: }
                   17484:        ntp_cv_c_volatile=yes
                   17485: _ACEOF
                   17486: if ac_fn_c_try_compile "$LINENO"; then :
                   17487:   ntp_cv_c_volatile=no
                   17488: 
                   17489: fi
                   17490: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17491: 
                   17492: fi
                   17493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_c_volatile" >&5
                   17494: $as_echo "$ntp_cv_c_volatile" >&6; }
                   17495: case "$ntp_cv_c_volatile" in
                   17496:  yes)
                   17497:     ;;
                   17498:  *)
                   17499: 
                   17500: $as_echo "#define volatile /**/" >>confdefs.h
                   17501: 
                   17502:     ;;
                   17503: esac
                   17504: 
                   17505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   17506: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   17507: if ${ac_cv_c_const+:} false; then :
                   17508:   $as_echo_n "(cached) " >&6
                   17509: else
                   17510:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17511: /* end confdefs.h.  */
                   17512: 
                   17513: int
                   17514: main ()
                   17515: {
1.1.1.1.2.1! misho    17516: 
1.1       misho    17517: #ifndef __cplusplus
1.1.1.1.2.1! misho    17518:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    17519:   typedef int charset[2];
1.1.1.1.2.1! misho    17520:   const charset cs = { 0, 0 };
1.1       misho    17521:   /* SunOS 4.1.1 cc rejects this.  */
                   17522:   char const *const *pcpcc;
                   17523:   char **ppc;
                   17524:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   17525:   struct point {int x, y;};
                   17526:   static struct point const zero = {0,0};
                   17527:   /* AIX XL C 1.02.0.0 rejects this.
                   17528:      It does not let you subtract one const X* pointer from another in
                   17529:      an arm of an if-expression whose if-part is not a constant
                   17530:      expression */
                   17531:   const char *g = "string";
                   17532:   pcpcc = &g + (g ? g-g : 0);
                   17533:   /* HPUX 7.0 cc rejects these. */
                   17534:   ++pcpcc;
                   17535:   ppc = (char**) pcpcc;
                   17536:   pcpcc = (char const *const *) ppc;
1.1.1.1.2.1! misho    17537:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
        !          17538:     char tx;
        !          17539:     char *t = &tx;
1.1       misho    17540:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   17541: 
                   17542:     *t++ = 0;
                   17543:     if (s) return 0;
                   17544:   }
                   17545:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   17546:     int x[] = {25, 17};
                   17547:     const int *foo = &x[0];
                   17548:     ++foo;
                   17549:   }
                   17550:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   17551:     typedef const int *iptr;
                   17552:     iptr p = 0;
                   17553:     ++p;
                   17554:   }
1.1.1.1.2.1! misho    17555:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    17556:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.1.2.1! misho    17557:     struct s { int j; const int *ap[3]; } bx;
        !          17558:     struct s *b = &bx; b->j = 5;
1.1       misho    17559:   }
                   17560:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   17561:     const int foo = 10;
                   17562:     if (!foo) return 0;
                   17563:   }
                   17564:   return !cs[0] && !zero.x;
                   17565: #endif
                   17566: 
                   17567:   ;
                   17568:   return 0;
                   17569: }
                   17570: _ACEOF
                   17571: if ac_fn_c_try_compile "$LINENO"; then :
                   17572:   ac_cv_c_const=yes
                   17573: else
                   17574:   ac_cv_c_const=no
                   17575: fi
                   17576: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17577: fi
                   17578: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   17579: $as_echo "$ac_cv_c_const" >&6; }
                   17580: if test $ac_cv_c_const = no; then
                   17581: 
                   17582: $as_echo "#define const /**/" >>confdefs.h
                   17583: 
                   17584: fi
                   17585: 
                   17586:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   17587: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   17588: if ${ac_cv_c_bigendian+:} false; then :
                   17589:   $as_echo_n "(cached) " >&6
                   17590: else
                   17591:   ac_cv_c_bigendian=unknown
                   17592:     # See if we're dealing with a universal compiler.
                   17593:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17594: /* end confdefs.h.  */
                   17595: #ifndef __APPLE_CC__
                   17596:               not a universal capable compiler
                   17597:             #endif
                   17598:             typedef int dummy;
                   17599: 
                   17600: _ACEOF
                   17601: if ac_fn_c_try_compile "$LINENO"; then :
                   17602: 
                   17603:        # Check for potential -arch flags.  It is not universal unless
                   17604:        # there are at least two -arch flags with different values.
                   17605:        ac_arch=
                   17606:        ac_prev=
                   17607:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   17608:         if test -n "$ac_prev"; then
                   17609:           case $ac_word in
                   17610:             i?86 | x86_64 | ppc | ppc64)
                   17611:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   17612:                 ac_arch=$ac_word
                   17613:               else
                   17614:                 ac_cv_c_bigendian=universal
                   17615:                 break
                   17616:               fi
                   17617:               ;;
                   17618:           esac
                   17619:           ac_prev=
                   17620:         elif test "x$ac_word" = "x-arch"; then
                   17621:           ac_prev=arch
                   17622:         fi
                   17623:        done
                   17624: fi
                   17625: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17626:     if test $ac_cv_c_bigendian = unknown; then
                   17627:       # See if sys/param.h defines the BYTE_ORDER macro.
                   17628:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17629: /* end confdefs.h.  */
                   17630: #include <sys/types.h>
                   17631:             #include <sys/param.h>
                   17632: 
                   17633: int
                   17634: main ()
                   17635: {
                   17636: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   17637:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   17638:                     && LITTLE_ENDIAN)
                   17639:              bogus endian macros
                   17640:             #endif
                   17641: 
                   17642:   ;
                   17643:   return 0;
                   17644: }
                   17645: _ACEOF
                   17646: if ac_fn_c_try_compile "$LINENO"; then :
                   17647:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   17648:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17649: /* end confdefs.h.  */
                   17650: #include <sys/types.h>
                   17651:                #include <sys/param.h>
                   17652: 
                   17653: int
                   17654: main ()
                   17655: {
                   17656: #if BYTE_ORDER != BIG_ENDIAN
                   17657:                 not big endian
                   17658:                #endif
                   17659: 
                   17660:   ;
                   17661:   return 0;
                   17662: }
                   17663: _ACEOF
                   17664: if ac_fn_c_try_compile "$LINENO"; then :
                   17665:   ac_cv_c_bigendian=yes
                   17666: else
                   17667:   ac_cv_c_bigendian=no
                   17668: fi
                   17669: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17670: fi
                   17671: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17672:     fi
                   17673:     if test $ac_cv_c_bigendian = unknown; then
                   17674:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   17675:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17676: /* end confdefs.h.  */
                   17677: #include <limits.h>
                   17678: 
                   17679: int
                   17680: main ()
                   17681: {
                   17682: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   17683:              bogus endian macros
                   17684:             #endif
                   17685: 
                   17686:   ;
                   17687:   return 0;
                   17688: }
                   17689: _ACEOF
                   17690: if ac_fn_c_try_compile "$LINENO"; then :
                   17691:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   17692:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17693: /* end confdefs.h.  */
                   17694: #include <limits.h>
                   17695: 
                   17696: int
                   17697: main ()
                   17698: {
                   17699: #ifndef _BIG_ENDIAN
                   17700:                 not big endian
                   17701:                #endif
                   17702: 
                   17703:   ;
                   17704:   return 0;
                   17705: }
                   17706: _ACEOF
                   17707: if ac_fn_c_try_compile "$LINENO"; then :
                   17708:   ac_cv_c_bigendian=yes
                   17709: else
                   17710:   ac_cv_c_bigendian=no
                   17711: fi
                   17712: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17713: fi
                   17714: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17715:     fi
                   17716:     if test $ac_cv_c_bigendian = unknown; then
                   17717:       # Compile a test program.
                   17718:       if test "$cross_compiling" = yes; then :
                   17719:   # Try to guess by grepping values from an object file.
                   17720:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17721: /* end confdefs.h.  */
                   17722: short int ascii_mm[] =
                   17723:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   17724:                short int ascii_ii[] =
                   17725:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   17726:                int use_ascii (int i) {
                   17727:                  return ascii_mm[i] + ascii_ii[i];
                   17728:                }
                   17729:                short int ebcdic_ii[] =
                   17730:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   17731:                short int ebcdic_mm[] =
                   17732:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   17733:                int use_ebcdic (int i) {
                   17734:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   17735:                }
                   17736:                extern int foo;
                   17737: 
                   17738: int
                   17739: main ()
                   17740: {
                   17741: return use_ascii (foo) == use_ebcdic (foo);
                   17742:   ;
                   17743:   return 0;
                   17744: }
                   17745: _ACEOF
                   17746: if ac_fn_c_try_compile "$LINENO"; then :
                   17747:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   17748:              ac_cv_c_bigendian=yes
                   17749:            fi
                   17750:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   17751:              if test "$ac_cv_c_bigendian" = unknown; then
                   17752:                ac_cv_c_bigendian=no
                   17753:              else
                   17754:                # finding both strings is unlikely to happen, but who knows?
                   17755:                ac_cv_c_bigendian=unknown
                   17756:              fi
                   17757:            fi
                   17758: fi
                   17759: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17760: else
                   17761:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17762: /* end confdefs.h.  */
                   17763: $ac_includes_default
                   17764: int
                   17765: main ()
                   17766: {
                   17767: 
                   17768:             /* Are we little or big endian?  From Harbison&Steele.  */
                   17769:             union
                   17770:             {
                   17771:               long int l;
                   17772:               char c[sizeof (long int)];
                   17773:             } u;
                   17774:             u.l = 1;
                   17775:             return u.c[sizeof (long int) - 1] == 1;
                   17776: 
                   17777:   ;
                   17778:   return 0;
                   17779: }
                   17780: _ACEOF
                   17781: if ac_fn_c_try_run "$LINENO"; then :
                   17782:   ac_cv_c_bigendian=no
                   17783: else
                   17784:   ac_cv_c_bigendian=yes
                   17785: fi
                   17786: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17787:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   17788: fi
                   17789: 
                   17790:     fi
                   17791: fi
                   17792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   17793: $as_echo "$ac_cv_c_bigendian" >&6; }
                   17794:  case $ac_cv_c_bigendian in #(
                   17795:    yes)
                   17796:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   17797: ;; #(
                   17798:    no)
                   17799:       ;; #(
                   17800:    universal)
                   17801: 
                   17802: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   17803: 
                   17804:      ;; #(
                   17805:    *)
                   17806:      as_fn_error $? "unknown endianness
                   17807:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   17808:  esac
                   17809: 
                   17810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   17811: $as_echo_n "checking return type of signal handlers... " >&6; }
                   17812: if ${ac_cv_type_signal+:} false; then :
                   17813:   $as_echo_n "(cached) " >&6
                   17814: else
                   17815:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17816: /* end confdefs.h.  */
                   17817: #include <sys/types.h>
                   17818: #include <signal.h>
                   17819: 
                   17820: int
                   17821: main ()
                   17822: {
                   17823: return *(signal (0, 0)) (0) == 1;
                   17824:   ;
                   17825:   return 0;
                   17826: }
                   17827: _ACEOF
                   17828: if ac_fn_c_try_compile "$LINENO"; then :
                   17829:   ac_cv_type_signal=int
                   17830: else
                   17831:   ac_cv_type_signal=void
                   17832: fi
                   17833: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17834: fi
                   17835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   17836: $as_echo "$ac_cv_type_signal" >&6; }
                   17837: 
                   17838: cat >>confdefs.h <<_ACEOF
                   17839: #define RETSIGTYPE $ac_cv_type_signal
                   17840: _ACEOF
                   17841: 
                   17842: 
                   17843: ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
                   17844: if test "x$ac_cv_type_off_t" = xyes; then :
                   17845: 
                   17846: else
                   17847: 
                   17848: cat >>confdefs.h <<_ACEOF
                   17849: #define off_t long int
                   17850: _ACEOF
                   17851: 
                   17852: fi
                   17853: 
                   17854: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   17855: if test "x$ac_cv_type_size_t" = xyes; then :
                   17856: 
                   17857: else
                   17858: 
                   17859: cat >>confdefs.h <<_ACEOF
                   17860: #define size_t unsigned int
                   17861: _ACEOF
                   17862: 
                   17863: fi
                   17864: 
                   17865: ac_fn_c_check_type "$LINENO" "time_t" "ac_cv_type_time_t" "$ac_includes_default"
                   17866: if test "x$ac_cv_type_time_t" = xyes; then :
                   17867: 
                   17868: cat >>confdefs.h <<_ACEOF
                   17869: #define HAVE_TIME_T 1
                   17870: _ACEOF
                   17871: 
                   17872: 
                   17873: fi
                   17874: ac_fn_c_check_type "$LINENO" "long" "ac_cv_type_long" "$ac_includes_default"
                   17875: if test "x$ac_cv_type_long" = xyes; then :
                   17876: 
                   17877: cat >>confdefs.h <<_ACEOF
                   17878: #define HAVE_LONG 1
                   17879: _ACEOF
                   17880: 
                   17881: 
                   17882: fi
                   17883: ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
                   17884: if test "x$ac_cv_type_uintptr_t" = xyes; then :
                   17885: 
                   17886: cat >>confdefs.h <<_ACEOF
                   17887: #define HAVE_UINTPTR_T 1
                   17888: _ACEOF
                   17889: 
                   17890: 
                   17891: fi
                   17892: 
                   17893: # The cast to long int works around a bug in the HP C Compiler
                   17894: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   17895: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   17896: # This bug is HP SR number 8606223364.
                   17897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of time_t" >&5
                   17898: $as_echo_n "checking size of time_t... " >&6; }
                   17899: if ${ac_cv_sizeof_time_t+:} false; then :
                   17900:   $as_echo_n "(cached) " >&6
                   17901: else
                   17902:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (time_t))" "ac_cv_sizeof_time_t"        "$ac_includes_default"; then :
                   17903: 
                   17904: else
                   17905:   if test "$ac_cv_type_time_t" = yes; then
                   17906:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   17907: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   17908: as_fn_error 77 "cannot compute sizeof (time_t)
                   17909: See \`config.log' for more details" "$LINENO" 5; }
                   17910:    else
                   17911:      ac_cv_sizeof_time_t=0
                   17912:    fi
                   17913: fi
                   17914: 
                   17915: fi
                   17916: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_time_t" >&5
                   17917: $as_echo "$ac_cv_sizeof_time_t" >&6; }
                   17918: 
                   17919: 
                   17920: 
                   17921: cat >>confdefs.h <<_ACEOF
                   17922: #define SIZEOF_TIME_T $ac_cv_sizeof_time_t
                   17923: _ACEOF
                   17924: 
                   17925: 
                   17926: 
                   17927: 
                   17928: 
                   17929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   17930: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
                   17931: if ${ac_cv_struct_tm+:} false; then :
                   17932:   $as_echo_n "(cached) " >&6
                   17933: else
                   17934:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17935: /* end confdefs.h.  */
                   17936: #include <sys/types.h>
                   17937: #include <time.h>
                   17938: 
                   17939: int
                   17940: main ()
                   17941: {
                   17942: struct tm tm;
                   17943:                                     int *p = &tm.tm_sec;
                   17944:                                     return !p;
                   17945:   ;
                   17946:   return 0;
                   17947: }
                   17948: _ACEOF
                   17949: if ac_fn_c_try_compile "$LINENO"; then :
                   17950:   ac_cv_struct_tm=time.h
                   17951: else
                   17952:   ac_cv_struct_tm=sys/time.h
                   17953: fi
                   17954: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17955: fi
                   17956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   17957: $as_echo "$ac_cv_struct_tm" >&6; }
                   17958: if test $ac_cv_struct_tm = sys/time.h; then
                   17959: 
                   17960: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
                   17961: 
                   17962: fi
                   17963: 
                   17964: 
                   17965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int8_t" >&5
                   17966: $as_echo_n "checking for u_int8_t... " >&6; }
                   17967: if ${ntp_cv_type_u_int8_t+:} false; then :
                   17968:   $as_echo_n "(cached) " >&6
                   17969: else
                   17970:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17971: /* end confdefs.h.  */
                   17972: 
                   17973:                #ifdef HAVE_SYS_TYPES_H
                   17974:                # include <sys/types.h>
                   17975:                #endif
                   17976: 
                   17977: int
                   17978: main ()
                   17979: {
                   17980: 
                   17981:                u_int8_t len = 42;
                   17982: 
                   17983: 
                   17984:   ;
                   17985:   return 0;
                   17986: }
                   17987: _ACEOF
                   17988: if ac_fn_c_try_compile "$LINENO"; then :
                   17989:   ntp_cv_type_u_int8_t=yes
                   17990: else
                   17991:   ntp_cv_type_u_int8_t=no
                   17992: 
                   17993: fi
                   17994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17995: 
                   17996: fi
                   17997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_type_u_int8_t" >&5
                   17998: $as_echo "$ntp_cv_type_u_int8_t" >&6; }
                   17999: case "$ntp_cv_type_u_int8_t" in
                   18000:  yes)
                   18001: 
                   18002: $as_echo "#define HAVE_TYPE_U_INT8_T 1" >>confdefs.h
                   18003: 
                   18004: esac
                   18005: 
                   18006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t" >&5
                   18007: $as_echo_n "checking for u_int64_t... " >&6; }
                   18008: if ${ntp_cv_type_u_int64_t+:} false; then :
                   18009:   $as_echo_n "(cached) " >&6
                   18010: else
                   18011:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18012: /* end confdefs.h.  */
                   18013: 
                   18014:                #ifdef HAVE_SYS_TYPES_H
                   18015:                # include <sys/types.h>
                   18016:                #endif
                   18017: 
                   18018: int
                   18019: main ()
                   18020: {
                   18021: 
                   18022:                u_int64_t len = 42;
                   18023: 
                   18024: 
                   18025:   ;
                   18026:   return 0;
                   18027: }
                   18028: _ACEOF
                   18029: if ac_fn_c_try_compile "$LINENO"; then :
                   18030:   ntp_cv_type_u_int64_t=yes
                   18031: else
                   18032:   ntp_cv_type_u_int64_t=no
                   18033: 
                   18034: fi
                   18035: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18036: 
                   18037: fi
                   18038: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_type_u_int64_t" >&5
                   18039: $as_echo "$ntp_cv_type_u_int64_t" >&6; }
                   18040: case "$ntp_cv_type_u_int64_t" in
                   18041:  yes)
                   18042: 
                   18043: $as_echo "#define HAVE_TYPE_U_INT64_T 1" >>confdefs.h
                   18044: 
                   18045: esac
                   18046: 
                   18047: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a fallback value for HZ" >&5
                   18048: $as_echo_n "checking for a fallback value for HZ... " >&6; }
                   18049: if ${ntp_cv_default_hz+:} false; then :
                   18050:   $as_echo_n "(cached) " >&6
                   18051: else
                   18052: 
                   18053:        ntp_cv_default_hz=100
                   18054:        case "$host" in
                   18055:         alpha*-dec-osf4*|alpha*-dec-osf5*)
                   18056:            ntp_cv_default_hz=1024
                   18057:            ;;
                   18058:         mips-dec-ultrix4*)
                   18059:            ntp_cv_default_hz=256
                   18060:            ;;
                   18061:        esac
                   18062: 
                   18063: 
                   18064: fi
                   18065: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_default_hz" >&5
                   18066: $as_echo "$ntp_cv_default_hz" >&6; }
                   18067: 
                   18068: cat >>confdefs.h <<_ACEOF
                   18069: #define DEFAULT_HZ $ntp_cv_default_hz
                   18070: _ACEOF
                   18071: 
                   18072: 
                   18073: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to override the system's value for HZ" >&5
                   18074: $as_echo_n "checking if we need to override the system's value for HZ... " >&6; }
                   18075: if ${ntp_cv_override_hz+:} false; then :
                   18076:   $as_echo_n "(cached) " >&6
                   18077: else
                   18078: 
                   18079:        ntp_cv_override_hz=no
                   18080:        case "$host" in
                   18081:         alpha*-dec-osf4*|alpha*-dec-osf5*)
                   18082:            ntp_cv_override_hz=yes
                   18083:            ;;
                   18084:         mips-dec-ultrix4*)
                   18085:            ntp_cv_override_hz=yes
                   18086:            ;;
                   18087:         *-*-freebsd*)
                   18088:            ntp_cv_override_hz=yes
                   18089:            ;;
                   18090:         *-*-sunos4*)
                   18091:            ntp_cv_override_hz=yes
                   18092:            ;;
                   18093:         *-*-kfreebsd*)
                   18094:            ntp_cv_override_hz=yes
                   18095:            ;;
                   18096:        esac
                   18097: 
                   18098: 
                   18099: fi
                   18100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_override_hz" >&5
                   18101: $as_echo "$ntp_cv_override_hz" >&6; }
                   18102: case "$ntp_cv_override_hz" in
                   18103:  yes)
                   18104: 
                   18105: $as_echo "#define OVERRIDE_HZ 1" >>confdefs.h
                   18106: 
                   18107: esac
                   18108: 
                   18109: 
                   18110: 
                   18111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct rt_msghdr" >&5
                   18112: $as_echo_n "checking for struct rt_msghdr... " >&6; }
                   18113: if ${ntp_cv_struct_rt_msghdr+:} false; then :
                   18114:   $as_echo_n "(cached) " >&6
                   18115: else
                   18116:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18117: /* end confdefs.h.  */
                   18118: 
                   18119:                #include <sys/types.h>
                   18120:                #include <sys/socket.h>
                   18121:                #include <net/if.h>
                   18122:                #include <net/route.h>
                   18123: 
                   18124: int
                   18125: main ()
                   18126: {
                   18127: 
                   18128:                struct rt_msghdr p;
                   18129: 
                   18130: 
                   18131:   ;
                   18132:   return 0;
                   18133: }
                   18134: _ACEOF
                   18135: if ac_fn_c_try_compile "$LINENO"; then :
                   18136:   ntp_cv_struct_rt_msghdr=yes
                   18137: else
                   18138:   ntp_cv_struct_rt_msghdr=no
                   18139: 
                   18140: fi
                   18141: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18142: 
                   18143: fi
                   18144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_rt_msghdr" >&5
                   18145: $as_echo "$ntp_cv_struct_rt_msghdr" >&6; }
                   18146: 
                   18147: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct rtattr" >&5
                   18148: $as_echo_n "checking for struct rtattr... " >&6; }
                   18149: if ${ntp_cv_rtattr+:} false; then :
                   18150:   $as_echo_n "(cached) " >&6
                   18151: else
                   18152:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18153: /* end confdefs.h.  */
                   18154: 
                   18155:                #include <stddef.h>
                   18156:                #include <sys/socket.h>
                   18157:                #include <linux/rtnetlink.h>
                   18158: 
                   18159: int
                   18160: main ()
                   18161: {
                   18162: 
                   18163:                struct rtattr p;
                   18164: 
                   18165: 
                   18166:   ;
                   18167:   return 0;
                   18168: }
                   18169: _ACEOF
                   18170: if ac_fn_c_try_compile "$LINENO"; then :
                   18171:   ntp_cv_rtattr=yes
                   18172: else
                   18173:   ntp_cv_rtattr=no
                   18174: 
                   18175: fi
                   18176: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18177: 
                   18178: fi
                   18179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rtattr" >&5
                   18180: $as_echo "$ntp_cv_rtattr" >&6; }
                   18181: 
                   18182: case "$ntp_cv_struct_rt_msghdr$ntp_cv_rtattr" in
                   18183:  *yes*)
                   18184: 
                   18185: $as_echo "#define HAS_ROUTING_SOCKET 1" >>confdefs.h
                   18186: 
                   18187:     case "$ntp_cv_rtattr" in
                   18188:      yes)
                   18189: 
                   18190: $as_echo "#define HAVE_RTNETLINK 1" >>confdefs.h
                   18191: 
                   18192:     esac
                   18193: esac
                   18194: 
                   18195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sigaction for sa_sigaction" >&5
                   18196: $as_echo_n "checking struct sigaction for sa_sigaction... " >&6; }
                   18197: if ${ntp_cv_struct_sigaction_has_sa_sigaction+:} false; then :
                   18198:   $as_echo_n "(cached) " >&6
                   18199: else
                   18200:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18201: /* end confdefs.h.  */
                   18202: 
                   18203:                #include <signal.h>
                   18204: 
                   18205: int
                   18206: main ()
                   18207: {
                   18208: 
                   18209:                struct sigaction act;
                   18210:                act.sa_sigaction = 0;
                   18211: 
                   18212: 
                   18213:   ;
                   18214:   return 0;
                   18215: }
                   18216: _ACEOF
                   18217: if ac_fn_c_try_compile "$LINENO"; then :
                   18218:   ntp_cv_struct_sigaction_has_sa_sigaction=yes
                   18219: else
                   18220:   ntp_cv_struct_sigaction_has_sa_sigaction=no
                   18221: 
                   18222: fi
                   18223: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18224: 
                   18225: fi
                   18226: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_sigaction_has_sa_sigaction" >&5
                   18227: $as_echo "$ntp_cv_struct_sigaction_has_sa_sigaction" >&6; }
                   18228: case "$ntp_cv_struct_sigaction_has_sa_sigaction" in
                   18229:  yes)
                   18230: 
                   18231: $as_echo "#define HAVE_SA_SIGACTION_IN_STRUCT_SIGACTION 1" >>confdefs.h
                   18232: 
                   18233: esac
                   18234: 
                   18235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ppsclockev" >&5
                   18236: $as_echo_n "checking for struct ppsclockev... " >&6; }
                   18237: if ${ntp_cv_struct_ppsclockev+:} false; then :
                   18238:   $as_echo_n "(cached) " >&6
                   18239: else
                   18240:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18241: /* end confdefs.h.  */
                   18242: 
                   18243:                #ifdef HAVE_SYS_TYPES_H
                   18244:                # include <sys/types.h>
                   18245:                #endif
                   18246:                #ifdef HAVE_SYS_TERMIOS_H
                   18247:                # include <sys/termios.h>
                   18248:                #endif
                   18249:                #ifdef HAVE_SYS_TIME_H
                   18250:                # include <sys/time.h>
                   18251:                #endif
                   18252:                #ifdef HAVE_SYS_PPSCLOCK_H
                   18253:                # include <sys/ppsclock.h>
                   18254:                #endif
                   18255: 
                   18256: int
                   18257: main ()
                   18258: {
                   18259: 
                   18260:                extern struct ppsclockev *pce;
                   18261:                return pce->serial;
                   18262: 
                   18263: 
                   18264:   ;
                   18265:   return 0;
                   18266: }
                   18267: _ACEOF
                   18268: if ac_fn_c_try_compile "$LINENO"; then :
                   18269:   ntp_cv_struct_ppsclockev=yes
                   18270: else
                   18271:   ntp_cv_struct_ppsclockev=no
                   18272: 
                   18273: fi
                   18274: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18275: 
                   18276: fi
                   18277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_ppsclockev" >&5
                   18278: $as_echo "$ntp_cv_struct_ppsclockev" >&6; }
                   18279: case "$ntp_cv_struct_ppsclockev" in
                   18280:  yes)
                   18281: 
                   18282: $as_echo "#define HAVE_STRUCT_PPSCLOCKEV 1" >>confdefs.h
                   18283: 
                   18284: esac
                   18285: 
                   18286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5
                   18287: $as_echo_n "checking for struct sockaddr_storage... " >&6; }
                   18288: if ${ntp_cv_sockaddr_storage+:} false; then :
                   18289:   $as_echo_n "(cached) " >&6
                   18290: else
                   18291:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18292: /* end confdefs.h.  */
                   18293: 
                   18294:                #ifdef HAVE_SYS_TYPES_H
                   18295:                # include <sys/types.h>
                   18296:                #endif
                   18297:                #ifdef HAVE_SYS_SOCKET_H
                   18298:                # include <sys/socket.h>
                   18299:                #endif
                   18300:                #ifdef HAVE_NETINET_IN_H
                   18301:                # include <netinet/in.h>
                   18302:                #endif
                   18303: 
                   18304: int
                   18305: main ()
                   18306: {
                   18307: 
                   18308:                struct sockaddr_storage n;
                   18309: 
                   18310: 
                   18311:   ;
                   18312:   return 0;
                   18313: }
                   18314: _ACEOF
                   18315: if ac_fn_c_try_compile "$LINENO"; then :
                   18316:   ntp_cv_sockaddr_storage=yes
                   18317: else
                   18318:   ntp_cv_sockaddr_storage=no
                   18319: 
                   18320: fi
                   18321: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18322: 
                   18323: fi
                   18324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_sockaddr_storage" >&5
                   18325: $as_echo "$ntp_cv_sockaddr_storage" >&6; }
                   18326: case "$ntp_cv_sockaddr_storage" in
                   18327:  yes)
                   18328: 
                   18329: $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
                   18330: 
                   18331: esac
                   18332: 
                   18333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.ss_family" >&5
                   18334: $as_echo_n "checking for sockaddr_storage.ss_family... " >&6; }
                   18335: if ${ntp_cv_have_ss_family+:} false; then :
                   18336:   $as_echo_n "(cached) " >&6
                   18337: else
                   18338:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18339: /* end confdefs.h.  */
                   18340: 
                   18341:                #ifdef HAVE_SYS_TYPES_H
                   18342:                # include <sys/types.h>
                   18343:                #endif
                   18344:                #ifdef HAVE_SYS_SOCKET_H
                   18345:                # include <sys/socket.h>
                   18346:                #endif
                   18347:                #ifdef HAVE_NETINET_IN_H
                   18348:                # include <netinet/in.h>
                   18349:                #endif
                   18350: 
                   18351: int
                   18352: main ()
                   18353: {
                   18354: 
                   18355:                struct sockaddr_storage s;
                   18356:                s.ss_family = 1;
                   18357: 
                   18358: 
                   18359:   ;
                   18360:   return 0;
                   18361: }
                   18362: _ACEOF
                   18363: if ac_fn_c_try_compile "$LINENO"; then :
                   18364:   ntp_cv_have_ss_family=yes
                   18365: else
                   18366:   ntp_cv_have_ss_family=no
                   18367: 
                   18368: fi
                   18369: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18370: 
                   18371: fi
                   18372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have_ss_family" >&5
                   18373: $as_echo "$ntp_cv_have_ss_family" >&6; }
                   18374: 
                   18375: case "$ntp_cv_have_ss_family" in
                   18376:  no)
                   18377:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.__ss_family" >&5
                   18378: $as_echo_n "checking for sockaddr_storage.__ss_family... " >&6; }
                   18379: if ${ntp_cv_have___ss_family+:} false; then :
                   18380:   $as_echo_n "(cached) " >&6
                   18381: else
                   18382:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18383: /* end confdefs.h.  */
                   18384: 
                   18385:                    #ifdef HAVE_SYS_TYPES_H
                   18386:                    # include <sys/types.h>
                   18387:                    #endif
                   18388:                    #ifdef HAVE_SYS_SOCKET_H
                   18389:                    # include <sys/socket.h>
                   18390:                    #endif
                   18391:                    #ifdef HAVE_NETINET_IN_H
                   18392:                    # include <netinet/in.h>
                   18393:                    #endif
                   18394: 
                   18395: int
                   18396: main ()
                   18397: {
                   18398: 
                   18399:                    struct sockaddr_storage s;
                   18400:                    s.__ss_family = 1;
                   18401: 
                   18402: 
                   18403:   ;
                   18404:   return 0;
                   18405: }
                   18406: _ACEOF
                   18407: if ac_fn_c_try_compile "$LINENO"; then :
                   18408:   ntp_cv_have___ss_family=yes
                   18409: else
                   18410:   ntp_cv_have___ss_family=no
                   18411: 
                   18412: fi
                   18413: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18414: 
                   18415: fi
                   18416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have___ss_family" >&5
                   18417: $as_echo "$ntp_cv_have___ss_family" >&6; }
                   18418:     case "$ntp_cv_have___ss_family" in
                   18419:      yes)
                   18420: 
                   18421: $as_echo "#define HAVE___SS_FAMILY_IN_SS 1" >>confdefs.h
                   18422: 
                   18423:     esac
                   18424: esac
                   18425: 
                   18426: 
                   18427: 
                   18428: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.ss_len" >&5
                   18429: $as_echo_n "checking for sockaddr_storage.ss_len... " >&6; }
                   18430: if ${ntp_cv_have_ss_len+:} false; then :
                   18431:   $as_echo_n "(cached) " >&6
                   18432: else
                   18433:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18434: /* end confdefs.h.  */
                   18435: 
                   18436:                #ifdef HAVE_SYS_TYPES_H
                   18437:                # include <sys/types.h>
                   18438:                #endif
                   18439:                #ifdef HAVE_SYS_SOCKET_H
                   18440:                # include <sys/socket.h>
                   18441:                #endif
                   18442:                #ifdef HAVE_NETINET_IN_H
                   18443:                # include <netinet/in.h>
                   18444:                #endif
                   18445: 
                   18446: int
                   18447: main ()
                   18448: {
                   18449: 
                   18450:                struct sockaddr_storage s;
                   18451:                s.ss_len = 1;
                   18452: 
                   18453: 
                   18454:   ;
                   18455:   return 0;
                   18456: }
                   18457: _ACEOF
                   18458: if ac_fn_c_try_compile "$LINENO"; then :
                   18459:   ntp_cv_have_ss_len=yes
                   18460: else
                   18461:   ntp_cv_have_ss_len=no
                   18462: 
                   18463: fi
                   18464: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18465: 
                   18466: fi
                   18467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have_ss_len" >&5
                   18468: $as_echo "$ntp_cv_have_ss_len" >&6; }
                   18469: 
                   18470: case "$ntp_cv_have_ss_len" in
                   18471:  no)
                   18472:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_storage.__ss_len" >&5
                   18473: $as_echo_n "checking for sockaddr_storage.__ss_len... " >&6; }
                   18474: if ${ntp_cv_have___ss_len+:} false; then :
                   18475:   $as_echo_n "(cached) " >&6
                   18476: else
                   18477:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18478: /* end confdefs.h.  */
                   18479: 
                   18480:                    #ifdef HAVE_SYS_TYPES_H
                   18481:                    # include <sys/types.h>
                   18482:                    #endif
                   18483:                    #ifdef HAVE_SYS_SOCKET_H
                   18484:                    # include <sys/socket.h>
                   18485:                    #endif
                   18486:                    #ifdef HAVE_NETINET_IN_H
                   18487:                    # include <netinet/in.h>
                   18488:                    #endif
                   18489: 
                   18490: int
                   18491: main ()
                   18492: {
                   18493: 
                   18494:                    struct sockaddr_storage s;
                   18495:                    s.__ss_len = 1;
                   18496: 
                   18497: 
                   18498:   ;
                   18499:   return 0;
                   18500: }
                   18501: _ACEOF
                   18502: if ac_fn_c_try_compile "$LINENO"; then :
                   18503:   ntp_cv_have___ss_len=yes
                   18504: else
                   18505:   ntp_cv_have___ss_len=no
                   18506: 
                   18507: fi
                   18508: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18509: 
                   18510: fi
                   18511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_have___ss_len" >&5
                   18512: $as_echo "$ntp_cv_have___ss_len" >&6; }
                   18513:     case "$ntp_cv_have___ss_len" in
                   18514:      yes)
                   18515: 
                   18516: $as_echo "#define HAVE___SS_LEN_IN_SS 1" >>confdefs.h
                   18517: 
                   18518:     esac
                   18519: esac
                   18520: 
                   18521: 
                   18522: 
                   18523: #
                   18524: # Look for in_port_t.
                   18525: #
                   18526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_port_t" >&5
                   18527: $as_echo_n "checking for in_port_t... " >&6; }
                   18528: if ${isc_cv_have_in_port_t+:} false; then :
                   18529:   $as_echo_n "(cached) " >&6
                   18530: else
                   18531:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18532: /* end confdefs.h.  */
                   18533: 
                   18534:                #include <sys/types.h>
                   18535:                #include <netinet/in.h>
                   18536: 
                   18537: int
                   18538: main ()
                   18539: {
                   18540: 
                   18541:                in_port_t port = 25;
                   18542:                return (0);
                   18543: 
                   18544: 
                   18545:   ;
                   18546:   return 0;
                   18547: }
                   18548: _ACEOF
                   18549: if ac_fn_c_try_compile "$LINENO"; then :
                   18550:   isc_cv_have_in_port_t=yes
                   18551: else
                   18552:   isc_cv_have_in_port_t=no
                   18553: 
                   18554: fi
                   18555: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18556: 
                   18557: fi
                   18558: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in_port_t" >&5
                   18559: $as_echo "$isc_cv_have_in_port_t" >&6; }
                   18560: case "$isc_cv_have_in_port_t" in
                   18561:  no)
                   18562: 
                   18563: $as_echo "#define ISC_PLATFORM_NEEDPORTT 1" >>confdefs.h
                   18564: 
                   18565: esac
                   18566: 
                   18567: case "$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
                   18568:   *yes*)
                   18569:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct snd_size" >&5
                   18570: $as_echo_n "checking for struct snd_size... " >&6; }
                   18571: if ${ntp_cv_struct_snd_size+:} false; then :
                   18572:   $as_echo_n "(cached) " >&6
                   18573: else
                   18574:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18575: /* end confdefs.h.  */
                   18576: 
                   18577:                    #ifdef HAVE_MACHINE_SOUNDCARD_H
                   18578:                    # include <machine/soundcard.h>
                   18579:                    #endif
                   18580:                    #ifdef HAVE_SYS_SOUNDCARD_H
                   18581:                    # include <sys/soundcard.h>
                   18582:                    #endif
                   18583: 
                   18584: int
                   18585: main ()
                   18586: {
                   18587: 
                   18588:                    extern struct snd_size *ss;
                   18589:                    return ss->rec_size;
                   18590: 
                   18591: 
                   18592:   ;
                   18593:   return 0;
                   18594: }
                   18595: _ACEOF
                   18596: if ac_fn_c_try_compile "$LINENO"; then :
                   18597:   ntp_cv_struct_snd_size=yes
                   18598: else
                   18599:   ntp_cv_struct_snd_size=no
                   18600: 
                   18601: fi
                   18602: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18603: 
                   18604: fi
                   18605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_snd_size" >&5
                   18606: $as_echo "$ntp_cv_struct_snd_size" >&6; }
                   18607:     case "$ntp_cv_struct_snd_size" in
                   18608:      yes)
                   18609: 
                   18610: $as_echo "#define HAVE_STRUCT_SND_SIZE 1" >>confdefs.h
                   18611: 
                   18612:     esac
                   18613: esac
                   18614: 
                   18615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct clockinfo for hz" >&5
                   18616: $as_echo_n "checking struct clockinfo for hz... " >&6; }
                   18617: if ${ntp_cv_struct_clockinfo_has_hz+:} false; then :
                   18618:   $as_echo_n "(cached) " >&6
                   18619: else
                   18620:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18621: /* end confdefs.h.  */
                   18622: 
                   18623:                #include <sys/time.h>
                   18624: 
                   18625: int
                   18626: main ()
                   18627: {
                   18628: 
                   18629:                extern struct clockinfo *pc;
                   18630:                return pc->hz;
                   18631: 
                   18632: 
                   18633:   ;
                   18634:   return 0;
                   18635: }
                   18636: _ACEOF
                   18637: if ac_fn_c_try_compile "$LINENO"; then :
                   18638:   ntp_cv_struct_clockinfo_has_hz=yes
                   18639: else
                   18640:   ntp_cv_struct_clockinfo_has_hz=no
                   18641: 
                   18642: fi
                   18643: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18644: 
                   18645: fi
                   18646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_clockinfo_has_hz" >&5
                   18647: $as_echo "$ntp_cv_struct_clockinfo_has_hz" >&6; }
                   18648: case "$ntp_cv_struct_clockinfo_has_hz" in
                   18649:  yes)
                   18650: 
                   18651: $as_echo "#define HAVE_HZ_IN_STRUCT_CLOCKINFO 1" >>confdefs.h
                   18652: 
                   18653: esac
                   18654: 
                   18655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct clockinfo for tickadj" >&5
                   18656: $as_echo_n "checking struct clockinfo for tickadj... " >&6; }
                   18657: if ${ntp_cv_struct_clockinfo_has_hz+:} false; then :
                   18658:   $as_echo_n "(cached) " >&6
                   18659: else
                   18660:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18661: /* end confdefs.h.  */
                   18662: 
                   18663:                #include <sys/time.h>
                   18664: 
                   18665: int
                   18666: main ()
                   18667: {
                   18668: 
                   18669:                extern struct clockinfo *pc;
                   18670:                return pc->tickadj;
                   18671: 
                   18672: 
                   18673:   ;
                   18674:   return 0;
                   18675: }
                   18676: _ACEOF
                   18677: if ac_fn_c_try_compile "$LINENO"; then :
                   18678:   ntp_cv_struct_clockinfo_has_hz=yes
                   18679: else
                   18680:   ntp_cv_struct_clockinfo_has_hz=no
                   18681: 
                   18682: fi
                   18683: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18684: 
                   18685: fi
                   18686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_clockinfo_has_hz" >&5
                   18687: $as_echo "$ntp_cv_struct_clockinfo_has_hz" >&6; }
                   18688: case "$ntp_cv_struct_clockinfo_has_hz" in
                   18689:  yes)
                   18690: 
                   18691: $as_echo "#define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1" >>confdefs.h
                   18692: 
                   18693: esac
                   18694: 
                   18695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec" >&5
                   18696: $as_echo_n "checking for struct timespec... " >&6; }
                   18697: if ${ntp_cv_struct_timespec+:} false; then :
                   18698:   $as_echo_n "(cached) " >&6
                   18699: else
                   18700:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18701: /* end confdefs.h.  */
                   18702: 
                   18703:                #include <sys/time.h>
                   18704:                /* Under SunOS, timespec is in sys/timepps.h,
                   18705:                   which needs errno.h and FRAC */
                   18706:                #ifdef HAVE_ERRNO_H
                   18707:                # include <errno.h>
                   18708:                #endif
                   18709:                #ifdef HAVE_SYS_TIMEPPS_H
                   18710:                # define FRAC 4294967296
                   18711:                # include <sys/timepps.h>
                   18712:                #endif
                   18713: 
                   18714: int
                   18715: main ()
                   18716: {
                   18717: 
                   18718:                struct timespec n;
                   18719: 
                   18720: 
                   18721:   ;
                   18722:   return 0;
                   18723: }
                   18724: _ACEOF
                   18725: if ac_fn_c_try_compile "$LINENO"; then :
                   18726:   ntp_cv_struct_timespec=yes
                   18727: else
                   18728:   ntp_cv_struct_timespec=no
                   18729: 
                   18730: fi
                   18731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18732: 
                   18733: fi
                   18734: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_timespec" >&5
                   18735: $as_echo "$ntp_cv_struct_timespec" >&6; }
                   18736: case "$ntp_cv_struct_timespec" in
                   18737:  yes)
                   18738: 
                   18739: $as_echo "#define HAVE_STRUCT_TIMESPEC 1" >>confdefs.h
                   18740: 
                   18741: esac
                   18742: 
                   18743: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ntptimeval" >&5
                   18744: $as_echo_n "checking for struct ntptimeval... " >&6; }
                   18745: if ${ntp_cv_struct_ntptimeval+:} false; then :
                   18746:   $as_echo_n "(cached) " >&6
                   18747: else
                   18748:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18749: /* end confdefs.h.  */
                   18750: 
                   18751:                #include <sys/time.h>
                   18752:                #include <sys/timex.h>
                   18753: 
                   18754: int
                   18755: main ()
                   18756: {
                   18757: 
                   18758:                struct ntptimeval n;
                   18759: 
                   18760: 
                   18761:   ;
                   18762:   return 0;
                   18763: }
                   18764: _ACEOF
                   18765: if ac_fn_c_try_compile "$LINENO"; then :
                   18766:   ntp_cv_struct_ntptimeval=yes
                   18767: else
                   18768:   ntp_cv_struct_ntptimeval=no
                   18769: 
                   18770: fi
                   18771: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18772: 
                   18773: fi
                   18774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_ntptimeval" >&5
                   18775: $as_echo "$ntp_cv_struct_ntptimeval" >&6; }
                   18776: case "$ntp_cv_struct_ntptimeval" in
                   18777:  yes)
                   18778: 
                   18779: $as_echo "#define HAVE_STRUCT_NTPTIMEVAL 1" >>confdefs.h
                   18780: 
                   18781: esac
                   18782: 
                   18783: ac_fn_c_check_member "$LINENO" "struct ntptimeval" "time.tv_nsec" "ac_cv_member_struct_ntptimeval_time_tv_nsec" "
                   18784:        #ifdef HAVE_SYS_TIME_H
                   18785:        #include <sys/time.h>
                   18786:        #else
                   18787:        # ifdef HAVE_TIME_H
                   18788:        #  include <time.h>
                   18789:        # endif
                   18790:        #endif
                   18791:        #ifdef HAVE_SYS_TIMEX_H
                   18792:        # include <sys/timex.h>
                   18793:        #else
                   18794:        # ifdef HAVE_TIMEX_H
                   18795:        #  include <timex.h>
                   18796:        # endif
                   18797:        #endif
                   18798: 
                   18799: 
                   18800: "
                   18801: if test "x$ac_cv_member_struct_ntptimeval_time_tv_nsec" = xyes; then :
                   18802: 
                   18803: cat >>confdefs.h <<_ACEOF
                   18804: #define HAVE_STRUCT_NTPTIMEVAL_TIME_TV_NSEC 1
                   18805: _ACEOF
                   18806: 
                   18807: 
                   18808: fi
                   18809: 
                   18810: 
                   18811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
                   18812: $as_echo_n "checking for inline... " >&6; }
                   18813: if ${ac_cv_c_inline+:} false; then :
                   18814:   $as_echo_n "(cached) " >&6
                   18815: else
                   18816:   ac_cv_c_inline=no
                   18817: for ac_kw in inline __inline__ __inline; do
                   18818:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18819: /* end confdefs.h.  */
                   18820: #ifndef __cplusplus
                   18821: typedef int foo_t;
                   18822: static $ac_kw foo_t static_foo () {return 0; }
                   18823: $ac_kw foo_t foo () {return 0; }
                   18824: #endif
                   18825: 
                   18826: _ACEOF
                   18827: if ac_fn_c_try_compile "$LINENO"; then :
                   18828:   ac_cv_c_inline=$ac_kw
                   18829: fi
                   18830: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18831:   test "$ac_cv_c_inline" != no && break
                   18832: done
                   18833: 
                   18834: fi
                   18835: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
                   18836: $as_echo "$ac_cv_c_inline" >&6; }
                   18837: 
                   18838: case $ac_cv_c_inline in
                   18839:   inline | yes) ;;
                   18840:   *)
                   18841:     case $ac_cv_c_inline in
                   18842:       no) ac_val=;;
                   18843:       *) ac_val=$ac_cv_c_inline;;
                   18844:     esac
                   18845:     cat >>confdefs.h <<_ACEOF
                   18846: #ifndef __cplusplus
                   18847: #define inline $ac_val
                   18848: #endif
                   18849: _ACEOF
                   18850:     ;;
                   18851: esac
                   18852: 
                   18853: 
                   18854: case "$ac_cv_c_inline" in
                   18855:  '')
                   18856:     ;;
                   18857:  *)
                   18858: 
                   18859: $as_echo "#define HAVE_INLINE 1" >>confdefs.h
                   18860: 
                   18861: 
                   18862: esac
                   18863: 
                   18864: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether char is unsigned" >&5
                   18865: $as_echo_n "checking whether char is unsigned... " >&6; }
                   18866: if ${ac_cv_c_char_unsigned+:} false; then :
                   18867:   $as_echo_n "(cached) " >&6
                   18868: else
                   18869:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18870: /* end confdefs.h.  */
                   18871: $ac_includes_default
                   18872: int
                   18873: main ()
                   18874: {
                   18875: static int test_array [1 - 2 * !(((char) -1) < 0)];
1.1.1.1.2.1! misho    18876: test_array [0] = 0;
        !          18877: return test_array [0];
1.1       misho    18878: 
                   18879:   ;
                   18880:   return 0;
                   18881: }
                   18882: _ACEOF
                   18883: if ac_fn_c_try_compile "$LINENO"; then :
                   18884:   ac_cv_c_char_unsigned=no
                   18885: else
                   18886:   ac_cv_c_char_unsigned=yes
                   18887: fi
                   18888: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   18889: fi
                   18890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_char_unsigned" >&5
                   18891: $as_echo "$ac_cv_c_char_unsigned" >&6; }
                   18892: if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
                   18893:   $as_echo "#define __CHAR_UNSIGNED__ 1" >>confdefs.h
                   18894: 
                   18895: fi
                   18896:                # The cast to long int works around a bug in the HP C Compiler
                   18897: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   18898: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   18899: # This bug is HP SR number 8606223364.
                   18900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of signed char" >&5
                   18901: $as_echo_n "checking size of signed char... " >&6; }
                   18902: if ${ac_cv_sizeof_signed_char+:} false; then :
                   18903:   $as_echo_n "(cached) " >&6
                   18904: else
                   18905:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (signed char))" "ac_cv_sizeof_signed_char"        "$ac_includes_default"; then :
                   18906: 
                   18907: else
                   18908:   if test "$ac_cv_type_signed_char" = yes; then
                   18909:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   18910: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   18911: as_fn_error 77 "cannot compute sizeof (signed char)
                   18912: See \`config.log' for more details" "$LINENO" 5; }
                   18913:    else
                   18914:      ac_cv_sizeof_signed_char=0
                   18915:    fi
                   18916: fi
                   18917: 
                   18918: fi
                   18919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_signed_char" >&5
                   18920: $as_echo "$ac_cv_sizeof_signed_char" >&6; }
                   18921: 
                   18922: 
                   18923: 
                   18924: cat >>confdefs.h <<_ACEOF
                   18925: #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
                   18926: _ACEOF
                   18927: 
                   18928: 
                   18929: ac_fn_c_check_type "$LINENO" "s_char" "ac_cv_type_s_char" "$ac_includes_default"
                   18930: if test "x$ac_cv_type_s_char" = xyes; then :
                   18931: 
                   18932: cat >>confdefs.h <<_ACEOF
                   18933: #define HAVE_S_CHAR 1
                   18934: _ACEOF
                   18935: 
                   18936: 
                   18937: fi
                   18938: 
                   18939: # The cast to long int works around a bug in the HP C Compiler
                   18940: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   18941: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   18942: # This bug is HP SR number 8606223364.
                   18943: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
                   18944: $as_echo_n "checking size of int... " >&6; }
                   18945: if ${ac_cv_sizeof_int+:} false; then :
                   18946:   $as_echo_n "(cached) " >&6
                   18947: else
                   18948:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
                   18949: 
                   18950: else
                   18951:   if test "$ac_cv_type_int" = yes; then
                   18952:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   18953: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   18954: as_fn_error 77 "cannot compute sizeof (int)
                   18955: See \`config.log' for more details" "$LINENO" 5; }
                   18956:    else
                   18957:      ac_cv_sizeof_int=0
                   18958:    fi
                   18959: fi
                   18960: 
                   18961: fi
                   18962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
                   18963: $as_echo "$ac_cv_sizeof_int" >&6; }
                   18964: 
                   18965: 
                   18966: 
                   18967: cat >>confdefs.h <<_ACEOF
                   18968: #define SIZEOF_INT $ac_cv_sizeof_int
                   18969: _ACEOF
                   18970: 
                   18971: 
                   18972: # The cast to long int works around a bug in the HP C Compiler
                   18973: # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
                   18974: # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
                   18975: # This bug is HP SR number 8606223364.
                   18976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
                   18977: $as_echo_n "checking size of long... " >&6; }
                   18978: if ${ac_cv_sizeof_long+:} false; then :
                   18979:   $as_echo_n "(cached) " >&6
                   18980: else
                   18981:   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
                   18982: 
                   18983: else
                   18984:   if test "$ac_cv_type_long" = yes; then
                   18985:      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   18986: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   18987: as_fn_error 77 "cannot compute sizeof (long)
                   18988: See \`config.log' for more details" "$LINENO" 5; }
                   18989:    else
                   18990:      ac_cv_sizeof_long=0
                   18991:    fi
                   18992: fi
                   18993: 
                   18994: fi
                   18995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
                   18996: $as_echo "$ac_cv_sizeof_long" >&6; }
                   18997: 
                   18998: 
                   18999: 
                   19000: cat >>confdefs.h <<_ACEOF
                   19001: #define SIZEOF_LONG $ac_cv_sizeof_long
                   19002: _ACEOF
                   19003: 
                   19004: 
                   19005: 
                   19006: case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in
                   19007:  *yes)
                   19008:     # We have a typedef for s_char.  Might as well believe it...
                   19009:     ;;
                   19010:  no0no)
                   19011:     # We have signed chars, can't say 'signed char', no s_char typedef.
                   19012: 
                   19013: $as_echo "#define NEED_S_CHAR_TYPEDEF 1" >>confdefs.h
                   19014: 
                   19015:     ;;
                   19016:  no1no)
                   19017:     # We have signed chars, can say 'signed char', no s_char typedef.
                   19018: 
                   19019: $as_echo "#define NEED_S_CHAR_TYPEDEF 1" >>confdefs.h
                   19020: 
                   19021:     ;;
                   19022:  yes0no)
                   19023:     # We have unsigned chars, can't say 'signed char', no s_char typedef.
                   19024:     as_fn_error $? "No way to specify a signed character!" "$LINENO" 5
                   19025:     ;;
                   19026:  yes1no)
                   19027:     # We have unsigned chars, can say 'signed char', no s_char typedef.
                   19028: 
                   19029: $as_echo "#define NEED_S_CHAR_TYPEDEF 1" >>confdefs.h
                   19030: 
                   19031:     ;;
                   19032: esac
                   19033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   19034: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
                   19035: if ${ac_cv_type_uid_t+:} false; then :
                   19036:   $as_echo_n "(cached) " >&6
                   19037: else
                   19038:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19039: /* end confdefs.h.  */
                   19040: #include <sys/types.h>
                   19041: 
                   19042: _ACEOF
                   19043: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   19044:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   19045:   ac_cv_type_uid_t=yes
                   19046: else
                   19047:   ac_cv_type_uid_t=no
                   19048: fi
                   19049: rm -f conftest*
                   19050: 
                   19051: fi
                   19052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   19053: $as_echo "$ac_cv_type_uid_t" >&6; }
                   19054: if test $ac_cv_type_uid_t = no; then
                   19055: 
                   19056: $as_echo "#define uid_t int" >>confdefs.h
                   19057: 
                   19058: 
                   19059: $as_echo "#define gid_t int" >>confdefs.h
                   19060: 
                   19061: fi
                   19062: 
                   19063: 
                   19064: case "$host" in
                   19065:  *-*-aix[456]*)
                   19066:        # (prr) aix 4.1 doesn't have clock_settime, but in aix 4.3 it's a stub
                   19067:        # (returning ENOSYS).  I didn't check 4.2.  If, in the future,
                   19068:        # IBM pulls its thumbs out long enough to implement clock_settime,
                   19069:        # this conditional will need to change.  Maybe use AC_TRY_RUN
                   19070:        # instead to try to set the time to itself and check errno.
                   19071:     ;;
                   19072:  *)
                   19073:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
                   19074: $as_echo_n "checking for library containing clock_gettime... " >&6; }
                   19075: if ${ac_cv_search_clock_gettime+:} false; then :
                   19076:   $as_echo_n "(cached) " >&6
                   19077: else
                   19078:   ac_func_search_save_LIBS=$LIBS
                   19079: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19080: /* end confdefs.h.  */
                   19081: 
                   19082: /* Override any GCC internal prototype to avoid an error.
                   19083:    Use char because int might match the return type of a GCC
                   19084:    builtin and then its argument prototype would still apply.  */
                   19085: #ifdef __cplusplus
                   19086: extern "C"
                   19087: #endif
                   19088: char clock_gettime ();
                   19089: int
                   19090: main ()
                   19091: {
                   19092: return clock_gettime ();
                   19093:   ;
                   19094:   return 0;
                   19095: }
                   19096: _ACEOF
                   19097: for ac_lib in '' rt; do
                   19098:   if test -z "$ac_lib"; then
                   19099:     ac_res="none required"
                   19100:   else
                   19101:     ac_res=-l$ac_lib
                   19102:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   19103:   fi
                   19104:   if ac_fn_c_try_link "$LINENO"; then :
                   19105:   ac_cv_search_clock_gettime=$ac_res
                   19106: fi
                   19107: rm -f core conftest.err conftest.$ac_objext \
                   19108:     conftest$ac_exeext
                   19109:   if ${ac_cv_search_clock_gettime+:} false; then :
                   19110:   break
                   19111: fi
                   19112: done
                   19113: if ${ac_cv_search_clock_gettime+:} false; then :
                   19114: 
                   19115: else
                   19116:   ac_cv_search_clock_gettime=no
                   19117: fi
                   19118: rm conftest.$ac_ext
                   19119: LIBS=$ac_func_search_save_LIBS
                   19120: fi
                   19121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
                   19122: $as_echo "$ac_cv_search_clock_gettime" >&6; }
                   19123: ac_res=$ac_cv_search_clock_gettime
                   19124: if test "$ac_res" != no; then :
                   19125:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   19126: 
                   19127: fi
                   19128: 
                   19129:     for ac_func in clock_gettime clock_settime
                   19130: do :
                   19131:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19132: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19133: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19134:   cat >>confdefs.h <<_ACEOF
                   19135: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19136: _ACEOF
                   19137: 
                   19138: fi
                   19139: done
                   19140: 
                   19141:     ;;
                   19142: esac
                   19143: for ac_func in daemon
                   19144: do :
                   19145:   ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon"
                   19146: if test "x$ac_cv_func_daemon" = xyes; then :
                   19147:   cat >>confdefs.h <<_ACEOF
                   19148: #define HAVE_DAEMON 1
                   19149: _ACEOF
                   19150: 
                   19151: fi
                   19152: done
                   19153: 
                   19154: for ac_func in finite
                   19155: do :
                   19156:   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
                   19157: if test "x$ac_cv_func_finite" = xyes; then :
                   19158:   cat >>confdefs.h <<_ACEOF
                   19159: #define HAVE_FINITE 1
                   19160: _ACEOF
                   19161: 
                   19162: else
                   19163:   for ac_func in isfinite
                   19164: do :
                   19165:   ac_fn_c_check_func "$LINENO" "isfinite" "ac_cv_func_isfinite"
                   19166: if test "x$ac_cv_func_isfinite" = xyes; then :
                   19167:   cat >>confdefs.h <<_ACEOF
                   19168: #define HAVE_ISFINITE 1
                   19169: _ACEOF
                   19170: 
                   19171: else
                   19172: 
                   19173:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite with <math.h>" >&5
                   19174: $as_echo_n "checking for isfinite with <math.h>... " >&6; }
                   19175:            _libs=$LIBS
                   19176:            LIBS="$LIBS -lm"
                   19177:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19178: /* end confdefs.h.  */
                   19179: 
                   19180:                        #include <math.h>
                   19181: 
                   19182: int
                   19183: main ()
                   19184: {
                   19185: 
                   19186:                        float f = 0.0;
                   19187:                        isfinite(f);
                   19188: 
                   19189: 
                   19190:   ;
                   19191:   return 0;
                   19192: }
                   19193: _ACEOF
                   19194: if ac_fn_c_try_link "$LINENO"; then :
                   19195:   ans=yes
                   19196: else
                   19197:   ans=no
                   19198: 
                   19199: fi
                   19200: rm -f core conftest.err conftest.$ac_objext \
                   19201:     conftest$ac_exeext conftest.$ac_ext
                   19202:            LIBS=$_libs
                   19203:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   19204: $as_echo "$ans" >&6; }
                   19205:            case "$ans" in
                   19206:             yes)
                   19207:                $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
                   19208: 
                   19209:            esac
                   19210: 
                   19211: 
                   19212: fi
                   19213: done
                   19214: 
                   19215: 
                   19216: fi
                   19217: done
                   19218: 
                   19219: 
                   19220: for ac_func in getbootfile getclock getdtablesize
                   19221: do :
                   19222:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19223: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19224: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19225:   cat >>confdefs.h <<_ACEOF
                   19226: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19227: _ACEOF
                   19228: 
                   19229: fi
                   19230: done
                   19231: 
                   19232: 
                   19233: # Check whether --enable-getifaddrs was given.
                   19234: if test "${enable_getifaddrs+set}" = set; then :
                   19235:   enableval=$enable_getifaddrs; want_getifaddrs="$enableval"
                   19236: else
                   19237:   want_getifaddrs="yes"
                   19238: 
                   19239: fi
                   19240: 
                   19241: 
                   19242: case $want_getifaddrs in
                   19243:  yes|glibc)
                   19244:     #
                   19245:     # Do we have getifaddrs() ?
                   19246:     #
                   19247:     case $host in
                   19248:      *-*linux*)
                   19249:        # Some recent versions of glibc support getifaddrs() which does not
                   19250:        # provide AF_INET6 addresses while the function provided by the USAGI
                   19251:        # project handles the AF_INET6 case correctly.  We need to avoid
                   19252:        # using the former but prefer the latter unless overridden by
                   19253:        # --enable-getifaddrs=glibc.
                   19254:        case "$want_getifaddrs" in
                   19255:         glibc)
                   19256:            for ac_func in getifaddrs
                   19257: do :
                   19258:   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
                   19259: if test "x$ac_cv_func_getifaddrs" = xyes; then :
                   19260:   cat >>confdefs.h <<_ACEOF
                   19261: #define HAVE_GETIFADDRS 1
                   19262: _ACEOF
                   19263: 
                   19264: fi
                   19265: done
                   19266: 
                   19267:            ;;
                   19268:         *)
                   19269:            save_LIBS="$LIBS"
                   19270:            LIBS="-L/usr/local/v6/lib $LIBS"
                   19271:            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getifaddrs in -linet6" >&5
                   19272: $as_echo_n "checking for getifaddrs in -linet6... " >&6; }
                   19273: if ${ac_cv_lib_inet6_getifaddrs+:} false; then :
                   19274:   $as_echo_n "(cached) " >&6
                   19275: else
                   19276:   ac_check_lib_save_LIBS=$LIBS
                   19277: LIBS="-linet6  $LIBS"
                   19278: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19279: /* end confdefs.h.  */
                   19280: 
                   19281: /* Override any GCC internal prototype to avoid an error.
                   19282:    Use char because int might match the return type of a GCC
                   19283:    builtin and then its argument prototype would still apply.  */
                   19284: #ifdef __cplusplus
                   19285: extern "C"
                   19286: #endif
                   19287: char getifaddrs ();
                   19288: int
                   19289: main ()
                   19290: {
                   19291: return getifaddrs ();
                   19292:   ;
                   19293:   return 0;
                   19294: }
                   19295: _ACEOF
                   19296: if ac_fn_c_try_link "$LINENO"; then :
                   19297:   ac_cv_lib_inet6_getifaddrs=yes
                   19298: else
                   19299:   ac_cv_lib_inet6_getifaddrs=no
                   19300: fi
                   19301: rm -f core conftest.err conftest.$ac_objext \
                   19302:     conftest$ac_exeext conftest.$ac_ext
                   19303: LIBS=$ac_check_lib_save_LIBS
                   19304: fi
                   19305: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inet6_getifaddrs" >&5
                   19306: $as_echo "$ac_cv_lib_inet6_getifaddrs" >&6; }
                   19307: if test "x$ac_cv_lib_inet6_getifaddrs" = xyes; then :
                   19308:   ans=yes
                   19309: else
                   19310:   ans=no
                   19311: 
                   19312: fi
                   19313: 
                   19314:            case "$ans" in
                   19315:             yes)
                   19316:                LIBS="$LIBS -linet6"
                   19317:                $as_echo "#define HAVE_GETIFADDRS 1" >>confdefs.h
                   19318: 
                   19319:                ;;
                   19320:             *)
                   19321:                LIBS=${save_LIBS}
                   19322:                ;;
                   19323:            esac
                   19324:            ;;
                   19325:        esac
                   19326:        ;;
                   19327:     esac
                   19328:     ;;
                   19329:  *)
                   19330:     for ac_func in getifaddrs
                   19331: do :
                   19332:   ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
                   19333: if test "x$ac_cv_func_getifaddrs" = xyes; then :
                   19334:   cat >>confdefs.h <<_ACEOF
                   19335: #define HAVE_GETIFADDRS 1
                   19336: _ACEOF
                   19337: 
                   19338: fi
                   19339: done
                   19340: 
                   19341:     ;;
                   19342: esac
                   19343: 
                   19344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking type of socklen arg for getsockname()" >&5
                   19345: $as_echo_n "checking type of socklen arg for getsockname()... " >&6; }
                   19346: if ${ntp_cv_getsockname_socklen_type+:} false; then :
                   19347:   $as_echo_n "(cached) " >&6
                   19348: else
                   19349: 
                   19350:     getsockname_socklen_type_found=no
                   19351:     for getsockname_arg2 in 'struct sockaddr *' 'void *'; do
                   19352:        for ntp_cv_getsockname_socklen_type in 'socklen_t' 'size_t' 'unsigned int' 'int'; do
                   19353:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19354: /* end confdefs.h.  */
                   19355: 
                   19356:                        #ifdef HAVE_SYS_TYPES_H
                   19357:                        # include <sys/types.h>
                   19358:                        #endif
                   19359:                        #ifdef HAVE_SYS_SOCKET_H
                   19360:                        # include <sys/socket.h>
                   19361:                        #endif
                   19362: 
                   19363: int
                   19364: main ()
                   19365: {
                   19366: 
                   19367:                        extern
                   19368:                        getsockname(int, $getsockname_arg2,
                   19369:                                $ntp_cv_getsockname_socklen_type *);
                   19370: 
                   19371: 
                   19372:   ;
                   19373:   return 0;
                   19374: }
                   19375: _ACEOF
                   19376: if ac_fn_c_try_compile "$LINENO"; then :
                   19377:   getsockname_socklen_type_found=yes ; break 2
                   19378: fi
                   19379: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   19380:        done
                   19381:     done
                   19382:     case "$getsockname_socklen_type_found" in
                   19383:      no)
                   19384:        ntp_cv_getsockname_socklen_type='socklen_t'
                   19385:     esac
                   19386:     { getsockname_arg2=; unset getsockname_arg2;}
                   19387:     { getsockname_socklen_type_found=; unset getsockname_socklen_type_found;}
                   19388: 
                   19389: 
                   19390: fi
                   19391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_getsockname_socklen_type" >&5
                   19392: $as_echo "$ntp_cv_getsockname_socklen_type" >&6; }
                   19393: 
                   19394: cat >>confdefs.h <<_ACEOF
                   19395: #define GETSOCKNAME_SOCKLEN_TYPE $ntp_cv_getsockname_socklen_type
                   19396: _ACEOF
                   19397: 
                   19398: 
                   19399: for ac_func in getuid getrusage hstrerror
                   19400: do :
                   19401:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19402: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19403: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19404:   cat >>confdefs.h <<_ACEOF
                   19405: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19406: _ACEOF
                   19407: 
                   19408: fi
                   19409: done
                   19410: 
                   19411: ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
                   19412: if test "x$ac_cv_func_gettimeofday" = xyes; then :
                   19413: 
                   19414: else
                   19415: 
                   19416: case "$host" in
                   19417:   *-*-mpeix*) ac_cv_func_gettimeofday=yes
                   19418:     ;;
                   19419: esac
                   19420: fi
                   19421: 
                   19422: 
                   19423: #
                   19424: # Check for if_nametoindex() for IPv6 scoped addresses support
                   19425: #
                   19426: case "$host" in
                   19427:  *-hp-hpux*)
                   19428:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing if_nametoindex" >&5
                   19429: $as_echo_n "checking for library containing if_nametoindex... " >&6; }
                   19430: if ${ac_cv_search_if_nametoindex+:} false; then :
                   19431:   $as_echo_n "(cached) " >&6
                   19432: else
                   19433:   ac_func_search_save_LIBS=$LIBS
                   19434: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19435: /* end confdefs.h.  */
                   19436: 
                   19437: /* Override any GCC internal prototype to avoid an error.
                   19438:    Use char because int might match the return type of a GCC
                   19439:    builtin and then its argument prototype would still apply.  */
                   19440: #ifdef __cplusplus
                   19441: extern "C"
                   19442: #endif
                   19443: char if_nametoindex ();
                   19444: int
                   19445: main ()
                   19446: {
                   19447: return if_nametoindex ();
                   19448:   ;
                   19449:   return 0;
                   19450: }
                   19451: _ACEOF
                   19452: for ac_lib in '' ipv6; do
                   19453:   if test -z "$ac_lib"; then
                   19454:     ac_res="none required"
                   19455:   else
                   19456:     ac_res=-l$ac_lib
                   19457:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   19458:   fi
                   19459:   if ac_fn_c_try_link "$LINENO"; then :
                   19460:   ac_cv_search_if_nametoindex=$ac_res
                   19461: fi
                   19462: rm -f core conftest.err conftest.$ac_objext \
                   19463:     conftest$ac_exeext
                   19464:   if ${ac_cv_search_if_nametoindex+:} false; then :
                   19465:   break
                   19466: fi
                   19467: done
                   19468: if ${ac_cv_search_if_nametoindex+:} false; then :
                   19469: 
                   19470: else
                   19471:   ac_cv_search_if_nametoindex=no
                   19472: fi
                   19473: rm conftest.$ac_ext
                   19474: LIBS=$ac_func_search_save_LIBS
                   19475: fi
                   19476: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_if_nametoindex" >&5
                   19477: $as_echo "$ac_cv_search_if_nametoindex" >&6; }
                   19478: ac_res=$ac_cv_search_if_nametoindex
                   19479: if test "$ac_res" != no; then :
                   19480:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   19481: 
                   19482: fi
                   19483: 
                   19484: esac
                   19485: for ac_func in if_nametoindex
                   19486: do :
                   19487:   ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
                   19488: if test "x$ac_cv_func_if_nametoindex" = xyes; then :
                   19489:   cat >>confdefs.h <<_ACEOF
                   19490: #define HAVE_IF_NAMETOINDEX 1
                   19491: _ACEOF
                   19492: 
                   19493: fi
                   19494: done
                   19495: 
                   19496: case "$ac_cv_func_if_nametoindex" in
                   19497:  yes)
                   19498: 
                   19499: $as_echo "#define ISC_PLATFORM_HAVEIFNAMETOINDEX 1" >>confdefs.h
                   19500: 
                   19501: esac
                   19502: 
                   19503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
                   19504: $as_echo_n "checking for library containing inet_ntop... " >&6; }
                   19505: if ${ac_cv_search_inet_ntop+:} false; then :
                   19506:   $as_echo_n "(cached) " >&6
                   19507: else
                   19508:   ac_func_search_save_LIBS=$LIBS
                   19509: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19510: /* end confdefs.h.  */
                   19511: 
                   19512: /* Override any GCC internal prototype to avoid an error.
                   19513:    Use char because int might match the return type of a GCC
                   19514:    builtin and then its argument prototype would still apply.  */
                   19515: #ifdef __cplusplus
                   19516: extern "C"
                   19517: #endif
                   19518: char inet_ntop ();
                   19519: int
                   19520: main ()
                   19521: {
                   19522: return inet_ntop ();
                   19523:   ;
                   19524:   return 0;
                   19525: }
                   19526: _ACEOF
                   19527: for ac_lib in '' resolv; do
                   19528:   if test -z "$ac_lib"; then
                   19529:     ac_res="none required"
                   19530:   else
                   19531:     ac_res=-l$ac_lib
                   19532:     LIBS="-l$ac_lib -lsocket -lnsl $ac_func_search_save_LIBS"
                   19533:   fi
                   19534:   if ac_fn_c_try_link "$LINENO"; then :
                   19535:   ac_cv_search_inet_ntop=$ac_res
                   19536: fi
                   19537: rm -f core conftest.err conftest.$ac_objext \
                   19538:     conftest$ac_exeext
                   19539:   if ${ac_cv_search_inet_ntop+:} false; then :
                   19540:   break
                   19541: fi
                   19542: done
                   19543: if ${ac_cv_search_inet_ntop+:} false; then :
                   19544: 
                   19545: else
                   19546:   ac_cv_search_inet_ntop=no
                   19547: fi
                   19548: rm conftest.$ac_ext
                   19549: LIBS=$ac_func_search_save_LIBS
                   19550: fi
                   19551: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5
                   19552: $as_echo "$ac_cv_search_inet_ntop" >&6; }
                   19553: ac_res=$ac_cv_search_inet_ntop
                   19554: if test "$ac_res" != no; then :
                   19555:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
                   19556: 
                   19557: fi
                   19558: 
                   19559: ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
                   19560: if test "x$ac_cv_func_inet_ntop" = xyes; then :
                   19561: 
                   19562: else
                   19563: 
                   19564: $as_echo "#define ISC_PLATFORM_NEEDNTOP 1" >>confdefs.h
                   19565: 
                   19566: fi
                   19567: 
                   19568: ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
                   19569: if test "x$ac_cv_func_inet_pton" = xyes; then :
                   19570: 
                   19571: else
                   19572: 
                   19573: $as_echo "#define ISC_PLATFORM_NEEDPTON 1" >>confdefs.h
                   19574: 
                   19575: fi
                   19576: 
                   19577: 
                   19578: case "$ac_cv_header_kvm_h" in
                   19579:  yes)
                   19580:     for ac_func in kvm_open
                   19581: do :
                   19582:   ac_fn_c_check_func "$LINENO" "kvm_open" "ac_cv_func_kvm_open"
                   19583: if test "x$ac_cv_func_kvm_open" = xyes; then :
                   19584:   cat >>confdefs.h <<_ACEOF
                   19585: #define HAVE_KVM_OPEN 1
                   19586: _ACEOF
                   19587: 
                   19588: fi
                   19589: done
                   19590: 
                   19591:     ;;
                   19592: esac
                   19593: 
                   19594: for ac_func in memcpy memmove memset
                   19595: do :
                   19596:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19597: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19598: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19599:   cat >>confdefs.h <<_ACEOF
                   19600: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19601: _ACEOF
                   19602: 
                   19603: fi
                   19604: done
                   19605: 
                   19606: case "$host" in
                   19607:  *-*-sco3.2v5.0.*)
                   19608:     # Just stubs.  Idiots.
                   19609:     ;;
                   19610:  *) for ac_func in mkstemp
                   19611: do :
                   19612:   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
                   19613: if test "x$ac_cv_func_mkstemp" = xyes; then :
                   19614:   cat >>confdefs.h <<_ACEOF
                   19615: #define HAVE_MKSTEMP 1
                   19616: _ACEOF
                   19617: 
                   19618: fi
                   19619: done
                   19620: 
                   19621:     ;;
                   19622: esac
                   19623: for ac_func in mktime
                   19624: do :
                   19625:   ac_fn_c_check_func "$LINENO" "mktime" "ac_cv_func_mktime"
                   19626: if test "x$ac_cv_func_mktime" = xyes; then :
                   19627:   cat >>confdefs.h <<_ACEOF
                   19628: #define HAVE_MKTIME 1
                   19629: _ACEOF
                   19630: 
                   19631: fi
                   19632: done
                   19633: 
                   19634: case "$host" in
                   19635:  *-*-aix[456]*)
                   19636:     # Just a stub.  Idiots.
                   19637:     ;;
                   19638:  *-*-irix[45]*)
                   19639:     # Just a stub in "old" Irix.  Idiots.
                   19640:     ;;
                   19641:  *-*-*linux*)
                   19642:     # there, but more trouble than it is worth for now (resolver problems)
                   19643:     ;;
                   19644:  *-*-qnx*)
                   19645:     # Apparently there but not working in QNX.  Idiots?
                   19646:     ;;
                   19647:  *-*-sco3.2v5.0.*)
                   19648:     # Just a stub.  Idiots.
                   19649:     ;;
                   19650:  alpha*-dec-osf4*|alpha*-dec-osf5*)
                   19651:     # mlockall is there, as a #define calling memlk via <sys/mman.h>
                   19652:     # Not easy to test for - cheat.
                   19653:     for ac_func in memlk
                   19654: do :
                   19655:   ac_fn_c_check_func "$LINENO" "memlk" "ac_cv_func_memlk"
                   19656: if test "x$ac_cv_func_memlk" = xyes; then :
                   19657:   cat >>confdefs.h <<_ACEOF
                   19658: #define HAVE_MEMLK 1
                   19659: _ACEOF
                   19660:  ac_cv_func_mlockall=yes
                   19661: fi
                   19662: done
                   19663: 
                   19664:     for ac_func in mlockall
                   19665: do :
                   19666:   ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall"
                   19667: if test "x$ac_cv_func_mlockall" = xyes; then :
                   19668:   cat >>confdefs.h <<_ACEOF
                   19669: #define HAVE_MLOCKALL 1
                   19670: _ACEOF
                   19671: 
                   19672: fi
                   19673: done
                   19674: 
                   19675:     ;;
                   19676:  *) for ac_func in mlockall
                   19677: do :
                   19678:   ac_fn_c_check_func "$LINENO" "mlockall" "ac_cv_func_mlockall"
                   19679: if test "x$ac_cv_func_mlockall" = xyes; then :
                   19680:   cat >>confdefs.h <<_ACEOF
                   19681: #define HAVE_MLOCKALL 1
                   19682: _ACEOF
                   19683: 
                   19684: fi
                   19685: done
                   19686: 
                   19687:     ;;
                   19688: esac
                   19689: for ac_func in nice nlist
                   19690: do :
                   19691:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19692: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19693: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19694:   cat >>confdefs.h <<_ACEOF
                   19695: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19696: _ACEOF
                   19697: 
                   19698: fi
                   19699: done
                   19700: 
                   19701: case "$host" in
                   19702:  *-*-solaris2.6)
                   19703:     # Broken...
                   19704:     ;;
                   19705:  *) for ac_func in ntp_adjtime ntp_gettime
                   19706: do :
                   19707:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19708: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19709: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19710:   cat >>confdefs.h <<_ACEOF
                   19711: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19712: _ACEOF
                   19713: 
                   19714: fi
                   19715: done
                   19716: 
                   19717:     ;;
                   19718: esac
                   19719: for ac_func in plock pututline pututxline readlink recvmsg rtprio
                   19720: do :
                   19721:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19722: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19723: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19724:   cat >>confdefs.h <<_ACEOF
                   19725: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19726: _ACEOF
                   19727: 
                   19728: fi
                   19729: done
                   19730: 
                   19731: case "$host" in
                   19732:  *-*-aix[456]*)
                   19733:     # Just a stub in AIX 4.  Idiots.
                   19734:     ;;
                   19735:  *-*-solaris2.5*)
                   19736:     # Just stubs in solaris2.5.  Idiots.
                   19737:     ;;
                   19738:  *) for ac_func in sched_setscheduler
                   19739: do :
                   19740:   ac_fn_c_check_func "$LINENO" "sched_setscheduler" "ac_cv_func_sched_setscheduler"
                   19741: if test "x$ac_cv_func_sched_setscheduler" = xyes; then :
                   19742:   cat >>confdefs.h <<_ACEOF
                   19743: #define HAVE_SCHED_SETSCHEDULER 1
                   19744: _ACEOF
                   19745: 
                   19746: fi
                   19747: done
                   19748: 
                   19749:     ;;
                   19750: esac
                   19751: for ac_func in setlinebuf setpgid setpriority setsid
                   19752: do :
                   19753:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19754: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19755: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19756:   cat >>confdefs.h <<_ACEOF
                   19757: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19758: _ACEOF
                   19759: 
                   19760: fi
                   19761: done
                   19762: 
                   19763: for ac_func in setrlimit
                   19764: do :
                   19765:   ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
                   19766: if test "x$ac_cv_func_setrlimit" = xyes; then :
                   19767:   cat >>confdefs.h <<_ACEOF
                   19768: #define HAVE_SETRLIMIT 1
                   19769: _ACEOF
                   19770: 
                   19771: fi
                   19772: done
                   19773: 
                   19774: for ac_func in settimeofday
                   19775: do :
                   19776:   ac_fn_c_check_func "$LINENO" "settimeofday" "ac_cv_func_settimeofday"
                   19777: if test "x$ac_cv_func_settimeofday" = xyes; then :
                   19778:   cat >>confdefs.h <<_ACEOF
                   19779: #define HAVE_SETTIMEOFDAY 1
                   19780: _ACEOF
                   19781: 
                   19782: else
                   19783: 
                   19784: case "$host" in
                   19785:   *-*-mpeix*) ac_cv_func_settimeofday=yes
                   19786:     ;;
                   19787: esac
                   19788: fi
                   19789: done
                   19790: 
                   19791: for ac_func in setvbuf sigaction sigvec sigset sigsuspend stime strchr
                   19792: do :
                   19793:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19794: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19795: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19796:   cat >>confdefs.h <<_ACEOF
                   19797: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19798: _ACEOF
                   19799: 
                   19800: fi
                   19801: done
                   19802: 
                   19803: for ac_func in sysconf sysctl snprintf strdup strerror strstr timegm
                   19804: do :
                   19805:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19806: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19807: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19808:   cat >>confdefs.h <<_ACEOF
                   19809: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19810: _ACEOF
                   19811: 
                   19812: fi
                   19813: done
                   19814: 
                   19815: case "$host" in
                   19816:  *-*-aix[456]*)
                   19817:     # Just stubs.  Idiots.
                   19818:     ;;
                   19819:  *-*-netbsd1*)
                   19820:     # Just stubs.  Idiots.
                   19821:     ;;
                   19822:  *-*-netbsdelf1*)
                   19823:     # Just stubs.  Idiots.
                   19824:     ;;
                   19825:  *-*-openbsd*)
                   19826:     # Just stubs.  Idiots.
                   19827:     ;;
                   19828:  *) for ac_func in timer_create timer_settime
                   19829: do :
                   19830:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19831: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19832: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19833:   cat >>confdefs.h <<_ACEOF
                   19834: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19835: _ACEOF
                   19836: 
                   19837: fi
                   19838: done
                   19839: 
                   19840:     ;;
                   19841: esac
                   19842: for ac_func in umask uname updwtmp updwtmpx vsnprintf vsprintf
                   19843: do :
                   19844:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   19845: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   19846: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   19847:   cat >>confdefs.h <<_ACEOF
                   19848: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   19849: _ACEOF
                   19850: 
                   19851: fi
                   19852: done
                   19853: 
                   19854: 
                   19855: ###
                   19856: 
                   19857: # http://bugs.ntp.org/737
                   19858: case "$ac_cv_func_recvmsg" in
                   19859:  yes)
                   19860:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need extra help to define struct iovec" >&5
                   19861: $as_echo_n "checking if we need extra help to define struct iovec... " >&6; }
                   19862: if ${ntp_cv_struct_iovec_help+:} false; then :
                   19863:   $as_echo_n "(cached) " >&6
                   19864: else
                   19865: 
                   19866:            compiled=no
                   19867:            for ntp_cv_struct_iovec_help in '0' '1'; do
                   19868:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19869: /* end confdefs.h.  */
                   19870: 
                   19871:                            #ifdef HAVE_SYS_TYPES_H
                   19872:                            # include <sys/types.h>
                   19873:                            #endif
                   19874:                            #ifdef HAVE_SYS_SOCKET_H
                   19875:                            # include <sys/socket.h>
                   19876:                            #endif
                   19877:                            #if $ntp_cv_struct_iovec_help
                   19878:                            # include <sys/uio.h>
                   19879:                            #endif
                   19880: 
                   19881: int
                   19882: main ()
                   19883: {
                   19884: 
                   19885:                            void foo(void) {
                   19886:                                ssize_t x;
                   19887:                                int s = 0;
                   19888:                                struct iovec iov;
                   19889:                                struct msghdr mh;
                   19890:                                int flags = 0;
                   19891: 
                   19892:                                mh.msg_iov = &iov;
                   19893:                                x = recvmsg(s, &mh, flags);
                   19894:                            }
                   19895: 
                   19896: 
                   19897:   ;
                   19898:   return 0;
                   19899: }
                   19900: _ACEOF
                   19901: if ac_fn_c_try_compile "$LINENO"; then :
                   19902:   compiled=yes ; break 1
                   19903: fi
                   19904: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   19905:            done
                   19906:            case "$compiled" in
                   19907:             no)
                   19908:                ntp_cv_struct_iovec_help=0
                   19909:            esac
                   19910:            { compiled=; unset compiled;}
                   19911: 
                   19912: 
                   19913: fi
                   19914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_struct_iovec_help" >&5
                   19915: $as_echo "$ntp_cv_struct_iovec_help" >&6; }
                   19916:     case "$ntp_cv_struct_iovec_help" in
                   19917:      1)
                   19918: 
                   19919: $as_echo "#define HAVE_SYS_UIO_H 1" >>confdefs.h
                   19920: 
                   19921:     esac
                   19922: esac
                   19923: 
                   19924: case "$host" in
                   19925:  *-*-sunos4*)
                   19926: 
                   19927: $as_echo "#define SPRINTF_CHAR 1" >>confdefs.h
                   19928: 
                   19929:     ;;
                   19930: esac
                   19931: 
                   19932: { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of arguments to gettimeofday()" >&5
                   19933: $as_echo_n "checking number of arguments to gettimeofday()... " >&6; }
                   19934: if ${ntp_cv_func_Xettimeofday_nargs+:} false; then :
                   19935:   $as_echo_n "(cached) " >&6
                   19936: else
                   19937:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19938: /* end confdefs.h.  */
                   19939: 
                   19940:                #include <sys/time.h>
                   19941: 
                   19942: int
                   19943: main ()
                   19944: {
                   19945: 
                   19946:                gettimeofday(0, 0);
                   19947:                settimeofday(0, 0);
                   19948: 
                   19949: 
                   19950:   ;
                   19951:   return 0;
                   19952: }
                   19953: _ACEOF
                   19954: if ac_fn_c_try_compile "$LINENO"; then :
                   19955:   ntp_cv_func_Xettimeofday_nargs=2
                   19956: else
                   19957:   ntp_cv_func_Xettimeofday_nargs=1
                   19958: 
                   19959: fi
                   19960: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   19961: 
                   19962: fi
                   19963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_Xettimeofday_nargs" >&5
                   19964: $as_echo "$ntp_cv_func_Xettimeofday_nargs" >&6; }
                   19965: case "$ntp_cv_func_Xettimeofday_nargs" in
                   19966:  1)
                   19967: 
                   19968: $as_echo "#define SYSV_TIMEOFDAY 1" >>confdefs.h
                   19969: 
                   19970: esac
                   19971: 
                   19972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of arguments taken by setpgrp()" >&5
                   19973: $as_echo_n "checking number of arguments taken by setpgrp()... " >&6; }
                   19974: if ${ntp_cv_func_setpgrp_nargs+:} false; then :
                   19975:   $as_echo_n "(cached) " >&6
                   19976: else
                   19977:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   19978: /* end confdefs.h.  */
                   19979: 
                   19980:                #ifdef HAVE_SYS_TYPES_H
                   19981:                # include <sys/types.h>
                   19982:                #endif
                   19983:                #ifdef HAVE_UNISTD_H
                   19984:                # include <unistd.h>
                   19985:                #endif
                   19986: 
                   19987: int
                   19988: main ()
                   19989: {
                   19990: 
                   19991:                setpgrp(0, 0);
                   19992: 
                   19993: 
                   19994:   ;
                   19995:   return 0;
                   19996: }
                   19997: _ACEOF
                   19998: if ac_fn_c_try_compile "$LINENO"; then :
                   19999:   ntp_cv_func_setpgrp_nargs=2
                   20000: else
                   20001:   ntp_cv_func_setpgrp_nargs=0
                   20002: 
                   20003: fi
                   20004: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20005: 
                   20006: fi
                   20007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_setpgrp_nargs" >&5
                   20008: $as_echo "$ntp_cv_func_setpgrp_nargs" >&6; }
                   20009: case "$ntp_cv_func_setpgrp_nargs" in
                   20010:  0)
                   20011: 
                   20012: $as_echo "#define HAVE_SETPGRP_0 1" >>confdefs.h
                   20013: 
                   20014: esac
                   20015: 
                   20016: 
                   20017: $as_echo "#define QSORT_USES_VOID_P 1" >>confdefs.h
                   20018: 
                   20019: 
                   20020: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to declare 'errno'" >&5
                   20021: $as_echo_n "checking if we need to declare 'errno'... " >&6; }
                   20022: if ${ntp_cv_decl_errno+:} false; then :
                   20023:   $as_echo_n "(cached) " >&6
                   20024: else
                   20025:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20026: /* end confdefs.h.  */
                   20027: 
                   20028:                #ifdef HAVE_ERRNO_H
                   20029:                # include <errno.h>
                   20030:                #endif
                   20031: 
                   20032: int
                   20033: main ()
                   20034: {
                   20035: 
                   20036:                errno = 0;
                   20037: 
                   20038: 
                   20039:   ;
                   20040:   return 0;
                   20041: }
                   20042: _ACEOF
                   20043: if ac_fn_c_try_compile "$LINENO"; then :
                   20044:   ntp_cv_decl_errno=no
                   20045: else
                   20046:   ntp_cv_decl_errno=yes
                   20047: 
                   20048: fi
                   20049: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20050: 
                   20051: fi
                   20052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_errno" >&5
                   20053: $as_echo "$ntp_cv_decl_errno" >&6; }
                   20054: case "$ntp_cv_decl_errno" in
                   20055:  yes)
                   20056: 
                   20057: $as_echo "#define DECL_ERRNO 1" >>confdefs.h
                   20058: 
                   20059: esac
                   20060: 
                   20061: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we may declare 'h_errno'" >&5
                   20062: $as_echo_n "checking if we may declare 'h_errno'... " >&6; }
                   20063: if ${ntp_cv_decl_h_errno+:} false; then :
                   20064:   $as_echo_n "(cached) " >&6
                   20065: else
                   20066:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20067: /* end confdefs.h.  */
                   20068: 
                   20069:                #include <sys/types.h>
                   20070:                #ifdef HAVE_NETINET_IN_H
                   20071:                # include <netinet/in.h>
                   20072:                #endif
                   20073:                #ifdef HAVE_ARPA_NAMESER_H
                   20074:                # include <arpa/nameser.h>
                   20075:                #endif
                   20076:                #ifdef HAVE_NETDB_H
                   20077:                # include <netdb.h>
                   20078:                #endif
                   20079:                #ifdef HAVE_RESOLV_H
                   20080:                # include <resolv.h>
                   20081:                #endif
                   20082: 
                   20083: int
                   20084: main ()
                   20085: {
                   20086: 
                   20087:                extern int h_errno;
                   20088: 
                   20089: 
                   20090:   ;
                   20091:   return 0;
                   20092: }
                   20093: _ACEOF
                   20094: if ac_fn_c_try_compile "$LINENO"; then :
                   20095:   ntp_cv_decl_h_errno=yes
                   20096: else
                   20097:   ntp_cv_decl_h_errno=no
                   20098: 
                   20099: fi
                   20100: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20101: 
                   20102: fi
                   20103: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_h_errno" >&5
                   20104: $as_echo "$ntp_cv_decl_h_errno" >&6; }
                   20105: case "$ntp_cv_decl_h_errno" in
                   20106:  yes)
                   20107: 
                   20108: $as_echo "#define DECL_H_ERRNO 1" >>confdefs.h
                   20109: 
                   20110: esac
                   20111: 
                   20112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if declaring 'syscall()' is ok" >&5
                   20113: $as_echo_n "checking if declaring 'syscall()' is ok... " >&6; }
                   20114: if ${ntp_cv_decl_syscall+:} false; then :
                   20115:   $as_echo_n "(cached) " >&6
                   20116: else
                   20117:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20118: /* end confdefs.h.  */
                   20119: 
                   20120:                #ifdef HAVE_SYS_TYPES_H
                   20121:                # include <sys/types.h>
                   20122:                #endif
                   20123:                #ifdef HAVE_UNISTD_H
                   20124:                # include <unistd.h>
                   20125:                #endif
                   20126: 
                   20127: int
                   20128: main ()
                   20129: {
                   20130: 
                   20131:                extern int syscall (int, ...);
                   20132: 
                   20133: 
                   20134:   ;
                   20135:   return 0;
                   20136: }
                   20137:        ntp_cv_decl_syscall=yes
                   20138: _ACEOF
                   20139: if ac_fn_c_try_compile "$LINENO"; then :
                   20140:   ntp_cv_decl_syscall=no
                   20141: 
                   20142: fi
                   20143: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20144: 
                   20145: fi
                   20146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_decl_syscall" >&5
                   20147: $as_echo "$ntp_cv_decl_syscall" >&6; }
                   20148: case "$ntp_cv_decl_syscall" in
                   20149:  yes)
                   20150: 
                   20151: $as_echo "#define DECL_SYSCALL 1" >>confdefs.h
                   20152: 
                   20153: esac
                   20154: 
                   20155: case "$host" in
                   20156:  *-*-aix4.3.*)
                   20157: 
                   20158: $as_echo "#define DECL_HSTRERROR_0 1" >>confdefs.h
                   20159:                # Needed for XLC under AIX 4.3.2
                   20160:     ;;
                   20161:  *-*-mpeix*)
                   20162: 
                   20163: $as_echo "#define DECL_ADJTIME_0 1" >>confdefs.h
                   20164: 
                   20165: 
                   20166: $as_echo "#define DECL_INET_NTOA_0 1" >>confdefs.h
                   20167: 
                   20168: 
                   20169: $as_echo "#define DECL_MKTEMP_0 1" >>confdefs.h
                   20170: 
                   20171: 
                   20172: $as_echo "#define DECL_SELECT_0 1" >>confdefs.h
                   20173: 
                   20174: 
                   20175: $as_echo "#define DECL_SETITIMER_0 1" >>confdefs.h
                   20176: 
                   20177: 
                   20178: $as_echo "#define DECL_SYSLOG_0 1" >>confdefs.h
                   20179: 
                   20180: 
                   20181: $as_echo "#define DECL_TIMEOFDAY_0 1" >>confdefs.h
                   20182: 
                   20183:     ;;
                   20184:  *-*-osf[45]*)
                   20185: 
                   20186: $as_echo "#define DECL_PLOCK_0 1" >>confdefs.h
                   20187: 
                   20188: 
                   20189: $as_echo "#define DECL_STIME_1 1" >>confdefs.h
                   20190: 
                   20191:     ;;
                   20192:  *-*-qnx*)
                   20193: 
                   20194: $as_echo "#define DECL_ADJTIME_0 1" >>confdefs.h
                   20195: 
                   20196:     ;;
                   20197:  *-*-riscos4*)
                   20198: 
                   20199: $as_echo "#define DECL_ADJTIME_0 1" >>confdefs.h
                   20200: 
                   20201: 
                   20202: $as_echo "#define DECL_BZERO_0 1" >>confdefs.h
                   20203: 
                   20204: 
                   20205: $as_echo "#define DECL_IOCTL_0 1" >>confdefs.h
                   20206: 
                   20207: 
                   20208: $as_echo "#define DECL_IPC_0 1" >>confdefs.h
                   20209: 
                   20210: 
                   20211: $as_echo "#define DECL_MEMMOVE_0 1" >>confdefs.h
                   20212: 
                   20213: 
                   20214: $as_echo "#define DECL_MKTEMP_0 1" >>confdefs.h
                   20215: 
                   20216: 
                   20217: $as_echo "#define DECL_RENAME_0 1" >>confdefs.h
                   20218: 
                   20219: 
                   20220: $as_echo "#define DECL_SELECT_0 1" >>confdefs.h
                   20221: 
                   20222: 
                   20223: $as_echo "#define DECL_SETITIMER_0 1" >>confdefs.h
                   20224: 
                   20225: 
                   20226: $as_echo "#define DECL_SETPRIORITY_0 1" >>confdefs.h
                   20227: 
                   20228: 
                   20229: $as_echo "#define DECL_STDIO_0 1" >>confdefs.h
                   20230: 
                   20231: 
                   20232: $as_echo "#define DECL_STRTOL_0 1" >>confdefs.h
                   20233: 
                   20234: 
                   20235: $as_echo "#define DECL_SYSLOG_0 1" >>confdefs.h
                   20236: 
                   20237: 
                   20238: $as_echo "#define DECL_TIME_0 1" >>confdefs.h
                   20239: 
                   20240: 
                   20241: $as_echo "#define DECL_TIMEOFDAY_0 1" >>confdefs.h
                   20242: 
                   20243: 
                   20244: $as_echo "#define DECL_TOLOWER_0 1" >>confdefs.h
                   20245: 
                   20246:     ;;
                   20247:  *-*-solaris2*)
                   20248: 
                   20249: $as_echo "#define DECL_MKSTEMP_0 1" >>confdefs.h
                   20250: 
                   20251: 
                   20252: $as_echo "#define DECL_SETPRIORITY_1 1" >>confdefs.h
                   20253: 
                   20254:     case "$host" in
                   20255:      *-*-solaris2.4)
                   20256: 
                   20257: $as_echo "#define DECL_TIMEOFDAY_0 1" >>confdefs.h
                   20258: 
                   20259:        ;;
                   20260:     esac
                   20261:     ;;
                   20262:  *-*-sunos4*)
                   20263: 
                   20264: $as_echo "#define DECL_ADJTIME_0 1" >>confdefs.h
                   20265: 
                   20266: 
                   20267: $as_echo "#define DECL_BCOPY_0 1" >>confdefs.h
                   20268: 
                   20269: 
                   20270: $as_echo "#define DECL_BZERO_0 1" >>confdefs.h
                   20271: 
                   20272: 
                   20273: $as_echo "#define DECL_IOCTL_0 1" >>confdefs.h
                   20274: 
                   20275: 
                   20276: $as_echo "#define DECL_IPC_0 1" >>confdefs.h
                   20277: 
                   20278: 
                   20279: $as_echo "#define DECL_MEMMOVE_0 1" >>confdefs.h
                   20280: 
                   20281: 
                   20282: $as_echo "#define DECL_MKTEMP_0 1" >>confdefs.h
                   20283: 
                   20284: 
                   20285: $as_echo "#define DECL_MKSTEMP_0 1" >>confdefs.h
                   20286: 
                   20287: 
                   20288: $as_echo "#define DECL_RENAME_0 1" >>confdefs.h
                   20289: 
                   20290: 
                   20291: $as_echo "#define DECL_SELECT_0 1" >>confdefs.h
                   20292: 
                   20293: 
                   20294: $as_echo "#define DECL_SETITIMER_0 1" >>confdefs.h
                   20295: 
                   20296: 
                   20297: $as_echo "#define DECL_SETPRIORITY_0 1" >>confdefs.h
                   20298: 
                   20299: 
                   20300: $as_echo "#define DECL_SIGVEC_0 1" >>confdefs.h
                   20301: 
                   20302:     case "`basename $ac_cv_prog_CC`" in
                   20303:      acc*) ;;
                   20304:      *)
                   20305: $as_echo "#define DECL_STDIO_0 1" >>confdefs.h
                   20306: 
                   20307:        ;;
                   20308:     esac
                   20309: 
                   20310: $as_echo "#define DECL_STRTOL_0 1" >>confdefs.h
                   20311: 
                   20312: 
                   20313: $as_echo "#define DECL_SYSLOG_0 1" >>confdefs.h
                   20314: 
                   20315: 
                   20316: $as_echo "#define DECL_TIME_0 1" >>confdefs.h
                   20317: 
                   20318: 
                   20319: $as_echo "#define DECL_TIMEOFDAY_0 1" >>confdefs.h
                   20320: 
                   20321: 
                   20322: $as_echo "#define DECL_TOLOWER_0 1" >>confdefs.h
                   20323: 
                   20324: 
                   20325: $as_echo "#define DECL_TOUPPER_0 1" >>confdefs.h
                   20326: 
                   20327: 
                   20328: $as_echo "#define DECL_STRERROR_0 1" >>confdefs.h
                   20329: 
                   20330:     ;;
                   20331:  *-*-ultrix4*)
                   20332: 
                   20333: $as_echo "#define DECL_ADJTIME_0 1" >>confdefs.h
                   20334: 
                   20335: 
                   20336: $as_echo "#define DECL_BZERO_0 1" >>confdefs.h
                   20337: 
                   20338: 
                   20339: $as_echo "#define DECL_CFSETISPEED_0 1" >>confdefs.h
                   20340: 
                   20341: 
                   20342: $as_echo "#define DECL_IOCTL_0 1" >>confdefs.h
                   20343: 
                   20344: 
                   20345: $as_echo "#define DECL_IPC_0 1" >>confdefs.h
                   20346: 
                   20347: 
                   20348: $as_echo "#define DECL_MKTEMP_0 1" >>confdefs.h
                   20349: 
                   20350: 
                   20351: $as_echo "#define DECL_NLIST_0 1" >>confdefs.h
                   20352: 
                   20353: 
                   20354: $as_echo "#define DECL_PLOCK_0 1" >>confdefs.h
                   20355: 
                   20356: 
                   20357: $as_echo "#define DECL_SELECT_0 1" >>confdefs.h
                   20358: 
                   20359: 
                   20360: $as_echo "#define DECL_SETITIMER_0 1" >>confdefs.h
                   20361: 
                   20362: 
                   20363: $as_echo "#define DECL_SETPRIORITY_0 1" >>confdefs.h
                   20364: 
                   20365: 
                   20366: $as_echo "#define DECL_STIME_0 1" >>confdefs.h
                   20367: 
                   20368: 
                   20369: $as_echo "#define DECL_SYSLOG_0 1" >>confdefs.h
                   20370: 
                   20371: 
                   20372: $as_echo "#define DECL_TIMEOFDAY_0 1" >>confdefs.h
                   20373: 
                   20374:     ;;
                   20375: esac
                   20376: 
                   20377: case "$host" in
                   20378:  *-*-sco3.2*)
                   20379: 
                   20380: $as_echo "#define TERMIOS_NEEDS__SVID3 1" >>confdefs.h
                   20381: 
                   20382:     ;;
                   20383: esac
                   20384: 
                   20385: case "$host" in
                   20386:  *-*-hpux[567]*)
                   20387: 
                   20388: $as_echo "#define NEED_RCVBUF_SLOP 1" >>confdefs.h
                   20389: 
                   20390: esac
                   20391: 
                   20392: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we will open the broadcast socket" >&5
                   20393: $as_echo_n "checking if we will open the broadcast socket... " >&6; }
                   20394: if ${ntp_cv_var_open_bcast_socket+:} false; then :
                   20395:   $as_echo_n "(cached) " >&6
                   20396: else
                   20397: 
                   20398:        ans=yes
                   20399:        case "$host" in
                   20400:         *-*-domainos)
                   20401:            ans=no
                   20402:        esac
                   20403:        ntp_cv_var_open_bcast_socket=$ans
                   20404: 
                   20405: 
                   20406: fi
                   20407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_open_bcast_socket" >&5
                   20408: $as_echo "$ntp_cv_var_open_bcast_socket" >&6; }
                   20409: case "$ntp_cv_var_open_bcast_socket" in
                   20410:  yes)
                   20411: 
                   20412: $as_echo "#define OPEN_BCAST_SOCKET 1" >>confdefs.h
                   20413: 
                   20414: esac
                   20415: 
                   20416: case "$host" in
                   20417:  *-*-hpux*)
                   20418: 
                   20419: $as_echo "#define NEED_HPUX_FINDCONFIG 1" >>confdefs.h
                   20420: 
                   20421: esac
                   20422: 
                   20423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if process groups are set with -pid" >&5
                   20424: $as_echo_n "checking if process groups are set with -pid... " >&6; }
                   20425: if ${ntp_cv_arg_setpgrp_negpid+:} false; then :
                   20426:   $as_echo_n "(cached) " >&6
                   20427: else
                   20428: 
                   20429:        case "$host" in
                   20430:         *-*-hpux[567]*)
                   20431:            ans=no
                   20432:            ;;
                   20433:         *-*-hpux*)
                   20434:            ans=yes
                   20435:            ;;
                   20436:         *-*-*linux*)
                   20437:            ans=yes
                   20438:            ;;
                   20439:         *-*-sunos3*)
                   20440:            ans=yes
                   20441:            ;;
                   20442:         *-*-ultrix2*)
                   20443:            ans=yes
                   20444:            ;;
                   20445:         *)
                   20446:            ans=no
                   20447:            ;;
                   20448:        esac
                   20449:        ntp_cv_arg_setpgrp_negpid=$ans
                   20450: 
                   20451: 
                   20452: fi
                   20453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_arg_setpgrp_negpid" >&5
                   20454: $as_echo "$ntp_cv_arg_setpgrp_negpid" >&6; }
                   20455: case "$ntp_cv_arg_setpgrp_negpid" in
                   20456:  yes)
                   20457: 
                   20458: $as_echo "#define UDP_BACKWARDS_SETOWN 1" >>confdefs.h
                   20459: 
                   20460: esac
                   20461: 
                   20462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need a ctty for F_SETOWN" >&5
                   20463: $as_echo_n "checking if we need a ctty for F_SETOWN... " >&6; }
                   20464: if ${ntp_cv_func_ctty_for_f_setown+:} false; then :
                   20465:   $as_echo_n "(cached) " >&6
                   20466: else
                   20467: 
                   20468:        case "$host" in
                   20469:         *-*-bsdi23*)
                   20470:            ans=yes
                   20471:            ;;
                   20472:         *-*-freebsd*)
                   20473:            ans=yes
                   20474:            ;;
                   20475:        # NetBSD versions prior to 3.99.8 require a CTTY for F_SETOWN,
                   20476:        # while later versions will fail a ioctl(TIOCSCTTY, 0) call in
                   20477:        # some cases and so should not have USE_FSETOWNCTTY.  "netbsd"
                   20478:        # in $host may be followed by "aout", "ecoff", or "elf".
                   20479:         *-*-netbsd*a-z3.0-8*|*-*-netbsd*a-z0-2.*|*-*-netbsd*a-z3.99.0-7)
                   20480:            ans=yes
                   20481:            ;;
                   20482:         *-*-netbsd3.0-8*|*-*-netbsd0-2.*|*-*-netbsd3.99.0-7)
                   20483:            ans=yes
                   20484:            ;;
                   20485:         *-*-openbsd*)
                   20486:            ans=yes
                   20487:            ;;
                   20488:         *-*-osf*)
                   20489:            ans=yes
                   20490:            ;;
                   20491:         *-*-darwin*)
                   20492:            ans=yes
                   20493:            ;;
                   20494:         *)
                   20495:            ans=no
                   20496:            ;;
                   20497:        esac
                   20498:        ntp_cv_func_ctty_for_f_setown=$ans
                   20499: 
                   20500: 
                   20501: fi
                   20502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_func_ctty_for_f_setown" >&5
                   20503: $as_echo "$ntp_cv_func_ctty_for_f_setown" >&6; }
                   20504: case "$ntp_cv_func_ctty_for_f_setown" in
                   20505:  yes)
                   20506: 
                   20507: $as_echo "#define USE_FSETOWNCTTY 1" >>confdefs.h
                   20508: 
                   20509: esac
                   20510: 
                   20511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the OS clears cached routes when more specifics become available" >&5
                   20512: $as_echo_n "checking if the OS clears cached routes when more specifics become available... " >&6; }
                   20513: if ${ntp_cv_os_routeupdates+:} false; then :
                   20514:   $as_echo_n "(cached) " >&6
                   20515: else
                   20516: 
                   20517:        case "$host" in
                   20518:         *-*-netbsd*)
                   20519:            ans=yes
                   20520:            ;;
                   20521:         *)
                   20522:            ans=no
                   20523:            ;;
                   20524:        esac
                   20525:        ntp_cv_os_routeupdates=$ans
                   20526: 
                   20527: 
                   20528: fi
                   20529: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_os_routeupdates" >&5
                   20530: $as_echo "$ntp_cv_os_routeupdates" >&6; }
                   20531: case "$ntp_cv_os_routeupdates" in
                   20532:  yes)
                   20533: 
                   20534: $as_echo "#define OS_MISSES_SPECIFIC_ROUTE_UPDATES 1" >>confdefs.h
                   20535: 
                   20536: esac
                   20537: 
                   20538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the wildcard socket needs REUSEADDR to bind other addresses" >&5
                   20539: $as_echo_n "checking if the wildcard socket needs REUSEADDR to bind other addresses... " >&6; }
                   20540: if ${ntp_cv_os_wildcardreuse+:} false; then :
                   20541:   $as_echo_n "(cached) " >&6
                   20542: else
                   20543: 
                   20544:        case "$host" in
                   20545:         *-*-*linux*)
                   20546:            ans=yes
                   20547:            ;;
                   20548:         *) ans=no
                   20549:            ;;
                   20550:        esac
                   20551:        ntp_cv_os_wildcardreuse=$ans
                   20552: 
                   20553: 
                   20554: fi
                   20555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_os_wildcardreuse" >&5
                   20556: $as_echo "$ntp_cv_os_wildcardreuse" >&6; }
                   20557: case "$ntp_cv_os_wildcardreuse" in
                   20558:  yes)
                   20559: 
                   20560: $as_echo "#define OS_NEEDS_REUSEADDR_FOR_IFADDRBIND 1" >>confdefs.h
                   20561: 
                   20562: esac
                   20563: 
                   20564: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we'll use clock_settime or settimeofday or stime" >&5
                   20565: $as_echo_n "checking if we'll use clock_settime or settimeofday or stime... " >&6; }
                   20566: ntp_warning='GRONK'
                   20567: ans=none
                   20568: case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in
                   20569:  yes*)
                   20570:     ntp_warning=''
                   20571:     ans='clock_settime()'
                   20572:     ;;
                   20573:  noyes*)
                   20574:     ntp_warning='But clock_settime() would be better (if we had it)'
                   20575:     ans='settimeofday()'
                   20576:     ;;
                   20577:  nonoyes)
                   20578:     ntp_warning='Which is the worst of the three'
                   20579:     ans='stime()'
                   20580:     ;;
                   20581:  *)
                   20582:     case "$build" in
                   20583:      $host)
                   20584:        ntp_warning='Which leaves us with nothing to use!'
                   20585:     esac
                   20586: esac
                   20587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   20588: $as_echo "$ans" >&6; }
                   20589: case "$ntp_warning" in
                   20590:  '')
                   20591:     ;;
                   20592:  *)
                   20593:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** $ntp_warning ***" >&5
                   20594: $as_echo "$as_me: WARNING: *** $ntp_warning ***" >&2;}
                   20595:     ;;
                   20596: esac
                   20597: 
                   20598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGIO" >&5
                   20599: $as_echo_n "checking for SIGIO... " >&6; }
                   20600: if ${ntp_cv_hdr_def_sigio+:} false; then :
                   20601:   $as_echo_n "(cached) " >&6
                   20602: else
                   20603:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20604: /* end confdefs.h.  */
                   20605: 
                   20606:            #include <signal.h>
                   20607: 
                   20608:            #ifdef SIGIO
                   20609:                yes
                   20610:            #endif
                   20611: 
                   20612: _ACEOF
                   20613: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   20614:   $EGREP "yes" >/dev/null 2>&1; then :
                   20615:   ntp_cv_hdr_def_sigio=yes
                   20616: else
                   20617:   ntp_cv_hdr_def_sigio=no
                   20618: 
                   20619: fi
                   20620: rm -f conftest*
                   20621: 
                   20622: 
                   20623: fi
                   20624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigio" >&5
                   20625: $as_echo "$ntp_cv_hdr_def_sigio" >&6; }
                   20626: 
                   20627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want to use signalled IO" >&5
                   20628: $as_echo_n "checking if we want to use signalled IO... " >&6; }
                   20629: if ${ntp_cv_var_signalled_io+:} false; then :
                   20630:   $as_echo_n "(cached) " >&6
                   20631: else
                   20632: 
                   20633:        ans=no
                   20634:        case "$ntp_cv_hdr_def_sigio" in
                   20635:         yes)
                   20636:            ans=yes
                   20637:            case "$host" in
                   20638:             alpha*-dec-osf4*|alpha*-dec-osf5*)
                   20639:                ans=no
                   20640:                ;;
                   20641:             *-convex-*)
                   20642:                ans=no
                   20643:                ;;
                   20644:             *-dec-*)
                   20645:                ans=no
                   20646:                ;;
                   20647:             *-pc-cygwin*)
                   20648:                ans=no
                   20649:                ;;
                   20650:             *-sni-sysv*)
                   20651:                ans=no
                   20652:                ;;
                   20653:             *-univel-sysv*)
                   20654:                ans=no
                   20655:                ;;
                   20656:             *-*-irix6*)
                   20657:                ans=no
                   20658:                ;;
                   20659:             *-*-freebsd*)
                   20660:                ans=no
                   20661:                ;;
                   20662:             *-*-*linux*)
                   20663:                ans=no
                   20664:                ;;
                   20665:             *-*-unicosmp*)
                   20666:                ans=no
                   20667:                ;;
                   20668:             *-*-kfreebsd*)
                   20669:                ans=no
                   20670:                ;;
                   20671:             m68k-*-mint*)
                   20672:                ans=no
                   20673:                ;;
                   20674:            esac
                   20675:            ;;
                   20676:        esac
                   20677:        ntp_cv_var_signalled_io=$ans
                   20678: 
                   20679: 
                   20680: fi
                   20681: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_signalled_io" >&5
                   20682: $as_echo "$ntp_cv_var_signalled_io" >&6; }
                   20683: case "$ntp_cv_var_signalled_io" in
                   20684:  yes)
                   20685: 
                   20686: $as_echo "#define HAVE_SIGNALED_IO 1" >>confdefs.h
                   20687: 
                   20688: esac
                   20689: 
                   20690: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGPOLL" >&5
                   20691: $as_echo_n "checking for SIGPOLL... " >&6; }
                   20692: if ${ntp_cv_hdr_def_sigpoll+:} false; then :
                   20693:   $as_echo_n "(cached) " >&6
                   20694: else
                   20695:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20696: /* end confdefs.h.  */
                   20697: 
                   20698:            #include <signal.h>
                   20699: 
                   20700:            #ifdef SIGPOLL
                   20701:                yes
                   20702:            #endif
                   20703: 
                   20704: _ACEOF
                   20705: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   20706:   $EGREP "yes" >/dev/null 2>&1; then :
                   20707:   ntp_cv_hdr_def_sigpoll=yes
                   20708: else
                   20709:   ntp_cv_hdr_def_sigpoll=no
                   20710: 
                   20711: fi
                   20712: rm -f conftest*
                   20713: 
                   20714: 
                   20715: fi
                   20716: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigpoll" >&5
                   20717: $as_echo "$ntp_cv_hdr_def_sigpoll" >&6; }
                   20718: 
                   20719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGSYS" >&5
                   20720: $as_echo_n "checking for SIGSYS... " >&6; }
                   20721: if ${ntp_cv_hdr_def_sigsys+:} false; then :
                   20722:   $as_echo_n "(cached) " >&6
                   20723: else
                   20724:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20725: /* end confdefs.h.  */
                   20726: 
                   20727:            #include <signal.h>
                   20728: 
                   20729:            #ifdef SIGSYS
                   20730:                yes
                   20731:            #endif
                   20732: 
                   20733: _ACEOF
                   20734: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   20735:   $EGREP "yes" >/dev/null 2>&1; then :
                   20736:   ntp_cv_hdr_def_sigsys=yes
                   20737: else
                   20738:   ntp_cv_hdr_def_sigsys=no
                   20739: 
                   20740: fi
                   20741: rm -f conftest*
                   20742: 
                   20743: 
                   20744: fi
                   20745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_sigsys" >&5
                   20746: $as_echo "$ntp_cv_hdr_def_sigsys" >&6; }
                   20747: 
                   20748: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for UDP I/O" >&5
                   20749: $as_echo_n "checking if we can use SIGPOLL for UDP I/O... " >&6; }
                   20750: if ${ntp_cv_var_use_udp_sigpoll+:} false; then :
                   20751:   $as_echo_n "(cached) " >&6
                   20752: else
                   20753: 
                   20754:        ans=no
                   20755:        case "$ntp_cv_hdr_def_sigpoll" in
                   20756:         yes)
                   20757:            case "$host" in
                   20758:             mips-sgi-irix*)
                   20759:                ans=no
                   20760:                ;;
                   20761:             vax-dec-bsd)
                   20762:                ans=no
                   20763:                ;;
                   20764:             *-pc-cygwin*)
                   20765:                ans=no
                   20766:                ;;
                   20767:             *-sni-sysv*)
                   20768:                ans=no
                   20769:                ;;
                   20770:             *-*-aix[456]*)
                   20771:                ans=no
                   20772:                ;;
                   20773:             *-*-hpux*)
                   20774:                ans=no
                   20775:                ;;
                   20776:             *-*-*linux*)
                   20777:                ans=no
                   20778:                ;;
                   20779:             *-*-osf*)
                   20780:                ans=no
                   20781:                ;;
                   20782:             *-*-qnx*)
                   20783:                ans=no
                   20784:                ;;
                   20785:             *-*-sunos*)
                   20786:                ans=no
                   20787:                ;;
                   20788:             *-*-solaris*)
                   20789:                ans=no
                   20790:                ;;
                   20791:             *-*-ultrix*)
                   20792:                ans=no
                   20793:                ;;
                   20794:             *-*-unicosmp*)
                   20795:                ans=no
                   20796:                ;;
                   20797:             *-*-kfreebsd*)
                   20798:                ans=no
                   20799:                ;;
                   20800:             *) ans=yes
                   20801:                ;;
                   20802:            esac
                   20803:            ;;
                   20804:        esac
                   20805:        ntp_cv_var_use_udp_sigpoll=$ans
                   20806: 
                   20807: 
                   20808: fi
                   20809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_use_udp_sigpoll" >&5
                   20810: $as_echo "$ntp_cv_var_use_udp_sigpoll" >&6; }
                   20811: case "$ntp_cv_var_use_udp_sigpoll" in
                   20812:  yes)
                   20813: 
                   20814: $as_echo "#define USE_UDP_SIGPOLL 1" >>confdefs.h
                   20815: 
                   20816: esac
                   20817: 
                   20818: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can use SIGPOLL for TTY I/O" >&5
                   20819: $as_echo_n "checking if we can use SIGPOLL for TTY I/O... " >&6; }
                   20820: if ${ntp_cv_var_use_tty_sigpoll+:} false; then :
                   20821:   $as_echo_n "(cached) " >&6
                   20822: else
                   20823: 
                   20824:        ans=no
                   20825:        case "$ntp_cv_hdr_def_sigpoll" in
                   20826:         yes)
                   20827:            case "$host" in
                   20828:             mips-sgi-irix*)
                   20829:                ans=no
                   20830:                ;;
                   20831:             vax-dec-bsd)
                   20832:                ans=no
                   20833:                ;;
                   20834:             *-pc-cygwin*)
                   20835:                ans=no
                   20836:                ;;
                   20837:             *-sni-sysv*)
                   20838:                ans=no
                   20839:                ;;
                   20840:             *-*-aix[456]*)
                   20841:                ans=no
                   20842:                ;;
                   20843:             *-*-hpux*)
                   20844:                ans=no
                   20845:                ;;
                   20846:             *-*-*linux*)
                   20847:                ans=no
                   20848:                ;;
                   20849:             *-*-osf*)
                   20850:                ans=no
                   20851:                ;;
                   20852:             *-*-sunos*)
                   20853:                ans=no
                   20854:                ;;
                   20855:             *-*-ultrix*)
                   20856:                ans=no
                   20857:                ;;
                   20858:             *-*-qnx*)
                   20859:                ans=no
                   20860:                ;;
                   20861:             *-*-unicosmp*)
                   20862:                ans=no
                   20863:                ;;
                   20864:             *-*-kfreebsd*)
                   20865:                ans=no
                   20866:                ;;
                   20867:             *) ans=yes
                   20868:                ;;
                   20869:            esac
                   20870:            ;;
                   20871:        esac
                   20872:        ntp_cv_var_use_tty_sigpoll=$ans
                   20873: 
                   20874: 
                   20875: fi
                   20876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_use_tty_sigpoll" >&5
                   20877: $as_echo "$ntp_cv_var_use_tty_sigpoll" >&6; }
                   20878: case "$ntp_cv_var_use_tty_sigpoll" in
                   20879:  yes)
                   20880: 
                   20881: $as_echo "#define USE_TTY_SIGPOLL 1" >>confdefs.h
                   20882: 
                   20883: esac
                   20884: 
                   20885: case "$host" in
                   20886:  *-*-aix*)
                   20887: 
                   20888: $as_echo "#define NLIST_EXTRA_INDIRECTION 1" >>confdefs.h
                   20889: 
                   20890: esac
                   20891: 
                   20892: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a minimum recommended value of tickadj" >&5
                   20893: $as_echo_n "checking for a minimum recommended value of tickadj... " >&6; }
                   20894: if ${ntp_cv_var_min_rec_tickadj+:} false; then :
                   20895:   $as_echo_n "(cached) " >&6
                   20896: else
                   20897: 
                   20898:        ans=no
                   20899:        case "$host" in
                   20900:         *-*-aix*)
                   20901:            ans=40
                   20902:            ;;
                   20903:        esac
                   20904:        ntp_cv_var_min_rec_tickadj=$ans
                   20905: 
                   20906: 
                   20907: fi
                   20908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_min_rec_tickadj" >&5
                   20909: $as_echo "$ntp_cv_var_min_rec_tickadj" >&6; }
                   20910: case "$ntp_cv_var_min_rec_tickadj" in
                   20911:  ''|no)
                   20912:     ;;
                   20913:  *)
                   20914: 
                   20915: cat >>confdefs.h <<_ACEOF
                   20916: #define MIN_REC_TICKADJ $ntp_cv_var_min_rec_tickadj
                   20917: _ACEOF
                   20918: 
                   20919: esac
                   20920: 
                   20921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the TTY code permits PARENB and IGNPAR" >&5
                   20922: $as_echo_n "checking if the TTY code permits PARENB and IGNPAR... " >&6; }
                   20923: if ${ntp_cv_no_parenb_ignpar+:} false; then :
                   20924:   $as_echo_n "(cached) " >&6
                   20925: else
                   20926: 
                   20927:        ans=no
                   20928:        case "$host" in
                   20929:         i?86-*-*linux*)
                   20930:            ans=yes
                   20931:            ;;
                   20932:         mips-sgi-irix*)
                   20933:            ans=yes
                   20934:            ;;
                   20935:         i?86-*-freebsd[123].*)
                   20936:            ;;
                   20937:         i?86-*-freebsd*)
                   20938:            ans=yes
                   20939:            ;;
                   20940:         *-*-unicosmp*)
                   20941:            ans=yes
                   20942:            ;;
                   20943:        esac
                   20944:        ntp_cv_no_parenb_ignpar=$ans
                   20945: 
                   20946: 
                   20947: fi
                   20948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_no_parenb_ignpar" >&5
                   20949: $as_echo "$ntp_cv_no_parenb_ignpar" >&6; }
                   20950: case "$ntp_cv_no_parenb_ignpar" in
                   20951:  yes)
                   20952: 
                   20953: $as_echo "#define NO_PARENB_IGNPAR 1" >>confdefs.h
                   20954: 
                   20955: esac
                   20956: 
                   20957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're including ntpd debugging code" >&5
                   20958: $as_echo_n "checking if we're including ntpd debugging code... " >&6; }
                   20959: # Check whether --enable-debugging was given.
                   20960: if test "${enable_debugging+set}" = set; then :
                   20961:   enableval=$enable_debugging; ntp_ok=$enableval
                   20962: else
                   20963:   ntp_ok=yes
                   20964: 
                   20965: fi
                   20966: 
                   20967: case "$ntp_ok" in
                   20968:  yes)
                   20969: 
                   20970: $as_echo "#define DEBUG 1" >>confdefs.h
                   20971: 
                   20972: esac
                   20973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   20974: $as_echo "$ntp_ok" >&6; }
                   20975: 
                   20976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we're including processing time debugging code" >&5
                   20977: $as_echo_n "checking if we're including processing time debugging code... " >&6; }
                   20978: # Check whether --enable-debug-timing was given.
                   20979: if test "${enable_debug_timing+set}" = set; then :
                   20980:   enableval=$enable_debug_timing; ntp_ok=$enableval
                   20981: else
                   20982:   ntp_ok=no
                   20983: 
                   20984: fi
                   20985: 
                   20986: case "$ntp_ok" in
                   20987:  yes)
                   20988: 
                   20989: $as_echo "#define DEBUG_TIMING 1" >>confdefs.h
                   20990: 
                   20991: esac
                   20992: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   20993: $as_echo "$ntp_ok" >&6; }
                   20994: 
                   20995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a the number of minutes in a DST adjustment" >&5
                   20996: $as_echo_n "checking for a the number of minutes in a DST adjustment... " >&6; }
                   20997: # Check whether --enable-dst-minutes was given.
                   20998: if test "${enable_dst_minutes+set}" = set; then :
                   20999:   enableval=$enable_dst_minutes; ans=$enableval
                   21000: else
                   21001:   ans=60
                   21002: 
                   21003: fi
                   21004: 
                   21005: 
                   21006: cat >>confdefs.h <<_ACEOF
                   21007: #define DSTMINUTES $ans
                   21008: _ACEOF
                   21009: 
                   21010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   21011: $as_echo "$ans" >&6; }
                   21012: 
                   21013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ntpd will retry permanent DNS failures" >&5
                   21014: $as_echo_n "checking if ntpd will retry permanent DNS failures... " >&6; }
                   21015: # Check whether --enable-ignore-dns-errors was given.
                   21016: if test "${enable_ignore_dns_errors+set}" = set; then :
                   21017:   enableval=$enable_ignore_dns_errors; ans=$enableval
                   21018: else
                   21019:   ans=no
                   21020: 
                   21021: fi
                   21022: 
                   21023: case "$ans" in
                   21024:  yes)
                   21025: 
                   21026: $as_echo "#define IGNORE_DNS_ERRORS 1" >>confdefs.h
                   21027: 
                   21028: esac
                   21029: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   21030: $as_echo "$ans" >&6; }
                   21031: 
                   21032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ntpd will use the deferred DNS lookup path" >&5
                   21033: $as_echo_n "checking if ntpd will use the deferred DNS lookup path... " >&6; }
                   21034: # Check whether --enable-force-defer-DNS was given.
                   21035: if test "${enable_force_defer_DNS+set}" = set; then :
                   21036:   enableval=$enable_force_defer_DNS; ans=$enableval
                   21037: else
                   21038:   ans=no
                   21039: 
                   21040: fi
                   21041: 
                   21042: case "$ans" in
                   21043:  yes)
                   21044: 
                   21045: $as_echo "#define FORCE_DEFER_DNS 1" >>confdefs.h
                   21046: 
                   21047: esac
                   21048: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   21049: $as_echo "$ans" >&6; }
                   21050: 
                   21051: case "$ac_cv_header_sys_sio_h" in
                   21052:  yes)
                   21053:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/sio.h for TIOCDCDTIMESTAMP" >&5
                   21054: $as_echo_n "checking sys/sio.h for TIOCDCDTIMESTAMP... " >&6; }
                   21055: if ${ntp_cv_hdr_def_tiocdcdtimestamp+:} false; then :
                   21056:   $as_echo_n "(cached) " >&6
                   21057: else
                   21058:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21059: /* end confdefs.h.  */
                   21060: 
                   21061:                #include <sys/sio.h>
                   21062: 
                   21063:                #ifdef TIOCDCDTIMESTAMP
                   21064:                    yes
                   21065:                #endif
                   21066: 
                   21067: _ACEOF
                   21068: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21069:   $EGREP "yes" >/dev/null 2>&1; then :
                   21070:   ntp_cv_hdr_def_tiocdcdtimestamp=yes
                   21071: else
                   21072:   ntp_cv_hdr_def_tiocdcdtimestamp=no
                   21073: 
                   21074: fi
                   21075: rm -f conftest*
                   21076: 
                   21077: 
                   21078: fi
                   21079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_hdr_def_tiocdcdtimestamp" >&5
                   21080: $as_echo "$ntp_cv_hdr_def_tiocdcdtimestamp" >&6; }
                   21081: esac
                   21082: 
                   21083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the tty_clk line discipline/streams module" >&5
                   21084: $as_echo_n "checking if we have the tty_clk line discipline/streams module... " >&6; }
                   21085: if ${ntp_cv_tty_clk+:} false; then :
                   21086:   $as_echo_n "(cached) " >&6
                   21087: else
                   21088: 
                   21089:        case "$ac_cv_header_sys_clkdefs_h$ntp_cv_hdr_def_tiocdcdtimestamp" in
                   21090:         *yes*)
                   21091:            ntp_cv_tty_clk=yes
                   21092:            ;;
                   21093:         *)
                   21094:            ntp_cv_tty_clk=no
                   21095:            ;;
                   21096:        esac
                   21097: 
                   21098: 
                   21099: fi
                   21100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_tty_clk" >&5
                   21101: $as_echo "$ntp_cv_tty_clk" >&6; }
                   21102: case "$ntp_cv_tty_clk" in
                   21103:  yes)
                   21104: 
                   21105: $as_echo "#define TTYCLK 1" >>confdefs.h
                   21106: 
                   21107: esac
                   21108: 
                   21109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the ppsclock streams module" >&5
                   21110: $as_echo_n "checking for the ppsclock streams module... " >&6; }
                   21111: case "$ntp_cv_struct_ppsclockev" in
                   21112:  yes)
                   21113:     ans=yes
                   21114: 
                   21115: $as_echo "#define PPS 1" >>confdefs.h
                   21116: 
                   21117:     ;;
                   21118:  *)
                   21119:     ans=no
                   21120: esac
                   21121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   21122: $as_echo "$ans" >&6; }
                   21123: 
                   21124: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for multicast IP support" >&5
                   21125: $as_echo_n "checking for multicast IP support... " >&6; }
                   21126: if ${ntp_cv_multicast+:} false; then :
                   21127:   $as_echo_n "(cached) " >&6
                   21128: else
                   21129: 
                   21130:        ntp_cv_multicast=no
                   21131:        case "$host" in
                   21132:         i386-sequent-sysv4)
                   21133:            ;;
                   21134:         *)
                   21135:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21136: /* end confdefs.h.  */
                   21137: 
                   21138:                        #ifdef HAVE_NETINET_IN_H
                   21139:                        #include <netinet/in.h>
                   21140:                        #endif
                   21141: 
                   21142: int
                   21143: main ()
                   21144: {
                   21145: 
                   21146:                        struct ip_mreq ipmr;
                   21147:                        ipmr.imr_interface.s_addr = 0;
                   21148: 
                   21149: 
                   21150:   ;
                   21151:   return 0;
                   21152: }
                   21153: _ACEOF
                   21154: if ac_fn_c_try_compile "$LINENO"; then :
                   21155:   ntp_cv_multicast=yes
                   21156: fi
                   21157: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   21158:        esac
                   21159: 
                   21160: 
                   21161: fi
                   21162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_multicast" >&5
                   21163: $as_echo "$ntp_cv_multicast" >&6; }
                   21164: case "$ntp_cv_multicast" in
                   21165:  yes)
                   21166: 
                   21167: $as_echo "#define MCAST 1" >>confdefs.h
                   21168: 
                   21169:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking arg type needed for setsockopt() IP*_MULTICAST_LOOP" >&5
                   21170: $as_echo_n "checking arg type needed for setsockopt() IP*_MULTICAST_LOOP... " >&6; }
                   21171: if ${ntp_cv_typeof_ip_multicast_loop+:} false; then :
                   21172:   $as_echo_n "(cached) " >&6
                   21173: else
                   21174: 
                   21175:            case "$host" in
                   21176:             *-*-netbsd*|*-*-*linux*)
                   21177:                ntp_cv_typeof_ip_multicast_loop=u_int
                   21178:                ;;
                   21179:             *)
                   21180:                ntp_cv_typeof_ip_multicast_loop=u_char
                   21181:            esac
                   21182: 
                   21183: 
                   21184: fi
                   21185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_typeof_ip_multicast_loop" >&5
                   21186: $as_echo "$ntp_cv_typeof_ip_multicast_loop" >&6; }
                   21187: 
                   21188: cat >>confdefs.h <<_ACEOF
                   21189: #define TYPEOF_IP_MULTICAST_LOOP $ntp_cv_typeof_ip_multicast_loop
                   21190: _ACEOF
                   21191: 
                   21192: esac
                   21193: 
                   21194: { $as_echo "$as_me:${as_lineno-$LINENO}: checking availability of ntp_{adj,get}time()" >&5
                   21195: $as_echo_n "checking availability of ntp_{adj,get}time()... " >&6; }
                   21196: if ${ntp_cv_var_ntp_syscalls+:} false; then :
                   21197:   $as_echo_n "(cached) " >&6
                   21198: else
                   21199: 
                   21200:        ntp_cv_var_ntp_syscalls=no
                   21201:        case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime$ac_cv_func___adjtimex" in
                   21202:         yesyes*)
                   21203:            ntp_cv_var_ntp_syscalls=libc
                   21204:            ;;
                   21205:         *yes)
                   21206:            ntp_cv_var_ntp_syscalls=inline
                   21207:            ;;
                   21208:         *)
                   21209:            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21210: /* end confdefs.h.  */
                   21211: 
                   21212:                    #include <sys/syscall.h>
                   21213: 
                   21214:                    #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime)
                   21215:                        yes
                   21216:                    #endif
                   21217: 
                   21218: _ACEOF
                   21219: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21220:   $EGREP "yes" >/dev/null 2>&1; then :
                   21221:   ntp_cv_var_ntp_syscalls=kernel
                   21222: 
                   21223: fi
                   21224: rm -f conftest*
                   21225: 
                   21226:            ;;
                   21227:         esac
                   21228: 
                   21229: 
                   21230: fi
                   21231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_ntp_syscalls" >&5
                   21232: $as_echo "$ntp_cv_var_ntp_syscalls" >&6; }
                   21233: case "$ntp_cv_var_ntp_syscalls" in
                   21234:  libc)
                   21235: 
                   21236: $as_echo "#define NTP_SYSCALLS_LIBC 1" >>confdefs.h
                   21237: 
                   21238:     ;;
                   21239:  kernel)
                   21240: 
                   21241: $as_echo "#define NTP_SYSCALLS_STD 1" >>confdefs.h
                   21242: 
                   21243:     ;;
                   21244: esac
                   21245: 
                   21246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sys/timex.h has STA_FLL" >&5
                   21247: $as_echo_n "checking if sys/timex.h has STA_FLL... " >&6; }
                   21248: if ${ntp_cv_var_sta_fll+:} false; then :
                   21249:   $as_echo_n "(cached) " >&6
                   21250: else
                   21251:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21252: /* end confdefs.h.  */
                   21253: 
                   21254:            #include <sys/timex.h>
                   21255: 
                   21256:            #ifdef STA_FLL
                   21257:                yes
                   21258:            #endif
                   21259: 
                   21260: _ACEOF
                   21261: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21262:   $EGREP "yes" >/dev/null 2>&1; then :
                   21263:   ntp_cv_var_sta_fll=yes
                   21264: else
                   21265:   ntp_cv_var_sta_fll=no
                   21266: 
                   21267: fi
                   21268: rm -f conftest*
                   21269: 
                   21270: 
                   21271: fi
                   21272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_sta_fll" >&5
                   21273: $as_echo "$ntp_cv_var_sta_fll" >&6; }
                   21274: 
                   21275: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have kernel PLL support" >&5
                   21276: $as_echo_n "checking if we have kernel PLL support... " >&6; }
                   21277: if ${ntp_cv_var_kernel_pll+:} false; then :
                   21278:   $as_echo_n "(cached) " >&6
                   21279: else
                   21280:        case "$ac_cv_header_sys_timex_h$ntp_cv_struct_ntptimeval$ntp_cv_var_sta_fll$ntp_cv_var_ntp_syscalls" in
                   21281:         *no*)
                   21282:            ntp_cv_var_kernel_pll=no
                   21283:            ;;
                   21284:         *) ntp_cv_var_kernel_pll=yes
                   21285:            ;;
                   21286:        esac
                   21287: 
                   21288: 
                   21289: fi
                   21290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_var_kernel_pll" >&5
                   21291: $as_echo "$ntp_cv_var_kernel_pll" >&6; }
                   21292: case "$ntp_cv_var_kernel_pll" in
                   21293:  yes)
                   21294: 
                   21295: $as_echo "#define KERNEL_PLL 1" >>confdefs.h
                   21296: 
                   21297: esac
                   21298: 
                   21299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SIOCGIFCONF returns buffer size in the buffer" >&5
                   21300: $as_echo_n "checking if SIOCGIFCONF returns buffer size in the buffer... " >&6; }
                   21301: if ${ntp_cv_size_returned_in_buffer+:} false; then :
                   21302:   $as_echo_n "(cached) " >&6
                   21303: else
                   21304: 
                   21305:        ans=no
                   21306:        case "$host" in
                   21307:         *-fujitsu-uxp*)
                   21308:            ans=yes
                   21309:            ;;
                   21310:         *-ncr-sysv4*)
                   21311:            ans=yes
                   21312:            ;;
                   21313:         *-univel-sysv*)
                   21314:            ans=yes
                   21315:            ;;
                   21316:        esac
                   21317:        ntp_cv_size_returned_in_buffer=$ans
                   21318: 
                   21319: 
                   21320: fi
                   21321: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_size_returned_in_buffer" >&5
                   21322: $as_echo "$ntp_cv_size_returned_in_buffer" >&6; }
                   21323: case "$ntp_cv_size_returned_in_buffer" in
                   21324:  yes)
                   21325: 
                   21326: $as_echo "#define SIZE_RETURNED_IN_BUFFER 1" >>confdefs.h
                   21327: 
                   21328: esac
                   21329: 
                   21330: # Check for ioctls TIOCGPPSEV
                   21331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl TIOCGPPSEV" >&5
                   21332: $as_echo_n "checking for TTY PPS ioctl TIOCGPPSEV... " >&6; }
                   21333: case "$ac_cv_header_termios_h" in
                   21334:  yes)
                   21335:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21336: /* end confdefs.h.  */
                   21337: 
                   21338:            #include <termios.h>
                   21339: 
                   21340:            #ifdef TIOCGPPSEV
                   21341:                yes
                   21342:            #endif
                   21343: 
                   21344: _ACEOF
                   21345: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21346:   $EGREP "yes" >/dev/null 2>&1; then :
                   21347:   ntp_ok=yes
                   21348: else
                   21349:   ntp_ok=no
                   21350: 
                   21351: fi
                   21352: rm -f conftest*
                   21353: 
                   21354:     ;;
                   21355:  *)
                   21356:     ntp_ok=no
                   21357:     ;;
                   21358: esac
                   21359: case "$ntp_ok" in
                   21360:  yes)
                   21361: 
                   21362: $as_echo "#define HAVE_TIOCGPPSEV 1" >>confdefs.h
                   21363: 
                   21364: esac
                   21365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21366: $as_echo "$ntp_ok" >&6; }
                   21367: 
                   21368: # Check for ioctls TIOCSPPS
                   21369: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl TIOCSPPS" >&5
                   21370: $as_echo_n "checking for TTY PPS ioctl TIOCSPPS... " >&6; }
                   21371: case "$ac_cv_header_termios_h" in
                   21372:  yes)
                   21373:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21374: /* end confdefs.h.  */
                   21375: 
                   21376:            #include <termios.h>
                   21377: 
                   21378:            #ifdef TIOCSPPS
                   21379:                yes
                   21380:            #endif
                   21381: 
                   21382: _ACEOF
                   21383: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21384:   $EGREP "yes" >/dev/null 2>&1; then :
                   21385:   ntp_ok=yes
                   21386: else
                   21387:   ntp_ok=no
                   21388: 
                   21389: fi
                   21390: rm -f conftest*
                   21391: 
                   21392:     ;;
                   21393:  *)
                   21394:     ntp_ok=no
                   21395:     ;;
                   21396: esac
                   21397: case "$ntp_ok" in
                   21398:  yes)
                   21399: 
                   21400: $as_echo "#define HAVE_TIOCSPPS 1" >>confdefs.h
                   21401: 
                   21402: esac
                   21403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21404: $as_echo "$ntp_ok" >&6; }
                   21405: 
                   21406: # Check for ioctls CIOGETEV
                   21407: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TTY PPS ioctl CIOGETEV" >&5
                   21408: $as_echo_n "checking for TTY PPS ioctl CIOGETEV... " >&6; }
                   21409: case "$ac_cv_header_sys_ppsclock_h" in
                   21410:  yes)
                   21411:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21412: /* end confdefs.h.  */
                   21413: 
                   21414:            #include <sys/ppsclock.h>
                   21415: 
                   21416:            #ifdef CIOGETEV
                   21417:                yes
                   21418:            #endif
                   21419: 
                   21420: _ACEOF
                   21421: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21422:   $EGREP "yes" >/dev/null 2>&1; then :
                   21423:   ntp_ok=yes
                   21424: else
                   21425:   ntp_ok=no
                   21426: 
                   21427: fi
                   21428: rm -f conftest*
                   21429: 
                   21430:     ;;
                   21431:  *)
                   21432:     ntp_ok=no
                   21433:     ;;
                   21434: esac
                   21435: case "$ntp_ok" in
                   21436:  yes)
                   21437: 
                   21438: $as_echo "#define HAVE_CIOGETEV 1" >>confdefs.h
                   21439: 
                   21440: esac
                   21441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21442: $as_echo "$ntp_ok" >&6; }
                   21443: 
                   21444: # ATOM/PPSAPI stuff.
                   21445: 
                   21446: ntp_atom_ok=yes
                   21447: 
                   21448: # Check for header timepps.h, if found then we have PPS API (Draft RFC) stuff.
                   21449: 
                   21450: # The PPSAPI headers need "inline" ($ac_cv_c_inline='inline')
                   21451: # The PPSAPI needs struct timespec.
                   21452: # The PPSAPI also needs a timepps header.
                   21453: 
                   21454: case "$ac_cv_c_inline$ntp_cv_struct_timespec" in
                   21455:  inlineyes)
                   21456:     case "$ac_cv_header_timepps_h$ac_cv_header_sys_timepps_h$host_os" in
                   21457:      *yes* | *sunos* | *solaris* | *sco* | *netbsd* )
                   21458: 
                   21459: $as_echo "#define HAVE_PPSAPI 1" >>confdefs.h
                   21460: 
                   21461:        ntp_jupiter_ok=yes
                   21462:        ntp_oncore_ok=yes
                   21463:        ntp_parse_ok=yes
                   21464:        ntp_ripe_ncc_ok=yes
                   21465:        ;;
                   21466:     esac
                   21467:     ;;
                   21468: esac
                   21469: 
                   21470: # Check for ioctls TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG
                   21471: ac_fn_c_check_header_mongrel "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
                   21472: if test "x$ac_cv_header_linux_serial_h" = xyes; then :
                   21473: 
                   21474: fi
                   21475: 
                   21476: 
                   21477: case "$ac_cv_header_sys_ppsclock_h$ac_cv_header_linux_serial_h" in
                   21478:   yesyes)
                   21479:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioctl TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG" >&5
                   21480: $as_echo_n "checking ioctl TIOCGSERIAL, TIOCSSERIAL, ASYNC_PPS_CD_POS, ASYNC_PPS_CD_NEG... " >&6; }
                   21481:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21482: /* end confdefs.h.  */
                   21483: 
                   21484:            #include <sys/time.h>
                   21485:            typedef int u_int;
                   21486:            #include <sys/ppsclock.h>
                   21487:            #include <linux/serial.h>
                   21488: 
                   21489:            #ifdef TIOCGSERIAL
                   21490:            #ifdef TIOCSSERIAL
                   21491:            #ifdef ASYNC_PPS_CD_POS
                   21492:            #ifdef ASYNC_PPS_CD_NEG
                   21493:            #ifdef CIOGETEV
                   21494:                 yes
                   21495:            #endif
                   21496:            #endif
                   21497:            #endif
                   21498:            #endif
                   21499:            #endif
                   21500: 
                   21501: _ACEOF
                   21502: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   21503:   $EGREP "yes" >/dev/null 2>&1; then :
                   21504:   ntp_ok=yes
                   21505: else
                   21506:   ntp_ok=no
                   21507: 
                   21508: fi
                   21509: rm -f conftest*
                   21510: 
                   21511:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21512: $as_echo "$ntp_ok" >&6; }
                   21513:     ;;
                   21514:   *)
                   21515:     ntp_ok=no
                   21516:     ;;
                   21517: esac
                   21518: case "$ntp_ok" in
                   21519:  yes)
                   21520: 
                   21521: $as_echo "#define HAVE_TIO_SERIAL_STUFF 1" >>confdefs.h
                   21522: 
                   21523: esac
                   21524: 
                   21525: # Check for SHMEM_STATUS support
                   21526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking SHMEM_STATUS support" >&5
                   21527: $as_echo_n "checking SHMEM_STATUS support... " >&6; }
                   21528: case "$ac_cv_header_sys_mman_h" in
                   21529:  yes)
                   21530:     ntp_ok=yes
                   21531:     ;;
                   21532:  *)
                   21533:     ntp_ok=no
                   21534:     ;;
                   21535: esac
                   21536: case "$ntp_ok" in
                   21537:  yes)
                   21538: 
                   21539: $as_echo "#define ONCORE_SHMEM_STATUS 1" >>confdefs.h
                   21540: 
                   21541: esac
                   21542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21543: $as_echo "$ntp_ok" >&6; }
                   21544: 
                   21545: ntp_refclock=no
                   21546: 
                   21547: # HPUX only, and by explicit request
                   21548: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Datum/Bancomm bc635/VME interface" >&5
                   21549: $as_echo_n "checking Datum/Bancomm bc635/VME interface... " >&6; }
                   21550: # Check whether --enable-BANCOMM was given.
                   21551: if test "${enable_BANCOMM+set}" = set; then :
                   21552:   enableval=$enable_BANCOMM; ntp_ok=$enableval
                   21553: else
                   21554:   ntp_ok=no
                   21555: 
                   21556: fi
                   21557: 
                   21558: if test "$ntp_ok" = "yes"; then
                   21559:     ntp_refclock=yes
                   21560: 
                   21561: $as_echo "#define CLOCK_BANC 1" >>confdefs.h
                   21562: 
                   21563: fi
                   21564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21565: $as_echo "$ntp_ok" >&6; }
                   21566: case "$ntp_ok$host" in
                   21567:  yes*-*-hpux*) ;;
                   21568:  yes*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   21569: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
                   21570: esac
                   21571: 
                   21572: #HPUX only, and only by explicit request
                   21573: { $as_echo "$as_me:${as_lineno-$LINENO}: checking TrueTime GPS receiver/VME interface" >&5
                   21574: $as_echo_n "checking TrueTime GPS receiver/VME interface... " >&6; }
                   21575: # Check whether --enable-GPSVME was given.
                   21576: if test "${enable_GPSVME+set}" = set; then :
                   21577:   enableval=$enable_GPSVME; ntp_ok=$enableval
                   21578: else
                   21579:   ntp_ok=no
                   21580: 
                   21581: fi
                   21582: 
                   21583: if test "$ntp_ok" = "yes"; then
                   21584:     ntp_refclock=yes
                   21585: 
                   21586: $as_echo "#define CLOCK_GPSVME 1" >>confdefs.h
                   21587: 
                   21588: fi
                   21589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21590: $as_echo "$ntp_ok" >&6; }
                   21591: case "$ntp_ok$host" in
                   21592:  yes*-*-hpux*) ;;
                   21593:  yes*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   21594: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;} ;;
                   21595: esac
                   21596: 
                   21597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCL720 clock support" >&5
                   21598: $as_echo_n "checking for PCL720 clock support... " >&6; }
                   21599: case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in
                   21600:  yesyesyes)
                   21601: 
                   21602: $as_echo "#define CLOCK_PPS720 1" >>confdefs.h
                   21603: 
                   21604:     ans=yes
                   21605:     ;;
                   21606:  *)
                   21607:     ans=no
                   21608:     ;;
                   21609: esac
                   21610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   21611: $as_echo "$ans" >&6; }
                   21612: 
                   21613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default inclusion of all suitable non-PARSE clocks" >&5
                   21614: $as_echo_n "checking for default inclusion of all suitable non-PARSE clocks... " >&6; }
                   21615: # Check whether --enable-all-clocks was given.
                   21616: if test "${enable_all_clocks+set}" = set; then :
                   21617:   enableval=$enable_all_clocks; ntp_eac=$enableval
                   21618: else
                   21619:   ntp_eac=yes
                   21620: 
                   21621: fi
                   21622: 
                   21623: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_eac" >&5
                   21624: $as_echo "$ntp_eac" >&6; }
                   21625: 
                   21626: # HMS: Should we also require ntp_parse_ok?
                   21627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have support for PARSE clocks" >&5
                   21628: $as_echo_n "checking if we have support for PARSE clocks... " >&6; }
                   21629: case "$ntp_atom_ok$ac_cv_header_termio_h$ac_cv_header_termios_h" in
                   21630:  yes*yes*)
                   21631:     ntp_canparse=yes
                   21632:     ;;
                   21633:  *) ntp_canparse=no
                   21634:     ;;
                   21635: esac
                   21636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_canparse" >&5
                   21637: $as_echo "$ntp_canparse" >&6; }
                   21638: 
                   21639: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have support for audio clocks" >&5
                   21640: $as_echo_n "checking if we have support for audio clocks... " >&6; }
                   21641: case "$ac_cv_header_sun_audioio_h$ac_cv_header_sys_audioio_h$ac_cv_header_machine_soundcard_h$ac_cv_header_sys_soundcard_h" in
                   21642:  *yes*)
                   21643:     ntp_canaudio=yes
                   21644: 
                   21645: $as_echo "#define HAVE_AUDIO /**/" >>confdefs.h
                   21646: 
                   21647:     ;;
                   21648:  *) ntp_canaudio=no ;;
                   21649: esac
                   21650: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_canaudio" >&5
                   21651: $as_echo "$ntp_canaudio" >&6; }
                   21652: 
                   21653: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have support for the SHM refclock interface" >&5
                   21654: $as_echo_n "checking if we have support for the SHM refclock interface... " >&6; }
                   21655: case "$ac_cv_header_sys_ipc_h$ac_cv_header_sys_shm_h" in
                   21656:  yesyes)
                   21657:     ntp_canshm=yes
                   21658:     ;;
                   21659:  *) ntp_canshm=no ;;
                   21660: esac
                   21661: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_canshm" >&5
                   21662: $as_echo "$ntp_canshm" >&6; }
                   21663: 
                   21664: # Test for termios TIOCMBIS modem control (ACTS, Heath, Palisade)
                   21665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for termios modem control" >&5
                   21666: $as_echo_n "checking for termios modem control... " >&6; }
                   21667: if ${ntp_cv_modem_control+:} false; then :
                   21668:   $as_echo_n "(cached) " >&6
                   21669: else
                   21670:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   21671: /* end confdefs.h.  */
                   21672: 
                   21673:                #ifdef HAVE_UNISTD_H
                   21674:                # include <unistd.h>
                   21675:                #endif
                   21676:                #ifdef HAVE_TERMIOS_H
                   21677:                # include <termios.h>
                   21678:                #endif
                   21679:                #ifdef HAVE_SYS_IOCTL_H
                   21680:                # include <sys/ioctl.h>
                   21681:                #endif
                   21682: 
                   21683: int
                   21684: main ()
                   21685: {
                   21686: 
                   21687:                int     dtr = TIOCM_DTR;
                   21688: 
                   21689:                ioctl(1, TIOCMBIS, (char *)&dtr);
                   21690: 
                   21691: 
                   21692:   ;
                   21693:   return 0;
                   21694: }
                   21695: _ACEOF
                   21696: if ac_fn_c_try_compile "$LINENO"; then :
                   21697:   ntp_cv_modem_control=yes
                   21698: else
                   21699:   ntp_cv_modem_control=no
                   21700: 
                   21701: fi
                   21702: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   21703: 
                   21704: fi
                   21705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_modem_control" >&5
                   21706: $as_echo "$ntp_cv_modem_control" >&6; }
                   21707: case "$ntp_eac::$ntp_cv_modem_control" in
                   21708:  yes::yes)
                   21709:     ntp_enable_all_modem_control_clocks=yes
                   21710:     ;;
                   21711:  *)
                   21712:     ntp_enable_all_modem_control_clocks=no
                   21713:     ;;
                   21714: esac
                   21715: 
                   21716: # Requires modem control
                   21717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking ACTS modem service" >&5
                   21718: $as_echo_n "checking ACTS modem service... " >&6; }
                   21719: # Check whether --enable-ACTS was given.
                   21720: if test "${enable_ACTS+set}" = set; then :
                   21721:   enableval=$enable_ACTS; ntp_ok=$enableval
                   21722: else
                   21723:   ntp_ok=$ntp_enable_all_modem_control_clocks
                   21724: 
                   21725: fi
                   21726: 
                   21727: if test "$ntp_ok" = "yes"; then
                   21728:     ntp_refclock=yes
                   21729: 
                   21730: $as_echo "#define CLOCK_ACTS 1" >>confdefs.h
                   21731: 
                   21732: fi
                   21733: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21734: $as_echo "$ntp_ok" >&6; }
                   21735: 
                   21736: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Arbiter 1088A/B GPS receiver" >&5
                   21737: $as_echo_n "checking Arbiter 1088A/B GPS receiver... " >&6; }
                   21738: # Check whether --enable-ARBITER was given.
                   21739: if test "${enable_ARBITER+set}" = set; then :
                   21740:   enableval=$enable_ARBITER; ntp_ok=$enableval
                   21741: else
                   21742:   ntp_ok=$ntp_eac
                   21743: 
                   21744: fi
                   21745: 
                   21746: if test "$ntp_ok" = "yes"; then
                   21747:     ntp_refclock=yes
                   21748: 
                   21749: $as_echo "#define CLOCK_ARBITER 1" >>confdefs.h
                   21750: 
                   21751: fi
                   21752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21753: $as_echo "$ntp_ok" >&6; }
                   21754: 
                   21755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Arcron MSF receiver" >&5
                   21756: $as_echo_n "checking Arcron MSF receiver... " >&6; }
                   21757: # Check whether --enable-ARCRON_MSF was given.
                   21758: if test "${enable_ARCRON_MSF+set}" = set; then :
                   21759:   enableval=$enable_ARCRON_MSF; ntp_ok=$enableval
                   21760: else
                   21761:   ntp_ok=$ntp_eac
                   21762: 
                   21763: fi
                   21764: 
                   21765: if test "$ntp_ok" = "yes"; then
                   21766:     ntp_refclock=yes
                   21767: 
                   21768: $as_echo "#define CLOCK_ARCRON_MSF 1" >>confdefs.h
                   21769: 
                   21770: fi
                   21771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21772: $as_echo "$ntp_ok" >&6; }
                   21773: 
                   21774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Austron 2200A/2201A GPS receiver" >&5
                   21775: $as_echo_n "checking Austron 2200A/2201A GPS receiver... " >&6; }
                   21776: # Check whether --enable-AS2201 was given.
                   21777: if test "${enable_AS2201+set}" = set; then :
                   21778:   enableval=$enable_AS2201; ntp_ok=$enableval
                   21779: else
                   21780:   ntp_ok=$ntp_eac
                   21781: 
                   21782: fi
                   21783: 
                   21784: if test "$ntp_ok" = "yes"; then
                   21785:     ntp_refclock=yes
                   21786: 
                   21787: $as_echo "#define CLOCK_AS2201 1" >>confdefs.h
                   21788: 
                   21789: fi
                   21790: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21791: $as_echo "$ntp_ok" >&6; }
                   21792: 
                   21793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking ATOM PPS interface" >&5
                   21794: $as_echo_n "checking ATOM PPS interface... " >&6; }
                   21795: # Check whether --enable-ATOM was given.
                   21796: if test "${enable_ATOM+set}" = set; then :
                   21797:   enableval=$enable_ATOM; ntp_ok=$enableval
                   21798: else
                   21799:   ntp_ok=$ntp_eac
                   21800: 
                   21801: fi
                   21802: 
                   21803: case "$ntp_atom_ok" in
                   21804:  no) ntp_ok=no ;;
                   21805: esac
                   21806: if test "$ntp_ok" = "yes"; then
                   21807:     ntp_refclock=yes
                   21808: 
                   21809: $as_echo "#define CLOCK_ATOM 1" >>confdefs.h
                   21810: 
                   21811: fi
                   21812: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21813: $as_echo "$ntp_ok" >&6; }
                   21814: 
                   21815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Chrono-log K-series WWVB receiver" >&5
                   21816: $as_echo_n "checking Chrono-log K-series WWVB receiver... " >&6; }
                   21817: # Check whether --enable-CHRONOLOG was given.
                   21818: if test "${enable_CHRONOLOG+set}" = set; then :
                   21819:   enableval=$enable_CHRONOLOG; ntp_ok=$enableval
                   21820: else
                   21821:   ntp_ok=$ntp_eac
                   21822: 
                   21823: fi
                   21824: 
                   21825: if test "$ntp_ok" = "yes"; then
                   21826:     ntp_refclock=yes
                   21827: 
                   21828: $as_echo "#define CLOCK_CHRONOLOG 1" >>confdefs.h
                   21829: 
                   21830: fi
                   21831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21832: $as_echo "$ntp_ok" >&6; }
                   21833: 
                   21834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking CHU modem/decoder" >&5
                   21835: $as_echo_n "checking CHU modem/decoder... " >&6; }
                   21836: # Check whether --enable-CHU was given.
                   21837: if test "${enable_CHU+set}" = set; then :
                   21838:   enableval=$enable_CHU; ntp_ok=$enableval
                   21839: else
                   21840:   ntp_ok=$ntp_eac
                   21841: 
                   21842: fi
                   21843: 
                   21844: if test "$ntp_ok" = "yes"; then
                   21845:     ntp_refclock=yes
                   21846: 
                   21847: $as_echo "#define CLOCK_CHU 1" >>confdefs.h
                   21848: 
                   21849: fi
                   21850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21851: $as_echo "$ntp_ok" >&6; }
                   21852: ntp_refclock_chu=$ntp_ok
                   21853: 
                   21854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking CHU audio/decoder" >&5
                   21855: $as_echo_n "checking CHU audio/decoder... " >&6; }
                   21856: # Check whether --enable-AUDIO-CHU was given.
                   21857: if test "${enable_AUDIO_CHU+set}" = set; then :
                   21858:   enableval=$enable_AUDIO_CHU; ntp_ok=$enableval
                   21859: else
                   21860: 
                   21861:        case "$ntp_eac$ntp_refclock_chu$ntp_canaudio" in
                   21862:         *no*)  ntp_ok=no  ;;
                   21863:         *)     ntp_ok=yes ;;
                   21864:        esac
                   21865: 
                   21866: 
                   21867: fi
                   21868: 
                   21869: if test "$ntp_ok" = "yes"; then
                   21870: 
                   21871: $as_echo "#define AUDIO_CHU 1" >>confdefs.h
                   21872: 
                   21873: fi
                   21874: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21875: $as_echo "$ntp_ok" >&6; }
                   21876: # We used to check for sunos/solaris target...
                   21877: case "$ntp_ok$ntp_refclock_chu$ntp_canaudio" in
                   21878:  yes*no*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is...no ***" >&5
                   21879: $as_echo "$as_me: WARNING: *** But the expected answer is...no ***" >&2;}
                   21880: esac
                   21881: 
                   21882: # Not under HP-UX
                   21883: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Datum Programmable Time System" >&5
                   21884: $as_echo_n "checking Datum Programmable Time System... " >&6; }
                   21885: # Check whether --enable-DATUM was given.
                   21886: if test "${enable_DATUM+set}" = set; then :
                   21887:   enableval=$enable_DATUM; ntp_ok=$enableval
                   21888: else
                   21889: 
                   21890:        case "$ac_cv_header_termios_h" in
                   21891:         yes)
                   21892:            ntp_ok=$ntp_eac
                   21893:            ;;
                   21894:         *) ntp_ok=no
                   21895:            ;;
                   21896:        esac
                   21897: 
                   21898: 
                   21899: fi
                   21900: 
                   21901: if test "$ntp_ok" = "yes"; then
                   21902:     ntp_refclock=yes
                   21903: 
                   21904: $as_echo "#define CLOCK_DATUM 1" >>confdefs.h
                   21905: 
                   21906: fi
                   21907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21908: $as_echo "$ntp_ok" >&6; }
                   21909: 
                   21910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Dumb generic hh:mm:ss local clock" >&5
                   21911: $as_echo_n "checking Dumb generic hh:mm:ss local clock... " >&6; }
                   21912: # Check whether --enable-DUMBCLOCK was given.
                   21913: if test "${enable_DUMBCLOCK+set}" = set; then :
                   21914:   enableval=$enable_DUMBCLOCK; ntp_ok=$enableval
                   21915: else
                   21916:   ntp_ok=$ntp_eac
                   21917: 
                   21918: fi
                   21919: 
                   21920: if test "$ntp_ok" = "yes"; then
                   21921:     ntp_refclock=yes
                   21922: 
                   21923: $as_echo "#define CLOCK_DUMBCLOCK 1" >>confdefs.h
                   21924: 
                   21925: fi
                   21926: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21927: $as_echo "$ntp_ok" >&6; }
                   21928: 
                   21929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Forum Graphic GPS" >&5
                   21930: $as_echo_n "checking Forum Graphic GPS... " >&6; }
                   21931: # Check whether --enable-FG was given.
                   21932: if test "${enable_FG+set}" = set; then :
                   21933:   enableval=$enable_FG; ntp_ok=$enableval
                   21934: else
                   21935:   ntp_ok=$ntp_eac
                   21936: 
                   21937: fi
                   21938: 
                   21939: if test "$ntp_ok" = "yes"; then
                   21940:     ntp_refclock=yes
                   21941: 
                   21942: $as_echo "#define CLOCK_FG 1" >>confdefs.h
                   21943: 
                   21944: fi
                   21945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21946: $as_echo "$ntp_ok" >&6; }
                   21947: 
                   21948: # Requires modem control
                   21949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Heath GC-1000 WWV/WWVH receiver" >&5
                   21950: $as_echo_n "checking Heath GC-1000 WWV/WWVH receiver... " >&6; }
                   21951: # Check whether --enable-HEATH was given.
                   21952: if test "${enable_HEATH+set}" = set; then :
                   21953:   enableval=$enable_HEATH; ntp_ok=$enableval
                   21954: else
                   21955:   ntp_ok=$ntp_enable_all_modem_control_clocks
                   21956: 
                   21957: fi
                   21958: 
                   21959: if test "$ntp_ok" = "yes"; then
                   21960:     ntp_refclock=yes
                   21961: 
                   21962: $as_echo "#define CLOCK_HEATH 1" >>confdefs.h
                   21963: 
                   21964: fi
                   21965: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21966: $as_echo "$ntp_ok" >&6; }
                   21967: 
                   21968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hopf serial clock device" >&5
                   21969: $as_echo_n "checking for hopf serial clock device... " >&6; }
                   21970: # Check whether --enable-HOPFSERIAL was given.
                   21971: if test "${enable_HOPFSERIAL+set}" = set; then :
                   21972:   enableval=$enable_HOPFSERIAL; ntp_ok=$enableval
                   21973: else
                   21974:   ntp_ok=$ntp_eac
                   21975: 
                   21976: fi
                   21977: 
                   21978: if test "$ntp_ok" = "yes"; then
                   21979:     ntp_refclock=yes
                   21980: 
                   21981: $as_echo "#define CLOCK_HOPF_SERIAL 1" >>confdefs.h
                   21982: 
                   21983: fi
                   21984: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   21985: $as_echo "$ntp_ok" >&6; }
                   21986: 
                   21987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hopf PCI clock 6039" >&5
                   21988: $as_echo_n "checking for hopf PCI clock 6039... " >&6; }
                   21989: # Check whether --enable-HOPFPCI was given.
                   21990: if test "${enable_HOPFPCI+set}" = set; then :
                   21991:   enableval=$enable_HOPFPCI; ntp_ok=$enableval
                   21992: else
                   21993:   ntp_ok=$ntp_eac
                   21994: 
                   21995: fi
                   21996: 
                   21997: if test "$ntp_ok" = "yes"; then
                   21998:     ntp_refclock=yes
                   21999: 
                   22000: $as_echo "#define CLOCK_HOPF_PCI 1" >>confdefs.h
                   22001: 
                   22002: fi
                   22003: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22004: $as_echo "$ntp_ok" >&6; }
                   22005: 
                   22006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking HP 58503A GPS receiver" >&5
                   22007: $as_echo_n "checking HP 58503A GPS receiver... " >&6; }
                   22008: # Check whether --enable-HPGPS was given.
                   22009: if test "${enable_HPGPS+set}" = set; then :
                   22010:   enableval=$enable_HPGPS; ntp_ok=$enableval
                   22011: else
                   22012:   ntp_ok=$ntp_eac
                   22013: 
                   22014: fi
                   22015: 
                   22016: if test "$ntp_ok" = "yes"; then
                   22017:     ntp_refclock=yes
                   22018: 
                   22019: $as_echo "#define CLOCK_HPGPS 1" >>confdefs.h
                   22020: 
                   22021: fi
                   22022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22023: $as_echo "$ntp_ok" >&6; }
                   22024: 
                   22025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking IRIG audio decoder" >&5
                   22026: $as_echo_n "checking IRIG audio decoder... " >&6; }
                   22027: # Check whether --enable-IRIG was given.
                   22028: if test "${enable_IRIG+set}" = set; then :
                   22029:   enableval=$enable_IRIG; ntp_ok=$enableval
                   22030: else
                   22031: 
                   22032:        case "$ntp_eac$ntp_canaudio" in
                   22033:         *no*)  ntp_ok=no  ;;
                   22034:         *)     ntp_ok=yes ;;
                   22035:        esac
                   22036: 
                   22037: 
                   22038: fi
                   22039: 
                   22040: if test "$ntp_ok" = "yes"; then
                   22041:     ntp_refclock=yes
                   22042: 
                   22043: $as_echo "#define CLOCK_IRIG 1" >>confdefs.h
                   22044: 
                   22045: fi
                   22046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22047: $as_echo "$ntp_ok" >&6; }
                   22048: case "$ntp_ok$ntp_canaudio" in
                   22049:  yesno) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   22050: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;}
                   22051: esac
                   22052: 
                   22053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JJY receiver" >&5
                   22054: $as_echo_n "checking for JJY receiver... " >&6; }
                   22055: # Check whether --enable-JJY was given.
                   22056: if test "${enable_JJY+set}" = set; then :
                   22057:   enableval=$enable_JJY; ntp_ok=$enableval
                   22058: else
                   22059:   ntp_ok=$ntp_eac
                   22060: 
                   22061: fi
                   22062: 
                   22063: if test "$ntp_ok" = "yes"; then
                   22064:     ntp_refclock=yes
                   22065: 
                   22066: $as_echo "#define CLOCK_JJY 1" >>confdefs.h
                   22067: 
                   22068: fi
                   22069: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22070: $as_echo "$ntp_ok" >&6; }
                   22071: 
                   22072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Rockwell Jupiter GPS receiver" >&5
                   22073: $as_echo_n "checking Rockwell Jupiter GPS receiver... " >&6; }
                   22074: # Check whether --enable-JUPITER was given.
                   22075: if test "${enable_JUPITER+set}" = set; then :
                   22076:   enableval=$enable_JUPITER; ntp_ok=$enableval
                   22077: else
                   22078:   ntp_ok=$ntp_eac
                   22079: fi
                   22080: 
                   22081: case "$ntp_jupiter_ok" in
                   22082:  no) ntp_ok=no ;;
                   22083: esac
                   22084: if test "$ntp_ok" = "yes"; then
                   22085:     ntp_refclock=yes
                   22086: 
                   22087: $as_echo "#define CLOCK_JUPITER 1" >>confdefs.h
                   22088: 
                   22089: fi
                   22090: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22091: $as_echo "$ntp_ok" >&6; }
                   22092: 
                   22093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Leitch CSD 5300 Master Clock System Driver" >&5
                   22094: $as_echo_n "checking Leitch CSD 5300 Master Clock System Driver... " >&6; }
                   22095: # Check whether --enable-LEITCH was given.
                   22096: if test "${enable_LEITCH+set}" = set; then :
                   22097:   enableval=$enable_LEITCH; ntp_ok=$enableval
                   22098: else
                   22099:   ntp_ok=$ntp_eac
                   22100: 
                   22101: fi
                   22102: 
                   22103: if test "$ntp_ok" = "yes"; then
                   22104:     ntp_refclock=yes
                   22105: 
                   22106: $as_echo "#define CLOCK_LEITCH 1" >>confdefs.h
                   22107: 
                   22108: fi
                   22109: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22110: $as_echo "$ntp_ok" >&6; }
                   22111: 
                   22112: { $as_echo "$as_me:${as_lineno-$LINENO}: checking local clock reference" >&5
                   22113: $as_echo_n "checking local clock reference... " >&6; }
                   22114: # Check whether --enable-LOCAL-CLOCK was given.
                   22115: if test "${enable_LOCAL_CLOCK+set}" = set; then :
                   22116:   enableval=$enable_LOCAL_CLOCK; ntp_ok=$enableval
                   22117: else
                   22118:   ntp_ok=$ntp_eac
                   22119: 
                   22120: fi
                   22121: 
                   22122: if test "$ntp_ok" = "yes"; then
                   22123:     ntp_refclock=yes
                   22124: 
                   22125: $as_echo "#define CLOCK_LOCAL 1" >>confdefs.h
                   22126: 
                   22127: fi
                   22128: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22129: $as_echo "$ntp_ok" >&6; }
                   22130: 
                   22131: 
                   22132: # Not Ultrix
                   22133: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Magnavox MX4200 GPS receiver" >&5
                   22134: $as_echo_n "checking Magnavox MX4200 GPS receiver... " >&6; }
                   22135: # Check whether --enable-MX4200 was given.
                   22136: if test "${enable_MX4200+set}" = set; then :
                   22137:   enableval=$enable_MX4200; ntp_ok=$enableval
                   22138: else
                   22139: 
                   22140:        case "$ac_cv_var_ppsclock" in
                   22141:         yes)
                   22142:            ntp_ok=$ntp_eac
                   22143:            ;;
                   22144:         *)
                   22145:            ntp_ok=no
                   22146:            ;;
                   22147:        esac
                   22148: 
                   22149: 
                   22150: fi
                   22151: 
                   22152: if test "$ntp_ok" = "yes"; then
                   22153:     ntp_refclock=yes
                   22154: 
                   22155: $as_echo "#define CLOCK_MX4200 1" >>confdefs.h
                   22156: 
                   22157: fi
                   22158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22159: $as_echo "$ntp_ok" >&6; }
                   22160: case "$ntp_ok$host" in
                   22161:  yes*-*-ultrix*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   22162: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;}
                   22163: esac
                   22164: 
                   22165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NeoClock4X receiver" >&5
                   22166: $as_echo_n "checking for NeoClock4X receiver... " >&6; }
                   22167: # Check whether --enable-NEOCLOCK4X was given.
                   22168: if test "${enable_NEOCLOCK4X+set}" = set; then :
                   22169:   enableval=$enable_NEOCLOCK4X; ntp_ok=$enableval
                   22170: else
                   22171:   ntp_ok=$ntp_eac
                   22172: 
                   22173: fi
                   22174: 
                   22175: if test "$ntp_ok" = "yes"; then
                   22176:     ntp_refclock=yes
                   22177: 
                   22178: $as_echo "#define CLOCK_NEOCLOCK4X 1" >>confdefs.h
                   22179: 
                   22180: fi
                   22181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22182: $as_echo "$ntp_ok" >&6; }
                   22183: 
                   22184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking NMEA GPS receiver" >&5
                   22185: $as_echo_n "checking NMEA GPS receiver... " >&6; }
                   22186: # Check whether --enable-NMEA was given.
                   22187: if test "${enable_NMEA+set}" = set; then :
                   22188:   enableval=$enable_NMEA; ntp_ok=$enableval
                   22189: else
                   22190:   ntp_ok=$ntp_eac
                   22191: 
                   22192: fi
                   22193: 
                   22194: if test "$ntp_ok" = "yes"; then
                   22195:     ntp_refclock=yes
                   22196: 
                   22197: $as_echo "#define CLOCK_NMEA 1" >>confdefs.h
                   22198: 
                   22199: fi
                   22200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22201: $as_echo "$ntp_ok" >&6; }
                   22202: 
                   22203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ONCORE Motorola VP/UT Oncore GPS" >&5
                   22204: $as_echo_n "checking for ONCORE Motorola VP/UT Oncore GPS... " >&6; }
                   22205: # Check whether --enable-ONCORE was given.
                   22206: if test "${enable_ONCORE+set}" = set; then :
                   22207:   enableval=$enable_ONCORE; ntp_ok=$enableval
                   22208: else
                   22209:   ntp_ok=$ntp_eac
                   22210: 
                   22211: fi
                   22212: 
                   22213: case "$ntp_oncore_ok" in
                   22214:  no) ntp_ok=no ;;
                   22215: esac
                   22216: if test "$ntp_ok" = "yes"; then
                   22217:     ntp_refclock=yes
                   22218: 
                   22219: $as_echo "#define CLOCK_ONCORE 1" >>confdefs.h
                   22220: 
                   22221: fi
                   22222: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22223: $as_echo "$ntp_ok" >&6; }
                   22224: 
                   22225: # Requires modem control
                   22226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Palisade clock" >&5
                   22227: $as_echo_n "checking for Palisade clock... " >&6; }
                   22228: # Check whether --enable-PALISADE was given.
                   22229: if test "${enable_PALISADE+set}" = set; then :
                   22230:   enableval=$enable_PALISADE; ntp_ok=$enableval
                   22231: else
                   22232:   ntp_ok=$ntp_enable_all_modem_control_clocks
                   22233: 
                   22234: fi
                   22235: 
                   22236: if test "$ntp_ok" = "yes"; then
                   22237:     ntp_refclock=yes
                   22238: 
                   22239: $as_echo "#define CLOCK_PALISADE 1" >>confdefs.h
                   22240: 
                   22241: fi
                   22242: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22243: $as_echo "$ntp_ok" >&6; }
                   22244: 
                   22245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Conrad parallel port radio clock" >&5
                   22246: $as_echo_n "checking Conrad parallel port radio clock... " >&6; }
                   22247: # Check whether --enable-PCF was given.
                   22248: if test "${enable_PCF+set}" = set; then :
                   22249:   enableval=$enable_PCF; ntp_ok=$enableval
                   22250: else
                   22251:   ntp_ok=$ntp_eac
                   22252: 
                   22253: fi
                   22254: 
                   22255: if test "$ntp_ok" = "yes"; then
                   22256:     ntp_refclock=yes
                   22257: 
                   22258: $as_echo "#define CLOCK_PCF 1" >>confdefs.h
                   22259: 
                   22260: fi
                   22261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22262: $as_echo "$ntp_ok" >&6; }
                   22263: 
                   22264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking PST/Traconex 1020 WWV/WWVH receiver" >&5
                   22265: $as_echo_n "checking PST/Traconex 1020 WWV/WWVH receiver... " >&6; }
                   22266: # Check whether --enable-PST was given.
                   22267: if test "${enable_PST+set}" = set; then :
                   22268:   enableval=$enable_PST; ntp_ok=$enableval
                   22269: else
                   22270:   ntp_ok=$ntp_eac
                   22271: 
                   22272: fi
                   22273: 
                   22274: if test "$ntp_ok" = "yes"; then
                   22275:     ntp_refclock=yes
                   22276: 
                   22277: $as_echo "#define CLOCK_PST 1" >>confdefs.h
                   22278: 
                   22279: fi
                   22280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22281: $as_echo "$ntp_ok" >&6; }
                   22282: 
                   22283: { $as_echo "$as_me:${as_lineno-$LINENO}: checking RIPENCC specific Trimble driver" >&5
                   22284: $as_echo_n "checking RIPENCC specific Trimble driver... " >&6; }
                   22285: # Check whether --enable-RIPENCC was given.
                   22286: if test "${enable_RIPENCC+set}" = set; then :
                   22287:   enableval=$enable_RIPENCC; ntp_ok=$enableval
                   22288: else
                   22289:   ntp_ok=no
                   22290: 
                   22291: fi
                   22292: 
                   22293: # 020629: HMS: s/$ntp_eac -> -/no because of ptr += sprintf(ptr, ...) usage
                   22294: case "$ntp_ripe_ncc_ok" in
                   22295:  no) ntp_ok=no ;;
                   22296: esac
                   22297: if test "$ntp_ok" = "yes"; then
                   22298:     ntp_refclock=yes
                   22299: 
                   22300: $as_echo "#define CLOCK_RIPENCC /**/" >>confdefs.h
                   22301: 
                   22302: fi
                   22303: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22304: $as_echo "$ntp_ok" >&6; }
                   22305: 
                   22306: # Danny Meyer says SHM compiles (with a few warnings) under Win32.
                   22307: # For *IX, we need sys/ipc.h and sys/shm.h.
                   22308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHM clock attached thru shared memory" >&5
                   22309: $as_echo_n "checking for SHM clock attached thru shared memory... " >&6; }
                   22310: # Check whether --enable-SHM was given.
                   22311: if test "${enable_SHM+set}" = set; then :
                   22312:   enableval=$enable_SHM; ntp_ok=$enableval
                   22313: else
                   22314: 
                   22315:        case "$ntp_eac$ntp_canshm" in
                   22316:         *no*)  ntp_ok=no  ;;
                   22317:         *)     ntp_ok=yes ;;
                   22318:        esac
                   22319: 
                   22320: 
                   22321: fi
                   22322: 
                   22323: if test "$ntp_ok" = "yes"; then
                   22324:     ntp_refclock=yes
                   22325: 
                   22326: $as_echo "#define CLOCK_SHM 1" >>confdefs.h
                   22327: 
                   22328: fi
                   22329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22330: $as_echo "$ntp_ok" >&6; }
                   22331: 
                   22332: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5
                   22333: $as_echo_n "checking Spectracom 8170/Netclock/2 WWVB receiver... " >&6; }
                   22334: # Check whether --enable-SPECTRACOM was given.
                   22335: if test "${enable_SPECTRACOM+set}" = set; then :
                   22336:   enableval=$enable_SPECTRACOM; ntp_ok=$enableval
                   22337: else
                   22338:   ntp_ok=$ntp_eac
                   22339: 
                   22340: fi
                   22341: 
                   22342: if test "$ntp_ok" = "yes"; then
                   22343:     ntp_refclock=yes
                   22344: 
                   22345: $as_echo "#define CLOCK_SPECTRACOM 1" >>confdefs.h
                   22346: 
                   22347: fi
                   22348: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22349: $as_echo "$ntp_ok" >&6; }
                   22350: 
                   22351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5
                   22352: $as_echo_n "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... " >&6; }
                   22353: # Check whether --enable-TPRO was given.
                   22354: if test "${enable_TPRO+set}" = set; then :
                   22355:   enableval=$enable_TPRO; ntp_ok=$enableval
                   22356: else
                   22357: 
                   22358:        case "$ac_cv_header_sys_tpro_h" in
                   22359:         yes)
                   22360:            ntp_ok=$ntp_eac
                   22361:            ;;
                   22362:         *)
                   22363:            ntp_ok=no
                   22364:            ;;
                   22365:        esac
                   22366: 
                   22367: 
                   22368: fi
                   22369: 
                   22370: if test "$ntp_ok" = "yes"; then
                   22371:     ntp_refclock=yes
                   22372: 
                   22373: $as_echo "#define CLOCK_TPRO 1" >>confdefs.h
                   22374: 
                   22375: fi
                   22376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22377: $as_echo "$ntp_ok" >&6; }
                   22378: case "$ntp_ok$ac_cv_header_sys_tpro" in
                   22379:  yesno) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   22380: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;}
                   22381: esac
                   22382: 
                   22383: 
                   22384: # Not on a vax-dec-bsd
                   22385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Kinemetrics/TrueTime receivers" >&5
                   22386: $as_echo_n "checking Kinemetrics/TrueTime receivers... " >&6; }
                   22387: # Check whether --enable-TRUETIME was given.
                   22388: if test "${enable_TRUETIME+set}" = set; then :
                   22389:   enableval=$enable_TRUETIME; ntp_ok=$enableval
                   22390: else
                   22391: 
                   22392:        case "$host" in
                   22393:         vax-dec-bsd)
                   22394:            ntp_ok=no
                   22395:            ;;
                   22396:         *)
                   22397:            ntp_ok=$ntp_eac
                   22398:            ;;
                   22399:        esac
                   22400: 
                   22401: 
                   22402: fi
                   22403: 
                   22404: if test "$ntp_ok" = "yes"; then
                   22405:     ntp_refclock=yes
                   22406: 
                   22407: $as_echo "#define CLOCK_TRUETIME 1" >>confdefs.h
                   22408: 
                   22409: fi
                   22410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22411: $as_echo "$ntp_ok" >&6; }
                   22412: case "$ntp_ok$host" in
                   22413:  yesvax-dec-bsd) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   22414: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;}
                   22415: esac
                   22416: 
                   22417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking TrueTime 560 IRIG-B decoder" >&5
                   22418: $as_echo_n "checking TrueTime 560 IRIG-B decoder... " >&6; }
                   22419: # Check whether --enable-TT560 was given.
                   22420: if test "${enable_TT560+set}" = set; then :
                   22421:   enableval=$enable_TT560; ntp_ok=$enableval
                   22422: else
                   22423:   ntp_ok=no
                   22424: 
                   22425: fi
                   22426: 
                   22427: if test "$ntp_ok" = "yes"; then
                   22428:     ntp_refclock=yes
                   22429: 
                   22430: $as_echo "#define CLOCK_TT560 /**/" >>confdefs.h
                   22431: 
                   22432: fi
                   22433: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22434: $as_echo "$ntp_ok" >&6; }
                   22435: 
                   22436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Ultralink M320 WWVB receiver" >&5
                   22437: $as_echo_n "checking Ultralink M320 WWVB receiver... " >&6; }
                   22438: # Check whether --enable-ULINK was given.
                   22439: if test "${enable_ULINK+set}" = set; then :
                   22440:   enableval=$enable_ULINK; ntp_ok=$enableval
                   22441: else
                   22442:   ntp_ok=$ntp_eac
                   22443: 
                   22444: fi
                   22445: 
                   22446: if test "$ntp_ok" = "yes"; then
                   22447:     ntp_refclock=yes
                   22448: 
                   22449: $as_echo "#define CLOCK_ULINK 1" >>confdefs.h
                   22450: 
                   22451: fi
                   22452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22453: $as_echo "$ntp_ok" >&6; }
                   22454: 
                   22455: { $as_echo "$as_me:${as_lineno-$LINENO}: checking WWV receiver" >&5
                   22456: $as_echo_n "checking WWV receiver... " >&6; }
                   22457: # Check whether --enable-WWV was given.
                   22458: if test "${enable_WWV+set}" = set; then :
                   22459:   enableval=$enable_WWV; ntp_ok=$enableval
                   22460: else
                   22461: 
                   22462:        case "$ntp_eac$ntp_canaudio" in
                   22463:         *no*)  ntp_ok=no  ;;
                   22464:         *)     ntp_ok=yes ;;
                   22465:        esac
                   22466: 
                   22467: 
                   22468: fi
                   22469: 
                   22470: if test "$ntp_ok" = "yes"; then
                   22471:     ntp_refclock=yes
                   22472: 
                   22473: $as_echo "#define CLOCK_WWV 1" >>confdefs.h
                   22474: 
                   22475: fi
                   22476: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22477: $as_echo "$ntp_ok" >&6; }
                   22478: case "$ntp_ok$ntp_canaudio" in
                   22479:  yesno) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** But the expected answer is... no ***" >&5
                   22480: $as_echo "$as_me: WARNING: *** But the expected answer is... no ***" >&2;}
                   22481: esac
                   22482: 
                   22483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Zyfer receiver" >&5
                   22484: $as_echo_n "checking for Zyfer receiver... " >&6; }
                   22485: # Check whether --enable-ZYFER was given.
                   22486: if test "${enable_ZYFER+set}" = set; then :
                   22487:   enableval=$enable_ZYFER; ntp_ok=$enableval
                   22488: else
                   22489:   ntp_ok=$ntp_eac
                   22490: 
                   22491: fi
                   22492: 
                   22493: if test "$ntp_ok" = "yes"; then
                   22494:     ntp_refclock=yes
                   22495: 
                   22496: $as_echo "#define CLOCK_ZYFER 1" >>confdefs.h
                   22497: 
                   22498: fi
                   22499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22500: $as_echo "$ntp_ok" >&6; }
                   22501: 
                   22502: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default inclusion of all suitable PARSE clocks" >&5
                   22503: $as_echo_n "checking for default inclusion of all suitable PARSE clocks... " >&6; }
                   22504: # Check whether --enable-parse-clocks was given.
                   22505: if test "${enable_parse_clocks+set}" = set; then :
                   22506:   enableval=$enable_parse_clocks; ntp_eapc=$enableval
                   22507: else
                   22508: 
                   22509:        case "$ntp_eac" in
                   22510:         yes)   ntp_eapc=$ntp_canparse ;;
                   22511:         *)     ntp_eapc=no ;;
                   22512:        esac
                   22513:        # Delete the next line one of these days
                   22514:        ntp_eapc=no
                   22515: 
                   22516: 
                   22517: fi
                   22518: 
                   22519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_eapc" >&5
                   22520: $as_echo "$ntp_eapc" >&6; }
                   22521: 
                   22522: case "$ntp_eac$ntp_eapc$ntp_canparse" in
                   22523:  noyes*)
                   22524:     as_fn_error $? "\"--enable-parse-clocks\" requires \"--enable-all-clocks\"." "$LINENO" 5
                   22525:     ;;
                   22526:  yesyesno)
                   22527:     as_fn_error $? "You said \"--enable-parse-clocks\" but PARSE isn't supported on this platform!" "$LINENO" 5
                   22528:     ;;
                   22529: esac
                   22530: 
                   22531: ntp_libparse=no
                   22532: ntp_parseutil=no
                   22533: ntp_rawdcf=no
                   22534: 
                   22535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Diem Computime Radio Clock" >&5
                   22536: $as_echo_n "checking Diem Computime Radio Clock... " >&6; }
                   22537: # Check whether --enable-COMPUTIME was given.
                   22538: if test "${enable_COMPUTIME+set}" = set; then :
                   22539:   enableval=$enable_COMPUTIME; ntp_ok=$enableval
                   22540: else
                   22541:   ntp_ok=$ntp_eapc
                   22542: 
                   22543: fi
                   22544: 
                   22545: if test "$ntp_ok" = "yes"; then
                   22546:     ntp_libparse=yes
                   22547:     ntp_refclock=yes
                   22548: 
                   22549: $as_echo "#define CLOCK_COMPUTIME 1" >>confdefs.h
                   22550: 
                   22551: fi
                   22552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22553: $as_echo "$ntp_ok" >&6; }
                   22554: case "$ntp_ok$ntp_canparse" in
                   22555:  yesno)
                   22556:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22557: esac
                   22558: 
                   22559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking ELV/DCF7000 clock" >&5
                   22560: $as_echo_n "checking ELV/DCF7000 clock... " >&6; }
                   22561: # Check whether --enable-DCF7000 was given.
                   22562: if test "${enable_DCF7000+set}" = set; then :
                   22563:   enableval=$enable_DCF7000; ntp_ok=$enableval
                   22564: else
                   22565:   ntp_ok=$ntp_eapc
                   22566: 
                   22567: fi
                   22568: 
                   22569: if test "$ntp_ok" = "yes"; then
                   22570:     ntp_libparse=yes
                   22571:     ntp_refclock=yes
                   22572: 
                   22573: $as_echo "#define CLOCK_DCF7000 1" >>confdefs.h
                   22574: 
                   22575: fi
                   22576: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22577: $as_echo "$ntp_ok" >&6; }
                   22578: case "$ntp_ok$ntp_canparse" in
                   22579:  yesno)
                   22580:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22581: esac
                   22582: 
                   22583: { $as_echo "$as_me:${as_lineno-$LINENO}: checking HOPF 6021 clock" >&5
                   22584: $as_echo_n "checking HOPF 6021 clock... " >&6; }
                   22585: # Check whether --enable-HOPF6021 was given.
                   22586: if test "${enable_HOPF6021+set}" = set; then :
                   22587:   enableval=$enable_HOPF6021; ntp_ok=$enableval
                   22588: else
                   22589:   ntp_ok=$ntp_eapc
                   22590: 
                   22591: fi
                   22592: 
                   22593: if test "$ntp_ok" = "yes"; then
                   22594:     ntp_libparse=yes
                   22595:     ntp_refclock=yes
                   22596: 
                   22597: $as_echo "#define CLOCK_HOPF6021 1" >>confdefs.h
                   22598: 
                   22599: fi
                   22600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22601: $as_echo "$ntp_ok" >&6; }
                   22602: case "$ntp_ok$ntp_canparse" in
                   22603:  yesno)
                   22604:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22605: esac
                   22606: 
                   22607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Meinberg clocks" >&5
                   22608: $as_echo_n "checking Meinberg clocks... " >&6; }
                   22609: # Check whether --enable-MEINBERG was given.
                   22610: if test "${enable_MEINBERG+set}" = set; then :
                   22611:   enableval=$enable_MEINBERG; ntp_ok=$enableval
                   22612: else
                   22613:   ntp_ok=$ntp_eapc
                   22614: 
                   22615: fi
                   22616: 
                   22617: if test "$ntp_ok" = "yes"; then
                   22618:     ntp_libparse=yes
                   22619:     ntp_refclock=yes
                   22620: 
                   22621: $as_echo "#define CLOCK_MEINBERG 1" >>confdefs.h
                   22622: 
                   22623: fi
                   22624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22625: $as_echo "$ntp_ok" >&6; }
                   22626: case "$ntp_ok$ntp_canparse" in
                   22627:  yesno)
                   22628:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22629: esac
                   22630: 
                   22631: { $as_echo "$as_me:${as_lineno-$LINENO}: checking DCF77 raw time code" >&5
                   22632: $as_echo_n "checking DCF77 raw time code... " >&6; }
                   22633: # Check whether --enable-RAWDCF was given.
                   22634: if test "${enable_RAWDCF+set}" = set; then :
                   22635:   enableval=$enable_RAWDCF; ntp_ok=$enableval
                   22636: else
                   22637:   ntp_ok=$ntp_eapc
                   22638: 
                   22639: fi
                   22640: 
                   22641: if test "$ntp_ok" = "yes"; then
                   22642:     ntp_libparse=yes
                   22643:     ntp_parseutil=yes
                   22644:     ntp_refclock=yes
                   22645:     ntp_rawdcf=yes
                   22646: 
                   22647: $as_echo "#define CLOCK_RAWDCF 1" >>confdefs.h
                   22648: 
                   22649: fi
                   22650: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22651: $as_echo "$ntp_ok" >&6; }
                   22652: case "$ntp_ok$ntp_canparse" in
                   22653:  yesno)
                   22654:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22655: esac
                   22656: 
                   22657: case "$ntp_rawdcf" in
                   22658:  yes)
                   22659:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we must enable parity for RAWDCF" >&5
                   22660: $as_echo_n "checking if we must enable parity for RAWDCF... " >&6; }
                   22661: if ${ntp_cv_rawdcf_parity+:} false; then :
                   22662:   $as_echo_n "(cached) " >&6
                   22663: else
                   22664: 
                   22665:            ans=no
                   22666:            case "$host" in
                   22667:             *-*-*linux*)
                   22668:                ans=yes
                   22669:                ;;
                   22670:            esac
                   22671:            ntp_cv_rawdcf_parity=$ans
                   22672: 
                   22673: 
                   22674: fi
                   22675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_rawdcf_parity" >&5
                   22676: $as_echo "$ntp_cv_rawdcf_parity" >&6; }
                   22677:     case "$ntp_cv_rawdcf_parity" in
                   22678:      yes)
                   22679: 
                   22680: $as_echo "#define RAWDCF_NO_IGNPAR 1" >>confdefs.h
                   22681:  ;;
                   22682:     esac
                   22683: esac
                   22684: 
                   22685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking RCC 8000 clock" >&5
                   22686: $as_echo_n "checking RCC 8000 clock... " >&6; }
                   22687: # Check whether --enable-RCC8000 was given.
                   22688: if test "${enable_RCC8000+set}" = set; then :
                   22689:   enableval=$enable_RCC8000; ntp_ok=$enableval
                   22690: else
                   22691:   ntp_ok=$ntp_eapc
                   22692: 
                   22693: fi
                   22694: 
                   22695: if test "$ntp_ok" = "yes"; then
                   22696:     ntp_libparse=yes
                   22697:     ntp_refclock=yes
                   22698: 
                   22699: $as_echo "#define CLOCK_RCC8000 1" >>confdefs.h
                   22700: 
                   22701: fi
                   22702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22703: $as_echo "$ntp_ok" >&6; }
                   22704: case "$ntp_ok$ntp_canparse" in
                   22705:  yesno)
                   22706:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22707: esac
                   22708: 
                   22709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Schmid DCF77 clock" >&5
                   22710: $as_echo_n "checking Schmid DCF77 clock... " >&6; }
                   22711: # Check whether --enable-SCHMID was given.
                   22712: if test "${enable_SCHMID+set}" = set; then :
                   22713:   enableval=$enable_SCHMID; ntp_ok=$enableval
                   22714: else
                   22715:   ntp_ok=$ntp_eapc
                   22716: 
                   22717: fi
                   22718: 
                   22719: if test "$ntp_ok" = "yes"; then
                   22720:     ntp_libparse=yes
                   22721:     ntp_refclock=yes
                   22722: 
                   22723: $as_echo "#define CLOCK_SCHMID 1" >>confdefs.h
                   22724: 
                   22725: fi
                   22726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22727: $as_echo "$ntp_ok" >&6; }
                   22728: case "$ntp_ok$ntp_canparse" in
                   22729:  yesno)
                   22730:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22731: esac
                   22732: 
                   22733: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Trimble GPS receiver/TAIP protocol" >&5
                   22734: $as_echo_n "checking Trimble GPS receiver/TAIP protocol... " >&6; }
                   22735: # Check whether --enable-TRIMTAIP was given.
                   22736: if test "${enable_TRIMTAIP+set}" = set; then :
                   22737:   enableval=$enable_TRIMTAIP; ntp_ok=$enableval
                   22738: else
                   22739:   ntp_ok=$ntp_eapc
                   22740: 
                   22741: fi
                   22742: 
                   22743: if test "$ntp_ok" = "yes"; then
                   22744:     ntp_libparse=yes
                   22745:     ntp_refclock=yes
                   22746: 
                   22747: $as_echo "#define CLOCK_TRIMTAIP 1" >>confdefs.h
                   22748: 
                   22749: fi
                   22750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22751: $as_echo "$ntp_ok" >&6; }
                   22752: case "$ntp_ok$ntp_canparse" in
                   22753:  yesno)
                   22754:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22755: esac
                   22756: 
                   22757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking Trimble GPS receiver/TSIP protocol" >&5
                   22758: $as_echo_n "checking Trimble GPS receiver/TSIP protocol... " >&6; }
                   22759: # Check whether --enable-TRIMTSIP was given.
                   22760: if test "${enable_TRIMTSIP+set}" = set; then :
                   22761:   enableval=$enable_TRIMTSIP; ntp_ok=$enableval
                   22762: else
                   22763:   ntp_ok=$ntp_eapc
                   22764: 
                   22765: fi
                   22766: 
                   22767: if test "$ntp_ok" = "yes"; then
                   22768:     ntp_libparse=yes
                   22769:     ntp_refclock=yes
                   22770: 
                   22771: $as_echo "#define CLOCK_TRIMTSIP 1" >>confdefs.h
                   22772: 
                   22773: fi
                   22774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22775: $as_echo "$ntp_ok" >&6; }
                   22776: case "$ntp_ok$ntp_canparse" in
                   22777:  yesno)
                   22778:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22779: esac
                   22780: 
                   22781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking WHARTON 400A Series clock" >&5
                   22782: $as_echo_n "checking WHARTON 400A Series clock... " >&6; }
                   22783: # Check whether --enable-WHARTON was given.
                   22784: if test "${enable_WHARTON+set}" = set; then :
                   22785:   enableval=$enable_WHARTON; ntp_ok=$enableval
                   22786: else
                   22787:   ntp_ok=$ntp_eapc
                   22788: 
                   22789: fi
                   22790: 
                   22791: if test "$ntp_ok" = "yes"; then
                   22792:     ntp_libparse=yes
                   22793:     ntp_refclock=yes
                   22794: 
                   22795: $as_echo "#define CLOCK_WHARTON_400A 1" >>confdefs.h
                   22796: 
                   22797: fi
                   22798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22799: $as_echo "$ntp_ok" >&6; }
                   22800: case "$ntp_ok$ntp_canparse" in
                   22801:  yesno)
                   22802:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22803: esac
                   22804: 
                   22805: { $as_echo "$as_me:${as_lineno-$LINENO}: checking VARITEXT clock" >&5
                   22806: $as_echo_n "checking VARITEXT clock... " >&6; }
                   22807: # Check whether --enable-VARITEXT was given.
                   22808: if test "${enable_VARITEXT+set}" = set; then :
                   22809:   enableval=$enable_VARITEXT; ntp_ok=$enableval
                   22810: else
                   22811:   ntp_ok=$ntp_eapc
                   22812: 
                   22813: fi
                   22814: 
                   22815: if test "$ntp_ok" = "yes"; then
                   22816:     ntp_libparse=yes
                   22817:     ntp_refclock=yes
                   22818: 
                   22819: $as_echo "#define CLOCK_VARITEXT 1" >>confdefs.h
                   22820: 
                   22821: fi
                   22822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   22823: $as_echo "$ntp_ok" >&6; }
                   22824: case "$ntp_ok$ntp_canparse" in
                   22825:  yesno)
                   22826:     as_fn_error $? "That's a parse clock and this system doesn't support it!" "$LINENO" 5
                   22827: esac
                   22828: 
                   22829: 
                   22830: 
                   22831: 
                   22832: 
                   22833: 
                   22834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to make and use the parse libraries" >&5
                   22835: $as_echo_n "checking if we need to make and use the parse libraries... " >&6; }
                   22836: ans=no
                   22837: case "$ntp_libparse" in
                   22838:  yes)
                   22839:     ans=yes
                   22840: 
                   22841: $as_echo "#define CLOCK_PARSE 1" >>confdefs.h
                   22842: 
                   22843:     LIBPARSE=../libparse/libparse.a
                   22844:     MAKE_LIBPARSE=libparse.a
                   22845:     # HMS: check_y2k trips the 34 year problem now...
                   22846:     false && MAKE_CHECK_Y2K=check_y2k
                   22847: esac
                   22848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   22849: $as_echo "$ans" >&6; }
                   22850: 
                   22851: 
                   22852: 
                   22853: 
                   22854: 
                   22855: 
                   22856: 
                   22857: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl library directory" >&5
                   22858: $as_echo_n "checking for openssl library directory... " >&6; }
                   22859: 
                   22860: # Check whether --with-openssl-libdir was given.
                   22861: if test "${with_openssl_libdir+set}" = set; then :
                   22862:   withval=$with_openssl_libdir; ans=$withval
                   22863: else
                   22864: 
                   22865:        case "$build" in
                   22866:         $host) ans=yes ;;
                   22867:         *)     ans=no ;;
                   22868:        esac
                   22869: 
                   22870: 
                   22871: fi
                   22872: 
                   22873: case "$ans" in
                   22874:  no)
                   22875:     ;;
                   22876:  yes) # Look in:
                   22877:     ans="/usr/lib /usr/lib/openssl /usr/sfw/lib /usr/local/lib /usr/local/ssl/lib /lib"
                   22878:     ;;
                   22879:  *) # Look where they said
                   22880:     ;;
                   22881: esac
                   22882: case "$ans" in
                   22883:  no)
                   22884:     ;;
                   22885:  *) # Look for libcrypto.a and libssl.a:
                   22886:     for i in $ans no
                   22887:     do
                   22888:        case "$host" in
                   22889:         *-*-darwin*)
                   22890:            test -f $i/libcrypto.dylib -a -f $i/libssl.dylib && break
                   22891:            ;;
                   22892:         *)
                   22893:            test -f $i/libcrypto.so -a -f $i/libssl.so && break
                   22894:            test -f $i/libcrypto.a -a -f $i/libssl.a && break
                   22895:            ;;
                   22896:        esac
                   22897:     done
                   22898:     case "$i" in
                   22899:      no)
                   22900:        ans=no
                   22901:        OPENSSL_LIB=
                   22902:        ;;
                   22903:      *) ans=$i
                   22904:        OPENSSL_LIB=$ans
                   22905:        ;;
                   22906:     esac
                   22907:     ;;
                   22908: esac
                   22909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   22910: $as_echo "$ans" >&6; }
                   22911: 
                   22912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl include directory" >&5
                   22913: $as_echo_n "checking for openssl include directory... " >&6; }
                   22914: 
                   22915: # Check whether --with-openssl-incdir was given.
                   22916: if test "${with_openssl_incdir+set}" = set; then :
                   22917:   withval=$with_openssl_incdir; ans=$withval
                   22918: else
                   22919: 
                   22920:        case "$build" in
                   22921:         $host) ans=yes ;;
                   22922:         *)     ans=no ;;
                   22923:        esac
                   22924: 
                   22925: 
                   22926: fi
                   22927: 
                   22928: case "$ans" in
                   22929:  no)
                   22930:     ;;
                   22931:  yes) # look in:
                   22932:     ans="/usr/include /usr/sfw/include /usr/local/include /usr/local/ssl/include"
                   22933:     ;;
                   22934:  *) # Look where they said
                   22935:     ;;
                   22936: esac
                   22937: case "$ans" in
                   22938:  no)
                   22939:     ;;
                   22940:  *) # look for openssl/opensslconf.h:
                   22941:     for i in $ans no
                   22942:     do
                   22943:        test -f $i/openssl/opensslconf.h && break
                   22944:     done
                   22945:     case "$i" in
                   22946:      no)
                   22947:        ans=no
                   22948:        OPENSSL_INC=
                   22949:        ;;
                   22950:      *) ans=$i
                   22951:        OPENSSL_INC=$ans
                   22952:        ;;
                   22953:     esac
                   22954:     ;;
                   22955: esac
                   22956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   22957: $as_echo "$ans" >&6; }
                   22958: 
                   22959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we will use crypto" >&5
                   22960: $as_echo_n "checking if we will use crypto... " >&6; }
                   22961: 
                   22962: # Check whether --with-crypto was given.
                   22963: if test "${with_crypto+set}" = set; then :
                   22964:   withval=$with_crypto; ans=$withval
                   22965: else
                   22966:   ans=yes
                   22967: 
                   22968: fi
                   22969: 
                   22970: case "$ans" in
                   22971:  no)
                   22972:     ;;
                   22973:  yes|openssl)
                   22974:     if test -z "$OPENSSL_LIB" -o -z "$OPENSSL_INC"
                   22975:     then
                   22976:        ans=no
                   22977:     else
                   22978:        ans=yes
                   22979:     fi
                   22980: esac
                   22981: ntp_openssl=$ans
                   22982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   22983: $as_echo "$ans" >&6; }
                   22984: 
                   22985: case "$ntp_openssl" in
                   22986:  yes)
                   22987:     # We have OpenSSL inc/lib - use them.
                   22988:     case "$OPENSSL_INC" in
                   22989:      /usr/include)
                   22990:        ;;
                   22991:      *)
                   22992:        CPPFLAGS="$CPPFLAGS -I$OPENSSL_INC"
                   22993:        ;;
                   22994:     esac
                   22995:     case "$OPENSSL_LIB" in
                   22996:      /usr/lib)
                   22997:        ;;
                   22998:      *)
                   22999:        LDFLAGS="$LDFLAGS -L$OPENSSL_LIB"
                   23000:        case "$need_dash_r" in
                   23001:         1)
                   23002:            LDFLAGS="$LDFLAGS -R$OPENSSL_LIB"
                   23003:        esac
                   23004:        ;;
                   23005:     esac
                   23006:     LCRYPTO=-lcrypto
                   23007: 
                   23008: 
                   23009: $as_echo "#define OPENSSL 1" >>confdefs.h
                   23010: 
                   23011: esac
                   23012: 
                   23013: #
                   23014: # check for linking with -lcrypto failure, and try -lz -lcrypto.
                   23015: # Helps m68k-atari-mint
                   23016: #
                   23017: case "$ntp_openssl" in
                   23018:  yes)
                   23019:     NTPO_SAVED_LIBS="$LIBS"
                   23020:     LIBS="$NTPO_SAVED_LIBS $LCRYPTO"
                   23021:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linking with $LCRYPTO alone works" >&5
                   23022: $as_echo_n "checking if linking with $LCRYPTO alone works... " >&6; }
                   23023: if ${ntp_cv_bare_lcrypto+:} false; then :
                   23024:   $as_echo_n "(cached) " >&6
                   23025: else
                   23026:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23027: /* end confdefs.h.  */
                   23028: 
                   23029:                    #include "openssl/err.h"
                   23030:                    #include "openssl/evp.h"
                   23031: 
                   23032: int
                   23033: main ()
                   23034: {
                   23035: 
                   23036:                    ERR_load_crypto_strings();
                   23037:                    OpenSSL_add_all_algorithms();
                   23038: 
                   23039: 
                   23040:   ;
                   23041:   return 0;
                   23042: }
                   23043: _ACEOF
                   23044: if ac_fn_c_try_link "$LINENO"; then :
                   23045:   ntp_cv_bare_lcrypto=yes
                   23046: else
                   23047:   ntp_cv_bare_lcrypto=no
                   23048: 
                   23049: fi
                   23050: rm -f core conftest.err conftest.$ac_objext \
                   23051:     conftest$ac_exeext conftest.$ac_ext
                   23052: 
                   23053: fi
                   23054: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_bare_lcrypto" >&5
                   23055: $as_echo "$ntp_cv_bare_lcrypto" >&6; }
                   23056:     case "$ntp_cv_bare_lcrypto" in
                   23057:      no)
                   23058:        LIBS="$NTPO_SAVED_LIBS $LCRYPTO -lz"
                   23059:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if linking with $LCRYPTO -lz works" >&5
                   23060: $as_echo_n "checking if linking with $LCRYPTO -lz works... " >&6; }
                   23061: if ${ntp_cv_lcrypto_lz+:} false; then :
                   23062:   $as_echo_n "(cached) " >&6
                   23063: else
                   23064:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23065: /* end confdefs.h.  */
                   23066: 
                   23067:                        #include "openssl/err.h"
                   23068:                        #include "openssl/evp.h"
                   23069: 
                   23070: int
                   23071: main ()
                   23072: {
                   23073: 
                   23074:                        ERR_load_crypto_strings();
                   23075:                        OpenSSL_add_all_algorithms();
                   23076: 
                   23077: 
                   23078:   ;
                   23079:   return 0;
                   23080: }
                   23081: _ACEOF
                   23082: if ac_fn_c_try_link "$LINENO"; then :
                   23083:   ntp_cv_lcrypto_lz=yes
                   23084: else
                   23085:   ntp_cv_lcrypto_lz=no
                   23086: 
                   23087: fi
                   23088: rm -f core conftest.err conftest.$ac_objext \
                   23089:     conftest$ac_exeext conftest.$ac_ext
                   23090: 
                   23091: fi
                   23092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_lcrypto_lz" >&5
                   23093: $as_echo "$ntp_cv_lcrypto_lz" >&6; }
                   23094:        case "$ntp_cv_lcrypto_lz" in
                   23095:         yes)
                   23096:             LCRYPTO="$LCRYPTO -lz"
                   23097:        esac
                   23098:     esac
                   23099:     LIBS="$NTPO_SAVED_LIBS"
                   23100:     { NTPO_SAVED_LIBS=; unset NTPO_SAVED_LIBS;}
                   23101: esac
                   23102: 
                   23103: #
                   23104: # Older OpenSSL headers have a number of callback prototypes inside
                   23105: # other function prototypes which trigger copious warnings with gcc's
                   23106: # -Wstrict-prototypes, which is included in -Wall.
                   23107: #
                   23108: # An example:
                   23109: #
                   23110: # int i2d_RSA_NET(const RSA *a, unsigned char **pp,
                   23111: #                int (*cb)(), int sgckey);
                   23112: #                ^^^^^^^^^^^
                   23113: #
                   23114: #
                   23115: #
                   23116: openssl_triggers_warnings=unknown
                   23117: SAVED_CFLAGS="$CFLAGS"
                   23118: 
                   23119: case "$GCC$ntp_openssl" in
                   23120:  yesyes)
                   23121:     CFLAGS="$CFLAGS -Werror"
                   23122:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23123: /* end confdefs.h.  */
                   23124: 
                   23125: 
                   23126: int
                   23127: main ()
                   23128: {
                   23129: 
                   23130:                /* see if -Werror breaks gcc */
                   23131: 
                   23132: 
                   23133:   ;
                   23134:   return 0;
                   23135: }
                   23136: _ACEOF
                   23137: if ac_fn_c_try_compile "$LINENO"; then :
                   23138:   gcc_handles_Werror=yes
                   23139: else
                   23140:   gcc_handles_Werror=no
                   23141: 
                   23142: fi
                   23143: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   23144:     case "$gcc_handles_Werror" in
                   23145:      no)
                   23146:        # if this gcc doesn't do -Werror go ahead and use
                   23147:        # -Wstrict-prototypes.
                   23148:        openssl_triggers_warnings=yes
                   23149:        ;;
                   23150:      yes)
                   23151:        CFLAGS="$CFLAGS -Wstrict-prototypes"
                   23152:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23153: /* end confdefs.h.  */
                   23154: 
                   23155:                    #include "openssl/asn1_mac.h"
                   23156:                    #include "openssl/bn.h"
                   23157:                    #include "openssl/err.h"
                   23158:                    #include "openssl/evp.h"
                   23159:                    #include "openssl/pem.h"
                   23160:                    #include "openssl/rand.h"
                   23161:                    #include "openssl/x509v3.h"
                   23162: 
                   23163: int
                   23164: main ()
                   23165: {
                   23166: 
                   23167:                    /* empty body */
                   23168: 
                   23169: 
                   23170:   ;
                   23171:   return 0;
                   23172: }
                   23173: _ACEOF
                   23174: if ac_fn_c_try_compile "$LINENO"; then :
                   23175:   openssl_triggers_warnings=no
                   23176: else
                   23177:   openssl_triggers_warnings=yes
                   23178: 
                   23179: fi
                   23180: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   23181:     esac
                   23182:     case "$openssl_triggers_warnings" in
                   23183:      yes)
                   23184:        CFLAGS="$SAVED_CFLAGS -Wno-strict-prototypes"
                   23185:        ;;
                   23186:      *)
                   23187:        CFLAGS="$SAVED_CFLAGS -Wstrict-prototypes"
                   23188:     esac
                   23189:     ;;
                   23190:  yesno)
                   23191:     # gcc without OpenSSL
                   23192:     CFLAGS="$SAVED_CFLAGS -Wstrict-prototypes"
                   23193: esac
                   23194: 
                   23195: 
                   23196: 
                   23197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want to compile with ElectricFence" >&5
                   23198: $as_echo_n "checking if we want to compile with ElectricFence... " >&6; }
                   23199: 
                   23200: # Check whether --with-electricfence was given.
                   23201: if test "${with_electricfence+set}" = set; then :
                   23202:   withval=$with_electricfence; ans=$withval
                   23203: else
                   23204:   ans=no
                   23205: 
                   23206: fi
                   23207: 
                   23208: case "$ans" in
                   23209:  no) ;;
                   23210:  *)
                   23211:     LIBS="$LIBS \${top_builddir}/ElectricFence/libefence.a"
                   23212:     EF_PROGS="eftest tstheap"
                   23213: 
                   23214:     EF_LIBS=libefence.a
                   23215: 
                   23216:     ans=yes
                   23217:     ;;
                   23218: esac
                   23219: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23220: $as_echo "$ans" >&6; }
                   23221: 
                   23222: 
                   23223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want to run check-layout" >&5
                   23224: $as_echo_n "checking if we want to run check-layout... " >&6; }
                   23225: case "$cross_compiling$PATH_PERL" in
                   23226:  no/*)
                   23227:     MAKE_CHECK_LAYOUT=check-layout
                   23228:     ans=yes
                   23229:     ;;
                   23230:  *)
                   23231:     ans=no
                   23232:     ;;
                   23233: esac
                   23234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23235: $as_echo "$ans" >&6; }
                   23236: 
                   23237: 
                   23238: 
                   23239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can make dcf parse utilities" >&5
                   23240: $as_echo_n "checking if we can make dcf parse utilities... " >&6; }
                   23241: ans=no
                   23242: if test "$ntp_parseutil" = "yes"; then
                   23243:     case "$host" in
                   23244:      *-*-sunos4*|*-*-solaris2*|*-*-*linux*|*-*-netbsd*)
                   23245:        ans="dcfd testdcf"
                   23246:        DCFD=dcfd
                   23247:         TESTDCF=testdcf
                   23248:     esac
                   23249: fi
                   23250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23251: $as_echo "$ans" >&6; }
                   23252: 
                   23253: 
                   23254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can build kernel streams modules for parse" >&5
                   23255: $as_echo_n "checking if we can build kernel streams modules for parse... " >&6; }
                   23256: ans=no
                   23257: case "$ntp_parseutil$ac_cv_header_sys_stropts_h" in
                   23258:  yesyes)
                   23259:     case "$host" in
                   23260:      sparc-*-sunos4*)
                   23261:         case "$ntp_cv_var_kernel_pll" in
                   23262:        yes)
                   23263: 
                   23264: $as_echo "#define PPS_SYNC 1" >>confdefs.h
                   23265: 
                   23266:            ;;
                   23267:        esac
                   23268:        ans=parsestreams
                   23269:        MAKE_PARSEKMODULE=parsestreams.loadable_module.o
                   23270:        ;;
                   23271:      sparc-*-solaris2*)
                   23272:        ans=parsesolaris
                   23273:        MAKE_PARSEKMODULE=parse
                   23274:        for ac_header in strings.h
                   23275: do :
                   23276:   ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default"
                   23277: if test "x$ac_cv_header_strings_h" = xyes; then :
                   23278:   cat >>confdefs.h <<_ACEOF
                   23279: #define HAVE_STRINGS_H 1
                   23280: _ACEOF
                   23281: 
                   23282: fi
                   23283: 
                   23284: done
                   23285: 
                   23286:        ;;
                   23287:     esac
                   23288:     ;;
                   23289: esac
                   23290: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23291: $as_echo "$ans" >&6; }
                   23292: 
                   23293: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need basic refclock support" >&5
                   23294: $as_echo_n "checking if we need basic refclock support... " >&6; }
                   23295: if test "$ntp_refclock" = "yes"; then
                   23296: 
                   23297: $as_echo "#define REFCLOCK 1" >>confdefs.h
                   23298: 
                   23299: fi
                   23300: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_refclock" >&5
                   23301: $as_echo "$ntp_refclock" >&6; }
                   23302: 
                   23303: 
                   23304: 
                   23305: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want HP-UX adjtimed support" >&5
                   23306: $as_echo_n "checking if we want HP-UX adjtimed support... " >&6; }
                   23307: case "$host" in
                   23308:  *-*-hpux[56789]*)
                   23309:     ans=yes
                   23310:     ;;
                   23311:  *) ans=no
                   23312:     ;;
                   23313: esac
                   23314: if test "$ans" = "yes"; then
                   23315:     MAKE_ADJTIMED=adjtimed
                   23316: 
                   23317: $as_echo "#define NEED_HPUX_ADJTIME 1" >>confdefs.h
                   23318: 
                   23319: fi
                   23320: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23321: $as_echo "$ans" >&6; }
                   23322: 
                   23323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want QNX adjtime support" >&5
                   23324: $as_echo_n "checking if we want QNX adjtime support... " >&6; }
                   23325: case "$host" in
                   23326:  *-*-qnx*)
                   23327:     ans=yes
                   23328:     ;;
                   23329:  *) ans=no
                   23330:     ;;
                   23331: esac
                   23332: if test "$ans" = "yes"; then
                   23333: 
                   23334: $as_echo "#define NEED_QNX_ADJTIME 1" >>confdefs.h
                   23335: 
                   23336: fi
                   23337: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23338: $as_echo "$ans" >&6; }
                   23339: 
                   23340: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can read kmem" >&5
                   23341: $as_echo_n "checking if we can read kmem... " >&6; }
                   23342: 
                   23343: #  the default is to enable it if the system has the capability
                   23344: 
                   23345: case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in
                   23346:  *yes*)
                   23347:     ans=yes
                   23348:     ;;
                   23349:  *) ans=no
                   23350: esac
                   23351: 
                   23352: case "$host" in
                   23353:  *-*-domainos) # Won't be found...
                   23354:     ans=no
                   23355:     ;;
                   23356:  *-*-hpux*)
                   23357:     #ans=no
                   23358:     ;;
                   23359:  *-*-irix[456]*)
                   23360:     ans=no
                   23361:     ;;
                   23362:  *-*-*linux*)
                   23363:     ans=no
                   23364:     ;;
                   23365:  *-*-winnt3.5)
                   23366:     ans=no
                   23367:     ;;
                   23368:  *-*-unicosmp*)
                   23369:     ans=no
                   23370:     ;;
                   23371: esac
                   23372: 
                   23373: # --enable-kmem / --disable-kmem controls if present
                   23374: # Check whether --enable-kmem was given.
                   23375: if test "${enable_kmem+set}" = set; then :
                   23376:   enableval=$enable_kmem; ans=$enableval
                   23377: 
                   23378: fi
                   23379: 
                   23380: 
                   23381: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23382: $as_echo "$ans" >&6; }
                   23383: 
                   23384: case "$ans" in
                   23385:  yes)
                   23386:     can_kmem=yes
                   23387:     ;;
                   23388:  *)
                   23389:     can_kmem=no
                   23390: 
                   23391: $as_echo "#define NOKMEM 1" >>confdefs.h
                   23392: 
                   23393: esac
                   23394: 
                   23395: 
                   23396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if adjtime is accurate" >&5
                   23397: $as_echo_n "checking if adjtime is accurate... " >&6; }
                   23398: 
                   23399: # target-dependent defaults
                   23400: 
                   23401: case "$host" in
                   23402:  i386-sequent-ptx*)
                   23403:     ans=no
                   23404:     ;;
                   23405:  i386-unknown-osf1*)
                   23406:     ans=yes
                   23407:     ;;
                   23408:  mips-sgi-irix[456]*)
                   23409:     ans=yes
                   23410:     ;;
                   23411:  *-fujitsu-uxp*)
                   23412:     ans=yes
                   23413:     ;;
                   23414:  *-ibm-aix[456]*)
                   23415:     ans=yes
                   23416:     ;;
                   23417:  *-*-*linux*)
                   23418:     ans=yes
                   23419:     ;;
                   23420:  *-*-solaris2.[01])
                   23421:     ans=no
                   23422:     ;;
                   23423:  *-*-solaris2*)
                   23424:     ans=yes
                   23425:     ;;
                   23426:  *-*-unicosmp*)
                   23427:     ans=yes
                   23428:     ;;
                   23429:  *) ans=no
                   23430: esac
                   23431: 
                   23432: # --enable-accurate-adjtime / --disable-accurate-adjtime
                   23433: # override the default
                   23434: # Check whether --enable-accurate-adjtime was given.
                   23435: if test "${enable_accurate_adjtime+set}" = set; then :
                   23436:   enableval=$enable_accurate_adjtime; ans=$enableval
                   23437: 
                   23438: fi
                   23439: 
                   23440: 
                   23441: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23442: $as_echo "$ans" >&6; }
                   23443: 
                   23444: case "$ans" in
                   23445:  yes)
                   23446: 
                   23447: $as_echo "#define ADJTIME_IS_ACCURATE 1" >>confdefs.h
                   23448: 
                   23449:     adjtime_is_accurate=yes
                   23450:     ;;
                   23451:  *)
                   23452:     adjtime_is_accurate=no
                   23453:     ;;
                   23454: esac
                   23455: 
                   23456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name of 'tick' in the kernel" >&5
                   23457: $as_echo_n "checking the name of 'tick' in the kernel... " >&6; }
                   23458: if ${ntp_cv_nlist_tick+:} false; then :
                   23459:   $as_echo_n "(cached) " >&6
                   23460: else
                   23461: 
                   23462:        ans=_tick
                   23463:        case "$host" in
                   23464:         m68*-hp-hpux*) # HP9000/300?
                   23465:            ans=_old_tick
                   23466:            ;;
                   23467:         *-apple-aux[23]*)
                   23468:            ans=tick
                   23469:            ;;
                   23470:         *-hp-hpux*)
                   23471:            ans=old_tick
                   23472:            ;;
                   23473:         *-ibm-aix[3456]*)
                   23474:            ans=no
                   23475:            ;;
                   23476:         *-*-mpeix*)
                   23477:            ans=no
                   23478:            ;;
                   23479:         *-*-ptx*)
                   23480:            ans=tick
                   23481:            ;;
                   23482:         *-*-sco3.2v[45]*)
                   23483:            ans=no
                   23484:            ;;
                   23485:         *-*-solaris2*)
                   23486:            ans=nsec_per_tick
                   23487:            ;;
                   23488:         *-*-sysv4*)
                   23489:            ans=tick
                   23490:            ;;
                   23491:        esac
                   23492:        ntp_cv_nlist_tick=$ans
                   23493: 
                   23494: 
                   23495: fi
                   23496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_tick" >&5
                   23497: $as_echo "$ntp_cv_nlist_tick" >&6; }
                   23498: case "$ntp_cv_nlist_tick" in
                   23499:  ''|no)
                   23500:     ;; # HMS: I think we can only get 'no' here...
                   23501:  *)
                   23502: 
                   23503: cat >>confdefs.h <<_ACEOF
                   23504: #define K_TICK_NAME "$ntp_cv_nlist_tick"
                   23505: _ACEOF
                   23506: 
                   23507: esac
                   23508: 
                   23509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the units of 'tick'" >&5
                   23510: $as_echo_n "checking for the units of 'tick'... " >&6; }
                   23511: if ${ntp_cv_tick_nano+:} false; then :
                   23512:   $as_echo_n "(cached) " >&6
                   23513: else
                   23514: 
                   23515:        ans=usec
                   23516:        case "$host" in
                   23517:         *-*-solaris2*)
                   23518:            ans=nsec
                   23519:            ;;
                   23520:        esac
                   23521:        ntp_cv_tick_nano=$ans
                   23522: 
                   23523: 
                   23524: fi
                   23525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_tick_nano" >&5
                   23526: $as_echo "$ntp_cv_tick_nano" >&6; }
                   23527: case "$ntp_cv_tick_nano" in
                   23528:  nsec)
                   23529: 
                   23530: $as_echo "#define TICK_NANO 1" >>confdefs.h
                   23531: 
                   23532: esac
                   23533: 
                   23534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name of 'tickadj' in the kernel" >&5
                   23535: $as_echo_n "checking the name of 'tickadj' in the kernel... " >&6; }
                   23536: if ${ntp_cv_nlist_tickadj+:} false; then :
                   23537:   $as_echo_n "(cached) " >&6
                   23538: else
                   23539: 
                   23540:        ans=_tickadj
                   23541:        case "$host" in
                   23542:         m68*-hp-hpux*) # HP9000/300?
                   23543:            ans=_tickadj
                   23544:            ;;
                   23545:         *-apple-aux[23]*)
                   23546:            ans=tickadj
                   23547:            ;;
                   23548:         *-hp-hpux10*)
                   23549:            ans=no
                   23550:            ;;
                   23551:         *-hp-hpux9*)
                   23552:            ans=no
                   23553:            ;;
                   23554:         *-hp-hpux*)
                   23555:            ans=tickadj
                   23556:            ;;
                   23557:         *-*-aix*)
                   23558:            ans=tickadj
                   23559:            ;;
                   23560:         *-*-mpeix*)
                   23561:            ans=no
                   23562:            ;;
                   23563:         *-*-ptx*)
                   23564:            ans=tickadj
                   23565:            ;;
                   23566:         *-*-sco3.2v4*)
                   23567:            ans=no
                   23568:            ;;
                   23569:         *-*-sco3.2v5.0*)
                   23570:            ans=clock_drift
                   23571:            ;;
                   23572:         *-*-solaris2*)
                   23573:            ans=no      # hrestime_adj
                   23574:            ;;
                   23575:         *-*-sysv4*)
                   23576:            ans=tickadj
                   23577:            ;;
                   23578:        esac
                   23579:        ntp_cv_nlist_tickadj=$ans
                   23580: 
                   23581: 
                   23582: fi
                   23583: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_tickadj" >&5
                   23584: $as_echo "$ntp_cv_nlist_tickadj" >&6; }
                   23585: case "$ntp_cv_nlist_tickadj" in
                   23586:  ''|no)
                   23587:     ;; # HMS: I think we can only get 'no' here...
                   23588:  *)
                   23589: 
                   23590: cat >>confdefs.h <<_ACEOF
                   23591: #define K_TICKADJ_NAME "$ntp_cv_nlist_tickadj"
                   23592: _ACEOF
                   23593: 
                   23594: esac
                   23595: 
                   23596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the units of 'tickadj'" >&5
                   23597: $as_echo_n "checking for the units of 'tickadj'... " >&6; }
                   23598: if ${ntp_cv_tickadj_nano+:} false; then :
                   23599:   $as_echo_n "(cached) " >&6
                   23600: else
                   23601: 
                   23602:        ans=usec
                   23603:        case "$host" in
                   23604:         *-*-solaris2*)
                   23605:            ans=nsec
                   23606:            ;;
                   23607:        esac
                   23608:        ntp_cv_tickadj_nano=$ans
                   23609: 
                   23610: 
                   23611: fi
                   23612: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_tickadj_nano" >&5
                   23613: $as_echo "$ntp_cv_tickadj_nano" >&6; }
                   23614: case "$ntp_cv_tickadj_nano" in
                   23615:  nsec)
                   23616: 
                   23617: $as_echo "#define TICKADJ_NANO 1" >>confdefs.h
                   23618: 
                   23619: esac
                   23620: 
                   23621: { $as_echo "$as_me:${as_lineno-$LINENO}: checking half-heartedly for 'dosynctodr' in the kernel" >&5
                   23622: $as_echo_n "checking half-heartedly for 'dosynctodr' in the kernel... " >&6; }
                   23623: if ${ntp_cv_nlist_dosynctodr+:} false; then :
                   23624:   $as_echo_n "(cached) " >&6
                   23625: else
                   23626: 
                   23627:        case "$host" in
                   23628:         *-apple-aux[23]*)
                   23629:            ans=no
                   23630:            ;;
                   23631:         *-sni-sysv*)
                   23632:            ans=dosynctodr
                   23633:            ;;
                   23634:         *-*-aix*)
                   23635:            ans=dosynctodr
                   23636:            ;;
                   23637:         *-*-hpux*)
                   23638:            ans=no
                   23639:            ;;
                   23640:         *-*-mpeix*)
                   23641:            ans=no
                   23642:            ;;
                   23643:         *-*-nextstep*)
                   23644:            ans=_dosynctodr
                   23645:            ;;
                   23646:         *-*-ptx*)
                   23647:            ans=doresettodr
                   23648:            ;;
                   23649:         *-*-sco3.2v4*)
                   23650:            ans=no
                   23651:            ;;
                   23652:         *-*-sco3.2v5*)
                   23653:            ans=track_rtc
                   23654:            ;;
                   23655:         *-*-solaris2*)
                   23656:            ans=dosynctodr
                   23657:            ;;
                   23658:         *-*-sysv4*)
                   23659:            ans=doresettodr
                   23660:            ;;
                   23661:         *)
                   23662:            ans=_dosynctodr
                   23663:            ;;
                   23664:        esac
                   23665:        ntp_cv_nlist_dosynctodr=$ans
                   23666: 
                   23667: 
                   23668: fi
                   23669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_dosynctodr" >&5
                   23670: $as_echo "$ntp_cv_nlist_dosynctodr" >&6; }
                   23671: case "$ntp_cv_nlist_dosynctodr" in
                   23672:  no)
                   23673:     ;;
                   23674:  *)
                   23675: 
                   23676: cat >>confdefs.h <<_ACEOF
                   23677: #define K_DOSYNCTODR_NAME "$ntp_cv_nlist_dosynctodr"
                   23678: _ACEOF
                   23679: 
                   23680:     ;;
                   23681: esac
                   23682: 
                   23683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking half-heartedly for 'noprintf' in the kernel" >&5
                   23684: $as_echo_n "checking half-heartedly for 'noprintf' in the kernel... " >&6; }
                   23685: if ${ntp_cv_nlist_noprintf+:} false; then :
                   23686:   $as_echo_n "(cached) " >&6
                   23687: else
                   23688: 
                   23689:        case "$host" in
                   23690:         *-apple-aux[23]*)
                   23691:            ans=no
                   23692:            ;;
                   23693:         *-sni-sysv*)
                   23694:            ans=noprintf
                   23695:            ;;
                   23696:         *-*-aix*)
                   23697:            ans=noprintf
                   23698:            ;;
                   23699:         *-*-hpux*)
                   23700:            ans=no
                   23701:            ;;
                   23702:         *-*-mpeix*)
                   23703:            ans=no
                   23704:            ;;
                   23705:         *-*-ptx*)
                   23706:            ans=noprintf
                   23707:            ;;
                   23708:         *-*-nextstep*)
                   23709:            ans=_noprintf
                   23710:            ;;
                   23711:         *-*-solaris2*)
                   23712:            ans=noprintf
                   23713:            ;;
                   23714:         *-*-sysv4*)
                   23715:            ans=noprintf
                   23716:            ;;
                   23717:         *)
                   23718:            ans=_noprintf
                   23719:            ;;
                   23720:        esac
                   23721:        ntp_cv_nlist_noprintf=$ans
                   23722: 
                   23723: 
                   23724: fi
                   23725: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_nlist_noprintf" >&5
                   23726: $as_echo "$ntp_cv_nlist_noprintf" >&6; }
                   23727: case "$ntp_cv_nlist_noprintf" in
                   23728:  no)
                   23729:     ;;
                   23730:  *)
                   23731: 
                   23732: cat >>confdefs.h <<_ACEOF
                   23733: #define K_NOPRINTF_NAME "$ntp_cv_nlist_noprintf"
                   23734: _ACEOF
                   23735: 
                   23736:     ;;
                   23737: esac
                   23738: 
                   23739: 
                   23740: 
                   23741: 
                   23742: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a default value for 'tick'" >&5
                   23743: $as_echo_n "checking for a default value for 'tick'... " >&6; }
                   23744: 
                   23745: # target-dependent default for tick
                   23746: 
                   23747: case "$host" in
                   23748:  *-*-pc-cygwin*)
                   23749:     as_fn_error $? "tick needs work for cygwin" "$LINENO" 5
                   23750:     ;;
                   23751:  *-univel-sysv*)
                   23752:     ans=10000
                   23753:     ;;
                   23754:  *-*-irix*)
                   23755:     ans=10000
                   23756:     ;;
                   23757:  *-*-*linux*)
                   23758:     ans=txc.tick
                   23759:     ;;
                   23760:  *-*-mpeix*)
                   23761:     ans=no
                   23762:     ;;
                   23763:  *-*-winnt3.5)
                   23764:     ans='(every / 10)'
                   23765:     ;;
                   23766:  *-*-unicosmp*)
                   23767:     ans=10000
                   23768:     ;;
                   23769:  *)
                   23770:     ans='1000000L/hz'
                   23771:     ;;
                   23772: esac
                   23773: 
                   23774: # Check whether --enable-tick was given.
                   23775: if test "${enable_tick+set}" = set; then :
                   23776:   enableval=$enable_tick; ans=$enableval
                   23777: 
                   23778: fi
                   23779: 
                   23780: 
                   23781: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23782: $as_echo "$ans" >&6; }
                   23783: 
                   23784: case "$ans" in
                   23785:  ''|no)
                   23786:     ;; # HMS: I think we can only get 'no' here...
                   23787:  *)
                   23788: 
                   23789: cat >>confdefs.h <<_ACEOF
                   23790: #define PRESET_TICK $ans
                   23791: _ACEOF
                   23792: 
                   23793: esac
                   23794: 
                   23795: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a default value for 'tickadj'" >&5
                   23796: $as_echo_n "checking for a default value for 'tickadj'... " >&6; }
                   23797: 
                   23798: # target-specific default
                   23799: ans='500/hz'
                   23800: case "$host" in
                   23801:  *-fujitsu-uxp*)
                   23802:     case "$adjtime_is_accurate" in
                   23803:      yes)
                   23804:        ans='tick/16'
                   23805:     esac
                   23806:     ;;
                   23807:  *-univel-sysv*)
                   23808:     ans=80
                   23809:     ;;
                   23810:  *-*-aix*)
                   23811:     case "$can_kmem" in
                   23812:      no)
                   23813:        ans=1000
                   23814:     esac
                   23815:     ;;
                   23816:  *-*-domainos) # Skippy: won't be found...
                   23817:     case "$can_kmem" in
                   23818:      no)
                   23819:        ans=668
                   23820:     esac
                   23821:     ;;
                   23822:  *-*-hpux*)
                   23823:     case "$adjtime_is_accurate" in
                   23824:      yes)
                   23825:        ans='tick/16'
                   23826:     esac
                   23827:     ;;
                   23828:  *-*-irix*)
                   23829:     ans=150
                   23830:     ;;
                   23831:  *-*-mpeix*)
                   23832:     ans=no
                   23833:     ;;
                   23834:  *-*-sco3.2v5.0*)
                   23835:     ans=10000L/hz
                   23836:     ;;
                   23837:  *-*-winnt3.5)
                   23838:     ans=50
                   23839:     ;;
                   23840:  *-*-unicosmp*)
                   23841:     ans=150
                   23842: esac
                   23843: 
                   23844: # Check whether --enable-tickadj was given.
                   23845: if test "${enable_tickadj+set}" = set; then :
                   23846:   enableval=$enable_tickadj; ans=$enableval
                   23847: 
                   23848: fi
                   23849: 
                   23850: 
                   23851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   23852: $as_echo "$ans" >&6; }
                   23853: 
                   23854: default_tickadj=$ans
                   23855: 
                   23856: case "$default_tickadj" in
                   23857:  ''|no)
                   23858:     ;; # HMS: I think we can only get 'no' here...
                   23859:  *)
                   23860: 
                   23861: cat >>confdefs.h <<_ACEOF
                   23862: #define PRESET_TICKADJ $default_tickadj
                   23863: _ACEOF
                   23864:  ;;
                   23865: esac
                   23866: 
                   23867: # Newer versions of ReliantUNIX round adjtime() values down to
                   23868: # 1/100s (system tick). Sigh ...
                   23869: # Unfortunately, there is no easy way to know if particular release
                   23870: # has this "feature" or any obvious way to test for it.
                   23871: case "$host" in
                   23872:  mips-sni-sysv4*)
                   23873: 
                   23874: $as_echo "#define RELIANTUNIX_CLOCK 1" >>confdefs.h
                   23875: 
                   23876: esac
                   23877: 
                   23878: case "$host" in
                   23879:  *-*-sco3.2v5*)
                   23880: 
                   23881: $as_echo "#define SCO5_CLOCK 1" >>confdefs.h
                   23882: 
                   23883: esac
                   23884: 
                   23885: ntp_cv_make_tickadj=yes
                   23886: case "$can_kmem$ac_cv_var_tick$default_tickadj" in
                   23887:  nonono)       # Don't read KMEM, no presets.  Bogus.
                   23888:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem, no PRESET_TICK or PRESET_TICKADJ.  No tickadj." >&5
                   23889: $as_echo "$as_me: WARNING: Can't read kmem, no PRESET_TICK or PRESET_TICKADJ.  No tickadj." >&2;}
                   23890:     ntp_cv_make_tickadj=no
                   23891:     ;;
                   23892:  nono*)                # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ.  Bogus.
                   23893:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem but no PRESET_TICK.  No tickadj." >&5
                   23894: $as_echo "$as_me: WARNING: Can't read kmem but no PRESET_TICK.  No tickadj." >&2;}
                   23895:     ntp_cv_make_tickadj=no
                   23896:     ;;
                   23897:  no*no)                # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ.  Bogus.
                   23898:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't read kmem but no PRESET_TICKADJ.  No tickadj." >&5
                   23899: $as_echo "$as_me: WARNING: Can't read kmem but no PRESET_TICKADJ.  No tickadj." >&2;}
                   23900:     ntp_cv_make_tickadj=no
                   23901:     ;;
                   23902:  no*)          # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ.  Cool.
                   23903:     ;;
                   23904:  yesnono)      # Read KMEM, no presets.  Cool.
                   23905:     ;;
                   23906:  yesno*)       # Read KMEM, no PRESET_TICK but PRESET_TICKADJ.  Bogus.
                   23907:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK.  Please report this." >&5
                   23908: $as_echo "$as_me: WARNING: PRESET_TICKADJ is defined but not PRESET_TICK.  Please report this." >&2;}
                   23909:     ;;
                   23910:  yes*no)       # Read KMEM, PRESET_TICK but no PRESET_TICKADJ.  Cool.
                   23911:     ;;
                   23912:  yes*)         # READ KMEM, PRESET_TICK and PRESET_TICKADJ.
                   23913:     ;;
                   23914:  *)            # Generally bogus.
                   23915:     as_fn_error $? "This shouldn't happen." "$LINENO" 5
                   23916:     ;;
                   23917: esac
                   23918: 
                   23919: 
                   23920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want and can make the ntptime utility" >&5
                   23921: $as_echo_n "checking if we want and can make the ntptime utility... " >&6; }
                   23922: if ${ac_cv_make_ntptime+:} false; then :
                   23923:   $as_echo_n "(cached) " >&6
                   23924: else
                   23925:   case "$host" in
                   23926:  *) case "$ntp_cv_struct_ntptimeval$ntp_cv_var_kernel_pll" in
                   23927:      yesyes)
                   23928:        ans=yes
                   23929:        ;;
                   23930:      *)
                   23931:        ans=no
                   23932:        ;;
                   23933:     esac
                   23934:     ;;
                   23935: esac
                   23936: ac_cv_make_ntptime=$ans
                   23937: fi
                   23938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_make_ntptime" >&5
                   23939: $as_echo "$ac_cv_make_ntptime" >&6; }
                   23940: case "$ac_cv_make_ntptime" in
                   23941:  yes)
                   23942:     MAKE_NTPTIME=ntptime
                   23943:     ;;
                   23944: esac
                   23945: 
                   23946: 
                   23947: case "$host" in
                   23948:  mips-sni-sysv4*)
                   23949:     # tickadj is pretty useless on newer versions of ReliantUNIX
                   23950:     # Do not bother
                   23951:     ntp_cv_make_tickadj=no
                   23952:     ;;
                   23953:  *-*-irix*)
                   23954:     ntp_cv_make_tickadj=no
                   23955:     ;;
                   23956:  *-*-solaris2*)
                   23957:     # DLM says tickadj is a no-no starting with solaris2.5
                   23958:     case "$host" in
                   23959:      *-*-solaris2.1[0-9]*)
                   23960:        ntp_cv_make_tickadj=no
                   23961:        ;;
                   23962:      *-*-solaris2.[0-4]*) ;;
                   23963:      *) ntp_cv_make_tickadj=no ;;
                   23964:     esac
                   23965:     ;;
                   23966:  *-*-unicosmp*)
                   23967:     ntp_cv_make_tickadj=no
                   23968:     ;;
                   23969: esac
                   23970: 
                   23971: #
                   23972: # Despite all the above, we always make tickadj.  Setting
                   23973: # ntp_cv_make_tickadj before AC_CACHE_CHECK will cause a false
                   23974: # report that the configuration variable was cached.  It may
                   23975: # be better to simply remove the hunk above, I did not want
                   23976: # to remove it if there is hope it will be used again.
                   23977: #
                   23978: { ntp_cv_make_tickadj=; unset ntp_cv_make_tickadj;}
                   23979: 
                   23980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want and can make the tickadj utility" >&5
                   23981: $as_echo_n "checking if we want and can make the tickadj utility... " >&6; }
                   23982: if ${ntp_cv_make_tickadj+:} false; then :
                   23983:   $as_echo_n "(cached) " >&6
                   23984: else
                   23985:   ntp_cv_make_tickadj=yes
                   23986: 
                   23987: fi
                   23988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_make_tickadj" >&5
                   23989: $as_echo "$ntp_cv_make_tickadj" >&6; }
                   23990: case "$ntp_cv_make_tickadj" in
                   23991:  yes)
                   23992:     MAKE_TICKADJ=tickadj
                   23993: esac
                   23994: 
                   23995: 
                   23996: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want and can make the timetrim utility" >&5
                   23997: $as_echo_n "checking if we want and can make the timetrim utility... " >&6; }
                   23998: if ${ntp_cv_make_timetrim+:} false; then :
                   23999:   $as_echo_n "(cached) " >&6
                   24000: else
                   24001: 
                   24002:        case "$host" in
                   24003:         *-*-irix*)
                   24004:            ntp_cv_make_timetrim=yes
                   24005:            ;;
                   24006:         *-*-unicosmp*)
                   24007:            ntp_cv_make_timetrim=yes
                   24008:            ;;
                   24009:         *)
                   24010:            ntp_cv_make_timetrim=no
                   24011:            ;;
                   24012:        esac
                   24013: 
                   24014: 
                   24015: fi
                   24016: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_make_timetrim" >&5
                   24017: $as_echo "$ntp_cv_make_timetrim" >&6; }
                   24018: case "$ntp_cv_make_timetrim" in
                   24019:  yes)
                   24020:     MAKE_TIMETRIM=timetrim
                   24021: esac
                   24022: 
                   24023: 
                   24024: 
                   24025: 
                   24026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want to build the NTPD simulator" >&5
                   24027: $as_echo_n "checking if we want to build the NTPD simulator... " >&6; }
                   24028: # Check whether --enable-simulator was given.
                   24029: if test "${enable_simulator+set}" = set; then :
                   24030:   enableval=$enable_simulator; ans=$enableval
                   24031: else
                   24032:   ans=no
                   24033: 
                   24034: fi
                   24035: 
                   24036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24037: $as_echo "$ans" >&6; }
                   24038: case "$ans" in
                   24039:  yes)
                   24040:     MAKE_NTPDSIM=ntpdsim
                   24041:     MAKE_LIBNTPSIM=libntpsim.a
                   24042: esac
                   24043: 
                   24044: case "$build" in
                   24045:  $host)
                   24046:     ;;
                   24047:  *) case "$host" in
                   24048:      *-*-vxworks*)
                   24049:        LDFLAGS="$LDFLAGS -r"
                   24050:        ;;
                   24051:     esac
                   24052:     ;;
                   24053: esac
                   24054: 
                   24055: 
                   24056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want to build ntpsnmpd" >&5
                   24057: $as_echo_n "checking if we want to build ntpsnmpd... " >&6; }
                   24058: 
                   24059: # Check whether --with-ntpsnmpd was given.
                   24060: if test "${with_ntpsnmpd+set}" = set; then :
                   24061:   withval=$with_ntpsnmpd; ans=$withval
                   24062: else
                   24063: 
                   24064:        case "$PATH_NET_SNMP_CONFIG" in
                   24065:         /*)    ans=yes ;;
                   24066:         *)     ans=no  ;;
                   24067:        esac
                   24068: 
                   24069: 
                   24070: fi
                   24071: 
                   24072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24073: $as_echo "$ans" >&6; }
                   24074: case "$ans" in
                   24075:  yes)
                   24076:     case "$PATH_NET_SNMP_CONFIG" in
                   24077:      /*)
                   24078:        SNMP_LIBS=`$PATH_NET_SNMP_CONFIG --agent-libs`
                   24079: 
                   24080:        # HMS: we really want to separate CPPFLAGS and CFLAGS
                   24081:        foo=`$PATH_NET_SNMP_CONFIG --cflags`
                   24082:        SNMP_CPPFLAGS=
                   24083:        SNMP_CFLAGS=
                   24084:        for i in $foo; do
                   24085:            case "$i" in
                   24086:             -D*|-U*|-I*)
                   24087:                SNMP_CPPFLAGS="$SNMP_CPPFLAGS $i"
                   24088:                ;;
                   24089:            *)  SNMP_CFLAGS="$SNMP_CFLAGS $i"
                   24090:                ;;
                   24091:            esac
                   24092:        done
                   24093: 
                   24094: 
                   24095: 
                   24096:        save_CFLAGS=$CFLAGS
                   24097:        save_CPPFLAGS=$CPPFLAGS
                   24098:        save_LIBS=$LIBS
                   24099:        CFLAGS=$SNMP_CFLAGS
                   24100:        CPPFLAGS=$SNMP_CPPFLAGS
                   24101: 
                   24102:        ac_fn_c_check_header_mongrel "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "$ac_includes_default"
                   24103: if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes; then :
                   24104:   MAKE_NTPSNMPD=ntpsnmpd
                   24105: else
                   24106:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: net-snmp-config present but net-snmp headers are not available!" >&5
                   24107: $as_echo "$as_me: WARNING: net-snmp-config present but net-snmp headers are not available!" >&2;}
                   24108: 
                   24109: fi
                   24110: 
                   24111: 
                   24112: 
                   24113:        # Do this last, as we're messing up LIBS.
                   24114:        # check -lnetsnmp for netsnmp_daemonize
                   24115:        LIBS=`$PATH_NET_SNMP_CONFIG --libs`
                   24116:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netsnmp_daemonize in -lnetsnmp" >&5
                   24117: $as_echo_n "checking for netsnmp_daemonize in -lnetsnmp... " >&6; }
                   24118: if ${ac_cv_lib_netsnmp_netsnmp_daemonize+:} false; then :
                   24119:   $as_echo_n "(cached) " >&6
                   24120: else
                   24121:   ac_check_lib_save_LIBS=$LIBS
                   24122: LIBS="-lnetsnmp  $LIBS"
                   24123: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24124: /* end confdefs.h.  */
                   24125: 
                   24126: /* Override any GCC internal prototype to avoid an error.
                   24127:    Use char because int might match the return type of a GCC
                   24128:    builtin and then its argument prototype would still apply.  */
                   24129: #ifdef __cplusplus
                   24130: extern "C"
                   24131: #endif
                   24132: char netsnmp_daemonize ();
                   24133: int
                   24134: main ()
                   24135: {
                   24136: return netsnmp_daemonize ();
                   24137:   ;
                   24138:   return 0;
                   24139: }
                   24140: _ACEOF
                   24141: if ac_fn_c_try_link "$LINENO"; then :
                   24142:   ac_cv_lib_netsnmp_netsnmp_daemonize=yes
                   24143: else
                   24144:   ac_cv_lib_netsnmp_netsnmp_daemonize=no
                   24145: fi
                   24146: rm -f core conftest.err conftest.$ac_objext \
                   24147:     conftest$ac_exeext conftest.$ac_ext
                   24148: LIBS=$ac_check_lib_save_LIBS
                   24149: fi
                   24150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_netsnmp_daemonize" >&5
                   24151: $as_echo "$ac_cv_lib_netsnmp_netsnmp_daemonize" >&6; }
                   24152: if test "x$ac_cv_lib_netsnmp_netsnmp_daemonize" = xyes; then :
                   24153:   ans=yes
                   24154: else
                   24155:   ans=no
                   24156: 
                   24157: fi
                   24158: 
                   24159:        case "$ans" in
                   24160:         no)
                   24161: 
                   24162: $as_echo "#define NEED_NETSNMP_DAEMONIZE 1" >>confdefs.h
                   24163: 
                   24164:        esac
                   24165: 
                   24166:        CFLAGS=$save_CFLAGS
                   24167:        CPPFLAGS=$save_CPPFLAGS
                   24168:        LIBS=$save_LIBS
                   24169:        ;;
                   24170:      *)
                   24171:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot build ntpsnmpd - net-snmp-config cannot be found" >&5
                   24172: $as_echo "$as_me: WARNING: Cannot build ntpsnmpd - net-snmp-config cannot be found" >&2;}
                   24173:        ;;
                   24174:     esac
                   24175:     ;;
                   24176: esac
                   24177: 
                   24178: 
                   24179: 
                   24180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should always slew the time" >&5
                   24181: $as_echo_n "checking if we should always slew the time... " >&6; }
                   24182: 
                   24183: # target-specific defaults
                   24184: 
                   24185: case "$host" in
                   24186:  *-apple-aux[23]*)
                   24187:     ans=yes
                   24188:     ;;
                   24189:  *-*-bsdi[012]*)
                   24190:     ans=no
                   24191:     ;;
                   24192:  *-*-bsdi*)
                   24193:     ans=yes
                   24194:     ;;
                   24195:  *-*-openvms*) # HMS: won't be found
                   24196:     ans=yes
                   24197:     ;;
                   24198:  *) ans=no
                   24199:     ;;
                   24200: esac
                   24201: 
                   24202: # --enable-slew-always / --disable-slew-always overrides default
                   24203: 
                   24204: # Check whether --enable-slew-always was given.
                   24205: if test "${enable_slew_always+set}" = set; then :
                   24206:   enableval=$enable_slew_always; ans=$enableval
                   24207: 
                   24208: fi
                   24209: 
                   24210: 
                   24211: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24212: $as_echo "$ans" >&6; }
                   24213: 
                   24214: case "$ans" in
                   24215:  yes)
                   24216: 
                   24217: $as_echo "#define SLEWALWAYS 1" >>confdefs.h
                   24218: 
                   24219: esac
                   24220: 
                   24221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should step and slew the time" >&5
                   24222: $as_echo_n "checking if we should step and slew the time... " >&6; }
                   24223: 
                   24224: case "$host" in
                   24225:  *-sni-sysv*)
                   24226:     ans=yes
                   24227:     ;;
                   24228:  *-univel-sysv*)
                   24229:     ans=no
                   24230:     ;;
                   24231:  *-*-ptx*)
                   24232:     ans=yes
                   24233:     ;;
                   24234:  *-*-solaris2.1[0-9]*)
                   24235:     ans=no
                   24236:     ;;
                   24237:  *-*-solaris2.[012]*)
                   24238:     ans=yes
                   24239:     ;;
                   24240:  *-*-sysv4*)   # HMS: Does this catch Fujitsu UXP?
                   24241:     ans=yes
                   24242:     ;;
                   24243:  *) ans=no
                   24244:     ;;
                   24245: esac
                   24246: 
                   24247: # Check whether --enable-step-slew was given.
                   24248: if test "${enable_step_slew+set}" = set; then :
                   24249:   enableval=$enable_step_slew; ans=$enableval
                   24250: 
                   24251: fi
                   24252: 
                   24253: 
                   24254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24255: $as_echo "$ans" >&6; }
                   24256: 
                   24257: case "$ans" in
                   24258:  yes)
                   24259: 
                   24260: $as_echo "#define STEP_SLEW 1" >>confdefs.h
                   24261: 
                   24262: esac
                   24263: 
                   24264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ntpdate should step the time" >&5
                   24265: $as_echo_n "checking if ntpdate should step the time... " >&6; }
                   24266: 
                   24267: case "$host" in
                   24268:  *-apple-aux[23]*)
                   24269:     ans=yes
                   24270:     ;;
                   24271:  *) ans=no
                   24272: esac
                   24273: 
                   24274: # Check whether --enable-ntpdate-step was given.
                   24275: if test "${enable_ntpdate_step+set}" = set; then :
                   24276:   enableval=$enable_ntpdate_step; ans=$enableval
                   24277: 
                   24278: fi
                   24279: 
                   24280: 
                   24281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24282: $as_echo "$ans" >&6; }
                   24283: 
                   24284: case "$ans" in
                   24285:  yes)
                   24286: 
                   24287: $as_echo "#define FORCE_NTPDATE_STEP 1" >>confdefs.h
                   24288: 
                   24289: esac
                   24290: 
                   24291: 
                   24292: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should sync TODR clock every hour" >&5
                   24293: $as_echo_n "checking if we should sync TODR clock every hour... " >&6; }
                   24294: 
                   24295: case "$host" in
                   24296:  *-*-nextstep*)
                   24297:     ans=yes
                   24298:     ;;
                   24299:  *-*-openvms*) # HMS: won't be found
                   24300:     ans=yes
                   24301:     ;;
                   24302:  *)
                   24303:     ans=no
                   24304: esac
                   24305: 
                   24306: # Check whether --enable-hourly-todr-sync was given.
                   24307: if test "${enable_hourly_todr_sync+set}" = set; then :
                   24308:   enableval=$enable_hourly_todr_sync; ans=$enableval
                   24309: 
                   24310: fi
                   24311: 
                   24312: 
                   24313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24314: $as_echo "$ans" >&6; }
                   24315: 
                   24316: case "$ac_cv_var_sync_todr" in
                   24317:  yes)
                   24318: 
                   24319: $as_echo "#define DOSYNCTODR 1" >>confdefs.h
                   24320:  ;;
                   24321: esac
                   24322: 
                   24323: 
                   24324: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should avoid kernel FLL bug" >&5
                   24325: $as_echo_n "checking if we should avoid kernel FLL bug... " >&6; }
                   24326: 
                   24327: case "$host" in
                   24328:  *-*-solaris2.6)
                   24329:     unamev=`uname -v`
                   24330:     case "$unamev" in
                   24331:      Generic_105181-*)
                   24332:        old_IFS="$IFS"
                   24333:        IFS="-"
                   24334:        set $unamev
                   24335:        IFS="$old_IFS"
                   24336:        if test "$2" -ge 17
                   24337:        then
                   24338:            # Generic_105181-17 and higher
                   24339:            ans=no
                   24340:        else
                   24341:            ans=yes
                   24342:        fi
                   24343:        ;;
                   24344:      *)
                   24345:        ans=yes
                   24346:     esac
                   24347:     ;;
                   24348:  *-*-solaris2.7)
                   24349:     unamev=`uname -v`
                   24350:     case "$unamev" in
                   24351:      Generic_106541-*)
                   24352:        old_IFS="$IFS"
                   24353:        IFS="-"
                   24354:        set $unamev
                   24355:        IFS="$old_IFS"
                   24356:        if test "$2" -ge 07
                   24357:        then
                   24358:            # Generic_106541-07 and higher
                   24359:            ans=no
                   24360:        else
                   24361:            ans=yes
                   24362:        fi
                   24363:        ;;
                   24364:      *)
                   24365:        ans=yes
                   24366:     esac
                   24367:     ;;
                   24368:  *)
                   24369:     ans=no
                   24370: esac
                   24371: 
                   24372: # Check whether --enable-kernel-fll-bug was given.
                   24373: if test "${enable_kernel_fll_bug+set}" = set; then :
                   24374:   enableval=$enable_kernel_fll_bug; ans=$enableval
                   24375: 
                   24376: fi
                   24377: 
                   24378: 
                   24379: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24380: $as_echo "$ans" >&6; }
                   24381: 
                   24382: case "$ans" in
                   24383:  yes)
                   24384: 
                   24385: $as_echo "#define KERNEL_FLL_BUG 1" >>confdefs.h
                   24386: 
                   24387: esac
                   24388: 
                   24389: 
                   24390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want new session key behavior" >&5
                   24391: $as_echo_n "checking if we want new session key behavior... " >&6; }
                   24392: # Check whether --enable-bug1243-fix was given.
                   24393: if test "${enable_bug1243_fix+set}" = set; then :
                   24394:   enableval=$enable_bug1243_fix; ans=$enableval
                   24395: else
                   24396:   ans=yes
                   24397: 
                   24398: fi
                   24399: 
                   24400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24401: $as_echo "$ans" >&6; }
                   24402: case "$ans" in
                   24403:  no)
                   24404: 
                   24405: $as_echo "#define DISABLE_BUG1243_FIX 1" >>confdefs.h
                   24406: 
                   24407: esac
                   24408: 
                   24409: 
                   24410: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use the IRIG sawtooth filter" >&5
                   24411: $as_echo_n "checking if we should use the IRIG sawtooth filter... " >&6; }
                   24412: 
                   24413: case "$host" in
                   24414:  *-*-solaris2.[89])
                   24415:     ans=yes
                   24416:     ;;
                   24417:  *-*-solaris2.1[0-9]*)
                   24418:     ans=yes
                   24419:     ;;
                   24420:  *) ans=no
                   24421: esac
                   24422: 
                   24423: # Check whether --enable-irig-sawtooth was given.
                   24424: if test "${enable_irig_sawtooth+set}" = set; then :
                   24425:   enableval=$enable_irig_sawtooth; ans=$enableval
                   24426: 
                   24427: fi
                   24428: 
                   24429: 
                   24430: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24431: $as_echo "$ans" >&6; }
                   24432: 
                   24433: case "$ans" in
                   24434:  yes)
                   24435: 
                   24436: $as_echo "#define IRIG_SUCKS 1" >>confdefs.h
                   24437: 
                   24438: esac
                   24439: 
                   24440: 
                   24441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should enable NIST lockclock scheme" >&5
                   24442: $as_echo_n "checking if we should enable NIST lockclock scheme... " >&6; }
                   24443: 
                   24444: # Check whether --enable-nist was given.
                   24445: if test "${enable_nist+set}" = set; then :
                   24446:   enableval=$enable_nist; ans=$enableval
                   24447: else
                   24448:   ans=no
                   24449: 
                   24450: fi
                   24451: 
                   24452: 
                   24453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24454: $as_echo "$ans" >&6; }
                   24455: 
                   24456: case "$ans" in
                   24457:  yes)
                   24458: 
                   24459: $as_echo "#define LOCKCLOCK 1" >>confdefs.h
                   24460:  ;;
                   24461: esac
                   24462: 
                   24463: 
                   24464: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want support for Samba's signing daemon" >&5
                   24465: $as_echo_n "checking if we want support for Samba's signing daemon... " >&6; }
                   24466: 
                   24467: # Check whether --enable-ntp-signd was given.
                   24468: if test "${enable_ntp_signd+set}" = set; then :
                   24469:   enableval=$enable_ntp_signd; ans=$enableval
                   24470: else
                   24471:   ans=no
                   24472: 
                   24473: fi
                   24474: 
                   24475: 
                   24476: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ans" >&5
                   24477: $as_echo "$ans" >&6; }
                   24478: 
                   24479: case "$ans" in
                   24480:  no)
                   24481:     ntp_signd_path=
                   24482:     ;;
                   24483:  yes)
                   24484:     ntp_signd_path=/var/run/ntp_signd
                   24485:     ;;
                   24486:  *)
                   24487:     ntp_signd_path="$ans"
                   24488: esac
                   24489: 
                   24490: case "$ntp_signd_path" in
                   24491:  '')
                   24492:     ;;
                   24493:  *)
                   24494: 
                   24495: $as_echo "#define HAVE_NTP_SIGND 1" >>confdefs.h
                   24496: 
                   24497: 
                   24498: cat >>confdefs.h <<_ACEOF
                   24499: #define NTP_SIGND_PATH "$ntp_signd_path"
                   24500: _ACEOF
                   24501: 
                   24502: esac
                   24503: 
                   24504: 
                   24505: for ac_header in sys/clockctl.h
                   24506: do :
                   24507:   ac_fn_c_check_header_mongrel "$LINENO" "sys/clockctl.h" "ac_cv_header_sys_clockctl_h" "$ac_includes_default"
                   24508: if test "x$ac_cv_header_sys_clockctl_h" = xyes; then :
                   24509:   cat >>confdefs.h <<_ACEOF
                   24510: #define HAVE_SYS_CLOCKCTL_H 1
                   24511: _ACEOF
                   24512: 
                   24513: fi
                   24514: 
                   24515: done
                   24516: 
                   24517: 
                   24518: case "$host" in
                   24519:  *-*-netbsd*)
                   24520:     ans=yes
                   24521:     ;;
                   24522:  *) ans=no
                   24523:     ;;
                   24524: esac
                   24525: 
                   24526: # Check whether --enable-clockctl was given.
                   24527: if test "${enable_clockctl+set}" = set; then :
                   24528:   enableval=$enable_clockctl; ntp_use_dev_clockctl=$enableval
                   24529: else
                   24530:   ntp_use_dev_clockctl=$ac_cv_header_sys_clockctl_h
                   24531: 
                   24532: fi
                   24533: 
                   24534: 
                   24535: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should use /dev/clockctl" >&5
                   24536: $as_echo_n "checking if we should use /dev/clockctl... " >&6; }
                   24537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_use_dev_clockctl" >&5
                   24538: $as_echo "$ntp_use_dev_clockctl" >&6; }
                   24539: 
                   24540: 
                   24541: for ac_header in sys/capability.h sys/prctl.h
                   24542: do :
                   24543:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   24544: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   24545: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   24546:   cat >>confdefs.h <<_ACEOF
                   24547: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   24548: _ACEOF
                   24549: 
                   24550: fi
                   24551: 
                   24552: done
                   24553: 
                   24554: 
                   24555: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have linux capabilities (libcap)" >&5
                   24556: $as_echo_n "checking if we have linux capabilities (libcap)... " >&6; }
                   24557: 
                   24558: case "$ac_cv_header_sys_capability_h$ac_cv_header_sys_prctl_h" in
                   24559:  yesyes)
                   24560:     case "$host" in
                   24561:      mips-sgi-irix*)
                   24562:        ntp_have_linuxcaps=no
                   24563:        ;;
                   24564:      *) ntp_have_linuxcaps=yes
                   24565:        ;;
                   24566:     esac
                   24567:     ;;
                   24568:  *)
                   24569:     ntp_have_linuxcaps=no
                   24570:     ;;
                   24571: esac
                   24572: 
                   24573: # Check whether --enable-linuxcaps was given.
                   24574: if test "${enable_linuxcaps+set}" = set; then :
                   24575:   enableval=$enable_linuxcaps; ntp_have_linuxcaps=$enableval
                   24576: 
                   24577: fi
                   24578: 
                   24579: 
                   24580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_have_linuxcaps" >&5
                   24581: $as_echo "$ntp_have_linuxcaps" >&6; }
                   24582: 
                   24583: case "$ntp_have_linuxcaps" in
                   24584:  yes)
                   24585: 
                   24586: $as_echo "#define HAVE_LINUX_CAPABILITIES 1" >>confdefs.h
                   24587: 
                   24588:     LIBS="$LIBS -lcap"
                   24589: esac
                   24590: 
                   24591: case "$ntp_use_dev_clockctl$ntp_have_linuxcaps" in
                   24592:  *yes*)
                   24593: 
                   24594: $as_echo "#define HAVE_DROPROOT 1" >>confdefs.h
                   24595: 
                   24596: esac
                   24597: 
                   24598: 
                   24599: for ac_header in libscf.h
                   24600: do :
                   24601:   ac_fn_c_check_header_mongrel "$LINENO" "libscf.h" "ac_cv_header_libscf_h" "$ac_includes_default"
                   24602: if test "x$ac_cv_header_libscf_h" = xyes; then :
                   24603:   cat >>confdefs.h <<_ACEOF
                   24604: #define HAVE_LIBSCF_H 1
                   24605: _ACEOF
                   24606: 
                   24607: fi
                   24608: 
                   24609: done
                   24610: 
                   24611: LSCF=
                   24612: case "$ac_cv_header_libscf_h" in
                   24613:  yes)
                   24614:     LSCF='-lscf'
                   24615: esac
                   24616: 
                   24617: 
                   24618: ac_fn_c_check_func "$LINENO" "setppriv" "ac_cv_func_setppriv"
                   24619: if test "x$ac_cv_func_setppriv" = xyes; then :
                   24620:   ans=yes
                   24621: else
                   24622:   ans=no
                   24623: 
                   24624: fi
                   24625: 
                   24626: case "$ans" in
                   24627:  yes)
                   24628: 
                   24629: $as_echo "#define HAVE_SOLARIS_PRIVS 1" >>confdefs.h
                   24630: 
                   24631: esac
                   24632: 
                   24633: 
                   24634: { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr for sa_len" >&5
                   24635: $as_echo_n "checking struct sockaddr for sa_len... " >&6; }
                   24636: if ${isc_cv_platform_havesalen+:} false; then :
                   24637:   $as_echo_n "(cached) " >&6
                   24638: else
                   24639:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24640: /* end confdefs.h.  */
                   24641: 
                   24642:                #include <sys/types.h>
                   24643:                #include <sys/socket.h>
                   24644: 
                   24645: int
                   24646: main ()
                   24647: {
                   24648: 
                   24649:                extern struct sockaddr *ps;
                   24650:                return ps->sa_len;
                   24651: 
                   24652: 
                   24653:   ;
                   24654:   return 0;
                   24655: }
                   24656: _ACEOF
                   24657: if ac_fn_c_try_compile "$LINENO"; then :
                   24658:   isc_cv_platform_havesalen=yes
                   24659: else
                   24660:   isc_cv_platform_havesalen=no
                   24661: 
                   24662: fi
                   24663: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   24664: 
                   24665: fi
                   24666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_platform_havesalen" >&5
                   24667: $as_echo "$isc_cv_platform_havesalen" >&6; }
                   24668: case "$isc_cv_platform_havesalen" in
                   24669:  yes)
                   24670: 
                   24671: $as_echo "#define ISC_PLATFORM_HAVESALEN 1" >>confdefs.h
                   24672: 
                   24673: esac
                   24674: 
                   24675: # Check whether --enable-ipv6 was given.
                   24676: if test "${enable_ipv6+set}" = set; then :
                   24677:   enableval=$enable_ipv6;
                   24678: fi
                   24679: 
                   24680: 
                   24681: case "$enable_ipv6" in
                   24682:  yes|''|autodetect)
                   24683:     case "$host" in
                   24684:      powerpc-ibm-aix4*)
                   24685:        ;;
                   24686:      *)
                   24687: 
                   24688: $as_echo "#define WANT_IPV6 1" >>confdefs.h
                   24689: 
                   24690:        ;;
                   24691:     esac
                   24692:     ;;
                   24693:  no)
                   24694:     ;;
                   24695: esac
                   24696: 
                   24697: 
                   24698: case "$host" in
                   24699:  *-*-darwin*)
                   24700: 
                   24701: $as_echo "#define __APPLE_USE_RFC_3542 1" >>confdefs.h
                   24702: 
                   24703: esac
                   24704: 
                   24705: 
                   24706: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 structures" >&5
                   24707: $as_echo_n "checking for IPv6 structures... " >&6; }
                   24708: if ${isc_cv_found_ipv6+:} false; then :
                   24709:   $as_echo_n "(cached) " >&6
                   24710: else
                   24711:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24712: /* end confdefs.h.  */
                   24713: 
                   24714:                #include <sys/types.h>
                   24715:                #include <sys/socket.h>
                   24716:                #include <netinet/in.h>
                   24717: 
                   24718: int
                   24719: main ()
                   24720: {
                   24721: 
                   24722:                struct sockaddr_in6 sin6;
                   24723: 
                   24724: 
                   24725:   ;
                   24726:   return 0;
                   24727: }
                   24728: _ACEOF
                   24729: if ac_fn_c_try_compile "$LINENO"; then :
                   24730:   isc_cv_found_ipv6=yes
                   24731: else
                   24732:   isc_cv_found_ipv6=no
                   24733: 
                   24734: fi
                   24735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   24736: 
                   24737: fi
                   24738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_found_ipv6" >&5
                   24739: $as_echo "$isc_cv_found_ipv6" >&6; }
                   24740: 
                   24741: #
                   24742: # See whether IPv6 support is provided via a Kame add-on.
                   24743: # This is done before other IPv6 linking tests so LIBS is properly set.
                   24744: #
                   24745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Kame IPv6 support" >&5
                   24746: $as_echo_n "checking for Kame IPv6 support... " >&6; }
                   24747: 
                   24748: # Check whether --with-kame was given.
                   24749: if test "${with_kame+set}" = set; then :
                   24750:   withval=$with_kame; use_kame="$withval"
                   24751: else
                   24752:   use_kame="no"
                   24753: 
                   24754: fi
                   24755: 
                   24756: case "$use_kame" in
                   24757:  no)
                   24758:     ;;
                   24759:  yes)
                   24760:     kame_path=/usr/local/v6
                   24761:     ;;
                   24762:  *)
                   24763:     kame_path="$use_kame"
                   24764:     ;;
                   24765: esac
                   24766: case "$use_kame" in
                   24767:  no)
                   24768:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   24769: $as_echo "no" >&6; }
                   24770:     ;;
                   24771:  *)
                   24772:     if test -f $kame_path/lib/libinet6.a; then
                   24773:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kame_path/lib/libinet6.a" >&5
                   24774: $as_echo "$kame_path/lib/libinet6.a" >&6; }
                   24775:        LIBS="-L$kame_path/lib -linet6 $LIBS"
                   24776:     else
                   24777:        as_fn_error $? "$kame_path/lib/libinet6.a not found.
                   24778: 
                   24779: Please choose the proper path with the following command:
                   24780: 
                   24781:     configure --with-kame=PATH
                   24782: " "$LINENO" 5
                   24783:     fi
                   24784:     ;;
                   24785: esac
                   24786: 
                   24787: #
                   24788: # Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
                   24789: # Including it on Kame-using platforms is very bad, though, because
                   24790: # Kame uses #error against direct inclusion.   So include it on only
                   24791: # the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
                   24792: # This is done before the in6_pktinfo check because that's what
                   24793: # netinet6/in6.h is needed for.
                   24794: #
                   24795: case "$host" in
                   24796:  *-bsdi4.[01]*)
                   24797: 
                   24798: $as_echo "#define ISC_PLATFORM_NEEDNETINET6IN6H 1" >>confdefs.h
                   24799: 
                   24800:     isc_netinet6in6_hack="#include <netinet6/in6.h>"
                   24801:     ;;
                   24802:  *)
                   24803:     isc_netinet6in6_hack=""
                   24804:     ;;
                   24805: esac
                   24806: 
                   24807: #
                   24808: # This is similar to the netinet6/in6.h issue.
                   24809: #
                   24810: case "$host" in
                   24811:  *-sco-sysv*uw*|*-*-sysv*UnixWare*|*-*-sysv*OpenUNIX*)
                   24812: 
                   24813: $as_echo "#define ISC_PLATFORM_FIXIN6ISADDR 1" >>confdefs.h
                   24814: 
                   24815:     isc_netinetin6_hack="#include <netinet/in6.h>"
                   24816:     ;;
                   24817:  *)
                   24818:     isc_netinetin6_hack=""
                   24819:     ;;
                   24820: esac
                   24821: 
                   24822: 
                   24823: case "$isc_cv_found_ipv6" in
                   24824:  yes)
                   24825: 
                   24826: $as_echo "#define ISC_PLATFORM_HAVEIPV6 1" >>confdefs.h
                   24827: 
                   24828:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
                   24829: $as_echo_n "checking for in6_pktinfo... " >&6; }
                   24830: if ${isc_cv_have_in6_pktinfo+:} false; then :
                   24831:   $as_echo_n "(cached) " >&6
                   24832: else
                   24833:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24834: /* end confdefs.h.  */
                   24835: 
                   24836:                    #include <sys/types.h>
                   24837:                    #include <sys/socket.h>
                   24838:                    #include <netinet/in.h>
                   24839:                    $isc_netinetin6_hack
                   24840:                    $isc_netinet6in6_hack
                   24841: 
                   24842: int
                   24843: main ()
                   24844: {
                   24845: 
                   24846:                    struct in6_pktinfo xyzzy;
                   24847: 
                   24848: 
                   24849:   ;
                   24850:   return 0;
                   24851: }
                   24852: _ACEOF
                   24853: if ac_fn_c_try_compile "$LINENO"; then :
                   24854:   isc_cv_have_in6_pktinfo=yes
                   24855: else
                   24856:   isc_cv_have_in6_pktinfo=no
                   24857: 
                   24858: fi
                   24859: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   24860: 
                   24861: fi
                   24862: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in6_pktinfo" >&5
                   24863: $as_echo "$isc_cv_have_in6_pktinfo" >&6; }
                   24864:     case "$isc_cv_have_in6_pktinfo" in
                   24865:      yes)
                   24866: 
                   24867: $as_echo "#define ISC_PLATFORM_HAVEIN6PKTINFO 1" >>confdefs.h
                   24868: 
                   24869:     esac
                   24870: 
                   24871: 
                   24872:     # HMS: Use HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID instead?
                   24873:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr_in6.sin6_scope_id" >&5
                   24874: $as_echo_n "checking for sockaddr_in6.sin6_scope_id... " >&6; }
                   24875: if ${isc_cv_have_sin6_scope_id+:} false; then :
                   24876:   $as_echo_n "(cached) " >&6
                   24877: else
                   24878:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24879: /* end confdefs.h.  */
                   24880: 
                   24881:                    #include <sys/types.h>
                   24882:                    #include <sys/socket.h>
                   24883:                    #include <netinet/in.h>
                   24884:                    $isc_netinetin6_hack
                   24885:                    $isc_netinet6in6_hack
                   24886: 
                   24887: int
                   24888: main ()
                   24889: {
                   24890: 
                   24891:                    struct sockaddr_in6 xyzzy;
                   24892:                    xyzzy.sin6_scope_id = 0;
                   24893: 
                   24894: 
                   24895:   ;
                   24896:   return 0;
                   24897: }
                   24898: _ACEOF
                   24899: if ac_fn_c_try_compile "$LINENO"; then :
                   24900:   isc_cv_have_sin6_scope_id=yes
                   24901: else
                   24902:   isc_cv_have_sin6_scope_id=no
                   24903: 
                   24904: fi
                   24905: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   24906: 
                   24907: fi
                   24908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_sin6_scope_id" >&5
                   24909: $as_echo "$isc_cv_have_sin6_scope_id" >&6; }
                   24910: 
                   24911:     case "$isc_cv_have_sin6_scope_id" in
                   24912:      yes)
                   24913: 
                   24914: $as_echo "#define ISC_PLATFORM_HAVESCOPEID 1" >>confdefs.h
                   24915: 
                   24916:     esac
                   24917: esac
                   24918: 
                   24919: 
                   24920: # We need this check run even without isc_cv_found_ipv6=yes
                   24921: 
                   24922: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
                   24923: $as_echo_n "checking for in6addr_any... " >&6; }
                   24924: if ${isc_cv_have_in6addr_any+:} false; then :
                   24925:   $as_echo_n "(cached) " >&6
                   24926: else
                   24927:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24928: /* end confdefs.h.  */
                   24929: 
                   24930:                #include <sys/types.h>
                   24931:                #include <sys/socket.h>
                   24932:                #include <netinet/in.h>
                   24933:                $isc_netinetin6_hack
                   24934:                $isc_netinet6in6_hack
                   24935: 
                   24936: int
                   24937: main ()
                   24938: {
                   24939: 
                   24940:                struct in6_addr in6;
                   24941:                in6 = in6addr_any;
                   24942: 
                   24943: 
                   24944:   ;
                   24945:   return 0;
                   24946: }
                   24947: _ACEOF
                   24948: if ac_fn_c_try_link "$LINENO"; then :
                   24949:   isc_cv_have_in6addr_any=yes
                   24950: else
                   24951:   isc_cv_have_in6addr_any=no
                   24952: 
                   24953: fi
                   24954: rm -f core conftest.err conftest.$ac_objext \
                   24955:     conftest$ac_exeext conftest.$ac_ext
                   24956: 
                   24957: fi
                   24958: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_have_in6addr_any" >&5
                   24959: $as_echo "$isc_cv_have_in6addr_any" >&6; }
                   24960: 
                   24961: case "$isc_cv_have_in6addr_any" in
                   24962:  no)
                   24963: 
                   24964: $as_echo "#define ISC_PLATFORM_NEEDIN6ADDRANY 1" >>confdefs.h
                   24965: 
                   24966: esac
                   24967: 
                   24968: 
                   24969: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrconf" >&5
                   24970: $as_echo_n "checking for struct if_laddrconf... " >&6; }
                   24971: if ${isc_cv_struct_if_laddrconf+:} false; then :
                   24972:   $as_echo_n "(cached) " >&6
                   24973: else
                   24974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   24975: /* end confdefs.h.  */
                   24976: 
                   24977:                #include <sys/types.h>
                   24978:                #include <net/if6.h>
                   24979: 
                   24980: int
                   24981: main ()
                   24982: {
                   24983: 
                   24984:                struct if_laddrconf a;
                   24985: 
                   24986: 
                   24987:   ;
                   24988:   return 0;
                   24989: }
                   24990: _ACEOF
                   24991: if ac_fn_c_try_compile "$LINENO"; then :
                   24992:   isc_cv_struct_if_laddrconf=yes
                   24993: else
                   24994:   isc_cv_struct_if_laddrconf=no
                   24995: 
                   24996: fi
                   24997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   24998: 
                   24999: fi
                   25000: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrconf" >&5
                   25001: $as_echo "$isc_cv_struct_if_laddrconf" >&6; }
                   25002: 
                   25003: case "$isc_cv_struct_if_laddrconf" in
                   25004:  yes)
                   25005: 
                   25006: $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRCONF 1" >>confdefs.h
                   25007: 
                   25008: esac
                   25009: 
                   25010: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct if_laddrreq" >&5
                   25011: $as_echo_n "checking for struct if_laddrreq... " >&6; }
                   25012: if ${isc_cv_struct_if_laddrreq+:} false; then :
                   25013:   $as_echo_n "(cached) " >&6
                   25014: else
                   25015:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   25016: /* end confdefs.h.  */
                   25017: 
                   25018:                #include <sys/types.h>
                   25019:                #include <net/if6.h>
                   25020: 
                   25021: int
                   25022: main ()
                   25023: {
                   25024: 
                   25025:                struct if_laddrreq a;
                   25026: 
                   25027: 
                   25028:   ;
                   25029:   return 0;
                   25030: }
                   25031: _ACEOF
                   25032: if ac_fn_c_try_compile "$LINENO"; then :
                   25033:   isc_cv_struct_if_laddrreq=yes
                   25034: else
                   25035:   isc_cv_struct_if_laddrreq=no
                   25036: 
                   25037: fi
                   25038: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   25039: 
                   25040: fi
                   25041: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $isc_cv_struct_if_laddrreq" >&5
                   25042: $as_echo "$isc_cv_struct_if_laddrreq" >&6; }
                   25043: 
                   25044: case "$isc_cv_struct_if_laddrreq" in
                   25045:  yes)
                   25046: 
                   25047: $as_echo "#define ISC_PLATFORM_HAVEIF_LADDRREQ 1" >>confdefs.h
                   25048: 
                   25049: esac
                   25050: 
                   25051: #
                   25052: # Look for a sysctl call to get the list of network interfaces.
                   25053: #
                   25054: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for interface list sysctl" >&5
                   25055: $as_echo_n "checking for interface list sysctl... " >&6; }
                   25056: if ${ntp_cv_iflist_sysctl+:} false; then :
                   25057:   $as_echo_n "(cached) " >&6
                   25058: else
                   25059:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   25060: /* end confdefs.h.  */
                   25061: 
                   25062:            #include <sys/param.h>
                   25063:            #include <sys/sysctl.h>
                   25064:            #include <sys/socket.h>
                   25065:            #ifdef NET_RT_IFLIST
                   25066:                found_rt_iflist
                   25067:            #endif
                   25068: 
                   25069: _ACEOF
                   25070: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   25071:   $EGREP "found_rt_iflist" >/dev/null 2>&1; then :
                   25072:   ntp_cv_iflist_sysctl=yes
                   25073: else
                   25074:   ntp_cv_iflist_sysctl=no
                   25075: 
                   25076: fi
                   25077: rm -f conftest*
                   25078: 
                   25079: 
                   25080: fi
                   25081: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_cv_iflist_sysctl" >&5
                   25082: $as_echo "$ntp_cv_iflist_sysctl" >&6; }
                   25083: case "$ntp_cv_iflist_sysctl" in
                   25084:  yes)
                   25085: 
                   25086: $as_echo "#define HAVE_IFLIST_SYSCTL 1" >>confdefs.h
                   25087: 
                   25088: esac
                   25089: 
                   25090: ###
                   25091: 
                   25092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we want the saveconfig mechanism" >&5
                   25093: $as_echo_n "checking if we want the saveconfig mechanism... " >&6; }
                   25094: # Check whether --enable-saveconfig was given.
                   25095: if test "${enable_saveconfig+set}" = set; then :
                   25096:   enableval=$enable_saveconfig; ntp_ok=$enableval
                   25097: else
                   25098:   ntp_ok=yes
                   25099: 
                   25100: fi
                   25101: 
                   25102: ntp_saveconfig_enabled=0
                   25103: if test "$ntp_ok" = "yes"; then
                   25104:     ntp_saveconfig_enabled=1
                   25105: 
                   25106: $as_echo "#define SAVECONFIG 1" >>confdefs.h
                   25107: 
                   25108: fi
                   25109:  if test x$ntp_saveconfig_enabled = x1; then
                   25110:   SAVECONFIG_ENABLED_TRUE=
                   25111:   SAVECONFIG_ENABLED_FALSE='#'
                   25112: else
                   25113:   SAVECONFIG_ENABLED_TRUE='#'
                   25114:   SAVECONFIG_ENABLED_FALSE=
                   25115: fi
                   25116: 
                   25117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ntp_ok" >&5
                   25118: $as_echo "$ntp_ok" >&6; }
                   25119: 
                   25120: ###
                   25121: 
                   25122: 
                   25123:        ac_expanded=`(
                   25124:            test "x$prefix" = xNONE && prefix="$ac_default_prefix"
                   25125:            test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
                   25126:            eval echo \""$sysconfdir"\"
                   25127:        )`
                   25128: 
                   25129: cat >>confdefs.h <<_ACEOF
                   25130: #define NTP_KEYSDIR "$ac_expanded"
                   25131: _ACEOF
                   25132: 
                   25133: 
                   25134: 
                   25135: ac_config_files="$ac_config_files Makefile"
                   25136: 
                   25137: ac_config_files="$ac_config_files ElectricFence/Makefile"
                   25138: 
                   25139: ac_config_files="$ac_config_files adjtimed/Makefile"
                   25140: 
                   25141: ac_config_files="$ac_config_files clockstuff/Makefile"
                   25142: 
                   25143: ac_config_files="$ac_config_files include/Makefile"
                   25144: 
                   25145: ac_config_files="$ac_config_files include/isc/Makefile"
                   25146: 
                   25147: ac_config_files="$ac_config_files kernel/Makefile"
                   25148: 
                   25149: ac_config_files="$ac_config_files kernel/sys/Makefile"
                   25150: 
                   25151: ac_config_files="$ac_config_files libntp/Makefile"
                   25152: 
                   25153: ac_config_files="$ac_config_files libparse/Makefile"
                   25154: 
                   25155: ac_config_files="$ac_config_files ntpd/Makefile"
                   25156: 
                   25157: ac_config_files="$ac_config_files ntpdate/Makefile"
                   25158: 
                   25159: ac_config_files="$ac_config_files ntpdc/Makefile"
                   25160: 
                   25161: ac_config_files="$ac_config_files ntpdc/nl.pl"
                   25162: 
                   25163: ac_config_files="$ac_config_files ntpq/Makefile"
                   25164: 
                   25165: ac_config_files="$ac_config_files ntpsnmpd/Makefile"
                   25166: 
                   25167: ac_config_files="$ac_config_files parseutil/Makefile"
                   25168: 
                   25169: ac_config_files="$ac_config_files scripts/Makefile"
                   25170: 
                   25171: ac_config_files="$ac_config_files scripts/calc_tickadj"
                   25172: 
                   25173: ac_config_files="$ac_config_files scripts/checktime"
                   25174: 
                   25175: ac_config_files="$ac_config_files scripts/freq_adj"
                   25176: 
                   25177: ac_config_files="$ac_config_files scripts/html2man"
                   25178: 
                   25179: ac_config_files="$ac_config_files scripts/mkver"
                   25180: 
                   25181: ac_config_files="$ac_config_files scripts/ntp-wait"
                   25182: 
                   25183: ac_config_files="$ac_config_files scripts/ntpsweep"
                   25184: 
                   25185: ac_config_files="$ac_config_files scripts/ntptrace"
                   25186: 
                   25187: ac_config_files="$ac_config_files scripts/ntpver"
                   25188: 
                   25189: ac_config_files="$ac_config_files scripts/plot_summary"
                   25190: 
                   25191: ac_config_files="$ac_config_files scripts/summary"
                   25192: 
                   25193: ac_config_files="$ac_config_files util/Makefile"
                   25194: 
                   25195: 
                   25196: 
                   25197: 
                   25198: subdirs="$subdirs sntp"
                   25199: 
                   25200: 
                   25201: cat >confcache <<\_ACEOF
                   25202: # This file is a shell script that caches the results of configure
                   25203: # tests run on this system so they can be shared between configure
                   25204: # scripts and configure runs, see configure's option --config-cache.
                   25205: # It is not useful on other systems.  If it contains results you don't
                   25206: # want to keep, you may remove or edit it.
                   25207: #
                   25208: # config.status only pays attention to the cache file if you give it
                   25209: # the --recheck option to rerun configure.
                   25210: #
                   25211: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   25212: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   25213: # following values.
                   25214: 
                   25215: _ACEOF
                   25216: 
                   25217: # The following way of writing the cache mishandles newlines in values,
                   25218: # but we know of no workaround that is simple, portable, and efficient.
                   25219: # So, we kill variables containing newlines.
                   25220: # Ultrix sh set writes to stderr and can't be redirected directly,
                   25221: # and sets the high bit in the cache file unless we assign to the vars.
                   25222: (
                   25223:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   25224:     eval ac_val=\$$ac_var
                   25225:     case $ac_val in #(
                   25226:     *${as_nl}*)
                   25227:       case $ac_var in #(
                   25228:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   25229: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   25230:       esac
                   25231:       case $ac_var in #(
                   25232:       _ | IFS | as_nl) ;; #(
                   25233:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   25234:       *) { eval $ac_var=; unset $ac_var;} ;;
                   25235:       esac ;;
                   25236:     esac
                   25237:   done
                   25238: 
                   25239:   (set) 2>&1 |
                   25240:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   25241:     *${as_nl}ac_space=\ *)
                   25242:       # `set' does not quote correctly, so add quotes: double-quote
                   25243:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   25244:       sed -n \
                   25245:        "s/'/'\\\\''/g;
                   25246:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   25247:       ;; #(
                   25248:     *)
                   25249:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   25250:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   25251:       ;;
                   25252:     esac |
                   25253:     sort
                   25254: ) |
                   25255:   sed '
                   25256:      /^ac_cv_env_/b end
                   25257:      t clear
                   25258:      :clear
                   25259:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   25260:      t end
                   25261:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   25262:      :end' >>confcache
                   25263: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   25264:   if test -w "$cache_file"; then
                   25265:     if test "x$cache_file" != "x/dev/null"; then
                   25266:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   25267: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   25268:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   25269:        cat confcache >"$cache_file"
                   25270:       else
                   25271:         case $cache_file in #(
                   25272:         */* | ?:*)
                   25273:          mv -f confcache "$cache_file"$$ &&
                   25274:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   25275:         *)
                   25276:          mv -f confcache "$cache_file" ;;
                   25277:        esac
                   25278:       fi
                   25279:     fi
                   25280:   else
                   25281:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   25282: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   25283:   fi
                   25284: fi
                   25285: rm -f confcache
                   25286: 
                   25287: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   25288: # Let make expand exec_prefix.
                   25289: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   25290: 
                   25291: DEFS=-DHAVE_CONFIG_H
                   25292: 
                   25293: ac_libobjs=
                   25294: ac_ltlibobjs=
                   25295: U=
                   25296: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   25297:   # 1. Remove the extension, and $U if already installed.
                   25298:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   25299:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   25300:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   25301:   #    will be set to the directory where LIBOBJS objects are built.
                   25302:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   25303:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   25304: done
                   25305: LIBOBJS=$ac_libobjs
                   25306: 
                   25307: LTLIBOBJS=$ac_ltlibobjs
                   25308: 
                   25309: 
                   25310:  if test -n "$EXEEXT"; then
                   25311:   am__EXEEXT_TRUE=
                   25312:   am__EXEEXT_FALSE='#'
                   25313: else
                   25314:   am__EXEEXT_TRUE='#'
                   25315:   am__EXEEXT_FALSE=
                   25316: fi
                   25317: 
                   25318: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   25319:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   25320: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25321: fi
                   25322: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   25323:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   25324: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25325: fi
                   25326: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   25327:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   25328: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25329: fi
                   25330: if test -z "${VPATH_HACK_TRUE}" && test -z "${VPATH_HACK_FALSE}"; then
                   25331:   as_fn_error $? "conditional \"VPATH_HACK\" was never defined.
                   25332: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25333: fi
                   25334: if test -z "${INSTALL_LIBOPTS_TRUE}" && test -z "${INSTALL_LIBOPTS_FALSE}"; then
                   25335:   as_fn_error $? "conditional \"INSTALL_LIBOPTS\" was never defined.
                   25336: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25337: fi
                   25338: if test -z "${NEED_LIBOPTS_TRUE}" && test -z "${NEED_LIBOPTS_FALSE}"; then
                   25339:   as_fn_error $? "conditional \"NEED_LIBOPTS\" was never defined.
                   25340: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25341: fi
                   25342: if test -z "${NTP_CROSSCOMPILE_TRUE}" && test -z "${NTP_CROSSCOMPILE_FALSE}"; then
                   25343:   as_fn_error $? "conditional \"NTP_CROSSCOMPILE\" was never defined.
                   25344: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25345: fi
                   25346: if test -z "${NTP_BINSUBDIR_IS_BIN_TRUE}" && test -z "${NTP_BINSUBDIR_IS_BIN_FALSE}"; then
                   25347:   as_fn_error $? "conditional \"NTP_BINSUBDIR_IS_BIN\" was never defined.
                   25348: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25349: fi
                   25350: 
                   25351: if test -z "${SAVECONFIG_ENABLED_TRUE}" && test -z "${SAVECONFIG_ENABLED_FALSE}"; then
                   25352:   as_fn_error $? "conditional \"SAVECONFIG_ENABLED\" was never defined.
                   25353: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   25354: fi
                   25355: 
                   25356: : "${CONFIG_STATUS=./config.status}"
                   25357: ac_write_fail=0
                   25358: ac_clean_files_save=$ac_clean_files
                   25359: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   25360: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   25361: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   25362: as_write_fail=0
                   25363: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   25364: #! $SHELL
                   25365: # Generated by $as_me.
                   25366: # Run this file to recreate the current configuration.
                   25367: # Compiler output produced by configure, useful for debugging
                   25368: # configure, is in config.log if it exists.
                   25369: 
                   25370: debug=false
                   25371: ac_cs_recheck=false
                   25372: ac_cs_silent=false
                   25373: 
                   25374: SHELL=\${CONFIG_SHELL-$SHELL}
                   25375: export SHELL
                   25376: _ASEOF
                   25377: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   25378: ## -------------------- ##
                   25379: ## M4sh Initialization. ##
                   25380: ## -------------------- ##
                   25381: 
                   25382: # Be more Bourne compatible
                   25383: DUALCASE=1; export DUALCASE # for MKS sh
                   25384: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   25385:   emulate sh
                   25386:   NULLCMD=:
                   25387:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   25388:   # is contrary to our usage.  Disable this feature.
                   25389:   alias -g '${1+"$@"}'='"$@"'
                   25390:   setopt NO_GLOB_SUBST
                   25391: else
                   25392:   case `(set -o) 2>/dev/null` in #(
                   25393:   *posix*) :
                   25394:     set -o posix ;; #(
                   25395:   *) :
                   25396:      ;;
                   25397: esac
                   25398: fi
                   25399: 
                   25400: 
                   25401: as_nl='
                   25402: '
                   25403: export as_nl
                   25404: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   25405: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   25406: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   25407: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   25408: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   25409: # but without wasting forks for bash or zsh.
                   25410: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   25411:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   25412:   as_echo='print -r --'
                   25413:   as_echo_n='print -rn --'
                   25414: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   25415:   as_echo='printf %s\n'
                   25416:   as_echo_n='printf %s'
                   25417: else
                   25418:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   25419:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   25420:     as_echo_n='/usr/ucb/echo -n'
                   25421:   else
                   25422:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   25423:     as_echo_n_body='eval
                   25424:       arg=$1;
                   25425:       case $arg in #(
                   25426:       *"$as_nl"*)
                   25427:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   25428:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   25429:       esac;
                   25430:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   25431:     '
                   25432:     export as_echo_n_body
                   25433:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   25434:   fi
                   25435:   export as_echo_body
                   25436:   as_echo='sh -c $as_echo_body as_echo'
                   25437: fi
                   25438: 
                   25439: # The user is always right.
                   25440: if test "${PATH_SEPARATOR+set}" != set; then
                   25441:   PATH_SEPARATOR=:
                   25442:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   25443:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   25444:       PATH_SEPARATOR=';'
                   25445:   }
                   25446: fi
                   25447: 
                   25448: 
                   25449: # IFS
                   25450: # We need space, tab and new line, in precisely that order.  Quoting is
                   25451: # there to prevent editors from complaining about space-tab.
                   25452: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   25453: # splitting by setting IFS to empty value.)
                   25454: IFS=" ""       $as_nl"
                   25455: 
                   25456: # Find who we are.  Look in the path if we contain no directory separator.
                   25457: as_myself=
                   25458: case $0 in #((
                   25459:   *[\\/]* ) as_myself=$0 ;;
                   25460:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   25461: for as_dir in $PATH
                   25462: do
                   25463:   IFS=$as_save_IFS
                   25464:   test -z "$as_dir" && as_dir=.
                   25465:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   25466:   done
                   25467: IFS=$as_save_IFS
                   25468: 
                   25469:      ;;
                   25470: esac
                   25471: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   25472: # in which case we are not to be found in the path.
                   25473: if test "x$as_myself" = x; then
                   25474:   as_myself=$0
                   25475: fi
                   25476: if test ! -f "$as_myself"; then
                   25477:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   25478:   exit 1
                   25479: fi
                   25480: 
                   25481: # Unset variables that we do not need and which cause bugs (e.g. in
                   25482: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   25483: # suppresses any "Segmentation fault" message there.  '((' could
                   25484: # trigger a bug in pdksh 5.2.14.
                   25485: for as_var in BASH_ENV ENV MAIL MAILPATH
                   25486: do eval test x\${$as_var+set} = xset \
                   25487:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   25488: done
                   25489: PS1='$ '
                   25490: PS2='> '
                   25491: PS4='+ '
                   25492: 
                   25493: # NLS nuisances.
                   25494: LC_ALL=C
                   25495: export LC_ALL
                   25496: LANGUAGE=C
                   25497: export LANGUAGE
                   25498: 
                   25499: # CDPATH.
                   25500: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   25501: 
                   25502: 
                   25503: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   25504: # ----------------------------------------
                   25505: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   25506: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   25507: # script with STATUS, using 1 if that was 0.
                   25508: as_fn_error ()
                   25509: {
                   25510:   as_status=$1; test $as_status -eq 0 && as_status=1
                   25511:   if test "$4"; then
                   25512:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   25513:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   25514:   fi
                   25515:   $as_echo "$as_me: error: $2" >&2
                   25516:   as_fn_exit $as_status
                   25517: } # as_fn_error
                   25518: 
                   25519: 
                   25520: # as_fn_set_status STATUS
                   25521: # -----------------------
                   25522: # Set $? to STATUS, without forking.
                   25523: as_fn_set_status ()
                   25524: {
                   25525:   return $1
                   25526: } # as_fn_set_status
                   25527: 
                   25528: # as_fn_exit STATUS
                   25529: # -----------------
                   25530: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   25531: as_fn_exit ()
                   25532: {
                   25533:   set +e
                   25534:   as_fn_set_status $1
                   25535:   exit $1
                   25536: } # as_fn_exit
                   25537: 
                   25538: # as_fn_unset VAR
                   25539: # ---------------
                   25540: # Portably unset VAR.
                   25541: as_fn_unset ()
                   25542: {
                   25543:   { eval $1=; unset $1;}
                   25544: }
                   25545: as_unset=as_fn_unset
                   25546: # as_fn_append VAR VALUE
                   25547: # ----------------------
                   25548: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   25549: # advantage of any shell optimizations that allow amortized linear growth over
                   25550: # repeated appends, instead of the typical quadratic growth present in naive
                   25551: # implementations.
                   25552: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   25553:   eval 'as_fn_append ()
                   25554:   {
                   25555:     eval $1+=\$2
                   25556:   }'
                   25557: else
                   25558:   as_fn_append ()
                   25559:   {
                   25560:     eval $1=\$$1\$2
                   25561:   }
                   25562: fi # as_fn_append
                   25563: 
                   25564: # as_fn_arith ARG...
                   25565: # ------------------
                   25566: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   25567: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   25568: # must be portable across $(()) and expr.
                   25569: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   25570:   eval 'as_fn_arith ()
                   25571:   {
                   25572:     as_val=$(( $* ))
                   25573:   }'
                   25574: else
                   25575:   as_fn_arith ()
                   25576:   {
                   25577:     as_val=`expr "$@" || test $? -eq 1`
                   25578:   }
                   25579: fi # as_fn_arith
                   25580: 
                   25581: 
                   25582: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   25583:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   25584:   as_expr=expr
                   25585: else
                   25586:   as_expr=false
                   25587: fi
                   25588: 
                   25589: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   25590:   as_basename=basename
                   25591: else
                   25592:   as_basename=false
                   25593: fi
                   25594: 
                   25595: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   25596:   as_dirname=dirname
                   25597: else
                   25598:   as_dirname=false
                   25599: fi
                   25600: 
                   25601: as_me=`$as_basename -- "$0" ||
                   25602: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   25603:         X"$0" : 'X\(//\)$' \| \
                   25604:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   25605: $as_echo X/"$0" |
                   25606:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   25607:            s//\1/
                   25608:            q
                   25609:          }
                   25610:          /^X\/\(\/\/\)$/{
                   25611:            s//\1/
                   25612:            q
                   25613:          }
                   25614:          /^X\/\(\/\).*/{
                   25615:            s//\1/
                   25616:            q
                   25617:          }
                   25618:          s/.*/./; q'`
                   25619: 
                   25620: # Avoid depending upon Character Ranges.
                   25621: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   25622: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   25623: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   25624: as_cr_digits='0123456789'
                   25625: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   25626: 
                   25627: ECHO_C= ECHO_N= ECHO_T=
                   25628: case `echo -n x` in #(((((
                   25629: -n*)
                   25630:   case `echo 'xy\c'` in
                   25631:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   25632:   xy)  ECHO_C='\c';;
                   25633:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   25634:        ECHO_T='        ';;
                   25635:   esac;;
                   25636: *)
                   25637:   ECHO_N='-n';;
                   25638: esac
                   25639: 
                   25640: rm -f conf$$ conf$$.exe conf$$.file
                   25641: if test -d conf$$.dir; then
                   25642:   rm -f conf$$.dir/conf$$.file
                   25643: else
                   25644:   rm -f conf$$.dir
                   25645:   mkdir conf$$.dir 2>/dev/null
                   25646: fi
                   25647: if (echo >conf$$.file) 2>/dev/null; then
                   25648:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   25649:     as_ln_s='ln -s'
                   25650:     # ... but there are two gotchas:
                   25651:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   25652:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.1.2.1! misho    25653:     # In both cases, we have to default to `cp -pR'.
1.1       misho    25654:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.1.2.1! misho    25655:       as_ln_s='cp -pR'
1.1       misho    25656:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   25657:     as_ln_s=ln
                   25658:   else
1.1.1.1.2.1! misho    25659:     as_ln_s='cp -pR'
1.1       misho    25660:   fi
                   25661: else
1.1.1.1.2.1! misho    25662:   as_ln_s='cp -pR'
1.1       misho    25663: fi
                   25664: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   25665: rmdir conf$$.dir 2>/dev/null
                   25666: 
                   25667: 
                   25668: # as_fn_mkdir_p
                   25669: # -------------
                   25670: # Create "$as_dir" as a directory, including parents if necessary.
                   25671: as_fn_mkdir_p ()
                   25672: {
                   25673: 
                   25674:   case $as_dir in #(
                   25675:   -*) as_dir=./$as_dir;;
                   25676:   esac
                   25677:   test -d "$as_dir" || eval $as_mkdir_p || {
                   25678:     as_dirs=
                   25679:     while :; do
                   25680:       case $as_dir in #(
                   25681:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   25682:       *) as_qdir=$as_dir;;
                   25683:       esac
                   25684:       as_dirs="'$as_qdir' $as_dirs"
                   25685:       as_dir=`$as_dirname -- "$as_dir" ||
                   25686: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   25687:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   25688:         X"$as_dir" : 'X\(//\)$' \| \
                   25689:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   25690: $as_echo X"$as_dir" |
                   25691:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   25692:            s//\1/
                   25693:            q
                   25694:          }
                   25695:          /^X\(\/\/\)[^/].*/{
                   25696:            s//\1/
                   25697:            q
                   25698:          }
                   25699:          /^X\(\/\/\)$/{
                   25700:            s//\1/
                   25701:            q
                   25702:          }
                   25703:          /^X\(\/\).*/{
                   25704:            s//\1/
                   25705:            q
                   25706:          }
                   25707:          s/.*/./; q'`
                   25708:       test -d "$as_dir" && break
                   25709:     done
                   25710:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   25711:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   25712: 
                   25713: 
                   25714: } # as_fn_mkdir_p
                   25715: if mkdir -p . 2>/dev/null; then
                   25716:   as_mkdir_p='mkdir -p "$as_dir"'
                   25717: else
                   25718:   test -d ./-p && rmdir ./-p
                   25719:   as_mkdir_p=false
                   25720: fi
                   25721: 
1.1.1.1.2.1! misho    25722: 
        !          25723: # as_fn_executable_p FILE
        !          25724: # -----------------------
        !          25725: # Test if FILE is an executable regular file.
        !          25726: as_fn_executable_p ()
        !          25727: {
        !          25728:   test -f "$1" && test -x "$1"
        !          25729: } # as_fn_executable_p
        !          25730: as_test_x='test -x'
        !          25731: as_executable_p=as_fn_executable_p
1.1       misho    25732: 
                   25733: # Sed expression to map a string onto a valid CPP name.
                   25734: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   25735: 
                   25736: # Sed expression to map a string onto a valid variable name.
                   25737: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   25738: 
                   25739: 
                   25740: exec 6>&1
                   25741: ## ----------------------------------- ##
                   25742: ## Main body of $CONFIG_STATUS script. ##
                   25743: ## ----------------------------------- ##
                   25744: _ASEOF
                   25745: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   25746: 
                   25747: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   25748: # Save the log message, to keep $0 and so on meaningful, and to
                   25749: # report actual input values of CONFIG_FILES etc. instead of their
                   25750: # values after options handling.
                   25751: ac_log="
                   25752: This file was extended by ntp $as_me 4.2.6p5, which was
1.1.1.1.2.1! misho    25753: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    25754: 
                   25755:   CONFIG_FILES    = $CONFIG_FILES
                   25756:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   25757:   CONFIG_LINKS    = $CONFIG_LINKS
                   25758:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   25759:   $ $0 $@
                   25760: 
                   25761: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   25762: "
                   25763: 
                   25764: _ACEOF
                   25765: 
                   25766: case $ac_config_files in *"
                   25767: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   25768: esac
                   25769: 
                   25770: case $ac_config_headers in *"
                   25771: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   25772: esac
                   25773: 
                   25774: 
                   25775: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   25776: # Files that config.status was made for.
                   25777: config_files="$ac_config_files"
                   25778: config_headers="$ac_config_headers"
                   25779: config_commands="$ac_config_commands"
                   25780: 
                   25781: _ACEOF
                   25782: 
                   25783: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   25784: ac_cs_usage="\
                   25785: \`$as_me' instantiates files and other configuration actions
                   25786: from templates according to the current configuration.  Unless the files
                   25787: and actions are specified as TAGs, all are instantiated by default.
                   25788: 
                   25789: Usage: $0 [OPTION]... [TAG]...
                   25790: 
                   25791:   -h, --help       print this help, then exit
                   25792:   -V, --version    print version number and configuration settings, then exit
                   25793:       --config     print configuration, then exit
                   25794:   -q, --quiet, --silent
                   25795:                    do not print progress messages
                   25796:   -d, --debug      don't remove temporary files
                   25797:       --recheck    update $as_me by reconfiguring in the same conditions
                   25798:       --file=FILE[:TEMPLATE]
                   25799:                    instantiate the configuration file FILE
                   25800:       --header=FILE[:TEMPLATE]
                   25801:                    instantiate the configuration header FILE
                   25802: 
                   25803: Configuration files:
                   25804: $config_files
                   25805: 
                   25806: Configuration headers:
                   25807: $config_headers
                   25808: 
                   25809: Configuration commands:
                   25810: $config_commands
                   25811: 
                   25812: Report bugs to the package provider."
                   25813: 
                   25814: _ACEOF
                   25815: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   25816: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   25817: ac_cs_version="\\
                   25818: ntp config.status 4.2.6p5
1.1.1.1.2.1! misho    25819: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    25820:   with options \\"\$ac_cs_config\\"
                   25821: 
1.1.1.1.2.1! misho    25822: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    25823: This config.status script is free software; the Free Software Foundation
                   25824: gives unlimited permission to copy, distribute and modify it."
                   25825: 
                   25826: ac_pwd='$ac_pwd'
                   25827: srcdir='$srcdir'
                   25828: INSTALL='$INSTALL'
                   25829: MKDIR_P='$MKDIR_P'
                   25830: AWK='$AWK'
                   25831: test -n "\$AWK" || AWK=awk
                   25832: _ACEOF
                   25833: 
                   25834: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   25835: # The default lists apply if the user does not specify any file.
                   25836: ac_need_defaults=:
                   25837: while test $# != 0
                   25838: do
                   25839:   case $1 in
                   25840:   --*=?*)
                   25841:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   25842:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   25843:     ac_shift=:
                   25844:     ;;
                   25845:   --*=)
                   25846:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   25847:     ac_optarg=
                   25848:     ac_shift=:
                   25849:     ;;
                   25850:   *)
                   25851:     ac_option=$1
                   25852:     ac_optarg=$2
                   25853:     ac_shift=shift
                   25854:     ;;
                   25855:   esac
                   25856: 
                   25857:   case $ac_option in
                   25858:   # Handling of the options.
                   25859:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   25860:     ac_cs_recheck=: ;;
                   25861:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   25862:     $as_echo "$ac_cs_version"; exit ;;
                   25863:   --config | --confi | --conf | --con | --co | --c )
                   25864:     $as_echo "$ac_cs_config"; exit ;;
                   25865:   --debug | --debu | --deb | --de | --d | -d )
                   25866:     debug=: ;;
                   25867:   --file | --fil | --fi | --f )
                   25868:     $ac_shift
                   25869:     case $ac_optarg in
                   25870:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   25871:     '') as_fn_error $? "missing file argument" ;;
                   25872:     esac
                   25873:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   25874:     ac_need_defaults=false;;
                   25875:   --header | --heade | --head | --hea )
                   25876:     $ac_shift
                   25877:     case $ac_optarg in
                   25878:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   25879:     esac
                   25880:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   25881:     ac_need_defaults=false;;
                   25882:   --he | --h)
                   25883:     # Conflict between --help and --header
                   25884:     as_fn_error $? "ambiguous option: \`$1'
                   25885: Try \`$0 --help' for more information.";;
                   25886:   --help | --hel | -h )
                   25887:     $as_echo "$ac_cs_usage"; exit ;;
                   25888:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   25889:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   25890:     ac_cs_silent=: ;;
                   25891: 
                   25892:   # This is an error.
                   25893:   -*) as_fn_error $? "unrecognized option: \`$1'
                   25894: Try \`$0 --help' for more information." ;;
                   25895: 
                   25896:   *) as_fn_append ac_config_targets " $1"
                   25897:      ac_need_defaults=false ;;
                   25898: 
                   25899:   esac
                   25900:   shift
                   25901: done
                   25902: 
                   25903: ac_configure_extra_args=
                   25904: 
                   25905: if $ac_cs_silent; then
                   25906:   exec 6>/dev/null
                   25907:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   25908: fi
                   25909: 
                   25910: _ACEOF
                   25911: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   25912: if \$ac_cs_recheck; then
1.1.1.1.2.1! misho    25913:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    25914:   shift
                   25915:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   25916:   CONFIG_SHELL='$SHELL'
                   25917:   export CONFIG_SHELL
                   25918:   exec "\$@"
                   25919: fi
                   25920: 
                   25921: _ACEOF
                   25922: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   25923: exec 5>>config.log
                   25924: {
                   25925:   echo
                   25926:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   25927: ## Running $as_me. ##
                   25928: _ASBOX
                   25929:   $as_echo "$ac_log"
                   25930: } >&5
                   25931: 
                   25932: _ACEOF
                   25933: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   25934: #
                   25935: # INIT-COMMANDS
                   25936: #
                   25937: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   25938: 
                   25939: 
                   25940: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   25941: # if CDPATH is set.
                   25942: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   25943: 
                   25944: sed_quote_subst='$sed_quote_subst'
                   25945: double_quote_subst='$double_quote_subst'
                   25946: delay_variable_subst='$delay_variable_subst'
                   25947: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   25948: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   25949: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   25950: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   25951: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   25952: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   25953: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   25954: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   25955: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   25956: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   25957: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   25958: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   25959: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   25960: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   25961: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   25962: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   25963: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   25964: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   25965: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   25966: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   25967: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   25968: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   25969: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   25970: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   25971: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   25972: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   25973: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   25974: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   25975: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   25976: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   25977: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   25978: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   25979: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   25980: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   25981: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   25982: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   25983: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   25984: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   25985: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   25986: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   25987: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   25988: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   25989: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   25990: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   25991: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   25992: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   25993: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   25994: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   25995: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   25996: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   25997: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   25998: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   25999: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   26000: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   26001: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   26002: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   26003: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   26004: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   26005: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   26006: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   26007: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   26008: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   26009: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   26010: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   26011: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   26012: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   26013: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   26014: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   26015: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   26016: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   26017: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   26018: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   26019: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   26020: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   26021: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   26022: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   26023: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   26024: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   26025: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   26026: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   26027: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   26028: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   26029: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   26030: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   26031: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   26032: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   26033: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   26034: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   26035: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   26036: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   26037: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
                   26038: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   26039: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   26040: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   26041: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   26042: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   26043: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   26044: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   26045: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   26046: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   26047: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   26048: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   26049: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   26050: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   26051: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   26052: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   26053: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   26054: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   26055: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   26056: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   26057: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   26058: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   26059: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   26060: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   26061: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   26062: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   26063: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   26064: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   26065: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   26066: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   26067: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   26068: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   26069: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   26070: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   26071: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   26072: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   26073: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   26074: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   26075: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   26076: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   26077: 
                   26078: LTCC='$LTCC'
                   26079: LTCFLAGS='$LTCFLAGS'
                   26080: compiler='$compiler_DEFAULT'
                   26081: 
                   26082: # A function that is used when there is no print builtin or printf.
                   26083: func_fallback_echo ()
                   26084: {
                   26085:   eval 'cat <<_LTECHO_EOF
                   26086: \$1
                   26087: _LTECHO_EOF'
                   26088: }
                   26089: 
                   26090: # Quote evaled strings.
                   26091: for var in SHELL \
                   26092: ECHO \
                   26093: SED \
                   26094: GREP \
                   26095: EGREP \
                   26096: FGREP \
                   26097: LD \
                   26098: NM \
                   26099: LN_S \
                   26100: lt_SP2NL \
                   26101: lt_NL2SP \
                   26102: reload_flag \
                   26103: OBJDUMP \
                   26104: deplibs_check_method \
                   26105: file_magic_cmd \
                   26106: file_magic_glob \
                   26107: want_nocaseglob \
                   26108: DLLTOOL \
                   26109: sharedlib_from_linklib_cmd \
                   26110: AR \
                   26111: AR_FLAGS \
                   26112: archiver_list_spec \
                   26113: STRIP \
                   26114: RANLIB \
                   26115: CC \
                   26116: CFLAGS \
                   26117: compiler \
                   26118: lt_cv_sys_global_symbol_pipe \
                   26119: lt_cv_sys_global_symbol_to_cdecl \
                   26120: lt_cv_sys_global_symbol_to_c_name_address \
                   26121: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   26122: nm_file_list_spec \
                   26123: lt_prog_compiler_no_builtin_flag \
                   26124: lt_prog_compiler_pic \
                   26125: lt_prog_compiler_wl \
                   26126: lt_prog_compiler_static \
                   26127: lt_cv_prog_compiler_c_o \
                   26128: need_locks \
                   26129: MANIFEST_TOOL \
                   26130: DSYMUTIL \
                   26131: NMEDIT \
                   26132: LIPO \
                   26133: OTOOL \
                   26134: OTOOL64 \
                   26135: shrext_cmds \
                   26136: export_dynamic_flag_spec \
                   26137: whole_archive_flag_spec \
                   26138: compiler_needs_object \
                   26139: with_gnu_ld \
                   26140: allow_undefined_flag \
                   26141: no_undefined_flag \
                   26142: hardcode_libdir_flag_spec \
                   26143: hardcode_libdir_flag_spec_ld \
                   26144: hardcode_libdir_separator \
                   26145: exclude_expsyms \
                   26146: include_expsyms \
                   26147: file_list_spec \
                   26148: variables_saved_for_relink \
                   26149: libname_spec \
                   26150: library_names_spec \
                   26151: soname_spec \
                   26152: install_override_mode \
                   26153: finish_eval \
                   26154: old_striplib \
                   26155: striplib; do
                   26156:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   26157:     *[\\\\\\\`\\"\\\$]*)
                   26158:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   26159:       ;;
                   26160:     *)
                   26161:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   26162:       ;;
                   26163:     esac
                   26164: done
                   26165: 
                   26166: # Double-quote double-evaled strings.
                   26167: for var in reload_cmds \
                   26168: old_postinstall_cmds \
                   26169: old_postuninstall_cmds \
                   26170: old_archive_cmds \
                   26171: extract_expsyms_cmds \
                   26172: old_archive_from_new_cmds \
                   26173: old_archive_from_expsyms_cmds \
                   26174: archive_cmds \
                   26175: archive_expsym_cmds \
                   26176: module_cmds \
                   26177: module_expsym_cmds \
                   26178: export_symbols_cmds \
                   26179: prelink_cmds \
                   26180: postlink_cmds \
                   26181: postinstall_cmds \
                   26182: postuninstall_cmds \
                   26183: finish_cmds \
                   26184: sys_lib_search_path_spec \
                   26185: sys_lib_dlsearch_path_spec; do
                   26186:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   26187:     *[\\\\\\\`\\"\\\$]*)
                   26188:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   26189:       ;;
                   26190:     *)
                   26191:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   26192:       ;;
                   26193:     esac
                   26194: done
                   26195: 
                   26196: ac_aux_dir='$ac_aux_dir'
                   26197: xsi_shell='$xsi_shell'
                   26198: lt_shell_append='$lt_shell_append'
                   26199: 
                   26200: # See if we are running on zsh, and set the options which allow our
                   26201: # commands through without removal of \ escapes INIT.
                   26202: if test -n "\${ZSH_VERSION+set}" ; then
                   26203:    setopt NO_GLOB_SUBST
                   26204: fi
                   26205: 
                   26206: 
                   26207:     PACKAGE='$PACKAGE'
                   26208:     VERSION='$VERSION'
                   26209:     TIMESTAMP='$TIMESTAMP'
                   26210:     RM='$RM'
                   26211:     ofile='$ofile'
                   26212: 
                   26213: 
                   26214: 
                   26215: 
                   26216: _ACEOF
                   26217: 
                   26218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26219: 
                   26220: # Handling of arguments.
                   26221: for ac_config_target in $ac_config_targets
                   26222: do
                   26223:   case $ac_config_target in
                   26224:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   26225:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   26226:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   26227:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   26228:     "ElectricFence/Makefile") CONFIG_FILES="$CONFIG_FILES ElectricFence/Makefile" ;;
                   26229:     "adjtimed/Makefile") CONFIG_FILES="$CONFIG_FILES adjtimed/Makefile" ;;
                   26230:     "clockstuff/Makefile") CONFIG_FILES="$CONFIG_FILES clockstuff/Makefile" ;;
                   26231:     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
                   26232:     "include/isc/Makefile") CONFIG_FILES="$CONFIG_FILES include/isc/Makefile" ;;
                   26233:     "kernel/Makefile") CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
                   26234:     "kernel/sys/Makefile") CONFIG_FILES="$CONFIG_FILES kernel/sys/Makefile" ;;
                   26235:     "libntp/Makefile") CONFIG_FILES="$CONFIG_FILES libntp/Makefile" ;;
                   26236:     "libparse/Makefile") CONFIG_FILES="$CONFIG_FILES libparse/Makefile" ;;
                   26237:     "ntpd/Makefile") CONFIG_FILES="$CONFIG_FILES ntpd/Makefile" ;;
                   26238:     "ntpdate/Makefile") CONFIG_FILES="$CONFIG_FILES ntpdate/Makefile" ;;
                   26239:     "ntpdc/Makefile") CONFIG_FILES="$CONFIG_FILES ntpdc/Makefile" ;;
                   26240:     "ntpdc/nl.pl") CONFIG_FILES="$CONFIG_FILES ntpdc/nl.pl" ;;
                   26241:     "ntpq/Makefile") CONFIG_FILES="$CONFIG_FILES ntpq/Makefile" ;;
                   26242:     "ntpsnmpd/Makefile") CONFIG_FILES="$CONFIG_FILES ntpsnmpd/Makefile" ;;
                   26243:     "parseutil/Makefile") CONFIG_FILES="$CONFIG_FILES parseutil/Makefile" ;;
                   26244:     "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
                   26245:     "scripts/calc_tickadj") CONFIG_FILES="$CONFIG_FILES scripts/calc_tickadj" ;;
                   26246:     "scripts/checktime") CONFIG_FILES="$CONFIG_FILES scripts/checktime" ;;
                   26247:     "scripts/freq_adj") CONFIG_FILES="$CONFIG_FILES scripts/freq_adj" ;;
                   26248:     "scripts/html2man") CONFIG_FILES="$CONFIG_FILES scripts/html2man" ;;
                   26249:     "scripts/mkver") CONFIG_FILES="$CONFIG_FILES scripts/mkver" ;;
                   26250:     "scripts/ntp-wait") CONFIG_FILES="$CONFIG_FILES scripts/ntp-wait" ;;
                   26251:     "scripts/ntpsweep") CONFIG_FILES="$CONFIG_FILES scripts/ntpsweep" ;;
                   26252:     "scripts/ntptrace") CONFIG_FILES="$CONFIG_FILES scripts/ntptrace" ;;
                   26253:     "scripts/ntpver") CONFIG_FILES="$CONFIG_FILES scripts/ntpver" ;;
                   26254:     "scripts/plot_summary") CONFIG_FILES="$CONFIG_FILES scripts/plot_summary" ;;
                   26255:     "scripts/summary") CONFIG_FILES="$CONFIG_FILES scripts/summary" ;;
                   26256:     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
                   26257: 
                   26258:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   26259:   esac
                   26260: done
                   26261: 
                   26262: 
                   26263: # If the user did not use the arguments to specify the items to instantiate,
                   26264: # then the envvar interface is used.  Set only those that are not.
                   26265: # We use the long form for the default assignment because of an extremely
                   26266: # bizarre bug on SunOS 4.1.3.
                   26267: if $ac_need_defaults; then
                   26268:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   26269:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   26270:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   26271: fi
                   26272: 
                   26273: # Have a temporary directory for convenience.  Make it in the build tree
                   26274: # simply because there is no reason against having it here, and in addition,
                   26275: # creating and moving files from /tmp can sometimes cause problems.
                   26276: # Hook for its removal unless debugging.
                   26277: # Note that there is a small window in which the directory will not be cleaned:
                   26278: # after its creation but before its name has been assigned to `$tmp'.
                   26279: $debug ||
                   26280: {
                   26281:   tmp= ac_tmp=
                   26282:   trap 'exit_status=$?
                   26283:   : "${ac_tmp:=$tmp}"
                   26284:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   26285: ' 0
                   26286:   trap 'as_fn_exit 1' 1 2 13 15
                   26287: }
                   26288: # Create a (secure) tmp directory for tmp files.
                   26289: 
                   26290: {
                   26291:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   26292:   test -d "$tmp"
                   26293: }  ||
                   26294: {
                   26295:   tmp=./conf$$-$RANDOM
                   26296:   (umask 077 && mkdir "$tmp")
                   26297: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   26298: ac_tmp=$tmp
                   26299: 
                   26300: # Set up the scripts for CONFIG_FILES section.
                   26301: # No need to generate them if there are no CONFIG_FILES.
                   26302: # This happens for instance with `./config.status config.h'.
                   26303: if test -n "$CONFIG_FILES"; then
                   26304: 
                   26305: 
                   26306: ac_cr=`echo X | tr X '\015'`
                   26307: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   26308: # But we know of no other shell where ac_cr would be empty at this
                   26309: # point, so we can use a bashism as a fallback.
                   26310: if test "x$ac_cr" = x; then
                   26311:   eval ac_cr=\$\'\\r\'
                   26312: fi
                   26313: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   26314: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   26315:   ac_cs_awk_cr='\\r'
                   26316: else
                   26317:   ac_cs_awk_cr=$ac_cr
                   26318: fi
                   26319: 
                   26320: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   26321: _ACEOF
                   26322: 
                   26323: 
                   26324: {
                   26325:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   26326:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   26327:   echo "_ACEOF"
                   26328: } >conf$$subs.sh ||
                   26329:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   26330: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   26331: ac_delim='%!_!# '
                   26332: for ac_last_try in false false false false false :; do
                   26333:   . ./conf$$subs.sh ||
                   26334:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   26335: 
                   26336:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   26337:   if test $ac_delim_n = $ac_delim_num; then
                   26338:     break
                   26339:   elif $ac_last_try; then
                   26340:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   26341:   else
                   26342:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   26343:   fi
                   26344: done
                   26345: rm -f conf$$subs.sh
                   26346: 
                   26347: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   26348: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   26349: _ACEOF
                   26350: sed -n '
                   26351: h
                   26352: s/^/S["/; s/!.*/"]=/
                   26353: p
                   26354: g
                   26355: s/^[^!]*!//
                   26356: :repl
                   26357: t repl
                   26358: s/'"$ac_delim"'$//
                   26359: t delim
                   26360: :nl
                   26361: h
                   26362: s/\(.\{148\}\)..*/\1/
                   26363: t more1
                   26364: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   26365: p
                   26366: n
                   26367: b repl
                   26368: :more1
                   26369: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   26370: p
                   26371: g
                   26372: s/.\{148\}//
                   26373: t nl
                   26374: :delim
                   26375: h
                   26376: s/\(.\{148\}\)..*/\1/
                   26377: t more2
                   26378: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   26379: p
                   26380: b
                   26381: :more2
                   26382: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   26383: p
                   26384: g
                   26385: s/.\{148\}//
                   26386: t delim
                   26387: ' <conf$$subs.awk | sed '
                   26388: /^[^""]/{
                   26389:   N
                   26390:   s/\n//
                   26391: }
                   26392: ' >>$CONFIG_STATUS || ac_write_fail=1
                   26393: rm -f conf$$subs.awk
                   26394: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   26395: _ACAWK
                   26396: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   26397:   for (key in S) S_is_set[key] = 1
                   26398:   FS = ""
                   26399: 
                   26400: }
                   26401: {
                   26402:   line = $ 0
                   26403:   nfields = split(line, field, "@")
                   26404:   substed = 0
                   26405:   len = length(field[1])
                   26406:   for (i = 2; i < nfields; i++) {
                   26407:     key = field[i]
                   26408:     keylen = length(key)
                   26409:     if (S_is_set[key]) {
                   26410:       value = S[key]
                   26411:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   26412:       len += length(value) + length(field[++i])
                   26413:       substed = 1
                   26414:     } else
                   26415:       len += 1 + keylen
                   26416:   }
                   26417: 
                   26418:   print line
                   26419: }
                   26420: 
                   26421: _ACAWK
                   26422: _ACEOF
                   26423: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26424: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   26425:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   26426: else
                   26427:   cat
                   26428: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   26429:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   26430: _ACEOF
                   26431: 
                   26432: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   26433: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   26434: # trailing colons and then remove the whole line if VPATH becomes empty
                   26435: # (actually we leave an empty line to preserve line numbers).
                   26436: if test "x$srcdir" = x.; then
                   26437:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   26438: h
                   26439: s///
                   26440: s/^/:/
                   26441: s/[     ]*$/:/
                   26442: s/:\$(srcdir):/:/g
                   26443: s/:\${srcdir}:/:/g
                   26444: s/:@srcdir@:/:/g
                   26445: s/^:*//
                   26446: s/:*$//
                   26447: x
                   26448: s/\(=[  ]*\).*/\1/
                   26449: G
                   26450: s/\n//
                   26451: s/^[^=]*=[      ]*$//
                   26452: }'
                   26453: fi
                   26454: 
                   26455: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26456: fi # test -n "$CONFIG_FILES"
                   26457: 
                   26458: # Set up the scripts for CONFIG_HEADERS section.
                   26459: # No need to generate them if there are no CONFIG_HEADERS.
                   26460: # This happens for instance with `./config.status Makefile'.
                   26461: if test -n "$CONFIG_HEADERS"; then
                   26462: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   26463: BEGIN {
                   26464: _ACEOF
                   26465: 
                   26466: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   26467: # here-document in config.status, that substitutes the proper values into
                   26468: # config.h.in to produce config.h.
                   26469: 
                   26470: # Create a delimiter string that does not exist in confdefs.h, to ease
                   26471: # handling of long lines.
                   26472: ac_delim='%!_!# '
                   26473: for ac_last_try in false false :; do
                   26474:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   26475:   if test -z "$ac_tt"; then
                   26476:     break
                   26477:   elif $ac_last_try; then
                   26478:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   26479:   else
                   26480:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   26481:   fi
                   26482: done
                   26483: 
                   26484: # For the awk script, D is an array of macro values keyed by name,
                   26485: # likewise P contains macro parameters if any.  Preserve backslash
                   26486: # newline sequences.
                   26487: 
                   26488: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   26489: sed -n '
                   26490: s/.\{148\}/&'"$ac_delim"'/g
                   26491: t rset
                   26492: :rset
                   26493: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   26494: t def
                   26495: d
                   26496: :def
                   26497: s/\\$//
                   26498: t bsnl
                   26499: s/["\\]/\\&/g
                   26500: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   26501: D["\1"]=" \3"/p
                   26502: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   26503: d
                   26504: :bsnl
                   26505: s/["\\]/\\&/g
                   26506: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   26507: D["\1"]=" \3\\\\\\n"\\/p
                   26508: t cont
                   26509: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   26510: t cont
                   26511: d
                   26512: :cont
                   26513: n
                   26514: s/.\{148\}/&'"$ac_delim"'/g
                   26515: t clear
                   26516: :clear
                   26517: s/\\$//
                   26518: t bsnlc
                   26519: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   26520: d
                   26521: :bsnlc
                   26522: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   26523: b cont
                   26524: ' <confdefs.h | sed '
                   26525: s/'"$ac_delim"'/"\\\
                   26526: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   26527: 
                   26528: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   26529:   for (key in D) D_is_set[key] = 1
                   26530:   FS = ""
                   26531: }
                   26532: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   26533:   line = \$ 0
                   26534:   split(line, arg, " ")
                   26535:   if (arg[1] == "#") {
                   26536:     defundef = arg[2]
                   26537:     mac1 = arg[3]
                   26538:   } else {
                   26539:     defundef = substr(arg[1], 2)
                   26540:     mac1 = arg[2]
                   26541:   }
                   26542:   split(mac1, mac2, "(") #)
                   26543:   macro = mac2[1]
                   26544:   prefix = substr(line, 1, index(line, defundef) - 1)
                   26545:   if (D_is_set[macro]) {
                   26546:     # Preserve the white space surrounding the "#".
                   26547:     print prefix "define", macro P[macro] D[macro]
                   26548:     next
                   26549:   } else {
                   26550:     # Replace #undef with comments.  This is necessary, for example,
                   26551:     # in the case of _POSIX_SOURCE, which is predefined and required
                   26552:     # on some systems where configure will not decide to define it.
                   26553:     if (defundef == "undef") {
                   26554:       print "/*", prefix defundef, macro, "*/"
                   26555:       next
                   26556:     }
                   26557:   }
                   26558: }
                   26559: { print }
                   26560: _ACAWK
                   26561: _ACEOF
                   26562: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26563:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   26564: fi # test -n "$CONFIG_HEADERS"
                   26565: 
                   26566: 
                   26567: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   26568: shift
                   26569: for ac_tag
                   26570: do
                   26571:   case $ac_tag in
                   26572:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   26573:   esac
                   26574:   case $ac_mode$ac_tag in
                   26575:   :[FHL]*:*);;
                   26576:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   26577:   :[FH]-) ac_tag=-:-;;
                   26578:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   26579:   esac
                   26580:   ac_save_IFS=$IFS
                   26581:   IFS=:
                   26582:   set x $ac_tag
                   26583:   IFS=$ac_save_IFS
                   26584:   shift
                   26585:   ac_file=$1
                   26586:   shift
                   26587: 
                   26588:   case $ac_mode in
                   26589:   :L) ac_source=$1;;
                   26590:   :[FH])
                   26591:     ac_file_inputs=
                   26592:     for ac_f
                   26593:     do
                   26594:       case $ac_f in
                   26595:       -) ac_f="$ac_tmp/stdin";;
                   26596:       *) # Look for the file first in the build tree, then in the source tree
                   26597:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   26598:         # because $ac_f cannot contain `:'.
                   26599:         test -f "$ac_f" ||
                   26600:           case $ac_f in
                   26601:           [\\/$]*) false;;
                   26602:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   26603:           esac ||
                   26604:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   26605:       esac
                   26606:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   26607:       as_fn_append ac_file_inputs " '$ac_f'"
                   26608:     done
                   26609: 
                   26610:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   26611:     # use $as_me), people would be surprised to read:
                   26612:     #    /* config.h.  Generated by config.status.  */
                   26613:     configure_input='Generated from '`
                   26614:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   26615:        `' by configure.'
                   26616:     if test x"$ac_file" != x-; then
                   26617:       configure_input="$ac_file.  $configure_input"
                   26618:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   26619: $as_echo "$as_me: creating $ac_file" >&6;}
                   26620:     fi
                   26621:     # Neutralize special characters interpreted by sed in replacement strings.
                   26622:     case $configure_input in #(
                   26623:     *\&* | *\|* | *\\* )
                   26624:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   26625:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   26626:     *) ac_sed_conf_input=$configure_input;;
                   26627:     esac
                   26628: 
                   26629:     case $ac_tag in
                   26630:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   26631:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   26632:     esac
                   26633:     ;;
                   26634:   esac
                   26635: 
                   26636:   ac_dir=`$as_dirname -- "$ac_file" ||
                   26637: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   26638:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   26639:         X"$ac_file" : 'X\(//\)$' \| \
                   26640:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   26641: $as_echo X"$ac_file" |
                   26642:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   26643:            s//\1/
                   26644:            q
                   26645:          }
                   26646:          /^X\(\/\/\)[^/].*/{
                   26647:            s//\1/
                   26648:            q
                   26649:          }
                   26650:          /^X\(\/\/\)$/{
                   26651:            s//\1/
                   26652:            q
                   26653:          }
                   26654:          /^X\(\/\).*/{
                   26655:            s//\1/
                   26656:            q
                   26657:          }
                   26658:          s/.*/./; q'`
                   26659:   as_dir="$ac_dir"; as_fn_mkdir_p
                   26660:   ac_builddir=.
                   26661: 
                   26662: case "$ac_dir" in
                   26663: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   26664: *)
                   26665:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   26666:   # A ".." for each directory in $ac_dir_suffix.
                   26667:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   26668:   case $ac_top_builddir_sub in
                   26669:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   26670:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   26671:   esac ;;
                   26672: esac
                   26673: ac_abs_top_builddir=$ac_pwd
                   26674: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   26675: # for backward compatibility:
                   26676: ac_top_builddir=$ac_top_build_prefix
                   26677: 
                   26678: case $srcdir in
                   26679:   .)  # We are building in place.
                   26680:     ac_srcdir=.
                   26681:     ac_top_srcdir=$ac_top_builddir_sub
                   26682:     ac_abs_top_srcdir=$ac_pwd ;;
                   26683:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   26684:     ac_srcdir=$srcdir$ac_dir_suffix;
                   26685:     ac_top_srcdir=$srcdir
                   26686:     ac_abs_top_srcdir=$srcdir ;;
                   26687:   *) # Relative name.
                   26688:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   26689:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   26690:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   26691: esac
                   26692: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   26693: 
                   26694: 
                   26695:   case $ac_mode in
                   26696:   :F)
                   26697:   #
                   26698:   # CONFIG_FILE
                   26699:   #
                   26700: 
                   26701:   case $INSTALL in
                   26702:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   26703:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   26704:   esac
                   26705:   ac_MKDIR_P=$MKDIR_P
                   26706:   case $MKDIR_P in
                   26707:   [\\/$]* | ?:[\\/]* ) ;;
                   26708:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   26709:   esac
                   26710: _ACEOF
                   26711: 
                   26712: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26713: # If the template does not know about datarootdir, expand it.
                   26714: # FIXME: This hack should be removed a few years after 2.60.
                   26715: ac_datarootdir_hack=; ac_datarootdir_seen=
                   26716: ac_sed_dataroot='
                   26717: /datarootdir/ {
                   26718:   p
                   26719:   q
                   26720: }
                   26721: /@datadir@/p
                   26722: /@docdir@/p
                   26723: /@infodir@/p
                   26724: /@localedir@/p
                   26725: /@mandir@/p'
                   26726: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   26727: *datarootdir*) ac_datarootdir_seen=yes;;
                   26728: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   26729:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   26730: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   26731: _ACEOF
                   26732: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   26733:   ac_datarootdir_hack='
                   26734:   s&@datadir@&$datadir&g
                   26735:   s&@docdir@&$docdir&g
                   26736:   s&@infodir@&$infodir&g
                   26737:   s&@localedir@&$localedir&g
                   26738:   s&@mandir@&$mandir&g
                   26739:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   26740: esac
                   26741: _ACEOF
                   26742: 
                   26743: # Neutralize VPATH when `$srcdir' = `.'.
                   26744: # Shell code in configure.ac might set extrasub.
                   26745: # FIXME: do we really want to maintain this feature?
                   26746: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   26747: ac_sed_extra="$ac_vpsub
                   26748: $extrasub
                   26749: _ACEOF
                   26750: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   26751: :t
                   26752: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   26753: s|@configure_input@|$ac_sed_conf_input|;t t
                   26754: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   26755: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   26756: s&@srcdir@&$ac_srcdir&;t t
                   26757: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   26758: s&@top_srcdir@&$ac_top_srcdir&;t t
                   26759: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   26760: s&@builddir@&$ac_builddir&;t t
                   26761: s&@abs_builddir@&$ac_abs_builddir&;t t
                   26762: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   26763: s&@INSTALL@&$ac_INSTALL&;t t
                   26764: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   26765: $ac_datarootdir_hack
                   26766: "
                   26767: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   26768:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   26769: 
                   26770: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   26771:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   26772:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   26773:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   26774:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   26775: which seems to be undefined.  Please make sure it is defined" >&5
                   26776: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   26777: which seems to be undefined.  Please make sure it is defined" >&2;}
                   26778: 
                   26779:   rm -f "$ac_tmp/stdin"
                   26780:   case $ac_file in
                   26781:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   26782:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   26783:   esac \
                   26784:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   26785:  ;;
                   26786:   :H)
                   26787:   #
                   26788:   # CONFIG_HEADER
                   26789:   #
                   26790:   if test x"$ac_file" != x-; then
                   26791:     {
                   26792:       $as_echo "/* $configure_input  */" \
                   26793:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   26794:     } >"$ac_tmp/config.h" \
                   26795:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   26796:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   26797:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   26798: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   26799:     else
                   26800:       rm -f "$ac_file"
                   26801:       mv "$ac_tmp/config.h" "$ac_file" \
                   26802:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   26803:     fi
                   26804:   else
                   26805:     $as_echo "/* $configure_input  */" \
                   26806:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   26807:       || as_fn_error $? "could not create -" "$LINENO" 5
                   26808:   fi
                   26809: # Compute "$ac_file"'s index in $config_headers.
                   26810: _am_arg="$ac_file"
                   26811: _am_stamp_count=1
                   26812: for _am_header in $config_headers :; do
                   26813:   case $_am_header in
                   26814:     $_am_arg | $_am_arg:* )
                   26815:       break ;;
                   26816:     * )
                   26817:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   26818:   esac
                   26819: done
                   26820: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   26821: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   26822:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   26823:         X"$_am_arg" : 'X\(//\)$' \| \
                   26824:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   26825: $as_echo X"$_am_arg" |
                   26826:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   26827:            s//\1/
                   26828:            q
                   26829:          }
                   26830:          /^X\(\/\/\)[^/].*/{
                   26831:            s//\1/
                   26832:            q
                   26833:          }
                   26834:          /^X\(\/\/\)$/{
                   26835:            s//\1/
                   26836:            q
                   26837:          }
                   26838:          /^X\(\/\).*/{
                   26839:            s//\1/
                   26840:            q
                   26841:          }
                   26842:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   26843:  ;;
                   26844: 
                   26845:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   26846: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   26847:  ;;
                   26848:   esac
                   26849: 
                   26850: 
                   26851:   case $ac_file$ac_mode in
                   26852:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   26853:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   26854:   # are listed without --file.  Let's play safe and only enable the eval
                   26855:   # if we detect the quoting.
                   26856:   case $CONFIG_FILES in
                   26857:   *\'*) eval set x "$CONFIG_FILES" ;;
                   26858:   *)   set x $CONFIG_FILES ;;
                   26859:   esac
                   26860:   shift
                   26861:   for mf
                   26862:   do
                   26863:     # Strip MF so we end up with the name of the file.
                   26864:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   26865:     # Check whether this is an Automake generated Makefile or not.
                   26866:     # We used to match only the files named `Makefile.in', but
                   26867:     # some people rename them; so instead we look at the file content.
                   26868:     # Grep'ing the first line is not enough: some people post-process
                   26869:     # each Makefile.in and add a new line on top of each file to say so.
                   26870:     # Grep'ing the whole file is not good either: AIX grep has a line
                   26871:     # limit of 2048, but all sed's we know have understand at least 4000.
                   26872:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   26873:       dirpart=`$as_dirname -- "$mf" ||
                   26874: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   26875:         X"$mf" : 'X\(//\)[^/]' \| \
                   26876:         X"$mf" : 'X\(//\)$' \| \
                   26877:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   26878: $as_echo X"$mf" |
                   26879:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   26880:            s//\1/
                   26881:            q
                   26882:          }
                   26883:          /^X\(\/\/\)[^/].*/{
                   26884:            s//\1/
                   26885:            q
                   26886:          }
                   26887:          /^X\(\/\/\)$/{
                   26888:            s//\1/
                   26889:            q
                   26890:          }
                   26891:          /^X\(\/\).*/{
                   26892:            s//\1/
                   26893:            q
                   26894:          }
                   26895:          s/.*/./; q'`
                   26896:     else
                   26897:       continue
                   26898:     fi
                   26899:     # Extract the definition of DEPDIR, am__include, and am__quote
                   26900:     # from the Makefile without running `make'.
                   26901:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   26902:     test -z "$DEPDIR" && continue
                   26903:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   26904:     test -z "am__include" && continue
                   26905:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   26906:     # When using ansi2knr, U may be empty or an underscore; expand it
                   26907:     U=`sed -n 's/^U = //p' < "$mf"`
                   26908:     # Find all dependency output files, they are included files with
                   26909:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   26910:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   26911:     # expansion.
                   26912:     for file in `sed -n "
                   26913:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   26914:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   26915:       # Make sure the directory exists.
                   26916:       test -f "$dirpart/$file" && continue
                   26917:       fdir=`$as_dirname -- "$file" ||
                   26918: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   26919:         X"$file" : 'X\(//\)[^/]' \| \
                   26920:         X"$file" : 'X\(//\)$' \| \
                   26921:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   26922: $as_echo X"$file" |
                   26923:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   26924:            s//\1/
                   26925:            q
                   26926:          }
                   26927:          /^X\(\/\/\)[^/].*/{
                   26928:            s//\1/
                   26929:            q
                   26930:          }
                   26931:          /^X\(\/\/\)$/{
                   26932:            s//\1/
                   26933:            q
                   26934:          }
                   26935:          /^X\(\/\).*/{
                   26936:            s//\1/
                   26937:            q
                   26938:          }
                   26939:          s/.*/./; q'`
                   26940:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   26941:       # echo "creating $dirpart/$file"
                   26942:       echo '# dummy' > "$dirpart/$file"
                   26943:     done
                   26944:   done
                   26945: }
                   26946:  ;;
                   26947:     "libtool":C)
                   26948: 
                   26949:     # See if we are running on zsh, and set the options which allow our
                   26950:     # commands through without removal of \ escapes.
                   26951:     if test -n "${ZSH_VERSION+set}" ; then
                   26952:       setopt NO_GLOB_SUBST
                   26953:     fi
                   26954: 
                   26955:     cfgfile="${ofile}T"
                   26956:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   26957:     $RM "$cfgfile"
                   26958: 
                   26959:     cat <<_LT_EOF >> "$cfgfile"
                   26960: #! $SHELL
                   26961: 
                   26962: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   26963: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   26964: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   26965: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   26966: #
                   26967: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   26968: #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
                   26969: #                 Inc.
                   26970: #   Written by Gordon Matzigkeit, 1996
                   26971: #
                   26972: #   This file is part of GNU Libtool.
                   26973: #
                   26974: # GNU Libtool is free software; you can redistribute it and/or
                   26975: # modify it under the terms of the GNU General Public License as
                   26976: # published by the Free Software Foundation; either version 2 of
                   26977: # the License, or (at your option) any later version.
                   26978: #
                   26979: # As a special exception to the GNU General Public License,
                   26980: # if you distribute this file as part of a program or library that
                   26981: # is built using GNU Libtool, you may include this file under the
                   26982: # same distribution terms that you use for the rest of that program.
                   26983: #
                   26984: # GNU Libtool is distributed in the hope that it will be useful,
                   26985: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   26986: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   26987: # GNU General Public License for more details.
                   26988: #
                   26989: # You should have received a copy of the GNU General Public License
                   26990: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   26991: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   26992: # obtained by writing to the Free Software Foundation, Inc.,
                   26993: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   26994: 
                   26995: 
                   26996: # The names of the tagged configurations supported by this script.
                   26997: available_tags=""
                   26998: 
                   26999: # ### BEGIN LIBTOOL CONFIG
                   27000: 
                   27001: # Whether or not to build shared libraries.
                   27002: build_libtool_libs=$enable_shared
                   27003: 
                   27004: # Which release of libtool.m4 was used?
                   27005: macro_version=$macro_version
                   27006: macro_revision=$macro_revision
                   27007: 
                   27008: # Whether or not to build static libraries.
                   27009: build_old_libs=$enable_static
                   27010: 
                   27011: # What type of objects to build.
                   27012: pic_mode=$pic_mode
                   27013: 
                   27014: # Whether or not to optimize for fast installation.
                   27015: fast_install=$enable_fast_install
                   27016: 
                   27017: # Shell to use when invoking shell scripts.
                   27018: SHELL=$lt_SHELL
                   27019: 
                   27020: # An echo program that protects backslashes.
                   27021: ECHO=$lt_ECHO
                   27022: 
                   27023: # The host system.
                   27024: host_alias=$host_alias
                   27025: host=$host
                   27026: host_os=$host_os
                   27027: 
                   27028: # The build system.
                   27029: build_alias=$build_alias
                   27030: build=$build
                   27031: build_os=$build_os
                   27032: 
                   27033: # A sed program that does not truncate output.
                   27034: SED=$lt_SED
                   27035: 
                   27036: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   27037: Xsed="\$SED -e 1s/^X//"
                   27038: 
                   27039: # A grep program that handles long lines.
                   27040: GREP=$lt_GREP
                   27041: 
                   27042: # An ERE matcher.
                   27043: EGREP=$lt_EGREP
                   27044: 
                   27045: # A literal string matcher.
                   27046: FGREP=$lt_FGREP
                   27047: 
                   27048: # A BSD- or MS-compatible name lister.
                   27049: NM=$lt_NM
                   27050: 
                   27051: # Whether we need soft or hard links.
                   27052: LN_S=$lt_LN_S
                   27053: 
                   27054: # What is the maximum length of a command?
                   27055: max_cmd_len=$max_cmd_len
                   27056: 
                   27057: # Object file suffix (normally "o").
                   27058: objext=$ac_objext
                   27059: 
                   27060: # Executable file suffix (normally "").
                   27061: exeext=$exeext
                   27062: 
                   27063: # whether the shell understands "unset".
                   27064: lt_unset=$lt_unset
                   27065: 
                   27066: # turn spaces into newlines.
                   27067: SP2NL=$lt_lt_SP2NL
                   27068: 
                   27069: # turn newlines into spaces.
                   27070: NL2SP=$lt_lt_NL2SP
                   27071: 
                   27072: # convert \$build file names to \$host format.
                   27073: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   27074: 
                   27075: # convert \$build files to toolchain format.
                   27076: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   27077: 
                   27078: # An object symbol dumper.
                   27079: OBJDUMP=$lt_OBJDUMP
                   27080: 
                   27081: # Method to check whether dependent libraries are shared objects.
                   27082: deplibs_check_method=$lt_deplibs_check_method
                   27083: 
                   27084: # Command to use when deplibs_check_method = "file_magic".
                   27085: file_magic_cmd=$lt_file_magic_cmd
                   27086: 
                   27087: # How to find potential files when deplibs_check_method = "file_magic".
                   27088: file_magic_glob=$lt_file_magic_glob
                   27089: 
                   27090: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   27091: want_nocaseglob=$lt_want_nocaseglob
                   27092: 
                   27093: # DLL creation program.
                   27094: DLLTOOL=$lt_DLLTOOL
                   27095: 
                   27096: # Command to associate shared and link libraries.
                   27097: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   27098: 
                   27099: # The archiver.
                   27100: AR=$lt_AR
                   27101: 
                   27102: # Flags to create an archive.
                   27103: AR_FLAGS=$lt_AR_FLAGS
                   27104: 
                   27105: # How to feed a file listing to the archiver.
                   27106: archiver_list_spec=$lt_archiver_list_spec
                   27107: 
                   27108: # A symbol stripping program.
                   27109: STRIP=$lt_STRIP
                   27110: 
                   27111: # Commands used to install an old-style archive.
                   27112: RANLIB=$lt_RANLIB
                   27113: old_postinstall_cmds=$lt_old_postinstall_cmds
                   27114: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   27115: 
                   27116: # Whether to use a lock for old archive extraction.
                   27117: lock_old_archive_extraction=$lock_old_archive_extraction
                   27118: 
                   27119: # A C compiler.
                   27120: LTCC=$lt_CC
                   27121: 
                   27122: # LTCC compiler flags.
                   27123: LTCFLAGS=$lt_CFLAGS
                   27124: 
                   27125: # Take the output of nm and produce a listing of raw symbols and C names.
                   27126: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   27127: 
                   27128: # Transform the output of nm in a proper C declaration.
                   27129: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   27130: 
                   27131: # Transform the output of nm in a C name address pair.
                   27132: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   27133: 
                   27134: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   27135: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   27136: 
                   27137: # Specify filename containing input files for \$NM.
                   27138: nm_file_list_spec=$lt_nm_file_list_spec
                   27139: 
                   27140: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   27141: lt_sysroot=$lt_sysroot
                   27142: 
                   27143: # The name of the directory that contains temporary libtool files.
                   27144: objdir=$objdir
                   27145: 
                   27146: # Used to examine libraries when file_magic_cmd begins with "file".
                   27147: MAGIC_CMD=$MAGIC_CMD
                   27148: 
                   27149: # Must we lock files when doing compilation?
                   27150: need_locks=$lt_need_locks
                   27151: 
                   27152: # Manifest tool.
                   27153: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   27154: 
                   27155: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   27156: DSYMUTIL=$lt_DSYMUTIL
                   27157: 
                   27158: # Tool to change global to local symbols on Mac OS X.
                   27159: NMEDIT=$lt_NMEDIT
                   27160: 
                   27161: # Tool to manipulate fat objects and archives on Mac OS X.
                   27162: LIPO=$lt_LIPO
                   27163: 
                   27164: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   27165: OTOOL=$lt_OTOOL
                   27166: 
                   27167: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   27168: OTOOL64=$lt_OTOOL64
                   27169: 
                   27170: # Old archive suffix (normally "a").
                   27171: libext=$libext
                   27172: 
                   27173: # Shared library suffix (normally ".so").
                   27174: shrext_cmds=$lt_shrext_cmds
                   27175: 
                   27176: # The commands to extract the exported symbol list from a shared archive.
                   27177: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   27178: 
                   27179: # Variables whose values should be saved in libtool wrapper scripts and
                   27180: # restored at link time.
                   27181: variables_saved_for_relink=$lt_variables_saved_for_relink
                   27182: 
                   27183: # Do we need the "lib" prefix for modules?
                   27184: need_lib_prefix=$need_lib_prefix
                   27185: 
                   27186: # Do we need a version for libraries?
                   27187: need_version=$need_version
                   27188: 
                   27189: # Library versioning type.
                   27190: version_type=$version_type
                   27191: 
                   27192: # Shared library runtime path variable.
                   27193: runpath_var=$runpath_var
                   27194: 
                   27195: # Shared library path variable.
                   27196: shlibpath_var=$shlibpath_var
                   27197: 
                   27198: # Is shlibpath searched before the hard-coded library search path?
                   27199: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   27200: 
                   27201: # Format of library name prefix.
                   27202: libname_spec=$lt_libname_spec
                   27203: 
                   27204: # List of archive names.  First name is the real one, the rest are links.
                   27205: # The last name is the one that the linker finds with -lNAME
                   27206: library_names_spec=$lt_library_names_spec
                   27207: 
                   27208: # The coded name of the library, if different from the real name.
                   27209: soname_spec=$lt_soname_spec
                   27210: 
                   27211: # Permission mode override for installation of shared libraries.
                   27212: install_override_mode=$lt_install_override_mode
                   27213: 
                   27214: # Command to use after installation of a shared archive.
                   27215: postinstall_cmds=$lt_postinstall_cmds
                   27216: 
                   27217: # Command to use after uninstallation of a shared archive.
                   27218: postuninstall_cmds=$lt_postuninstall_cmds
                   27219: 
                   27220: # Commands used to finish a libtool library installation in a directory.
                   27221: finish_cmds=$lt_finish_cmds
                   27222: 
                   27223: # As "finish_cmds", except a single script fragment to be evaled but
                   27224: # not shown.
                   27225: finish_eval=$lt_finish_eval
                   27226: 
                   27227: # Whether we should hardcode library paths into libraries.
                   27228: hardcode_into_libs=$hardcode_into_libs
                   27229: 
                   27230: # Compile-time system search path for libraries.
                   27231: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   27232: 
                   27233: # Run-time system search path for libraries.
                   27234: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   27235: 
                   27236: # Whether dlopen is supported.
                   27237: dlopen_support=$enable_dlopen
                   27238: 
                   27239: # Whether dlopen of programs is supported.
                   27240: dlopen_self=$enable_dlopen_self
                   27241: 
                   27242: # Whether dlopen of statically linked programs is supported.
                   27243: dlopen_self_static=$enable_dlopen_self_static
                   27244: 
                   27245: # Commands to strip libraries.
                   27246: old_striplib=$lt_old_striplib
                   27247: striplib=$lt_striplib
                   27248: 
                   27249: 
                   27250: # The linker used to build libraries.
                   27251: LD=$lt_LD
                   27252: 
                   27253: # How to create reloadable object files.
                   27254: reload_flag=$lt_reload_flag
                   27255: reload_cmds=$lt_reload_cmds
                   27256: 
                   27257: # Commands used to build an old-style archive.
                   27258: old_archive_cmds=$lt_old_archive_cmds
                   27259: 
                   27260: # A language specific compiler.
                   27261: CC=$lt_compiler
                   27262: 
                   27263: # Is the compiler the GNU compiler?
                   27264: with_gcc=$GCC
                   27265: 
                   27266: # Compiler flag to turn off builtin functions.
                   27267: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   27268: 
                   27269: # Additional compiler flags for building library objects.
                   27270: pic_flag=$lt_lt_prog_compiler_pic
                   27271: 
                   27272: # How to pass a linker flag through the compiler.
                   27273: wl=$lt_lt_prog_compiler_wl
                   27274: 
                   27275: # Compiler flag to prevent dynamic linking.
                   27276: link_static_flag=$lt_lt_prog_compiler_static
                   27277: 
                   27278: # Does compiler simultaneously support -c and -o options?
                   27279: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   27280: 
                   27281: # Whether or not to add -lc for building shared libraries.
                   27282: build_libtool_need_lc=$archive_cmds_need_lc
                   27283: 
                   27284: # Whether or not to disallow shared libs when runtime libs are static.
                   27285: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   27286: 
                   27287: # Compiler flag to allow reflexive dlopens.
                   27288: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   27289: 
                   27290: # Compiler flag to generate shared objects directly from archives.
                   27291: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   27292: 
                   27293: # Whether the compiler copes with passing no objects directly.
                   27294: compiler_needs_object=$lt_compiler_needs_object
                   27295: 
                   27296: # Create an old-style archive from a shared archive.
                   27297: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   27298: 
                   27299: # Create a temporary old-style archive to link instead of a shared archive.
                   27300: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   27301: 
                   27302: # Commands used to build a shared archive.
                   27303: archive_cmds=$lt_archive_cmds
                   27304: archive_expsym_cmds=$lt_archive_expsym_cmds
                   27305: 
                   27306: # Commands used to build a loadable module if different from building
                   27307: # a shared archive.
                   27308: module_cmds=$lt_module_cmds
                   27309: module_expsym_cmds=$lt_module_expsym_cmds
                   27310: 
                   27311: # Whether we are building with GNU ld or not.
                   27312: with_gnu_ld=$lt_with_gnu_ld
                   27313: 
                   27314: # Flag that allows shared libraries with undefined symbols to be built.
                   27315: allow_undefined_flag=$lt_allow_undefined_flag
                   27316: 
                   27317: # Flag that enforces no undefined symbols.
                   27318: no_undefined_flag=$lt_no_undefined_flag
                   27319: 
                   27320: # Flag to hardcode \$libdir into a binary during linking.
                   27321: # This must work even if \$libdir does not exist
                   27322: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   27323: 
                   27324: # If ld is used when linking, flag to hardcode \$libdir into a binary
                   27325: # during linking.  This must work even if \$libdir does not exist.
                   27326: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
                   27327: 
                   27328: # Whether we need a single "-rpath" flag with a separated argument.
                   27329: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   27330: 
                   27331: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   27332: # DIR into the resulting binary.
                   27333: hardcode_direct=$hardcode_direct
                   27334: 
                   27335: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   27336: # DIR into the resulting binary and the resulting library dependency is
                   27337: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   27338: # library is relocated.
                   27339: hardcode_direct_absolute=$hardcode_direct_absolute
                   27340: 
                   27341: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   27342: # into the resulting binary.
                   27343: hardcode_minus_L=$hardcode_minus_L
                   27344: 
                   27345: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   27346: # into the resulting binary.
                   27347: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   27348: 
                   27349: # Set to "yes" if building a shared library automatically hardcodes DIR
                   27350: # into the library and all subsequent libraries and executables linked
                   27351: # against it.
                   27352: hardcode_automatic=$hardcode_automatic
                   27353: 
                   27354: # Set to yes if linker adds runtime paths of dependent libraries
                   27355: # to runtime path list.
                   27356: inherit_rpath=$inherit_rpath
                   27357: 
                   27358: # Whether libtool must link a program against all its dependency libraries.
                   27359: link_all_deplibs=$link_all_deplibs
                   27360: 
                   27361: # Set to "yes" if exported symbols are required.
                   27362: always_export_symbols=$always_export_symbols
                   27363: 
                   27364: # The commands to list exported symbols.
                   27365: export_symbols_cmds=$lt_export_symbols_cmds
                   27366: 
                   27367: # Symbols that should not be listed in the preloaded symbols.
                   27368: exclude_expsyms=$lt_exclude_expsyms
                   27369: 
                   27370: # Symbols that must always be exported.
                   27371: include_expsyms=$lt_include_expsyms
                   27372: 
                   27373: # Commands necessary for linking programs (against libraries) with templates.
                   27374: prelink_cmds=$lt_prelink_cmds
                   27375: 
                   27376: # Commands necessary for finishing linking programs.
                   27377: postlink_cmds=$lt_postlink_cmds
                   27378: 
                   27379: # Specify filename containing input files.
                   27380: file_list_spec=$lt_file_list_spec
                   27381: 
                   27382: # How to hardcode a shared library path into an executable.
                   27383: hardcode_action=$hardcode_action
                   27384: 
                   27385: # ### END LIBTOOL CONFIG
                   27386: 
                   27387: _LT_EOF
                   27388: 
                   27389:   case $host_os in
                   27390:   aix3*)
                   27391:     cat <<\_LT_EOF >> "$cfgfile"
                   27392: # AIX sometimes has problems with the GCC collect2 program.  For some
                   27393: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   27394: # vanish in a puff of smoke.
                   27395: if test "X${COLLECT_NAMES+set}" != Xset; then
                   27396:   COLLECT_NAMES=
                   27397:   export COLLECT_NAMES
                   27398: fi
                   27399: _LT_EOF
                   27400:     ;;
                   27401:   esac
                   27402: 
                   27403: 
                   27404: ltmain="$ac_aux_dir/ltmain.sh"
                   27405: 
                   27406: 
                   27407:   # We use sed instead of cat because bash on DJGPP gets confused if
                   27408:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   27409:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   27410:   # is reportedly fixed, but why not run on old versions too?
                   27411:   sed '$q' "$ltmain" >> "$cfgfile" \
                   27412:      || (rm -f "$cfgfile"; exit 1)
                   27413: 
                   27414:   if test x"$xsi_shell" = xyes; then
                   27415:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   27416: func_dirname ()\
                   27417: {\
                   27418: \    case ${1} in\
                   27419: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   27420: \      *  ) func_dirname_result="${3}" ;;\
                   27421: \    esac\
                   27422: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   27423:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27424:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27425: test 0 -eq $? || _lt_function_replace_fail=:
                   27426: 
                   27427: 
                   27428:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   27429: func_basename ()\
                   27430: {\
                   27431: \    func_basename_result="${1##*/}"\
                   27432: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   27433:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27434:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27435: test 0 -eq $? || _lt_function_replace_fail=:
                   27436: 
                   27437: 
                   27438:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   27439: func_dirname_and_basename ()\
                   27440: {\
                   27441: \    case ${1} in\
                   27442: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   27443: \      *  ) func_dirname_result="${3}" ;;\
                   27444: \    esac\
                   27445: \    func_basename_result="${1##*/}"\
                   27446: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   27447:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27448:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27449: test 0 -eq $? || _lt_function_replace_fail=:
                   27450: 
                   27451: 
                   27452:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   27453: func_stripname ()\
                   27454: {\
                   27455: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   27456: \    # positional parameters, so assign one to ordinary parameter first.\
                   27457: \    func_stripname_result=${3}\
                   27458: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   27459: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   27460: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   27461:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27462:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27463: test 0 -eq $? || _lt_function_replace_fail=:
                   27464: 
                   27465: 
                   27466:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   27467: func_split_long_opt ()\
                   27468: {\
                   27469: \    func_split_long_opt_name=${1%%=*}\
                   27470: \    func_split_long_opt_arg=${1#*=}\
                   27471: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   27472:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27473:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27474: test 0 -eq $? || _lt_function_replace_fail=:
                   27475: 
                   27476: 
                   27477:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   27478: func_split_short_opt ()\
                   27479: {\
                   27480: \    func_split_short_opt_arg=${1#??}\
                   27481: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   27482: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   27483:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27484:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27485: test 0 -eq $? || _lt_function_replace_fail=:
                   27486: 
                   27487: 
                   27488:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   27489: func_lo2o ()\
                   27490: {\
                   27491: \    case ${1} in\
                   27492: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   27493: \      *)    func_lo2o_result=${1} ;;\
                   27494: \    esac\
                   27495: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   27496:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27497:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27498: test 0 -eq $? || _lt_function_replace_fail=:
                   27499: 
                   27500: 
                   27501:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   27502: func_xform ()\
                   27503: {\
                   27504:     func_xform_result=${1%.*}.lo\
                   27505: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   27506:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27507:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27508: test 0 -eq $? || _lt_function_replace_fail=:
                   27509: 
                   27510: 
                   27511:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   27512: func_arith ()\
                   27513: {\
                   27514:     func_arith_result=$(( $* ))\
                   27515: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   27516:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27517:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27518: test 0 -eq $? || _lt_function_replace_fail=:
                   27519: 
                   27520: 
                   27521:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   27522: func_len ()\
                   27523: {\
                   27524:     func_len_result=${#1}\
                   27525: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   27526:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27527:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27528: test 0 -eq $? || _lt_function_replace_fail=:
                   27529: 
                   27530: fi
                   27531: 
                   27532: if test x"$lt_shell_append" = xyes; then
                   27533:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   27534: func_append ()\
                   27535: {\
                   27536:     eval "${1}+=\\${2}"\
                   27537: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   27538:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27539:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27540: test 0 -eq $? || _lt_function_replace_fail=:
                   27541: 
                   27542: 
                   27543:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   27544: func_append_quoted ()\
                   27545: {\
                   27546: \    func_quote_for_eval "${2}"\
                   27547: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   27548: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   27549:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27550:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27551: test 0 -eq $? || _lt_function_replace_fail=:
                   27552: 
                   27553: 
                   27554:   # Save a `func_append' function call where possible by direct use of '+='
                   27555:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   27556:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27557:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27558:   test 0 -eq $? || _lt_function_replace_fail=:
                   27559: else
                   27560:   # Save a `func_append' function call even when '+=' is not available
                   27561:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   27562:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   27563:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   27564:   test 0 -eq $? || _lt_function_replace_fail=:
                   27565: fi
                   27566: 
                   27567: if test x"$_lt_function_replace_fail" = x":"; then
                   27568:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   27569: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   27570: fi
                   27571: 
                   27572: 
                   27573:    mv -f "$cfgfile" "$ofile" ||
                   27574:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   27575:   chmod +x "$ofile"
                   27576: 
                   27577:  ;;
                   27578:     "ntpdc/nl.pl":F) chmod +x ntpdc/nl.pl ;;
                   27579:     "scripts/calc_tickadj":F) chmod +x scripts/calc_tickadj ;;
                   27580:     "scripts/checktime":F) chmod +x scripts/checktime ;;
                   27581:     "scripts/freq_adj":F) chmod +x scripts/freq_adj ;;
                   27582:     "scripts/html2man":F) chmod +x scripts/html2man ;;
                   27583:     "scripts/mkver":F) chmod +x scripts/mkver ;;
                   27584:     "scripts/ntp-wait":F) chmod +x scripts/ntp-wait ;;
                   27585:     "scripts/ntpsweep":F) chmod +x scripts/ntpsweep ;;
                   27586:     "scripts/ntptrace":F) chmod +x scripts/ntptrace ;;
                   27587:     "scripts/ntpver":F) chmod +x scripts/ntpver ;;
                   27588:     "scripts/plot_summary":F) chmod +x scripts/plot_summary ;;
                   27589:     "scripts/summary":F) chmod +x scripts/summary ;;
                   27590: 
                   27591:   esac
                   27592: done # for ac_tag
                   27593: 
                   27594: 
                   27595: as_fn_exit 0
                   27596: _ACEOF
                   27597: ac_clean_files=$ac_clean_files_save
                   27598: 
                   27599: test $ac_write_fail = 0 ||
                   27600:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   27601: 
                   27602: 
                   27603: # configure is writing to config.log, and then calls config.status.
                   27604: # config.status does its own redirection, appending to config.log.
                   27605: # Unfortunately, on DOS this fails, as config.log is still kept open
                   27606: # by configure, so config.status won't be able to write to it; its
                   27607: # output is simply discarded.  So we exec the FD to /dev/null,
                   27608: # effectively closing config.log, so it can be properly (re)opened and
                   27609: # appended to by config.status.  When coming back to configure, we
                   27610: # need to make the FD available again.
                   27611: if test "$no_create" != yes; then
                   27612:   ac_cs_success=:
                   27613:   ac_config_status_args=
                   27614:   test "$silent" = yes &&
                   27615:     ac_config_status_args="$ac_config_status_args --quiet"
                   27616:   exec 5>/dev/null
                   27617:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   27618:   exec 5>>config.log
                   27619:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   27620:   # would make configure fail if this is the last instruction.
                   27621:   $ac_cs_success || as_fn_exit 1
                   27622: fi
                   27623: 
                   27624: #
                   27625: # CONFIG_SUBDIRS section.
                   27626: #
                   27627: if test "$no_recursion" != yes; then
                   27628: 
                   27629:   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
                   27630:   # so they do not pile up.
                   27631:   ac_sub_configure_args=
                   27632:   ac_prev=
                   27633:   eval "set x $ac_configure_args"
                   27634:   shift
                   27635:   for ac_arg
                   27636:   do
                   27637:     if test -n "$ac_prev"; then
                   27638:       ac_prev=
                   27639:       continue
                   27640:     fi
                   27641:     case $ac_arg in
                   27642:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   27643:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   27644:       ac_prev=cache_file ;;
                   27645:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   27646:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   27647:     | --c=*)
                   27648:       ;;
                   27649:     --config-cache | -C)
                   27650:       ;;
                   27651:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   27652:       ac_prev=srcdir ;;
                   27653:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   27654:       ;;
                   27655:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   27656:       ac_prev=prefix ;;
                   27657:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   27658:       ;;
                   27659:     --disable-option-checking)
                   27660:       ;;
                   27661:     *)
                   27662:       case $ac_arg in
                   27663:       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   27664:       esac
                   27665:       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
                   27666:     esac
                   27667:   done
                   27668: 
                   27669:   # Always prepend --prefix to ensure using the same prefix
                   27670:   # in subdir configurations.
                   27671:   ac_arg="--prefix=$prefix"
                   27672:   case $ac_arg in
                   27673:   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   27674:   esac
                   27675:   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
                   27676: 
                   27677:   # Pass --silent
                   27678:   if test "$silent" = yes; then
                   27679:     ac_sub_configure_args="--silent $ac_sub_configure_args"
                   27680:   fi
                   27681: 
                   27682:   # Always prepend --disable-option-checking to silence warnings, since
                   27683:   # different subdirs can have different --enable and --with options.
                   27684:   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
                   27685: 
                   27686:   ac_popdir=`pwd`
                   27687:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
                   27688: 
                   27689:     # Do not complain, so a configure script can configure whichever
                   27690:     # parts of a large source tree are present.
                   27691:     test -d "$srcdir/$ac_dir" || continue
                   27692: 
                   27693:     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
                   27694:     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
                   27695:     $as_echo "$ac_msg" >&6
                   27696:     as_dir="$ac_dir"; as_fn_mkdir_p
                   27697:     ac_builddir=.
                   27698: 
                   27699: case "$ac_dir" in
                   27700: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   27701: *)
                   27702:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   27703:   # A ".." for each directory in $ac_dir_suffix.
                   27704:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   27705:   case $ac_top_builddir_sub in
                   27706:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   27707:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   27708:   esac ;;
                   27709: esac
                   27710: ac_abs_top_builddir=$ac_pwd
                   27711: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   27712: # for backward compatibility:
                   27713: ac_top_builddir=$ac_top_build_prefix
                   27714: 
                   27715: case $srcdir in
                   27716:   .)  # We are building in place.
                   27717:     ac_srcdir=.
                   27718:     ac_top_srcdir=$ac_top_builddir_sub
                   27719:     ac_abs_top_srcdir=$ac_pwd ;;
                   27720:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   27721:     ac_srcdir=$srcdir$ac_dir_suffix;
                   27722:     ac_top_srcdir=$srcdir
                   27723:     ac_abs_top_srcdir=$srcdir ;;
                   27724:   *) # Relative name.
                   27725:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   27726:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   27727:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   27728: esac
                   27729: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   27730: 
                   27731: 
                   27732:     cd "$ac_dir"
                   27733: 
                   27734:     # Check for guested configure; otherwise get Cygnus style configure.
                   27735:     if test -f "$ac_srcdir/configure.gnu"; then
                   27736:       ac_sub_configure=$ac_srcdir/configure.gnu
                   27737:     elif test -f "$ac_srcdir/configure"; then
                   27738:       ac_sub_configure=$ac_srcdir/configure
                   27739:     elif test -f "$ac_srcdir/configure.in"; then
                   27740:       # This should be Cygnus configure.
                   27741:       ac_sub_configure=$ac_aux_dir/configure
                   27742:     else
                   27743:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
                   27744: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
                   27745:       ac_sub_configure=
                   27746:     fi
                   27747: 
                   27748:     # The recursion is here.
                   27749:     if test -n "$ac_sub_configure"; then
                   27750:       # Make the cache file name correct relative to the subdirectory.
                   27751:       case $cache_file in
                   27752:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
                   27753:       *) # Relative name.
                   27754:        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
                   27755:       esac
                   27756: 
                   27757:       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   27758: $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
                   27759:       # The eval makes quoting arguments work.
                   27760:       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
                   27761:           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
                   27762:        as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
                   27763:     fi
                   27764: 
                   27765:     cd "$ac_popdir"
                   27766:   done
                   27767: fi
                   27768: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   27769:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   27770: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   27771: fi
                   27772: 

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