Annotation of embedaddon/quagga/configure, revision 1.1.1.5

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.5 ! misho       3: # Generated by GNU Autoconf 2.69 for Quagga 1.0.20160315.
1.1       misho       4: #
                      5: # Report bugs to <https://bugzilla.quagga.net>.
                      6: #
                      7: #
1.1.1.3   misho       8: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
                     13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
                     16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
                     92: as_myself=
                     93: case $0 in #((
                     94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
                    100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    101:   done
                    102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    113:   exit 1
                    114: fi
                    115: 
                    116: # Unset variables that we do not need and which cause bugs (e.g. in
                    117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    118: # suppresses any "Segmentation fault" message there.  '((' could
                    119: # trigger a bug in pdksh 5.2.14.
                    120: for as_var in BASH_ENV ENV MAIL MAILPATH
                    121: do eval test x\${$as_var+set} = xset \
                    122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
                    135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    136: 
1.1.1.3   misho     137: # Use a proper internal environment variable to ensure we don't fall
                    138:   # into an infinite loop, continuously re-executing ourselves.
                    139:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
                    140:     _as_can_reexec=no; export _as_can_reexec;
                    141:     # We cannot yet assume a decent shell, so we have to provide a
                    142: # neutralization value for shells without unset; and this also
                    143: # works around shells that cannot unset nonexistent variables.
                    144: # Preserve -v and -x to the replacement shell.
                    145: BASH_ENV=/dev/null
                    146: ENV=/dev/null
                    147: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    148: case $- in # ((((
                    149:   *v*x* | *x*v* ) as_opts=-vx ;;
                    150:   *v* ) as_opts=-v ;;
                    151:   *x* ) as_opts=-x ;;
                    152:   * ) as_opts= ;;
                    153: esac
                    154: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    155: # Admittedly, this is quite paranoid, since all the known shells bail
                    156: # out after a failed `exec'.
                    157: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    158: as_fn_exit 255
                    159:   fi
                    160:   # We don't want this to propagate to other subprocesses.
                    161:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     162: if test "x$CONFIG_SHELL" = x; then
                    163:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    164:   emulate sh
                    165:   NULLCMD=:
                    166:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    167:   # is contrary to our usage.  Disable this feature.
                    168:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    169:   setopt NO_GLOB_SUBST
                    170: else
                    171:   case \`(set -o) 2>/dev/null\` in #(
                    172:   *posix*) :
                    173:     set -o posix ;; #(
                    174:   *) :
                    175:      ;;
                    176: esac
                    177: fi
                    178: "
                    179:   as_required="as_fn_return () { (exit \$1); }
                    180: as_fn_success () { as_fn_return 0; }
                    181: as_fn_failure () { as_fn_return 1; }
                    182: as_fn_ret_success () { return 0; }
                    183: as_fn_ret_failure () { return 1; }
                    184: 
                    185: exitcode=0
                    186: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    187: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    188: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    189: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    190: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    191: 
                    192: else
                    193:   exitcode=1; echo positional parameters were not saved.
                    194: fi
1.1.1.3   misho     195: test x\$exitcode = x0 || exit 1
                    196: test -x / || exit 1"
1.1       misho     197:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    198:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    199:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    200:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    201: test \$(( 1 + 1 )) = 2 || exit 1
                    202: 
                    203:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    204:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    205:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    206:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    207:     PATH=/empty FPATH=/empty; export PATH FPATH
                    208:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    209:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
                    210:   if (eval "$as_required") 2>/dev/null; then :
                    211:   as_have_required=yes
                    212: else
                    213:   as_have_required=no
                    214: fi
                    215:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    216: 
                    217: else
                    218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    219: as_found=false
                    220: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    221: do
                    222:   IFS=$as_save_IFS
                    223:   test -z "$as_dir" && as_dir=.
                    224:   as_found=:
                    225:   case $as_dir in #(
                    226:         /*)
                    227:           for as_base in sh bash ksh sh5; do
                    228:             # Try only shells that exist, to save several forks.
                    229:             as_shell=$as_dir/$as_base
                    230:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    231:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   CONFIG_SHELL=$as_shell as_have_required=yes
                    233:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    234:   break 2
                    235: fi
                    236: fi
                    237:           done;;
                    238:        esac
                    239:   as_found=false
                    240: done
                    241: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    242:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    243:   CONFIG_SHELL=$SHELL as_have_required=yes
                    244: fi; }
                    245: IFS=$as_save_IFS
                    246: 
                    247: 
                    248:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.3   misho     249:   export CONFIG_SHELL
                    250:              # We cannot yet assume a decent shell, so we have to provide a
                    251: # neutralization value for shells without unset; and this also
                    252: # works around shells that cannot unset nonexistent variables.
                    253: # Preserve -v and -x to the replacement shell.
                    254: BASH_ENV=/dev/null
                    255: ENV=/dev/null
                    256: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    257: case $- in # ((((
                    258:   *v*x* | *x*v* ) as_opts=-vx ;;
                    259:   *v* ) as_opts=-v ;;
                    260:   *x* ) as_opts=-x ;;
                    261:   * ) as_opts= ;;
                    262: esac
                    263: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
                    264: # Admittedly, this is quite paranoid, since all the known shells bail
                    265: # out after a failed `exec'.
                    266: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
                    267: exit 255
1.1       misho     268: fi
                    269: 
                    270:     if test x$as_have_required = xno; then :
                    271:   $as_echo "$0: This script requires a shell more modern than all"
                    272:   $as_echo "$0: the shells that I found on your system."
                    273:   if test x${ZSH_VERSION+set} = xset ; then
                    274:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    275:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    276:   else
                    277:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
                    278: $0: https://bugzilla.quagga.net about your system,
                    279: $0: including any error possibly output before this
                    280: $0: message. Then install a modern shell, or manually run
                    281: $0: the script under such a shell if you do have one."
                    282:   fi
                    283:   exit 1
                    284: fi
                    285: fi
                    286: fi
                    287: SHELL=${CONFIG_SHELL-/bin/sh}
                    288: export SHELL
                    289: # Unset more variables known to interfere with behavior of common tools.
                    290: CLICOLOR_FORCE= GREP_OPTIONS=
                    291: unset CLICOLOR_FORCE GREP_OPTIONS
                    292: 
                    293: ## --------------------- ##
                    294: ## M4sh Shell Functions. ##
                    295: ## --------------------- ##
                    296: # as_fn_unset VAR
                    297: # ---------------
                    298: # Portably unset VAR.
                    299: as_fn_unset ()
                    300: {
                    301:   { eval $1=; unset $1;}
                    302: }
                    303: as_unset=as_fn_unset
                    304: 
                    305: # as_fn_set_status STATUS
                    306: # -----------------------
                    307: # Set $? to STATUS, without forking.
                    308: as_fn_set_status ()
                    309: {
                    310:   return $1
                    311: } # as_fn_set_status
                    312: 
                    313: # as_fn_exit STATUS
                    314: # -----------------
                    315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    316: as_fn_exit ()
                    317: {
                    318:   set +e
                    319:   as_fn_set_status $1
                    320:   exit $1
                    321: } # as_fn_exit
                    322: 
                    323: # as_fn_mkdir_p
                    324: # -------------
                    325: # Create "$as_dir" as a directory, including parents if necessary.
                    326: as_fn_mkdir_p ()
                    327: {
                    328: 
                    329:   case $as_dir in #(
                    330:   -*) as_dir=./$as_dir;;
                    331:   esac
                    332:   test -d "$as_dir" || eval $as_mkdir_p || {
                    333:     as_dirs=
                    334:     while :; do
                    335:       case $as_dir in #(
                    336:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    337:       *) as_qdir=$as_dir;;
                    338:       esac
                    339:       as_dirs="'$as_qdir' $as_dirs"
                    340:       as_dir=`$as_dirname -- "$as_dir" ||
                    341: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    342:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    343:         X"$as_dir" : 'X\(//\)$' \| \
                    344:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    345: $as_echo X"$as_dir" |
                    346:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    347:            s//\1/
                    348:            q
                    349:          }
                    350:          /^X\(\/\/\)[^/].*/{
                    351:            s//\1/
                    352:            q
                    353:          }
                    354:          /^X\(\/\/\)$/{
                    355:            s//\1/
                    356:            q
                    357:          }
                    358:          /^X\(\/\).*/{
                    359:            s//\1/
                    360:            q
                    361:          }
                    362:          s/.*/./; q'`
                    363:       test -d "$as_dir" && break
                    364:     done
                    365:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    366:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    367: 
                    368: 
                    369: } # as_fn_mkdir_p
1.1.1.3   misho     370: 
                    371: # as_fn_executable_p FILE
                    372: # -----------------------
                    373: # Test if FILE is an executable regular file.
                    374: as_fn_executable_p ()
                    375: {
                    376:   test -f "$1" && test -x "$1"
                    377: } # as_fn_executable_p
1.1       misho     378: # as_fn_append VAR VALUE
                    379: # ----------------------
                    380: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    381: # advantage of any shell optimizations that allow amortized linear growth over
                    382: # repeated appends, instead of the typical quadratic growth present in naive
                    383: # implementations.
                    384: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    385:   eval 'as_fn_append ()
                    386:   {
                    387:     eval $1+=\$2
                    388:   }'
                    389: else
                    390:   as_fn_append ()
                    391:   {
                    392:     eval $1=\$$1\$2
                    393:   }
                    394: fi # as_fn_append
                    395: 
                    396: # as_fn_arith ARG...
                    397: # ------------------
                    398: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    399: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    400: # must be portable across $(()) and expr.
                    401: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    402:   eval 'as_fn_arith ()
                    403:   {
                    404:     as_val=$(( $* ))
                    405:   }'
                    406: else
                    407:   as_fn_arith ()
                    408:   {
                    409:     as_val=`expr "$@" || test $? -eq 1`
                    410:   }
                    411: fi # as_fn_arith
                    412: 
                    413: 
                    414: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    415: # ----------------------------------------
                    416: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    417: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    418: # script with STATUS, using 1 if that was 0.
                    419: as_fn_error ()
                    420: {
                    421:   as_status=$1; test $as_status -eq 0 && as_status=1
                    422:   if test "$4"; then
                    423:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    424:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    425:   fi
                    426:   $as_echo "$as_me: error: $2" >&2
                    427:   as_fn_exit $as_status
                    428: } # as_fn_error
                    429: 
                    430: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    431:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    432:   as_expr=expr
                    433: else
                    434:   as_expr=false
                    435: fi
                    436: 
                    437: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    438:   as_basename=basename
                    439: else
                    440:   as_basename=false
                    441: fi
                    442: 
                    443: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    444:   as_dirname=dirname
                    445: else
                    446:   as_dirname=false
                    447: fi
                    448: 
                    449: as_me=`$as_basename -- "$0" ||
                    450: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    451:         X"$0" : 'X\(//\)$' \| \
                    452:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    453: $as_echo X/"$0" |
                    454:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    455:            s//\1/
                    456:            q
                    457:          }
                    458:          /^X\/\(\/\/\)$/{
                    459:            s//\1/
                    460:            q
                    461:          }
                    462:          /^X\/\(\/\).*/{
                    463:            s//\1/
                    464:            q
                    465:          }
                    466:          s/.*/./; q'`
                    467: 
                    468: # Avoid depending upon Character Ranges.
                    469: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    470: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    471: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    472: as_cr_digits='0123456789'
                    473: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    474: 
                    475: 
                    476:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    477:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    478:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    479:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    480:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    481:   sed -n '
                    482:     p
                    483:     /[$]LINENO/=
                    484:   ' <$as_myself |
                    485:     sed '
                    486:       s/[$]LINENO.*/&-/
                    487:       t lineno
                    488:       b
                    489:       :lineno
                    490:       N
                    491:       :loop
                    492:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    493:       t loop
                    494:       s/-\n.*//
                    495:     ' >$as_me.lineno &&
                    496:   chmod +x "$as_me.lineno" ||
                    497:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    498: 
1.1.1.3   misho     499:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
                    500:   # already done that, so ensure we don't try to do so again and fall
                    501:   # in an infinite loop.  This has already happened in practice.
                    502:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     503:   # Don't try to exec as it changes $[0], causing all sort of problems
                    504:   # (the dirname of $[0] is not the place where we might find the
                    505:   # original and so on.  Autoconf is especially sensitive to this).
                    506:   . "./$as_me.lineno"
                    507:   # Exit status is that of the last command.
                    508:   exit
                    509: }
                    510: 
                    511: ECHO_C= ECHO_N= ECHO_T=
                    512: case `echo -n x` in #(((((
                    513: -n*)
                    514:   case `echo 'xy\c'` in
                    515:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    516:   xy)  ECHO_C='\c';;
                    517:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    518:        ECHO_T='        ';;
                    519:   esac;;
                    520: *)
                    521:   ECHO_N='-n';;
                    522: esac
                    523: 
                    524: rm -f conf$$ conf$$.exe conf$$.file
                    525: if test -d conf$$.dir; then
                    526:   rm -f conf$$.dir/conf$$.file
                    527: else
                    528:   rm -f conf$$.dir
                    529:   mkdir conf$$.dir 2>/dev/null
                    530: fi
                    531: if (echo >conf$$.file) 2>/dev/null; then
                    532:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    533:     as_ln_s='ln -s'
                    534:     # ... but there are two gotchas:
                    535:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    536:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.3   misho     537:     # In both cases, we have to default to `cp -pR'.
1.1       misho     538:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.3   misho     539:       as_ln_s='cp -pR'
1.1       misho     540:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    541:     as_ln_s=ln
                    542:   else
1.1.1.3   misho     543:     as_ln_s='cp -pR'
1.1       misho     544:   fi
                    545: else
1.1.1.3   misho     546:   as_ln_s='cp -pR'
1.1       misho     547: fi
                    548: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    549: rmdir conf$$.dir 2>/dev/null
                    550: 
                    551: if mkdir -p . 2>/dev/null; then
                    552:   as_mkdir_p='mkdir -p "$as_dir"'
                    553: else
                    554:   test -d ./-p && rmdir ./-p
                    555:   as_mkdir_p=false
                    556: fi
                    557: 
1.1.1.3   misho     558: as_test_x='test -x'
                    559: as_executable_p=as_fn_executable_p
1.1       misho     560: 
                    561: # Sed expression to map a string onto a valid CPP name.
                    562: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
                    564: # Sed expression to map a string onto a valid variable name.
                    565: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    566: 
                    567: SHELL=${CONFIG_SHELL-/bin/sh}
                    568: 
                    569: 
                    570: test -n "$DJDIR" || exec 7<&0 </dev/null
                    571: exec 6>&1
                    572: 
                    573: # Name of the host.
                    574: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    575: # so uname gets run too.
                    576: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    577: 
                    578: #
                    579: # Initializations.
                    580: #
                    581: ac_default_prefix=/usr/local
                    582: ac_clean_files=
                    583: ac_config_libobj_dir=.
                    584: LIBOBJS=
                    585: cross_compiling=no
                    586: subdirs=
                    587: MFLAGS=
                    588: MAKEFLAGS=
                    589: 
                    590: # Identity of this package.
                    591: PACKAGE_NAME='Quagga'
                    592: PACKAGE_TARNAME='quagga'
1.1.1.5 ! misho     593: PACKAGE_VERSION='1.0.20160315'
        !           594: PACKAGE_STRING='Quagga 1.0.20160315'
1.1       misho     595: PACKAGE_BUGREPORT='https://bugzilla.quagga.net'
                    596: PACKAGE_URL=''
                    597: 
                    598: ac_unique_file="lib/zebra.h"
                    599: # Factoring default headers for most tests.
                    600: ac_includes_default="\
                    601: #include <stdio.h>
                    602: #ifdef HAVE_SYS_TYPES_H
                    603: # include <sys/types.h>
                    604: #endif
                    605: #ifdef HAVE_SYS_STAT_H
                    606: # include <sys/stat.h>
                    607: #endif
                    608: #ifdef STDC_HEADERS
                    609: # include <stdlib.h>
                    610: # include <stddef.h>
                    611: #else
                    612: # ifdef HAVE_STDLIB_H
                    613: #  include <stdlib.h>
                    614: # endif
                    615: #endif
                    616: #ifdef HAVE_STRING_H
                    617: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    618: #  include <memory.h>
                    619: # endif
                    620: # include <string.h>
                    621: #endif
                    622: #ifdef HAVE_STRINGS_H
                    623: # include <strings.h>
                    624: #endif
                    625: #ifdef HAVE_INTTYPES_H
                    626: # include <inttypes.h>
                    627: #endif
                    628: #ifdef HAVE_STDINT_H
                    629: # include <stdint.h>
                    630: #endif
                    631: #ifdef HAVE_UNISTD_H
                    632: # include <unistd.h>
                    633: #endif"
                    634: 
                    635: ac_header_list=
                    636: ac_func_list=
                    637: ac_subst_vars='am__EXEEXT_FALSE
                    638: am__EXEEXT_TRUE
                    639: LTLIBOBJS
                    640: quagga_statedir
1.1.1.5 ! misho     641: RUNTESTDEFAULTFLAGS
        !           642: DEJAGNU
1.1       misho     643: CONFDATE
1.1.1.4   misho     644: WEAK_ALIAS_CROSSFILE
                    645: WEAK_ALIAS
1.1       misho     646: LIBCAP
1.1.1.4   misho     647: NETSNMP_CONFIG
1.1       misho     648: LIB_REGEX
                    649: HAVE_LIBPCREPOSIX
                    650: OSPFAPI
                    651: OSPFCLIENT
                    652: CURSES
                    653: VTYSH
                    654: SOLARIS
1.1.1.5 ! misho     655: PIMD
1.1       misho     656: ISISD
                    657: WATCHQUAGGA
                    658: OSPF6D
                    659: OSPFD
                    660: RIPNGD
                    661: RIPD
                    662: BGPD
                    663: ZEBRA
                    664: DOC
1.1.1.5 ! misho     665: PIMD_FALSE
        !           666: PIMD_TRUE
1.1.1.3   misho     667: ISISD_FALSE
                    668: ISISD_TRUE
                    669: OSPF6D_FALSE
                    670: OSPF6D_TRUE
                    671: RIPNGD_FALSE
                    672: RIPNGD_TRUE
                    673: OSPFCLIENT_FALSE
                    674: OSPFCLIENT_TRUE
                    675: WATCHQUAGGA_FALSE
                    676: WATCHQUAGGA_TRUE
                    677: OSPFD_FALSE
                    678: OSPFD_TRUE
                    679: RIPD_FALSE
                    680: RIPD_TRUE
                    681: BGPD_FALSE
                    682: BGPD_TRUE
                    683: ZEBRA_FALSE
                    684: ZEBRA_TRUE
1.1       misho     685: IPFORWARD
                    686: IOCTL_METHOD
                    687: IF_METHOD
                    688: RTREAD_METHOD
1.1.1.4   misho     689: HAVE_NETLINK_FALSE
                    690: HAVE_NETLINK_TRUE
1.1       misho     691: KERNEL_METHOD
                    692: RT_METHOD
                    693: LIBM
                    694: LIBOBJS
                    695: LIBPAM
1.1.1.3   misho     696: VTYSH_FALSE
                    697: VTYSH_TRUE
1.1       misho     698: LIBREADLINE
1.1.1.4   misho     699: GIT_VERSION_FALSE
                    700: GIT_VERSION_TRUE
1.1       misho     701: enable_vty_group
                    702: enable_group
                    703: enable_user
                    704: ISIS_TOPOLOGY_LIB
                    705: ISIS_TOPOLOGY_DIR
                    706: ISIS_TOPOLOGY_INCLUDES
                    707: OTOOL64
                    708: OTOOL
                    709: LIPO
                    710: NMEDIT
                    711: DSYMUTIL
                    712: MANIFEST_TOOL
                    713: ac_ct_AR
                    714: DLLTOOL
                    715: OBJDUMP
                    716: NM
                    717: ac_ct_DUMPBIN
                    718: DUMPBIN
                    719: LD
                    720: FGREP
                    721: LIBTOOL
                    722: AR
                    723: LN_S
1.1.1.5 ! misho     724: WERROR
1.1.1.3   misho     725: HAVE_LATEX_FALSE
                    726: HAVE_LATEX_TRUE
                    727: LATEXMK
                    728: PDFLATEX
1.1       misho     729: SED
                    730: EGREP
                    731: GREP
1.1.1.5 ! misho     732: RANLIB
1.1       misho     733: CPP
                    734: am__fastdepCC_FALSE
                    735: am__fastdepCC_TRUE
                    736: CCDEPMODE
1.1.1.2   misho     737: am__nodep
1.1       misho     738: AMDEPBACKSLASH
                    739: AMDEP_FALSE
                    740: AMDEP_TRUE
                    741: am__quote
                    742: am__include
                    743: DEPDIR
                    744: OBJEXT
                    745: EXEEXT
                    746: ac_ct_CC
                    747: CPPFLAGS
                    748: LDFLAGS
                    749: CFLAGS
                    750: CC
                    751: pkgsrcrcdir
                    752: pkgsrcdir
                    753: exampledir
                    754: GAWK
1.1.1.4   misho     755: PERL
1.1.1.5 ! misho     756: AM_BACKSLASH
        !           757: AM_DEFAULT_VERBOSITY
        !           758: AM_DEFAULT_V
        !           759: AM_V
1.1       misho     760: am__untar
                    761: am__tar
                    762: AMTAR
                    763: am__leading_dot
                    764: SET_MAKE
                    765: AWK
                    766: mkdir_p
                    767: MKDIR_P
                    768: INSTALL_STRIP_PROGRAM
                    769: STRIP
                    770: install_sh
                    771: MAKEINFO
                    772: AUTOHEADER
                    773: AUTOMAKE
                    774: AUTOCONF
                    775: ACLOCAL
                    776: VERSION
                    777: PACKAGE
                    778: CYGPATH_W
                    779: am__isrc
                    780: INSTALL_DATA
                    781: INSTALL_SCRIPT
                    782: INSTALL_PROGRAM
                    783: target_os
                    784: target_vendor
                    785: target_cpu
                    786: target
                    787: host_os
                    788: host_vendor
                    789: host_cpu
                    790: host
                    791: build_os
                    792: build_vendor
                    793: build_cpu
                    794: build
1.1.1.5 ! misho     795: CONFIG_ARGS
1.1       misho     796: target_alias
                    797: host_alias
                    798: build_alias
                    799: LIBS
                    800: ECHO_T
                    801: ECHO_N
                    802: ECHO_C
                    803: DEFS
                    804: mandir
                    805: localedir
                    806: libdir
                    807: psdir
                    808: pdfdir
                    809: dvidir
                    810: htmldir
                    811: infodir
                    812: docdir
                    813: oldincludedir
                    814: includedir
                    815: localstatedir
                    816: sharedstatedir
                    817: sysconfdir
                    818: datadir
                    819: datarootdir
                    820: libexecdir
                    821: sbindir
                    822: bindir
                    823: program_transform_name
                    824: prefix
                    825: exec_prefix
                    826: PACKAGE_URL
                    827: PACKAGE_BUGREPORT
                    828: PACKAGE_STRING
                    829: PACKAGE_VERSION
                    830: PACKAGE_TARNAME
                    831: PACKAGE_NAME
                    832: PATH_SEPARATOR
                    833: SHELL'
                    834: ac_subst_files=''
                    835: ac_user_opts='
                    836: enable_option_checking
1.1.1.5 ! misho     837: enable_silent_rules
1.1       misho     838: enable_exampledir
                    839: enable_pkgsrcrcdir
                    840: with_cflags
                    841: enable_dependency_tracking
                    842: enable_shared
                    843: enable_static
                    844: with_pic
                    845: enable_fast_install
                    846: with_gnu_ld
                    847: with_sysroot
                    848: enable_libtool_lock
1.1.1.4   misho     849: with_pkg_extra_version
                    850: with_pkg_git_version
1.1       misho     851: enable_vtysh
                    852: enable_doc
                    853: enable_zebra
                    854: enable_bgpd
                    855: enable_ripd
                    856: enable_ripngd
                    857: enable_ospfd
                    858: enable_ospf6d
                    859: enable_watchquagga
                    860: enable_isisd
1.1.1.5 ! misho     861: enable_pimd
1.1       misho     862: enable_bgp_announce
                    863: enable_snmp
                    864: with_libpam
                    865: enable_tcp_zebra
                    866: enable_ospfapi
                    867: enable_ospfclient
                    868: enable_multipath
                    869: enable_user
                    870: enable_group
                    871: enable_vty_group
                    872: enable_configfile_mask
                    873: enable_logfile_mask
                    874: enable_rtadv
                    875: enable_irdp
                    876: enable_isis_topology
                    877: enable_capabilities
1.1.1.4   misho     878: enable_rusage
1.1       misho     879: enable_gcc_ultra_verbose
                    880: enable_linux24_tcp_md5
                    881: enable_gcc_rdynamic
1.1.1.5 ! misho     882: enable_backtrace
1.1       misho     883: enable_time_check
                    884: enable_pcreposix
1.1.1.4   misho     885: enable_fpm
1.1.1.5 ! misho     886: enable_werror
1.1       misho     887: enable_largefile
                    888: '
                    889:       ac_precious_vars='build_alias
                    890: host_alias
                    891: target_alias
                    892: GAWK
                    893: CC
                    894: CFLAGS
                    895: LDFLAGS
                    896: LIBS
                    897: CPPFLAGS
                    898: CPP'
                    899: 
                    900: 
                    901: # Initialize some variables set by options.
                    902: ac_init_help=
                    903: ac_init_version=false
                    904: ac_unrecognized_opts=
                    905: ac_unrecognized_sep=
                    906: # The variables have the same names as the options, with
                    907: # dashes changed to underlines.
                    908: cache_file=/dev/null
                    909: exec_prefix=NONE
                    910: no_create=
                    911: no_recursion=
                    912: prefix=NONE
                    913: program_prefix=NONE
                    914: program_suffix=NONE
                    915: program_transform_name=s,x,x,
                    916: silent=
                    917: site=
                    918: srcdir=
                    919: verbose=
                    920: x_includes=NONE
                    921: x_libraries=NONE
                    922: 
                    923: # Installation directory options.
                    924: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    925: # and all the variables that are supposed to be based on exec_prefix
                    926: # by default will actually change.
                    927: # Use braces instead of parens because sh, perl, etc. also accept them.
                    928: # (The list follows the same order as the GNU Coding Standards.)
                    929: bindir='${exec_prefix}/bin'
                    930: sbindir='${exec_prefix}/sbin'
                    931: libexecdir='${exec_prefix}/libexec'
                    932: datarootdir='${prefix}/share'
                    933: datadir='${datarootdir}'
                    934: sysconfdir='${prefix}/etc'
                    935: sharedstatedir='${prefix}/com'
                    936: localstatedir='${prefix}/var'
                    937: includedir='${prefix}/include'
                    938: oldincludedir='/usr/include'
                    939: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    940: infodir='${datarootdir}/info'
                    941: htmldir='${docdir}'
                    942: dvidir='${docdir}'
                    943: pdfdir='${docdir}'
                    944: psdir='${docdir}'
                    945: libdir='${exec_prefix}/lib'
                    946: localedir='${datarootdir}/locale'
                    947: mandir='${datarootdir}/man'
                    948: 
                    949: ac_prev=
                    950: ac_dashdash=
                    951: for ac_option
                    952: do
                    953:   # If the previous option needs an argument, assign it.
                    954:   if test -n "$ac_prev"; then
                    955:     eval $ac_prev=\$ac_option
                    956:     ac_prev=
                    957:     continue
                    958:   fi
                    959: 
                    960:   case $ac_option in
                    961:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    962:   *=)   ac_optarg= ;;
                    963:   *)    ac_optarg=yes ;;
                    964:   esac
                    965: 
                    966:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    967: 
                    968:   case $ac_dashdash$ac_option in
                    969:   --)
                    970:     ac_dashdash=yes ;;
                    971: 
                    972:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    973:     ac_prev=bindir ;;
                    974:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    975:     bindir=$ac_optarg ;;
                    976: 
                    977:   -build | --build | --buil | --bui | --bu)
                    978:     ac_prev=build_alias ;;
                    979:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    980:     build_alias=$ac_optarg ;;
                    981: 
                    982:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    983:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    984:     ac_prev=cache_file ;;
                    985:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    986:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    987:     cache_file=$ac_optarg ;;
                    988: 
                    989:   --config-cache | -C)
                    990:     cache_file=config.cache ;;
                    991: 
                    992:   -datadir | --datadir | --datadi | --datad)
                    993:     ac_prev=datadir ;;
                    994:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    995:     datadir=$ac_optarg ;;
                    996: 
                    997:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    998:   | --dataroo | --dataro | --datar)
                    999:     ac_prev=datarootdir ;;
                   1000:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                   1001:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                   1002:     datarootdir=$ac_optarg ;;
                   1003: 
                   1004:   -disable-* | --disable-*)
                   1005:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                   1006:     # Reject names that are not valid shell variable names.
                   1007:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1008:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1009:     ac_useropt_orig=$ac_useropt
                   1010:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1011:     case $ac_user_opts in
                   1012:       *"
                   1013: "enable_$ac_useropt"
                   1014: "*) ;;
                   1015:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                   1016:         ac_unrecognized_sep=', ';;
                   1017:     esac
                   1018:     eval enable_$ac_useropt=no ;;
                   1019: 
                   1020:   -docdir | --docdir | --docdi | --doc | --do)
                   1021:     ac_prev=docdir ;;
                   1022:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                   1023:     docdir=$ac_optarg ;;
                   1024: 
                   1025:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                   1026:     ac_prev=dvidir ;;
                   1027:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                   1028:     dvidir=$ac_optarg ;;
                   1029: 
                   1030:   -enable-* | --enable-*)
                   1031:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                   1032:     # Reject names that are not valid shell variable names.
                   1033:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1034:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1035:     ac_useropt_orig=$ac_useropt
                   1036:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1037:     case $ac_user_opts in
                   1038:       *"
                   1039: "enable_$ac_useropt"
                   1040: "*) ;;
                   1041:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1042:         ac_unrecognized_sep=', ';;
                   1043:     esac
                   1044:     eval enable_$ac_useropt=\$ac_optarg ;;
                   1045: 
                   1046:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1047:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1048:   | --exec | --exe | --ex)
                   1049:     ac_prev=exec_prefix ;;
                   1050:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1051:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1052:   | --exec=* | --exe=* | --ex=*)
                   1053:     exec_prefix=$ac_optarg ;;
                   1054: 
                   1055:   -gas | --gas | --ga | --g)
                   1056:     # Obsolete; use --with-gas.
                   1057:     with_gas=yes ;;
                   1058: 
                   1059:   -help | --help | --hel | --he | -h)
                   1060:     ac_init_help=long ;;
                   1061:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1062:     ac_init_help=recursive ;;
                   1063:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1064:     ac_init_help=short ;;
                   1065: 
                   1066:   -host | --host | --hos | --ho)
                   1067:     ac_prev=host_alias ;;
                   1068:   -host=* | --host=* | --hos=* | --ho=*)
                   1069:     host_alias=$ac_optarg ;;
                   1070: 
                   1071:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1072:     ac_prev=htmldir ;;
                   1073:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1074:   | --ht=*)
                   1075:     htmldir=$ac_optarg ;;
                   1076: 
                   1077:   -includedir | --includedir | --includedi | --included | --include \
                   1078:   | --includ | --inclu | --incl | --inc)
                   1079:     ac_prev=includedir ;;
                   1080:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1081:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1082:     includedir=$ac_optarg ;;
                   1083: 
                   1084:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1085:     ac_prev=infodir ;;
                   1086:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1087:     infodir=$ac_optarg ;;
                   1088: 
                   1089:   -libdir | --libdir | --libdi | --libd)
                   1090:     ac_prev=libdir ;;
                   1091:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1092:     libdir=$ac_optarg ;;
                   1093: 
                   1094:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1095:   | --libexe | --libex | --libe)
                   1096:     ac_prev=libexecdir ;;
                   1097:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1098:   | --libexe=* | --libex=* | --libe=*)
                   1099:     libexecdir=$ac_optarg ;;
                   1100: 
                   1101:   -localedir | --localedir | --localedi | --localed | --locale)
                   1102:     ac_prev=localedir ;;
                   1103:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1104:     localedir=$ac_optarg ;;
                   1105: 
                   1106:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1107:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1108:     ac_prev=localstatedir ;;
                   1109:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1110:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1111:     localstatedir=$ac_optarg ;;
                   1112: 
                   1113:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1114:     ac_prev=mandir ;;
                   1115:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1116:     mandir=$ac_optarg ;;
                   1117: 
                   1118:   -nfp | --nfp | --nf)
                   1119:     # Obsolete; use --without-fp.
                   1120:     with_fp=no ;;
                   1121: 
                   1122:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1123:   | --no-cr | --no-c | -n)
                   1124:     no_create=yes ;;
                   1125: 
                   1126:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1127:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1128:     no_recursion=yes ;;
                   1129: 
                   1130:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1131:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1132:   | --oldin | --oldi | --old | --ol | --o)
                   1133:     ac_prev=oldincludedir ;;
                   1134:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1135:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1136:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1137:     oldincludedir=$ac_optarg ;;
                   1138: 
                   1139:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1140:     ac_prev=prefix ;;
                   1141:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1142:     prefix=$ac_optarg ;;
                   1143: 
                   1144:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1145:   | --program-pre | --program-pr | --program-p)
                   1146:     ac_prev=program_prefix ;;
                   1147:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1148:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1149:     program_prefix=$ac_optarg ;;
                   1150: 
                   1151:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1152:   | --program-suf | --program-su | --program-s)
                   1153:     ac_prev=program_suffix ;;
                   1154:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1155:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1156:     program_suffix=$ac_optarg ;;
                   1157: 
                   1158:   -program-transform-name | --program-transform-name \
                   1159:   | --program-transform-nam | --program-transform-na \
                   1160:   | --program-transform-n | --program-transform- \
                   1161:   | --program-transform | --program-transfor \
                   1162:   | --program-transfo | --program-transf \
                   1163:   | --program-trans | --program-tran \
                   1164:   | --progr-tra | --program-tr | --program-t)
                   1165:     ac_prev=program_transform_name ;;
                   1166:   -program-transform-name=* | --program-transform-name=* \
                   1167:   | --program-transform-nam=* | --program-transform-na=* \
                   1168:   | --program-transform-n=* | --program-transform-=* \
                   1169:   | --program-transform=* | --program-transfor=* \
                   1170:   | --program-transfo=* | --program-transf=* \
                   1171:   | --program-trans=* | --program-tran=* \
                   1172:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1173:     program_transform_name=$ac_optarg ;;
                   1174: 
                   1175:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1176:     ac_prev=pdfdir ;;
                   1177:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1178:     pdfdir=$ac_optarg ;;
                   1179: 
                   1180:   -psdir | --psdir | --psdi | --psd | --ps)
                   1181:     ac_prev=psdir ;;
                   1182:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1183:     psdir=$ac_optarg ;;
                   1184: 
                   1185:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1186:   | -silent | --silent | --silen | --sile | --sil)
                   1187:     silent=yes ;;
                   1188: 
                   1189:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1190:     ac_prev=sbindir ;;
                   1191:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1192:   | --sbi=* | --sb=*)
                   1193:     sbindir=$ac_optarg ;;
                   1194: 
                   1195:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1196:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1197:   | --sharedst | --shareds | --shared | --share | --shar \
                   1198:   | --sha | --sh)
                   1199:     ac_prev=sharedstatedir ;;
                   1200:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1201:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1202:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1203:   | --sha=* | --sh=*)
                   1204:     sharedstatedir=$ac_optarg ;;
                   1205: 
                   1206:   -site | --site | --sit)
                   1207:     ac_prev=site ;;
                   1208:   -site=* | --site=* | --sit=*)
                   1209:     site=$ac_optarg ;;
                   1210: 
                   1211:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1212:     ac_prev=srcdir ;;
                   1213:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1214:     srcdir=$ac_optarg ;;
                   1215: 
                   1216:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1217:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1218:     ac_prev=sysconfdir ;;
                   1219:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1220:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1221:     sysconfdir=$ac_optarg ;;
                   1222: 
                   1223:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1224:     ac_prev=target_alias ;;
                   1225:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1226:     target_alias=$ac_optarg ;;
                   1227: 
                   1228:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1229:     verbose=yes ;;
                   1230: 
                   1231:   -version | --version | --versio | --versi | --vers | -V)
                   1232:     ac_init_version=: ;;
                   1233: 
                   1234:   -with-* | --with-*)
                   1235:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1236:     # Reject names that are not valid shell variable names.
                   1237:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1238:       as_fn_error $? "invalid package name: $ac_useropt"
                   1239:     ac_useropt_orig=$ac_useropt
                   1240:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1241:     case $ac_user_opts in
                   1242:       *"
                   1243: "with_$ac_useropt"
                   1244: "*) ;;
                   1245:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1246:         ac_unrecognized_sep=', ';;
                   1247:     esac
                   1248:     eval with_$ac_useropt=\$ac_optarg ;;
                   1249: 
                   1250:   -without-* | --without-*)
                   1251:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1252:     # Reject names that are not valid shell variable names.
                   1253:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1254:       as_fn_error $? "invalid package name: $ac_useropt"
                   1255:     ac_useropt_orig=$ac_useropt
                   1256:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1257:     case $ac_user_opts in
                   1258:       *"
                   1259: "with_$ac_useropt"
                   1260: "*) ;;
                   1261:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1262:         ac_unrecognized_sep=', ';;
                   1263:     esac
                   1264:     eval with_$ac_useropt=no ;;
                   1265: 
                   1266:   --x)
                   1267:     # Obsolete; use --with-x.
                   1268:     with_x=yes ;;
                   1269: 
                   1270:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1271:   | --x-incl | --x-inc | --x-in | --x-i)
                   1272:     ac_prev=x_includes ;;
                   1273:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1274:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1275:     x_includes=$ac_optarg ;;
                   1276: 
                   1277:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1278:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1279:     ac_prev=x_libraries ;;
                   1280:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1281:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1282:     x_libraries=$ac_optarg ;;
                   1283: 
                   1284:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1285: Try \`$0 --help' for more information"
                   1286:     ;;
                   1287: 
                   1288:   *=*)
                   1289:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1290:     # Reject names that are not valid shell variable names.
                   1291:     case $ac_envvar in #(
                   1292:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1293:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1294:     esac
                   1295:     eval $ac_envvar=\$ac_optarg
                   1296:     export $ac_envvar ;;
                   1297: 
                   1298:   *)
                   1299:     # FIXME: should be removed in autoconf 3.0.
                   1300:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1301:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1302:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1303:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1304:     ;;
                   1305: 
                   1306:   esac
                   1307: done
                   1308: 
                   1309: if test -n "$ac_prev"; then
                   1310:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1311:   as_fn_error $? "missing argument to $ac_option"
                   1312: fi
                   1313: 
                   1314: if test -n "$ac_unrecognized_opts"; then
                   1315:   case $enable_option_checking in
                   1316:     no) ;;
                   1317:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1318:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1319:   esac
                   1320: fi
                   1321: 
                   1322: # Check all directory arguments for consistency.
                   1323: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1324:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1325:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1326:                libdir localedir mandir
                   1327: do
                   1328:   eval ac_val=\$$ac_var
                   1329:   # Remove trailing slashes.
                   1330:   case $ac_val in
                   1331:     */ )
                   1332:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1333:       eval $ac_var=\$ac_val;;
                   1334:   esac
                   1335:   # Be sure to have absolute directory names.
                   1336:   case $ac_val in
                   1337:     [\\/$]* | ?:[\\/]* )  continue;;
                   1338:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1339:   esac
                   1340:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1341: done
                   1342: 
                   1343: # There might be people who depend on the old broken behavior: `$host'
                   1344: # used to hold the argument of --host etc.
                   1345: # FIXME: To remove some day.
                   1346: build=$build_alias
                   1347: host=$host_alias
                   1348: target=$target_alias
                   1349: 
                   1350: # FIXME: To remove some day.
                   1351: if test "x$host_alias" != x; then
                   1352:   if test "x$build_alias" = x; then
                   1353:     cross_compiling=maybe
                   1354:   elif test "x$build_alias" != "x$host_alias"; then
                   1355:     cross_compiling=yes
                   1356:   fi
                   1357: fi
                   1358: 
                   1359: ac_tool_prefix=
                   1360: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1361: 
                   1362: test "$silent" = yes && exec 6>/dev/null
                   1363: 
                   1364: 
                   1365: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1366: ac_ls_di=`ls -di .` &&
                   1367: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1368:   as_fn_error $? "working directory cannot be determined"
                   1369: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1370:   as_fn_error $? "pwd does not report name of working directory"
                   1371: 
                   1372: 
                   1373: # Find the source files, if location was not specified.
                   1374: if test -z "$srcdir"; then
                   1375:   ac_srcdir_defaulted=yes
                   1376:   # Try the directory containing this script, then the parent directory.
                   1377:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1378: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1379:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1380:         X"$as_myself" : 'X\(//\)$' \| \
                   1381:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1382: $as_echo X"$as_myself" |
                   1383:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1384:            s//\1/
                   1385:            q
                   1386:          }
                   1387:          /^X\(\/\/\)[^/].*/{
                   1388:            s//\1/
                   1389:            q
                   1390:          }
                   1391:          /^X\(\/\/\)$/{
                   1392:            s//\1/
                   1393:            q
                   1394:          }
                   1395:          /^X\(\/\).*/{
                   1396:            s//\1/
                   1397:            q
                   1398:          }
                   1399:          s/.*/./; q'`
                   1400:   srcdir=$ac_confdir
                   1401:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1402:     srcdir=..
                   1403:   fi
                   1404: else
                   1405:   ac_srcdir_defaulted=no
                   1406: fi
                   1407: if test ! -r "$srcdir/$ac_unique_file"; then
                   1408:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1409:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1410: fi
                   1411: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1412: ac_abs_confdir=`(
                   1413:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1414:        pwd)`
                   1415: # When building in place, set srcdir=.
                   1416: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1417:   srcdir=.
                   1418: fi
                   1419: # Remove unnecessary trailing slashes from srcdir.
                   1420: # Double slashes in file names in object file debugging info
                   1421: # mess up M-x gdb in Emacs.
                   1422: case $srcdir in
                   1423: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1424: esac
                   1425: for ac_var in $ac_precious_vars; do
                   1426:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1427:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1428:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1429:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1430: done
                   1431: 
                   1432: #
                   1433: # Report the --help message.
                   1434: #
                   1435: if test "$ac_init_help" = "long"; then
                   1436:   # Omit some internal or obsolete options to make the list less imposing.
                   1437:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1438:   cat <<_ACEOF
1.1.1.5 ! misho    1439: \`configure' configures Quagga 1.0.20160315 to adapt to many kinds of systems.
1.1       misho    1440: 
                   1441: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1442: 
                   1443: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1444: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1445: 
                   1446: Defaults for the options are specified in brackets.
                   1447: 
                   1448: Configuration:
                   1449:   -h, --help              display this help and exit
                   1450:       --help=short        display options specific to this package
                   1451:       --help=recursive    display the short help of all the included packages
                   1452:   -V, --version           display version information and exit
                   1453:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1454:       --cache-file=FILE   cache test results in FILE [disabled]
                   1455:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1456:   -n, --no-create         do not create output files
                   1457:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1458: 
                   1459: Installation directories:
                   1460:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1461:                           [$ac_default_prefix]
                   1462:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1463:                           [PREFIX]
                   1464: 
                   1465: By default, \`make install' will install all the files in
                   1466: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1467: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1468: for instance \`--prefix=\$HOME'.
                   1469: 
                   1470: For better control, use the options below.
                   1471: 
                   1472: Fine tuning of the installation directories:
                   1473:   --bindir=DIR            user executables [EPREFIX/bin]
                   1474:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1475:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1476:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1477:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1478:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1479:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1480:   --includedir=DIR        C header files [PREFIX/include]
                   1481:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1482:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1483:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1484:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1485:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1486:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1487:   --docdir=DIR            documentation root [DATAROOTDIR/doc/quagga]
                   1488:   --htmldir=DIR           html documentation [DOCDIR]
                   1489:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1490:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1491:   --psdir=DIR             ps documentation [DOCDIR]
                   1492: _ACEOF
                   1493: 
                   1494:   cat <<\_ACEOF
                   1495: 
                   1496: Program names:
                   1497:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1498:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1499:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1500: 
                   1501: System types:
                   1502:   --build=BUILD     configure for building on BUILD [guessed]
                   1503:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1504:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1505: _ACEOF
                   1506: fi
                   1507: 
                   1508: if test -n "$ac_init_help"; then
                   1509:   case $ac_init_help in
1.1.1.5 ! misho    1510:      short | recursive ) echo "Configuration of Quagga 1.0.20160315:";;
1.1       misho    1511:    esac
                   1512:   cat <<\_ACEOF
                   1513: 
                   1514: Optional Features:
                   1515:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1516:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1517:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.5 ! misho    1518:   --enable-silent-rules          less verbose build output (undo: `make V=1')
        !          1519:   --disable-silent-rules         verbose build output (undo: `make V=0')
1.1       misho    1520:   --enable-exampledir     specify alternate directory for examples
                   1521:   --enable-pkgsrcrcdir    specify directory for rc.d scripts
1.1.1.5 ! misho    1522:   --disable-dependency-tracking  speeds up one-time build
        !          1523:   --enable-dependency-tracking   do not reject slow dependency extractors
1.1       misho    1524:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1525:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1526:   --enable-fast-install[=PKGS]
                   1527:                           optimize for fast installation [default=yes]
                   1528:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.1.1.5 ! misho    1529:   --disable-vtysh         do not build integrated vty shell for Quagga
1.1       misho    1530:   --disable-doc           do not build docs
                   1531:   --disable-zebra         do not build zebra daemon
                   1532:   --disable-bgpd          do not build bgpd
                   1533:   --disable-ripd          do not build ripd
                   1534:   --disable-ripngd        do not build ripngd
                   1535:   --disable-ospfd         do not build ospfd
                   1536:   --disable-ospf6d        do not build ospf6d
                   1537:   --disable-watchquagga   do not build watchquagga
1.1.1.5 ! misho    1538:   --disable-isisd         do not build isisd
        !          1539:   --disable-pimd          do not build pimd
1.1       misho    1540:   --disable-bgp-announce, turn off BGP route announcement
1.1.1.4   misho    1541:   --enable-snmp=ARG       enable SNMP support (smux or agentx)
1.1.1.5 ! misho    1542:   --enable-tcp-zebra      enable TCP/IP socket connection between zebra and
        !          1543:                           protocol daemon
1.1       misho    1544:   --disable-ospfapi       do not build OSPFAPI to access the OSPF LSA Database
1.1.1.5 ! misho    1545:   --disable-ospfclient    do not build OSPFAPI client for OSPFAPI, (this is
        !          1546:                           the default if --disable-ospfapi is set)
1.1       misho    1547:   --enable-multipath=ARG  enable multipath function, ARG must be digit
1.1.1.5 ! misho    1548:   --enable-user=USER      user to run Quagga suite as (default quagga)
        !          1549:   --enable-group=GROUP    group to run Quagga suite as (default quagga)
1.1       misho    1550:   --enable-vty-group=ARG  set vty sockets to have specified group as owner
1.1.1.5 ! misho    1551:   --enable-configfile-mask=ARG
        !          1552:                           set mask for config files
        !          1553:   --enable-logfile-mask=ARG
        !          1554:                           set mask for log files
        !          1555:   --disable-rtadv         disable IPV6 router advertisement feature
        !          1556:   --enable-irdp           enable IRDP server support in zebra
        !          1557:   --enable-isis-topology  enable IS-IS topology generator
        !          1558:   --disable-capabilities  disable using POSIX capabilities
        !          1559:   --disable-rusage        disable using getrusage
        !          1560:   --enable-gcc-ultra-verbose
        !          1561:                           enable ultra verbose GCC warnings
        !          1562:   --enable-linux24-tcp-md5
        !          1563:                           enable support for old, Linux-2.4 RFC2385 patch
        !          1564:   --enable-gcc-rdynamic   enable linking with -rdynamic for better backtraces
        !          1565:                           (default if gcc)
        !          1566:   --disable-backtrace,    disable crash backtraces (default autodetect)
        !          1567:   --disable-time-check    disable slow thread warning messages
        !          1568:   --enable-pcreposix      enable using PCRE Posix libs for regex functions
1.1.1.4   misho    1569:   --enable-fpm            enable Forwarding Plane Manager support
1.1.1.5 ! misho    1570:   --enable-werror         enable -Werror (recommended for developers only)
1.1       misho    1571:   --disable-largefile     omit support for large files
                   1572: 
                   1573: Optional Packages:
                   1574:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1575:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1576:   --with-cflags           Set CFLAGS for use in compilation.
1.1.1.2   misho    1577:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1       misho    1578:                           both]
                   1579:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1580:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1581:                         (or the compiler's sysroot if not specified).
1.1.1.4   misho    1582:   --with-pkg-extra-version=VER
                   1583:                           add extra version field, for packagers/distributions
                   1584:   --with-pkg-git-version  add git information to MOTD and build version string
1.1       misho    1585:   --with-libpam           use libpam for PAM support in vtysh
                   1586: 
                   1587: Some influential environment variables:
                   1588:   GAWK        GNU AWK
                   1589:   CC          C compiler command
                   1590:   CFLAGS      C compiler flags
                   1591:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1592:               nonstandard directory <lib dir>
                   1593:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1594:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1595:               you have headers in a nonstandard directory <include dir>
                   1596:   CPP         C preprocessor
                   1597: 
                   1598: Use these variables to override the choices made by `configure' or to help
                   1599: it to find libraries and programs with nonstandard names/locations.
                   1600: 
                   1601: Report bugs to <https://bugzilla.quagga.net>.
                   1602: _ACEOF
                   1603: ac_status=$?
                   1604: fi
                   1605: 
                   1606: if test "$ac_init_help" = "recursive"; then
                   1607:   # If there are subdirs, report their specific --help.
                   1608:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1609:     test -d "$ac_dir" ||
                   1610:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1611:       continue
                   1612:     ac_builddir=.
                   1613: 
                   1614: case "$ac_dir" in
                   1615: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1616: *)
                   1617:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1618:   # A ".." for each directory in $ac_dir_suffix.
                   1619:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1620:   case $ac_top_builddir_sub in
                   1621:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1622:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1623:   esac ;;
                   1624: esac
                   1625: ac_abs_top_builddir=$ac_pwd
                   1626: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1627: # for backward compatibility:
                   1628: ac_top_builddir=$ac_top_build_prefix
                   1629: 
                   1630: case $srcdir in
                   1631:   .)  # We are building in place.
                   1632:     ac_srcdir=.
                   1633:     ac_top_srcdir=$ac_top_builddir_sub
                   1634:     ac_abs_top_srcdir=$ac_pwd ;;
                   1635:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1636:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1637:     ac_top_srcdir=$srcdir
                   1638:     ac_abs_top_srcdir=$srcdir ;;
                   1639:   *) # Relative name.
                   1640:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1641:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1642:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1643: esac
                   1644: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1645: 
                   1646:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1647:     # Check for guested configure.
                   1648:     if test -f "$ac_srcdir/configure.gnu"; then
                   1649:       echo &&
                   1650:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1651:     elif test -f "$ac_srcdir/configure"; then
                   1652:       echo &&
                   1653:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1654:     else
                   1655:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1656:     fi || ac_status=$?
                   1657:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1658:   done
                   1659: fi
                   1660: 
                   1661: test -n "$ac_init_help" && exit $ac_status
                   1662: if $ac_init_version; then
                   1663:   cat <<\_ACEOF
1.1.1.5 ! misho    1664: Quagga configure 1.0.20160315
1.1.1.3   misho    1665: generated by GNU Autoconf 2.69
1.1       misho    1666: 
1.1.1.3   misho    1667: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1668: This configure script is free software; the Free Software Foundation
                   1669: gives unlimited permission to copy, distribute and modify it.
                   1670: _ACEOF
                   1671:   exit
                   1672: fi
                   1673: 
                   1674: ## ------------------------ ##
                   1675: ## Autoconf initialization. ##
                   1676: ## ------------------------ ##
                   1677: 
                   1678: # ac_fn_c_try_compile LINENO
                   1679: # --------------------------
                   1680: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1681: ac_fn_c_try_compile ()
                   1682: {
                   1683:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1684:   rm -f conftest.$ac_objext
                   1685:   if { { ac_try="$ac_compile"
                   1686: case "(($ac_try" in
                   1687:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1688:   *) ac_try_echo=$ac_try;;
                   1689: esac
                   1690: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1691: $as_echo "$ac_try_echo"; } >&5
                   1692:   (eval "$ac_compile") 2>conftest.err
                   1693:   ac_status=$?
                   1694:   if test -s conftest.err; then
                   1695:     grep -v '^ *+' conftest.err >conftest.er1
                   1696:     cat conftest.er1 >&5
                   1697:     mv -f conftest.er1 conftest.err
                   1698:   fi
                   1699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1700:   test $ac_status = 0; } && {
                   1701:         test -z "$ac_c_werror_flag" ||
                   1702:         test ! -s conftest.err
                   1703:        } && test -s conftest.$ac_objext; then :
                   1704:   ac_retval=0
                   1705: else
                   1706:   $as_echo "$as_me: failed program was:" >&5
                   1707: sed 's/^/| /' conftest.$ac_ext >&5
                   1708: 
                   1709:        ac_retval=1
                   1710: fi
                   1711:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1712:   as_fn_set_status $ac_retval
                   1713: 
                   1714: } # ac_fn_c_try_compile
                   1715: 
                   1716: # ac_fn_c_try_cpp LINENO
                   1717: # ----------------------
                   1718: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1719: ac_fn_c_try_cpp ()
                   1720: {
                   1721:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1722:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1723: case "(($ac_try" in
                   1724:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1725:   *) ac_try_echo=$ac_try;;
                   1726: esac
                   1727: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1728: $as_echo "$ac_try_echo"; } >&5
                   1729:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1730:   ac_status=$?
                   1731:   if test -s conftest.err; then
                   1732:     grep -v '^ *+' conftest.err >conftest.er1
                   1733:     cat conftest.er1 >&5
                   1734:     mv -f conftest.er1 conftest.err
                   1735:   fi
                   1736:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1737:   test $ac_status = 0; } > conftest.i && {
                   1738:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1739:         test ! -s conftest.err
                   1740:        }; then :
                   1741:   ac_retval=0
                   1742: else
                   1743:   $as_echo "$as_me: failed program was:" >&5
                   1744: sed 's/^/| /' conftest.$ac_ext >&5
                   1745: 
                   1746:     ac_retval=1
                   1747: fi
                   1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749:   as_fn_set_status $ac_retval
                   1750: 
                   1751: } # ac_fn_c_try_cpp
                   1752: 
                   1753: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1754: # -------------------------------------------------------
                   1755: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1756: # the include files in INCLUDES and setting the cache variable VAR
                   1757: # accordingly.
                   1758: ac_fn_c_check_header_mongrel ()
                   1759: {
                   1760:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1761:   if eval \${$3+:} false; then :
                   1762:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1763: $as_echo_n "checking for $2... " >&6; }
                   1764: if eval \${$3+:} false; then :
                   1765:   $as_echo_n "(cached) " >&6
                   1766: fi
                   1767: eval ac_res=\$$3
                   1768:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1769: $as_echo "$ac_res" >&6; }
                   1770: else
                   1771:   # Is the header compilable?
                   1772: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1773: $as_echo_n "checking $2 usability... " >&6; }
                   1774: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1775: /* end confdefs.h.  */
                   1776: $4
                   1777: #include <$2>
                   1778: _ACEOF
                   1779: if ac_fn_c_try_compile "$LINENO"; then :
                   1780:   ac_header_compiler=yes
                   1781: else
                   1782:   ac_header_compiler=no
                   1783: fi
                   1784: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1786: $as_echo "$ac_header_compiler" >&6; }
                   1787: 
                   1788: # Is the header present?
                   1789: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1790: $as_echo_n "checking $2 presence... " >&6; }
                   1791: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1792: /* end confdefs.h.  */
                   1793: #include <$2>
                   1794: _ACEOF
                   1795: if ac_fn_c_try_cpp "$LINENO"; then :
                   1796:   ac_header_preproc=yes
                   1797: else
                   1798:   ac_header_preproc=no
                   1799: fi
                   1800: rm -f conftest.err conftest.i conftest.$ac_ext
                   1801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1802: $as_echo "$ac_header_preproc" >&6; }
                   1803: 
                   1804: # So?  What about this header?
                   1805: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1806:   yes:no: )
                   1807:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1808: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1809:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1810: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1811:     ;;
                   1812:   no:yes:* )
                   1813:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1814: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1815:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1816: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1817:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1818: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1819:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1820: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1821:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1822: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1823: ( $as_echo "## ------------------------------------------ ##
                   1824: ## Report this to https://bugzilla.quagga.net ##
                   1825: ## ------------------------------------------ ##"
                   1826:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1827:     ;;
                   1828: esac
                   1829:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1830: $as_echo_n "checking for $2... " >&6; }
                   1831: if eval \${$3+:} false; then :
                   1832:   $as_echo_n "(cached) " >&6
                   1833: else
                   1834:   eval "$3=\$ac_header_compiler"
                   1835: fi
                   1836: eval ac_res=\$$3
                   1837:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1838: $as_echo "$ac_res" >&6; }
                   1839: fi
                   1840:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1841: 
                   1842: } # ac_fn_c_check_header_mongrel
                   1843: 
                   1844: # ac_fn_c_try_run LINENO
                   1845: # ----------------------
                   1846: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1847: # that executables *can* be run.
                   1848: ac_fn_c_try_run ()
                   1849: {
                   1850:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1851:   if { { ac_try="$ac_link"
                   1852: case "(($ac_try" in
                   1853:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1854:   *) ac_try_echo=$ac_try;;
                   1855: esac
                   1856: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1857: $as_echo "$ac_try_echo"; } >&5
                   1858:   (eval "$ac_link") 2>&5
                   1859:   ac_status=$?
                   1860:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1861:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1862:   { { case "(($ac_try" in
                   1863:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1864:   *) ac_try_echo=$ac_try;;
                   1865: esac
                   1866: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1867: $as_echo "$ac_try_echo"; } >&5
                   1868:   (eval "$ac_try") 2>&5
                   1869:   ac_status=$?
                   1870:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1871:   test $ac_status = 0; }; }; then :
                   1872:   ac_retval=0
                   1873: else
                   1874:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1875:        $as_echo "$as_me: failed program was:" >&5
                   1876: sed 's/^/| /' conftest.$ac_ext >&5
                   1877: 
                   1878:        ac_retval=$ac_status
                   1879: fi
                   1880:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1881:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1882:   as_fn_set_status $ac_retval
                   1883: 
                   1884: } # ac_fn_c_try_run
                   1885: 
                   1886: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1887: # -------------------------------------------------------
                   1888: # Tests whether HEADER exists and can be compiled using the include files in
                   1889: # INCLUDES, setting the cache variable VAR accordingly.
                   1890: ac_fn_c_check_header_compile ()
                   1891: {
                   1892:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1893:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1894: $as_echo_n "checking for $2... " >&6; }
                   1895: if eval \${$3+:} false; then :
                   1896:   $as_echo_n "(cached) " >&6
                   1897: else
                   1898:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1899: /* end confdefs.h.  */
                   1900: $4
                   1901: #include <$2>
                   1902: _ACEOF
                   1903: if ac_fn_c_try_compile "$LINENO"; then :
                   1904:   eval "$3=yes"
                   1905: else
                   1906:   eval "$3=no"
                   1907: fi
                   1908: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1909: fi
                   1910: eval ac_res=\$$3
                   1911:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1912: $as_echo "$ac_res" >&6; }
                   1913:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1914: 
                   1915: } # ac_fn_c_check_header_compile
                   1916: 
                   1917: # ac_fn_c_try_link LINENO
                   1918: # -----------------------
                   1919: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1920: ac_fn_c_try_link ()
                   1921: {
                   1922:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1923:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1924:   if { { ac_try="$ac_link"
                   1925: case "(($ac_try" in
                   1926:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1927:   *) ac_try_echo=$ac_try;;
                   1928: esac
                   1929: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1930: $as_echo "$ac_try_echo"; } >&5
                   1931:   (eval "$ac_link") 2>conftest.err
                   1932:   ac_status=$?
                   1933:   if test -s conftest.err; then
                   1934:     grep -v '^ *+' conftest.err >conftest.er1
                   1935:     cat conftest.er1 >&5
                   1936:     mv -f conftest.er1 conftest.err
                   1937:   fi
                   1938:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1939:   test $ac_status = 0; } && {
                   1940:         test -z "$ac_c_werror_flag" ||
                   1941:         test ! -s conftest.err
                   1942:        } && test -s conftest$ac_exeext && {
                   1943:         test "$cross_compiling" = yes ||
1.1.1.3   misho    1944:         test -x conftest$ac_exeext
1.1       misho    1945:        }; then :
                   1946:   ac_retval=0
                   1947: else
                   1948:   $as_echo "$as_me: failed program was:" >&5
                   1949: sed 's/^/| /' conftest.$ac_ext >&5
                   1950: 
                   1951:        ac_retval=1
                   1952: fi
                   1953:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1954:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1955:   # interfere with the next link command; also delete a directory that is
                   1956:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1957:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1958:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1959:   as_fn_set_status $ac_retval
                   1960: 
                   1961: } # ac_fn_c_try_link
                   1962: 
                   1963: # ac_fn_c_check_func LINENO FUNC VAR
                   1964: # ----------------------------------
                   1965: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1966: ac_fn_c_check_func ()
                   1967: {
                   1968:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1969:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1970: $as_echo_n "checking for $2... " >&6; }
                   1971: if eval \${$3+:} false; then :
                   1972:   $as_echo_n "(cached) " >&6
                   1973: else
                   1974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1975: /* end confdefs.h.  */
                   1976: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1977:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1978: #define $2 innocuous_$2
                   1979: 
                   1980: /* System header to define __stub macros and hopefully few prototypes,
                   1981:     which can conflict with char $2 (); below.
                   1982:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1983:     <limits.h> exists even on freestanding compilers.  */
                   1984: 
                   1985: #ifdef __STDC__
                   1986: # include <limits.h>
                   1987: #else
                   1988: # include <assert.h>
                   1989: #endif
                   1990: 
                   1991: #undef $2
                   1992: 
                   1993: /* Override any GCC internal prototype to avoid an error.
                   1994:    Use char because int might match the return type of a GCC
                   1995:    builtin and then its argument prototype would still apply.  */
                   1996: #ifdef __cplusplus
                   1997: extern "C"
                   1998: #endif
                   1999: char $2 ();
                   2000: /* The GNU C library defines this for functions which it implements
                   2001:     to always fail with ENOSYS.  Some functions are actually named
                   2002:     something starting with __ and the normal name is an alias.  */
                   2003: #if defined __stub_$2 || defined __stub___$2
                   2004: choke me
                   2005: #endif
                   2006: 
                   2007: int
                   2008: main ()
                   2009: {
                   2010: return $2 ();
                   2011:   ;
                   2012:   return 0;
                   2013: }
                   2014: _ACEOF
                   2015: if ac_fn_c_try_link "$LINENO"; then :
                   2016:   eval "$3=yes"
                   2017: else
                   2018:   eval "$3=no"
                   2019: fi
                   2020: rm -f core conftest.err conftest.$ac_objext \
                   2021:     conftest$ac_exeext conftest.$ac_ext
                   2022: fi
                   2023: eval ac_res=\$$3
                   2024:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2025: $as_echo "$ac_res" >&6; }
                   2026:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2027: 
                   2028: } # ac_fn_c_check_func
                   2029: 
                   2030: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2031: # -------------------------------------------
                   2032: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2033: # variable VAR accordingly.
                   2034: ac_fn_c_check_type ()
                   2035: {
                   2036:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2037:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2038: $as_echo_n "checking for $2... " >&6; }
                   2039: if eval \${$3+:} false; then :
                   2040:   $as_echo_n "(cached) " >&6
                   2041: else
                   2042:   eval "$3=no"
                   2043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2044: /* end confdefs.h.  */
                   2045: $4
                   2046: int
                   2047: main ()
                   2048: {
                   2049: if (sizeof ($2))
                   2050:         return 0;
                   2051:   ;
                   2052:   return 0;
                   2053: }
                   2054: _ACEOF
                   2055: if ac_fn_c_try_compile "$LINENO"; then :
                   2056:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2057: /* end confdefs.h.  */
                   2058: $4
                   2059: int
                   2060: main ()
                   2061: {
                   2062: if (sizeof (($2)))
                   2063:            return 0;
                   2064:   ;
                   2065:   return 0;
                   2066: }
                   2067: _ACEOF
                   2068: if ac_fn_c_try_compile "$LINENO"; then :
                   2069: 
                   2070: else
                   2071:   eval "$3=yes"
                   2072: fi
                   2073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2074: fi
                   2075: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2076: fi
                   2077: eval ac_res=\$$3
                   2078:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2079: $as_echo "$ac_res" >&6; }
                   2080:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2081: 
                   2082: } # ac_fn_c_check_type
                   2083: 
                   2084: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2085: # ----------------------------------------------------
                   2086: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2087: # INCLUDES, setting cache variable VAR accordingly.
                   2088: ac_fn_c_check_member ()
                   2089: {
                   2090:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2091:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2092: $as_echo_n "checking for $2.$3... " >&6; }
                   2093: if eval \${$4+:} false; then :
                   2094:   $as_echo_n "(cached) " >&6
                   2095: else
                   2096:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2097: /* end confdefs.h.  */
                   2098: $5
                   2099: int
                   2100: main ()
                   2101: {
                   2102: static $2 ac_aggr;
                   2103: if (ac_aggr.$3)
                   2104: return 0;
                   2105:   ;
                   2106:   return 0;
                   2107: }
                   2108: _ACEOF
                   2109: if ac_fn_c_try_compile "$LINENO"; then :
                   2110:   eval "$4=yes"
                   2111: else
                   2112:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2113: /* end confdefs.h.  */
                   2114: $5
                   2115: int
                   2116: main ()
                   2117: {
                   2118: static $2 ac_aggr;
                   2119: if (sizeof ac_aggr.$3)
                   2120: return 0;
                   2121:   ;
                   2122:   return 0;
                   2123: }
                   2124: _ACEOF
                   2125: if ac_fn_c_try_compile "$LINENO"; then :
                   2126:   eval "$4=yes"
                   2127: else
                   2128:   eval "$4=no"
                   2129: fi
                   2130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2131: fi
                   2132: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2133: fi
                   2134: eval ac_res=\$$4
                   2135:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2136: $as_echo "$ac_res" >&6; }
                   2137:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2138: 
                   2139: } # ac_fn_c_check_member
                   2140: 
                   2141: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2142: # ---------------------------------------------
                   2143: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2144: # accordingly.
                   2145: ac_fn_c_check_decl ()
                   2146: {
                   2147:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2148:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2149:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2150:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2151: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2152: if eval \${$3+:} false; then :
                   2153:   $as_echo_n "(cached) " >&6
                   2154: else
                   2155:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2156: /* end confdefs.h.  */
                   2157: $4
                   2158: int
                   2159: main ()
                   2160: {
                   2161: #ifndef $as_decl_name
                   2162: #ifdef __cplusplus
                   2163:   (void) $as_decl_use;
                   2164: #else
                   2165:   (void) $as_decl_name;
                   2166: #endif
                   2167: #endif
                   2168: 
                   2169:   ;
                   2170:   return 0;
                   2171: }
                   2172: _ACEOF
                   2173: if ac_fn_c_try_compile "$LINENO"; then :
                   2174:   eval "$3=yes"
                   2175: else
                   2176:   eval "$3=no"
                   2177: fi
                   2178: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2179: fi
                   2180: eval ac_res=\$$3
                   2181:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2182: $as_echo "$ac_res" >&6; }
                   2183:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2184: 
                   2185: } # ac_fn_c_check_decl
                   2186: cat >config.log <<_ACEOF
                   2187: This file contains any messages produced by compilers while
                   2188: running configure, to aid debugging if configure makes a mistake.
                   2189: 
1.1.1.5 ! misho    2190: It was created by Quagga $as_me 1.0.20160315, which was
1.1.1.3   misho    2191: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    2192: 
                   2193:   $ $0 $@
                   2194: 
                   2195: _ACEOF
                   2196: exec 5>>config.log
                   2197: {
                   2198: cat <<_ASUNAME
                   2199: ## --------- ##
                   2200: ## Platform. ##
                   2201: ## --------- ##
                   2202: 
                   2203: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2204: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2205: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2206: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2207: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2208: 
                   2209: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2210: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2211: 
                   2212: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2213: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2214: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2215: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2216: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2217: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2218: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2219: 
                   2220: _ASUNAME
                   2221: 
                   2222: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2223: for as_dir in $PATH
                   2224: do
                   2225:   IFS=$as_save_IFS
                   2226:   test -z "$as_dir" && as_dir=.
                   2227:     $as_echo "PATH: $as_dir"
                   2228:   done
                   2229: IFS=$as_save_IFS
                   2230: 
                   2231: } >&5
                   2232: 
                   2233: cat >&5 <<_ACEOF
                   2234: 
                   2235: 
                   2236: ## ----------- ##
                   2237: ## Core tests. ##
                   2238: ## ----------- ##
                   2239: 
                   2240: _ACEOF
                   2241: 
                   2242: 
                   2243: # Keep a trace of the command line.
                   2244: # Strip out --no-create and --no-recursion so they do not pile up.
                   2245: # Strip out --silent because we don't want to record it for future runs.
                   2246: # Also quote any args containing shell meta-characters.
                   2247: # Make two passes to allow for proper duplicate-argument suppression.
                   2248: ac_configure_args=
                   2249: ac_configure_args0=
                   2250: ac_configure_args1=
                   2251: ac_must_keep_next=false
                   2252: for ac_pass in 1 2
                   2253: do
                   2254:   for ac_arg
                   2255:   do
                   2256:     case $ac_arg in
                   2257:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2258:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2259:     | -silent | --silent | --silen | --sile | --sil)
                   2260:       continue ;;
                   2261:     *\'*)
                   2262:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2263:     esac
                   2264:     case $ac_pass in
                   2265:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2266:     2)
                   2267:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2268:       if test $ac_must_keep_next = true; then
                   2269:        ac_must_keep_next=false # Got value, back to normal.
                   2270:       else
                   2271:        case $ac_arg in
                   2272:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2273:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2274:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2275:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2276:            case "$ac_configure_args0 " in
                   2277:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2278:            esac
                   2279:            ;;
                   2280:          -* ) ac_must_keep_next=true ;;
                   2281:        esac
                   2282:       fi
                   2283:       as_fn_append ac_configure_args " '$ac_arg'"
                   2284:       ;;
                   2285:     esac
                   2286:   done
                   2287: done
                   2288: { ac_configure_args0=; unset ac_configure_args0;}
                   2289: { ac_configure_args1=; unset ac_configure_args1;}
                   2290: 
                   2291: # When interrupted or exit'd, cleanup temporary files, and complete
                   2292: # config.log.  We remove comments because anyway the quotes in there
                   2293: # would cause problems or look ugly.
                   2294: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2295: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2296: trap 'exit_status=$?
                   2297:   # Save into config.log some information that might help in debugging.
                   2298:   {
                   2299:     echo
                   2300: 
                   2301:     $as_echo "## ---------------- ##
                   2302: ## Cache variables. ##
                   2303: ## ---------------- ##"
                   2304:     echo
                   2305:     # The following way of writing the cache mishandles newlines in values,
                   2306: (
                   2307:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2308:     eval ac_val=\$$ac_var
                   2309:     case $ac_val in #(
                   2310:     *${as_nl}*)
                   2311:       case $ac_var in #(
                   2312:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2313: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2314:       esac
                   2315:       case $ac_var in #(
                   2316:       _ | IFS | as_nl) ;; #(
                   2317:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2318:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2319:       esac ;;
                   2320:     esac
                   2321:   done
                   2322:   (set) 2>&1 |
                   2323:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2324:     *${as_nl}ac_space=\ *)
                   2325:       sed -n \
                   2326:        "s/'\''/'\''\\\\'\'''\''/g;
                   2327:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2328:       ;; #(
                   2329:     *)
                   2330:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2331:       ;;
                   2332:     esac |
                   2333:     sort
                   2334: )
                   2335:     echo
                   2336: 
                   2337:     $as_echo "## ----------------- ##
                   2338: ## Output variables. ##
                   2339: ## ----------------- ##"
                   2340:     echo
                   2341:     for ac_var in $ac_subst_vars
                   2342:     do
                   2343:       eval ac_val=\$$ac_var
                   2344:       case $ac_val in
                   2345:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2346:       esac
                   2347:       $as_echo "$ac_var='\''$ac_val'\''"
                   2348:     done | sort
                   2349:     echo
                   2350: 
                   2351:     if test -n "$ac_subst_files"; then
                   2352:       $as_echo "## ------------------- ##
                   2353: ## File substitutions. ##
                   2354: ## ------------------- ##"
                   2355:       echo
                   2356:       for ac_var in $ac_subst_files
                   2357:       do
                   2358:        eval ac_val=\$$ac_var
                   2359:        case $ac_val in
                   2360:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2361:        esac
                   2362:        $as_echo "$ac_var='\''$ac_val'\''"
                   2363:       done | sort
                   2364:       echo
                   2365:     fi
                   2366: 
                   2367:     if test -s confdefs.h; then
                   2368:       $as_echo "## ----------- ##
                   2369: ## confdefs.h. ##
                   2370: ## ----------- ##"
                   2371:       echo
                   2372:       cat confdefs.h
                   2373:       echo
                   2374:     fi
                   2375:     test "$ac_signal" != 0 &&
                   2376:       $as_echo "$as_me: caught signal $ac_signal"
                   2377:     $as_echo "$as_me: exit $exit_status"
                   2378:   } >&5
                   2379:   rm -f core *.core core.conftest.* &&
                   2380:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2381:     exit $exit_status
                   2382: ' 0
                   2383: for ac_signal in 1 2 13 15; do
                   2384:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2385: done
                   2386: ac_signal=0
                   2387: 
                   2388: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2389: rm -f -r conftest* confdefs.h
                   2390: 
                   2391: $as_echo "/* confdefs.h */" > confdefs.h
                   2392: 
                   2393: # Predefined preprocessor variables.
                   2394: 
                   2395: cat >>confdefs.h <<_ACEOF
                   2396: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2397: _ACEOF
                   2398: 
                   2399: cat >>confdefs.h <<_ACEOF
                   2400: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2401: _ACEOF
                   2402: 
                   2403: cat >>confdefs.h <<_ACEOF
                   2404: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2405: _ACEOF
                   2406: 
                   2407: cat >>confdefs.h <<_ACEOF
                   2408: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2409: _ACEOF
                   2410: 
                   2411: cat >>confdefs.h <<_ACEOF
                   2412: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2413: _ACEOF
                   2414: 
                   2415: cat >>confdefs.h <<_ACEOF
                   2416: #define PACKAGE_URL "$PACKAGE_URL"
                   2417: _ACEOF
                   2418: 
                   2419: 
                   2420: # Let the site file select an alternate cache file if it wants to.
                   2421: # Prefer an explicitly selected file to automatically selected ones.
                   2422: ac_site_file1=NONE
                   2423: ac_site_file2=NONE
                   2424: if test -n "$CONFIG_SITE"; then
                   2425:   # We do not want a PATH search for config.site.
                   2426:   case $CONFIG_SITE in #((
                   2427:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2428:     */*) ac_site_file1=$CONFIG_SITE;;
                   2429:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2430:   esac
                   2431: elif test "x$prefix" != xNONE; then
                   2432:   ac_site_file1=$prefix/share/config.site
                   2433:   ac_site_file2=$prefix/etc/config.site
                   2434: else
                   2435:   ac_site_file1=$ac_default_prefix/share/config.site
                   2436:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2437: fi
                   2438: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2439: do
                   2440:   test "x$ac_site_file" = xNONE && continue
                   2441:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2442:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2443: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2444:     sed 's/^/| /' "$ac_site_file" >&5
                   2445:     . "$ac_site_file" \
                   2446:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2447: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2448: as_fn_error $? "failed to load site script $ac_site_file
                   2449: See \`config.log' for more details" "$LINENO" 5; }
                   2450:   fi
                   2451: done
                   2452: 
                   2453: if test -r "$cache_file"; then
                   2454:   # Some versions of bash will fail to source /dev/null (special files
                   2455:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2456:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2457:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2458: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2459:     case $cache_file in
                   2460:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2461:       *)                      . "./$cache_file";;
                   2462:     esac
                   2463:   fi
                   2464: else
                   2465:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2466: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2467:   >$cache_file
                   2468: fi
                   2469: 
                   2470: as_fn_append ac_header_list " sys/time.h"
                   2471: as_fn_append ac_header_list " unistd.h"
                   2472: as_fn_append ac_func_list " alarm"
                   2473: # Check that the precious variables saved in the cache have kept the same
                   2474: # value.
                   2475: ac_cache_corrupted=false
                   2476: for ac_var in $ac_precious_vars; do
                   2477:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2478:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2479:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2480:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2481:   case $ac_old_set,$ac_new_set in
                   2482:     set,)
                   2483:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2484: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2485:       ac_cache_corrupted=: ;;
                   2486:     ,set)
                   2487:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2488: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2489:       ac_cache_corrupted=: ;;
                   2490:     ,);;
                   2491:     *)
                   2492:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2493:        # differences in whitespace do not lead to failure.
                   2494:        ac_old_val_w=`echo x $ac_old_val`
                   2495:        ac_new_val_w=`echo x $ac_new_val`
                   2496:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2497:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2498: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2499:          ac_cache_corrupted=:
                   2500:        else
                   2501:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2502: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2503:          eval $ac_var=\$ac_old_val
                   2504:        fi
                   2505:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2506: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2507:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2508: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2509:       fi;;
                   2510:   esac
                   2511:   # Pass precious variables to config.status.
                   2512:   if test "$ac_new_set" = set; then
                   2513:     case $ac_new_val in
                   2514:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2515:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2516:     esac
                   2517:     case " $ac_configure_args " in
                   2518:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2519:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2520:     esac
                   2521:   fi
                   2522: done
                   2523: if $ac_cache_corrupted; then
                   2524:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2525: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2526:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2527: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2528:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2529: fi
                   2530: ## -------------------- ##
                   2531: ## Main body of script. ##
                   2532: ## -------------------- ##
                   2533: 
                   2534: ac_ext=c
                   2535: ac_cpp='$CPP $CPPFLAGS'
                   2536: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2537: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2538: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2539: 
                   2540: 
1.1.1.5 ! misho    2541: CONFIG_ARGS="$*"
        !          2542: 
1.1       misho    2543: 
                   2544: 
                   2545: 
                   2546: ac_aux_dir=
                   2547: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2548:   if test -f "$ac_dir/install-sh"; then
                   2549:     ac_aux_dir=$ac_dir
                   2550:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2551:     break
                   2552:   elif test -f "$ac_dir/install.sh"; then
                   2553:     ac_aux_dir=$ac_dir
                   2554:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2555:     break
                   2556:   elif test -f "$ac_dir/shtool"; then
                   2557:     ac_aux_dir=$ac_dir
                   2558:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2559:     break
                   2560:   fi
                   2561: done
                   2562: if test -z "$ac_aux_dir"; then
                   2563:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2564: fi
                   2565: 
                   2566: # These three variables are undocumented and unsupported,
                   2567: # and are intended to be withdrawn in a future Autoconf release.
                   2568: # They can cause serious problems if a builder's source tree is in a directory
                   2569: # whose full name contains unusual characters.
                   2570: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2571: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2572: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2573: 
                   2574: 
                   2575: # Make sure we can run config.sub.
                   2576: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2577:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2578: 
                   2579: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2580: $as_echo_n "checking build system type... " >&6; }
                   2581: if ${ac_cv_build+:} false; then :
                   2582:   $as_echo_n "(cached) " >&6
                   2583: else
                   2584:   ac_build_alias=$build_alias
                   2585: test "x$ac_build_alias" = x &&
                   2586:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2587: test "x$ac_build_alias" = x &&
                   2588:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2589: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2590:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2591: 
                   2592: fi
                   2593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2594: $as_echo "$ac_cv_build" >&6; }
                   2595: case $ac_cv_build in
                   2596: *-*-*) ;;
                   2597: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2598: esac
                   2599: build=$ac_cv_build
                   2600: ac_save_IFS=$IFS; IFS='-'
                   2601: set x $ac_cv_build
                   2602: shift
                   2603: build_cpu=$1
                   2604: build_vendor=$2
                   2605: shift; shift
                   2606: # Remember, the first character of IFS is used to create $*,
                   2607: # except with old shells:
                   2608: build_os=$*
                   2609: IFS=$ac_save_IFS
                   2610: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2611: 
                   2612: 
                   2613: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2614: $as_echo_n "checking host system type... " >&6; }
                   2615: if ${ac_cv_host+:} false; then :
                   2616:   $as_echo_n "(cached) " >&6
                   2617: else
                   2618:   if test "x$host_alias" = x; then
                   2619:   ac_cv_host=$ac_cv_build
                   2620: else
                   2621:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2622:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2623: fi
                   2624: 
                   2625: fi
                   2626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2627: $as_echo "$ac_cv_host" >&6; }
                   2628: case $ac_cv_host in
                   2629: *-*-*) ;;
                   2630: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2631: esac
                   2632: host=$ac_cv_host
                   2633: ac_save_IFS=$IFS; IFS='-'
                   2634: set x $ac_cv_host
                   2635: shift
                   2636: host_cpu=$1
                   2637: host_vendor=$2
                   2638: shift; shift
                   2639: # Remember, the first character of IFS is used to create $*,
                   2640: # except with old shells:
                   2641: host_os=$*
                   2642: IFS=$ac_save_IFS
                   2643: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2644: 
                   2645: 
                   2646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2647: $as_echo_n "checking target system type... " >&6; }
                   2648: if ${ac_cv_target+:} false; then :
                   2649:   $as_echo_n "(cached) " >&6
                   2650: else
                   2651:   if test "x$target_alias" = x; then
                   2652:   ac_cv_target=$ac_cv_host
                   2653: else
                   2654:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
                   2655:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
                   2656: fi
                   2657: 
                   2658: fi
                   2659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2660: $as_echo "$ac_cv_target" >&6; }
                   2661: case $ac_cv_target in
                   2662: *-*-*) ;;
                   2663: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
                   2664: esac
                   2665: target=$ac_cv_target
                   2666: ac_save_IFS=$IFS; IFS='-'
                   2667: set x $ac_cv_target
                   2668: shift
                   2669: target_cpu=$1
                   2670: target_vendor=$2
                   2671: shift; shift
                   2672: # Remember, the first character of IFS is used to create $*,
                   2673: # except with old shells:
                   2674: target_os=$*
                   2675: IFS=$ac_save_IFS
                   2676: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2677: 
                   2678: 
                   2679: # The aliases save the names the user supplied, while $host etc.
                   2680: # will get canonicalized.
                   2681: test -n "$target_alias" &&
                   2682:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2683:     NONENONEs,x,x, &&
                   2684:   program_prefix=${target_alias}-
                   2685: 
1.1.1.5 ! misho    2686: am__api_version='1.11'
1.1       misho    2687: 
                   2688: # Find a good install program.  We prefer a C program (faster),
                   2689: # so one script is as good as another.  But avoid the broken or
                   2690: # incompatible versions:
                   2691: # SysV /etc/install, /usr/sbin/install
                   2692: # SunOS /usr/etc/install
                   2693: # IRIX /sbin/install
                   2694: # AIX /bin/install
                   2695: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2696: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2697: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2698: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2699: # OS/2's system install, which has a completely different semantic
                   2700: # ./install, which can be erroneously created by make from ./install.sh.
                   2701: # Reject install programs that cannot install multiple files.
                   2702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2703: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2704: if test -z "$INSTALL"; then
                   2705: if ${ac_cv_path_install+:} false; then :
                   2706:   $as_echo_n "(cached) " >&6
                   2707: else
                   2708:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2709: for as_dir in $PATH
                   2710: do
                   2711:   IFS=$as_save_IFS
                   2712:   test -z "$as_dir" && as_dir=.
                   2713:     # Account for people who put trailing slashes in PATH elements.
                   2714: case $as_dir/ in #((
                   2715:   ./ | .// | /[cC]/* | \
                   2716:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2717:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2718:   /usr/ucb/* ) ;;
                   2719:   *)
                   2720:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2721:     # Don't use installbsd from OSF since it installs stuff as root
                   2722:     # by default.
                   2723:     for ac_prog in ginstall scoinst install; do
                   2724:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    2725:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2726:          if test $ac_prog = install &&
                   2727:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2728:            # AIX install.  It has an incompatible calling convention.
                   2729:            :
                   2730:          elif test $ac_prog = install &&
                   2731:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2732:            # program-specific install script used by HP pwplus--don't use.
                   2733:            :
                   2734:          else
                   2735:            rm -rf conftest.one conftest.two conftest.dir
                   2736:            echo one > conftest.one
                   2737:            echo two > conftest.two
                   2738:            mkdir conftest.dir
                   2739:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2740:              test -s conftest.one && test -s conftest.two &&
                   2741:              test -s conftest.dir/conftest.one &&
                   2742:              test -s conftest.dir/conftest.two
                   2743:            then
                   2744:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2745:              break 3
                   2746:            fi
                   2747:          fi
                   2748:        fi
                   2749:       done
                   2750:     done
                   2751:     ;;
                   2752: esac
                   2753: 
                   2754:   done
                   2755: IFS=$as_save_IFS
                   2756: 
                   2757: rm -rf conftest.one conftest.two conftest.dir
                   2758: 
                   2759: fi
                   2760:   if test "${ac_cv_path_install+set}" = set; then
                   2761:     INSTALL=$ac_cv_path_install
                   2762:   else
                   2763:     # As a last resort, use the slow shell script.  Don't cache a
                   2764:     # value for INSTALL within a source directory, because that will
                   2765:     # break other packages using the cache if that directory is
                   2766:     # removed, or if the value is a relative name.
                   2767:     INSTALL=$ac_install_sh
                   2768:   fi
                   2769: fi
                   2770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2771: $as_echo "$INSTALL" >&6; }
                   2772: 
                   2773: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2774: # It thinks the first close brace ends the variable substitution.
                   2775: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2776: 
                   2777: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2778: 
                   2779: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2780: 
                   2781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2782: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1.1.5 ! misho    2783: # Just in case
        !          2784: sleep 1
        !          2785: echo timestamp > conftest.file
1.1       misho    2786: # Reject unsafe characters in $srcdir or the absolute working directory
                   2787: # name.  Accept space and tab only in the latter.
                   2788: am_lf='
                   2789: '
                   2790: case `pwd` in
                   2791:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2792:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2793: esac
                   2794: case $srcdir in
                   2795:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.5 ! misho    2796:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1.1       misho    2797: esac
                   2798: 
1.1.1.5 ! misho    2799: # Do `set' in a subshell so we don't clobber the current shell's
1.1       misho    2800: # arguments.  Must try -L first in case configure is actually a
                   2801: # symlink; some systems play weird games with the mod time of symlinks
                   2802: # (eg FreeBSD returns the mod time of the symlink's containing
                   2803: # directory).
                   2804: if (
1.1.1.5 ! misho    2805:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2806:    if test "$*" = "X"; then
        !          2807:       # -L didn't work.
        !          2808:       set X `ls -t "$srcdir/configure" conftest.file`
        !          2809:    fi
        !          2810:    rm -f conftest.file
        !          2811:    if test "$*" != "X $srcdir/configure conftest.file" \
        !          2812:       && test "$*" != "X conftest.file $srcdir/configure"; then
        !          2813: 
        !          2814:       # If neither matched, then we have a broken ls.  This can happen
        !          2815:       # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2816:       # broken ls alias from the environment.  This has actually
        !          2817:       # happened.  Such a system could not be considered "sane".
        !          2818:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2819: alias in your environment" "$LINENO" 5
        !          2820:    fi
1.1       misho    2821: 
                   2822:    test "$2" = conftest.file
                   2823:    )
                   2824: then
                   2825:    # Ok.
                   2826:    :
                   2827: else
                   2828:    as_fn_error $? "newly created file is older than distributed files!
                   2829: Check your system clock" "$LINENO" 5
                   2830: fi
                   2831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2832: $as_echo "yes" >&6; }
                   2833: test "$program_prefix" != NONE &&
                   2834:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2835: # Use a double $ so make ignores it.
                   2836: test "$program_suffix" != NONE &&
                   2837:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2838: # Double any \ or $.
                   2839: # By default was `s,x,x', remove it if useless.
                   2840: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2841: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2842: 
                   2843: # expand $ac_aux_dir to an absolute path
                   2844: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2845: 
                   2846: if test x"${MISSING+set}" != xset; then
                   2847:   case $am_aux_dir in
                   2848:   *\ * | *\    *)
                   2849:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2850:   *)
                   2851:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2852:   esac
                   2853: fi
                   2854: # Use eval to expand $SHELL
                   2855: if eval "$MISSING --run true"; then
                   2856:   am_missing_run="$MISSING --run "
                   2857: else
                   2858:   am_missing_run=
1.1.1.5 ! misho    2859:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
        !          2860: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1.1       misho    2861: fi
                   2862: 
                   2863: if test x"${install_sh}" != xset; then
                   2864:   case $am_aux_dir in
                   2865:   *\ * | *\    *)
                   2866:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2867:   *)
                   2868:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2869:   esac
                   2870: fi
                   2871: 
1.1.1.5 ! misho    2872: # Installed binaries are usually stripped using `strip' when the user
        !          2873: # run `make install-strip'.  However `strip' might not be the right
1.1       misho    2874: # tool to use in cross-compilation environments, therefore Automake
1.1.1.5 ! misho    2875: # will honor the `STRIP' environment variable to overrule this program.
1.1       misho    2876: if test "$cross_compiling" != no; then
                   2877:   if test -n "$ac_tool_prefix"; then
                   2878:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2879: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2881: $as_echo_n "checking for $ac_word... " >&6; }
                   2882: if ${ac_cv_prog_STRIP+:} false; then :
                   2883:   $as_echo_n "(cached) " >&6
                   2884: else
                   2885:   if test -n "$STRIP"; then
                   2886:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2887: else
                   2888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2889: for as_dir in $PATH
                   2890: do
                   2891:   IFS=$as_save_IFS
                   2892:   test -z "$as_dir" && as_dir=.
                   2893:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    2894:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2895:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2896:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2897:     break 2
                   2898:   fi
                   2899: done
                   2900:   done
                   2901: IFS=$as_save_IFS
                   2902: 
                   2903: fi
                   2904: fi
                   2905: STRIP=$ac_cv_prog_STRIP
                   2906: if test -n "$STRIP"; then
                   2907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2908: $as_echo "$STRIP" >&6; }
                   2909: else
                   2910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2911: $as_echo "no" >&6; }
                   2912: fi
                   2913: 
                   2914: 
                   2915: fi
                   2916: if test -z "$ac_cv_prog_STRIP"; then
                   2917:   ac_ct_STRIP=$STRIP
                   2918:   # Extract the first word of "strip", so it can be a program name with args.
                   2919: set dummy strip; ac_word=$2
                   2920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2921: $as_echo_n "checking for $ac_word... " >&6; }
                   2922: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2923:   $as_echo_n "(cached) " >&6
                   2924: else
                   2925:   if test -n "$ac_ct_STRIP"; then
                   2926:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2927: else
                   2928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2929: for as_dir in $PATH
                   2930: do
                   2931:   IFS=$as_save_IFS
                   2932:   test -z "$as_dir" && as_dir=.
                   2933:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    2934:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2935:     ac_cv_prog_ac_ct_STRIP="strip"
                   2936:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2937:     break 2
                   2938:   fi
                   2939: done
                   2940:   done
                   2941: IFS=$as_save_IFS
                   2942: 
                   2943: fi
                   2944: fi
                   2945: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2946: if test -n "$ac_ct_STRIP"; then
                   2947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2948: $as_echo "$ac_ct_STRIP" >&6; }
                   2949: else
                   2950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2951: $as_echo "no" >&6; }
                   2952: fi
                   2953: 
                   2954:   if test "x$ac_ct_STRIP" = x; then
                   2955:     STRIP=":"
                   2956:   else
                   2957:     case $cross_compiling:$ac_tool_warned in
                   2958: yes:)
                   2959: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2960: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2961: ac_tool_warned=yes ;;
                   2962: esac
                   2963:     STRIP=$ac_ct_STRIP
                   2964:   fi
                   2965: else
                   2966:   STRIP="$ac_cv_prog_STRIP"
                   2967: fi
                   2968: 
                   2969: fi
                   2970: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2971: 
                   2972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2973: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2974: if test -z "$MKDIR_P"; then
                   2975:   if ${ac_cv_path_mkdir+:} false; then :
                   2976:   $as_echo_n "(cached) " >&6
                   2977: else
                   2978:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2979: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2980: do
                   2981:   IFS=$as_save_IFS
                   2982:   test -z "$as_dir" && as_dir=.
                   2983:     for ac_prog in mkdir gmkdir; do
                   2984:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    2985:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    2986:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2987:             'mkdir (GNU coreutils) '* | \
                   2988:             'mkdir (coreutils) '* | \
                   2989:             'mkdir (fileutils) '4.1*)
                   2990:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2991:               break 3;;
                   2992:           esac
                   2993:         done
                   2994:        done
                   2995:   done
                   2996: IFS=$as_save_IFS
                   2997: 
                   2998: fi
                   2999: 
                   3000:   test -d ./--version && rmdir ./--version
                   3001:   if test "${ac_cv_path_mkdir+set}" = set; then
                   3002:     MKDIR_P="$ac_cv_path_mkdir -p"
                   3003:   else
                   3004:     # As a last resort, use the slow shell script.  Don't cache a
                   3005:     # value for MKDIR_P within a source directory, because that will
                   3006:     # break other packages using the cache if that directory is
                   3007:     # removed, or if the value is a relative name.
                   3008:     MKDIR_P="$ac_install_sh -d"
                   3009:   fi
                   3010: fi
                   3011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   3012: $as_echo "$MKDIR_P" >&6; }
                   3013: 
1.1.1.5 ! misho    3014: mkdir_p="$MKDIR_P"
        !          3015: case $mkdir_p in
        !          3016:   [\\/$]* | ?:[\\/]*) ;;
        !          3017:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
        !          3018: esac
        !          3019: 
1.1       misho    3020: for ac_prog in gawk mawk nawk awk
                   3021: do
                   3022:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3023: set dummy $ac_prog; ac_word=$2
                   3024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3025: $as_echo_n "checking for $ac_word... " >&6; }
                   3026: if ${ac_cv_prog_AWK+:} false; then :
                   3027:   $as_echo_n "(cached) " >&6
                   3028: else
                   3029:   if test -n "$AWK"; then
                   3030:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   3031: else
                   3032: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3033: for as_dir in $PATH
                   3034: do
                   3035:   IFS=$as_save_IFS
                   3036:   test -z "$as_dir" && as_dir=.
                   3037:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3038:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3039:     ac_cv_prog_AWK="$ac_prog"
                   3040:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3041:     break 2
                   3042:   fi
                   3043: done
                   3044:   done
                   3045: IFS=$as_save_IFS
                   3046: 
                   3047: fi
                   3048: fi
                   3049: AWK=$ac_cv_prog_AWK
                   3050: if test -n "$AWK"; then
                   3051:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   3052: $as_echo "$AWK" >&6; }
                   3053: else
                   3054:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3055: $as_echo "no" >&6; }
                   3056: fi
                   3057: 
                   3058: 
                   3059:   test -n "$AWK" && break
                   3060: done
                   3061: 
                   3062: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3063: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3064: set x ${MAKE-make}
                   3065: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3066: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3067:   $as_echo_n "(cached) " >&6
                   3068: else
                   3069:   cat >conftest.make <<\_ACEOF
                   3070: SHELL = /bin/sh
                   3071: all:
                   3072:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3073: _ACEOF
                   3074: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3075: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3076:   *@@@%%%=?*=@@@%%%*)
                   3077:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3078:   *)
                   3079:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3080: esac
                   3081: rm -f conftest.make
                   3082: fi
                   3083: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3084:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3085: $as_echo "yes" >&6; }
                   3086:   SET_MAKE=
                   3087: else
                   3088:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3089: $as_echo "no" >&6; }
                   3090:   SET_MAKE="MAKE=${MAKE-make}"
                   3091: fi
                   3092: 
                   3093: rm -rf .tst 2>/dev/null
                   3094: mkdir .tst 2>/dev/null
                   3095: if test -d .tst; then
                   3096:   am__leading_dot=.
                   3097: else
                   3098:   am__leading_dot=_
                   3099: fi
                   3100: rmdir .tst 2>/dev/null
                   3101: 
                   3102: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3103:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3104:   # is not polluted with repeated "-I."
                   3105:   am__isrc=' -I$(srcdir)'
                   3106:   # test to see if srcdir already configured
                   3107:   if test -f $srcdir/config.status; then
                   3108:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3109:   fi
                   3110: fi
                   3111: 
                   3112: # test whether we have cygpath
                   3113: if test -z "$CYGPATH_W"; then
                   3114:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3115:     CYGPATH_W='cygpath -w'
                   3116:   else
                   3117:     CYGPATH_W=echo
                   3118:   fi
                   3119: fi
                   3120: 
                   3121: 
                   3122: # Define the identity of the package.
                   3123:  PACKAGE='quagga'
1.1.1.5 ! misho    3124:  VERSION='1.0.20160315'
1.1       misho    3125: 
                   3126: 
                   3127: cat >>confdefs.h <<_ACEOF
                   3128: #define PACKAGE "$PACKAGE"
                   3129: _ACEOF
                   3130: 
                   3131: 
                   3132: cat >>confdefs.h <<_ACEOF
                   3133: #define VERSION "$VERSION"
                   3134: _ACEOF
                   3135: 
                   3136: # Some tools Automake needs.
                   3137: 
                   3138: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3139: 
                   3140: 
                   3141: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3142: 
                   3143: 
                   3144: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3145: 
                   3146: 
                   3147: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3148: 
                   3149: 
                   3150: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3151: 
                   3152: # We need awk for the "check" target.  The system "awk" is bad on
                   3153: # some platforms.
1.1.1.3   misho    3154: # Always define AMTAR for backward compatibility.  Yes, it's still used
                   3155: # in the wild :-(  We should find a proper way to deprecate it ...
                   3156: AMTAR='$${TAR-tar}'
1.1       misho    3157: 
1.1.1.3   misho    3158: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    3159: 
                   3160: 
                   3161: 
                   3162: 
                   3163: 
1.1.1.5 ! misho    3164: # Check whether --enable-silent-rules was given.
        !          3165: if test "${enable_silent_rules+set}" = set; then :
        !          3166:   enableval=$enable_silent_rules;
        !          3167: fi
        !          3168: 
        !          3169: case $enable_silent_rules in
        !          3170: yes) AM_DEFAULT_VERBOSITY=0;;
        !          3171: no)  AM_DEFAULT_VERBOSITY=1;;
        !          3172: *)   AM_DEFAULT_VERBOSITY=0;;
        !          3173: esac
        !          3174: am_make=${MAKE-make}
        !          3175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          3176: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          3177: if ${am_cv_make_support_nested_variables+:} false; then :
        !          3178:   $as_echo_n "(cached) " >&6
        !          3179: else
        !          3180:   if $as_echo 'TRUE=$(BAR$(V))
        !          3181: BAR0=false
        !          3182: BAR1=true
        !          3183: V=1
        !          3184: am__doit:
        !          3185:        @$(TRUE)
        !          3186: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          3187:   am_cv_make_support_nested_variables=yes
        !          3188: else
        !          3189:   am_cv_make_support_nested_variables=no
        !          3190: fi
        !          3191: fi
        !          3192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          3193: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          3194: if test $am_cv_make_support_nested_variables = yes; then
        !          3195:     AM_V='$(V)'
        !          3196:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          3197: else
        !          3198:   AM_V=$AM_DEFAULT_VERBOSITY
        !          3199:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          3200: fi
        !          3201: AM_BACKSLASH='\'
        !          3202: 
1.1       misho    3203: ac_config_headers="$ac_config_headers config.h"
                   3204: 
                   3205: 
1.1.1.4   misho    3206: # Extract the first word of "perl", so it can be a program name with args.
                   3207: set dummy perl; ac_word=$2
                   3208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3209: $as_echo_n "checking for $ac_word... " >&6; }
                   3210: if ${ac_cv_path_PERL+:} false; then :
                   3211:   $as_echo_n "(cached) " >&6
                   3212: else
                   3213:   case $PERL in
                   3214:   [\\/]* | ?:[\\/]*)
                   3215:   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
                   3216:   ;;
                   3217:   *)
                   3218:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3219: for as_dir in $PATH
                   3220: do
                   3221:   IFS=$as_save_IFS
                   3222:   test -z "$as_dir" && as_dir=.
                   3223:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3224:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3225:     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
                   3226:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3227:     break 2
                   3228:   fi
                   3229: done
                   3230:   done
                   3231: IFS=$as_save_IFS
                   3232: 
                   3233:   ;;
                   3234: esac
                   3235: fi
                   3236: PERL=$ac_cv_path_PERL
                   3237: if test -n "$PERL"; then
                   3238:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
                   3239: $as_echo "$PERL" >&6; }
                   3240: else
                   3241:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3242: $as_echo "no" >&6; }
                   3243: fi
                   3244: 
                   3245: 
1.1       misho    3246: # Extract the first word of "gawk", so it can be a program name with args.
                   3247: set dummy gawk; ac_word=$2
                   3248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3249: $as_echo_n "checking for $ac_word... " >&6; }
                   3250: if ${ac_cv_prog_GAWK+:} false; then :
                   3251:   $as_echo_n "(cached) " >&6
                   3252: else
                   3253:   if test -n "$GAWK"; then
                   3254:   ac_cv_prog_GAWK="$GAWK" # Let the user override the test.
                   3255: else
                   3256: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3257: for as_dir in $PATH
                   3258: do
                   3259:   IFS=$as_save_IFS
                   3260:   test -z "$as_dir" && as_dir=.
                   3261:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3262:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3263:     ac_cv_prog_GAWK="gawk"
                   3264:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3265:     break 2
                   3266:   fi
                   3267: done
                   3268:   done
                   3269: IFS=$as_save_IFS
                   3270: 
                   3271:   test -z "$ac_cv_prog_GAWK" && ac_cv_prog_GAWK="not-in-PATH"
                   3272: fi
                   3273: fi
                   3274: GAWK=$ac_cv_prog_GAWK
                   3275: if test -n "$GAWK"; then
                   3276:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAWK" >&5
                   3277: $as_echo "$GAWK" >&6; }
                   3278: else
                   3279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3280: $as_echo "no" >&6; }
                   3281: fi
                   3282: 
                   3283: 
                   3284: if test "x$GAWK" = "xnot-in-PATH" ; then
                   3285:        as_fn_error $? "GNU awk is required for lib/memtype.h made by memtypes.awk.
                   3286: BSD awk complains: awk: gensub doesn't support backreferences (subst \"\1\") " "$LINENO" 5
                   3287: fi
                   3288: 
                   3289: 
                   3290: exampledir=${sysconfdir}
                   3291: # Check whether --enable-exampledir was given.
                   3292: if test "${enable_exampledir+set}" = set; then :
                   3293:   enableval=$enable_exampledir; exampledir="$enableval"
                   3294: fi
                   3295: 
                   3296: 
                   3297: 
                   3298: pkgsrcrcdir=""
                   3299: pkgsrcdir=""
                   3300: # Check whether --enable-pkgsrcrcdir was given.
                   3301: if test "${enable_pkgsrcrcdir+set}" = set; then :
                   3302:   enableval=$enable_pkgsrcrcdir; pkgsrcrcdir="$enableval"; pkgsrcdir="pkgsrc"
                   3303: fi
                   3304: 
                   3305: 
                   3306: 
                   3307: 
                   3308: 
                   3309: # Check whether --with-cflags was given.
                   3310: if test "${with_cflags+set}" = set; then :
                   3311:   withval=$with_cflags;
                   3312: fi
                   3313: 
                   3314: if test "x$with_cflags" != "x" ; then
                   3315:   CFLAGS="$with_cflags" ; cflags_specified=yes ;
                   3316: elif test -n "$CFLAGS" ; then
                   3317:   cflags_specified=yes ;
                   3318: fi
                   3319: 
                   3320: ac_ext=c
                   3321: ac_cpp='$CPP $CPPFLAGS'
                   3322: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3323: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3324: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3325: 
                   3326: ac_ext=c
                   3327: ac_cpp='$CPP $CPPFLAGS'
                   3328: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3329: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3330: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3331: if test -n "$ac_tool_prefix"; then
                   3332:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3333: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3335: $as_echo_n "checking for $ac_word... " >&6; }
                   3336: if ${ac_cv_prog_CC+:} false; then :
                   3337:   $as_echo_n "(cached) " >&6
                   3338: else
                   3339:   if test -n "$CC"; then
                   3340:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3341: else
                   3342: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3343: for as_dir in $PATH
                   3344: do
                   3345:   IFS=$as_save_IFS
                   3346:   test -z "$as_dir" && as_dir=.
                   3347:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3348:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3349:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3350:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3351:     break 2
                   3352:   fi
                   3353: done
                   3354:   done
                   3355: IFS=$as_save_IFS
                   3356: 
                   3357: fi
                   3358: fi
                   3359: CC=$ac_cv_prog_CC
                   3360: if test -n "$CC"; then
                   3361:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3362: $as_echo "$CC" >&6; }
                   3363: else
                   3364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3365: $as_echo "no" >&6; }
                   3366: fi
                   3367: 
                   3368: 
                   3369: fi
                   3370: if test -z "$ac_cv_prog_CC"; then
                   3371:   ac_ct_CC=$CC
                   3372:   # Extract the first word of "gcc", so it can be a program name with args.
                   3373: set dummy gcc; ac_word=$2
                   3374: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3375: $as_echo_n "checking for $ac_word... " >&6; }
                   3376: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3377:   $as_echo_n "(cached) " >&6
                   3378: else
                   3379:   if test -n "$ac_ct_CC"; then
                   3380:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3381: else
                   3382: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3383: for as_dir in $PATH
                   3384: do
                   3385:   IFS=$as_save_IFS
                   3386:   test -z "$as_dir" && as_dir=.
                   3387:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3388:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3389:     ac_cv_prog_ac_ct_CC="gcc"
                   3390:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3391:     break 2
                   3392:   fi
                   3393: done
                   3394:   done
                   3395: IFS=$as_save_IFS
                   3396: 
                   3397: fi
                   3398: fi
                   3399: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3400: if test -n "$ac_ct_CC"; then
                   3401:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3402: $as_echo "$ac_ct_CC" >&6; }
                   3403: else
                   3404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3405: $as_echo "no" >&6; }
                   3406: fi
                   3407: 
                   3408:   if test "x$ac_ct_CC" = x; then
                   3409:     CC=""
                   3410:   else
                   3411:     case $cross_compiling:$ac_tool_warned in
                   3412: yes:)
                   3413: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3414: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3415: ac_tool_warned=yes ;;
                   3416: esac
                   3417:     CC=$ac_ct_CC
                   3418:   fi
                   3419: else
                   3420:   CC="$ac_cv_prog_CC"
                   3421: fi
                   3422: 
                   3423: if test -z "$CC"; then
                   3424:           if test -n "$ac_tool_prefix"; then
                   3425:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3426: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3428: $as_echo_n "checking for $ac_word... " >&6; }
                   3429: if ${ac_cv_prog_CC+:} false; then :
                   3430:   $as_echo_n "(cached) " >&6
                   3431: else
                   3432:   if test -n "$CC"; then
                   3433:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3434: else
                   3435: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3436: for as_dir in $PATH
                   3437: do
                   3438:   IFS=$as_save_IFS
                   3439:   test -z "$as_dir" && as_dir=.
                   3440:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3441:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3442:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3443:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3444:     break 2
                   3445:   fi
                   3446: done
                   3447:   done
                   3448: IFS=$as_save_IFS
                   3449: 
                   3450: fi
                   3451: fi
                   3452: CC=$ac_cv_prog_CC
                   3453: if test -n "$CC"; then
                   3454:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3455: $as_echo "$CC" >&6; }
                   3456: else
                   3457:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3458: $as_echo "no" >&6; }
                   3459: fi
                   3460: 
                   3461: 
                   3462:   fi
                   3463: fi
                   3464: if test -z "$CC"; then
                   3465:   # Extract the first word of "cc", so it can be a program name with args.
                   3466: set dummy cc; ac_word=$2
                   3467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3468: $as_echo_n "checking for $ac_word... " >&6; }
                   3469: if ${ac_cv_prog_CC+:} false; then :
                   3470:   $as_echo_n "(cached) " >&6
                   3471: else
                   3472:   if test -n "$CC"; then
                   3473:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3474: else
                   3475:   ac_prog_rejected=no
                   3476: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3477: for as_dir in $PATH
                   3478: do
                   3479:   IFS=$as_save_IFS
                   3480:   test -z "$as_dir" && as_dir=.
                   3481:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3482:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3483:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3484:        ac_prog_rejected=yes
                   3485:        continue
                   3486:      fi
                   3487:     ac_cv_prog_CC="cc"
                   3488:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3489:     break 2
                   3490:   fi
                   3491: done
                   3492:   done
                   3493: IFS=$as_save_IFS
                   3494: 
                   3495: if test $ac_prog_rejected = yes; then
                   3496:   # We found a bogon in the path, so make sure we never use it.
                   3497:   set dummy $ac_cv_prog_CC
                   3498:   shift
                   3499:   if test $# != 0; then
                   3500:     # We chose a different compiler from the bogus one.
                   3501:     # However, it has the same basename, so the bogon will be chosen
                   3502:     # first if we set CC to just the basename; use the full file name.
                   3503:     shift
                   3504:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3505:   fi
                   3506: fi
                   3507: fi
                   3508: fi
                   3509: CC=$ac_cv_prog_CC
                   3510: if test -n "$CC"; then
                   3511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3512: $as_echo "$CC" >&6; }
                   3513: else
                   3514:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3515: $as_echo "no" >&6; }
                   3516: fi
                   3517: 
                   3518: 
                   3519: fi
                   3520: if test -z "$CC"; then
                   3521:   if test -n "$ac_tool_prefix"; then
                   3522:   for ac_prog in cl.exe
                   3523:   do
                   3524:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3525: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3527: $as_echo_n "checking for $ac_word... " >&6; }
                   3528: if ${ac_cv_prog_CC+:} false; then :
                   3529:   $as_echo_n "(cached) " >&6
                   3530: else
                   3531:   if test -n "$CC"; then
                   3532:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3533: else
                   3534: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3535: for as_dir in $PATH
                   3536: do
                   3537:   IFS=$as_save_IFS
                   3538:   test -z "$as_dir" && as_dir=.
                   3539:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3540:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3541:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3542:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3543:     break 2
                   3544:   fi
                   3545: done
                   3546:   done
                   3547: IFS=$as_save_IFS
                   3548: 
                   3549: fi
                   3550: fi
                   3551: CC=$ac_cv_prog_CC
                   3552: if test -n "$CC"; then
                   3553:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3554: $as_echo "$CC" >&6; }
                   3555: else
                   3556:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3557: $as_echo "no" >&6; }
                   3558: fi
                   3559: 
                   3560: 
                   3561:     test -n "$CC" && break
                   3562:   done
                   3563: fi
                   3564: if test -z "$CC"; then
                   3565:   ac_ct_CC=$CC
                   3566:   for ac_prog in cl.exe
                   3567: do
                   3568:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3569: set dummy $ac_prog; ac_word=$2
                   3570: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3571: $as_echo_n "checking for $ac_word... " >&6; }
                   3572: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3573:   $as_echo_n "(cached) " >&6
                   3574: else
                   3575:   if test -n "$ac_ct_CC"; then
                   3576:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3577: else
                   3578: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3579: for as_dir in $PATH
                   3580: do
                   3581:   IFS=$as_save_IFS
                   3582:   test -z "$as_dir" && as_dir=.
                   3583:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    3584:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3585:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3586:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3587:     break 2
                   3588:   fi
                   3589: done
                   3590:   done
                   3591: IFS=$as_save_IFS
                   3592: 
                   3593: fi
                   3594: fi
                   3595: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3596: if test -n "$ac_ct_CC"; then
                   3597:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3598: $as_echo "$ac_ct_CC" >&6; }
                   3599: else
                   3600:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3601: $as_echo "no" >&6; }
                   3602: fi
                   3603: 
                   3604: 
                   3605:   test -n "$ac_ct_CC" && break
                   3606: done
                   3607: 
                   3608:   if test "x$ac_ct_CC" = x; then
                   3609:     CC=""
                   3610:   else
                   3611:     case $cross_compiling:$ac_tool_warned in
                   3612: yes:)
                   3613: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3614: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3615: ac_tool_warned=yes ;;
                   3616: esac
                   3617:     CC=$ac_ct_CC
                   3618:   fi
                   3619: fi
                   3620: 
                   3621: fi
                   3622: 
                   3623: 
                   3624: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3625: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3626: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3627: See \`config.log' for more details" "$LINENO" 5; }
                   3628: 
                   3629: # Provide some information about the compiler.
                   3630: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3631: set X $ac_compile
                   3632: ac_compiler=$2
                   3633: for ac_option in --version -v -V -qversion; do
                   3634:   { { ac_try="$ac_compiler $ac_option >&5"
                   3635: case "(($ac_try" in
                   3636:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3637:   *) ac_try_echo=$ac_try;;
                   3638: esac
                   3639: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3640: $as_echo "$ac_try_echo"; } >&5
                   3641:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3642:   ac_status=$?
                   3643:   if test -s conftest.err; then
                   3644:     sed '10a\
                   3645: ... rest of stderr output deleted ...
                   3646:          10q' conftest.err >conftest.er1
                   3647:     cat conftest.er1 >&5
                   3648:   fi
                   3649:   rm -f conftest.er1 conftest.err
                   3650:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3651:   test $ac_status = 0; }
                   3652: done
                   3653: 
                   3654: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3655: /* end confdefs.h.  */
                   3656: 
                   3657: int
                   3658: main ()
                   3659: {
                   3660: 
                   3661:   ;
                   3662:   return 0;
                   3663: }
                   3664: _ACEOF
                   3665: ac_clean_files_save=$ac_clean_files
                   3666: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3667: # Try to create an executable without -o first, disregard a.out.
                   3668: # It will help us diagnose broken compilers, and finding out an intuition
                   3669: # of exeext.
                   3670: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3671: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3672: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3673: 
                   3674: # The possible output files:
                   3675: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3676: 
                   3677: ac_rmfiles=
                   3678: for ac_file in $ac_files
                   3679: do
                   3680:   case $ac_file in
                   3681:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3682:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3683:   esac
                   3684: done
                   3685: rm -f $ac_rmfiles
                   3686: 
                   3687: if { { ac_try="$ac_link_default"
                   3688: case "(($ac_try" in
                   3689:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3690:   *) ac_try_echo=$ac_try;;
                   3691: esac
                   3692: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3693: $as_echo "$ac_try_echo"; } >&5
                   3694:   (eval "$ac_link_default") 2>&5
                   3695:   ac_status=$?
                   3696:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3697:   test $ac_status = 0; }; then :
                   3698:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3699: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3700: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3701: # so that the user can short-circuit this test for compilers unknown to
                   3702: # Autoconf.
                   3703: for ac_file in $ac_files ''
                   3704: do
                   3705:   test -f "$ac_file" || continue
                   3706:   case $ac_file in
                   3707:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3708:        ;;
                   3709:     [ab].out )
                   3710:        # We found the default executable, but exeext='' is most
                   3711:        # certainly right.
                   3712:        break;;
                   3713:     *.* )
                   3714:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3715:        then :; else
                   3716:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3717:        fi
                   3718:        # We set ac_cv_exeext here because the later test for it is not
                   3719:        # safe: cross compilers may not add the suffix if given an `-o'
                   3720:        # argument, so we may need to know it at that point already.
                   3721:        # Even if this section looks crufty: it has the advantage of
                   3722:        # actually working.
                   3723:        break;;
                   3724:     * )
                   3725:        break;;
                   3726:   esac
                   3727: done
                   3728: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3729: 
                   3730: else
                   3731:   ac_file=''
                   3732: fi
                   3733: if test -z "$ac_file"; then :
                   3734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3735: $as_echo "no" >&6; }
                   3736: $as_echo "$as_me: failed program was:" >&5
                   3737: sed 's/^/| /' conftest.$ac_ext >&5
                   3738: 
                   3739: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3740: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3741: as_fn_error 77 "C compiler cannot create executables
                   3742: See \`config.log' for more details" "$LINENO" 5; }
                   3743: else
                   3744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3745: $as_echo "yes" >&6; }
                   3746: fi
                   3747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3748: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3750: $as_echo "$ac_file" >&6; }
                   3751: ac_exeext=$ac_cv_exeext
                   3752: 
                   3753: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3754: ac_clean_files=$ac_clean_files_save
                   3755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3756: $as_echo_n "checking for suffix of executables... " >&6; }
                   3757: if { { ac_try="$ac_link"
                   3758: case "(($ac_try" in
                   3759:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3760:   *) ac_try_echo=$ac_try;;
                   3761: esac
                   3762: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3763: $as_echo "$ac_try_echo"; } >&5
                   3764:   (eval "$ac_link") 2>&5
                   3765:   ac_status=$?
                   3766:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3767:   test $ac_status = 0; }; then :
                   3768:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3769: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3770: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3771: # `rm'.
                   3772: for ac_file in conftest.exe conftest conftest.*; do
                   3773:   test -f "$ac_file" || continue
                   3774:   case $ac_file in
                   3775:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3776:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3777:          break;;
                   3778:     * ) break;;
                   3779:   esac
                   3780: done
                   3781: else
                   3782:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3783: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3784: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3785: See \`config.log' for more details" "$LINENO" 5; }
                   3786: fi
                   3787: rm -f conftest conftest$ac_cv_exeext
                   3788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3789: $as_echo "$ac_cv_exeext" >&6; }
                   3790: 
                   3791: rm -f conftest.$ac_ext
                   3792: EXEEXT=$ac_cv_exeext
                   3793: ac_exeext=$EXEEXT
                   3794: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3795: /* end confdefs.h.  */
                   3796: #include <stdio.h>
                   3797: int
                   3798: main ()
                   3799: {
                   3800: FILE *f = fopen ("conftest.out", "w");
                   3801:  return ferror (f) || fclose (f) != 0;
                   3802: 
                   3803:   ;
                   3804:   return 0;
                   3805: }
                   3806: _ACEOF
                   3807: ac_clean_files="$ac_clean_files conftest.out"
                   3808: # Check that the compiler produces executables we can run.  If not, either
                   3809: # the compiler is broken, or we cross compile.
                   3810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3811: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3812: if test "$cross_compiling" != yes; then
                   3813:   { { ac_try="$ac_link"
                   3814: case "(($ac_try" in
                   3815:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3816:   *) ac_try_echo=$ac_try;;
                   3817: esac
                   3818: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3819: $as_echo "$ac_try_echo"; } >&5
                   3820:   (eval "$ac_link") 2>&5
                   3821:   ac_status=$?
                   3822:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3823:   test $ac_status = 0; }
                   3824:   if { ac_try='./conftest$ac_cv_exeext'
                   3825:   { { case "(($ac_try" in
                   3826:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3827:   *) ac_try_echo=$ac_try;;
                   3828: esac
                   3829: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3830: $as_echo "$ac_try_echo"; } >&5
                   3831:   (eval "$ac_try") 2>&5
                   3832:   ac_status=$?
                   3833:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3834:   test $ac_status = 0; }; }; then
                   3835:     cross_compiling=no
                   3836:   else
                   3837:     if test "$cross_compiling" = maybe; then
                   3838:        cross_compiling=yes
                   3839:     else
                   3840:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3841: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3842: as_fn_error $? "cannot run C compiled programs.
                   3843: If you meant to cross compile, use \`--host'.
                   3844: See \`config.log' for more details" "$LINENO" 5; }
                   3845:     fi
                   3846:   fi
                   3847: fi
                   3848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3849: $as_echo "$cross_compiling" >&6; }
                   3850: 
                   3851: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3852: ac_clean_files=$ac_clean_files_save
                   3853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3854: $as_echo_n "checking for suffix of object files... " >&6; }
                   3855: if ${ac_cv_objext+:} false; then :
                   3856:   $as_echo_n "(cached) " >&6
                   3857: else
                   3858:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3859: /* end confdefs.h.  */
                   3860: 
                   3861: int
                   3862: main ()
                   3863: {
                   3864: 
                   3865:   ;
                   3866:   return 0;
                   3867: }
                   3868: _ACEOF
                   3869: rm -f conftest.o conftest.obj
                   3870: if { { ac_try="$ac_compile"
                   3871: case "(($ac_try" in
                   3872:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3873:   *) ac_try_echo=$ac_try;;
                   3874: esac
                   3875: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3876: $as_echo "$ac_try_echo"; } >&5
                   3877:   (eval "$ac_compile") 2>&5
                   3878:   ac_status=$?
                   3879:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3880:   test $ac_status = 0; }; then :
                   3881:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3882:   test -f "$ac_file" || continue;
                   3883:   case $ac_file in
                   3884:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3885:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3886:        break;;
                   3887:   esac
                   3888: done
                   3889: else
                   3890:   $as_echo "$as_me: failed program was:" >&5
                   3891: sed 's/^/| /' conftest.$ac_ext >&5
                   3892: 
                   3893: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3894: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3895: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3896: See \`config.log' for more details" "$LINENO" 5; }
                   3897: fi
                   3898: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3899: fi
                   3900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3901: $as_echo "$ac_cv_objext" >&6; }
                   3902: OBJEXT=$ac_cv_objext
                   3903: ac_objext=$OBJEXT
                   3904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3905: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3906: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3907:   $as_echo_n "(cached) " >&6
                   3908: else
                   3909:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3910: /* end confdefs.h.  */
                   3911: 
                   3912: int
                   3913: main ()
                   3914: {
                   3915: #ifndef __GNUC__
                   3916:        choke me
                   3917: #endif
                   3918: 
                   3919:   ;
                   3920:   return 0;
                   3921: }
                   3922: _ACEOF
                   3923: if ac_fn_c_try_compile "$LINENO"; then :
                   3924:   ac_compiler_gnu=yes
                   3925: else
                   3926:   ac_compiler_gnu=no
                   3927: fi
                   3928: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3929: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3930: 
                   3931: fi
                   3932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3933: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3934: if test $ac_compiler_gnu = yes; then
                   3935:   GCC=yes
                   3936: else
                   3937:   GCC=
                   3938: fi
                   3939: ac_test_CFLAGS=${CFLAGS+set}
                   3940: ac_save_CFLAGS=$CFLAGS
                   3941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3942: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3943: if ${ac_cv_prog_cc_g+:} false; then :
                   3944:   $as_echo_n "(cached) " >&6
                   3945: else
                   3946:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3947:    ac_c_werror_flag=yes
                   3948:    ac_cv_prog_cc_g=no
                   3949:    CFLAGS="-g"
                   3950:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3951: /* end confdefs.h.  */
                   3952: 
                   3953: int
                   3954: main ()
                   3955: {
                   3956: 
                   3957:   ;
                   3958:   return 0;
                   3959: }
                   3960: _ACEOF
                   3961: if ac_fn_c_try_compile "$LINENO"; then :
                   3962:   ac_cv_prog_cc_g=yes
                   3963: else
                   3964:   CFLAGS=""
                   3965:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3966: /* end confdefs.h.  */
                   3967: 
                   3968: int
                   3969: main ()
                   3970: {
                   3971: 
                   3972:   ;
                   3973:   return 0;
                   3974: }
                   3975: _ACEOF
                   3976: if ac_fn_c_try_compile "$LINENO"; then :
                   3977: 
                   3978: else
                   3979:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3980:         CFLAGS="-g"
                   3981:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3982: /* end confdefs.h.  */
                   3983: 
                   3984: int
                   3985: main ()
                   3986: {
                   3987: 
                   3988:   ;
                   3989:   return 0;
                   3990: }
                   3991: _ACEOF
                   3992: if ac_fn_c_try_compile "$LINENO"; then :
                   3993:   ac_cv_prog_cc_g=yes
                   3994: fi
                   3995: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3996: fi
                   3997: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3998: fi
                   3999: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4000:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4001: fi
                   4002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4003: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   4004: if test "$ac_test_CFLAGS" = set; then
                   4005:   CFLAGS=$ac_save_CFLAGS
                   4006: elif test $ac_cv_prog_cc_g = yes; then
                   4007:   if test "$GCC" = yes; then
                   4008:     CFLAGS="-g -O2"
                   4009:   else
                   4010:     CFLAGS="-g"
                   4011:   fi
                   4012: else
                   4013:   if test "$GCC" = yes; then
                   4014:     CFLAGS="-O2"
                   4015:   else
                   4016:     CFLAGS=
                   4017:   fi
                   4018: fi
                   4019: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4020: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4021: if ${ac_cv_prog_cc_c89+:} false; then :
                   4022:   $as_echo_n "(cached) " >&6
                   4023: else
                   4024:   ac_cv_prog_cc_c89=no
                   4025: ac_save_CC=$CC
                   4026: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4027: /* end confdefs.h.  */
                   4028: #include <stdarg.h>
                   4029: #include <stdio.h>
1.1.1.3   misho    4030: struct stat;
1.1       misho    4031: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4032: struct buf { int x; };
                   4033: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4034: static char *e (p, i)
                   4035:      char **p;
                   4036:      int i;
                   4037: {
                   4038:   return p[i];
                   4039: }
                   4040: static char *f (char * (*g) (char **, int), char **p, ...)
                   4041: {
                   4042:   char *s;
                   4043:   va_list v;
                   4044:   va_start (v,p);
                   4045:   s = g (p, va_arg (v,int));
                   4046:   va_end (v);
                   4047:   return s;
                   4048: }
                   4049: 
                   4050: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4051:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4052:    These don't provoke an error unfortunately, instead are silently treated
                   4053:    as 'x'.  The following induces an error, until -std is added to get
                   4054:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4055:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4056:    that's true only with -std.  */
                   4057: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4058: 
                   4059: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4060:    inside strings and character constants.  */
                   4061: #define FOO(x) 'x'
                   4062: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4063: 
                   4064: int test (int i, double x);
                   4065: struct s1 {int (*f) (int a);};
                   4066: struct s2 {int (*f) (double a);};
                   4067: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4068: int argc;
                   4069: char **argv;
                   4070: int
                   4071: main ()
                   4072: {
                   4073: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4074:   ;
                   4075:   return 0;
                   4076: }
                   4077: _ACEOF
                   4078: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4079:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4080: do
                   4081:   CC="$ac_save_CC $ac_arg"
                   4082:   if ac_fn_c_try_compile "$LINENO"; then :
                   4083:   ac_cv_prog_cc_c89=$ac_arg
                   4084: fi
                   4085: rm -f core conftest.err conftest.$ac_objext
                   4086:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4087: done
                   4088: rm -f conftest.$ac_ext
                   4089: CC=$ac_save_CC
                   4090: 
                   4091: fi
                   4092: # AC_CACHE_VAL
                   4093: case "x$ac_cv_prog_cc_c89" in
                   4094:   x)
                   4095:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4096: $as_echo "none needed" >&6; } ;;
                   4097:   xno)
                   4098:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4099: $as_echo "unsupported" >&6; } ;;
                   4100:   *)
                   4101:     CC="$CC $ac_cv_prog_cc_c89"
                   4102:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4103: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4104: esac
                   4105: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4106: 
                   4107: fi
                   4108: 
                   4109: ac_ext=c
                   4110: ac_cpp='$CPP $CPPFLAGS'
                   4111: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4112: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4113: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4114: DEPDIR="${am__leading_dot}deps"
                   4115: 
                   4116: ac_config_commands="$ac_config_commands depfiles"
                   4117: 
                   4118: 
                   4119: am_make=${MAKE-make}
                   4120: cat > confinc << 'END'
                   4121: am__doit:
                   4122:        @echo this is the am__doit target
                   4123: .PHONY: am__doit
                   4124: END
                   4125: # If we don't find an include directive, just comment out the code.
                   4126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   4127: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   4128: am__include="#"
                   4129: am__quote=
                   4130: _am_result=none
                   4131: # First try GNU make style include.
                   4132: echo "include confinc" > confmf
1.1.1.5 ! misho    4133: # Ignore all kinds of additional output from `make'.
1.1       misho    4134: case `$am_make -s -f confmf 2> /dev/null` in #(
                   4135: *the\ am__doit\ target*)
                   4136:   am__include=include
                   4137:   am__quote=
                   4138:   _am_result=GNU
                   4139:   ;;
                   4140: esac
                   4141: # Now try BSD make style include.
                   4142: if test "$am__include" = "#"; then
                   4143:    echo '.include "confinc"' > confmf
                   4144:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   4145:    *the\ am__doit\ target*)
                   4146:      am__include=.include
                   4147:      am__quote="\""
                   4148:      _am_result=BSD
                   4149:      ;;
                   4150:    esac
                   4151: fi
                   4152: 
                   4153: 
                   4154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   4155: $as_echo "$_am_result" >&6; }
                   4156: rm -f confinc confmf
                   4157: 
                   4158: # Check whether --enable-dependency-tracking was given.
                   4159: if test "${enable_dependency_tracking+set}" = set; then :
                   4160:   enableval=$enable_dependency_tracking;
                   4161: fi
                   4162: 
                   4163: if test "x$enable_dependency_tracking" != xno; then
                   4164:   am_depcomp="$ac_aux_dir/depcomp"
                   4165:   AMDEPBACKSLASH='\'
1.1.1.2   misho    4166:   am__nodep='_no'
1.1       misho    4167: fi
                   4168:  if test "x$enable_dependency_tracking" != xno; then
                   4169:   AMDEP_TRUE=
                   4170:   AMDEP_FALSE='#'
                   4171: else
                   4172:   AMDEP_TRUE='#'
                   4173:   AMDEP_FALSE=
                   4174: fi
                   4175: 
                   4176: 
                   4177: 
                   4178: depcc="$CC"   am_compiler_list=
                   4179: 
                   4180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4181: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4182: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4183:   $as_echo_n "(cached) " >&6
                   4184: else
                   4185:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4186:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4187:   # making bogus files that we don't know about and never remove.  For
                   4188:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.5 ! misho    4189:   # making a dummy file named `D' -- because `-MD' means `put the output
        !          4190:   # in D'.
1.1.1.2   misho    4191:   rm -rf conftest.dir
1.1       misho    4192:   mkdir conftest.dir
                   4193:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4194:   # using a relative directory.
                   4195:   cp "$am_depcomp" conftest.dir
                   4196:   cd conftest.dir
                   4197:   # We will build objects and dependencies in a subdirectory because
                   4198:   # it helps to detect inapplicable dependency modes.  For instance
                   4199:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4200:   # side effect of compilation, but ICC will put the dependencies in
                   4201:   # the current directory while Tru64 will put them in the object
                   4202:   # directory.
                   4203:   mkdir sub
                   4204: 
                   4205:   am_cv_CC_dependencies_compiler_type=none
                   4206:   if test "$am_compiler_list" = ""; then
                   4207:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4208:   fi
                   4209:   am__universal=false
                   4210:   case " $depcc " in #(
                   4211:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4212:      esac
                   4213: 
                   4214:   for depmode in $am_compiler_list; do
                   4215:     # Setup a source with many dependencies, because some compilers
                   4216:     # like to wrap large dependency lists on column 80 (with \), and
                   4217:     # we should not choose a depcomp mode which is confused by this.
                   4218:     #
                   4219:     # We need to recreate these files for each test, as the compiler may
                   4220:     # overwrite some of them when testing with obscure command lines.
                   4221:     # This happens at least with the AIX C compiler.
                   4222:     : > sub/conftest.c
                   4223:     for i in 1 2 3 4 5 6; do
                   4224:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.5 ! misho    4225:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
        !          4226:       # Solaris 8's {/usr,}/bin/sh.
        !          4227:       touch sub/conftst$i.h
1.1       misho    4228:     done
                   4229:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4230: 
1.1.1.5 ! misho    4231:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
1.1       misho    4232:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.5 ! misho    4233:     # handle `-M -o', and we need to detect this.  Also, some Intel
        !          4234:     # versions had trouble with output in subdirs
1.1       misho    4235:     am__obj=sub/conftest.${OBJEXT-o}
                   4236:     am__minus_obj="-o $am__obj"
                   4237:     case $depmode in
                   4238:     gcc)
                   4239:       # This depmode causes a compiler race in universal mode.
                   4240:       test "$am__universal" = false || continue
                   4241:       ;;
                   4242:     nosideeffect)
1.1.1.5 ! misho    4243:       # after this tag, mechanisms are not by side-effect, so they'll
        !          4244:       # only be used when explicitly requested
1.1       misho    4245:       if test "x$enable_dependency_tracking" = xyes; then
                   4246:        continue
                   4247:       else
                   4248:        break
                   4249:       fi
                   4250:       ;;
1.1.1.2   misho    4251:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1.1.5 ! misho    4252:       # This compiler won't grok `-c -o', but also, the minuso test has
1.1       misho    4253:       # not run yet.  These depmodes are late enough in the game, and
                   4254:       # so weak that their functioning should not be impacted.
                   4255:       am__obj=conftest.${OBJEXT-o}
                   4256:       am__minus_obj=
                   4257:       ;;
                   4258:     none) break ;;
                   4259:     esac
                   4260:     if depmode=$depmode \
                   4261:        source=sub/conftest.c object=$am__obj \
                   4262:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4263:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4264:          >/dev/null 2>conftest.err &&
                   4265:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4266:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4267:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4268:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4269:       # icc doesn't choke on unknown options, it will just issue warnings
                   4270:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4271:       # that says an option was ignored or not supported.
                   4272:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4273:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4274:       # The diagnosis changed in icc 8.0:
                   4275:       #   icc: Command line remark: option '-MP' not supported
                   4276:       if (grep 'ignoring option' conftest.err ||
                   4277:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4278:         am_cv_CC_dependencies_compiler_type=$depmode
                   4279:         break
                   4280:       fi
                   4281:     fi
                   4282:   done
                   4283: 
                   4284:   cd ..
                   4285:   rm -rf conftest.dir
                   4286: else
                   4287:   am_cv_CC_dependencies_compiler_type=none
                   4288: fi
                   4289: 
                   4290: fi
                   4291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4292: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4293: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4294: 
                   4295:  if
                   4296:   test "x$enable_dependency_tracking" != xno \
                   4297:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4298:   am__fastdepCC_TRUE=
                   4299:   am__fastdepCC_FALSE='#'
                   4300: else
                   4301:   am__fastdepCC_TRUE='#'
                   4302:   am__fastdepCC_FALSE=
                   4303: fi
                   4304: 
                   4305: 
                   4306: ac_ext=c
                   4307: ac_cpp='$CPP $CPPFLAGS'
                   4308: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4309: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4310: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4311: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4312: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4313: # On Suns, sometimes $CPP names a directory.
                   4314: if test -n "$CPP" && test -d "$CPP"; then
                   4315:   CPP=
                   4316: fi
                   4317: if test -z "$CPP"; then
                   4318:   if ${ac_cv_prog_CPP+:} false; then :
                   4319:   $as_echo_n "(cached) " >&6
                   4320: else
                   4321:       # Double quotes because CPP needs to be expanded
                   4322:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4323:     do
                   4324:       ac_preproc_ok=false
                   4325: for ac_c_preproc_warn_flag in '' yes
                   4326: do
                   4327:   # Use a header file that comes with gcc, so configuring glibc
                   4328:   # with a fresh cross-compiler works.
                   4329:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4330:   # <limits.h> exists even on freestanding compilers.
                   4331:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4332:   # not just through cpp. "Syntax error" is here to catch this case.
                   4333:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4334: /* end confdefs.h.  */
                   4335: #ifdef __STDC__
                   4336: # include <limits.h>
                   4337: #else
                   4338: # include <assert.h>
                   4339: #endif
                   4340:                     Syntax error
                   4341: _ACEOF
                   4342: if ac_fn_c_try_cpp "$LINENO"; then :
                   4343: 
                   4344: else
                   4345:   # Broken: fails on valid input.
                   4346: continue
                   4347: fi
                   4348: rm -f conftest.err conftest.i conftest.$ac_ext
                   4349: 
                   4350:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4351:   # can be detected and how.
                   4352:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4353: /* end confdefs.h.  */
                   4354: #include <ac_nonexistent.h>
                   4355: _ACEOF
                   4356: if ac_fn_c_try_cpp "$LINENO"; then :
                   4357:   # Broken: success on invalid input.
                   4358: continue
                   4359: else
                   4360:   # Passes both tests.
                   4361: ac_preproc_ok=:
                   4362: break
                   4363: fi
                   4364: rm -f conftest.err conftest.i conftest.$ac_ext
                   4365: 
                   4366: done
                   4367: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4368: rm -f conftest.i conftest.err conftest.$ac_ext
                   4369: if $ac_preproc_ok; then :
                   4370:   break
                   4371: fi
                   4372: 
                   4373:     done
                   4374:     ac_cv_prog_CPP=$CPP
                   4375: 
                   4376: fi
                   4377:   CPP=$ac_cv_prog_CPP
                   4378: else
                   4379:   ac_cv_prog_CPP=$CPP
                   4380: fi
                   4381: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4382: $as_echo "$CPP" >&6; }
                   4383: ac_preproc_ok=false
                   4384: for ac_c_preproc_warn_flag in '' yes
                   4385: do
                   4386:   # Use a header file that comes with gcc, so configuring glibc
                   4387:   # with a fresh cross-compiler works.
                   4388:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4389:   # <limits.h> exists even on freestanding compilers.
                   4390:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4391:   # not just through cpp. "Syntax error" is here to catch this case.
                   4392:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4393: /* end confdefs.h.  */
                   4394: #ifdef __STDC__
                   4395: # include <limits.h>
                   4396: #else
                   4397: # include <assert.h>
                   4398: #endif
                   4399:                     Syntax error
                   4400: _ACEOF
                   4401: if ac_fn_c_try_cpp "$LINENO"; then :
                   4402: 
                   4403: else
                   4404:   # Broken: fails on valid input.
                   4405: continue
                   4406: fi
                   4407: rm -f conftest.err conftest.i conftest.$ac_ext
                   4408: 
                   4409:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4410:   # can be detected and how.
                   4411:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4412: /* end confdefs.h.  */
                   4413: #include <ac_nonexistent.h>
                   4414: _ACEOF
                   4415: if ac_fn_c_try_cpp "$LINENO"; then :
                   4416:   # Broken: success on invalid input.
                   4417: continue
                   4418: else
                   4419:   # Passes both tests.
                   4420: ac_preproc_ok=:
                   4421: break
                   4422: fi
                   4423: rm -f conftest.err conftest.i conftest.$ac_ext
                   4424: 
                   4425: done
                   4426: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4427: rm -f conftest.i conftest.err conftest.$ac_ext
                   4428: if $ac_preproc_ok; then :
                   4429: 
                   4430: else
                   4431:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4432: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4433: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4434: See \`config.log' for more details" "$LINENO" 5; }
                   4435: fi
                   4436: 
                   4437: ac_ext=c
                   4438: ac_cpp='$CPP $CPPFLAGS'
                   4439: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4440: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4441: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4442: 
                   4443: if test "x$CC" != xcc; then
                   4444:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
                   4445: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
                   4446: else
                   4447:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
                   4448: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
                   4449: fi
                   4450: set dummy $CC; ac_cc=`$as_echo "$2" |
                   4451:                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4452: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
                   4453:   $as_echo_n "(cached) " >&6
                   4454: else
                   4455:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4456: /* end confdefs.h.  */
                   4457: 
                   4458: int
                   4459: main ()
                   4460: {
                   4461: 
                   4462:   ;
                   4463:   return 0;
                   4464: }
                   4465: _ACEOF
                   4466: # Make sure it works both with $CC and with simple cc.
                   4467: # We do the test twice because some compilers refuse to overwrite an
                   4468: # existing .o file with -o, though they will create one.
                   4469: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4470: rm -f conftest2.*
                   4471: if { { case "(($ac_try" in
                   4472:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4473:   *) ac_try_echo=$ac_try;;
                   4474: esac
                   4475: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4476: $as_echo "$ac_try_echo"; } >&5
                   4477:   (eval "$ac_try") 2>&5
                   4478:   ac_status=$?
                   4479:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4480:   test $ac_status = 0; } &&
                   4481:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4482:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4483:   *) ac_try_echo=$ac_try;;
                   4484: esac
                   4485: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4486: $as_echo "$ac_try_echo"; } >&5
                   4487:   (eval "$ac_try") 2>&5
                   4488:   ac_status=$?
                   4489:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4490:   test $ac_status = 0; };
                   4491: then
                   4492:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
                   4493:   if test "x$CC" != xcc; then
                   4494:     # Test first that cc exists at all.
                   4495:     if { ac_try='cc -c conftest.$ac_ext >&5'
                   4496:   { { case "(($ac_try" in
                   4497:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4498:   *) ac_try_echo=$ac_try;;
                   4499: esac
                   4500: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4501: $as_echo "$ac_try_echo"; } >&5
                   4502:   (eval "$ac_try") 2>&5
                   4503:   ac_status=$?
                   4504:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4505:   test $ac_status = 0; }; }; then
                   4506:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4507:       rm -f conftest2.*
                   4508:       if { { case "(($ac_try" in
                   4509:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4510:   *) ac_try_echo=$ac_try;;
                   4511: esac
                   4512: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4513: $as_echo "$ac_try_echo"; } >&5
                   4514:   (eval "$ac_try") 2>&5
                   4515:   ac_status=$?
                   4516:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4517:   test $ac_status = 0; } &&
                   4518:         test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4519:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4520:   *) ac_try_echo=$ac_try;;
                   4521: esac
                   4522: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4523: $as_echo "$ac_try_echo"; } >&5
                   4524:   (eval "$ac_try") 2>&5
                   4525:   ac_status=$?
                   4526:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4527:   test $ac_status = 0; };
                   4528:       then
                   4529:        # cc works too.
                   4530:        :
                   4531:       else
                   4532:        # cc exists but doesn't like -o.
                   4533:        eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4534:       fi
                   4535:     fi
                   4536:   fi
                   4537: else
                   4538:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4539: fi
                   4540: rm -f core conftest*
                   4541: 
                   4542: fi
                   4543: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
                   4544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4545: $as_echo "yes" >&6; }
                   4546: else
                   4547:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4548: $as_echo "no" >&6; }
                   4549: 
                   4550: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
                   4551: 
                   4552: fi
                   4553: 
                   4554: # FIXME: we rely on the cache variable name because
                   4555: # there is no other way.
                   4556: set dummy $CC
                   4557: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4558: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
                   4559: if test "$am_t" != yes; then
                   4560:    # Losing compiler, so override with the script.
                   4561:    # FIXME: It is wrong to rewrite CC.
                   4562:    # But if we don't then we get into trouble of one sort or another.
                   4563:    # A longer-term fix would be to have automake use am__CC in this case,
                   4564:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4565:    CC="$am_aux_dir/compile $CC"
                   4566: fi
                   4567: 
                   4568: 
1.1.1.5 ! misho    4569: if test -n "$ac_tool_prefix"; then
        !          4570:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          4571: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          4572: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4573: $as_echo_n "checking for $ac_word... " >&6; }
        !          4574: if ${ac_cv_prog_RANLIB+:} false; then :
        !          4575:   $as_echo_n "(cached) " >&6
        !          4576: else
        !          4577:   if test -n "$RANLIB"; then
        !          4578:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          4579: else
        !          4580: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4581: for as_dir in $PATH
        !          4582: do
        !          4583:   IFS=$as_save_IFS
        !          4584:   test -z "$as_dir" && as_dir=.
        !          4585:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4586:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4587:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          4588:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4589:     break 2
        !          4590:   fi
        !          4591: done
        !          4592:   done
        !          4593: IFS=$as_save_IFS
        !          4594: 
        !          4595: fi
        !          4596: fi
        !          4597: RANLIB=$ac_cv_prog_RANLIB
        !          4598: if test -n "$RANLIB"; then
        !          4599:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          4600: $as_echo "$RANLIB" >&6; }
        !          4601: else
        !          4602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4603: $as_echo "no" >&6; }
        !          4604: fi
        !          4605: 
        !          4606: 
        !          4607: fi
        !          4608: if test -z "$ac_cv_prog_RANLIB"; then
        !          4609:   ac_ct_RANLIB=$RANLIB
        !          4610:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          4611: set dummy ranlib; ac_word=$2
        !          4612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4613: $as_echo_n "checking for $ac_word... " >&6; }
        !          4614: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
        !          4615:   $as_echo_n "(cached) " >&6
        !          4616: else
        !          4617:   if test -n "$ac_ct_RANLIB"; then
        !          4618:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          4619: else
        !          4620: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4621: for as_dir in $PATH
        !          4622: do
        !          4623:   IFS=$as_save_IFS
        !          4624:   test -z "$as_dir" && as_dir=.
        !          4625:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4626:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          4627:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          4628:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4629:     break 2
        !          4630:   fi
        !          4631: done
        !          4632:   done
        !          4633: IFS=$as_save_IFS
        !          4634: 
        !          4635: fi
        !          4636: fi
        !          4637: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          4638: if test -n "$ac_ct_RANLIB"; then
        !          4639:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          4640: $as_echo "$ac_ct_RANLIB" >&6; }
        !          4641: else
        !          4642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4643: $as_echo "no" >&6; }
        !          4644: fi
        !          4645: 
        !          4646:   if test "x$ac_ct_RANLIB" = x; then
        !          4647:     RANLIB=":"
        !          4648:   else
        !          4649:     case $cross_compiling:$ac_tool_warned in
        !          4650: yes:)
        !          4651: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          4652: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          4653: ac_tool_warned=yes ;;
        !          4654: esac
        !          4655:     RANLIB=$ac_ct_RANLIB
        !          4656:   fi
        !          4657: else
        !          4658:   RANLIB="$ac_cv_prog_RANLIB"
        !          4659: fi
        !          4660: 
1.1       misho    4661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4662: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4663: if ${ac_cv_path_GREP+:} false; then :
                   4664:   $as_echo_n "(cached) " >&6
                   4665: else
                   4666:   if test -z "$GREP"; then
                   4667:   ac_path_GREP_found=false
                   4668:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4669:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4670: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4671: do
                   4672:   IFS=$as_save_IFS
                   4673:   test -z "$as_dir" && as_dir=.
                   4674:     for ac_prog in grep ggrep; do
                   4675:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4676:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.3   misho    4677:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    4678: # Check for GNU ac_path_GREP and select it if it is found.
                   4679:   # Check for GNU $ac_path_GREP
                   4680: case `"$ac_path_GREP" --version 2>&1` in
                   4681: *GNU*)
                   4682:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4683: *)
                   4684:   ac_count=0
                   4685:   $as_echo_n 0123456789 >"conftest.in"
                   4686:   while :
                   4687:   do
                   4688:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4689:     mv "conftest.tmp" "conftest.in"
                   4690:     cp "conftest.in" "conftest.nl"
                   4691:     $as_echo 'GREP' >> "conftest.nl"
                   4692:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4693:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4694:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4695:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4696:       # Best one so far, save it but keep looking for a better one
                   4697:       ac_cv_path_GREP="$ac_path_GREP"
                   4698:       ac_path_GREP_max=$ac_count
                   4699:     fi
                   4700:     # 10*(2^10) chars as input seems more than enough
                   4701:     test $ac_count -gt 10 && break
                   4702:   done
                   4703:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4704: esac
                   4705: 
                   4706:       $ac_path_GREP_found && break 3
                   4707:     done
                   4708:   done
                   4709:   done
                   4710: IFS=$as_save_IFS
                   4711:   if test -z "$ac_cv_path_GREP"; then
                   4712:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4713:   fi
                   4714: else
                   4715:   ac_cv_path_GREP=$GREP
                   4716: fi
                   4717: 
                   4718: fi
                   4719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4720: $as_echo "$ac_cv_path_GREP" >&6; }
                   4721:  GREP="$ac_cv_path_GREP"
                   4722: 
                   4723: 
                   4724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4725: $as_echo_n "checking for egrep... " >&6; }
                   4726: if ${ac_cv_path_EGREP+:} false; then :
                   4727:   $as_echo_n "(cached) " >&6
                   4728: else
                   4729:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4730:    then ac_cv_path_EGREP="$GREP -E"
                   4731:    else
                   4732:      if test -z "$EGREP"; then
                   4733:   ac_path_EGREP_found=false
                   4734:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4735:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4736: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4737: do
                   4738:   IFS=$as_save_IFS
                   4739:   test -z "$as_dir" && as_dir=.
                   4740:     for ac_prog in egrep; do
                   4741:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4742:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.3   misho    4743:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    4744: # Check for GNU ac_path_EGREP and select it if it is found.
                   4745:   # Check for GNU $ac_path_EGREP
                   4746: case `"$ac_path_EGREP" --version 2>&1` in
                   4747: *GNU*)
                   4748:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4749: *)
                   4750:   ac_count=0
                   4751:   $as_echo_n 0123456789 >"conftest.in"
                   4752:   while :
                   4753:   do
                   4754:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4755:     mv "conftest.tmp" "conftest.in"
                   4756:     cp "conftest.in" "conftest.nl"
                   4757:     $as_echo 'EGREP' >> "conftest.nl"
                   4758:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4759:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4760:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4761:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4762:       # Best one so far, save it but keep looking for a better one
                   4763:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4764:       ac_path_EGREP_max=$ac_count
                   4765:     fi
                   4766:     # 10*(2^10) chars as input seems more than enough
                   4767:     test $ac_count -gt 10 && break
                   4768:   done
                   4769:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4770: esac
                   4771: 
                   4772:       $ac_path_EGREP_found && break 3
                   4773:     done
                   4774:   done
                   4775:   done
                   4776: IFS=$as_save_IFS
                   4777:   if test -z "$ac_cv_path_EGREP"; then
                   4778:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4779:   fi
                   4780: else
                   4781:   ac_cv_path_EGREP=$EGREP
                   4782: fi
                   4783: 
                   4784:    fi
                   4785: fi
                   4786: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4787: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4788:  EGREP="$ac_cv_path_EGREP"
                   4789: 
                   4790: 
                   4791: 
                   4792: # Extract the first word of "sed", so it can be a program name with args.
                   4793: set dummy sed; ac_word=$2
                   4794: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4795: $as_echo_n "checking for $ac_word... " >&6; }
                   4796: if ${ac_cv_prog_SED+:} false; then :
                   4797:   $as_echo_n "(cached) " >&6
                   4798: else
                   4799:   if test -n "$SED"; then
                   4800:   ac_cv_prog_SED="$SED" # Let the user override the test.
                   4801: else
                   4802: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4803: for as_dir in $PATH
                   4804: do
                   4805:   IFS=$as_save_IFS
                   4806:   test -z "$as_dir" && as_dir=.
                   4807:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    4808:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4809:     ac_cv_prog_SED="sed"
                   4810:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4811:     break 2
                   4812:   fi
                   4813: done
                   4814:   done
                   4815: IFS=$as_save_IFS
                   4816: 
                   4817:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="/bin/false"
                   4818: fi
                   4819: fi
                   4820: SED=$ac_cv_prog_SED
                   4821: if test -n "$SED"; then
                   4822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
                   4823: $as_echo "$SED" >&6; }
                   4824: else
                   4825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4826: $as_echo "no" >&6; }
                   4827: fi
                   4828: 
                   4829: 
                   4830: 
1.1.1.3   misho    4831: # Extract the first word of "pdflatex", so it can be a program name with args.
                   4832: set dummy pdflatex; ac_word=$2
                   4833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4834: $as_echo_n "checking for $ac_word... " >&6; }
                   4835: if ${ac_cv_prog_PDFLATEX+:} false; then :
                   4836:   $as_echo_n "(cached) " >&6
                   4837: else
                   4838:   if test -n "$PDFLATEX"; then
                   4839:   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
                   4840: else
                   4841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4842: for as_dir in $PATH
                   4843: do
                   4844:   IFS=$as_save_IFS
                   4845:   test -z "$as_dir" && as_dir=.
                   4846:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4847:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4848:     ac_cv_prog_PDFLATEX="pdflatex"
                   4849:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4850:     break 2
                   4851:   fi
                   4852: done
                   4853:   done
                   4854: IFS=$as_save_IFS
                   4855: 
                   4856:   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="/bin/false"
                   4857: fi
                   4858: fi
                   4859: PDFLATEX=$ac_cv_prog_PDFLATEX
                   4860: if test -n "$PDFLATEX"; then
                   4861:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
                   4862: $as_echo "$PDFLATEX" >&6; }
                   4863: else
                   4864:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4865: $as_echo "no" >&6; }
                   4866: fi
                   4867: 
                   4868: 
                   4869: # Extract the first word of "latexmk", so it can be a program name with args.
                   4870: set dummy latexmk; ac_word=$2
                   4871: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4872: $as_echo_n "checking for $ac_word... " >&6; }
                   4873: if ${ac_cv_prog_LATEXMK+:} false; then :
                   4874:   $as_echo_n "(cached) " >&6
                   4875: else
                   4876:   if test -n "$LATEXMK"; then
                   4877:   ac_cv_prog_LATEXMK="$LATEXMK" # Let the user override the test.
                   4878: else
                   4879: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4880: for as_dir in $PATH
                   4881: do
                   4882:   IFS=$as_save_IFS
                   4883:   test -z "$as_dir" && as_dir=.
                   4884:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4885:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4886:     ac_cv_prog_LATEXMK="latexmk"
                   4887:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4888:     break 2
                   4889:   fi
                   4890: done
                   4891:   done
                   4892: IFS=$as_save_IFS
                   4893: 
                   4894:   test -z "$ac_cv_prog_LATEXMK" && ac_cv_prog_LATEXMK="/bin/false"
                   4895: fi
                   4896: fi
                   4897: LATEXMK=$ac_cv_prog_LATEXMK
                   4898: if test -n "$LATEXMK"; then
                   4899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEXMK" >&5
                   4900: $as_echo "$LATEXMK" >&6; }
                   4901: else
                   4902:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4903: $as_echo "no" >&6; }
                   4904: fi
                   4905: 
                   4906: 
                   4907: if test "x$PDFLATEX" = "x/bin/false" -o "x$LATEXMK" = "x/bin/false"; then
                   4908:        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Will not be able to make PDF versions of TeX documents" >&5
                   4909: $as_echo "$as_me: WARNING: Will not be able to make PDF versions of TeX documents" >&2;}
                   4910: else
                   4911:        HAVE_LATEX=true
                   4912: fi
                   4913:  if test "x$HAVE_LATEX" = "xtrue"; then
                   4914:   HAVE_LATEX_TRUE=
                   4915:   HAVE_LATEX_FALSE='#'
                   4916: else
                   4917:   HAVE_LATEX_TRUE='#'
                   4918:   HAVE_LATEX_FALSE=
                   4919: fi
                   4920: 
                   4921: 
1.1.1.5 ! misho    4922: if test "x${GCC}" != "xyes" ; then
        !          4923:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro compiler" >&5
        !          4924: $as_echo_n "checking whether we are using SunPro compiler... " >&6; }
1.1       misho    4925: 
                   4926: 
                   4927: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4928: /* end confdefs.h.  */
1.1.1.5 ! misho    4929: "__SUNPRO_C" __SUNPRO_C
1.1       misho    4930: _ACEOF
                   4931: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.5 ! misho    4932:   $EGREP "^__SUNPRO_C.*0x5(7|8|9)" >/dev/null 2>&1; then :
1.1       misho    4933:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4934: $as_echo "no" >&6; }
                   4935: else
1.1.1.5 ! misho    4936:   COMPILER="SUNPRO"
1.1       misho    4937:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4938: $as_echo "yes" >&6; }
                   4939: 
                   4940: fi
                   4941: rm -f conftest*
                   4942: 
1.1.1.5 ! misho    4943: fi
        !          4944: 
        !          4945: 
        !          4946: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
        !          4947: $as_echo_n "checking for ANSI C header files... " >&6; }
        !          4948: if ${ac_cv_header_stdc+:} false; then :
        !          4949:   $as_echo_n "(cached) " >&6
1.1       misho    4950: else
                   4951:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4952: /* end confdefs.h.  */
1.1.1.5 ! misho    4953: #include <stdlib.h>
        !          4954: #include <stdarg.h>
        !          4955: #include <string.h>
        !          4956: #include <float.h>
        !          4957: 
        !          4958: int
        !          4959: main ()
        !          4960: {
        !          4961: 
        !          4962:   ;
        !          4963:   return 0;
        !          4964: }
1.1       misho    4965: _ACEOF
1.1.1.5 ! misho    4966: if ac_fn_c_try_compile "$LINENO"; then :
        !          4967:   ac_cv_header_stdc=yes
1.1       misho    4968: else
1.1.1.5 ! misho    4969:   ac_cv_header_stdc=no
        !          4970: fi
        !          4971: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          4972: 
        !          4973: if test $ac_cv_header_stdc = yes; then
        !          4974:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          4975:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4976: /* end confdefs.h.  */
        !          4977: #include <string.h>
        !          4978: 
        !          4979: _ACEOF
        !          4980: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          4981:   $EGREP "memchr" >/dev/null 2>&1; then :
1.1       misho    4982: 
1.1.1.5 ! misho    4983: else
        !          4984:   ac_cv_header_stdc=no
1.1       misho    4985: fi
                   4986: rm -f conftest*
                   4987: 
                   4988: fi
                   4989: 
1.1.1.5 ! misho    4990: if test $ac_cv_header_stdc = yes; then
        !          4991:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          4992:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4993: /* end confdefs.h.  */
        !          4994: #include <stdlib.h>
        !          4995: 
        !          4996: _ACEOF
        !          4997: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          4998:   $EGREP "free" >/dev/null 2>&1; then :
1.1       misho    4999: 
                   5000: else
1.1.1.5 ! misho    5001:   ac_cv_header_stdc=no
1.1       misho    5002: fi
1.1.1.5 ! misho    5003: rm -f conftest*
1.1       misho    5004: 
                   5005: fi
                   5006: 
1.1.1.5 ! misho    5007: if test $ac_cv_header_stdc = yes; then
        !          5008:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          5009:   if test "$cross_compiling" = yes; then :
        !          5010:   :
1.1       misho    5011: else
1.1.1.5 ! misho    5012:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5013: /* end confdefs.h.  */
        !          5014: #include <ctype.h>
        !          5015: #include <stdlib.h>
        !          5016: #if ((' ' & 0x0FF) == 0x020)
        !          5017: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          5018: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          5019: #else
        !          5020: # define ISLOWER(c) \
        !          5021:                   (('a' <= (c) && (c) <= 'i') \
        !          5022:                     || ('j' <= (c) && (c) <= 'r') \
        !          5023:                     || ('s' <= (c) && (c) <= 'z'))
        !          5024: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          5025: #endif
        !          5026: 
        !          5027: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          5028: int
        !          5029: main ()
        !          5030: {
        !          5031:   int i;
        !          5032:   for (i = 0; i < 256; i++)
        !          5033:     if (XOR (islower (i), ISLOWER (i))
        !          5034:        || toupper (i) != TOUPPER (i))
        !          5035:       return 2;
        !          5036:   return 0;
        !          5037: }
1.1       misho    5038: _ACEOF
1.1.1.5 ! misho    5039: if ac_fn_c_try_run "$LINENO"; then :
        !          5040: 
        !          5041: else
        !          5042:   ac_cv_header_stdc=no
1.1       misho    5043: fi
                   5044: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5045:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5046: fi
                   5047: 
                   5048: fi
                   5049: fi
                   5050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   5051: $as_echo "$ac_cv_header_stdc" >&6; }
                   5052: if test $ac_cv_header_stdc = yes; then
                   5053: 
                   5054: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   5055: 
                   5056: fi
                   5057: 
                   5058: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   5059: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   5060:                  inttypes.h stdint.h unistd.h
                   5061: do :
                   5062:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   5063: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   5064: "
                   5065: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   5066:   cat >>confdefs.h <<_ACEOF
                   5067: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   5068: _ACEOF
                   5069: 
                   5070: fi
                   5071: 
                   5072: done
                   5073: 
                   5074: 
                   5075: 
                   5076:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   5077: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   5078:   MINIX=yes
                   5079: else
                   5080:   MINIX=
                   5081: fi
                   5082: 
                   5083: 
                   5084:   if test "$MINIX" = yes; then
                   5085: 
                   5086: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
                   5087: 
                   5088: 
                   5089: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
                   5090: 
                   5091: 
                   5092: $as_echo "#define _MINIX 1" >>confdefs.h
                   5093: 
                   5094:   fi
                   5095: 
                   5096: 
                   5097:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   5098: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   5099: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   5100:   $as_echo_n "(cached) " >&6
                   5101: else
                   5102:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5103: /* end confdefs.h.  */
                   5104: 
1.1.1.3   misho    5105: #         define __EXTENSIONS__ 1
                   5106:           $ac_includes_default
1.1       misho    5107: int
                   5108: main ()
                   5109: {
                   5110: 
                   5111:   ;
                   5112:   return 0;
                   5113: }
                   5114: _ACEOF
                   5115: if ac_fn_c_try_compile "$LINENO"; then :
                   5116:   ac_cv_safe_to_define___extensions__=yes
                   5117: else
                   5118:   ac_cv_safe_to_define___extensions__=no
                   5119: fi
                   5120: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5121: fi
                   5122: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   5123: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   5124:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   5125:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
                   5126: 
                   5127:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   5128: 
                   5129:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
                   5130: 
                   5131:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
                   5132: 
                   5133:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
                   5134: 
                   5135: 
                   5136: 
                   5137: 
1.1.1.5 ! misho    5138: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to set a default CFLAGS" >&5
        !          5139: $as_echo_n "checking whether to set a default CFLAGS... " >&6; }
        !          5140: if test "x${cflags_specified}" = "x" ; then
        !          5141:   case ${COMPILER} in
        !          5142:     "SUNPRO")
        !          5143:         CFLAGS="-xO4 -v -g -xspace -xcode=pic32 -xstrconst -xc99"
        !          5144:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: SunPro default" >&5
        !          5145: $as_echo "SunPro default" >&6; }
        !          5146:         ;;
        !          5147:     *)
        !          5148:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetecting" >&5
        !          5149: $as_echo "autodetecting" >&6; }
1.1       misho    5150: 
1.1.1.5 ! misho    5151:         {
        !          5152:        ac_ext=c
        !          5153: ac_cpp='$CPP $CPPFLAGS'
        !          5154: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5155: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5156: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5157: 
1.1.1.5 ! misho    5158:        ac_c_flag_save="$CFLAGS"
        !          5159:        CFLAGS="$CFLAGS -diag-error 10006"
        !          5160:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -diag-error 10006" >&5
        !          5161: $as_echo_n "checking whether $CC supports -diag-error 10006... " >&6; }
        !          5162:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5163: /* end confdefs.h.  */
1.1       misho    5164: 
1.1.1.5 ! misho    5165: int
        !          5166: main ()
        !          5167: {
1.1       misho    5168: 
1.1.1.5 ! misho    5169:   ;
        !          5170:   return 0;
        !          5171: }
        !          5172: _ACEOF
        !          5173: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5174: 
1.1.1.5 ! misho    5175:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5176: $as_echo "yes" >&6; }
1.1       misho    5177: 
                   5178: 
1.1.1.5 ! misho    5179: else
1.1       misho    5180: 
1.1.1.5 ! misho    5181:                        CFLAGS="$ac_c_flag_save"
        !          5182:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5183: $as_echo "no" >&6; }
1.1       misho    5184: 
                   5185: 
1.1.1.5 ! misho    5186: fi
        !          5187: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5188:        ac_ext=c
        !          5189: ac_cpp='$CPP $CPPFLAGS'
        !          5190: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5191: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5192: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5193: 
1.1.1.5 ! misho    5194:        }
        !          5195:         {
        !          5196:        ac_ext=c
        !          5197: ac_cpp='$CPP $CPPFLAGS'
        !          5198: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5199: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5200: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5201: 
1.1.1.5 ! misho    5202:        ac_c_flag_save="$CFLAGS"
        !          5203:        CFLAGS="$CFLAGS -std=gnu99"
        !          5204:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -std=gnu99" >&5
        !          5205: $as_echo_n "checking whether $CC supports -std=gnu99... " >&6; }
        !          5206:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5207: /* end confdefs.h.  */
1.1       misho    5208: 
1.1.1.5 ! misho    5209: int
        !          5210: main ()
        !          5211: {
1.1       misho    5212: 
1.1.1.5 ! misho    5213:   ;
        !          5214:   return 0;
        !          5215: }
        !          5216: _ACEOF
        !          5217: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5218: 
1.1.1.5 ! misho    5219:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5220: $as_echo "yes" >&6; }
1.1       misho    5221: 
                   5222: 
1.1.1.5 ! misho    5223: else
1.1       misho    5224: 
1.1.1.5 ! misho    5225:                        CFLAGS="$ac_c_flag_save"
        !          5226:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5227: $as_echo "no" >&6; }
1.1       misho    5228: 
                   5229: 
1.1.1.5 ! misho    5230: fi
        !          5231: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5232:        ac_ext=c
        !          5233: ac_cpp='$CPP $CPPFLAGS'
        !          5234: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5235: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5236: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5237: 
1.1.1.5 ! misho    5238:        }
        !          5239:         {
        !          5240:        ac_ext=c
        !          5241: ac_cpp='$CPP $CPPFLAGS'
        !          5242: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5243: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5244: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5245: 
1.1.1.5 ! misho    5246:        ac_c_flag_save="$CFLAGS"
        !          5247:        CFLAGS="$CFLAGS -g"
        !          5248:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -g" >&5
        !          5249: $as_echo_n "checking whether $CC supports -g... " >&6; }
        !          5250:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5251: /* end confdefs.h.  */
1.1       misho    5252: 
1.1.1.5 ! misho    5253: int
        !          5254: main ()
1.1       misho    5255: {
1.1.1.5 ! misho    5256: 
        !          5257:   ;
        !          5258:   return 0;
1.1       misho    5259: }
1.1.1.5 ! misho    5260: _ACEOF
        !          5261: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5262: 
1.1.1.5 ! misho    5263:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5264: $as_echo "yes" >&6; }
1.1       misho    5265: 
                   5266: 
1.1.1.5 ! misho    5267: else
1.1       misho    5268: 
1.1.1.5 ! misho    5269:                        CFLAGS="$ac_c_flag_save"
        !          5270:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5271: $as_echo "no" >&6; }
1.1       misho    5272: 
                   5273: 
1.1.1.5 ! misho    5274: fi
        !          5275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5276:        ac_ext=c
        !          5277: ac_cpp='$CPP $CPPFLAGS'
        !          5278: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5279: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5280: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5281: 
1.1.1.5 ! misho    5282:        }
        !          5283:         {
        !          5284:        ac_ext=c
        !          5285: ac_cpp='$CPP $CPPFLAGS'
        !          5286: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5287: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5288: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5289: 
1.1.1.5 ! misho    5290:        ac_c_flag_save="$CFLAGS"
        !          5291:        CFLAGS="$CFLAGS -Os"
        !          5292:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Os" >&5
        !          5293: $as_echo_n "checking whether $CC supports -Os... " >&6; }
        !          5294:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5295: /* end confdefs.h.  */
1.1       misho    5296: 
1.1.1.5 ! misho    5297: int
        !          5298: main ()
        !          5299: {
1.1       misho    5300: 
1.1.1.5 ! misho    5301:   ;
        !          5302:   return 0;
        !          5303: }
        !          5304: _ACEOF
        !          5305: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5306: 
1.1.1.5 ! misho    5307:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5308: $as_echo "yes" >&6; }
1.1       misho    5309: 
                   5310: 
1.1.1.5 ! misho    5311: else
1.1       misho    5312: 
1.1.1.5 ! misho    5313:                        CFLAGS="$ac_c_flag_save"
        !          5314:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5315: $as_echo "no" >&6; }
        !          5316: 
        !          5317:           {
        !          5318:        ac_ext=c
        !          5319: ac_cpp='$CPP $CPPFLAGS'
        !          5320: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5321: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5322: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5323: 
        !          5324:        ac_c_flag_save="$CFLAGS"
        !          5325:        CFLAGS="$CFLAGS -O2"
        !          5326:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -O2" >&5
        !          5327: $as_echo_n "checking whether $CC supports -O2... " >&6; }
        !          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: 
        !          5341:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5342: $as_echo "yes" >&6; }
1.1       misho    5343: 
                   5344: 
                   5345: else
1.1.1.5 ! misho    5346: 
        !          5347:                        CFLAGS="$ac_c_flag_save"
        !          5348:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5349: $as_echo "no" >&6; }
        !          5350: 
        !          5351: 
1.1       misho    5352: fi
1.1.1.5 ! misho    5353: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5354:        ac_ext=c
        !          5355: ac_cpp='$CPP $CPPFLAGS'
        !          5356: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5357: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5358: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5359: 
        !          5360:        }
        !          5361: 
1.1       misho    5362: 
                   5363: fi
1.1.1.5 ! misho    5364: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5365:        ac_ext=c
        !          5366: ac_cpp='$CPP $CPPFLAGS'
        !          5367: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5368: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5369: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5370: 
1.1.1.5 ! misho    5371:        }
        !          5372:         {
        !          5373:        ac_ext=c
        !          5374: ac_cpp='$CPP $CPPFLAGS'
        !          5375: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5376: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5377: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5378: 
1.1.1.5 ! misho    5379:        ac_c_flag_save="$CFLAGS"
        !          5380:        CFLAGS="$CFLAGS -fpie"
        !          5381:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fpie" >&5
        !          5382: $as_echo_n "checking whether $CC supports -fpie... " >&6; }
        !          5383:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5384: /* end confdefs.h.  */
1.1       misho    5385: 
1.1.1.5 ! misho    5386: int
        !          5387: main ()
        !          5388: {
1.1       misho    5389: 
1.1.1.5 ! misho    5390:   ;
        !          5391:   return 0;
        !          5392: }
        !          5393: _ACEOF
        !          5394: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5395: 
1.1.1.5 ! misho    5396:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5397: $as_echo "yes" >&6; }
1.1       misho    5398: 
                   5399: 
1.1.1.5 ! misho    5400: else
1.1       misho    5401: 
1.1.1.5 ! misho    5402:                        CFLAGS="$ac_c_flag_save"
        !          5403:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5404: $as_echo "no" >&6; }
1.1       misho    5405: 
                   5406: 
1.1.1.5 ! misho    5407: fi
        !          5408: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5409:        ac_ext=c
        !          5410: ac_cpp='$CPP $CPPFLAGS'
        !          5411: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5412: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5413: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5414: 
1.1.1.5 ! misho    5415:        }
        !          5416:         {
        !          5417:        ac_ext=c
        !          5418: ac_cpp='$CPP $CPPFLAGS'
        !          5419: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5420: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5421: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5422: 
1.1.1.5 ! misho    5423:        ac_c_flag_save="$CFLAGS"
        !          5424:        CFLAGS="$CFLAGS -fno-omit-frame-pointer"
        !          5425:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
        !          5426: $as_echo_n "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
        !          5427:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5428: /* end confdefs.h.  */
1.1       misho    5429: 
1.1.1.5 ! misho    5430: int
        !          5431: main ()
        !          5432: {
1.1       misho    5433: 
1.1.1.5 ! misho    5434:   ;
        !          5435:   return 0;
        !          5436: }
        !          5437: _ACEOF
        !          5438: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5439: 
1.1.1.5 ! misho    5440:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5441: $as_echo "yes" >&6; }
1.1       misho    5442: 
                   5443: 
1.1.1.5 ! misho    5444: else
1.1       misho    5445: 
1.1.1.5 ! misho    5446:                        CFLAGS="$ac_c_flag_save"
        !          5447:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5448: $as_echo "no" >&6; }
1.1       misho    5449: 
                   5450: 
1.1.1.5 ! misho    5451: fi
        !          5452: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5453:        ac_ext=c
        !          5454: ac_cpp='$CPP $CPPFLAGS'
        !          5455: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5456: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5457: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5458: 
1.1.1.5 ! misho    5459:        }
        !          5460:         {
        !          5461:        ac_ext=c
        !          5462: ac_cpp='$CPP $CPPFLAGS'
        !          5463: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5464: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5465: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5466: 
1.1.1.5 ! misho    5467:        ac_c_flag_save="$CFLAGS"
        !          5468:        CFLAGS="$CFLAGS -Wall"
        !          5469:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wall" >&5
        !          5470: $as_echo_n "checking whether $CC supports -Wall... " >&6; }
        !          5471:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5472: /* end confdefs.h.  */
1.1       misho    5473: 
1.1.1.5 ! misho    5474: int
        !          5475: main ()
        !          5476: {
1.1       misho    5477: 
1.1.1.5 ! misho    5478:   ;
        !          5479:   return 0;
        !          5480: }
        !          5481: _ACEOF
        !          5482: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5483: 
1.1.1.5 ! misho    5484:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5485: $as_echo "yes" >&6; }
1.1       misho    5486: 
                   5487: 
1.1.1.5 ! misho    5488: else
1.1       misho    5489: 
1.1.1.5 ! misho    5490:                        CFLAGS="$ac_c_flag_save"
        !          5491:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5492: $as_echo "no" >&6; }
1.1       misho    5493: 
                   5494: 
1.1.1.5 ! misho    5495: fi
        !          5496: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5497:        ac_ext=c
        !          5498: ac_cpp='$CPP $CPPFLAGS'
        !          5499: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5500: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5501: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5502: 
1.1.1.5 ! misho    5503:        }
        !          5504:         {
        !          5505:        ac_ext=c
        !          5506: ac_cpp='$CPP $CPPFLAGS'
        !          5507: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5508: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5509: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5510: 
1.1.1.5 ! misho    5511:        ac_c_flag_save="$CFLAGS"
        !          5512:        CFLAGS="$CFLAGS -Wextra"
        !          5513:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wextra" >&5
        !          5514: $as_echo_n "checking whether $CC supports -Wextra... " >&6; }
        !          5515:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5516: /* end confdefs.h.  */
1.1       misho    5517: 
1.1.1.5 ! misho    5518: int
        !          5519: main ()
        !          5520: {
1.1       misho    5521: 
1.1.1.5 ! misho    5522:   ;
        !          5523:   return 0;
        !          5524: }
        !          5525: _ACEOF
        !          5526: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5527: 
1.1.1.5 ! misho    5528:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5529: $as_echo "yes" >&6; }
1.1       misho    5530: 
                   5531: 
                   5532: else
1.1.1.5 ! misho    5533: 
        !          5534:                        CFLAGS="$ac_c_flag_save"
        !          5535:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5536: $as_echo "no" >&6; }
                   5537: 
                   5538: 
1.1.1.5 ! misho    5539: fi
        !          5540: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5541:        ac_ext=c
        !          5542: ac_cpp='$CPP $CPPFLAGS'
        !          5543: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5544: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5545: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5546: 
1.1.1.5 ! misho    5547:        }
        !          5548:         {
        !          5549:        ac_ext=c
        !          5550: ac_cpp='$CPP $CPPFLAGS'
        !          5551: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5552: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5553: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5554: 
1.1.1.5 ! misho    5555:        ac_c_flag_save="$CFLAGS"
        !          5556:        CFLAGS="$CFLAGS -Wmissing-prototypes"
        !          5557:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-prototypes" >&5
        !          5558: $as_echo_n "checking whether $CC supports -Wmissing-prototypes... " >&6; }
        !          5559:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5560: /* end confdefs.h.  */
1.1       misho    5561: 
1.1.1.5 ! misho    5562: int
        !          5563: main ()
        !          5564: {
1.1       misho    5565: 
1.1.1.5 ! misho    5566:   ;
        !          5567:   return 0;
        !          5568: }
        !          5569: _ACEOF
        !          5570: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5571: 
1.1.1.5 ! misho    5572:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5573: $as_echo "yes" >&6; }
1.1       misho    5574: 
                   5575: 
                   5576: else
                   5577: 
1.1.1.5 ! misho    5578:                        CFLAGS="$ac_c_flag_save"
        !          5579:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5580: $as_echo "no" >&6; }
                   5581: 
                   5582: 
                   5583: fi
1.1.1.5 ! misho    5584: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5585:        ac_ext=c
        !          5586: ac_cpp='$CPP $CPPFLAGS'
        !          5587: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5588: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5589: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5590: 
        !          5591:        }
        !          5592:         {
        !          5593:        ac_ext=c
        !          5594: ac_cpp='$CPP $CPPFLAGS'
        !          5595: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5596: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5597: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5598: 
        !          5599:        ac_c_flag_save="$CFLAGS"
        !          5600:        CFLAGS="$CFLAGS -Wmissing-declarations"
        !          5601:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-declarations" >&5
        !          5602: $as_echo_n "checking whether $CC supports -Wmissing-declarations... " >&6; }
        !          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: if ac_fn_c_try_compile "$LINENO"; then :
        !          5615: 
        !          5616:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5617: $as_echo "yes" >&6; }
        !          5618: 
1.1       misho    5619: 
                   5620: else
1.1.1.5 ! misho    5621: 
        !          5622:                        CFLAGS="$ac_c_flag_save"
        !          5623:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5624: $as_echo "no" >&6; }
1.1.1.5 ! misho    5625: 
        !          5626: 
1.1       misho    5627: fi
1.1.1.5 ! misho    5628: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5629:        ac_ext=c
        !          5630: ac_cpp='$CPP $CPPFLAGS'
        !          5631: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5632: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5633: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5634: 
1.1.1.5 ! misho    5635:        }
        !          5636:         {
        !          5637:        ac_ext=c
        !          5638: ac_cpp='$CPP $CPPFLAGS'
        !          5639: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5640: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5641: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5642: 
1.1.1.5 ! misho    5643:        ac_c_flag_save="$CFLAGS"
        !          5644:        CFLAGS="$CFLAGS -Wpointer-arith"
        !          5645:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
        !          5646: $as_echo_n "checking whether $CC supports -Wpointer-arith... " >&6; }
        !          5647:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5648: /* end confdefs.h.  */
1.1       misho    5649: 
1.1.1.5 ! misho    5650: int
        !          5651: main ()
        !          5652: {
        !          5653: 
        !          5654:   ;
        !          5655:   return 0;
        !          5656: }
        !          5657: _ACEOF
        !          5658: if ac_fn_c_try_compile "$LINENO"; then :
        !          5659: 
        !          5660:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5661: $as_echo "yes" >&6; }
        !          5662: 
        !          5663: 
        !          5664: else
        !          5665: 
        !          5666:                        CFLAGS="$ac_c_flag_save"
        !          5667:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5668: $as_echo "no" >&6; }
1.1       misho    5669: 
                   5670: 
                   5671: fi
1.1.1.5 ! misho    5672: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5673:        ac_ext=c
        !          5674: ac_cpp='$CPP $CPPFLAGS'
        !          5675: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5676: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5677: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5678: 
1.1.1.5 ! misho    5679:        }
        !          5680:         {
        !          5681:        ac_ext=c
        !          5682: ac_cpp='$CPP $CPPFLAGS'
        !          5683: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5684: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5685: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5686: 
1.1.1.5 ! misho    5687:        ac_c_flag_save="$CFLAGS"
        !          5688:        CFLAGS="$CFLAGS -Wbad-function-cast"
        !          5689:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wbad-function-cast" >&5
        !          5690: $as_echo_n "checking whether $CC supports -Wbad-function-cast... " >&6; }
        !          5691:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5692: /* end confdefs.h.  */
1.1       misho    5693: 
1.1.1.5 ! misho    5694: int
        !          5695: main ()
        !          5696: {
1.1       misho    5697: 
1.1.1.5 ! misho    5698:   ;
        !          5699:   return 0;
        !          5700: }
        !          5701: _ACEOF
        !          5702: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5703: 
1.1.1.5 ! misho    5704:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5705: $as_echo "yes" >&6; }
1.1       misho    5706: 
                   5707: 
                   5708: else
                   5709: 
1.1.1.5 ! misho    5710:                        CFLAGS="$ac_c_flag_save"
        !          5711:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5712: $as_echo "no" >&6; }
1.1       misho    5713: 
                   5714: 
1.1.1.5 ! misho    5715: fi
        !          5716: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          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
1.1       misho    5722: 
1.1.1.5 ! misho    5723:        }
        !          5724:         {
        !          5725:        ac_ext=c
        !          5726: ac_cpp='$CPP $CPPFLAGS'
        !          5727: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5728: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5729: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5730: 
1.1.1.5 ! misho    5731:        ac_c_flag_save="$CFLAGS"
        !          5732:        CFLAGS="$CFLAGS -Wwrite-strings"
        !          5733:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
        !          5734: $as_echo_n "checking whether $CC supports -Wwrite-strings... " >&6; }
        !          5735:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5736: /* end confdefs.h.  */
1.1       misho    5737: 
1.1.1.5 ! misho    5738: int
        !          5739: main ()
        !          5740: {
1.1       misho    5741: 
1.1.1.5 ! misho    5742:   ;
        !          5743:   return 0;
        !          5744: }
        !          5745: _ACEOF
        !          5746: if ac_fn_c_try_compile "$LINENO"; then :
1.1.1.2   misho    5747: 
1.1.1.5 ! misho    5748:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5749: $as_echo "yes" >&6; }
1.1       misho    5750: 
                   5751: 
                   5752: else
1.1.1.5 ! misho    5753: 
        !          5754:                        CFLAGS="$ac_c_flag_save"
        !          5755:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5756: $as_echo "no" >&6; }
        !          5757: 
        !          5758: 
1.1       misho    5759: fi
1.1.1.5 ! misho    5760: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5761:        ac_ext=c
        !          5762: ac_cpp='$CPP $CPPFLAGS'
        !          5763: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5764: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5765: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5766: 
1.1.1.5 ! misho    5767:        }
        !          5768:         if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
        !          5769:           {
        !          5770:        ac_ext=c
        !          5771: ac_cpp='$CPP $CPPFLAGS'
        !          5772: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5773: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5774: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5775: 
1.1.1.5 ! misho    5776:        ac_c_flag_save="$CFLAGS"
        !          5777:        CFLAGS="$CFLAGS -Wcast-qual"
        !          5778:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wcast-qual" >&5
        !          5779: $as_echo_n "checking whether $CC supports -Wcast-qual... " >&6; }
        !          5780:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5781: /* end confdefs.h.  */
1.1       misho    5782: 
1.1.1.5 ! misho    5783: int
        !          5784: main ()
        !          5785: {
1.1       misho    5786: 
1.1.1.5 ! misho    5787:   ;
        !          5788:   return 0;
        !          5789: }
        !          5790: _ACEOF
        !          5791: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5792: 
1.1.1.5 ! misho    5793:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5794: $as_echo "yes" >&6; }
1.1       misho    5795: 
                   5796: 
1.1.1.5 ! misho    5797: else
1.1       misho    5798: 
1.1.1.5 ! misho    5799:                        CFLAGS="$ac_c_flag_save"
        !          5800:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5801: $as_echo "no" >&6; }
1.1       misho    5802: 
1.1.1.5 ! misho    5803: 
        !          5804: fi
        !          5805: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5806:        ac_ext=c
        !          5807: ac_cpp='$CPP $CPPFLAGS'
        !          5808: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5809: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5810: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5811: 
        !          5812:        }
        !          5813:           {
        !          5814:        ac_ext=c
        !          5815: ac_cpp='$CPP $CPPFLAGS'
        !          5816: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5817: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5818: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5819: 
        !          5820:        ac_c_flag_save="$CFLAGS"
        !          5821:        CFLAGS="$CFLAGS -Wstrict-prototypes"
        !          5822:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
        !          5823: $as_echo_n "checking whether $CC supports -Wstrict-prototypes... " >&6; }
        !          5824:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5825: /* end confdefs.h.  */
        !          5826: 
        !          5827: int
        !          5828: main ()
        !          5829: {
        !          5830: 
        !          5831:   ;
        !          5832:   return 0;
        !          5833: }
        !          5834: _ACEOF
        !          5835: if ac_fn_c_try_compile "$LINENO"; then :
        !          5836: 
        !          5837:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5838: $as_echo "yes" >&6; }
1.1       misho    5839: 
                   5840: 
                   5841: else
1.1.1.5 ! misho    5842: 
        !          5843:                        CFLAGS="$ac_c_flag_save"
        !          5844:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5845: $as_echo "no" >&6; }
        !          5846: 
        !          5847: 
1.1       misho    5848: fi
1.1.1.5 ! misho    5849: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5850:        ac_ext=c
        !          5851: ac_cpp='$CPP $CPPFLAGS'
        !          5852: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5853: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5854: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5855: 
1.1.1.5 ! misho    5856:        }
        !          5857:           {
        !          5858:        ac_ext=c
        !          5859: ac_cpp='$CPP $CPPFLAGS'
        !          5860: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5861: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5862: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5863: 
1.1.1.5 ! misho    5864:        ac_c_flag_save="$CFLAGS"
        !          5865:        CFLAGS="$CFLAGS -Wmissing-noreturn"
        !          5866:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-noreturn" >&5
        !          5867: $as_echo_n "checking whether $CC supports -Wmissing-noreturn... " >&6; }
        !          5868:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5869: /* end confdefs.h.  */
1.1       misho    5870: 
1.1.1.5 ! misho    5871: int
        !          5872: main ()
        !          5873: {
1.1       misho    5874: 
1.1.1.5 ! misho    5875:   ;
        !          5876:   return 0;
        !          5877: }
        !          5878: _ACEOF
        !          5879: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5880: 
1.1.1.5 ! misho    5881:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5882: $as_echo "yes" >&6; }
1.1       misho    5883: 
                   5884: 
1.1.1.5 ! misho    5885: else
1.1       misho    5886: 
1.1.1.5 ! misho    5887:                        CFLAGS="$ac_c_flag_save"
        !          5888:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5889: $as_echo "no" >&6; }
1.1       misho    5890: 
                   5891: 
1.1.1.5 ! misho    5892: fi
        !          5893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5894:        ac_ext=c
        !          5895: ac_cpp='$CPP $CPPFLAGS'
        !          5896: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5897: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5898: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5899: 
1.1.1.5 ! misho    5900:        }
        !          5901:           {
        !          5902:        ac_ext=c
        !          5903: ac_cpp='$CPP $CPPFLAGS'
        !          5904: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5905: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5906: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5907: 
1.1.1.5 ! misho    5908:        ac_c_flag_save="$CFLAGS"
        !          5909:        CFLAGS="$CFLAGS -Wmissing-format-attribute"
        !          5910:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmissing-format-attribute" >&5
        !          5911: $as_echo_n "checking whether $CC supports -Wmissing-format-attribute... " >&6; }
        !          5912:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5913: /* end confdefs.h.  */
1.1       misho    5914: 
1.1.1.5 ! misho    5915: int
        !          5916: main ()
        !          5917: {
1.1       misho    5918: 
1.1.1.5 ! misho    5919:   ;
        !          5920:   return 0;
        !          5921: }
        !          5922: _ACEOF
        !          5923: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5924: 
1.1.1.5 ! misho    5925:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5926: $as_echo "yes" >&6; }
1.1       misho    5927: 
                   5928: 
1.1.1.5 ! misho    5929: else
1.1       misho    5930: 
1.1.1.5 ! misho    5931:                        CFLAGS="$ac_c_flag_save"
        !          5932:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5933: $as_echo "no" >&6; }
1.1       misho    5934: 
                   5935: 
                   5936: fi
1.1.1.5 ! misho    5937: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5938:        ac_ext=c
        !          5939: ac_cpp='$CPP $CPPFLAGS'
        !          5940: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5941: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5942: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5943: 
1.1.1.5 ! misho    5944:        }
        !          5945:           {
        !          5946:        ac_ext=c
        !          5947: ac_cpp='$CPP $CPPFLAGS'
        !          5948: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5949: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5950: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          5951: 
        !          5952:        ac_c_flag_save="$CFLAGS"
        !          5953:        CFLAGS="$CFLAGS -Wunreachable-code"
        !          5954:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunreachable-code" >&5
        !          5955: $as_echo_n "checking whether $CC supports -Wunreachable-code... " >&6; }
        !          5956:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5957: /* end confdefs.h.  */
1.1       misho    5958: 
1.1.1.5 ! misho    5959: int
        !          5960: main ()
        !          5961: {
1.1       misho    5962: 
1.1.1.5 ! misho    5963:   ;
        !          5964:   return 0;
        !          5965: }
        !          5966: _ACEOF
        !          5967: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    5968: 
1.1.1.5 ! misho    5969:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          5970: $as_echo "yes" >&6; }
1.1       misho    5971: 
                   5972: 
                   5973: else
1.1.1.5 ! misho    5974: 
        !          5975:                        CFLAGS="$ac_c_flag_save"
        !          5976:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5977: $as_echo "no" >&6; }
1.1       misho    5978: 
                   5979: 
1.1.1.5 ! misho    5980: fi
        !          5981: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5982:        ac_ext=c
        !          5983: ac_cpp='$CPP $CPPFLAGS'
        !          5984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5986: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5987: 
1.1.1.5 ! misho    5988:        }
        !          5989:           {
        !          5990:        ac_ext=c
        !          5991: ac_cpp='$CPP $CPPFLAGS'
        !          5992: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          5993: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          5994: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    5995: 
1.1.1.5 ! misho    5996:        ac_c_flag_save="$CFLAGS"
        !          5997:        CFLAGS="$CFLAGS -Wpacked"
        !          5998:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked" >&5
        !          5999: $as_echo_n "checking whether $CC supports -Wpacked... " >&6; }
        !          6000:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6001: /* end confdefs.h.  */
1.1       misho    6002: 
1.1.1.5 ! misho    6003: int
        !          6004: main ()
        !          6005: {
1.1       misho    6006: 
1.1.1.5 ! misho    6007:   ;
        !          6008:   return 0;
        !          6009: }
        !          6010: _ACEOF
        !          6011: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6012: 
1.1.1.5 ! misho    6013:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6014: $as_echo "yes" >&6; }
1.1       misho    6015: 
                   6016: 
                   6017: else
                   6018: 
1.1.1.5 ! misho    6019:                        CFLAGS="$ac_c_flag_save"
        !          6020:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6021: $as_echo "no" >&6; }
                   6022: 
                   6023: 
                   6024: fi
1.1.1.5 ! misho    6025: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6026:        ac_ext=c
        !          6027: ac_cpp='$CPP $CPPFLAGS'
        !          6028: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6029: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6030: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6031: 
1.1.1.5 ! misho    6032:        }
        !          6033:           {
        !          6034:        ac_ext=c
        !          6035: ac_cpp='$CPP $CPPFLAGS'
        !          6036: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6037: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6038: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6039: 
1.1.1.5 ! misho    6040:        ac_c_flag_save="$CFLAGS"
        !          6041:        CFLAGS="$CFLAGS -Wpadded"
        !          6042:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpadded" >&5
        !          6043: $as_echo_n "checking whether $CC supports -Wpadded... " >&6; }
        !          6044:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6045: /* end confdefs.h.  */
1.1       misho    6046: 
1.1.1.5 ! misho    6047: int
        !          6048: main ()
        !          6049: {
1.1       misho    6050: 
1.1.1.5 ! misho    6051:   ;
        !          6052:   return 0;
        !          6053: }
        !          6054: _ACEOF
        !          6055: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6056: 
1.1.1.5 ! misho    6057:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6058: $as_echo "yes" >&6; }
1.1       misho    6059: 
                   6060: 
1.1.1.5 ! misho    6061: else
1.1       misho    6062: 
1.1.1.5 ! misho    6063:                        CFLAGS="$ac_c_flag_save"
        !          6064:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6065: $as_echo "no" >&6; }
1.1       misho    6066: 
                   6067: 
1.1.1.5 ! misho    6068: fi
        !          6069: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6070:        ac_ext=c
        !          6071: ac_cpp='$CPP $CPPFLAGS'
        !          6072: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6073: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6074: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6075: 
1.1.1.5 ! misho    6076:        }
        !          6077:         else
        !          6078:           {
        !          6079:        ac_ext=c
        !          6080: ac_cpp='$CPP $CPPFLAGS'
        !          6081: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6082: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6083: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6084: 
1.1.1.5 ! misho    6085:        ac_c_flag_save="$CFLAGS"
        !          6086:        CFLAGS="$CFLAGS -Wno-unused-result"
        !          6087:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-result" >&5
        !          6088: $as_echo_n "checking whether $CC supports -Wno-unused-result... " >&6; }
        !          6089:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6090: /* end confdefs.h.  */
1.1       misho    6091: 
1.1.1.5 ! misho    6092: int
        !          6093: main ()
        !          6094: {
1.1       misho    6095: 
1.1.1.5 ! misho    6096:   ;
        !          6097:   return 0;
        !          6098: }
        !          6099: _ACEOF
        !          6100: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6101: 
1.1.1.5 ! misho    6102:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6103: $as_echo "yes" >&6; }
1.1       misho    6104: 
                   6105: 
1.1.1.5 ! misho    6106: else
1.1       misho    6107: 
1.1.1.5 ! misho    6108:                        CFLAGS="$ac_c_flag_save"
        !          6109:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6110: $as_echo "no" >&6; }
1.1       misho    6111: 
                   6112: 
1.1.1.5 ! misho    6113: fi
        !          6114: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6115:        ac_ext=c
        !          6116: ac_cpp='$CPP $CPPFLAGS'
        !          6117: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6118: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6119: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6120: 
1.1.1.5 ! misho    6121:        }
        !          6122:         fi
        !          6123:         {
        !          6124:        ac_ext=c
        !          6125: ac_cpp='$CPP $CPPFLAGS'
        !          6126: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6127: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6128: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6129: 
1.1.1.5 ! misho    6130:        ac_c_flag_save="$CFLAGS"
        !          6131:        CFLAGS="$CFLAGS -Wno-unused-parameter"
        !          6132:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-unused-parameter" >&5
        !          6133: $as_echo_n "checking whether $CC supports -Wno-unused-parameter... " >&6; }
        !          6134:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6135: /* end confdefs.h.  */
1.1       misho    6136: 
1.1.1.5 ! misho    6137: int
        !          6138: main ()
        !          6139: {
1.1       misho    6140: 
1.1.1.5 ! misho    6141:   ;
        !          6142:   return 0;
        !          6143: }
        !          6144: _ACEOF
        !          6145: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6146: 
1.1.1.5 ! misho    6147:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6148: $as_echo "yes" >&6; }
1.1       misho    6149: 
                   6150: 
1.1.1.5 ! misho    6151: else
1.1       misho    6152: 
1.1.1.5 ! misho    6153:                        CFLAGS="$ac_c_flag_save"
        !          6154:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6155: $as_echo "no" >&6; }
1.1       misho    6156: 
                   6157: 
1.1.1.5 ! misho    6158: fi
        !          6159: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6160:        ac_ext=c
        !          6161: ac_cpp='$CPP $CPPFLAGS'
        !          6162: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6163: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6164: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6165: 
1.1.1.5 ! misho    6166:        }
        !          6167:         {
        !          6168:        ac_ext=c
        !          6169: ac_cpp='$CPP $CPPFLAGS'
        !          6170: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6171: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6172: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6173: 
1.1.1.5 ! misho    6174:        ac_c_flag_save="$CFLAGS"
        !          6175:        CFLAGS="$CFLAGS -Wno-missing-field-initializers"
        !          6176:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-missing-field-initializers" >&5
        !          6177: $as_echo_n "checking whether $CC supports -Wno-missing-field-initializers... " >&6; }
        !          6178:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6179: /* end confdefs.h.  */
1.1       misho    6180: 
1.1.1.5 ! misho    6181: int
        !          6182: main ()
        !          6183: {
1.1       misho    6184: 
1.1.1.5 ! misho    6185:   ;
        !          6186:   return 0;
        !          6187: }
        !          6188: _ACEOF
        !          6189: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6190: 
1.1.1.5 ! misho    6191:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6192: $as_echo "yes" >&6; }
1.1       misho    6193: 
                   6194: 
1.1.1.5 ! misho    6195: else
1.1       misho    6196: 
1.1.1.5 ! misho    6197:                        CFLAGS="$ac_c_flag_save"
        !          6198:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6199: $as_echo "no" >&6; }
1.1       misho    6200: 
                   6201: 
1.1.1.5 ! misho    6202: fi
        !          6203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6204:        ac_ext=c
        !          6205: ac_cpp='$CPP $CPPFLAGS'
        !          6206: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6207: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6208: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6209: 
1.1.1.5 ! misho    6210:        }
        !          6211:         # ICC emits a broken warning for const char *x = a ? "b" : "c";
        !          6212:         # for some reason the string consts get 'promoted' to char *,
        !          6213:         # triggering a const to non-const conversion warning.
        !          6214:         {
        !          6215:        ac_ext=c
        !          6216: ac_cpp='$CPP $CPPFLAGS'
        !          6217: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6218: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6219: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6220: 
1.1.1.5 ! misho    6221:        ac_c_flag_save="$CFLAGS"
        !          6222:        CFLAGS="$CFLAGS -diag-disable 3179"
        !          6223:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -diag-disable 3179" >&5
        !          6224: $as_echo_n "checking whether $CC supports -diag-disable 3179... " >&6; }
        !          6225:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6226: /* end confdefs.h.  */
1.1       misho    6227: 
1.1.1.5 ! misho    6228: int
        !          6229: main ()
        !          6230: {
1.1       misho    6231: 
1.1.1.5 ! misho    6232:   ;
        !          6233:   return 0;
        !          6234: }
        !          6235: _ACEOF
        !          6236: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    6237: 
1.1.1.5 ! misho    6238:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6239: $as_echo "yes" >&6; }
1.1       misho    6240: 
                   6241: 
                   6242: else
                   6243: 
1.1.1.5 ! misho    6244:                        CFLAGS="$ac_c_flag_save"
        !          6245:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6246: $as_echo "no" >&6; }
                   6247: 
                   6248: 
                   6249: fi
1.1.1.5 ! misho    6250: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          6251:        ac_ext=c
        !          6252: ac_cpp='$CPP $CPPFLAGS'
        !          6253: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6254: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6255: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misho    6256: 
1.1.1.5 ! misho    6257:        }
        !          6258:         ;;
        !          6259:   esac
1.1       misho    6260: else
1.1.1.5 ! misho    6261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS supplied by user" >&5
        !          6262: $as_echo "CFLAGS supplied by user" >&6; }
1.1       misho    6263: fi
                   6264: 
1.1.1.5 ! misho    6265: if test x"${enable_werror}" = x"yes" ; then
        !          6266:   WERROR="-Werror"
1.1       misho    6267: fi
                   6268: 
                   6269: 
                   6270: 
1.1.1.5 ! misho    6271: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
        !          6272: $as_echo_n "checking whether ln -s works... " >&6; }
        !          6273: LN_S=$as_ln_s
        !          6274: if test "$LN_S" = "ln -s"; then
        !          6275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6276: $as_echo "yes" >&6; }
        !          6277: else
        !          6278:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
        !          6279: $as_echo "no, using $LN_S" >&6; }
        !          6280: fi
1.1       misho    6281: 
1.1.1.5 ! misho    6282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
        !          6283: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
        !          6284: set x ${MAKE-make}
        !          6285: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
        !          6286: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1       misho    6287:   $as_echo_n "(cached) " >&6
                   6288: else
1.1.1.5 ! misho    6289:   cat >conftest.make <<\_ACEOF
        !          6290: SHELL = /bin/sh
        !          6291: all:
        !          6292:        @echo '@@@%%%=$(MAKE)=@@@%%%'
        !          6293: _ACEOF
        !          6294: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
        !          6295: case `${MAKE-make} -f conftest.make 2>/dev/null` in
        !          6296:   *@@@%%%=?*=@@@%%%*)
        !          6297:     eval ac_cv_prog_make_${ac_make}_set=yes;;
1.1       misho    6298:   *)
1.1.1.5 ! misho    6299:     eval ac_cv_prog_make_${ac_make}_set=no;;
1.1       misho    6300: esac
1.1.1.5 ! misho    6301: rm -f conftest.make
        !          6302: fi
        !          6303: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
        !          6304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          6305: $as_echo "yes" >&6; }
        !          6306:   SET_MAKE=
        !          6307: else
        !          6308:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6309: $as_echo "no" >&6; }
        !          6310:   SET_MAKE="MAKE=${MAKE-make}"
1.1       misho    6311: fi
                   6312: 
                   6313: if test -n "$ac_tool_prefix"; then
1.1.1.5 ! misho    6314:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
        !          6315: set dummy ${ac_tool_prefix}ar; ac_word=$2
1.1       misho    6316: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6317: $as_echo_n "checking for $ac_word... " >&6; }
                   6318: if ${ac_cv_prog_AR+:} false; then :
                   6319:   $as_echo_n "(cached) " >&6
                   6320: else
                   6321:   if test -n "$AR"; then
                   6322:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6323: else
                   6324: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6325: for as_dir in $PATH
                   6326: do
                   6327:   IFS=$as_save_IFS
                   6328:   test -z "$as_dir" && as_dir=.
                   6329:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    6330:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    6331:     ac_cv_prog_AR="${ac_tool_prefix}ar"
1.1       misho    6332:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6333:     break 2
                   6334:   fi
                   6335: done
                   6336:   done
                   6337: IFS=$as_save_IFS
                   6338: 
                   6339: fi
                   6340: fi
                   6341: AR=$ac_cv_prog_AR
                   6342: if test -n "$AR"; then
                   6343:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6344: $as_echo "$AR" >&6; }
                   6345: else
                   6346:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6347: $as_echo "no" >&6; }
                   6348: fi
                   6349: 
                   6350: 
                   6351: fi
1.1.1.5 ! misho    6352: if test -z "$ac_cv_prog_AR"; then
1.1       misho    6353:   ac_ct_AR=$AR
1.1.1.5 ! misho    6354:   # Extract the first word of "ar", so it can be a program name with args.
        !          6355: set dummy ar; ac_word=$2
1.1       misho    6356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6357: $as_echo_n "checking for $ac_word... " >&6; }
                   6358: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6359:   $as_echo_n "(cached) " >&6
                   6360: else
                   6361:   if test -n "$ac_ct_AR"; then
                   6362:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6363: else
                   6364: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6365: for as_dir in $PATH
                   6366: do
                   6367:   IFS=$as_save_IFS
                   6368:   test -z "$as_dir" && as_dir=.
                   6369:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    6370:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    6371:     ac_cv_prog_ac_ct_AR="ar"
1.1       misho    6372:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6373:     break 2
                   6374:   fi
                   6375: done
                   6376:   done
                   6377: IFS=$as_save_IFS
                   6378: 
                   6379: fi
                   6380: fi
                   6381: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6382: if test -n "$ac_ct_AR"; then
                   6383:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6384: $as_echo "$ac_ct_AR" >&6; }
                   6385: else
                   6386:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6387: $as_echo "no" >&6; }
                   6388: fi
                   6389: 
                   6390:   if test "x$ac_ct_AR" = x; then
1.1.1.5 ! misho    6391:     AR=""
1.1       misho    6392:   else
                   6393:     case $cross_compiling:$ac_tool_warned in
                   6394: yes:)
                   6395: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6396: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6397: ac_tool_warned=yes ;;
                   6398: esac
                   6399:     AR=$ac_ct_AR
                   6400:   fi
1.1.1.5 ! misho    6401: else
        !          6402:   AR="$ac_cv_prog_AR"
1.1       misho    6403: fi
                   6404: 
                   6405: 
1.1.1.5 ! misho    6406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE-make} is GNU make" >&5
        !          6407: $as_echo_n "checking if ${MAKE-make} is GNU make... " >&6; }
        !          6408: if ${quagga_cv_gnu_make+:} false; then :
        !          6409:   $as_echo_n "(cached) " >&6
        !          6410: else
        !          6411:   quagga_cv_gnu_make=no
        !          6412:         if ${MAKE-make} --version 2>/dev/null | \
        !          6413:                grep '^GNU Make ' >/dev/null ; then
        !          6414:                quagga_cv_gnu_make=yes;
        !          6415:         fi
1.1       misho    6416: 
                   6417: 
1.1.1.5 ! misho    6418: fi
        !          6419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_gnu_make" >&5
        !          6420: $as_echo "$quagga_cv_gnu_make" >&6; }
1.1       misho    6421: 
                   6422: 
                   6423: 
1.1.1.5 ! misho    6424: case `pwd` in
        !          6425:   *\ * | *\    *)
        !          6426:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
        !          6427: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
        !          6428: esac
1.1       misho    6429: 
                   6430: 
                   6431: 
1.1.1.5 ! misho    6432: macro_version='2.4.2'
        !          6433: macro_revision='1.3337'
1.1       misho    6434: 
                   6435: 
                   6436: 
                   6437: 
                   6438: 
                   6439: 
                   6440: 
                   6441: 
                   6442: 
                   6443: 
                   6444: 
                   6445: 
                   6446: 
1.1.1.5 ! misho    6447: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misho    6448: 
1.1.1.5 ! misho    6449: # Backslashify metacharacters that are still active within
        !          6450: # double-quoted strings.
        !          6451: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
1.1       misho    6452: 
1.1.1.5 ! misho    6453: # Same as above, but do not quote variable references.
        !          6454: double_quote_subst='s/\(["`\\]\)/\\\1/g'
1.1       misho    6455: 
1.1.1.5 ! misho    6456: # Sed substitution to delay expansion of an escaped shell variable in a
        !          6457: # double_quote_subst'ed string.
        !          6458: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
1.1       misho    6459: 
1.1.1.5 ! misho    6460: # Sed substitution to delay expansion of an escaped single quote.
        !          6461: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
1.1       misho    6462: 
1.1.1.5 ! misho    6463: # Sed substitution to avoid accidental globbing in evaled expressions
        !          6464: no_glob_subst='s/\*/\\\*/g'
        !          6465: 
        !          6466: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          6467: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          6468: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          6469: 
        !          6470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          6471: $as_echo_n "checking how to print strings... " >&6; }
        !          6472: # Test print first, because it will be a builtin if present.
        !          6473: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          6474:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          6475:   ECHO='print -r --'
        !          6476: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          6477:   ECHO='printf %s\n'
1.1       misho    6478: else
1.1.1.5 ! misho    6479:   # Use this function as a fallback that always works.
        !          6480:   func_fallback_echo ()
        !          6481:   {
        !          6482:     eval 'cat <<_LTECHO_EOF
        !          6483: $1
        !          6484: _LTECHO_EOF'
        !          6485:   }
        !          6486:   ECHO='func_fallback_echo'
1.1       misho    6487: fi
                   6488: 
1.1.1.5 ! misho    6489: # func_echo_all arg...
        !          6490: # Invoke $ECHO with all args, space-separated.
        !          6491: func_echo_all ()
        !          6492: {
        !          6493:     $ECHO ""
        !          6494: }
        !          6495: 
        !          6496: case "$ECHO" in
        !          6497:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          6498: $as_echo "printf" >&6; } ;;
        !          6499:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          6500: $as_echo "print -r" >&6; } ;;
        !          6501:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          6502: $as_echo "cat" >&6; } ;;
1.1       misho    6503: esac
                   6504: 
                   6505: 
                   6506: 
                   6507: 
                   6508: 
                   6509: 
                   6510: 
1.1.1.5 ! misho    6511: 
        !          6512: 
        !          6513: 
        !          6514: 
        !          6515: 
        !          6516: 
        !          6517: 
        !          6518: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
        !          6519: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
        !          6520: if ${ac_cv_path_SED+:} false; then :
1.1       misho    6521:   $as_echo_n "(cached) " >&6
                   6522: else
1.1.1.5 ! misho    6523:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
        !          6524:      for ac_i in 1 2 3 4 5 6 7; do
        !          6525:        ac_script="$ac_script$as_nl$ac_script"
        !          6526:      done
        !          6527:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
        !          6528:      { ac_script=; unset ac_script;}
        !          6529:      if test -z "$SED"; then
        !          6530:   ac_path_SED_found=false
        !          6531:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6532:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1.1       misho    6533: for as_dir in $PATH
                   6534: do
                   6535:   IFS=$as_save_IFS
                   6536:   test -z "$as_dir" && as_dir=.
1.1.1.5 ! misho    6537:     for ac_prog in sed gsed; do
1.1       misho    6538:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.5 ! misho    6539:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
        !          6540:       as_fn_executable_p "$ac_path_SED" || continue
        !          6541: # Check for GNU ac_path_SED and select it if it is found.
        !          6542:   # Check for GNU $ac_path_SED
        !          6543: case `"$ac_path_SED" --version 2>&1` in
        !          6544: *GNU*)
        !          6545:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
        !          6546: *)
        !          6547:   ac_count=0
        !          6548:   $as_echo_n 0123456789 >"conftest.in"
        !          6549:   while :
        !          6550:   do
        !          6551:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          6552:     mv "conftest.tmp" "conftest.in"
        !          6553:     cp "conftest.in" "conftest.nl"
        !          6554:     $as_echo '' >> "conftest.nl"
        !          6555:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          6556:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          6557:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          6558:     if test $ac_count -gt ${ac_path_SED_max-0}; then
        !          6559:       # Best one so far, save it but keep looking for a better one
        !          6560:       ac_cv_path_SED="$ac_path_SED"
        !          6561:       ac_path_SED_max=$ac_count
        !          6562:     fi
        !          6563:     # 10*(2^10) chars as input seems more than enough
        !          6564:     test $ac_count -gt 10 && break
1.1       misho    6565:   done
1.1.1.5 ! misho    6566:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          6567: esac
1.1       misho    6568: 
1.1.1.5 ! misho    6569:       $ac_path_SED_found && break 3
        !          6570:     done
        !          6571:   done
        !          6572:   done
        !          6573: IFS=$as_save_IFS
        !          6574:   if test -z "$ac_cv_path_SED"; then
        !          6575:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
        !          6576:   fi
1.1       misho    6577: else
1.1.1.5 ! misho    6578:   ac_cv_path_SED=$SED
1.1       misho    6579: fi
                   6580: 
                   6581: fi
1.1.1.5 ! misho    6582: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
        !          6583: $as_echo "$ac_cv_path_SED" >&6; }
        !          6584:  SED="$ac_cv_path_SED"
        !          6585:   rm -f conftest.sed
1.1       misho    6586: 
1.1.1.5 ! misho    6587: test -z "$SED" && SED=sed
        !          6588: Xsed="$SED -e 1s/^X//"
1.1       misho    6589: 
                   6590: 
                   6591: 
                   6592: 
                   6593: 
                   6594: 
                   6595: 
                   6596: 
                   6597: 
                   6598: 
                   6599: 
1.1.1.5 ! misho    6600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
        !          6601: $as_echo_n "checking for fgrep... " >&6; }
        !          6602: if ${ac_cv_path_FGREP+:} false; then :
        !          6603:   $as_echo_n "(cached) " >&6
        !          6604: else
        !          6605:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
        !          6606:    then ac_cv_path_FGREP="$GREP -F"
        !          6607:    else
        !          6608:      if test -z "$FGREP"; then
        !          6609:   ac_path_FGREP_found=false
        !          6610:   # Loop through the user's path and test for each of PROGNAME-LIST
        !          6611:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6612: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
        !          6613: do
        !          6614:   IFS=$as_save_IFS
        !          6615:   test -z "$as_dir" && as_dir=.
        !          6616:     for ac_prog in fgrep; do
        !          6617:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6618:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
        !          6619:       as_fn_executable_p "$ac_path_FGREP" || continue
        !          6620: # Check for GNU ac_path_FGREP and select it if it is found.
        !          6621:   # Check for GNU $ac_path_FGREP
        !          6622: case `"$ac_path_FGREP" --version 2>&1` in
        !          6623: *GNU*)
        !          6624:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
        !          6625: *)
        !          6626:   ac_count=0
        !          6627:   $as_echo_n 0123456789 >"conftest.in"
        !          6628:   while :
        !          6629:   do
        !          6630:     cat "conftest.in" "conftest.in" >"conftest.tmp"
        !          6631:     mv "conftest.tmp" "conftest.in"
        !          6632:     cp "conftest.in" "conftest.nl"
        !          6633:     $as_echo 'FGREP' >> "conftest.nl"
        !          6634:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
        !          6635:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
        !          6636:     as_fn_arith $ac_count + 1 && ac_count=$as_val
        !          6637:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
        !          6638:       # Best one so far, save it but keep looking for a better one
        !          6639:       ac_cv_path_FGREP="$ac_path_FGREP"
        !          6640:       ac_path_FGREP_max=$ac_count
        !          6641:     fi
        !          6642:     # 10*(2^10) chars as input seems more than enough
        !          6643:     test $ac_count -gt 10 && break
        !          6644:   done
        !          6645:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
        !          6646: esac
1.1       misho    6647: 
1.1.1.5 ! misho    6648:       $ac_path_FGREP_found && break 3
        !          6649:     done
        !          6650:   done
        !          6651:   done
        !          6652: IFS=$as_save_IFS
        !          6653:   if test -z "$ac_cv_path_FGREP"; then
        !          6654:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
        !          6655:   fi
        !          6656: else
        !          6657:   ac_cv_path_FGREP=$FGREP
        !          6658: fi
1.1       misho    6659: 
1.1.1.5 ! misho    6660:    fi
        !          6661: fi
        !          6662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
        !          6663: $as_echo "$ac_cv_path_FGREP" >&6; }
        !          6664:  FGREP="$ac_cv_path_FGREP"
1.1       misho    6665: 
                   6666: 
1.1.1.5 ! misho    6667: test -z "$GREP" && GREP=grep
1.1       misho    6668: 
                   6669: 
                   6670: 
                   6671: 
                   6672: 
                   6673: 
                   6674: 
                   6675: 
                   6676: 
                   6677: 
                   6678: 
                   6679: 
                   6680: 
                   6681: 
                   6682: 
                   6683: 
                   6684: 
                   6685: 
                   6686: 
1.1.1.5 ! misho    6687: # Check whether --with-gnu-ld was given.
        !          6688: if test "${with_gnu_ld+set}" = set; then :
        !          6689:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
        !          6690: else
        !          6691:   with_gnu_ld=no
        !          6692: fi
1.1       misho    6693: 
1.1.1.5 ! misho    6694: ac_prog=ld
        !          6695: if test "$GCC" = yes; then
        !          6696:   # Check if gcc -print-prog-name=ld gives a path.
        !          6697:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
        !          6698: $as_echo_n "checking for ld used by $CC... " >&6; }
        !          6699:   case $host in
        !          6700:   *-*-mingw*)
        !          6701:     # gcc leaves a trailing carriage return which upsets mingw
        !          6702:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
        !          6703:   *)
        !          6704:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
        !          6705:   esac
        !          6706:   case $ac_prog in
        !          6707:     # Accept absolute paths.
        !          6708:     [\\/]* | ?:[\\/]*)
        !          6709:       re_direlt='/[^/][^/]*/\.\./'
        !          6710:       # Canonicalize the pathname of ld
        !          6711:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
        !          6712:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
        !          6713:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
        !          6714:       done
        !          6715:       test -z "$LD" && LD="$ac_prog"
        !          6716:       ;;
        !          6717:   "")
        !          6718:     # If it fails, then pretend we aren't using GCC.
        !          6719:     ac_prog=ld
        !          6720:     ;;
        !          6721:   *)
        !          6722:     # If it is relative, then search for the first ld in PATH.
        !          6723:     with_gnu_ld=unknown
        !          6724:     ;;
        !          6725:   esac
        !          6726: elif test "$with_gnu_ld" = yes; then
        !          6727:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
        !          6728: $as_echo_n "checking for GNU ld... " >&6; }
        !          6729: else
        !          6730:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
        !          6731: $as_echo_n "checking for non-GNU ld... " >&6; }
        !          6732: fi
        !          6733: if ${lt_cv_path_LD+:} false; then :
        !          6734:   $as_echo_n "(cached) " >&6
        !          6735: else
        !          6736:   if test -z "$LD"; then
        !          6737:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
        !          6738:   for ac_dir in $PATH; do
        !          6739:     IFS="$lt_save_ifs"
        !          6740:     test -z "$ac_dir" && ac_dir=.
        !          6741:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
        !          6742:       lt_cv_path_LD="$ac_dir/$ac_prog"
        !          6743:       # Check to see if the program is GNU ld.  I'd rather use --version,
        !          6744:       # but apparently some variants of GNU ld only accept -v.
        !          6745:       # Break only if it was the GNU/non-GNU ld that we prefer.
        !          6746:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
        !          6747:       *GNU* | *'with BFD'*)
        !          6748:        test "$with_gnu_ld" != no && break
        !          6749:        ;;
        !          6750:       *)
        !          6751:        test "$with_gnu_ld" != yes && break
        !          6752:        ;;
        !          6753:       esac
        !          6754:     fi
        !          6755:   done
        !          6756:   IFS="$lt_save_ifs"
        !          6757: else
        !          6758:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
        !          6759: fi
        !          6760: fi
1.1       misho    6761: 
1.1.1.5 ! misho    6762: LD="$lt_cv_path_LD"
        !          6763: if test -n "$LD"; then
        !          6764:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
        !          6765: $as_echo "$LD" >&6; }
        !          6766: else
        !          6767:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6768: $as_echo "no" >&6; }
        !          6769: fi
        !          6770: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          6771: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
        !          6772: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
        !          6773: if ${lt_cv_prog_gnu_ld+:} false; then :
        !          6774:   $as_echo_n "(cached) " >&6
        !          6775: else
        !          6776:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
        !          6777: case `$LD -v 2>&1 </dev/null` in
        !          6778: *GNU* | *'with BFD'*)
        !          6779:   lt_cv_prog_gnu_ld=yes
        !          6780:   ;;
        !          6781: *)
        !          6782:   lt_cv_prog_gnu_ld=no
        !          6783:   ;;
        !          6784: esac
        !          6785: fi
        !          6786: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
        !          6787: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
        !          6788: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       misho    6789: 
                   6790: 
                   6791: 
                   6792: 
                   6793: 
                   6794: 
                   6795: 
                   6796: 
                   6797: 
1.1.1.5 ! misho    6798: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
        !          6799: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
        !          6800: if ${lt_cv_path_NM+:} false; then :
1.1       misho    6801:   $as_echo_n "(cached) " >&6
                   6802: else
1.1.1.5 ! misho    6803:   if test -n "$NM"; then
        !          6804:   # Let the user override the test.
        !          6805:   lt_cv_path_NM="$NM"
        !          6806: else
        !          6807:   lt_nm_to_check="${ac_tool_prefix}nm"
        !          6808:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
        !          6809:     lt_nm_to_check="$lt_nm_to_check nm"
        !          6810:   fi
        !          6811:   for lt_tmp_nm in $lt_nm_to_check; do
        !          6812:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
        !          6813:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
        !          6814:       IFS="$lt_save_ifs"
        !          6815:       test -z "$ac_dir" && ac_dir=.
        !          6816:       tmp_nm="$ac_dir/$lt_tmp_nm"
        !          6817:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
        !          6818:        # Check to see if the nm accepts a BSD-compat flag.
        !          6819:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
        !          6820:        #   nm: unknown option "B" ignored
        !          6821:        # Tru64's nm complains that /dev/null is an invalid object file
        !          6822:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
        !          6823:        */dev/null* | *'Invalid file or object type'*)
        !          6824:          lt_cv_path_NM="$tmp_nm -B"
        !          6825:          break
        !          6826:          ;;
        !          6827:        *)
        !          6828:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
        !          6829:          */dev/null*)
        !          6830:            lt_cv_path_NM="$tmp_nm -p"
        !          6831:            break
        !          6832:            ;;
        !          6833:          *)
        !          6834:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
        !          6835:            continue # so that we can try to find one that supports BSD flags
        !          6836:            ;;
        !          6837:          esac
        !          6838:          ;;
        !          6839:        esac
        !          6840:       fi
        !          6841:     done
        !          6842:     IFS="$lt_save_ifs"
        !          6843:   done
        !          6844:   : ${lt_cv_path_NM=no}
        !          6845: fi
        !          6846: fi
        !          6847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
        !          6848: $as_echo "$lt_cv_path_NM" >&6; }
        !          6849: if test "$lt_cv_path_NM" != "no"; then
        !          6850:   NM="$lt_cv_path_NM"
        !          6851: else
        !          6852:   # Didn't find any BSD compatible name lister, look for dumpbin.
        !          6853:   if test -n "$DUMPBIN"; then :
        !          6854:     # Let the user override the test.
        !          6855:   else
        !          6856:     if test -n "$ac_tool_prefix"; then
        !          6857:   for ac_prog in dumpbin "link -dump"
        !          6858:   do
        !          6859:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          6860: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          6861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6862: $as_echo_n "checking for $ac_word... " >&6; }
        !          6863: if ${ac_cv_prog_DUMPBIN+:} false; then :
        !          6864:   $as_echo_n "(cached) " >&6
        !          6865: else
        !          6866:   if test -n "$DUMPBIN"; then
        !          6867:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
        !          6868: else
        !          6869: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6870: for as_dir in $PATH
        !          6871: do
        !          6872:   IFS=$as_save_IFS
        !          6873:   test -z "$as_dir" && as_dir=.
        !          6874:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6875:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          6876:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
        !          6877:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6878:     break 2
        !          6879:   fi
        !          6880: done
        !          6881:   done
        !          6882: IFS=$as_save_IFS
1.1       misho    6883: 
1.1.1.5 ! misho    6884: fi
        !          6885: fi
        !          6886: DUMPBIN=$ac_cv_prog_DUMPBIN
        !          6887: if test -n "$DUMPBIN"; then
        !          6888:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
        !          6889: $as_echo "$DUMPBIN" >&6; }
        !          6890: else
        !          6891:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6892: $as_echo "no" >&6; }
        !          6893: fi
1.1       misho    6894: 
                   6895: 
1.1.1.5 ! misho    6896:     test -n "$DUMPBIN" && break
        !          6897:   done
        !          6898: fi
        !          6899: if test -z "$DUMPBIN"; then
        !          6900:   ac_ct_DUMPBIN=$DUMPBIN
        !          6901:   for ac_prog in dumpbin "link -dump"
        !          6902: do
        !          6903:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          6904: set dummy $ac_prog; ac_word=$2
        !          6905: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6906: $as_echo_n "checking for $ac_word... " >&6; }
        !          6907: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
        !          6908:   $as_echo_n "(cached) " >&6
        !          6909: else
        !          6910:   if test -n "$ac_ct_DUMPBIN"; then
        !          6911:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
        !          6912: else
        !          6913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6914: for as_dir in $PATH
        !          6915: do
        !          6916:   IFS=$as_save_IFS
        !          6917:   test -z "$as_dir" && as_dir=.
        !          6918:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6919:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          6920:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
        !          6921:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6922:     break 2
1.1       misho    6923:   fi
1.1.1.5 ! misho    6924: done
        !          6925:   done
        !          6926: IFS=$as_save_IFS
1.1       misho    6927: 
1.1.1.5 ! misho    6928: fi
        !          6929: fi
        !          6930: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
        !          6931: if test -n "$ac_ct_DUMPBIN"; then
        !          6932:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
        !          6933: $as_echo "$ac_ct_DUMPBIN" >&6; }
        !          6934: else
        !          6935:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6936: $as_echo "no" >&6; }
        !          6937: fi
1.1       misho    6938: 
                   6939: 
1.1.1.5 ! misho    6940:   test -n "$ac_ct_DUMPBIN" && break
        !          6941: done
1.1       misho    6942: 
1.1.1.5 ! misho    6943:   if test "x$ac_ct_DUMPBIN" = x; then
        !          6944:     DUMPBIN=":"
        !          6945:   else
        !          6946:     case $cross_compiling:$ac_tool_warned in
        !          6947: yes:)
        !          6948: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6949: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6950: ac_tool_warned=yes ;;
1.1       misho    6951: esac
1.1.1.5 ! misho    6952:     DUMPBIN=$ac_ct_DUMPBIN
        !          6953:   fi
        !          6954: fi
1.1       misho    6955: 
1.1.1.5 ! misho    6956:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
        !          6957:     *COFF*)
        !          6958:       DUMPBIN="$DUMPBIN -symbols"
        !          6959:       ;;
        !          6960:     *)
        !          6961:       DUMPBIN=:
        !          6962:       ;;
        !          6963:     esac
        !          6964:   fi
1.1       misho    6965: 
1.1.1.5 ! misho    6966:   if test "$DUMPBIN" != ":"; then
        !          6967:     NM="$DUMPBIN"
1.1       misho    6968:   fi
1.1.1.5 ! misho    6969: fi
        !          6970: test -z "$NM" && NM=nm
1.1       misho    6971: 
                   6972: 
                   6973: 
                   6974: 
                   6975: 
                   6976: 
1.1.1.5 ! misho    6977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
        !          6978: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
        !          6979: if ${lt_cv_nm_interface+:} false; then :
        !          6980:   $as_echo_n "(cached) " >&6
        !          6981: else
        !          6982:   lt_cv_nm_interface="BSD nm"
        !          6983:   echo "int some_variable = 0;" > conftest.$ac_ext
        !          6984:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
        !          6985:   (eval "$ac_compile" 2>conftest.err)
        !          6986:   cat conftest.err >&5
        !          6987:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
        !          6988:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
        !          6989:   cat conftest.err >&5
        !          6990:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
        !          6991:   cat conftest.out >&5
        !          6992:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
        !          6993:     lt_cv_nm_interface="MS dumpbin"
1.1       misho    6994:   fi
1.1.1.5 ! misho    6995:   rm -f conftest*
1.1       misho    6996: fi
1.1.1.5 ! misho    6997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
        !          6998: $as_echo "$lt_cv_nm_interface" >&6; }
1.1       misho    6999: 
1.1.1.5 ! misho    7000: # find the maximum length of command line arguments
        !          7001: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
        !          7002: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
        !          7003: if ${lt_cv_sys_max_cmd_len+:} false; then :
        !          7004:   $as_echo_n "(cached) " >&6
1.1       misho    7005: else
1.1.1.5 ! misho    7006:     i=0
        !          7007:   teststring="ABCD"
1.1       misho    7008: 
1.1.1.5 ! misho    7009:   case $build_os in
        !          7010:   msdosdjgpp*)
        !          7011:     # On DJGPP, this test can blow up pretty badly due to problems in libc
        !          7012:     # (any single argument exceeding 2000 bytes causes a buffer overrun
        !          7013:     # during glob expansion).  Even if it were fixed, the result of this
        !          7014:     # check would be larger than it should be.
        !          7015:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
        !          7016:     ;;
1.1       misho    7017: 
1.1.1.5 ! misho    7018:   gnu*)
        !          7019:     # Under GNU Hurd, this test is not required because there is
        !          7020:     # no limit to the length of command line arguments.
        !          7021:     # Libtool will interpret -1 as no limit whatsoever
        !          7022:     lt_cv_sys_max_cmd_len=-1;
        !          7023:     ;;
1.1       misho    7024: 
1.1.1.5 ! misho    7025:   cygwin* | mingw* | cegcc*)
        !          7026:     # On Win9x/ME, this test blows up -- it succeeds, but takes
        !          7027:     # about 5 minutes as the teststring grows exponentially.
        !          7028:     # Worse, since 9x/ME are not pre-emptively multitasking,
        !          7029:     # you end up with a "frozen" computer, even though with patience
        !          7030:     # the test eventually succeeds (with a max line length of 256k).
        !          7031:     # Instead, let's just punt: use the minimum linelength reported by
        !          7032:     # all of the supported platforms: 8192 (on NT/2K/XP).
        !          7033:     lt_cv_sys_max_cmd_len=8192;
        !          7034:     ;;
1.1       misho    7035: 
1.1.1.5 ! misho    7036:   mint*)
        !          7037:     # On MiNT this can take a long time and run out of memory.
        !          7038:     lt_cv_sys_max_cmd_len=8192;
        !          7039:     ;;
1.1       misho    7040: 
1.1.1.5 ! misho    7041:   amigaos*)
        !          7042:     # On AmigaOS with pdksh, this test takes hours, literally.
        !          7043:     # So we just punt and use a minimum line length of 8192.
        !          7044:     lt_cv_sys_max_cmd_len=8192;
        !          7045:     ;;
1.1       misho    7046: 
1.1.1.5 ! misho    7047:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
        !          7048:     # This has been around since 386BSD, at least.  Likely further.
        !          7049:     if test -x /sbin/sysctl; then
        !          7050:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
        !          7051:     elif test -x /usr/sbin/sysctl; then
        !          7052:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
        !          7053:     else
        !          7054:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
        !          7055:     fi
        !          7056:     # And add a safety zone
        !          7057:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          7058:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          7059:     ;;
1.1       misho    7060: 
1.1.1.5 ! misho    7061:   interix*)
        !          7062:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
        !          7063:     lt_cv_sys_max_cmd_len=196608
        !          7064:     ;;
1.1       misho    7065: 
1.1.1.5 ! misho    7066:   os2*)
        !          7067:     # The test takes a long time on OS/2.
        !          7068:     lt_cv_sys_max_cmd_len=8192
        !          7069:     ;;
1.1       misho    7070: 
1.1.1.5 ! misho    7071:   osf*)
        !          7072:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
        !          7073:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
        !          7074:     # nice to cause kernel panics so lets avoid the loop below.
        !          7075:     # First set a reasonable default.
        !          7076:     lt_cv_sys_max_cmd_len=16384
        !          7077:     #
        !          7078:     if test -x /sbin/sysconfig; then
        !          7079:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
        !          7080:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
        !          7081:       esac
        !          7082:     fi
        !          7083:     ;;
        !          7084:   sco3.2v5*)
        !          7085:     lt_cv_sys_max_cmd_len=102400
        !          7086:     ;;
        !          7087:   sysv5* | sco5v6* | sysv4.2uw2*)
        !          7088:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
        !          7089:     if test -n "$kargmax"; then
        !          7090:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
        !          7091:     else
        !          7092:       lt_cv_sys_max_cmd_len=32768
        !          7093:     fi
        !          7094:     ;;
        !          7095:   *)
        !          7096:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
        !          7097:     if test -n "$lt_cv_sys_max_cmd_len"; then
        !          7098:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
        !          7099:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
        !          7100:     else
        !          7101:       # Make teststring a little bigger before we do anything with it.
        !          7102:       # a 1K string should be a reasonable start.
        !          7103:       for i in 1 2 3 4 5 6 7 8 ; do
        !          7104:         teststring=$teststring$teststring
        !          7105:       done
        !          7106:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
        !          7107:       # If test is not a shell built-in, we'll probably end up computing a
        !          7108:       # maximum length that is only half of the actual maximum length, but
        !          7109:       # we can't tell.
        !          7110:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
        !          7111:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
        !          7112:              test $i != 17 # 1/2 MB should be enough
        !          7113:       do
        !          7114:         i=`expr $i + 1`
        !          7115:         teststring=$teststring$teststring
        !          7116:       done
        !          7117:       # Only check the string length outside the loop.
        !          7118:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
        !          7119:       teststring=
        !          7120:       # Add a significant safety factor because C++ compilers can tack on
        !          7121:       # massive amounts of additional arguments before passing them to the
        !          7122:       # linker.  It appears as though 1/2 is a usable value.
        !          7123:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
        !          7124:     fi
        !          7125:     ;;
        !          7126:   esac
1.1       misho    7127: 
1.1.1.5 ! misho    7128: fi
1.1       misho    7129: 
1.1.1.5 ! misho    7130: if test -n $lt_cv_sys_max_cmd_len ; then
        !          7131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
        !          7132: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
        !          7133: else
        !          7134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
        !          7135: $as_echo "none" >&6; }
        !          7136: fi
        !          7137: max_cmd_len=$lt_cv_sys_max_cmd_len
1.1       misho    7138: 
                   7139: 
                   7140: 
                   7141: 
                   7142: 
                   7143: 
1.1.1.5 ! misho    7144: : ${CP="cp -f"}
        !          7145: : ${MV="mv -f"}
        !          7146: : ${RM="rm -f"}
1.1       misho    7147: 
1.1.1.5 ! misho    7148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
        !          7149: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
        !          7150: # Try some XSI features
        !          7151: xsi_shell=no
        !          7152: ( _lt_dummy="a/b/c"
        !          7153:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
        !          7154:       = c,a/b,b/c, \
        !          7155:     && eval 'test $(( 1 + 1 )) -eq 2 \
        !          7156:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
        !          7157:   && xsi_shell=yes
        !          7158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
        !          7159: $as_echo "$xsi_shell" >&6; }
1.1       misho    7160: 
                   7161: 
1.1.1.5 ! misho    7162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
        !          7163: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
        !          7164: lt_shell_append=no
        !          7165: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
        !          7166:     >/dev/null 2>&1 \
        !          7167:   && lt_shell_append=yes
        !          7168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
        !          7169: $as_echo "$lt_shell_append" >&6; }
1.1       misho    7170: 
1.1.1.5 ! misho    7171: 
        !          7172: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
        !          7173:   lt_unset=unset
1.1       misho    7174: else
1.1.1.5 ! misho    7175:   lt_unset=false
1.1       misho    7176: fi
                   7177: 
1.1.1.5 ! misho    7178: 
        !          7179: 
        !          7180: 
        !          7181: 
        !          7182: # test EBCDIC or ASCII
        !          7183: case `echo X|tr X '\101'` in
        !          7184:  A) # ASCII based system
        !          7185:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
        !          7186:   lt_SP2NL='tr \040 \012'
        !          7187:   lt_NL2SP='tr \015\012 \040\040'
        !          7188:   ;;
        !          7189:  *) # EBCDIC based system
        !          7190:   lt_SP2NL='tr \100 \n'
        !          7191:   lt_NL2SP='tr \r\n \100\100'
        !          7192:   ;;
        !          7193: esac
        !          7194: 
        !          7195: 
        !          7196: 
        !          7197: 
        !          7198: 
        !          7199: 
        !          7200: 
        !          7201: 
        !          7202: 
        !          7203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          7204: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          7205: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          7206:   $as_echo_n "(cached) " >&6
        !          7207: else
        !          7208:   case $host in
        !          7209:   *-*-mingw* )
        !          7210:     case $build in
        !          7211:       *-*-mingw* ) # actually msys
        !          7212:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          7213:         ;;
        !          7214:       *-*-cygwin* )
        !          7215:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          7216:         ;;
        !          7217:       * ) # otherwise, assume *nix
        !          7218:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
1.1.1.2   misho    7219:         ;;
1.1       misho    7220:     esac
1.1.1.5 ! misho    7221:     ;;
        !          7222:   *-*-cygwin* )
        !          7223:     case $build in
        !          7224:       *-*-mingw* ) # actually msys
        !          7225:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          7226:         ;;
        !          7227:       *-*-cygwin* )
        !          7228:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          7229:         ;;
        !          7230:       * ) # otherwise, assume *nix
        !          7231:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          7232:         ;;
        !          7233:     esac
        !          7234:     ;;
        !          7235:   * ) # unhandled hosts (and "normal" native builds)
        !          7236:     lt_cv_to_host_file_cmd=func_convert_file_noop
        !          7237:     ;;
1.1       misho    7238: esac
                   7239: 
1.1.1.5 ! misho    7240: fi
        !          7241: 
        !          7242: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          7243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          7244: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
        !          7245: 
        !          7246: 
        !          7247: 
        !          7248: 
        !          7249: 
        !          7250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          7251: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          7252: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          7253:   $as_echo_n "(cached) " >&6
        !          7254: else
        !          7255:   #assume ordinary cross tools, or native build.
        !          7256: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          7257: case $host in
        !          7258:   *-*-mingw* )
        !          7259:     case $build in
        !          7260:       *-*-mingw* ) # actually msys
        !          7261:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          7262:         ;;
        !          7263:     esac
        !          7264:     ;;
        !          7265: esac
        !          7266: 
        !          7267: fi
        !          7268: 
        !          7269: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          7270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          7271: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
        !          7272: 
        !          7273: 
        !          7274: 
        !          7275: 
        !          7276: 
        !          7277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
        !          7278: $as_echo_n "checking for $LD option to reload object files... " >&6; }
        !          7279: if ${lt_cv_ld_reload_flag+:} false; then :
        !          7280:   $as_echo_n "(cached) " >&6
        !          7281: else
        !          7282:   lt_cv_ld_reload_flag='-r'
        !          7283: fi
        !          7284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
        !          7285: $as_echo "$lt_cv_ld_reload_flag" >&6; }
        !          7286: reload_flag=$lt_cv_ld_reload_flag
        !          7287: case $reload_flag in
        !          7288: "" | " "*) ;;
        !          7289: *) reload_flag=" $reload_flag" ;;
        !          7290: esac
        !          7291: reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          7292: case $host_os in
        !          7293:   cygwin* | mingw* | pw32* | cegcc*)
        !          7294:     if test "$GCC" != yes; then
        !          7295:       reload_cmds=false
        !          7296:     fi
        !          7297:     ;;
        !          7298:   darwin*)
        !          7299:     if test "$GCC" = yes; then
        !          7300:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
        !          7301:     else
        !          7302:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
        !          7303:     fi
        !          7304:     ;;
        !          7305: esac
        !          7306: 
        !          7307: 
        !          7308: 
        !          7309: 
        !          7310: 
        !          7311: 
        !          7312: 
        !          7313: 
1.1       misho    7314: 
                   7315: if test -n "$ac_tool_prefix"; then
1.1.1.5 ! misho    7316:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
        !          7317: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.1       misho    7318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7319: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7320: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1       misho    7321:   $as_echo_n "(cached) " >&6
                   7322: else
1.1.1.5 ! misho    7323:   if test -n "$OBJDUMP"; then
        !          7324:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
1.1       misho    7325: else
                   7326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7327: for as_dir in $PATH
                   7328: do
                   7329:   IFS=$as_save_IFS
                   7330:   test -z "$as_dir" && as_dir=.
                   7331:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7332:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7333:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.1       misho    7334:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7335:     break 2
                   7336:   fi
                   7337: done
                   7338:   done
                   7339: IFS=$as_save_IFS
                   7340: 
                   7341: fi
                   7342: fi
1.1.1.5 ! misho    7343: OBJDUMP=$ac_cv_prog_OBJDUMP
        !          7344: if test -n "$OBJDUMP"; then
        !          7345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
        !          7346: $as_echo "$OBJDUMP" >&6; }
1.1       misho    7347: else
                   7348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7349: $as_echo "no" >&6; }
                   7350: fi
                   7351: 
                   7352: 
                   7353: fi
1.1.1.5 ! misho    7354: if test -z "$ac_cv_prog_OBJDUMP"; then
        !          7355:   ac_ct_OBJDUMP=$OBJDUMP
        !          7356:   # Extract the first word of "objdump", so it can be a program name with args.
        !          7357: set dummy objdump; ac_word=$2
1.1       misho    7358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7359: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7360: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1       misho    7361:   $as_echo_n "(cached) " >&6
                   7362: else
1.1.1.5 ! misho    7363:   if test -n "$ac_ct_OBJDUMP"; then
        !          7364:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.1       misho    7365: else
                   7366: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7367: for as_dir in $PATH
                   7368: do
                   7369:   IFS=$as_save_IFS
                   7370:   test -z "$as_dir" && as_dir=.
                   7371:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7372:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7373:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.1       misho    7374:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7375:     break 2
                   7376:   fi
                   7377: done
                   7378:   done
                   7379: IFS=$as_save_IFS
                   7380: 
                   7381: fi
                   7382: fi
1.1.1.5 ! misho    7383: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
        !          7384: if test -n "$ac_ct_OBJDUMP"; then
        !          7385:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
        !          7386: $as_echo "$ac_ct_OBJDUMP" >&6; }
1.1       misho    7387: else
                   7388:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7389: $as_echo "no" >&6; }
                   7390: fi
                   7391: 
1.1.1.5 ! misho    7392:   if test "x$ac_ct_OBJDUMP" = x; then
        !          7393:     OBJDUMP="false"
1.1       misho    7394:   else
                   7395:     case $cross_compiling:$ac_tool_warned in
                   7396: yes:)
                   7397: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7398: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7399: ac_tool_warned=yes ;;
                   7400: esac
1.1.1.5 ! misho    7401:     OBJDUMP=$ac_ct_OBJDUMP
1.1       misho    7402:   fi
                   7403: else
1.1.1.5 ! misho    7404:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.1       misho    7405: fi
                   7406: 
1.1.1.5 ! misho    7407: test -z "$OBJDUMP" && OBJDUMP=objdump
1.1       misho    7408: 
                   7409: 
                   7410: 
                   7411: 
                   7412: 
                   7413: 
1.1.1.5 ! misho    7414: 
        !          7415: 
        !          7416: 
        !          7417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
        !          7418: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
        !          7419: if ${lt_cv_deplibs_check_method+:} false; then :
1.1       misho    7420:   $as_echo_n "(cached) " >&6
                   7421: else
1.1.1.5 ! misho    7422:   lt_cv_file_magic_cmd='$MAGIC_CMD'
        !          7423: lt_cv_file_magic_test_file=
        !          7424: lt_cv_deplibs_check_method='unknown'
        !          7425: # Need to set the preceding variable on all platforms that support
        !          7426: # interlibrary dependencies.
        !          7427: # 'none' -- dependencies not supported.
        !          7428: # `unknown' -- same as none, but documents that we really don't know.
        !          7429: # 'pass_all' -- all dependencies passed with no checks.
        !          7430: # 'test_compile' -- check by making test program.
        !          7431: # 'file_magic [[regex]]' -- check by looking for files in library path
        !          7432: # which responds to the $file_magic_cmd with a given extended regex.
        !          7433: # If you have `file' or equivalent on your system and you're not sure
        !          7434: # whether `pass_all' will *always* work, you probably want this one.
1.1       misho    7435: 
1.1.1.5 ! misho    7436: case $host_os in
        !          7437: aix[4-9]*)
        !          7438:   lt_cv_deplibs_check_method=pass_all
        !          7439:   ;;
1.1       misho    7440: 
1.1.1.5 ! misho    7441: beos*)
        !          7442:   lt_cv_deplibs_check_method=pass_all
        !          7443:   ;;
1.1       misho    7444: 
1.1.1.5 ! misho    7445: bsdi[45]*)
        !          7446:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
        !          7447:   lt_cv_file_magic_cmd='/usr/bin/file -L'
        !          7448:   lt_cv_file_magic_test_file=/shlib/libc.so
        !          7449:   ;;
1.1       misho    7450: 
1.1.1.5 ! misho    7451: cygwin*)
        !          7452:   # func_win32_libid is a shell function defined in ltmain.sh
        !          7453:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          7454:   lt_cv_file_magic_cmd='func_win32_libid'
        !          7455:   ;;
1.1       misho    7456: 
1.1.1.5 ! misho    7457: mingw* | pw32*)
        !          7458:   # Base MSYS/MinGW do not provide the 'file' command needed by
        !          7459:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
        !          7460:   # unless we find 'file', for example because we are cross-compiling.
        !          7461:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
        !          7462:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
        !          7463:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
        !          7464:     lt_cv_file_magic_cmd='func_win32_libid'
1.1       misho    7465:   else
1.1.1.5 ! misho    7466:     # Keep this pattern in sync with the one in func_win32_libid.
        !          7467:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
        !          7468:     lt_cv_file_magic_cmd='$OBJDUMP -f'
1.1       misho    7469:   fi
1.1.1.5 ! misho    7470:   ;;
1.1       misho    7471: 
1.1.1.5 ! misho    7472: cegcc*)
        !          7473:   # use the weaker test based on 'objdump'. See mingw*.
        !          7474:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
        !          7475:   lt_cv_file_magic_cmd='$OBJDUMP -f'
        !          7476:   ;;
        !          7477: 
        !          7478: darwin* | rhapsody*)
        !          7479:   lt_cv_deplibs_check_method=pass_all
        !          7480:   ;;
        !          7481: 
        !          7482: freebsd* | dragonfly*)
        !          7483:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          7484:     case $host_cpu in
        !          7485:     i*86 )
        !          7486:       # Not sure whether the presence of OpenBSD here was a mistake.
        !          7487:       # Let's accept both of them until this is cleared up.
        !          7488:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
        !          7489:       lt_cv_file_magic_cmd=/usr/bin/file
        !          7490:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
        !          7491:       ;;
        !          7492:     esac
        !          7493:   else
        !          7494:     lt_cv_deplibs_check_method=pass_all
1.1       misho    7495:   fi
1.1.1.5 ! misho    7496:   ;;
1.1       misho    7497: 
1.1.1.5 ! misho    7498: haiku*)
        !          7499:   lt_cv_deplibs_check_method=pass_all
        !          7500:   ;;
1.1       misho    7501: 
1.1.1.5 ! misho    7502: hpux10.20* | hpux11*)
        !          7503:   lt_cv_file_magic_cmd=/usr/bin/file
        !          7504:   case $host_cpu in
        !          7505:   ia64*)
        !          7506:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
        !          7507:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
        !          7508:     ;;
        !          7509:   hppa*64*)
        !          7510:     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]'
        !          7511:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
        !          7512:     ;;
        !          7513:   *)
        !          7514:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
        !          7515:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
        !          7516:     ;;
        !          7517:   esac
        !          7518:   ;;
1.1       misho    7519: 
1.1.1.5 ! misho    7520: interix[3-9]*)
        !          7521:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
        !          7522:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
        !          7523:   ;;
1.1       misho    7524: 
1.1.1.5 ! misho    7525: irix5* | irix6* | nonstopux*)
        !          7526:   case $LD in
        !          7527:   *-32|*"-32 ") libmagic=32-bit;;
        !          7528:   *-n32|*"-n32 ") libmagic=N32;;
        !          7529:   *-64|*"-64 ") libmagic=64-bit;;
        !          7530:   *) libmagic=never-match;;
        !          7531:   esac
        !          7532:   lt_cv_deplibs_check_method=pass_all
        !          7533:   ;;
1.1       misho    7534: 
1.1.1.5 ! misho    7535: # This must be glibc/ELF.
        !          7536: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
        !          7537:   lt_cv_deplibs_check_method=pass_all
        !          7538:   ;;
        !          7539: 
        !          7540: netbsd* | netbsdelf*-gnu)
        !          7541:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
        !          7542:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misho    7543:   else
1.1.1.5 ! misho    7544:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.1       misho    7545:   fi
1.1.1.5 ! misho    7546:   ;;
        !          7547: 
        !          7548: newos6*)
        !          7549:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
        !          7550:   lt_cv_file_magic_cmd=/usr/bin/file
        !          7551:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
        !          7552:   ;;
        !          7553: 
        !          7554: *nto* | *qnx*)
        !          7555:   lt_cv_deplibs_check_method=pass_all
        !          7556:   ;;
        !          7557: 
        !          7558: openbsd*)
        !          7559:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
        !          7560:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
        !          7561:   else
        !          7562:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
        !          7563:   fi
        !          7564:   ;;
        !          7565: 
        !          7566: osf3* | osf4* | osf5*)
        !          7567:   lt_cv_deplibs_check_method=pass_all
        !          7568:   ;;
        !          7569: 
        !          7570: rdos*)
        !          7571:   lt_cv_deplibs_check_method=pass_all
        !          7572:   ;;
        !          7573: 
        !          7574: solaris*)
        !          7575:   lt_cv_deplibs_check_method=pass_all
        !          7576:   ;;
        !          7577: 
        !          7578: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
        !          7579:   lt_cv_deplibs_check_method=pass_all
        !          7580:   ;;
        !          7581: 
        !          7582: sysv4 | sysv4.3*)
        !          7583:   case $host_vendor in
        !          7584:   motorola)
        !          7585:     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]'
        !          7586:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
        !          7587:     ;;
        !          7588:   ncr)
        !          7589:     lt_cv_deplibs_check_method=pass_all
        !          7590:     ;;
        !          7591:   sequent)
        !          7592:     lt_cv_file_magic_cmd='/bin/file'
        !          7593:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
        !          7594:     ;;
        !          7595:   sni)
        !          7596:     lt_cv_file_magic_cmd='/bin/file'
        !          7597:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
        !          7598:     lt_cv_file_magic_test_file=/lib/libc.so
        !          7599:     ;;
        !          7600:   siemens)
        !          7601:     lt_cv_deplibs_check_method=pass_all
        !          7602:     ;;
        !          7603:   pc)
        !          7604:     lt_cv_deplibs_check_method=pass_all
        !          7605:     ;;
        !          7606:   esac
        !          7607:   ;;
        !          7608: 
        !          7609: tpf*)
        !          7610:   lt_cv_deplibs_check_method=pass_all
        !          7611:   ;;
        !          7612: esac
        !          7613: 
1.1       misho    7614: fi
1.1.1.5 ! misho    7615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          7616: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.1       misho    7617: 
1.1.1.5 ! misho    7618: file_magic_glob=
        !          7619: want_nocaseglob=no
        !          7620: if test "$build" = "$host"; then
        !          7621:   case $host_os in
        !          7622:   mingw* | pw32*)
        !          7623:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          7624:       want_nocaseglob=yes
        !          7625:     else
        !          7626:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          7627:     fi
        !          7628:     ;;
        !          7629:   esac
        !          7630: fi
        !          7631: 
        !          7632: file_magic_cmd=$lt_cv_file_magic_cmd
        !          7633: deplibs_check_method=$lt_cv_deplibs_check_method
        !          7634: test -z "$deplibs_check_method" && deplibs_check_method=unknown
        !          7635: 
        !          7636: 
        !          7637: 
        !          7638: 
        !          7639: 
        !          7640: 
        !          7641: 
        !          7642: 
        !          7643: 
        !          7644: 
        !          7645: 
        !          7646: 
        !          7647: 
        !          7648: 
        !          7649: 
        !          7650: 
        !          7651: 
        !          7652: 
        !          7653: 
        !          7654: 
        !          7655: 
        !          7656: 
        !          7657: if test -n "$ac_tool_prefix"; then
        !          7658:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          7659: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.1       misho    7660: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7661: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7662: if ${ac_cv_prog_DLLTOOL+:} false; then :
1.1       misho    7663:   $as_echo_n "(cached) " >&6
                   7664: else
1.1.1.5 ! misho    7665:   if test -n "$DLLTOOL"; then
        !          7666:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.1       misho    7667: else
                   7668: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7669: for as_dir in $PATH
                   7670: do
                   7671:   IFS=$as_save_IFS
                   7672:   test -z "$as_dir" && as_dir=.
                   7673:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7674:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7675:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.1       misho    7676:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7677:     break 2
                   7678:   fi
                   7679: done
                   7680:   done
                   7681: IFS=$as_save_IFS
                   7682: 
                   7683: fi
                   7684: fi
1.1.1.5 ! misho    7685: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          7686: if test -n "$DLLTOOL"; then
        !          7687:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          7688: $as_echo "$DLLTOOL" >&6; }
1.1       misho    7689: else
                   7690:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7691: $as_echo "no" >&6; }
                   7692: fi
                   7693: 
                   7694: 
                   7695: fi
1.1.1.5 ! misho    7696: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          7697:   ac_ct_DLLTOOL=$DLLTOOL
        !          7698:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          7699: set dummy dlltool; ac_word=$2
1.1       misho    7700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7701: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7702: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
1.1       misho    7703:   $as_echo_n "(cached) " >&6
                   7704: else
1.1.1.5 ! misho    7705:   if test -n "$ac_ct_DLLTOOL"; then
        !          7706:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.1       misho    7707: else
                   7708: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7709: for as_dir in $PATH
                   7710: do
                   7711:   IFS=$as_save_IFS
                   7712:   test -z "$as_dir" && as_dir=.
                   7713:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7714:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7715:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.1       misho    7716:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7717:     break 2
                   7718:   fi
                   7719: done
                   7720:   done
                   7721: IFS=$as_save_IFS
                   7722: 
                   7723: fi
                   7724: fi
1.1.1.5 ! misho    7725: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          7726: if test -n "$ac_ct_DLLTOOL"; then
        !          7727:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          7728: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.1       misho    7729: else
                   7730:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7731: $as_echo "no" >&6; }
                   7732: fi
                   7733: 
1.1.1.5 ! misho    7734:   if test "x$ac_ct_DLLTOOL" = x; then
        !          7735:     DLLTOOL="false"
1.1       misho    7736:   else
                   7737:     case $cross_compiling:$ac_tool_warned in
                   7738: yes:)
                   7739: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7740: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7741: ac_tool_warned=yes ;;
                   7742: esac
1.1.1.5 ! misho    7743:     DLLTOOL=$ac_ct_DLLTOOL
1.1       misho    7744:   fi
                   7745: else
1.1.1.5 ! misho    7746:   DLLTOOL="$ac_cv_prog_DLLTOOL"
1.1       misho    7747: fi
                   7748: 
1.1.1.5 ! misho    7749: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          7750: 
        !          7751: 
        !          7752: 
        !          7753: 
        !          7754: 
        !          7755: 
        !          7756: 
        !          7757: 
        !          7758: 
        !          7759: 
        !          7760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          7761: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          7762: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          7763:   $as_echo_n "(cached) " >&6
        !          7764: else
        !          7765:   lt_cv_sharedlib_from_linklib_cmd='unknown'
        !          7766: 
        !          7767: case $host_os in
        !          7768: cygwin* | mingw* | pw32* | cegcc*)
        !          7769:   # two different shell functions defined in ltmain.sh
        !          7770:   # decide which to use based on capabilities of $DLLTOOL
        !          7771:   case `$DLLTOOL --help 2>&1` in
        !          7772:   *--identify-strict*)
        !          7773:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          7774:     ;;
        !          7775:   *)
        !          7776:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
        !          7777:     ;;
        !          7778:   esac
        !          7779:   ;;
        !          7780: *)
        !          7781:   # fallback: assume linklib IS sharedlib
        !          7782:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
        !          7783:   ;;
        !          7784: esac
        !          7785: 
        !          7786: fi
        !          7787: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          7788: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          7789: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          7790: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
        !          7791: 
        !          7792: 
        !          7793: 
        !          7794: 
        !          7795: 
        !          7796: 
        !          7797: 
        !          7798: if test -n "$ac_tool_prefix"; then
        !          7799:   for ac_prog in ar
        !          7800:   do
        !          7801:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          7802: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1       misho    7803: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7804: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7805: if ${ac_cv_prog_AR+:} false; then :
1.1       misho    7806:   $as_echo_n "(cached) " >&6
                   7807: else
1.1.1.5 ! misho    7808:   if test -n "$AR"; then
        !          7809:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.1       misho    7810: else
                   7811: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7812: for as_dir in $PATH
                   7813: do
                   7814:   IFS=$as_save_IFS
                   7815:   test -z "$as_dir" && as_dir=.
                   7816:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7817:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7818:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.1       misho    7819:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7820:     break 2
                   7821:   fi
                   7822: done
                   7823:   done
                   7824: IFS=$as_save_IFS
                   7825: 
                   7826: fi
                   7827: fi
1.1.1.5 ! misho    7828: AR=$ac_cv_prog_AR
        !          7829: if test -n "$AR"; then
        !          7830:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
        !          7831: $as_echo "$AR" >&6; }
1.1       misho    7832: else
                   7833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7834: $as_echo "no" >&6; }
                   7835: fi
                   7836: 
                   7837: 
1.1.1.5 ! misho    7838:     test -n "$AR" && break
        !          7839:   done
1.1       misho    7840: fi
1.1.1.5 ! misho    7841: if test -z "$AR"; then
        !          7842:   ac_ct_AR=$AR
        !          7843:   for ac_prog in ar
        !          7844: do
        !          7845:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          7846: set dummy $ac_prog; ac_word=$2
1.1       misho    7847: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7848: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7849: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    7850:   $as_echo_n "(cached) " >&6
                   7851: else
1.1.1.5 ! misho    7852:   if test -n "$ac_ct_AR"; then
        !          7853:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1.1       misho    7854: else
                   7855: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7856: for as_dir in $PATH
                   7857: do
                   7858:   IFS=$as_save_IFS
                   7859:   test -z "$as_dir" && as_dir=.
                   7860:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7861:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7862:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.1       misho    7863:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7864:     break 2
                   7865:   fi
                   7866: done
                   7867:   done
                   7868: IFS=$as_save_IFS
                   7869: 
                   7870: fi
                   7871: fi
1.1.1.5 ! misho    7872: ac_ct_AR=$ac_cv_prog_ac_ct_AR
        !          7873: if test -n "$ac_ct_AR"; then
        !          7874:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
        !          7875: $as_echo "$ac_ct_AR" >&6; }
1.1       misho    7876: else
                   7877:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7878: $as_echo "no" >&6; }
                   7879: fi
                   7880: 
1.1.1.5 ! misho    7881: 
        !          7882:   test -n "$ac_ct_AR" && break
        !          7883: done
        !          7884: 
        !          7885:   if test "x$ac_ct_AR" = x; then
        !          7886:     AR="false"
1.1       misho    7887:   else
                   7888:     case $cross_compiling:$ac_tool_warned in
                   7889: yes:)
                   7890: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7891: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7892: ac_tool_warned=yes ;;
                   7893: esac
1.1.1.5 ! misho    7894:     AR=$ac_ct_AR
1.1       misho    7895:   fi
1.1.1.5 ! misho    7896: fi
        !          7897: 
        !          7898: : ${AR=ar}
        !          7899: : ${AR_FLAGS=cru}
        !          7900: 
        !          7901: 
        !          7902: 
        !          7903: 
        !          7904: 
        !          7905: 
        !          7906: 
        !          7907: 
        !          7908: 
        !          7909: 
        !          7910: 
        !          7911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          7912: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          7913: if ${lt_cv_ar_at_file+:} false; then :
        !          7914:   $as_echo_n "(cached) " >&6
1.1       misho    7915: else
1.1.1.5 ! misho    7916:   lt_cv_ar_at_file=no
        !          7917:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          7918: /* end confdefs.h.  */
        !          7919: 
        !          7920: int
        !          7921: main ()
        !          7922: {
        !          7923: 
        !          7924:   ;
        !          7925:   return 0;
        !          7926: }
        !          7927: _ACEOF
        !          7928: if ac_fn_c_try_compile "$LINENO"; then :
        !          7929:   echo conftest.$ac_objext > conftest.lst
        !          7930:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          7931:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          7932:   (eval $lt_ar_try) 2>&5
        !          7933:   ac_status=$?
        !          7934:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7935:   test $ac_status = 0; }
        !          7936:       if test "$ac_status" -eq 0; then
        !          7937:        # Ensure the archiver fails upon bogus file names.
        !          7938:        rm -f conftest.$ac_objext libconftest.a
        !          7939:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          7940:   (eval $lt_ar_try) 2>&5
        !          7941:   ac_status=$?
        !          7942:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          7943:   test $ac_status = 0; }
        !          7944:        if test "$ac_status" -ne 0; then
        !          7945:           lt_cv_ar_at_file=@
        !          7946:         fi
        !          7947:       fi
        !          7948:       rm -f conftest.* libconftest.a
        !          7949: 
1.1       misho    7950: fi
1.1.1.5 ! misho    7951: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    7952: 
1.1.1.5 ! misho    7953: fi
        !          7954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          7955: $as_echo "$lt_cv_ar_at_file" >&6; }
        !          7956: 
        !          7957: if test "x$lt_cv_ar_at_file" = xno; then
        !          7958:   archiver_list_spec=
        !          7959: else
        !          7960:   archiver_list_spec=$lt_cv_ar_at_file
        !          7961: fi
        !          7962: 
        !          7963: 
        !          7964: 
        !          7965: 
        !          7966: 
        !          7967: 
        !          7968: 
        !          7969: if test -n "$ac_tool_prefix"; then
        !          7970:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
        !          7971: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1       misho    7972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7973: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    7974: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    7975:   $as_echo_n "(cached) " >&6
                   7976: else
1.1.1.5 ! misho    7977:   if test -n "$STRIP"; then
        !          7978:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       misho    7979: else
                   7980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7981: for as_dir in $PATH
                   7982: do
                   7983:   IFS=$as_save_IFS
                   7984:   test -z "$as_dir" && as_dir=.
                   7985:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    7986:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    7987:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.1       misho    7988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7989:     break 2
                   7990:   fi
                   7991: done
                   7992:   done
                   7993: IFS=$as_save_IFS
                   7994: 
                   7995: fi
                   7996: fi
1.1.1.5 ! misho    7997: STRIP=$ac_cv_prog_STRIP
        !          7998: if test -n "$STRIP"; then
        !          7999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
        !          8000: $as_echo "$STRIP" >&6; }
1.1       misho    8001: else
                   8002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8003: $as_echo "no" >&6; }
                   8004: fi
                   8005: 
                   8006: 
                   8007: fi
1.1.1.5 ! misho    8008: if test -z "$ac_cv_prog_STRIP"; then
        !          8009:   ac_ct_STRIP=$STRIP
        !          8010:   # Extract the first word of "strip", so it can be a program name with args.
        !          8011: set dummy strip; ac_word=$2
1.1       misho    8012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   8013: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.5 ! misho    8014: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    8015:   $as_echo_n "(cached) " >&6
                   8016: else
1.1.1.5 ! misho    8017:   if test -n "$ac_ct_STRIP"; then
        !          8018:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misho    8019: else
                   8020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   8021: for as_dir in $PATH
                   8022: do
                   8023:   IFS=$as_save_IFS
                   8024:   test -z "$as_dir" && as_dir=.
                   8025:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.3   misho    8026:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1.1.5 ! misho    8027:     ac_cv_prog_ac_ct_STRIP="strip"
1.1       misho    8028:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   8029:     break 2
                   8030:   fi
                   8031: done
                   8032:   done
                   8033: IFS=$as_save_IFS
                   8034: 
                   8035: fi
                   8036: fi
1.1.1.5 ! misho    8037: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
        !          8038: if test -n "$ac_ct_STRIP"; then
        !          8039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
        !          8040: $as_echo "$ac_ct_STRIP" >&6; }
1.1       misho    8041: else
                   8042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8043: $as_echo "no" >&6; }
                   8044: fi
                   8045: 
1.1.1.5 ! misho    8046:   if test "x$ac_ct_STRIP" = x; then
        !          8047:     STRIP=":"
1.1       misho    8048:   else
                   8049:     case $cross_compiling:$ac_tool_warned in
                   8050: yes:)
                   8051: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   8052: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   8053: ac_tool_warned=yes ;;
                   8054: esac
1.1.1.5 ! misho    8055:     STRIP=$ac_ct_STRIP
1.1       misho    8056:   fi
                   8057: else
1.1.1.5 ! misho    8058:   STRIP="$ac_cv_prog_STRIP"
1.1       misho    8059: fi
                   8060: 
1.1.1.5 ! misho    8061: test -z "$STRIP" && STRIP=:
1.1       misho    8062: 
                   8063: 
                   8064: 
                   8065: 
                   8066: 
                   8067: 
1.1.1.5 ! misho    8068: if test -n "$ac_tool_prefix"; then
        !          8069:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
        !          8070: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
        !          8071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8072: $as_echo_n "checking for $ac_word... " >&6; }
        !          8073: if ${ac_cv_prog_RANLIB+:} false; then :
        !          8074:   $as_echo_n "(cached) " >&6
        !          8075: else
        !          8076:   if test -n "$RANLIB"; then
        !          8077:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          8078: else
        !          8079: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8080: for as_dir in $PATH
        !          8081: do
        !          8082:   IFS=$as_save_IFS
        !          8083:   test -z "$as_dir" && as_dir=.
        !          8084:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8085:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8086:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
        !          8087:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8088:     break 2
        !          8089:   fi
        !          8090: done
        !          8091:   done
        !          8092: IFS=$as_save_IFS
1.1       misho    8093: 
1.1.1.5 ! misho    8094: fi
        !          8095: fi
        !          8096: RANLIB=$ac_cv_prog_RANLIB
        !          8097: if test -n "$RANLIB"; then
        !          8098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
        !          8099: $as_echo "$RANLIB" >&6; }
        !          8100: else
        !          8101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8102: $as_echo "no" >&6; }
        !          8103: fi
1.1       misho    8104: 
                   8105: 
1.1.1.5 ! misho    8106: fi
        !          8107: if test -z "$ac_cv_prog_RANLIB"; then
        !          8108:   ac_ct_RANLIB=$RANLIB
        !          8109:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          8110: set dummy ranlib; ac_word=$2
        !          8111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8112: $as_echo_n "checking for $ac_word... " >&6; }
        !          8113: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
        !          8114:   $as_echo_n "(cached) " >&6
        !          8115: else
        !          8116:   if test -n "$ac_ct_RANLIB"; then
        !          8117:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
        !          8118: else
        !          8119: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8120: for as_dir in $PATH
        !          8121: do
        !          8122:   IFS=$as_save_IFS
        !          8123:   test -z "$as_dir" && as_dir=.
        !          8124:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8125:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8126:     ac_cv_prog_ac_ct_RANLIB="ranlib"
        !          8127:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8128:     break 2
        !          8129:   fi
        !          8130: done
        !          8131:   done
        !          8132: IFS=$as_save_IFS
1.1       misho    8133: 
1.1.1.5 ! misho    8134: fi
        !          8135: fi
        !          8136: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
        !          8137: if test -n "$ac_ct_RANLIB"; then
        !          8138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
        !          8139: $as_echo "$ac_ct_RANLIB" >&6; }
        !          8140: else
        !          8141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8142: $as_echo "no" >&6; }
        !          8143: fi
1.1       misho    8144: 
1.1.1.5 ! misho    8145:   if test "x$ac_ct_RANLIB" = x; then
        !          8146:     RANLIB=":"
        !          8147:   else
        !          8148:     case $cross_compiling:$ac_tool_warned in
        !          8149: yes:)
        !          8150: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8151: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8152: ac_tool_warned=yes ;;
        !          8153: esac
        !          8154:     RANLIB=$ac_ct_RANLIB
        !          8155:   fi
        !          8156: else
        !          8157:   RANLIB="$ac_cv_prog_RANLIB"
        !          8158: fi
1.1       misho    8159: 
1.1.1.5 ! misho    8160: test -z "$RANLIB" && RANLIB=:
1.1       misho    8161: 
                   8162: 
                   8163: 
                   8164: 
                   8165: 
                   8166: 
1.1.1.5 ! misho    8167: # Determine commands to create old-style static archives.
        !          8168: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
        !          8169: old_postinstall_cmds='chmod 644 $oldlib'
        !          8170: old_postuninstall_cmds=
1.1       misho    8171: 
1.1.1.5 ! misho    8172: if test -n "$RANLIB"; then
        !          8173:   case $host_os in
        !          8174:   openbsd*)
        !          8175:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
        !          8176:     ;;
        !          8177:   *)
        !          8178:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
        !          8179:     ;;
        !          8180:   esac
        !          8181:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
        !          8182: fi
1.1       misho    8183: 
1.1.1.5 ! misho    8184: case $host_os in
        !          8185:   darwin*)
        !          8186:     lock_old_archive_extraction=yes ;;
        !          8187:   *)
        !          8188:     lock_old_archive_extraction=no ;;
        !          8189: esac
1.1       misho    8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: 
                   8195: 
                   8196: 
                   8197: 
                   8198: 
                   8199: 
                   8200: 
                   8201: 
                   8202: 
                   8203: 
                   8204: 
                   8205: 
                   8206: 
                   8207: 
                   8208: 
                   8209: 
                   8210: 
                   8211: 
                   8212: 
                   8213: 
                   8214: 
                   8215: 
                   8216: 
                   8217: 
                   8218: 
                   8219: 
                   8220: 
                   8221: 
                   8222: 
                   8223: 
                   8224: 
                   8225: 
                   8226: 
                   8227: 
                   8228: 
1.1.1.5 ! misho    8229: # If no C compiler was specified, use CC.
        !          8230: LTCC=${LTCC-"$CC"}
1.1       misho    8231: 
1.1.1.5 ! misho    8232: # If no C compiler flags were specified, use CFLAGS.
        !          8233: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1       misho    8234: 
1.1.1.5 ! misho    8235: # Allow CC to be a program name with arguments.
        !          8236: compiler=$CC
1.1       misho    8237: 
                   8238: 
1.1.1.5 ! misho    8239: # Check for command to grab the raw symbol name followed by C symbol from nm.
        !          8240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
        !          8241: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
        !          8242: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
        !          8243:   $as_echo_n "(cached) " >&6
1.1       misho    8244: else
                   8245: 
1.1.1.5 ! misho    8246: # These are sane defaults that work on at least a few old systems.
        !          8247: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.1       misho    8248: 
1.1.1.5 ! misho    8249: # Character class describing NM global symbol codes.
        !          8250: symcode='[BCDEGRST]'
1.1       misho    8251: 
1.1.1.5 ! misho    8252: # Regexp to match symbols that can be accessed directly from C.
        !          8253: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.1       misho    8254: 
1.1.1.5 ! misho    8255: # Define system-specific variables.
        !          8256: case $host_os in
        !          8257: aix*)
        !          8258:   symcode='[BCDT]'
        !          8259:   ;;
        !          8260: cygwin* | mingw* | pw32* | cegcc*)
        !          8261:   symcode='[ABCDGISTW]'
        !          8262:   ;;
        !          8263: hpux*)
        !          8264:   if test "$host_cpu" = ia64; then
        !          8265:     symcode='[ABCDEGRST]'
        !          8266:   fi
        !          8267:   ;;
        !          8268: irix* | nonstopux*)
        !          8269:   symcode='[BCDEGRST]'
        !          8270:   ;;
        !          8271: osf*)
        !          8272:   symcode='[BCDEGQRST]'
        !          8273:   ;;
        !          8274: solaris*)
        !          8275:   symcode='[BDRT]'
        !          8276:   ;;
        !          8277: sco3.2v5*)
        !          8278:   symcode='[DT]'
        !          8279:   ;;
        !          8280: sysv4.2uw2*)
        !          8281:   symcode='[DT]'
        !          8282:   ;;
        !          8283: sysv5* | sco5v6* | unixware* | OpenUNIX*)
        !          8284:   symcode='[ABDT]'
        !          8285:   ;;
        !          8286: sysv4)
        !          8287:   symcode='[DFNSTU]'
        !          8288:   ;;
        !          8289: esac
1.1       misho    8290: 
1.1.1.5 ! misho    8291: # If we're using GNU nm, then use its standard symbol codes.
        !          8292: case `$NM -V 2>&1` in
        !          8293: *GNU* | *'with BFD'*)
        !          8294:   symcode='[ABCDGIRSTW]' ;;
        !          8295: esac
1.1       misho    8296: 
1.1.1.5 ! misho    8297: # Transform an extracted symbol line into a proper C declaration.
        !          8298: # Some systems (esp. on ia64) link data and code symbols differently,
        !          8299: # so use this general approach.
        !          8300: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.1       misho    8301: 
1.1.1.5 ! misho    8302: # Transform an extracted symbol line into symbol name and symbol address
        !          8303: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
        !          8304: 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'"
1.1       misho    8305: 
1.1.1.5 ! misho    8306: # Handle CRLF in mingw tool chain
        !          8307: opt_cr=
        !          8308: case $build_os in
        !          8309: mingw*)
        !          8310:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
        !          8311:   ;;
        !          8312: esac
1.1       misho    8313: 
1.1.1.5 ! misho    8314: # Try without a prefix underscore, then with it.
        !          8315: for ac_symprfx in "" "_"; do
1.1       misho    8316: 
1.1.1.5 ! misho    8317:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
        !          8318:   symxfrm="\\1 $ac_symprfx\\2 \\2"
1.1       misho    8319: 
1.1.1.5 ! misho    8320:   # Write the raw and C identifiers.
        !          8321:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          8322:     # Fake it for dumpbin and say T for any non-static function
        !          8323:     # and D for any global variable.
        !          8324:     # Also find C++ and __fastcall symbols from MSVC++,
        !          8325:     # which start with @ or ?.
        !          8326:     lt_cv_sys_global_symbol_pipe="$AWK '"\
        !          8327: "     {last_section=section; section=\$ 3};"\
        !          8328: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
        !          8329: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
        !          8330: "     \$ 0!~/External *\|/{next};"\
        !          8331: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
        !          8332: "     {if(hide[section]) next};"\
        !          8333: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
        !          8334: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
        !          8335: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
        !          8336: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
        !          8337: "     ' prfx=^$ac_symprfx"
        !          8338:   else
        !          8339:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
        !          8340:   fi
        !          8341:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1       misho    8342: 
1.1.1.5 ! misho    8343:   # Check to see that the pipe works correctly.
        !          8344:   pipe_works=no
        !          8345: 
        !          8346:   rm -f conftest*
        !          8347:   cat > conftest.$ac_ext <<_LT_EOF
        !          8348: #ifdef __cplusplus
        !          8349: extern "C" {
        !          8350: #endif
        !          8351: char nm_test_var;
        !          8352: void nm_test_func(void);
        !          8353: void nm_test_func(void){}
        !          8354: #ifdef __cplusplus
        !          8355: }
        !          8356: #endif
        !          8357: int main(){nm_test_var='a';nm_test_func();return(0);}
        !          8358: _LT_EOF
        !          8359: 
        !          8360:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          8361:   (eval $ac_compile) 2>&5
        !          8362:   ac_status=$?
        !          8363:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8364:   test $ac_status = 0; }; then
        !          8365:     # Now try to grab the symbols.
        !          8366:     nlist=conftest.nm
        !          8367:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
        !          8368:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
        !          8369:   ac_status=$?
        !          8370:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8371:   test $ac_status = 0; } && test -s "$nlist"; then
        !          8372:       # Try sorting and uniquifying the output.
        !          8373:       if sort "$nlist" | uniq > "$nlist"T; then
        !          8374:        mv -f "$nlist"T "$nlist"
        !          8375:       else
        !          8376:        rm -f "$nlist"T
        !          8377:       fi
        !          8378: 
        !          8379:       # Make sure that we snagged all the symbols we need.
        !          8380:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
        !          8381:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
        !          8382:          cat <<_LT_EOF > conftest.$ac_ext
        !          8383: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
        !          8384: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
        !          8385: /* DATA imports from DLLs on WIN32 con't be const, because runtime
        !          8386:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
        !          8387: # define LT_DLSYM_CONST
        !          8388: #elif defined(__osf__)
        !          8389: /* This system does not cope well with relocations in const data.  */
        !          8390: # define LT_DLSYM_CONST
        !          8391: #else
        !          8392: # define LT_DLSYM_CONST const
        !          8393: #endif
        !          8394: 
        !          8395: #ifdef __cplusplus
        !          8396: extern "C" {
        !          8397: #endif
        !          8398: 
        !          8399: _LT_EOF
        !          8400:          # Now generate the symbol file.
        !          8401:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.1       misho    8402: 
1.1.1.5 ! misho    8403:          cat <<_LT_EOF >> conftest.$ac_ext
1.1       misho    8404: 
1.1.1.5 ! misho    8405: /* The mapping between symbol names and symbols.  */
        !          8406: LT_DLSYM_CONST struct {
        !          8407:   const char *name;
        !          8408:   void       *address;
        !          8409: }
        !          8410: lt__PROGRAM__LTX_preloaded_symbols[] =
        !          8411: {
        !          8412:   { "@PROGRAM@", (void *) 0 },
        !          8413: _LT_EOF
        !          8414:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
        !          8415:          cat <<\_LT_EOF >> conftest.$ac_ext
        !          8416:   {0, (void *) 0}
        !          8417: };
1.1       misho    8418: 
1.1.1.5 ! misho    8419: /* This works around a problem in FreeBSD linker */
        !          8420: #ifdef FREEBSD_WORKAROUND
        !          8421: static const void *lt_preloaded_setup() {
        !          8422:   return lt__PROGRAM__LTX_preloaded_symbols;
        !          8423: }
        !          8424: #endif
1.1       misho    8425: 
1.1.1.5 ! misho    8426: #ifdef __cplusplus
        !          8427: }
        !          8428: #endif
        !          8429: _LT_EOF
        !          8430:          # Now try linking the two files.
        !          8431:          mv conftest.$ac_objext conftstm.$ac_objext
        !          8432:          lt_globsym_save_LIBS=$LIBS
        !          8433:          lt_globsym_save_CFLAGS=$CFLAGS
        !          8434:          LIBS="conftstm.$ac_objext"
        !          8435:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
        !          8436:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
        !          8437:   (eval $ac_link) 2>&5
        !          8438:   ac_status=$?
        !          8439:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8440:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
        !          8441:            pipe_works=yes
        !          8442:          fi
        !          8443:          LIBS=$lt_globsym_save_LIBS
        !          8444:          CFLAGS=$lt_globsym_save_CFLAGS
        !          8445:        else
        !          8446:          echo "cannot find nm_test_func in $nlist" >&5
        !          8447:        fi
        !          8448:       else
        !          8449:        echo "cannot find nm_test_var in $nlist" >&5
        !          8450:       fi
        !          8451:     else
        !          8452:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
        !          8453:     fi
        !          8454:   else
        !          8455:     echo "$progname: failed program was:" >&5
        !          8456:     cat conftest.$ac_ext >&5
        !          8457:   fi
        !          8458:   rm -rf conftest* conftst*
1.1       misho    8459: 
1.1.1.5 ! misho    8460:   # Do not use the global_symbol_pipe unless it works.
        !          8461:   if test "$pipe_works" = yes; then
        !          8462:     break
        !          8463:   else
        !          8464:     lt_cv_sys_global_symbol_pipe=
        !          8465:   fi
        !          8466: done
1.1       misho    8467: 
1.1.1.5 ! misho    8468: fi
1.1       misho    8469: 
1.1.1.5 ! misho    8470: if test -z "$lt_cv_sys_global_symbol_pipe"; then
        !          8471:   lt_cv_sys_global_symbol_to_cdecl=
        !          8472: fi
        !          8473: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
        !          8474:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
        !          8475: $as_echo "failed" >&6; }
        !          8476: else
        !          8477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
        !          8478: $as_echo "ok" >&6; }
        !          8479: fi
1.1       misho    8480: 
1.1.1.5 ! misho    8481: # Response file support.
        !          8482: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          8483:   nm_file_list_spec='@'
        !          8484: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
        !          8485:   nm_file_list_spec='@'
        !          8486: fi
1.1       misho    8487: 
                   8488: 
                   8489: 
                   8490: 
                   8491: 
                   8492: 
                   8493: 
                   8494: 
                   8495: 
                   8496: 
                   8497: 
                   8498: 
                   8499: 
                   8500: 
                   8501: 
                   8502: 
                   8503: 
                   8504: 
1.1.1.2   misho    8505: 
                   8506: 
                   8507: 
                   8508: 
1.1       misho    8509: 
                   8510: 
                   8511: 
                   8512: 
                   8513: 
1.1.1.5 ! misho    8514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          8515: $as_echo_n "checking for sysroot... " >&6; }
1.1       misho    8516: 
1.1.1.5 ! misho    8517: # Check whether --with-sysroot was given.
        !          8518: if test "${with_sysroot+set}" = set; then :
        !          8519:   withval=$with_sysroot;
        !          8520: else
        !          8521:   with_sysroot=no
        !          8522: fi
1.1       misho    8523: 
                   8524: 
1.1.1.5 ! misho    8525: lt_sysroot=
        !          8526: case ${with_sysroot} in #(
        !          8527:  yes)
        !          8528:    if test "$GCC" = yes; then
        !          8529:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
        !          8530:    fi
        !          8531:    ;; #(
        !          8532:  /*)
        !          8533:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
        !          8534:    ;; #(
        !          8535:  no|'')
        !          8536:    ;; #(
        !          8537:  *)
        !          8538:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
        !          8539: $as_echo "${with_sysroot}" >&6; }
        !          8540:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          8541:    ;;
        !          8542: esac
1.1       misho    8543: 
1.1.1.5 ! misho    8544:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          8545: $as_echo "${lt_sysroot:-no}" >&6; }
1.1       misho    8546: 
                   8547: 
                   8548: 
                   8549: 
                   8550: 
1.1.1.5 ! misho    8551: # Check whether --enable-libtool-lock was given.
        !          8552: if test "${enable_libtool_lock+set}" = set; then :
        !          8553:   enableval=$enable_libtool_lock;
1.1       misho    8554: fi
                   8555: 
1.1.1.5 ! misho    8556: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
        !          8557: 
        !          8558: # Some flags need to be propagated to the compiler or linker for good
        !          8559: # libtool support.
        !          8560: case $host in
        !          8561: ia64-*-hpux*)
        !          8562:   # Find out which ABI we are using.
        !          8563:   echo 'int i;' > conftest.$ac_ext
        !          8564:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          8565:   (eval $ac_compile) 2>&5
        !          8566:   ac_status=$?
        !          8567:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8568:   test $ac_status = 0; }; then
        !          8569:     case `/usr/bin/file conftest.$ac_objext` in
        !          8570:       *ELF-32*)
        !          8571:        HPUX_IA64_MODE="32"
        !          8572:        ;;
        !          8573:       *ELF-64*)
        !          8574:        HPUX_IA64_MODE="64"
        !          8575:        ;;
        !          8576:     esac
        !          8577:   fi
        !          8578:   rm -rf conftest*
        !          8579:   ;;
        !          8580: *-*-irix6*)
        !          8581:   # Find out which ABI we are using.
        !          8582:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          8583:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          8584:   (eval $ac_compile) 2>&5
        !          8585:   ac_status=$?
        !          8586:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8587:   test $ac_status = 0; }; then
        !          8588:     if test "$lt_cv_prog_gnu_ld" = yes; then
        !          8589:       case `/usr/bin/file conftest.$ac_objext` in
        !          8590:        *32-bit*)
        !          8591:          LD="${LD-ld} -melf32bsmip"
        !          8592:          ;;
        !          8593:        *N32*)
        !          8594:          LD="${LD-ld} -melf32bmipn32"
        !          8595:          ;;
        !          8596:        *64-bit*)
        !          8597:          LD="${LD-ld} -melf64bmip"
        !          8598:        ;;
        !          8599:       esac
        !          8600:     else
        !          8601:       case `/usr/bin/file conftest.$ac_objext` in
        !          8602:        *32-bit*)
        !          8603:          LD="${LD-ld} -32"
        !          8604:          ;;
        !          8605:        *N32*)
        !          8606:          LD="${LD-ld} -n32"
        !          8607:          ;;
        !          8608:        *64-bit*)
        !          8609:          LD="${LD-ld} -64"
        !          8610:          ;;
        !          8611:       esac
        !          8612:     fi
        !          8613:   fi
        !          8614:   rm -rf conftest*
        !          8615:   ;;
        !          8616: 
        !          8617: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
        !          8618: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
        !          8619:   # Find out which ABI we are using.
        !          8620:   echo 'int i;' > conftest.$ac_ext
        !          8621:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          8622:   (eval $ac_compile) 2>&5
        !          8623:   ac_status=$?
        !          8624:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8625:   test $ac_status = 0; }; then
        !          8626:     case `/usr/bin/file conftest.o` in
        !          8627:       *32-bit*)
        !          8628:        case $host in
        !          8629:          x86_64-*kfreebsd*-gnu)
        !          8630:            LD="${LD-ld} -m elf_i386_fbsd"
        !          8631:            ;;
        !          8632:          x86_64-*linux*)
        !          8633:            LD="${LD-ld} -m elf_i386"
        !          8634:            ;;
        !          8635:          ppc64-*linux*|powerpc64-*linux*)
        !          8636:            LD="${LD-ld} -m elf32ppclinux"
        !          8637:            ;;
        !          8638:          s390x-*linux*)
        !          8639:            LD="${LD-ld} -m elf_s390"
        !          8640:            ;;
        !          8641:          sparc64-*linux*)
        !          8642:            LD="${LD-ld} -m elf32_sparc"
        !          8643:            ;;
        !          8644:        esac
        !          8645:        ;;
        !          8646:       *64-bit*)
        !          8647:        case $host in
        !          8648:          x86_64-*kfreebsd*-gnu)
        !          8649:            LD="${LD-ld} -m elf_x86_64_fbsd"
        !          8650:            ;;
        !          8651:          x86_64-*linux*)
        !          8652:            LD="${LD-ld} -m elf_x86_64"
        !          8653:            ;;
        !          8654:          ppc*-*linux*|powerpc*-*linux*)
        !          8655:            LD="${LD-ld} -m elf64ppc"
        !          8656:            ;;
        !          8657:          s390*-*linux*|s390*-*tpf*)
        !          8658:            LD="${LD-ld} -m elf64_s390"
        !          8659:            ;;
        !          8660:          sparc*-*linux*)
        !          8661:            LD="${LD-ld} -m elf64_sparc"
        !          8662:            ;;
        !          8663:        esac
        !          8664:        ;;
        !          8665:     esac
        !          8666:   fi
        !          8667:   rm -rf conftest*
        !          8668:   ;;
        !          8669: 
        !          8670: *-*-sco3.2v5*)
        !          8671:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
        !          8672:   SAVE_CFLAGS="$CFLAGS"
        !          8673:   CFLAGS="$CFLAGS -belf"
        !          8674:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
        !          8675: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
        !          8676: if ${lt_cv_cc_needs_belf+:} false; then :
        !          8677:   $as_echo_n "(cached) " >&6
        !          8678: else
        !          8679:   ac_ext=c
        !          8680: ac_cpp='$CPP $CPPFLAGS'
        !          8681: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          8682: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          8683: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          8684: 
        !          8685:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          8686: /* end confdefs.h.  */
        !          8687: 
        !          8688: int
        !          8689: main ()
        !          8690: {
        !          8691: 
        !          8692:   ;
        !          8693:   return 0;
        !          8694: }
        !          8695: _ACEOF
        !          8696: if ac_fn_c_try_link "$LINENO"; then :
        !          8697:   lt_cv_cc_needs_belf=yes
        !          8698: else
        !          8699:   lt_cv_cc_needs_belf=no
        !          8700: fi
        !          8701: rm -f core conftest.err conftest.$ac_objext \
        !          8702:     conftest$ac_exeext conftest.$ac_ext
        !          8703:      ac_ext=c
        !          8704: ac_cpp='$CPP $CPPFLAGS'
        !          8705: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          8706: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          8707: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          8708: 
        !          8709: fi
        !          8710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
        !          8711: $as_echo "$lt_cv_cc_needs_belf" >&6; }
        !          8712:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
        !          8713:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
        !          8714:     CFLAGS="$SAVE_CFLAGS"
        !          8715:   fi
        !          8716:   ;;
        !          8717: *-*solaris*)
        !          8718:   # Find out which ABI we are using.
        !          8719:   echo 'int i;' > conftest.$ac_ext
        !          8720:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          8721:   (eval $ac_compile) 2>&5
        !          8722:   ac_status=$?
        !          8723:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          8724:   test $ac_status = 0; }; then
        !          8725:     case `/usr/bin/file conftest.o` in
        !          8726:     *64-bit*)
        !          8727:       case $lt_cv_prog_gnu_ld in
        !          8728:       yes*)
        !          8729:         case $host in
        !          8730:         i?86-*-solaris*)
        !          8731:           LD="${LD-ld} -m elf_x86_64"
        !          8732:           ;;
        !          8733:         sparc*-*-solaris*)
        !          8734:           LD="${LD-ld} -m elf64_sparc"
        !          8735:           ;;
        !          8736:         esac
        !          8737:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          8738:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          8739:           LD="${LD-ld}_sol2"
        !          8740:         fi
        !          8741:         ;;
        !          8742:       *)
        !          8743:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
        !          8744:          LD="${LD-ld} -64"
        !          8745:        fi
        !          8746:        ;;
        !          8747:       esac
        !          8748:       ;;
        !          8749:     esac
        !          8750:   fi
        !          8751:   rm -rf conftest*
        !          8752:   ;;
        !          8753: esac
        !          8754: 
        !          8755: need_locks="$enable_libtool_lock"
        !          8756: 
        !          8757: if test -n "$ac_tool_prefix"; then
        !          8758:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
        !          8759: set dummy ${ac_tool_prefix}mt; ac_word=$2
        !          8760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8761: $as_echo_n "checking for $ac_word... " >&6; }
        !          8762: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          8763:   $as_echo_n "(cached) " >&6
        !          8764: else
        !          8765:   if test -n "$MANIFEST_TOOL"; then
        !          8766:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
        !          8767: else
        !          8768: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8769: for as_dir in $PATH
        !          8770: do
        !          8771:   IFS=$as_save_IFS
        !          8772:   test -z "$as_dir" && as_dir=.
        !          8773:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8774:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8775:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
        !          8776:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8777:     break 2
        !          8778:   fi
        !          8779: done
        !          8780:   done
        !          8781: IFS=$as_save_IFS
        !          8782: 
        !          8783: fi
        !          8784: fi
        !          8785: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
        !          8786: if test -n "$MANIFEST_TOOL"; then
        !          8787:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          8788: $as_echo "$MANIFEST_TOOL" >&6; }
        !          8789: else
        !          8790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8791: $as_echo "no" >&6; }
        !          8792: fi
        !          8793: 
        !          8794: 
        !          8795: fi
        !          8796: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
        !          8797:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
        !          8798:   # Extract the first word of "mt", so it can be a program name with args.
        !          8799: set dummy mt; ac_word=$2
        !          8800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8801: $as_echo_n "checking for $ac_word... " >&6; }
        !          8802: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          8803:   $as_echo_n "(cached) " >&6
        !          8804: else
        !          8805:   if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          8806:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
        !          8807: else
        !          8808: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8809: for as_dir in $PATH
        !          8810: do
        !          8811:   IFS=$as_save_IFS
        !          8812:   test -z "$as_dir" && as_dir=.
        !          8813:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8814:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8815:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
        !          8816:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8817:     break 2
        !          8818:   fi
        !          8819: done
        !          8820:   done
        !          8821: IFS=$as_save_IFS
        !          8822: 
        !          8823: fi
        !          8824: fi
        !          8825: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
        !          8826: if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          8827:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          8828: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
        !          8829: else
        !          8830:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8831: $as_echo "no" >&6; }
        !          8832: fi
        !          8833: 
        !          8834:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          8835:     MANIFEST_TOOL=":"
        !          8836:   else
        !          8837:     case $cross_compiling:$ac_tool_warned in
        !          8838: yes:)
        !          8839: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8840: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8841: ac_tool_warned=yes ;;
        !          8842: esac
        !          8843:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          8844:   fi
        !          8845: else
        !          8846:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
        !          8847: fi
        !          8848: 
        !          8849: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
        !          8850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          8851: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          8852: if ${lt_cv_path_mainfest_tool+:} false; then :
        !          8853:   $as_echo_n "(cached) " >&6
        !          8854: else
        !          8855:   lt_cv_path_mainfest_tool=no
        !          8856:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
        !          8857:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
        !          8858:   cat conftest.err >&5
        !          8859:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
        !          8860:     lt_cv_path_mainfest_tool=yes
        !          8861:   fi
        !          8862:   rm -f conftest*
        !          8863: fi
        !          8864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          8865: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
        !          8866: if test "x$lt_cv_path_mainfest_tool" != xyes; then
        !          8867:   MANIFEST_TOOL=:
        !          8868: fi
        !          8869: 
        !          8870: 
        !          8871: 
        !          8872: 
        !          8873: 
        !          8874: 
        !          8875:   case $host_os in
        !          8876:     rhapsody* | darwin*)
        !          8877:     if test -n "$ac_tool_prefix"; then
        !          8878:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
        !          8879: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
        !          8880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8881: $as_echo_n "checking for $ac_word... " >&6; }
        !          8882: if ${ac_cv_prog_DSYMUTIL+:} false; then :
        !          8883:   $as_echo_n "(cached) " >&6
        !          8884: else
        !          8885:   if test -n "$DSYMUTIL"; then
        !          8886:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
        !          8887: else
        !          8888: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8889: for as_dir in $PATH
        !          8890: do
        !          8891:   IFS=$as_save_IFS
        !          8892:   test -z "$as_dir" && as_dir=.
        !          8893:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8894:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8895:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
        !          8896:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8897:     break 2
        !          8898:   fi
        !          8899: done
        !          8900:   done
        !          8901: IFS=$as_save_IFS
        !          8902: 
        !          8903: fi
        !          8904: fi
        !          8905: DSYMUTIL=$ac_cv_prog_DSYMUTIL
        !          8906: if test -n "$DSYMUTIL"; then
        !          8907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
        !          8908: $as_echo "$DSYMUTIL" >&6; }
        !          8909: else
        !          8910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8911: $as_echo "no" >&6; }
        !          8912: fi
        !          8913: 
        !          8914: 
        !          8915: fi
        !          8916: if test -z "$ac_cv_prog_DSYMUTIL"; then
        !          8917:   ac_ct_DSYMUTIL=$DSYMUTIL
        !          8918:   # Extract the first word of "dsymutil", so it can be a program name with args.
        !          8919: set dummy dsymutil; ac_word=$2
        !          8920: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8921: $as_echo_n "checking for $ac_word... " >&6; }
        !          8922: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
        !          8923:   $as_echo_n "(cached) " >&6
        !          8924: else
        !          8925:   if test -n "$ac_ct_DSYMUTIL"; then
        !          8926:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
        !          8927: else
        !          8928: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8929: for as_dir in $PATH
        !          8930: do
        !          8931:   IFS=$as_save_IFS
        !          8932:   test -z "$as_dir" && as_dir=.
        !          8933:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8934:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8935:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
        !          8936:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8937:     break 2
        !          8938:   fi
        !          8939: done
        !          8940:   done
        !          8941: IFS=$as_save_IFS
        !          8942: 
        !          8943: fi
        !          8944: fi
        !          8945: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
        !          8946: if test -n "$ac_ct_DSYMUTIL"; then
        !          8947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
        !          8948: $as_echo "$ac_ct_DSYMUTIL" >&6; }
        !          8949: else
        !          8950:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          8951: $as_echo "no" >&6; }
        !          8952: fi
        !          8953: 
        !          8954:   if test "x$ac_ct_DSYMUTIL" = x; then
        !          8955:     DSYMUTIL=":"
        !          8956:   else
        !          8957:     case $cross_compiling:$ac_tool_warned in
        !          8958: yes:)
        !          8959: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          8960: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          8961: ac_tool_warned=yes ;;
        !          8962: esac
        !          8963:     DSYMUTIL=$ac_ct_DSYMUTIL
        !          8964:   fi
        !          8965: else
        !          8966:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
        !          8967: fi
        !          8968: 
        !          8969:     if test -n "$ac_tool_prefix"; then
        !          8970:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
        !          8971: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
        !          8972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          8973: $as_echo_n "checking for $ac_word... " >&6; }
        !          8974: if ${ac_cv_prog_NMEDIT+:} false; then :
        !          8975:   $as_echo_n "(cached) " >&6
        !          8976: else
        !          8977:   if test -n "$NMEDIT"; then
        !          8978:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
        !          8979: else
        !          8980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          8981: for as_dir in $PATH
        !          8982: do
        !          8983:   IFS=$as_save_IFS
        !          8984:   test -z "$as_dir" && as_dir=.
        !          8985:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          8986:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          8987:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
        !          8988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          8989:     break 2
        !          8990:   fi
        !          8991: done
        !          8992:   done
        !          8993: IFS=$as_save_IFS
        !          8994: 
        !          8995: fi
        !          8996: fi
        !          8997: NMEDIT=$ac_cv_prog_NMEDIT
        !          8998: if test -n "$NMEDIT"; then
        !          8999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
        !          9000: $as_echo "$NMEDIT" >&6; }
        !          9001: else
        !          9002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9003: $as_echo "no" >&6; }
        !          9004: fi
        !          9005: 
        !          9006: 
        !          9007: fi
        !          9008: if test -z "$ac_cv_prog_NMEDIT"; then
        !          9009:   ac_ct_NMEDIT=$NMEDIT
        !          9010:   # Extract the first word of "nmedit", so it can be a program name with args.
        !          9011: set dummy nmedit; ac_word=$2
        !          9012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9013: $as_echo_n "checking for $ac_word... " >&6; }
        !          9014: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
        !          9015:   $as_echo_n "(cached) " >&6
        !          9016: else
        !          9017:   if test -n "$ac_ct_NMEDIT"; then
        !          9018:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
        !          9019: else
        !          9020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9021: for as_dir in $PATH
        !          9022: do
        !          9023:   IFS=$as_save_IFS
        !          9024:   test -z "$as_dir" && as_dir=.
        !          9025:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9026:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9027:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
        !          9028:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9029:     break 2
        !          9030:   fi
        !          9031: done
        !          9032:   done
        !          9033: IFS=$as_save_IFS
        !          9034: 
        !          9035: fi
        !          9036: fi
        !          9037: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
        !          9038: if test -n "$ac_ct_NMEDIT"; then
        !          9039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
        !          9040: $as_echo "$ac_ct_NMEDIT" >&6; }
        !          9041: else
        !          9042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9043: $as_echo "no" >&6; }
        !          9044: fi
        !          9045: 
        !          9046:   if test "x$ac_ct_NMEDIT" = x; then
        !          9047:     NMEDIT=":"
        !          9048:   else
        !          9049:     case $cross_compiling:$ac_tool_warned in
        !          9050: yes:)
        !          9051: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9052: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9053: ac_tool_warned=yes ;;
        !          9054: esac
        !          9055:     NMEDIT=$ac_ct_NMEDIT
        !          9056:   fi
        !          9057: else
        !          9058:   NMEDIT="$ac_cv_prog_NMEDIT"
        !          9059: fi
        !          9060: 
        !          9061:     if test -n "$ac_tool_prefix"; then
        !          9062:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
        !          9063: set dummy ${ac_tool_prefix}lipo; ac_word=$2
        !          9064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9065: $as_echo_n "checking for $ac_word... " >&6; }
        !          9066: if ${ac_cv_prog_LIPO+:} false; then :
        !          9067:   $as_echo_n "(cached) " >&6
        !          9068: else
        !          9069:   if test -n "$LIPO"; then
        !          9070:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
        !          9071: else
        !          9072: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9073: for as_dir in $PATH
        !          9074: do
        !          9075:   IFS=$as_save_IFS
        !          9076:   test -z "$as_dir" && as_dir=.
        !          9077:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9078:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9079:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
        !          9080:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9081:     break 2
        !          9082:   fi
        !          9083: done
        !          9084:   done
        !          9085: IFS=$as_save_IFS
        !          9086: 
        !          9087: fi
        !          9088: fi
        !          9089: LIPO=$ac_cv_prog_LIPO
        !          9090: if test -n "$LIPO"; then
        !          9091:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
        !          9092: $as_echo "$LIPO" >&6; }
        !          9093: else
        !          9094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9095: $as_echo "no" >&6; }
        !          9096: fi
        !          9097: 
        !          9098: 
        !          9099: fi
        !          9100: if test -z "$ac_cv_prog_LIPO"; then
        !          9101:   ac_ct_LIPO=$LIPO
        !          9102:   # Extract the first word of "lipo", so it can be a program name with args.
        !          9103: set dummy lipo; ac_word=$2
        !          9104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9105: $as_echo_n "checking for $ac_word... " >&6; }
        !          9106: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
        !          9107:   $as_echo_n "(cached) " >&6
        !          9108: else
        !          9109:   if test -n "$ac_ct_LIPO"; then
        !          9110:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
        !          9111: else
        !          9112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9113: for as_dir in $PATH
        !          9114: do
        !          9115:   IFS=$as_save_IFS
        !          9116:   test -z "$as_dir" && as_dir=.
        !          9117:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9118:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9119:     ac_cv_prog_ac_ct_LIPO="lipo"
        !          9120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9121:     break 2
        !          9122:   fi
        !          9123: done
        !          9124:   done
        !          9125: IFS=$as_save_IFS
        !          9126: 
        !          9127: fi
        !          9128: fi
        !          9129: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
        !          9130: if test -n "$ac_ct_LIPO"; then
        !          9131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
        !          9132: $as_echo "$ac_ct_LIPO" >&6; }
        !          9133: else
        !          9134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9135: $as_echo "no" >&6; }
        !          9136: fi
        !          9137: 
        !          9138:   if test "x$ac_ct_LIPO" = x; then
        !          9139:     LIPO=":"
        !          9140:   else
        !          9141:     case $cross_compiling:$ac_tool_warned in
        !          9142: yes:)
        !          9143: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9144: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9145: ac_tool_warned=yes ;;
        !          9146: esac
        !          9147:     LIPO=$ac_ct_LIPO
        !          9148:   fi
        !          9149: else
        !          9150:   LIPO="$ac_cv_prog_LIPO"
        !          9151: fi
        !          9152: 
        !          9153:     if test -n "$ac_tool_prefix"; then
        !          9154:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
        !          9155: set dummy ${ac_tool_prefix}otool; ac_word=$2
        !          9156: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9157: $as_echo_n "checking for $ac_word... " >&6; }
        !          9158: if ${ac_cv_prog_OTOOL+:} false; then :
        !          9159:   $as_echo_n "(cached) " >&6
        !          9160: else
        !          9161:   if test -n "$OTOOL"; then
        !          9162:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
        !          9163: else
        !          9164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9165: for as_dir in $PATH
        !          9166: do
        !          9167:   IFS=$as_save_IFS
        !          9168:   test -z "$as_dir" && as_dir=.
        !          9169:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9170:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9171:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
        !          9172:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9173:     break 2
        !          9174:   fi
        !          9175: done
        !          9176:   done
        !          9177: IFS=$as_save_IFS
        !          9178: 
        !          9179: fi
        !          9180: fi
        !          9181: OTOOL=$ac_cv_prog_OTOOL
        !          9182: if test -n "$OTOOL"; then
        !          9183:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
        !          9184: $as_echo "$OTOOL" >&6; }
        !          9185: else
        !          9186:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9187: $as_echo "no" >&6; }
        !          9188: fi
        !          9189: 
        !          9190: 
        !          9191: fi
        !          9192: if test -z "$ac_cv_prog_OTOOL"; then
        !          9193:   ac_ct_OTOOL=$OTOOL
        !          9194:   # Extract the first word of "otool", so it can be a program name with args.
        !          9195: set dummy otool; ac_word=$2
        !          9196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9197: $as_echo_n "checking for $ac_word... " >&6; }
        !          9198: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
        !          9199:   $as_echo_n "(cached) " >&6
        !          9200: else
        !          9201:   if test -n "$ac_ct_OTOOL"; then
        !          9202:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
        !          9203: else
        !          9204: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9205: for as_dir in $PATH
        !          9206: do
        !          9207:   IFS=$as_save_IFS
        !          9208:   test -z "$as_dir" && as_dir=.
        !          9209:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9210:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9211:     ac_cv_prog_ac_ct_OTOOL="otool"
        !          9212:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9213:     break 2
        !          9214:   fi
        !          9215: done
        !          9216:   done
        !          9217: IFS=$as_save_IFS
        !          9218: 
        !          9219: fi
        !          9220: fi
        !          9221: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
        !          9222: if test -n "$ac_ct_OTOOL"; then
        !          9223:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
        !          9224: $as_echo "$ac_ct_OTOOL" >&6; }
        !          9225: else
        !          9226:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9227: $as_echo "no" >&6; }
        !          9228: fi
        !          9229: 
        !          9230:   if test "x$ac_ct_OTOOL" = x; then
        !          9231:     OTOOL=":"
        !          9232:   else
        !          9233:     case $cross_compiling:$ac_tool_warned in
        !          9234: yes:)
        !          9235: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9236: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9237: ac_tool_warned=yes ;;
        !          9238: esac
        !          9239:     OTOOL=$ac_ct_OTOOL
        !          9240:   fi
        !          9241: else
        !          9242:   OTOOL="$ac_cv_prog_OTOOL"
        !          9243: fi
        !          9244: 
        !          9245:     if test -n "$ac_tool_prefix"; then
        !          9246:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
        !          9247: set dummy ${ac_tool_prefix}otool64; ac_word=$2
        !          9248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9249: $as_echo_n "checking for $ac_word... " >&6; }
        !          9250: if ${ac_cv_prog_OTOOL64+:} false; then :
        !          9251:   $as_echo_n "(cached) " >&6
        !          9252: else
        !          9253:   if test -n "$OTOOL64"; then
        !          9254:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
        !          9255: else
        !          9256: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9257: for as_dir in $PATH
        !          9258: do
        !          9259:   IFS=$as_save_IFS
        !          9260:   test -z "$as_dir" && as_dir=.
        !          9261:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9262:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9263:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
        !          9264:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9265:     break 2
        !          9266:   fi
        !          9267: done
        !          9268:   done
        !          9269: IFS=$as_save_IFS
        !          9270: 
        !          9271: fi
        !          9272: fi
        !          9273: OTOOL64=$ac_cv_prog_OTOOL64
        !          9274: if test -n "$OTOOL64"; then
        !          9275:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
        !          9276: $as_echo "$OTOOL64" >&6; }
        !          9277: else
        !          9278:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9279: $as_echo "no" >&6; }
        !          9280: fi
        !          9281: 
        !          9282: 
        !          9283: fi
        !          9284: if test -z "$ac_cv_prog_OTOOL64"; then
        !          9285:   ac_ct_OTOOL64=$OTOOL64
        !          9286:   # Extract the first word of "otool64", so it can be a program name with args.
        !          9287: set dummy otool64; ac_word=$2
        !          9288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          9289: $as_echo_n "checking for $ac_word... " >&6; }
        !          9290: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
        !          9291:   $as_echo_n "(cached) " >&6
        !          9292: else
        !          9293:   if test -n "$ac_ct_OTOOL64"; then
        !          9294:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
        !          9295: else
        !          9296: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          9297: for as_dir in $PATH
        !          9298: do
        !          9299:   IFS=$as_save_IFS
        !          9300:   test -z "$as_dir" && as_dir=.
        !          9301:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          9302:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          9303:     ac_cv_prog_ac_ct_OTOOL64="otool64"
        !          9304:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          9305:     break 2
        !          9306:   fi
        !          9307: done
        !          9308:   done
        !          9309: IFS=$as_save_IFS
        !          9310: 
        !          9311: fi
        !          9312: fi
        !          9313: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
        !          9314: if test -n "$ac_ct_OTOOL64"; then
        !          9315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
        !          9316: $as_echo "$ac_ct_OTOOL64" >&6; }
        !          9317: else
        !          9318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          9319: $as_echo "no" >&6; }
        !          9320: fi
        !          9321: 
        !          9322:   if test "x$ac_ct_OTOOL64" = x; then
        !          9323:     OTOOL64=":"
        !          9324:   else
        !          9325:     case $cross_compiling:$ac_tool_warned in
        !          9326: yes:)
        !          9327: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          9328: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          9329: ac_tool_warned=yes ;;
        !          9330: esac
        !          9331:     OTOOL64=$ac_ct_OTOOL64
        !          9332:   fi
        !          9333: else
        !          9334:   OTOOL64="$ac_cv_prog_OTOOL64"
        !          9335: fi
        !          9336: 
        !          9337: 
        !          9338: 
        !          9339: 
        !          9340: 
        !          9341: 
        !          9342: 
        !          9343: 
        !          9344: 
        !          9345: 
        !          9346: 
        !          9347: 
        !          9348: 
        !          9349: 
        !          9350: 
        !          9351: 
        !          9352: 
        !          9353: 
        !          9354: 
        !          9355: 
        !          9356: 
        !          9357: 
        !          9358: 
        !          9359: 
        !          9360: 
        !          9361: 
        !          9362: 
        !          9363:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
        !          9364: $as_echo_n "checking for -single_module linker flag... " >&6; }
        !          9365: if ${lt_cv_apple_cc_single_mod+:} false; then :
        !          9366:   $as_echo_n "(cached) " >&6
        !          9367: else
        !          9368:   lt_cv_apple_cc_single_mod=no
        !          9369:       if test -z "${LT_MULTI_MODULE}"; then
        !          9370:        # By default we will add the -single_module flag. You can override
        !          9371:        # by either setting the environment variable LT_MULTI_MODULE
        !          9372:        # non-empty at configure time, or by adding -multi_module to the
        !          9373:        # link flags.
        !          9374:        rm -rf libconftest.dylib*
        !          9375:        echo "int foo(void){return 1;}" > conftest.c
        !          9376:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
        !          9377: -dynamiclib -Wl,-single_module conftest.c" >&5
        !          9378:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
        !          9379:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
        !          9380:         _lt_result=$?
        !          9381:        # If there is a non-empty error log, and "single_module"
        !          9382:        # appears in it, assume the flag caused a linker warning
        !          9383:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          9384:          cat conftest.err >&5
        !          9385:        # Otherwise, if the output was created with a 0 exit code from
        !          9386:        # the compiler, it worked.
        !          9387:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
        !          9388:          lt_cv_apple_cc_single_mod=yes
        !          9389:        else
        !          9390:          cat conftest.err >&5
        !          9391:        fi
        !          9392:        rm -rf libconftest.dylib*
        !          9393:        rm -f conftest.*
        !          9394:       fi
        !          9395: fi
        !          9396: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
        !          9397: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
        !          9398: 
        !          9399:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
        !          9400: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
        !          9401: if ${lt_cv_ld_exported_symbols_list+:} false; then :
        !          9402:   $as_echo_n "(cached) " >&6
        !          9403: else
        !          9404:   lt_cv_ld_exported_symbols_list=no
        !          9405:       save_LDFLAGS=$LDFLAGS
        !          9406:       echo "_main" > conftest.sym
        !          9407:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
        !          9408:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          9409: /* end confdefs.h.  */
        !          9410: 
        !          9411: int
        !          9412: main ()
        !          9413: {
        !          9414: 
        !          9415:   ;
        !          9416:   return 0;
        !          9417: }
        !          9418: _ACEOF
        !          9419: if ac_fn_c_try_link "$LINENO"; then :
        !          9420:   lt_cv_ld_exported_symbols_list=yes
        !          9421: else
        !          9422:   lt_cv_ld_exported_symbols_list=no
        !          9423: fi
        !          9424: rm -f core conftest.err conftest.$ac_objext \
        !          9425:     conftest$ac_exeext conftest.$ac_ext
        !          9426:        LDFLAGS="$save_LDFLAGS"
        !          9427: 
        !          9428: fi
        !          9429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
        !          9430: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
        !          9431: 
        !          9432:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          9433: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          9434: if ${lt_cv_ld_force_load+:} false; then :
        !          9435:   $as_echo_n "(cached) " >&6
        !          9436: else
        !          9437:   lt_cv_ld_force_load=no
        !          9438:       cat > conftest.c << _LT_EOF
        !          9439: int forced_loaded() { return 2;}
        !          9440: _LT_EOF
        !          9441:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
        !          9442:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        !          9443:       echo "$AR cru libconftest.a conftest.o" >&5
        !          9444:       $AR cru libconftest.a conftest.o 2>&5
        !          9445:       echo "$RANLIB libconftest.a" >&5
        !          9446:       $RANLIB libconftest.a 2>&5
        !          9447:       cat > conftest.c << _LT_EOF
        !          9448: int main() { return 0;}
        !          9449: _LT_EOF
        !          9450:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
        !          9451:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
        !          9452:       _lt_result=$?
        !          9453:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          9454:        cat conftest.err >&5
        !          9455:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
        !          9456:        lt_cv_ld_force_load=yes
        !          9457:       else
        !          9458:        cat conftest.err >&5
        !          9459:       fi
        !          9460:         rm -f conftest.err libconftest.a conftest conftest.c
        !          9461:         rm -rf conftest.dSYM
        !          9462: 
        !          9463: fi
        !          9464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          9465: $as_echo "$lt_cv_ld_force_load" >&6; }
        !          9466:     case $host_os in
        !          9467:     rhapsody* | darwin1.[012])
        !          9468:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
        !          9469:     darwin1.*)
        !          9470:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
        !          9471:     darwin*) # darwin 5.x on
        !          9472:       # if running on 10.5 or later, the deployment target defaults
        !          9473:       # to the OS version, if on x86, and 10.4, the deployment
        !          9474:       # target defaults to 10.4. Don't you love it?
        !          9475:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
        !          9476:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
        !          9477:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
        !          9478:        10.[012]*)
        !          9479:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
        !          9480:        10.*)
        !          9481:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
        !          9482:       esac
        !          9483:     ;;
        !          9484:   esac
        !          9485:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
        !          9486:       _lt_dar_single_mod='$single_module'
        !          9487:     fi
        !          9488:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
        !          9489:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
        !          9490:     else
        !          9491:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
        !          9492:     fi
        !          9493:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
        !          9494:       _lt_dsymutil='~$DSYMUTIL $lib || :'
        !          9495:     else
        !          9496:       _lt_dsymutil=
        !          9497:     fi
        !          9498:     ;;
        !          9499:   esac
        !          9500: 
        !          9501: for ac_header in dlfcn.h
        !          9502: do :
        !          9503:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
        !          9504: "
        !          9505: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
        !          9506:   cat >>confdefs.h <<_ACEOF
        !          9507: #define HAVE_DLFCN_H 1
        !          9508: _ACEOF
        !          9509: 
        !          9510: fi
        !          9511: 
        !          9512: done
        !          9513: 
        !          9514: 
        !          9515: 
        !          9516: 
        !          9517: 
        !          9518: # Set options
        !          9519: 
        !          9520: 
        !          9521: 
        !          9522:         enable_dlopen=no
        !          9523: 
        !          9524: 
        !          9525:   enable_win32_dll=no
        !          9526: 
        !          9527: 
        !          9528:             # Check whether --enable-shared was given.
        !          9529: if test "${enable_shared+set}" = set; then :
        !          9530:   enableval=$enable_shared; p=${PACKAGE-default}
        !          9531:     case $enableval in
        !          9532:     yes) enable_shared=yes ;;
        !          9533:     no) enable_shared=no ;;
        !          9534:     *)
        !          9535:       enable_shared=no
        !          9536:       # Look at the argument we got.  We use all the common list separators.
        !          9537:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          9538:       for pkg in $enableval; do
        !          9539:        IFS="$lt_save_ifs"
        !          9540:        if test "X$pkg" = "X$p"; then
        !          9541:          enable_shared=yes
        !          9542:        fi
        !          9543:       done
        !          9544:       IFS="$lt_save_ifs"
        !          9545:       ;;
        !          9546:     esac
        !          9547: else
        !          9548:   enable_shared=yes
        !          9549: fi
        !          9550: 
        !          9551: 
        !          9552: 
        !          9553: 
        !          9554: 
        !          9555: 
        !          9556: 
        !          9557: 
        !          9558: 
        !          9559:   # Check whether --enable-static was given.
        !          9560: if test "${enable_static+set}" = set; then :
        !          9561:   enableval=$enable_static; p=${PACKAGE-default}
        !          9562:     case $enableval in
        !          9563:     yes) enable_static=yes ;;
        !          9564:     no) enable_static=no ;;
        !          9565:     *)
        !          9566:      enable_static=no
        !          9567:       # Look at the argument we got.  We use all the common list separators.
        !          9568:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          9569:       for pkg in $enableval; do
        !          9570:        IFS="$lt_save_ifs"
        !          9571:        if test "X$pkg" = "X$p"; then
        !          9572:          enable_static=yes
        !          9573:        fi
        !          9574:       done
        !          9575:       IFS="$lt_save_ifs"
        !          9576:       ;;
        !          9577:     esac
        !          9578: else
        !          9579:   enable_static=yes
        !          9580: fi
        !          9581: 
        !          9582: 
        !          9583: 
        !          9584: 
        !          9585: 
        !          9586: 
        !          9587: 
        !          9588: 
        !          9589: 
        !          9590: 
        !          9591: # Check whether --with-pic was given.
        !          9592: if test "${with_pic+set}" = set; then :
        !          9593:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          9594:     case $withval in
        !          9595:     yes|no) pic_mode=$withval ;;
        !          9596:     *)
        !          9597:       pic_mode=default
        !          9598:       # Look at the argument we got.  We use all the common list separators.
        !          9599:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          9600:       for lt_pkg in $withval; do
        !          9601:        IFS="$lt_save_ifs"
        !          9602:        if test "X$lt_pkg" = "X$lt_p"; then
        !          9603:          pic_mode=yes
        !          9604:        fi
        !          9605:       done
        !          9606:       IFS="$lt_save_ifs"
        !          9607:       ;;
        !          9608:     esac
        !          9609: else
        !          9610:   pic_mode=default
        !          9611: fi
        !          9612: 
        !          9613: 
        !          9614: test -z "$pic_mode" && pic_mode=default
        !          9615: 
        !          9616: 
        !          9617: 
        !          9618: 
        !          9619: 
        !          9620: 
        !          9621: 
        !          9622:   # Check whether --enable-fast-install was given.
        !          9623: if test "${enable_fast_install+set}" = set; then :
        !          9624:   enableval=$enable_fast_install; p=${PACKAGE-default}
        !          9625:     case $enableval in
        !          9626:     yes) enable_fast_install=yes ;;
        !          9627:     no) enable_fast_install=no ;;
        !          9628:     *)
        !          9629:       enable_fast_install=no
        !          9630:       # Look at the argument we got.  We use all the common list separators.
        !          9631:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          9632:       for pkg in $enableval; do
        !          9633:        IFS="$lt_save_ifs"
        !          9634:        if test "X$pkg" = "X$p"; then
        !          9635:          enable_fast_install=yes
        !          9636:        fi
        !          9637:       done
        !          9638:       IFS="$lt_save_ifs"
        !          9639:       ;;
        !          9640:     esac
        !          9641: else
        !          9642:   enable_fast_install=yes
        !          9643: fi
        !          9644: 
        !          9645: 
        !          9646: 
        !          9647: 
        !          9648: 
        !          9649: 
        !          9650: 
        !          9651: 
        !          9652: 
        !          9653: 
        !          9654: 
        !          9655: # This can be used to rebuild libtool when needed
        !          9656: LIBTOOL_DEPS="$ltmain"
        !          9657: 
        !          9658: # Always use our own libtool.
        !          9659: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
        !          9660: 
        !          9661: 
        !          9662: 
        !          9663: 
        !          9664: 
        !          9665: 
        !          9666: 
        !          9667: 
        !          9668: 
        !          9669: 
        !          9670: 
        !          9671: 
        !          9672: 
        !          9673: 
        !          9674: 
        !          9675: 
        !          9676: 
        !          9677: 
        !          9678: 
        !          9679: 
        !          9680: 
        !          9681: 
        !          9682: 
        !          9683: 
        !          9684: 
        !          9685: 
        !          9686: 
        !          9687: 
        !          9688: 
        !          9689: 
        !          9690: test -z "$LN_S" && LN_S="ln -s"
        !          9691: 
        !          9692: 
        !          9693: 
        !          9694: 
        !          9695: 
        !          9696: 
        !          9697: 
        !          9698: 
        !          9699: 
        !          9700: 
        !          9701: 
        !          9702: 
        !          9703: 
        !          9704: 
        !          9705: if test -n "${ZSH_VERSION+set}" ; then
        !          9706:    setopt NO_GLOB_SUBST
        !          9707: fi
        !          9708: 
        !          9709: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
        !          9710: $as_echo_n "checking for objdir... " >&6; }
1.1       misho    9711: if ${lt_cv_objdir+:} false; then :
                   9712:   $as_echo_n "(cached) " >&6
                   9713: else
                   9714:   rm -f .libs 2>/dev/null
                   9715: mkdir .libs 2>/dev/null
                   9716: if test -d .libs; then
                   9717:   lt_cv_objdir=.libs
                   9718: else
                   9719:   # MS-DOS does not allow filenames that begin with a dot.
                   9720:   lt_cv_objdir=_libs
                   9721: fi
                   9722: rmdir .libs 2>/dev/null
                   9723: fi
                   9724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   9725: $as_echo "$lt_cv_objdir" >&6; }
                   9726: objdir=$lt_cv_objdir
                   9727: 
                   9728: 
                   9729: 
                   9730: 
                   9731: 
                   9732: cat >>confdefs.h <<_ACEOF
                   9733: #define LT_OBJDIR "$lt_cv_objdir/"
                   9734: _ACEOF
                   9735: 
                   9736: 
                   9737: 
                   9738: 
                   9739: case $host_os in
                   9740: aix3*)
                   9741:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   9742:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   9743:   # vanish in a puff of smoke.
                   9744:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   9745:     COLLECT_NAMES=
                   9746:     export COLLECT_NAMES
                   9747:   fi
                   9748:   ;;
                   9749: esac
                   9750: 
                   9751: # Global variables:
                   9752: ofile=libtool
                   9753: can_build_shared=yes
                   9754: 
                   9755: # All known linkers require a `.a' archive for static linking (except MSVC,
                   9756: # which needs '.lib').
                   9757: libext=a
                   9758: 
                   9759: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   9760: 
                   9761: old_CC="$CC"
                   9762: old_CFLAGS="$CFLAGS"
                   9763: 
                   9764: # Set sane defaults for various variables
                   9765: test -z "$CC" && CC=cc
                   9766: test -z "$LTCC" && LTCC=$CC
                   9767: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   9768: test -z "$LD" && LD=ld
                   9769: test -z "$ac_objext" && ac_objext=o
                   9770: 
                   9771: for cc_temp in $compiler""; do
                   9772:   case $cc_temp in
                   9773:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   9774:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   9775:     \-*) ;;
                   9776:     *) break;;
                   9777:   esac
                   9778: done
                   9779: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   9780: 
                   9781: 
                   9782: # Only perform the check for file, if the check method requires it
                   9783: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   9784: case $deplibs_check_method in
                   9785: file_magic*)
                   9786:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   9787:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   9788: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   9789: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9790:   $as_echo_n "(cached) " >&6
                   9791: else
                   9792:   case $MAGIC_CMD in
                   9793: [\\/*] |  ?:[\\/]*)
                   9794:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9795:   ;;
                   9796: *)
                   9797:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9798:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9799:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9800:   for ac_dir in $ac_dummy; do
                   9801:     IFS="$lt_save_ifs"
                   9802:     test -z "$ac_dir" && ac_dir=.
                   9803:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   9804:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   9805:       if test -n "$file_magic_test_file"; then
                   9806:        case $deplibs_check_method in
                   9807:        "file_magic "*)
                   9808:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9809:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9810:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9811:            $EGREP "$file_magic_regex" > /dev/null; then
                   9812:            :
                   9813:          else
                   9814:            cat <<_LT_EOF 1>&2
                   9815: 
                   9816: *** Warning: the command libtool uses to detect shared libraries,
                   9817: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9818: *** The result is that libtool may fail to recognize shared libraries
                   9819: *** as such.  This will affect the creation of libtool libraries that
                   9820: *** depend on shared libraries, but programs linked with such libtool
                   9821: *** libraries will work regardless of this problem.  Nevertheless, you
                   9822: *** may want to report the problem to your system manager and/or to
                   9823: *** bug-libtool@gnu.org
                   9824: 
                   9825: _LT_EOF
                   9826:          fi ;;
                   9827:        esac
                   9828:       fi
                   9829:       break
                   9830:     fi
                   9831:   done
                   9832:   IFS="$lt_save_ifs"
                   9833:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9834:   ;;
                   9835: esac
                   9836: fi
                   9837: 
                   9838: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9839: if test -n "$MAGIC_CMD"; then
                   9840:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9841: $as_echo "$MAGIC_CMD" >&6; }
                   9842: else
                   9843:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9844: $as_echo "no" >&6; }
                   9845: fi
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   9852:   if test -n "$ac_tool_prefix"; then
                   9853:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   9854: $as_echo_n "checking for file... " >&6; }
                   9855: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   9856:   $as_echo_n "(cached) " >&6
                   9857: else
                   9858:   case $MAGIC_CMD in
                   9859: [\\/*] |  ?:[\\/]*)
                   9860:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   9861:   ;;
                   9862: *)
                   9863:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   9864:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   9865:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   9866:   for ac_dir in $ac_dummy; do
                   9867:     IFS="$lt_save_ifs"
                   9868:     test -z "$ac_dir" && ac_dir=.
                   9869:     if test -f $ac_dir/file; then
                   9870:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   9871:       if test -n "$file_magic_test_file"; then
                   9872:        case $deplibs_check_method in
                   9873:        "file_magic "*)
                   9874:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   9875:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9876:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   9877:            $EGREP "$file_magic_regex" > /dev/null; then
                   9878:            :
                   9879:          else
                   9880:            cat <<_LT_EOF 1>&2
                   9881: 
                   9882: *** Warning: the command libtool uses to detect shared libraries,
                   9883: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   9884: *** The result is that libtool may fail to recognize shared libraries
                   9885: *** as such.  This will affect the creation of libtool libraries that
                   9886: *** depend on shared libraries, but programs linked with such libtool
                   9887: *** libraries will work regardless of this problem.  Nevertheless, you
                   9888: *** may want to report the problem to your system manager and/or to
                   9889: *** bug-libtool@gnu.org
                   9890: 
                   9891: _LT_EOF
                   9892:          fi ;;
                   9893:        esac
                   9894:       fi
                   9895:       break
                   9896:     fi
                   9897:   done
                   9898:   IFS="$lt_save_ifs"
                   9899:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   9900:   ;;
                   9901: esac
                   9902: fi
                   9903: 
                   9904: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   9905: if test -n "$MAGIC_CMD"; then
                   9906:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   9907: $as_echo "$MAGIC_CMD" >&6; }
                   9908: else
                   9909:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   9910: $as_echo "no" >&6; }
                   9911: fi
                   9912: 
                   9913: 
                   9914:   else
                   9915:     MAGIC_CMD=:
                   9916:   fi
                   9917: fi
                   9918: 
                   9919:   fi
                   9920:   ;;
                   9921: esac
                   9922: 
                   9923: # Use C for the default configuration in the libtool script
                   9924: 
                   9925: lt_save_CC="$CC"
                   9926: ac_ext=c
                   9927: ac_cpp='$CPP $CPPFLAGS'
                   9928: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   9929: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   9930: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   9931: 
                   9932: 
                   9933: # Source file extension for C test sources.
                   9934: ac_ext=c
                   9935: 
                   9936: # Object file extension for compiled C test sources.
                   9937: objext=o
                   9938: objext=$objext
                   9939: 
                   9940: # Code to be used in simple compile tests
                   9941: lt_simple_compile_test_code="int some_variable = 0;"
                   9942: 
                   9943: # Code to be used in simple link tests
                   9944: lt_simple_link_test_code='int main(){return(0);}'
                   9945: 
                   9946: 
                   9947: 
                   9948: 
                   9949: 
                   9950: 
                   9951: 
                   9952: # If no C compiler was specified, use CC.
                   9953: LTCC=${LTCC-"$CC"}
                   9954: 
                   9955: # If no C compiler flags were specified, use CFLAGS.
                   9956: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   9957: 
                   9958: # Allow CC to be a program name with arguments.
                   9959: compiler=$CC
                   9960: 
                   9961: # Save the default compiler, since it gets overwritten when the other
                   9962: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   9963: compiler_DEFAULT=$CC
                   9964: 
                   9965: # save warnings/boilerplate of simple test code
                   9966: ac_outfile=conftest.$ac_objext
                   9967: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   9968: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9969: _lt_compiler_boilerplate=`cat conftest.err`
                   9970: $RM conftest*
                   9971: 
                   9972: ac_outfile=conftest.$ac_objext
                   9973: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   9974: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   9975: _lt_linker_boilerplate=`cat conftest.err`
                   9976: $RM -r conftest*
                   9977: 
                   9978: 
1.1.1.2   misho    9979: ## CAVEAT EMPTOR:
                   9980: ## There is no encapsulation within the following macros, do not change
                   9981: ## the running order or otherwise move them around unless you know exactly
                   9982: ## what you are doing...
1.1       misho    9983: if test -n "$compiler"; then
                   9984: 
                   9985: lt_prog_compiler_no_builtin_flag=
                   9986: 
                   9987: if test "$GCC" = yes; then
                   9988:   case $cc_basename in
                   9989:   nvcc*)
                   9990:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   9991:   *)
                   9992:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   9993:   esac
                   9994: 
                   9995:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   9996: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   9997: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   9998:   $as_echo_n "(cached) " >&6
                   9999: else
                   10000:   lt_cv_prog_compiler_rtti_exceptions=no
                   10001:    ac_outfile=conftest.$ac_objext
                   10002:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10003:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   10004:    # Insert the option either (1) after the last *FLAGS variable, or
                   10005:    # (2) before a word containing "conftest.", or (3) at the end.
                   10006:    # Note that $ac_compile itself does not contain backslashes and begins
                   10007:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10008:    # The option is referenced via a variable to avoid confusing sed.
                   10009:    lt_compile=`echo "$ac_compile" | $SED \
                   10010:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10011:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10012:    -e 's:$: $lt_compiler_flag:'`
                   10013:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10014:    (eval "$lt_compile" 2>conftest.err)
                   10015:    ac_status=$?
                   10016:    cat conftest.err >&5
                   10017:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10018:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10019:      # The compiler can only warn and ignore the option if not recognized
                   10020:      # So say no if there are warnings other than the usual output.
                   10021:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10022:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10023:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10024:        lt_cv_prog_compiler_rtti_exceptions=yes
                   10025:      fi
                   10026:    fi
                   10027:    $RM conftest*
                   10028: 
                   10029: fi
                   10030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   10031: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   10032: 
                   10033: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   10034:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   10035: else
                   10036:     :
                   10037: fi
                   10038: 
                   10039: fi
                   10040: 
                   10041: 
                   10042: 
                   10043: 
                   10044: 
                   10045: 
                   10046:   lt_prog_compiler_wl=
                   10047: lt_prog_compiler_pic=
                   10048: lt_prog_compiler_static=
                   10049: 
                   10050: 
                   10051:   if test "$GCC" = yes; then
                   10052:     lt_prog_compiler_wl='-Wl,'
                   10053:     lt_prog_compiler_static='-static'
                   10054: 
                   10055:     case $host_os in
                   10056:       aix*)
                   10057:       # All AIX code is PIC.
                   10058:       if test "$host_cpu" = ia64; then
                   10059:        # AIX 5 now supports IA64 processor
                   10060:        lt_prog_compiler_static='-Bstatic'
                   10061:       fi
                   10062:       ;;
                   10063: 
                   10064:     amigaos*)
                   10065:       case $host_cpu in
                   10066:       powerpc)
                   10067:             # see comment about AmigaOS4 .so support
                   10068:             lt_prog_compiler_pic='-fPIC'
                   10069:         ;;
                   10070:       m68k)
                   10071:             # FIXME: we need at least 68020 code to build shared libraries, but
                   10072:             # adding the `-m68020' flag to GCC prevents building anything better,
                   10073:             # like `-m68040'.
                   10074:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   10075:         ;;
                   10076:       esac
                   10077:       ;;
                   10078: 
                   10079:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   10080:       # PIC is the default for these OSes.
                   10081:       ;;
                   10082: 
                   10083:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   10084:       # This hack is so that the source file can tell whether it is being
                   10085:       # built for inclusion in a dll (and should export symbols for example).
                   10086:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   10087:       # (--disable-auto-import) libraries
                   10088:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   10089:       ;;
                   10090: 
                   10091:     darwin* | rhapsody*)
                   10092:       # PIC is the default on this platform
                   10093:       # Common symbols not allowed in MH_DYLIB files
                   10094:       lt_prog_compiler_pic='-fno-common'
                   10095:       ;;
                   10096: 
                   10097:     haiku*)
                   10098:       # PIC is the default for Haiku.
                   10099:       # The "-static" flag exists, but is broken.
                   10100:       lt_prog_compiler_static=
                   10101:       ;;
                   10102: 
                   10103:     hpux*)
                   10104:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   10105:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   10106:       # sets the default TLS model and affects inlining.
                   10107:       case $host_cpu in
                   10108:       hppa*64*)
                   10109:        # +Z the default
                   10110:        ;;
                   10111:       *)
                   10112:        lt_prog_compiler_pic='-fPIC'
                   10113:        ;;
                   10114:       esac
                   10115:       ;;
                   10116: 
                   10117:     interix[3-9]*)
                   10118:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   10119:       # Instead, we relocate shared libraries at runtime.
                   10120:       ;;
                   10121: 
                   10122:     msdosdjgpp*)
                   10123:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   10124:       # on systems that don't support them.
                   10125:       lt_prog_compiler_can_build_shared=no
                   10126:       enable_shared=no
                   10127:       ;;
                   10128: 
                   10129:     *nto* | *qnx*)
                   10130:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10131:       # it will coredump.
                   10132:       lt_prog_compiler_pic='-fPIC -shared'
                   10133:       ;;
                   10134: 
                   10135:     sysv4*MP*)
                   10136:       if test -d /usr/nec; then
                   10137:        lt_prog_compiler_pic=-Kconform_pic
                   10138:       fi
                   10139:       ;;
                   10140: 
                   10141:     *)
                   10142:       lt_prog_compiler_pic='-fPIC'
                   10143:       ;;
                   10144:     esac
                   10145: 
                   10146:     case $cc_basename in
                   10147:     nvcc*) # Cuda Compiler Driver 2.2
                   10148:       lt_prog_compiler_wl='-Xlinker '
1.1.1.2   misho    10149:       if test -n "$lt_prog_compiler_pic"; then
                   10150:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   10151:       fi
1.1       misho    10152:       ;;
                   10153:     esac
                   10154:   else
                   10155:     # PORTME Check for flag to pass linker flags through the system compiler.
                   10156:     case $host_os in
                   10157:     aix*)
                   10158:       lt_prog_compiler_wl='-Wl,'
                   10159:       if test "$host_cpu" = ia64; then
                   10160:        # AIX 5 now supports IA64 processor
                   10161:        lt_prog_compiler_static='-Bstatic'
                   10162:       else
                   10163:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   10164:       fi
                   10165:       ;;
                   10166: 
                   10167:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   10168:       # This hack is so that the source file can tell whether it is being
                   10169:       # built for inclusion in a dll (and should export symbols for example).
                   10170:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   10171:       ;;
                   10172: 
                   10173:     hpux9* | hpux10* | hpux11*)
                   10174:       lt_prog_compiler_wl='-Wl,'
                   10175:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   10176:       # not for PA HP-UX.
                   10177:       case $host_cpu in
                   10178:       hppa*64*|ia64*)
                   10179:        # +Z the default
                   10180:        ;;
                   10181:       *)
                   10182:        lt_prog_compiler_pic='+Z'
                   10183:        ;;
                   10184:       esac
                   10185:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   10186:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   10187:       ;;
                   10188: 
                   10189:     irix5* | irix6* | nonstopux*)
                   10190:       lt_prog_compiler_wl='-Wl,'
                   10191:       # PIC (with -KPIC) is the default.
                   10192:       lt_prog_compiler_static='-non_shared'
                   10193:       ;;
                   10194: 
1.1.1.5 ! misho    10195:     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1       misho    10196:       case $cc_basename in
                   10197:       # old Intel for x86_64 which still supported -KPIC.
                   10198:       ecc*)
                   10199:        lt_prog_compiler_wl='-Wl,'
                   10200:        lt_prog_compiler_pic='-KPIC'
                   10201:        lt_prog_compiler_static='-static'
                   10202:         ;;
                   10203:       # icc used to be incompatible with GCC.
                   10204:       # ICC 10 doesn't accept -KPIC any more.
                   10205:       icc* | ifort*)
                   10206:        lt_prog_compiler_wl='-Wl,'
                   10207:        lt_prog_compiler_pic='-fPIC'
                   10208:        lt_prog_compiler_static='-static'
                   10209:         ;;
                   10210:       # Lahey Fortran 8.1.
                   10211:       lf95*)
                   10212:        lt_prog_compiler_wl='-Wl,'
                   10213:        lt_prog_compiler_pic='--shared'
                   10214:        lt_prog_compiler_static='--static'
                   10215:        ;;
                   10216:       nagfor*)
                   10217:        # NAG Fortran compiler
                   10218:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   10219:        lt_prog_compiler_pic='-PIC'
                   10220:        lt_prog_compiler_static='-Bstatic'
                   10221:        ;;
                   10222:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   10223:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   10224:        # which looks to be a dead project)
                   10225:        lt_prog_compiler_wl='-Wl,'
                   10226:        lt_prog_compiler_pic='-fpic'
                   10227:        lt_prog_compiler_static='-Bstatic'
                   10228:         ;;
                   10229:       ccc*)
                   10230:         lt_prog_compiler_wl='-Wl,'
                   10231:         # All Alpha code is PIC.
                   10232:         lt_prog_compiler_static='-non_shared'
                   10233:         ;;
                   10234:       xl* | bgxl* | bgf* | mpixl*)
                   10235:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   10236:        lt_prog_compiler_wl='-Wl,'
                   10237:        lt_prog_compiler_pic='-qpic'
                   10238:        lt_prog_compiler_static='-qstaticlink'
                   10239:        ;;
                   10240:       *)
                   10241:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.2   misho    10242:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
1.1       misho    10243:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   10244:          lt_prog_compiler_pic='-KPIC'
                   10245:          lt_prog_compiler_static='-Bstatic'
                   10246:          lt_prog_compiler_wl=''
                   10247:          ;;
1.1.1.2   misho    10248:        *Sun\ F* | *Sun*Fortran*)
                   10249:          lt_prog_compiler_pic='-KPIC'
                   10250:          lt_prog_compiler_static='-Bstatic'
                   10251:          lt_prog_compiler_wl='-Qoption ld '
                   10252:          ;;
1.1       misho    10253:        *Sun\ C*)
                   10254:          # Sun C 5.9
                   10255:          lt_prog_compiler_pic='-KPIC'
                   10256:          lt_prog_compiler_static='-Bstatic'
                   10257:          lt_prog_compiler_wl='-Wl,'
                   10258:          ;;
1.1.1.2   misho    10259:         *Intel*\ [CF]*Compiler*)
                   10260:          lt_prog_compiler_wl='-Wl,'
                   10261:          lt_prog_compiler_pic='-fPIC'
                   10262:          lt_prog_compiler_static='-static'
                   10263:          ;;
                   10264:        *Portland\ Group*)
                   10265:          lt_prog_compiler_wl='-Wl,'
                   10266:          lt_prog_compiler_pic='-fpic'
                   10267:          lt_prog_compiler_static='-Bstatic'
                   10268:          ;;
1.1       misho    10269:        esac
                   10270:        ;;
                   10271:       esac
                   10272:       ;;
                   10273: 
                   10274:     newsos6)
                   10275:       lt_prog_compiler_pic='-KPIC'
                   10276:       lt_prog_compiler_static='-Bstatic'
                   10277:       ;;
                   10278: 
                   10279:     *nto* | *qnx*)
                   10280:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   10281:       # it will coredump.
                   10282:       lt_prog_compiler_pic='-fPIC -shared'
                   10283:       ;;
                   10284: 
                   10285:     osf3* | osf4* | osf5*)
                   10286:       lt_prog_compiler_wl='-Wl,'
                   10287:       # All OSF/1 code is PIC.
                   10288:       lt_prog_compiler_static='-non_shared'
                   10289:       ;;
                   10290: 
                   10291:     rdos*)
                   10292:       lt_prog_compiler_static='-non_shared'
                   10293:       ;;
                   10294: 
                   10295:     solaris*)
                   10296:       lt_prog_compiler_pic='-KPIC'
                   10297:       lt_prog_compiler_static='-Bstatic'
                   10298:       case $cc_basename in
                   10299:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   10300:        lt_prog_compiler_wl='-Qoption ld ';;
                   10301:       *)
                   10302:        lt_prog_compiler_wl='-Wl,';;
                   10303:       esac
                   10304:       ;;
                   10305: 
                   10306:     sunos4*)
                   10307:       lt_prog_compiler_wl='-Qoption ld '
                   10308:       lt_prog_compiler_pic='-PIC'
                   10309:       lt_prog_compiler_static='-Bstatic'
                   10310:       ;;
                   10311: 
                   10312:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   10313:       lt_prog_compiler_wl='-Wl,'
                   10314:       lt_prog_compiler_pic='-KPIC'
                   10315:       lt_prog_compiler_static='-Bstatic'
                   10316:       ;;
                   10317: 
                   10318:     sysv4*MP*)
                   10319:       if test -d /usr/nec ;then
                   10320:        lt_prog_compiler_pic='-Kconform_pic'
                   10321:        lt_prog_compiler_static='-Bstatic'
                   10322:       fi
                   10323:       ;;
                   10324: 
                   10325:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   10326:       lt_prog_compiler_wl='-Wl,'
                   10327:       lt_prog_compiler_pic='-KPIC'
                   10328:       lt_prog_compiler_static='-Bstatic'
                   10329:       ;;
                   10330: 
                   10331:     unicos*)
                   10332:       lt_prog_compiler_wl='-Wl,'
                   10333:       lt_prog_compiler_can_build_shared=no
                   10334:       ;;
                   10335: 
                   10336:     uts4*)
                   10337:       lt_prog_compiler_pic='-pic'
                   10338:       lt_prog_compiler_static='-Bstatic'
                   10339:       ;;
                   10340: 
                   10341:     *)
                   10342:       lt_prog_compiler_can_build_shared=no
                   10343:       ;;
                   10344:     esac
                   10345:   fi
                   10346: 
                   10347: case $host_os in
                   10348:   # For platforms which do not support PIC, -DPIC is meaningless:
                   10349:   *djgpp*)
                   10350:     lt_prog_compiler_pic=
                   10351:     ;;
                   10352:   *)
                   10353:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   10354:     ;;
                   10355: esac
                   10356: 
                   10357: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   10358: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   10359: if ${lt_cv_prog_compiler_pic+:} false; then :
                   10360:   $as_echo_n "(cached) " >&6
                   10361: else
                   10362:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   10363: fi
                   10364: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   10365: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   10366: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   10367: 
                   10368: #
                   10369: # Check to make sure the PIC flag actually works.
                   10370: #
                   10371: if test -n "$lt_prog_compiler_pic"; then
                   10372:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   10373: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   10374: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   10375:   $as_echo_n "(cached) " >&6
                   10376: else
                   10377:   lt_cv_prog_compiler_pic_works=no
                   10378:    ac_outfile=conftest.$ac_objext
                   10379:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10380:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   10381:    # Insert the option either (1) after the last *FLAGS variable, or
                   10382:    # (2) before a word containing "conftest.", or (3) at the end.
                   10383:    # Note that $ac_compile itself does not contain backslashes and begins
                   10384:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10385:    # The option is referenced via a variable to avoid confusing sed.
                   10386:    lt_compile=`echo "$ac_compile" | $SED \
                   10387:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10388:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10389:    -e 's:$: $lt_compiler_flag:'`
                   10390:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10391:    (eval "$lt_compile" 2>conftest.err)
                   10392:    ac_status=$?
                   10393:    cat conftest.err >&5
                   10394:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10395:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   10396:      # The compiler can only warn and ignore the option if not recognized
                   10397:      # So say no if there are warnings other than the usual output.
                   10398:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   10399:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10400:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   10401:        lt_cv_prog_compiler_pic_works=yes
                   10402:      fi
                   10403:    fi
                   10404:    $RM conftest*
                   10405: 
                   10406: fi
                   10407: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   10408: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   10409: 
                   10410: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   10411:     case $lt_prog_compiler_pic in
                   10412:      "" | " "*) ;;
                   10413:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   10414:      esac
                   10415: else
                   10416:     lt_prog_compiler_pic=
                   10417:      lt_prog_compiler_can_build_shared=no
                   10418: fi
                   10419: 
                   10420: fi
                   10421: 
                   10422: 
                   10423: 
                   10424: 
                   10425: 
                   10426: 
                   10427: 
                   10428: 
                   10429: 
                   10430: 
                   10431: 
                   10432: #
                   10433: # Check to make sure the static flag actually works.
                   10434: #
                   10435: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   10436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   10437: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   10438: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   10439:   $as_echo_n "(cached) " >&6
                   10440: else
                   10441:   lt_cv_prog_compiler_static_works=no
                   10442:    save_LDFLAGS="$LDFLAGS"
                   10443:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   10444:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10445:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10446:      # The linker can only warn and ignore the option if not recognized
                   10447:      # So say no if there are warnings
                   10448:      if test -s conftest.err; then
                   10449:        # Append any errors to the config.log.
                   10450:        cat conftest.err 1>&5
                   10451:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10452:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10453:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10454:          lt_cv_prog_compiler_static_works=yes
                   10455:        fi
                   10456:      else
                   10457:        lt_cv_prog_compiler_static_works=yes
                   10458:      fi
                   10459:    fi
                   10460:    $RM -r conftest*
                   10461:    LDFLAGS="$save_LDFLAGS"
                   10462: 
                   10463: fi
                   10464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   10465: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   10466: 
                   10467: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   10468:     :
                   10469: else
                   10470:     lt_prog_compiler_static=
                   10471: fi
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10480: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10481: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10482:   $as_echo_n "(cached) " >&6
                   10483: else
                   10484:   lt_cv_prog_compiler_c_o=no
                   10485:    $RM -r conftest 2>/dev/null
                   10486:    mkdir conftest
                   10487:    cd conftest
                   10488:    mkdir out
                   10489:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10490: 
                   10491:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10492:    # Insert the option either (1) after the last *FLAGS variable, or
                   10493:    # (2) before a word containing "conftest.", or (3) at the end.
                   10494:    # Note that $ac_compile itself does not contain backslashes and begins
                   10495:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10496:    lt_compile=`echo "$ac_compile" | $SED \
                   10497:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10498:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10499:    -e 's:$: $lt_compiler_flag:'`
                   10500:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10501:    (eval "$lt_compile" 2>out/conftest.err)
                   10502:    ac_status=$?
                   10503:    cat out/conftest.err >&5
                   10504:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10505:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10506:    then
                   10507:      # The compiler can only warn and ignore the option if not recognized
                   10508:      # So say no if there are warnings
                   10509:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10510:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10511:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10512:        lt_cv_prog_compiler_c_o=yes
                   10513:      fi
                   10514:    fi
                   10515:    chmod u+w . 2>&5
                   10516:    $RM conftest*
                   10517:    # SGI C++ compiler will create directory out/ii_files/ for
                   10518:    # template instantiation
                   10519:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10520:    $RM out/* && rmdir out
                   10521:    cd ..
                   10522:    $RM -r conftest
                   10523:    $RM conftest*
                   10524: 
                   10525: fi
                   10526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10527: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
                   10534:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   10535: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   10536: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   10537:   $as_echo_n "(cached) " >&6
                   10538: else
                   10539:   lt_cv_prog_compiler_c_o=no
                   10540:    $RM -r conftest 2>/dev/null
                   10541:    mkdir conftest
                   10542:    cd conftest
                   10543:    mkdir out
                   10544:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10545: 
                   10546:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   10547:    # Insert the option either (1) after the last *FLAGS variable, or
                   10548:    # (2) before a word containing "conftest.", or (3) at the end.
                   10549:    # Note that $ac_compile itself does not contain backslashes and begins
                   10550:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   10551:    lt_compile=`echo "$ac_compile" | $SED \
                   10552:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   10553:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   10554:    -e 's:$: $lt_compiler_flag:'`
                   10555:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   10556:    (eval "$lt_compile" 2>out/conftest.err)
                   10557:    ac_status=$?
                   10558:    cat out/conftest.err >&5
                   10559:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10560:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   10561:    then
                   10562:      # The compiler can only warn and ignore the option if not recognized
                   10563:      # So say no if there are warnings
                   10564:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   10565:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   10566:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   10567:        lt_cv_prog_compiler_c_o=yes
                   10568:      fi
                   10569:    fi
                   10570:    chmod u+w . 2>&5
                   10571:    $RM conftest*
                   10572:    # SGI C++ compiler will create directory out/ii_files/ for
                   10573:    # template instantiation
                   10574:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   10575:    $RM out/* && rmdir out
                   10576:    cd ..
                   10577:    $RM -r conftest
                   10578:    $RM conftest*
                   10579: 
                   10580: fi
                   10581: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   10582: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   10583: 
                   10584: 
                   10585: 
                   10586: 
                   10587: hard_links="nottested"
                   10588: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   10589:   # do not overwrite the value of need_locks provided by the user
                   10590:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   10591: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   10592:   hard_links=yes
                   10593:   $RM conftest*
                   10594:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10595:   touch conftest.a
                   10596:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   10597:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   10598:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   10599: $as_echo "$hard_links" >&6; }
                   10600:   if test "$hard_links" = no; then
                   10601:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   10602: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   10603:     need_locks=warn
                   10604:   fi
                   10605: else
                   10606:   need_locks=no
                   10607: fi
                   10608: 
                   10609: 
                   10610: 
                   10611: 
                   10612: 
                   10613: 
                   10614:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   10615: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   10616: 
                   10617:   runpath_var=
                   10618:   allow_undefined_flag=
                   10619:   always_export_symbols=no
                   10620:   archive_cmds=
                   10621:   archive_expsym_cmds=
                   10622:   compiler_needs_object=no
                   10623:   enable_shared_with_static_runtimes=no
                   10624:   export_dynamic_flag_spec=
                   10625:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   10626:   hardcode_automatic=no
                   10627:   hardcode_direct=no
                   10628:   hardcode_direct_absolute=no
                   10629:   hardcode_libdir_flag_spec=
                   10630:   hardcode_libdir_separator=
                   10631:   hardcode_minus_L=no
                   10632:   hardcode_shlibpath_var=unsupported
                   10633:   inherit_rpath=no
                   10634:   link_all_deplibs=unknown
                   10635:   module_cmds=
                   10636:   module_expsym_cmds=
                   10637:   old_archive_from_new_cmds=
                   10638:   old_archive_from_expsyms_cmds=
                   10639:   thread_safe_flag_spec=
                   10640:   whole_archive_flag_spec=
                   10641:   # include_expsyms should be a list of space-separated symbols to be *always*
                   10642:   # included in the symbol list
                   10643:   include_expsyms=
                   10644:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   10645:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   10646:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   10647:   # as well as any symbol that contains `d'.
                   10648:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   10649:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   10650:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   10651:   # the symbol is explicitly referenced.  Since portable code cannot
                   10652:   # rely on this symbol name, it's probably fine to never include it in
                   10653:   # preloaded symbol tables.
                   10654:   # Exclude shared library initialization/finalization symbols.
                   10655:   extract_expsyms_cmds=
                   10656: 
                   10657:   case $host_os in
                   10658:   cygwin* | mingw* | pw32* | cegcc*)
                   10659:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   10660:     # When not using gcc, we currently assume that we are using
                   10661:     # Microsoft Visual C++.
                   10662:     if test "$GCC" != yes; then
                   10663:       with_gnu_ld=no
                   10664:     fi
                   10665:     ;;
                   10666:   interix*)
                   10667:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   10668:     with_gnu_ld=yes
                   10669:     ;;
                   10670:   openbsd*)
                   10671:     with_gnu_ld=no
                   10672:     ;;
1.1.1.5 ! misho    10673:   linux* | k*bsd*-gnu | gnu*)
        !          10674:     link_all_deplibs=no
        !          10675:     ;;
1.1       misho    10676:   esac
                   10677: 
                   10678:   ld_shlibs=yes
                   10679: 
                   10680:   # On some targets, GNU ld is compatible enough with the native linker
                   10681:   # that we're better off using the native interface for both.
                   10682:   lt_use_gnu_ld_interface=no
                   10683:   if test "$with_gnu_ld" = yes; then
                   10684:     case $host_os in
                   10685:       aix*)
                   10686:        # The AIX port of GNU ld has always aspired to compatibility
                   10687:        # with the native linker.  However, as the warning in the GNU ld
                   10688:        # block says, versions before 2.19.5* couldn't really create working
                   10689:        # shared libraries, regardless of the interface used.
                   10690:        case `$LD -v 2>&1` in
                   10691:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   10692:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   10693:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   10694:          *)
                   10695:            lt_use_gnu_ld_interface=yes
                   10696:            ;;
                   10697:        esac
                   10698:        ;;
                   10699:       *)
                   10700:        lt_use_gnu_ld_interface=yes
                   10701:        ;;
                   10702:     esac
                   10703:   fi
                   10704: 
                   10705:   if test "$lt_use_gnu_ld_interface" = yes; then
                   10706:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   10707:     wlarc='${wl}'
                   10708: 
                   10709:     # Set some defaults for GNU ld with shared library support. These
                   10710:     # are reset later if shared libraries are not supported. Putting them
                   10711:     # here allows them to be overridden if necessary.
                   10712:     runpath_var=LD_RUN_PATH
                   10713:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10714:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   10715:     # ancient GNU ld didn't support --whole-archive et. al.
                   10716:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   10717:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   10718:     else
                   10719:       whole_archive_flag_spec=
                   10720:     fi
                   10721:     supports_anon_versioning=no
                   10722:     case `$LD -v 2>&1` in
                   10723:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   10724:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   10725:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   10726:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   10727:       *\ 2.11.*) ;; # other 2.11 versions
                   10728:       *) supports_anon_versioning=yes ;;
                   10729:     esac
                   10730: 
                   10731:     # See if GNU ld supports shared libraries.
                   10732:     case $host_os in
                   10733:     aix[3-9]*)
                   10734:       # On AIX/PPC, the GNU linker is very broken
                   10735:       if test "$host_cpu" != ia64; then
                   10736:        ld_shlibs=no
                   10737:        cat <<_LT_EOF 1>&2
                   10738: 
                   10739: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   10740: *** to be unable to reliably create shared libraries on AIX.
                   10741: *** Therefore, libtool is disabling shared libraries support.  If you
                   10742: *** really care for shared libraries, you may want to install binutils
                   10743: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   10744: *** You will then need to restart the configuration process.
                   10745: 
                   10746: _LT_EOF
                   10747:       fi
                   10748:       ;;
                   10749: 
                   10750:     amigaos*)
                   10751:       case $host_cpu in
                   10752:       powerpc)
                   10753:             # see comment about AmigaOS4 .so support
                   10754:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10755:             archive_expsym_cmds=''
                   10756:         ;;
                   10757:       m68k)
                   10758:             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)'
                   10759:             hardcode_libdir_flag_spec='-L$libdir'
                   10760:             hardcode_minus_L=yes
                   10761:         ;;
                   10762:       esac
                   10763:       ;;
                   10764: 
                   10765:     beos*)
                   10766:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10767:        allow_undefined_flag=unsupported
                   10768:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   10769:        # support --undefined.  This deserves some investigation.  FIXME
                   10770:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10771:       else
                   10772:        ld_shlibs=no
                   10773:       fi
                   10774:       ;;
                   10775: 
                   10776:     cygwin* | mingw* | pw32* | cegcc*)
                   10777:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   10778:       # as there is no search path for DLLs.
                   10779:       hardcode_libdir_flag_spec='-L$libdir'
                   10780:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   10781:       allow_undefined_flag=unsupported
                   10782:       always_export_symbols=no
                   10783:       enable_shared_with_static_runtimes=yes
                   10784:       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'
                   10785:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   10786: 
                   10787:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   10788:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10789:        # If the export-symbols file already is a .def file (1st line
                   10790:        # is EXPORTS), use it as is; otherwise, prepend...
                   10791:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   10792:          cp $export_symbols $output_objdir/$soname.def;
                   10793:        else
                   10794:          echo EXPORTS > $output_objdir/$soname.def;
                   10795:          cat $export_symbols >> $output_objdir/$soname.def;
                   10796:        fi~
                   10797:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   10798:       else
                   10799:        ld_shlibs=no
                   10800:       fi
                   10801:       ;;
                   10802: 
                   10803:     haiku*)
                   10804:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10805:       link_all_deplibs=yes
                   10806:       ;;
                   10807: 
                   10808:     interix[3-9]*)
                   10809:       hardcode_direct=no
                   10810:       hardcode_shlibpath_var=no
                   10811:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10812:       export_dynamic_flag_spec='${wl}-E'
                   10813:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   10814:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   10815:       # default) and relocated if they conflict, which is a slow very memory
                   10816:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   10817:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   10818:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   10819:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   10820:       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'
                   10821:       ;;
                   10822: 
                   10823:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   10824:       tmp_diet=no
                   10825:       if test "$host_os" = linux-dietlibc; then
                   10826:        case $cc_basename in
                   10827:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   10828:        esac
                   10829:       fi
                   10830:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   10831:         && test "$tmp_diet" = no
                   10832:       then
                   10833:        tmp_addflag=' $pic_flag'
                   10834:        tmp_sharedflag='-shared'
                   10835:        case $cc_basename,$host_cpu in
                   10836:         pgcc*)                         # Portland Group C compiler
                   10837:          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'
                   10838:          tmp_addflag=' $pic_flag'
                   10839:          ;;
                   10840:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   10841:                                        # Portland Group f77 and f90 compilers
                   10842:          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'
                   10843:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   10844:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   10845:          tmp_addflag=' -i_dynamic' ;;
                   10846:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   10847:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   10848:        ifc* | ifort*)                  # Intel Fortran compiler
                   10849:          tmp_addflag=' -nofor_main' ;;
                   10850:        lf95*)                          # Lahey Fortran 8.1
                   10851:          whole_archive_flag_spec=
                   10852:          tmp_sharedflag='--shared' ;;
                   10853:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   10854:          tmp_sharedflag='-qmkshrobj'
                   10855:          tmp_addflag= ;;
                   10856:        nvcc*)  # Cuda Compiler Driver 2.2
                   10857:          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'
                   10858:          compiler_needs_object=yes
                   10859:          ;;
                   10860:        esac
                   10861:        case `$CC -V 2>&1 | sed 5q` in
                   10862:        *Sun\ C*)                       # Sun C 5.9
                   10863:          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'
                   10864:          compiler_needs_object=yes
                   10865:          tmp_sharedflag='-G' ;;
                   10866:        *Sun\ F*)                       # Sun Fortran 8.3
                   10867:          tmp_sharedflag='-G' ;;
                   10868:        esac
                   10869:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10870: 
                   10871:         if test "x$supports_anon_versioning" = xyes; then
                   10872:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10873:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10874:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   10875:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   10876:         fi
                   10877: 
                   10878:        case $cc_basename in
                   10879:        xlf* | bgf* | bgxlf* | mpixlf*)
                   10880:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   10881:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.2   misho    10882:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1       misho    10883:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   10884:          if test "x$supports_anon_versioning" = xyes; then
                   10885:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   10886:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   10887:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   10888:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   10889:          fi
                   10890:          ;;
                   10891:        esac
                   10892:       else
                   10893:         ld_shlibs=no
                   10894:       fi
                   10895:       ;;
                   10896: 
1.1.1.5 ! misho    10897:     netbsd* | netbsdelf*-gnu)
1.1       misho    10898:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10899:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   10900:        wlarc=
                   10901:       else
                   10902:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10903:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10904:       fi
                   10905:       ;;
                   10906: 
                   10907:     solaris*)
                   10908:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   10909:        ld_shlibs=no
                   10910:        cat <<_LT_EOF 1>&2
                   10911: 
                   10912: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   10913: *** create shared libraries on Solaris systems.  Therefore, libtool
                   10914: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10915: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   10916: *** your PATH or compiler configuration so that the native linker is
                   10917: *** used, and then restart.
                   10918: 
                   10919: _LT_EOF
                   10920:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10921:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10922:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10923:       else
                   10924:        ld_shlibs=no
                   10925:       fi
                   10926:       ;;
                   10927: 
                   10928:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   10929:       case `$LD -v 2>&1` in
                   10930:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   10931:        ld_shlibs=no
                   10932:        cat <<_LT_EOF 1>&2
                   10933: 
                   10934: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   10935: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   10936: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   10937: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   10938: *** your PATH or compiler configuration so that the native linker is
                   10939: *** used, and then restart.
                   10940: 
                   10941: _LT_EOF
                   10942:        ;;
                   10943:        *)
                   10944:          # For security reasons, it is highly recommended that you always
                   10945:          # use absolute paths for naming shared libraries, and exclude the
                   10946:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   10947:          # requires that you compile everything twice, which is a pain.
                   10948:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10949:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10950:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10951:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10952:          else
                   10953:            ld_shlibs=no
                   10954:          fi
                   10955:        ;;
                   10956:       esac
                   10957:       ;;
                   10958: 
                   10959:     sunos4*)
                   10960:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10961:       wlarc=
                   10962:       hardcode_direct=yes
                   10963:       hardcode_shlibpath_var=no
                   10964:       ;;
                   10965: 
                   10966:     *)
                   10967:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   10968:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   10969:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   10970:       else
                   10971:        ld_shlibs=no
                   10972:       fi
                   10973:       ;;
                   10974:     esac
                   10975: 
                   10976:     if test "$ld_shlibs" = no; then
                   10977:       runpath_var=
                   10978:       hardcode_libdir_flag_spec=
                   10979:       export_dynamic_flag_spec=
                   10980:       whole_archive_flag_spec=
                   10981:     fi
                   10982:   else
                   10983:     # PORTME fill in a description of your system's linker (not GNU ld)
                   10984:     case $host_os in
                   10985:     aix3*)
                   10986:       allow_undefined_flag=unsupported
                   10987:       always_export_symbols=yes
                   10988:       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'
                   10989:       # Note: this linker hardcodes the directories in LIBPATH if there
                   10990:       # are no directories specified by -L.
                   10991:       hardcode_minus_L=yes
                   10992:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   10993:        # Neither direct hardcoding nor static linking is supported with a
                   10994:        # broken collect2.
                   10995:        hardcode_direct=unsupported
                   10996:       fi
                   10997:       ;;
                   10998: 
                   10999:     aix[4-9]*)
                   11000:       if test "$host_cpu" = ia64; then
                   11001:        # On IA64, the linker does run time linking by default, so we don't
                   11002:        # have to do anything special.
                   11003:        aix_use_runtimelinking=no
                   11004:        exp_sym_flag='-Bexport'
                   11005:        no_entry_flag=""
                   11006:       else
                   11007:        # If we're using GNU nm, then we don't want the "-C" option.
                   11008:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   11009:        # Also, AIX nm treats weak defined symbols like other global
                   11010:        # defined symbols, whereas GNU nm marks them as "W".
                   11011:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   11012:          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'
                   11013:        else
                   11014:          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'
                   11015:        fi
                   11016:        aix_use_runtimelinking=no
                   11017: 
                   11018:        # Test if we are trying to use run time linking or normal
                   11019:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   11020:        # need to do runtime linking.
                   11021:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   11022:          for ld_flag in $LDFLAGS; do
                   11023:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   11024:            aix_use_runtimelinking=yes
                   11025:            break
                   11026:          fi
                   11027:          done
                   11028:          ;;
                   11029:        esac
                   11030: 
                   11031:        exp_sym_flag='-bexport'
                   11032:        no_entry_flag='-bnoentry'
                   11033:       fi
                   11034: 
                   11035:       # When large executables or shared objects are built, AIX ld can
                   11036:       # have problems creating the table of contents.  If linking a library
                   11037:       # or program results in "error TOC overflow" add -mminimal-toc to
                   11038:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   11039:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   11040: 
                   11041:       archive_cmds=''
                   11042:       hardcode_direct=yes
                   11043:       hardcode_direct_absolute=yes
                   11044:       hardcode_libdir_separator=':'
                   11045:       link_all_deplibs=yes
                   11046:       file_list_spec='${wl}-f,'
                   11047: 
                   11048:       if test "$GCC" = yes; then
                   11049:        case $host_os in aix4.[012]|aix4.[012].*)
                   11050:        # We only want to do this on AIX 4.2 and lower, the check
                   11051:        # below for broken collect2 doesn't work under 4.3+
                   11052:          collect2name=`${CC} -print-prog-name=collect2`
                   11053:          if test -f "$collect2name" &&
                   11054:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   11055:          then
                   11056:          # We have reworked collect2
                   11057:          :
                   11058:          else
                   11059:          # We have old collect2
                   11060:          hardcode_direct=unsupported
                   11061:          # It fails to find uninstalled libraries when the uninstalled
                   11062:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   11063:          # to unsupported forces relinking
                   11064:          hardcode_minus_L=yes
                   11065:          hardcode_libdir_flag_spec='-L$libdir'
                   11066:          hardcode_libdir_separator=
                   11067:          fi
                   11068:          ;;
                   11069:        esac
                   11070:        shared_flag='-shared'
                   11071:        if test "$aix_use_runtimelinking" = yes; then
                   11072:          shared_flag="$shared_flag "'${wl}-G'
                   11073:        fi
1.1.1.5 ! misho    11074:        link_all_deplibs=no
1.1       misho    11075:       else
                   11076:        # not using gcc
                   11077:        if test "$host_cpu" = ia64; then
                   11078:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   11079:        # chokes on -Wl,-G. The following line is correct:
                   11080:          shared_flag='-G'
                   11081:        else
                   11082:          if test "$aix_use_runtimelinking" = yes; then
                   11083:            shared_flag='${wl}-G'
                   11084:          else
                   11085:            shared_flag='${wl}-bM:SRE'
                   11086:          fi
                   11087:        fi
                   11088:       fi
                   11089: 
                   11090:       export_dynamic_flag_spec='${wl}-bexpall'
                   11091:       # It seems that -bexpall does not export symbols beginning with
                   11092:       # underscore (_), so it is better to generate a list of symbols to export.
                   11093:       always_export_symbols=yes
                   11094:       if test "$aix_use_runtimelinking" = yes; then
                   11095:        # Warning - without using the other runtime loading flags (-brtl),
                   11096:        # -berok will link without error, but may produce a broken library.
                   11097:        allow_undefined_flag='-berok'
                   11098:         # Determine the default libpath from the value encoded in an
                   11099:         # empty executable.
                   11100:         if test "${lt_cv_aix_libpath+set}" = set; then
                   11101:   aix_libpath=$lt_cv_aix_libpath
                   11102: else
                   11103:   if ${lt_cv_aix_libpath_+:} false; then :
                   11104:   $as_echo_n "(cached) " >&6
                   11105: else
                   11106:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11107: /* end confdefs.h.  */
                   11108: 
                   11109: int
                   11110: main ()
                   11111: {
                   11112: 
                   11113:   ;
                   11114:   return 0;
                   11115: }
                   11116: _ACEOF
                   11117: if ac_fn_c_try_link "$LINENO"; then :
                   11118: 
                   11119:   lt_aix_libpath_sed='
                   11120:       /Import File Strings/,/^$/ {
                   11121:          /^0/ {
                   11122:              s/^0  *\([^ ]*\) *$/\1/
                   11123:              p
                   11124:          }
                   11125:       }'
                   11126:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11127:   # Check for a 64-bit object if we didn't find anything.
                   11128:   if test -z "$lt_cv_aix_libpath_"; then
                   11129:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11130:   fi
                   11131: fi
                   11132: rm -f core conftest.err conftest.$ac_objext \
                   11133:     conftest$ac_exeext conftest.$ac_ext
                   11134:   if test -z "$lt_cv_aix_libpath_"; then
                   11135:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   11136:   fi
                   11137: 
                   11138: fi
                   11139: 
                   11140:   aix_libpath=$lt_cv_aix_libpath_
                   11141: fi
                   11142: 
                   11143:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11144:         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"
                   11145:       else
                   11146:        if test "$host_cpu" = ia64; then
                   11147:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   11148:          allow_undefined_flag="-z nodefs"
                   11149:          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"
                   11150:        else
                   11151:         # Determine the default libpath from the value encoded in an
                   11152:         # empty executable.
                   11153:         if test "${lt_cv_aix_libpath+set}" = set; then
                   11154:   aix_libpath=$lt_cv_aix_libpath
                   11155: else
                   11156:   if ${lt_cv_aix_libpath_+:} false; then :
                   11157:   $as_echo_n "(cached) " >&6
                   11158: else
                   11159:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11160: /* end confdefs.h.  */
                   11161: 
                   11162: int
                   11163: main ()
                   11164: {
                   11165: 
                   11166:   ;
                   11167:   return 0;
                   11168: }
                   11169: _ACEOF
                   11170: if ac_fn_c_try_link "$LINENO"; then :
                   11171: 
                   11172:   lt_aix_libpath_sed='
                   11173:       /Import File Strings/,/^$/ {
                   11174:          /^0/ {
                   11175:              s/^0  *\([^ ]*\) *$/\1/
                   11176:              p
                   11177:          }
                   11178:       }'
                   11179:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11180:   # Check for a 64-bit object if we didn't find anything.
                   11181:   if test -z "$lt_cv_aix_libpath_"; then
                   11182:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   11183:   fi
                   11184: fi
                   11185: rm -f core conftest.err conftest.$ac_objext \
                   11186:     conftest$ac_exeext conftest.$ac_ext
                   11187:   if test -z "$lt_cv_aix_libpath_"; then
                   11188:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   11189:   fi
                   11190: 
                   11191: fi
                   11192: 
                   11193:   aix_libpath=$lt_cv_aix_libpath_
                   11194: fi
                   11195: 
                   11196:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   11197:          # Warning - without using the other run time loading flags,
                   11198:          # -berok will link without error, but may produce a broken library.
                   11199:          no_undefined_flag=' ${wl}-bernotok'
                   11200:          allow_undefined_flag=' ${wl}-berok'
                   11201:          if test "$with_gnu_ld" = yes; then
                   11202:            # We only use this code for GNU lds that support --whole-archive.
                   11203:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   11204:          else
                   11205:            # Exported symbols can be pulled into shared objects from archives
                   11206:            whole_archive_flag_spec='$convenience'
                   11207:          fi
                   11208:          archive_cmds_need_lc=yes
                   11209:          # This is similar to how AIX traditionally builds its shared libraries.
                   11210:          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'
                   11211:        fi
                   11212:       fi
                   11213:       ;;
                   11214: 
                   11215:     amigaos*)
                   11216:       case $host_cpu in
                   11217:       powerpc)
                   11218:             # see comment about AmigaOS4 .so support
                   11219:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   11220:             archive_expsym_cmds=''
                   11221:         ;;
                   11222:       m68k)
                   11223:             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)'
                   11224:             hardcode_libdir_flag_spec='-L$libdir'
                   11225:             hardcode_minus_L=yes
                   11226:         ;;
                   11227:       esac
                   11228:       ;;
                   11229: 
                   11230:     bsdi[45]*)
                   11231:       export_dynamic_flag_spec=-rdynamic
                   11232:       ;;
                   11233: 
                   11234:     cygwin* | mingw* | pw32* | cegcc*)
                   11235:       # When not using gcc, we currently assume that we are using
                   11236:       # Microsoft Visual C++.
                   11237:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   11238:       # no search path for DLLs.
                   11239:       case $cc_basename in
                   11240:       cl*)
                   11241:        # Native MSVC
                   11242:        hardcode_libdir_flag_spec=' '
                   11243:        allow_undefined_flag=unsupported
                   11244:        always_export_symbols=yes
                   11245:        file_list_spec='@'
                   11246:        # Tell ltmain to make .lib files, not .a files.
                   11247:        libext=lib
                   11248:        # Tell ltmain to make .dll files, not .so files.
                   11249:        shrext_cmds=".dll"
                   11250:        # FIXME: Setting linknames here is a bad hack.
                   11251:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   11252:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   11253:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   11254:          else
                   11255:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   11256:          fi~
                   11257:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   11258:          linknames='
                   11259:        # The linker will not automatically build a static lib if we build a DLL.
                   11260:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   11261:        enable_shared_with_static_runtimes=yes
1.1.1.2   misho    11262:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1.1       misho    11263:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   11264:        # Don't use ranlib
                   11265:        old_postinstall_cmds='chmod 644 $oldlib'
                   11266:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   11267:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   11268:          case $lt_outputfile in
                   11269:            *.exe|*.EXE) ;;
                   11270:            *)
                   11271:              lt_outputfile="$lt_outputfile.exe"
                   11272:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   11273:              ;;
                   11274:          esac~
                   11275:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   11276:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   11277:            $RM "$lt_outputfile.manifest";
                   11278:          fi'
                   11279:        ;;
                   11280:       *)
                   11281:        # Assume MSVC wrapper
                   11282:        hardcode_libdir_flag_spec=' '
                   11283:        allow_undefined_flag=unsupported
                   11284:        # Tell ltmain to make .lib files, not .a files.
                   11285:        libext=lib
                   11286:        # Tell ltmain to make .dll files, not .so files.
                   11287:        shrext_cmds=".dll"
                   11288:        # FIXME: Setting linknames here is a bad hack.
                   11289:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   11290:        # The linker will automatically build a .lib file if we build a DLL.
                   11291:        old_archive_from_new_cmds='true'
                   11292:        # FIXME: Should let the user specify the lib program.
                   11293:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   11294:        enable_shared_with_static_runtimes=yes
                   11295:        ;;
                   11296:       esac
                   11297:       ;;
                   11298: 
                   11299:     darwin* | rhapsody*)
                   11300: 
                   11301: 
                   11302:   archive_cmds_need_lc=no
                   11303:   hardcode_direct=no
                   11304:   hardcode_automatic=yes
                   11305:   hardcode_shlibpath_var=unsupported
                   11306:   if test "$lt_cv_ld_force_load" = "yes"; then
                   11307:     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\"`'
1.1.1.2   misho    11308: 
1.1       misho    11309:   else
                   11310:     whole_archive_flag_spec=''
                   11311:   fi
                   11312:   link_all_deplibs=yes
                   11313:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   11314:   case $cc_basename in
                   11315:      ifort*) _lt_dar_can_shared=yes ;;
                   11316:      *) _lt_dar_can_shared=$GCC ;;
                   11317:   esac
                   11318:   if test "$_lt_dar_can_shared" = "yes"; then
                   11319:     output_verbose_link_cmd=func_echo_all
                   11320:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   11321:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   11322:     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}"
                   11323:     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}"
                   11324: 
                   11325:   else
                   11326:   ld_shlibs=no
                   11327:   fi
                   11328: 
                   11329:       ;;
                   11330: 
                   11331:     dgux*)
                   11332:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11333:       hardcode_libdir_flag_spec='-L$libdir'
                   11334:       hardcode_shlibpath_var=no
                   11335:       ;;
                   11336: 
                   11337:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   11338:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   11339:     # does not break anything, and helps significantly (at the cost of a little
                   11340:     # extra space).
                   11341:     freebsd2.2*)
                   11342:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   11343:       hardcode_libdir_flag_spec='-R$libdir'
                   11344:       hardcode_direct=yes
                   11345:       hardcode_shlibpath_var=no
                   11346:       ;;
                   11347: 
                   11348:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.2   misho    11349:     freebsd2.*)
1.1       misho    11350:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11351:       hardcode_direct=yes
                   11352:       hardcode_minus_L=yes
                   11353:       hardcode_shlibpath_var=no
                   11354:       ;;
                   11355: 
                   11356:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   11357:     freebsd* | dragonfly*)
                   11358:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11359:       hardcode_libdir_flag_spec='-R$libdir'
                   11360:       hardcode_direct=yes
                   11361:       hardcode_shlibpath_var=no
                   11362:       ;;
                   11363: 
                   11364:     hpux9*)
                   11365:       if test "$GCC" = yes; then
                   11366:        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'
                   11367:       else
                   11368:        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'
                   11369:       fi
                   11370:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11371:       hardcode_libdir_separator=:
                   11372:       hardcode_direct=yes
                   11373: 
                   11374:       # hardcode_minus_L: Not really in the search PATH,
                   11375:       # but as the default location of the library.
                   11376:       hardcode_minus_L=yes
                   11377:       export_dynamic_flag_spec='${wl}-E'
                   11378:       ;;
                   11379: 
                   11380:     hpux10*)
                   11381:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11382:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11383:       else
                   11384:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11385:       fi
                   11386:       if test "$with_gnu_ld" = no; then
                   11387:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11388:        hardcode_libdir_separator=:
                   11389:        hardcode_direct=yes
                   11390:        hardcode_direct_absolute=yes
                   11391:        export_dynamic_flag_spec='${wl}-E'
                   11392:        # hardcode_minus_L: Not really in the search PATH,
                   11393:        # but as the default location of the library.
                   11394:        hardcode_minus_L=yes
                   11395:       fi
                   11396:       ;;
                   11397: 
                   11398:     hpux11*)
                   11399:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   11400:        case $host_cpu in
                   11401:        hppa*64*)
                   11402:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11403:          ;;
                   11404:        ia64*)
                   11405:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11406:          ;;
                   11407:        *)
                   11408:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11409:          ;;
                   11410:        esac
                   11411:       else
                   11412:        case $host_cpu in
                   11413:        hppa*64*)
                   11414:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11415:          ;;
                   11416:        ia64*)
                   11417:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   11418:          ;;
                   11419:        *)
                   11420: 
                   11421:          # Older versions of the 11.00 compiler do not understand -b yet
                   11422:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   11423:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   11424: $as_echo_n "checking if $CC understands -b... " >&6; }
                   11425: if ${lt_cv_prog_compiler__b+:} false; then :
                   11426:   $as_echo_n "(cached) " >&6
                   11427: else
                   11428:   lt_cv_prog_compiler__b=no
                   11429:    save_LDFLAGS="$LDFLAGS"
                   11430:    LDFLAGS="$LDFLAGS -b"
                   11431:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   11432:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   11433:      # The linker can only warn and ignore the option if not recognized
                   11434:      # So say no if there are warnings
                   11435:      if test -s conftest.err; then
                   11436:        # Append any errors to the config.log.
                   11437:        cat conftest.err 1>&5
                   11438:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   11439:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   11440:        if diff conftest.exp conftest.er2 >/dev/null; then
                   11441:          lt_cv_prog_compiler__b=yes
                   11442:        fi
                   11443:      else
                   11444:        lt_cv_prog_compiler__b=yes
                   11445:      fi
                   11446:    fi
                   11447:    $RM -r conftest*
                   11448:    LDFLAGS="$save_LDFLAGS"
                   11449: 
                   11450: fi
                   11451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   11452: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   11453: 
                   11454: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   11455:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   11456: else
                   11457:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   11458: fi
                   11459: 
                   11460:          ;;
                   11461:        esac
                   11462:       fi
                   11463:       if test "$with_gnu_ld" = no; then
                   11464:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   11465:        hardcode_libdir_separator=:
                   11466: 
                   11467:        case $host_cpu in
                   11468:        hppa*64*|ia64*)
                   11469:          hardcode_direct=no
                   11470:          hardcode_shlibpath_var=no
                   11471:          ;;
                   11472:        *)
                   11473:          hardcode_direct=yes
                   11474:          hardcode_direct_absolute=yes
                   11475:          export_dynamic_flag_spec='${wl}-E'
                   11476: 
                   11477:          # hardcode_minus_L: Not really in the search PATH,
                   11478:          # but as the default location of the library.
                   11479:          hardcode_minus_L=yes
                   11480:          ;;
                   11481:        esac
                   11482:       fi
                   11483:       ;;
                   11484: 
                   11485:     irix5* | irix6* | nonstopux*)
                   11486:       if test "$GCC" = yes; then
                   11487:        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'
                   11488:        # Try to use the -exported_symbol ld option, if it does not
                   11489:        # work, assume that -exports_file does not work either and
                   11490:        # implicitly export all symbols.
                   11491:        # This should be the same for all languages, so no per-tag cache variable.
                   11492:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   11493: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   11494: if ${lt_cv_irix_exported_symbol+:} false; then :
                   11495:   $as_echo_n "(cached) " >&6
                   11496: else
                   11497:   save_LDFLAGS="$LDFLAGS"
                   11498:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   11499:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11500: /* end confdefs.h.  */
                   11501: int foo (void) { return 0; }
                   11502: _ACEOF
                   11503: if ac_fn_c_try_link "$LINENO"; then :
                   11504:   lt_cv_irix_exported_symbol=yes
                   11505: else
                   11506:   lt_cv_irix_exported_symbol=no
                   11507: fi
                   11508: rm -f core conftest.err conftest.$ac_objext \
                   11509:     conftest$ac_exeext conftest.$ac_ext
                   11510:            LDFLAGS="$save_LDFLAGS"
                   11511: fi
                   11512: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   11513: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   11514:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   11515:           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'
                   11516:        fi
                   11517:       else
                   11518:        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'
                   11519:        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'
                   11520:       fi
                   11521:       archive_cmds_need_lc='no'
                   11522:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11523:       hardcode_libdir_separator=:
                   11524:       inherit_rpath=yes
                   11525:       link_all_deplibs=yes
                   11526:       ;;
                   11527: 
1.1.1.5 ! misho    11528:     netbsd* | netbsdelf*-gnu)
1.1       misho    11529:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11530:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   11531:       else
                   11532:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   11533:       fi
                   11534:       hardcode_libdir_flag_spec='-R$libdir'
                   11535:       hardcode_direct=yes
                   11536:       hardcode_shlibpath_var=no
                   11537:       ;;
                   11538: 
                   11539:     newsos6)
                   11540:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11541:       hardcode_direct=yes
                   11542:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11543:       hardcode_libdir_separator=:
                   11544:       hardcode_shlibpath_var=no
                   11545:       ;;
                   11546: 
                   11547:     *nto* | *qnx*)
                   11548:       ;;
                   11549: 
                   11550:     openbsd*)
                   11551:       if test -f /usr/libexec/ld.so; then
                   11552:        hardcode_direct=yes
                   11553:        hardcode_shlibpath_var=no
                   11554:        hardcode_direct_absolute=yes
                   11555:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11556:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11557:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   11558:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11559:          export_dynamic_flag_spec='${wl}-E'
                   11560:        else
                   11561:          case $host_os in
                   11562:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   11563:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   11564:             hardcode_libdir_flag_spec='-R$libdir'
                   11565:             ;;
                   11566:           *)
                   11567:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   11568:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   11569:             ;;
                   11570:          esac
                   11571:        fi
                   11572:       else
                   11573:        ld_shlibs=no
                   11574:       fi
                   11575:       ;;
                   11576: 
                   11577:     os2*)
                   11578:       hardcode_libdir_flag_spec='-L$libdir'
                   11579:       hardcode_minus_L=yes
                   11580:       allow_undefined_flag=unsupported
                   11581:       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'
                   11582:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   11583:       ;;
                   11584: 
                   11585:     osf3*)
                   11586:       if test "$GCC" = yes; then
                   11587:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11588:        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'
                   11589:       else
                   11590:        allow_undefined_flag=' -expect_unresolved \*'
                   11591:        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'
                   11592:       fi
                   11593:       archive_cmds_need_lc='no'
                   11594:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11595:       hardcode_libdir_separator=:
                   11596:       ;;
                   11597: 
                   11598:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   11599:       if test "$GCC" = yes; then
                   11600:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   11601:        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'
                   11602:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   11603:       else
                   11604:        allow_undefined_flag=' -expect_unresolved \*'
                   11605:        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'
                   11606:        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~
                   11607:        $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'
                   11608: 
                   11609:        # Both c and cxx compiler support -rpath directly
                   11610:        hardcode_libdir_flag_spec='-rpath $libdir'
                   11611:       fi
                   11612:       archive_cmds_need_lc='no'
                   11613:       hardcode_libdir_separator=:
                   11614:       ;;
                   11615: 
                   11616:     solaris*)
                   11617:       no_undefined_flag=' -z defs'
                   11618:       if test "$GCC" = yes; then
                   11619:        wlarc='${wl}'
                   11620:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11621:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11622:          $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'
                   11623:       else
                   11624:        case `$CC -V 2>&1` in
                   11625:        *"Compilers 5.0"*)
                   11626:          wlarc=''
                   11627:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11628:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11629:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   11630:          ;;
                   11631:        *)
                   11632:          wlarc='${wl}'
                   11633:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11634:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   11635:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   11636:          ;;
                   11637:        esac
                   11638:       fi
                   11639:       hardcode_libdir_flag_spec='-R$libdir'
                   11640:       hardcode_shlibpath_var=no
                   11641:       case $host_os in
                   11642:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   11643:       *)
                   11644:        # The compiler driver will combine and reorder linker options,
                   11645:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   11646:        # but is careful enough not to reorder.
                   11647:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   11648:        if test "$GCC" = yes; then
                   11649:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   11650:        else
                   11651:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   11652:        fi
                   11653:        ;;
                   11654:       esac
                   11655:       link_all_deplibs=yes
                   11656:       ;;
                   11657: 
                   11658:     sunos4*)
                   11659:       if test "x$host_vendor" = xsequent; then
                   11660:        # Use $CC to link under sequent, because it throws in some extra .o
                   11661:        # files that make .init and .fini sections work.
                   11662:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   11663:       else
                   11664:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   11665:       fi
                   11666:       hardcode_libdir_flag_spec='-L$libdir'
                   11667:       hardcode_direct=yes
                   11668:       hardcode_minus_L=yes
                   11669:       hardcode_shlibpath_var=no
                   11670:       ;;
                   11671: 
                   11672:     sysv4)
                   11673:       case $host_vendor in
                   11674:        sni)
                   11675:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11676:          hardcode_direct=yes # is this really true???
                   11677:        ;;
                   11678:        siemens)
                   11679:          ## LD is ld it makes a PLAMLIB
                   11680:          ## CC just makes a GrossModule.
                   11681:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   11682:          reload_cmds='$CC -r -o $output$reload_objs'
                   11683:          hardcode_direct=no
                   11684:         ;;
                   11685:        motorola)
                   11686:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11687:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   11688:        ;;
                   11689:       esac
                   11690:       runpath_var='LD_RUN_PATH'
                   11691:       hardcode_shlibpath_var=no
                   11692:       ;;
                   11693: 
                   11694:     sysv4.3*)
                   11695:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11696:       hardcode_shlibpath_var=no
                   11697:       export_dynamic_flag_spec='-Bexport'
                   11698:       ;;
                   11699: 
                   11700:     sysv4*MP*)
                   11701:       if test -d /usr/nec; then
                   11702:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11703:        hardcode_shlibpath_var=no
                   11704:        runpath_var=LD_RUN_PATH
                   11705:        hardcode_runpath_var=yes
                   11706:        ld_shlibs=yes
                   11707:       fi
                   11708:       ;;
                   11709: 
                   11710:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   11711:       no_undefined_flag='${wl}-z,text'
                   11712:       archive_cmds_need_lc=no
                   11713:       hardcode_shlibpath_var=no
                   11714:       runpath_var='LD_RUN_PATH'
                   11715: 
                   11716:       if test "$GCC" = yes; then
                   11717:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11718:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11719:       else
                   11720:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11721:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11722:       fi
                   11723:       ;;
                   11724: 
                   11725:     sysv5* | sco3.2v5* | sco5v6*)
                   11726:       # Note: We can NOT use -z defs as we might desire, because we do not
                   11727:       # link with -lc, and that would cause any symbols used from libc to
                   11728:       # always be unresolved, which means just about no library would
                   11729:       # ever link correctly.  If we're not using GNU ld we use -z text
                   11730:       # though, which does catch some bad symbols but isn't as heavy-handed
                   11731:       # as -z defs.
                   11732:       no_undefined_flag='${wl}-z,text'
                   11733:       allow_undefined_flag='${wl}-z,nodefs'
                   11734:       archive_cmds_need_lc=no
                   11735:       hardcode_shlibpath_var=no
                   11736:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   11737:       hardcode_libdir_separator=':'
                   11738:       link_all_deplibs=yes
                   11739:       export_dynamic_flag_spec='${wl}-Bexport'
                   11740:       runpath_var='LD_RUN_PATH'
                   11741: 
                   11742:       if test "$GCC" = yes; then
                   11743:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11744:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11745:       else
                   11746:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11747:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   11748:       fi
                   11749:       ;;
                   11750: 
                   11751:     uts4*)
                   11752:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   11753:       hardcode_libdir_flag_spec='-L$libdir'
                   11754:       hardcode_shlibpath_var=no
                   11755:       ;;
                   11756: 
                   11757:     *)
                   11758:       ld_shlibs=no
                   11759:       ;;
                   11760:     esac
                   11761: 
                   11762:     if test x$host_vendor = xsni; then
                   11763:       case $host in
                   11764:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   11765:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   11766:        ;;
                   11767:       esac
                   11768:     fi
                   11769:   fi
                   11770: 
                   11771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   11772: $as_echo "$ld_shlibs" >&6; }
                   11773: test "$ld_shlibs" = no && can_build_shared=no
                   11774: 
                   11775: with_gnu_ld=$with_gnu_ld
                   11776: 
                   11777: 
                   11778: 
                   11779: 
                   11780: 
                   11781: 
                   11782: 
                   11783: 
                   11784: 
                   11785: 
                   11786: 
                   11787: 
                   11788: 
                   11789: 
                   11790: 
                   11791: #
                   11792: # Do we need to explicitly link libc?
                   11793: #
                   11794: case "x$archive_cmds_need_lc" in
                   11795: x|xyes)
                   11796:   # Assume -lc should be added
                   11797:   archive_cmds_need_lc=yes
                   11798: 
                   11799:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   11800:     case $archive_cmds in
                   11801:     *'~'*)
                   11802:       # FIXME: we may have to deal with multi-command sequences.
                   11803:       ;;
                   11804:     '$CC '*)
                   11805:       # Test whether the compiler implicitly links with -lc since on some
                   11806:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   11807:       # to ld, don't add -lc before -lgcc.
                   11808:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   11809: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   11810: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   11811:   $as_echo_n "(cached) " >&6
                   11812: else
                   11813:   $RM conftest*
                   11814:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   11815: 
                   11816:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   11817:   (eval $ac_compile) 2>&5
                   11818:   ac_status=$?
                   11819:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11820:   test $ac_status = 0; } 2>conftest.err; then
                   11821:          soname=conftest
                   11822:          lib=conftest
                   11823:          libobjs=conftest.$ac_objext
                   11824:          deplibs=
                   11825:          wl=$lt_prog_compiler_wl
                   11826:          pic_flag=$lt_prog_compiler_pic
                   11827:          compiler_flags=-v
                   11828:          linker_flags=-v
                   11829:          verstring=
                   11830:          output_objdir=.
                   11831:          libname=conftest
                   11832:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   11833:          allow_undefined_flag=
                   11834:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   11835:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   11836:   ac_status=$?
                   11837:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11838:   test $ac_status = 0; }
                   11839:          then
                   11840:            lt_cv_archive_cmds_need_lc=no
                   11841:          else
                   11842:            lt_cv_archive_cmds_need_lc=yes
                   11843:          fi
                   11844:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   11845:        else
                   11846:          cat conftest.err 1>&5
                   11847:        fi
                   11848:        $RM conftest*
                   11849: 
                   11850: fi
                   11851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   11852: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   11853:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   11854:       ;;
                   11855:     esac
                   11856:   fi
                   11857:   ;;
                   11858: esac
                   11859: 
                   11860: 
                   11861: 
                   11862: 
                   11863: 
                   11864: 
                   11865: 
                   11866: 
                   11867: 
                   11868: 
                   11869: 
                   11870: 
                   11871: 
                   11872: 
                   11873: 
                   11874: 
                   11875: 
                   11876: 
                   11877: 
                   11878: 
                   11879: 
                   11880: 
                   11881: 
                   11882: 
                   11883: 
                   11884: 
                   11885: 
                   11886: 
                   11887: 
                   11888: 
                   11889: 
                   11890: 
                   11891: 
                   11892: 
                   11893: 
                   11894: 
                   11895: 
                   11896: 
                   11897: 
                   11898: 
                   11899: 
                   11900: 
                   11901: 
                   11902: 
                   11903: 
                   11904: 
                   11905: 
                   11906: 
                   11907: 
                   11908: 
                   11909: 
                   11910: 
                   11911: 
                   11912: 
                   11913: 
                   11914: 
                   11915: 
                   11916: 
                   11917: 
                   11918: 
                   11919: 
                   11920: 
                   11921: 
                   11922: 
                   11923: 
                   11924: 
                   11925: 
                   11926: 
                   11927: 
                   11928: 
                   11929: 
                   11930: 
                   11931: 
                   11932: 
                   11933: 
                   11934: 
                   11935: 
                   11936: 
                   11937: 
                   11938: 
                   11939: 
                   11940: 
                   11941: 
                   11942: 
                   11943: 
                   11944: 
                   11945: 
                   11946: 
                   11947: 
                   11948: 
                   11949: 
                   11950: 
                   11951: 
                   11952: 
                   11953: 
                   11954: 
                   11955: 
                   11956: 
                   11957: 
                   11958: 
                   11959: 
                   11960: 
                   11961: 
                   11962: 
                   11963: 
                   11964: 
                   11965: 
                   11966: 
                   11967: 
                   11968: 
                   11969: 
                   11970: 
                   11971: 
                   11972: 
                   11973: 
                   11974: 
                   11975: 
                   11976: 
                   11977: 
                   11978: 
                   11979: 
                   11980: 
                   11981: 
                   11982: 
                   11983: 
                   11984: 
                   11985: 
                   11986: 
                   11987: 
                   11988: 
                   11989: 
                   11990: 
                   11991: 
                   11992: 
                   11993: 
                   11994: 
                   11995: 
                   11996: 
                   11997: 
                   11998: 
                   11999: 
                   12000: 
                   12001: 
                   12002: 
                   12003: 
                   12004: 
                   12005: 
                   12006: 
                   12007: 
                   12008: 
                   12009: 
                   12010: 
                   12011:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   12012: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   12013: 
                   12014: if test "$GCC" = yes; then
                   12015:   case $host_os in
                   12016:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   12017:     *) lt_awk_arg="/^libraries:/" ;;
                   12018:   esac
                   12019:   case $host_os in
                   12020:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   12021:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   12022:   esac
                   12023:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   12024:   case $lt_search_path_spec in
                   12025:   *\;*)
                   12026:     # if the path contains ";" then we assume it to be the separator
                   12027:     # otherwise default to the standard path separator (i.e. ":") - it is
                   12028:     # assumed that no part of a normal pathname contains ";" but that should
                   12029:     # okay in the real world where ";" in dirpaths is itself problematic.
                   12030:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   12031:     ;;
                   12032:   *)
                   12033:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   12034:     ;;
                   12035:   esac
                   12036:   # Ok, now we have the path, separated by spaces, we can step through it
                   12037:   # and add multilib dir if necessary.
                   12038:   lt_tmp_lt_search_path_spec=
                   12039:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   12040:   for lt_sys_path in $lt_search_path_spec; do
                   12041:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   12042:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   12043:     else
                   12044:       test -d "$lt_sys_path" && \
                   12045:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   12046:     fi
                   12047:   done
                   12048:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   12049: BEGIN {RS=" "; FS="/|\n";} {
                   12050:   lt_foo="";
                   12051:   lt_count=0;
                   12052:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   12053:     if ($lt_i != "" && $lt_i != ".") {
                   12054:       if ($lt_i == "..") {
                   12055:         lt_count++;
                   12056:       } else {
                   12057:         if (lt_count == 0) {
                   12058:           lt_foo="/" $lt_i lt_foo;
                   12059:         } else {
                   12060:           lt_count--;
                   12061:         }
                   12062:       }
                   12063:     }
                   12064:   }
                   12065:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   12066:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   12067: }'`
                   12068:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   12069:   # for these hosts.
                   12070:   case $host_os in
                   12071:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   12072:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   12073:   esac
                   12074:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   12075: else
                   12076:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   12077: fi
                   12078: library_names_spec=
                   12079: libname_spec='lib$name'
                   12080: soname_spec=
                   12081: shrext_cmds=".so"
                   12082: postinstall_cmds=
                   12083: postuninstall_cmds=
                   12084: finish_cmds=
                   12085: finish_eval=
                   12086: shlibpath_var=
                   12087: shlibpath_overrides_runpath=unknown
                   12088: version_type=none
                   12089: dynamic_linker="$host_os ld.so"
                   12090: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   12091: need_lib_prefix=unknown
                   12092: hardcode_into_libs=no
                   12093: 
                   12094: # when you set need_version to no, make sure it does not cause -set_version
                   12095: # flags to be left without arguments
                   12096: need_version=unknown
                   12097: 
                   12098: case $host_os in
                   12099: aix3*)
1.1.1.2   misho    12100:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12101:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   12102:   shlibpath_var=LIBPATH
                   12103: 
                   12104:   # AIX 3 has no versioning support, so we append a major version to the name.
                   12105:   soname_spec='${libname}${release}${shared_ext}$major'
                   12106:   ;;
                   12107: 
                   12108: aix[4-9]*)
1.1.1.2   misho    12109:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12110:   need_lib_prefix=no
                   12111:   need_version=no
                   12112:   hardcode_into_libs=yes
                   12113:   if test "$host_cpu" = ia64; then
                   12114:     # AIX 5 supports IA64
                   12115:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   12116:     shlibpath_var=LD_LIBRARY_PATH
                   12117:   else
                   12118:     # With GCC up to 2.95.x, collect2 would create an import file
                   12119:     # for dependence libraries.  The import file would start with
                   12120:     # the line `#! .'.  This would cause the generated library to
                   12121:     # depend on `.', always an invalid library.  This was fixed in
                   12122:     # development snapshots of GCC prior to 3.0.
                   12123:     case $host_os in
                   12124:       aix4 | aix4.[01] | aix4.[01].*)
                   12125:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   12126:           echo ' yes '
                   12127:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   12128:        :
                   12129:       else
                   12130:        can_build_shared=no
                   12131:       fi
                   12132:       ;;
                   12133:     esac
                   12134:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   12135:     # soname into executable. Probably we can add versioning support to
                   12136:     # collect2, so additional links can be useful in future.
                   12137:     if test "$aix_use_runtimelinking" = yes; then
                   12138:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   12139:       # instead of lib<name>.a to let people know that these are not
                   12140:       # typical AIX shared libraries.
                   12141:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12142:     else
                   12143:       # We preserve .a as extension for shared libraries through AIX4.2
                   12144:       # and later when we are not doing run time linking.
                   12145:       library_names_spec='${libname}${release}.a $libname.a'
                   12146:       soname_spec='${libname}${release}${shared_ext}$major'
                   12147:     fi
                   12148:     shlibpath_var=LIBPATH
                   12149:   fi
                   12150:   ;;
                   12151: 
                   12152: amigaos*)
                   12153:   case $host_cpu in
                   12154:   powerpc)
                   12155:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   12156:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   12157:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12158:     ;;
                   12159:   m68k)
                   12160:     library_names_spec='$libname.ixlibrary $libname.a'
                   12161:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   12162:     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'
                   12163:     ;;
                   12164:   esac
                   12165:   ;;
                   12166: 
                   12167: beos*)
                   12168:   library_names_spec='${libname}${shared_ext}'
                   12169:   dynamic_linker="$host_os ld.so"
                   12170:   shlibpath_var=LIBRARY_PATH
                   12171:   ;;
                   12172: 
                   12173: bsdi[45]*)
1.1.1.2   misho    12174:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12175:   need_version=no
                   12176:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12177:   soname_spec='${libname}${release}${shared_ext}$major'
                   12178:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   12179:   shlibpath_var=LD_LIBRARY_PATH
                   12180:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   12181:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   12182:   # the default ld.so.conf also contains /usr/contrib/lib and
                   12183:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   12184:   # libtool to hard-code these into programs
                   12185:   ;;
                   12186: 
                   12187: cygwin* | mingw* | pw32* | cegcc*)
                   12188:   version_type=windows
                   12189:   shrext_cmds=".dll"
                   12190:   need_version=no
                   12191:   need_lib_prefix=no
                   12192: 
                   12193:   case $GCC,$cc_basename in
                   12194:   yes,*)
                   12195:     # gcc
                   12196:     library_names_spec='$libname.dll.a'
                   12197:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12198:     postinstall_cmds='base_file=`basename \${file}`~
                   12199:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12200:       dldir=$destdir/`dirname \$dlpath`~
                   12201:       test -d \$dldir || mkdir -p \$dldir~
                   12202:       $install_prog $dir/$dlname \$dldir/$dlname~
                   12203:       chmod a+x \$dldir/$dlname~
                   12204:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   12205:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   12206:       fi'
                   12207:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12208:       dlpath=$dir/\$dldll~
                   12209:        $RM \$dlpath'
                   12210:     shlibpath_overrides_runpath=yes
                   12211: 
                   12212:     case $host_os in
                   12213:     cygwin*)
                   12214:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   12215:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12216: 
                   12217:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   12218:       ;;
                   12219:     mingw* | cegcc*)
                   12220:       # MinGW DLLs use traditional 'lib' prefix
                   12221:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12222:       ;;
                   12223:     pw32*)
                   12224:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   12225:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12226:       ;;
                   12227:     esac
                   12228:     dynamic_linker='Win32 ld.exe'
                   12229:     ;;
                   12230: 
                   12231:   *,cl*)
                   12232:     # Native MSVC
                   12233:     libname_spec='$name'
                   12234:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   12235:     library_names_spec='${libname}.dll.lib'
                   12236: 
                   12237:     case $build_os in
                   12238:     mingw*)
                   12239:       sys_lib_search_path_spec=
                   12240:       lt_save_ifs=$IFS
                   12241:       IFS=';'
                   12242:       for lt_path in $LIB
                   12243:       do
                   12244:         IFS=$lt_save_ifs
                   12245:         # Let DOS variable expansion print the short 8.3 style file name.
                   12246:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   12247:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   12248:       done
                   12249:       IFS=$lt_save_ifs
                   12250:       # Convert to MSYS style.
                   12251:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   12252:       ;;
                   12253:     cygwin*)
                   12254:       # Convert to unix form, then to dos form, then back to unix form
                   12255:       # but this time dos style (no spaces!) so that the unix form looks
                   12256:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   12257:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   12258:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   12259:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12260:       ;;
                   12261:     *)
                   12262:       sys_lib_search_path_spec="$LIB"
                   12263:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   12264:         # It is most probably a Windows format PATH.
                   12265:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   12266:       else
                   12267:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   12268:       fi
                   12269:       # FIXME: find the short name or the path components, as spaces are
                   12270:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   12271:       ;;
                   12272:     esac
                   12273: 
                   12274:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   12275:     postinstall_cmds='base_file=`basename \${file}`~
                   12276:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   12277:       dldir=$destdir/`dirname \$dlpath`~
                   12278:       test -d \$dldir || mkdir -p \$dldir~
                   12279:       $install_prog $dir/$dlname \$dldir/$dlname'
                   12280:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   12281:       dlpath=$dir/\$dldll~
                   12282:        $RM \$dlpath'
                   12283:     shlibpath_overrides_runpath=yes
                   12284:     dynamic_linker='Win32 link.exe'
                   12285:     ;;
                   12286: 
                   12287:   *)
                   12288:     # Assume MSVC wrapper
                   12289:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   12290:     dynamic_linker='Win32 ld.exe'
                   12291:     ;;
                   12292:   esac
                   12293:   # FIXME: first we should search . and the directory the executable is in
                   12294:   shlibpath_var=PATH
                   12295:   ;;
                   12296: 
                   12297: darwin* | rhapsody*)
                   12298:   dynamic_linker="$host_os dyld"
                   12299:   version_type=darwin
                   12300:   need_lib_prefix=no
                   12301:   need_version=no
                   12302:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   12303:   soname_spec='${libname}${release}${major}$shared_ext'
                   12304:   shlibpath_overrides_runpath=yes
                   12305:   shlibpath_var=DYLD_LIBRARY_PATH
                   12306:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   12307: 
                   12308:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   12309:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   12310:   ;;
                   12311: 
                   12312: dgux*)
1.1.1.2   misho    12313:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12314:   need_lib_prefix=no
                   12315:   need_version=no
                   12316:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   12317:   soname_spec='${libname}${release}${shared_ext}$major'
                   12318:   shlibpath_var=LD_LIBRARY_PATH
                   12319:   ;;
                   12320: 
                   12321: freebsd* | dragonfly*)
                   12322:   # DragonFly does not have aout.  When/if they implement a new
                   12323:   # versioning mechanism, adjust this.
                   12324:   if test -x /usr/bin/objformat; then
                   12325:     objformat=`/usr/bin/objformat`
                   12326:   else
                   12327:     case $host_os in
1.1.1.2   misho    12328:     freebsd[23].*) objformat=aout ;;
1.1       misho    12329:     *) objformat=elf ;;
                   12330:     esac
                   12331:   fi
1.1.1.5 ! misho    12332:   version_type=freebsd-$objformat
1.1       misho    12333:   case $version_type in
                   12334:     freebsd-elf*)
                   12335:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12336:       need_version=no
                   12337:       need_lib_prefix=no
                   12338:       ;;
                   12339:     freebsd-*)
                   12340:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   12341:       need_version=yes
                   12342:       ;;
                   12343:   esac
                   12344:   shlibpath_var=LD_LIBRARY_PATH
                   12345:   case $host_os in
1.1.1.2   misho    12346:   freebsd2.*)
1.1       misho    12347:     shlibpath_overrides_runpath=yes
                   12348:     ;;
                   12349:   freebsd3.[01]* | freebsdelf3.[01]*)
                   12350:     shlibpath_overrides_runpath=yes
                   12351:     hardcode_into_libs=yes
                   12352:     ;;
                   12353:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   12354:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   12355:     shlibpath_overrides_runpath=no
                   12356:     hardcode_into_libs=yes
                   12357:     ;;
                   12358:   *) # from 4.6 on, and DragonFly
                   12359:     shlibpath_overrides_runpath=yes
                   12360:     hardcode_into_libs=yes
                   12361:     ;;
                   12362:   esac
                   12363:   ;;
                   12364: 
                   12365: haiku*)
1.1.1.2   misho    12366:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12367:   need_lib_prefix=no
                   12368:   need_version=no
                   12369:   dynamic_linker="$host_os runtime_loader"
                   12370:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   12371:   soname_spec='${libname}${release}${shared_ext}$major'
                   12372:   shlibpath_var=LIBRARY_PATH
                   12373:   shlibpath_overrides_runpath=yes
                   12374:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   12375:   hardcode_into_libs=yes
                   12376:   ;;
                   12377: 
                   12378: hpux9* | hpux10* | hpux11*)
                   12379:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   12380:   # link against other versions.
                   12381:   version_type=sunos
                   12382:   need_lib_prefix=no
                   12383:   need_version=no
                   12384:   case $host_cpu in
                   12385:   ia64*)
                   12386:     shrext_cmds='.so'
                   12387:     hardcode_into_libs=yes
                   12388:     dynamic_linker="$host_os dld.so"
                   12389:     shlibpath_var=LD_LIBRARY_PATH
                   12390:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12391:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12392:     soname_spec='${libname}${release}${shared_ext}$major'
                   12393:     if test "X$HPUX_IA64_MODE" = X32; then
                   12394:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   12395:     else
                   12396:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   12397:     fi
                   12398:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12399:     ;;
                   12400:   hppa*64*)
                   12401:     shrext_cmds='.sl'
                   12402:     hardcode_into_libs=yes
                   12403:     dynamic_linker="$host_os dld.sl"
                   12404:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   12405:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   12406:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12407:     soname_spec='${libname}${release}${shared_ext}$major'
                   12408:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   12409:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   12410:     ;;
                   12411:   *)
                   12412:     shrext_cmds='.sl'
                   12413:     dynamic_linker="$host_os dld.sl"
                   12414:     shlibpath_var=SHLIB_PATH
                   12415:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   12416:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12417:     soname_spec='${libname}${release}${shared_ext}$major'
                   12418:     ;;
                   12419:   esac
                   12420:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   12421:   postinstall_cmds='chmod 555 $lib'
                   12422:   # or fails outright, so override atomically:
                   12423:   install_override_mode=555
                   12424:   ;;
                   12425: 
                   12426: interix[3-9]*)
1.1.1.2   misho    12427:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12428:   need_lib_prefix=no
                   12429:   need_version=no
                   12430:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12431:   soname_spec='${libname}${release}${shared_ext}$major'
                   12432:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   12433:   shlibpath_var=LD_LIBRARY_PATH
                   12434:   shlibpath_overrides_runpath=no
                   12435:   hardcode_into_libs=yes
                   12436:   ;;
                   12437: 
                   12438: irix5* | irix6* | nonstopux*)
                   12439:   case $host_os in
                   12440:     nonstopux*) version_type=nonstopux ;;
                   12441:     *)
                   12442:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.1.1.2   misho    12443:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12444:        else
                   12445:                version_type=irix
                   12446:        fi ;;
                   12447:   esac
                   12448:   need_lib_prefix=no
                   12449:   need_version=no
                   12450:   soname_spec='${libname}${release}${shared_ext}$major'
                   12451:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12452:   case $host_os in
                   12453:   irix5* | nonstopux*)
                   12454:     libsuff= shlibsuff=
                   12455:     ;;
                   12456:   *)
                   12457:     case $LD in # libtool.m4 will add one of these switches to LD
                   12458:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   12459:       libsuff= shlibsuff= libmagic=32-bit;;
                   12460:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   12461:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   12462:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   12463:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   12464:     *) libsuff= shlibsuff= libmagic=never-match;;
                   12465:     esac
                   12466:     ;;
                   12467:   esac
                   12468:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   12469:   shlibpath_overrides_runpath=no
                   12470:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   12471:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   12472:   hardcode_into_libs=yes
                   12473:   ;;
                   12474: 
                   12475: # No shared lib support for Linux oldld, aout, or coff.
                   12476: linux*oldld* | linux*aout* | linux*coff*)
                   12477:   dynamic_linker=no
                   12478:   ;;
                   12479: 
1.1.1.2   misho    12480: # This must be glibc/ELF.
1.1.1.5 ! misho    12481: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
1.1.1.2   misho    12482:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12483:   need_lib_prefix=no
                   12484:   need_version=no
                   12485:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12486:   soname_spec='${libname}${release}${shared_ext}$major'
                   12487:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   12488:   shlibpath_var=LD_LIBRARY_PATH
                   12489:   shlibpath_overrides_runpath=no
                   12490: 
                   12491:   # Some binutils ld are patched to set DT_RUNPATH
                   12492:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   12493:   $as_echo_n "(cached) " >&6
                   12494: else
                   12495:   lt_cv_shlibpath_overrides_runpath=no
                   12496:     save_LDFLAGS=$LDFLAGS
                   12497:     save_libdir=$libdir
                   12498:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   12499:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   12500:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12501: /* end confdefs.h.  */
                   12502: 
                   12503: int
                   12504: main ()
                   12505: {
                   12506: 
                   12507:   ;
                   12508:   return 0;
                   12509: }
                   12510: _ACEOF
                   12511: if ac_fn_c_try_link "$LINENO"; then :
                   12512:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   12513:   lt_cv_shlibpath_overrides_runpath=yes
                   12514: fi
                   12515: fi
                   12516: rm -f core conftest.err conftest.$ac_objext \
                   12517:     conftest$ac_exeext conftest.$ac_ext
                   12518:     LDFLAGS=$save_LDFLAGS
                   12519:     libdir=$save_libdir
                   12520: 
                   12521: fi
                   12522: 
                   12523:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   12524: 
                   12525:   # This implies no fast_install, which is unacceptable.
                   12526:   # Some rework will be needed to allow for fast_install
                   12527:   # before this can be enabled.
                   12528:   hardcode_into_libs=yes
                   12529: 
                   12530:   # Append ld.so.conf contents to the search path
                   12531:   if test -f /etc/ld.so.conf; then
                   12532:     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' ' '`
1.1.1.2   misho    12533:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.1       misho    12534:   fi
                   12535: 
                   12536:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   12537:   # powerpc, because MkLinux only supported shared libraries with the
                   12538:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   12539:   # most powerpc-linux boxes support dynamic linking these days and
                   12540:   # people can always --disable-shared, the test was removed, and we
                   12541:   # assume the GNU/Linux dynamic linker is in use.
                   12542:   dynamic_linker='GNU/Linux ld.so'
                   12543:   ;;
                   12544: 
1.1.1.5 ! misho    12545: netbsdelf*-gnu)
        !          12546:   version_type=linux
        !          12547:   need_lib_prefix=no
        !          12548:   need_version=no
        !          12549:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
        !          12550:   soname_spec='${libname}${release}${shared_ext}$major'
        !          12551:   shlibpath_var=LD_LIBRARY_PATH
        !          12552:   shlibpath_overrides_runpath=no
        !          12553:   hardcode_into_libs=yes
        !          12554:   dynamic_linker='NetBSD ld.elf_so'
        !          12555:   ;;
        !          12556: 
1.1       misho    12557: netbsd*)
                   12558:   version_type=sunos
                   12559:   need_lib_prefix=no
                   12560:   need_version=no
                   12561:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   12562:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12563:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12564:     dynamic_linker='NetBSD (a.out) ld.so'
                   12565:   else
                   12566:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   12567:     soname_spec='${libname}${release}${shared_ext}$major'
                   12568:     dynamic_linker='NetBSD ld.elf_so'
                   12569:   fi
                   12570:   shlibpath_var=LD_LIBRARY_PATH
                   12571:   shlibpath_overrides_runpath=yes
                   12572:   hardcode_into_libs=yes
                   12573:   ;;
                   12574: 
                   12575: newsos6)
1.1.1.2   misho    12576:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12577:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12578:   shlibpath_var=LD_LIBRARY_PATH
                   12579:   shlibpath_overrides_runpath=yes
                   12580:   ;;
                   12581: 
                   12582: *nto* | *qnx*)
                   12583:   version_type=qnx
                   12584:   need_lib_prefix=no
                   12585:   need_version=no
                   12586:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12587:   soname_spec='${libname}${release}${shared_ext}$major'
                   12588:   shlibpath_var=LD_LIBRARY_PATH
                   12589:   shlibpath_overrides_runpath=no
                   12590:   hardcode_into_libs=yes
                   12591:   dynamic_linker='ldqnx.so'
                   12592:   ;;
                   12593: 
                   12594: openbsd*)
                   12595:   version_type=sunos
                   12596:   sys_lib_dlsearch_path_spec="/usr/lib"
                   12597:   need_lib_prefix=no
                   12598:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   12599:   case $host_os in
                   12600:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   12601:     *)                         need_version=no  ;;
                   12602:   esac
                   12603:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12604:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   12605:   shlibpath_var=LD_LIBRARY_PATH
                   12606:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   12607:     case $host_os in
                   12608:       openbsd2.[89] | openbsd2.[89].*)
                   12609:        shlibpath_overrides_runpath=no
                   12610:        ;;
                   12611:       *)
                   12612:        shlibpath_overrides_runpath=yes
                   12613:        ;;
                   12614:       esac
                   12615:   else
                   12616:     shlibpath_overrides_runpath=yes
                   12617:   fi
                   12618:   ;;
                   12619: 
                   12620: os2*)
                   12621:   libname_spec='$name'
                   12622:   shrext_cmds=".dll"
                   12623:   need_lib_prefix=no
                   12624:   library_names_spec='$libname${shared_ext} $libname.a'
                   12625:   dynamic_linker='OS/2 ld.exe'
                   12626:   shlibpath_var=LIBPATH
                   12627:   ;;
                   12628: 
                   12629: osf3* | osf4* | osf5*)
                   12630:   version_type=osf
                   12631:   need_lib_prefix=no
                   12632:   need_version=no
                   12633:   soname_spec='${libname}${release}${shared_ext}$major'
                   12634:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12635:   shlibpath_var=LD_LIBRARY_PATH
                   12636:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   12637:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   12638:   ;;
                   12639: 
                   12640: rdos*)
                   12641:   dynamic_linker=no
                   12642:   ;;
                   12643: 
                   12644: solaris*)
1.1.1.2   misho    12645:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12646:   need_lib_prefix=no
                   12647:   need_version=no
                   12648:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12649:   soname_spec='${libname}${release}${shared_ext}$major'
                   12650:   shlibpath_var=LD_LIBRARY_PATH
                   12651:   shlibpath_overrides_runpath=yes
                   12652:   hardcode_into_libs=yes
                   12653:   # ldd complains unless libraries are executable
                   12654:   postinstall_cmds='chmod +x $lib'
                   12655:   ;;
                   12656: 
                   12657: sunos4*)
                   12658:   version_type=sunos
                   12659:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   12660:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   12661:   shlibpath_var=LD_LIBRARY_PATH
                   12662:   shlibpath_overrides_runpath=yes
                   12663:   if test "$with_gnu_ld" = yes; then
                   12664:     need_lib_prefix=no
                   12665:   fi
                   12666:   need_version=yes
                   12667:   ;;
                   12668: 
                   12669: sysv4 | sysv4.3*)
1.1.1.2   misho    12670:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12671:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12672:   soname_spec='${libname}${release}${shared_ext}$major'
                   12673:   shlibpath_var=LD_LIBRARY_PATH
                   12674:   case $host_vendor in
                   12675:     sni)
                   12676:       shlibpath_overrides_runpath=no
                   12677:       need_lib_prefix=no
                   12678:       runpath_var=LD_RUN_PATH
                   12679:       ;;
                   12680:     siemens)
                   12681:       need_lib_prefix=no
                   12682:       ;;
                   12683:     motorola)
                   12684:       need_lib_prefix=no
                   12685:       need_version=no
                   12686:       shlibpath_overrides_runpath=no
                   12687:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   12688:       ;;
                   12689:   esac
                   12690:   ;;
                   12691: 
                   12692: sysv4*MP*)
                   12693:   if test -d /usr/nec ;then
1.1.1.2   misho    12694:     version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12695:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   12696:     soname_spec='$libname${shared_ext}.$major'
                   12697:     shlibpath_var=LD_LIBRARY_PATH
                   12698:   fi
                   12699:   ;;
                   12700: 
                   12701: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12702:   version_type=freebsd-elf
                   12703:   need_lib_prefix=no
                   12704:   need_version=no
                   12705:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   12706:   soname_spec='${libname}${release}${shared_ext}$major'
                   12707:   shlibpath_var=LD_LIBRARY_PATH
                   12708:   shlibpath_overrides_runpath=yes
                   12709:   hardcode_into_libs=yes
                   12710:   if test "$with_gnu_ld" = yes; then
                   12711:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   12712:   else
                   12713:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   12714:     case $host_os in
                   12715:       sco3.2v5*)
                   12716:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   12717:        ;;
                   12718:     esac
                   12719:   fi
                   12720:   sys_lib_dlsearch_path_spec='/usr/lib'
                   12721:   ;;
                   12722: 
                   12723: tpf*)
                   12724:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.2   misho    12725:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12726:   need_lib_prefix=no
                   12727:   need_version=no
                   12728:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12729:   shlibpath_var=LD_LIBRARY_PATH
                   12730:   shlibpath_overrides_runpath=no
                   12731:   hardcode_into_libs=yes
                   12732:   ;;
                   12733: 
                   12734: uts4*)
1.1.1.2   misho    12735:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    12736:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   12737:   soname_spec='${libname}${release}${shared_ext}$major'
                   12738:   shlibpath_var=LD_LIBRARY_PATH
                   12739:   ;;
                   12740: 
                   12741: *)
                   12742:   dynamic_linker=no
                   12743:   ;;
                   12744: esac
                   12745: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   12746: $as_echo "$dynamic_linker" >&6; }
                   12747: test "$dynamic_linker" = no && can_build_shared=no
                   12748: 
                   12749: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   12750: if test "$GCC" = yes; then
                   12751:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   12752: fi
                   12753: 
                   12754: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   12755:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   12756: fi
                   12757: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   12758:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   12759: fi
                   12760: 
                   12761: 
                   12762: 
                   12763: 
                   12764: 
                   12765: 
                   12766: 
                   12767: 
                   12768: 
                   12769: 
                   12770: 
                   12771: 
                   12772: 
                   12773: 
                   12774: 
                   12775: 
                   12776: 
                   12777: 
                   12778: 
                   12779: 
                   12780: 
                   12781: 
                   12782: 
                   12783: 
                   12784: 
                   12785: 
                   12786: 
                   12787: 
                   12788: 
                   12789: 
                   12790: 
                   12791: 
                   12792: 
                   12793: 
                   12794: 
                   12795: 
                   12796: 
                   12797: 
                   12798: 
                   12799: 
                   12800: 
                   12801: 
                   12802: 
                   12803: 
                   12804: 
                   12805: 
                   12806: 
                   12807: 
                   12808: 
                   12809: 
                   12810: 
                   12811: 
                   12812: 
                   12813: 
                   12814: 
                   12815: 
                   12816: 
                   12817: 
                   12818: 
                   12819: 
                   12820: 
                   12821: 
                   12822: 
                   12823: 
                   12824: 
                   12825: 
                   12826: 
                   12827: 
                   12828: 
                   12829: 
                   12830: 
                   12831: 
                   12832: 
                   12833: 
                   12834: 
                   12835: 
                   12836: 
                   12837: 
                   12838: 
                   12839: 
                   12840: 
                   12841: 
                   12842: 
                   12843: 
                   12844: 
                   12845: 
                   12846: 
                   12847: 
                   12848: 
                   12849: 
                   12850: 
                   12851: 
                   12852:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   12853: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   12854: hardcode_action=
                   12855: if test -n "$hardcode_libdir_flag_spec" ||
                   12856:    test -n "$runpath_var" ||
                   12857:    test "X$hardcode_automatic" = "Xyes" ; then
                   12858: 
                   12859:   # We can hardcode non-existent directories.
                   12860:   if test "$hardcode_direct" != no &&
                   12861:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   12862:      # have to relink, otherwise we might link with an installed library
                   12863:      # when we should be linking with a yet-to-be-installed one
                   12864:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   12865:      test "$hardcode_minus_L" != no; then
                   12866:     # Linking always hardcodes the temporary library directory.
                   12867:     hardcode_action=relink
                   12868:   else
                   12869:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   12870:     hardcode_action=immediate
                   12871:   fi
                   12872: else
                   12873:   # We cannot hardcode anything, or else we can only hardcode existing
                   12874:   # directories.
                   12875:   hardcode_action=unsupported
                   12876: fi
                   12877: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   12878: $as_echo "$hardcode_action" >&6; }
                   12879: 
                   12880: if test "$hardcode_action" = relink ||
                   12881:    test "$inherit_rpath" = yes; then
                   12882:   # Fast installation is not supported
                   12883:   enable_fast_install=no
                   12884: elif test "$shlibpath_overrides_runpath" = yes ||
                   12885:      test "$enable_shared" = no; then
                   12886:   # Fast installation is not necessary
                   12887:   enable_fast_install=needless
                   12888: fi
                   12889: 
                   12890: 
                   12891: 
                   12892: 
                   12893: 
                   12894: 
                   12895:   if test "x$enable_dlopen" != xyes; then
                   12896:   enable_dlopen=unknown
                   12897:   enable_dlopen_self=unknown
                   12898:   enable_dlopen_self_static=unknown
                   12899: else
                   12900:   lt_cv_dlopen=no
                   12901:   lt_cv_dlopen_libs=
                   12902: 
                   12903:   case $host_os in
                   12904:   beos*)
                   12905:     lt_cv_dlopen="load_add_on"
                   12906:     lt_cv_dlopen_libs=
                   12907:     lt_cv_dlopen_self=yes
                   12908:     ;;
                   12909: 
                   12910:   mingw* | pw32* | cegcc*)
                   12911:     lt_cv_dlopen="LoadLibrary"
                   12912:     lt_cv_dlopen_libs=
                   12913:     ;;
                   12914: 
                   12915:   cygwin*)
                   12916:     lt_cv_dlopen="dlopen"
                   12917:     lt_cv_dlopen_libs=
                   12918:     ;;
                   12919: 
                   12920:   darwin*)
                   12921:   # if libdl is installed we need to link against it
                   12922:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   12923: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   12924: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   12925:   $as_echo_n "(cached) " >&6
                   12926: else
                   12927:   ac_check_lib_save_LIBS=$LIBS
                   12928: LIBS="-ldl  $LIBS"
                   12929: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12930: /* end confdefs.h.  */
                   12931: 
                   12932: /* Override any GCC internal prototype to avoid an error.
                   12933:    Use char because int might match the return type of a GCC
                   12934:    builtin and then its argument prototype would still apply.  */
                   12935: #ifdef __cplusplus
                   12936: extern "C"
                   12937: #endif
                   12938: char dlopen ();
                   12939: int
                   12940: main ()
                   12941: {
                   12942: return dlopen ();
                   12943:   ;
                   12944:   return 0;
                   12945: }
                   12946: _ACEOF
                   12947: if ac_fn_c_try_link "$LINENO"; then :
                   12948:   ac_cv_lib_dl_dlopen=yes
                   12949: else
                   12950:   ac_cv_lib_dl_dlopen=no
                   12951: fi
                   12952: rm -f core conftest.err conftest.$ac_objext \
                   12953:     conftest$ac_exeext conftest.$ac_ext
                   12954: LIBS=$ac_check_lib_save_LIBS
                   12955: fi
                   12956: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   12957: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   12958: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   12959:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   12960: else
                   12961: 
                   12962:     lt_cv_dlopen="dyld"
                   12963:     lt_cv_dlopen_libs=
                   12964:     lt_cv_dlopen_self=yes
                   12965: 
                   12966: fi
                   12967: 
                   12968:     ;;
                   12969: 
                   12970:   *)
                   12971:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   12972: if test "x$ac_cv_func_shl_load" = xyes; then :
                   12973:   lt_cv_dlopen="shl_load"
                   12974: else
                   12975:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   12976: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   12977: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   12978:   $as_echo_n "(cached) " >&6
                   12979: else
                   12980:   ac_check_lib_save_LIBS=$LIBS
                   12981: LIBS="-ldld  $LIBS"
                   12982: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12983: /* end confdefs.h.  */
                   12984: 
                   12985: /* Override any GCC internal prototype to avoid an error.
                   12986:    Use char because int might match the return type of a GCC
                   12987:    builtin and then its argument prototype would still apply.  */
                   12988: #ifdef __cplusplus
                   12989: extern "C"
                   12990: #endif
                   12991: char shl_load ();
                   12992: int
                   12993: main ()
                   12994: {
                   12995: return shl_load ();
                   12996:   ;
                   12997:   return 0;
                   12998: }
                   12999: _ACEOF
                   13000: if ac_fn_c_try_link "$LINENO"; then :
                   13001:   ac_cv_lib_dld_shl_load=yes
                   13002: else
                   13003:   ac_cv_lib_dld_shl_load=no
                   13004: fi
                   13005: rm -f core conftest.err conftest.$ac_objext \
                   13006:     conftest$ac_exeext conftest.$ac_ext
                   13007: LIBS=$ac_check_lib_save_LIBS
                   13008: fi
                   13009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   13010: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   13011: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   13012:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   13013: else
                   13014:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   13015: if test "x$ac_cv_func_dlopen" = xyes; then :
                   13016:   lt_cv_dlopen="dlopen"
                   13017: else
                   13018:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   13019: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   13020: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   13021:   $as_echo_n "(cached) " >&6
                   13022: else
                   13023:   ac_check_lib_save_LIBS=$LIBS
                   13024: LIBS="-ldl  $LIBS"
                   13025: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13026: /* end confdefs.h.  */
                   13027: 
                   13028: /* Override any GCC internal prototype to avoid an error.
                   13029:    Use char because int might match the return type of a GCC
                   13030:    builtin and then its argument prototype would still apply.  */
                   13031: #ifdef __cplusplus
                   13032: extern "C"
                   13033: #endif
                   13034: char dlopen ();
                   13035: int
                   13036: main ()
                   13037: {
                   13038: return dlopen ();
                   13039:   ;
                   13040:   return 0;
                   13041: }
                   13042: _ACEOF
                   13043: if ac_fn_c_try_link "$LINENO"; then :
                   13044:   ac_cv_lib_dl_dlopen=yes
                   13045: else
                   13046:   ac_cv_lib_dl_dlopen=no
                   13047: fi
                   13048: rm -f core conftest.err conftest.$ac_objext \
                   13049:     conftest$ac_exeext conftest.$ac_ext
                   13050: LIBS=$ac_check_lib_save_LIBS
                   13051: fi
                   13052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   13053: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   13054: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   13055:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   13056: else
                   13057:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   13058: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   13059: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   13060:   $as_echo_n "(cached) " >&6
                   13061: else
                   13062:   ac_check_lib_save_LIBS=$LIBS
                   13063: LIBS="-lsvld  $LIBS"
                   13064: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13065: /* end confdefs.h.  */
                   13066: 
                   13067: /* Override any GCC internal prototype to avoid an error.
                   13068:    Use char because int might match the return type of a GCC
                   13069:    builtin and then its argument prototype would still apply.  */
                   13070: #ifdef __cplusplus
                   13071: extern "C"
                   13072: #endif
                   13073: char dlopen ();
                   13074: int
                   13075: main ()
                   13076: {
                   13077: return dlopen ();
                   13078:   ;
                   13079:   return 0;
                   13080: }
                   13081: _ACEOF
                   13082: if ac_fn_c_try_link "$LINENO"; then :
                   13083:   ac_cv_lib_svld_dlopen=yes
                   13084: else
                   13085:   ac_cv_lib_svld_dlopen=no
                   13086: fi
                   13087: rm -f core conftest.err conftest.$ac_objext \
                   13088:     conftest$ac_exeext conftest.$ac_ext
                   13089: LIBS=$ac_check_lib_save_LIBS
                   13090: fi
                   13091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   13092: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   13093: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   13094:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   13095: else
                   13096:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   13097: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   13098: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   13099:   $as_echo_n "(cached) " >&6
                   13100: else
                   13101:   ac_check_lib_save_LIBS=$LIBS
                   13102: LIBS="-ldld  $LIBS"
                   13103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13104: /* end confdefs.h.  */
                   13105: 
                   13106: /* Override any GCC internal prototype to avoid an error.
                   13107:    Use char because int might match the return type of a GCC
                   13108:    builtin and then its argument prototype would still apply.  */
                   13109: #ifdef __cplusplus
                   13110: extern "C"
                   13111: #endif
                   13112: char dld_link ();
                   13113: int
                   13114: main ()
                   13115: {
                   13116: return dld_link ();
                   13117:   ;
                   13118:   return 0;
                   13119: }
                   13120: _ACEOF
                   13121: if ac_fn_c_try_link "$LINENO"; then :
                   13122:   ac_cv_lib_dld_dld_link=yes
                   13123: else
                   13124:   ac_cv_lib_dld_dld_link=no
                   13125: fi
                   13126: rm -f core conftest.err conftest.$ac_objext \
                   13127:     conftest$ac_exeext conftest.$ac_ext
                   13128: LIBS=$ac_check_lib_save_LIBS
                   13129: fi
                   13130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   13131: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   13132: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   13133:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   13134: fi
                   13135: 
                   13136: 
                   13137: fi
                   13138: 
                   13139: 
                   13140: fi
                   13141: 
                   13142: 
                   13143: fi
                   13144: 
                   13145: 
                   13146: fi
                   13147: 
                   13148: 
                   13149: fi
                   13150: 
                   13151:     ;;
                   13152:   esac
                   13153: 
                   13154:   if test "x$lt_cv_dlopen" != xno; then
                   13155:     enable_dlopen=yes
                   13156:   else
                   13157:     enable_dlopen=no
                   13158:   fi
                   13159: 
                   13160:   case $lt_cv_dlopen in
                   13161:   dlopen)
                   13162:     save_CPPFLAGS="$CPPFLAGS"
                   13163:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   13164: 
                   13165:     save_LDFLAGS="$LDFLAGS"
                   13166:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   13167: 
                   13168:     save_LIBS="$LIBS"
                   13169:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   13170: 
                   13171:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   13172: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   13173: if ${lt_cv_dlopen_self+:} false; then :
                   13174:   $as_echo_n "(cached) " >&6
                   13175: else
                   13176:          if test "$cross_compiling" = yes; then :
                   13177:   lt_cv_dlopen_self=cross
                   13178: else
                   13179:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13180:   lt_status=$lt_dlunknown
                   13181:   cat > conftest.$ac_ext <<_LT_EOF
                   13182: #line $LINENO "configure"
                   13183: #include "confdefs.h"
                   13184: 
                   13185: #if HAVE_DLFCN_H
                   13186: #include <dlfcn.h>
                   13187: #endif
                   13188: 
                   13189: #include <stdio.h>
                   13190: 
                   13191: #ifdef RTLD_GLOBAL
                   13192: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13193: #else
                   13194: #  ifdef DL_GLOBAL
                   13195: #    define LT_DLGLOBAL                DL_GLOBAL
                   13196: #  else
                   13197: #    define LT_DLGLOBAL                0
                   13198: #  endif
                   13199: #endif
                   13200: 
                   13201: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13202:    find out it does not work in some platform. */
                   13203: #ifndef LT_DLLAZY_OR_NOW
                   13204: #  ifdef RTLD_LAZY
                   13205: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13206: #  else
                   13207: #    ifdef DL_LAZY
                   13208: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13209: #    else
                   13210: #      ifdef RTLD_NOW
                   13211: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13212: #      else
                   13213: #        ifdef DL_NOW
                   13214: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13215: #        else
                   13216: #          define LT_DLLAZY_OR_NOW     0
                   13217: #        endif
                   13218: #      endif
                   13219: #    endif
                   13220: #  endif
                   13221: #endif
                   13222: 
                   13223: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13224:    correspondingly for the symbols needed.  */
                   13225: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13226: int fnord () __attribute__((visibility("default")));
                   13227: #endif
                   13228: 
                   13229: int fnord () { return 42; }
                   13230: int main ()
                   13231: {
                   13232:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13233:   int status = $lt_dlunknown;
                   13234: 
                   13235:   if (self)
                   13236:     {
                   13237:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13238:       else
                   13239:         {
                   13240:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13241:           else puts (dlerror ());
                   13242:        }
                   13243:       /* dlclose (self); */
                   13244:     }
                   13245:   else
                   13246:     puts (dlerror ());
                   13247: 
                   13248:   return status;
                   13249: }
                   13250: _LT_EOF
                   13251:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   13252:   (eval $ac_link) 2>&5
                   13253:   ac_status=$?
                   13254:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13255:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   13256:     (./conftest; exit; ) >&5 2>/dev/null
                   13257:     lt_status=$?
                   13258:     case x$lt_status in
                   13259:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   13260:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   13261:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   13262:     esac
                   13263:   else :
                   13264:     # compilation failed
                   13265:     lt_cv_dlopen_self=no
                   13266:   fi
                   13267: fi
                   13268: rm -fr conftest*
                   13269: 
                   13270: 
                   13271: fi
                   13272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   13273: $as_echo "$lt_cv_dlopen_self" >&6; }
                   13274: 
                   13275:     if test "x$lt_cv_dlopen_self" = xyes; then
                   13276:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   13277:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   13278: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   13279: if ${lt_cv_dlopen_self_static+:} false; then :
                   13280:   $as_echo_n "(cached) " >&6
                   13281: else
                   13282:          if test "$cross_compiling" = yes; then :
                   13283:   lt_cv_dlopen_self_static=cross
                   13284: else
                   13285:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   13286:   lt_status=$lt_dlunknown
                   13287:   cat > conftest.$ac_ext <<_LT_EOF
                   13288: #line $LINENO "configure"
                   13289: #include "confdefs.h"
                   13290: 
                   13291: #if HAVE_DLFCN_H
                   13292: #include <dlfcn.h>
                   13293: #endif
                   13294: 
                   13295: #include <stdio.h>
                   13296: 
                   13297: #ifdef RTLD_GLOBAL
                   13298: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   13299: #else
                   13300: #  ifdef DL_GLOBAL
                   13301: #    define LT_DLGLOBAL                DL_GLOBAL
                   13302: #  else
                   13303: #    define LT_DLGLOBAL                0
                   13304: #  endif
                   13305: #endif
                   13306: 
                   13307: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   13308:    find out it does not work in some platform. */
                   13309: #ifndef LT_DLLAZY_OR_NOW
                   13310: #  ifdef RTLD_LAZY
                   13311: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   13312: #  else
                   13313: #    ifdef DL_LAZY
                   13314: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   13315: #    else
                   13316: #      ifdef RTLD_NOW
                   13317: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   13318: #      else
                   13319: #        ifdef DL_NOW
                   13320: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   13321: #        else
                   13322: #          define LT_DLLAZY_OR_NOW     0
                   13323: #        endif
                   13324: #      endif
                   13325: #    endif
                   13326: #  endif
                   13327: #endif
                   13328: 
                   13329: /* When -fvisbility=hidden is used, assume the code has been annotated
                   13330:    correspondingly for the symbols needed.  */
                   13331: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   13332: int fnord () __attribute__((visibility("default")));
                   13333: #endif
                   13334: 
                   13335: int fnord () { return 42; }
                   13336: int main ()
                   13337: {
                   13338:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   13339:   int status = $lt_dlunknown;
                   13340: 
                   13341:   if (self)
                   13342:     {
                   13343:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   13344:       else
                   13345:         {
                   13346:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   13347:           else puts (dlerror ());
                   13348:        }
                   13349:       /* dlclose (self); */
                   13350:     }
                   13351:   else
                   13352:     puts (dlerror ());
                   13353: 
                   13354:   return status;
                   13355: }
                   13356: _LT_EOF
                   13357:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   13358:   (eval $ac_link) 2>&5
                   13359:   ac_status=$?
                   13360:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   13361:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   13362:     (./conftest; exit; ) >&5 2>/dev/null
                   13363:     lt_status=$?
                   13364:     case x$lt_status in
                   13365:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   13366:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   13367:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   13368:     esac
                   13369:   else :
                   13370:     # compilation failed
                   13371:     lt_cv_dlopen_self_static=no
                   13372:   fi
                   13373: fi
                   13374: rm -fr conftest*
                   13375: 
                   13376: 
                   13377: fi
                   13378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   13379: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   13380:     fi
                   13381: 
                   13382:     CPPFLAGS="$save_CPPFLAGS"
                   13383:     LDFLAGS="$save_LDFLAGS"
                   13384:     LIBS="$save_LIBS"
                   13385:     ;;
                   13386:   esac
                   13387: 
                   13388:   case $lt_cv_dlopen_self in
                   13389:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   13390:   *) enable_dlopen_self=unknown ;;
                   13391:   esac
                   13392: 
                   13393:   case $lt_cv_dlopen_self_static in
                   13394:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   13395:   *) enable_dlopen_self_static=unknown ;;
                   13396:   esac
                   13397: fi
                   13398: 
                   13399: 
                   13400: 
                   13401: 
                   13402: 
                   13403: 
                   13404: 
                   13405: 
                   13406: 
                   13407: 
                   13408: 
                   13409: 
                   13410: 
                   13411: 
                   13412: 
                   13413: 
                   13414: 
                   13415: striplib=
                   13416: old_striplib=
                   13417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   13418: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   13419: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   13420:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   13421:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   13422:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13423: $as_echo "yes" >&6; }
                   13424: else
                   13425: # FIXME - insert some real tests, host_os isn't really good enough
                   13426:   case $host_os in
                   13427:   darwin*)
                   13428:     if test -n "$STRIP" ; then
                   13429:       striplib="$STRIP -x"
                   13430:       old_striplib="$STRIP -S"
                   13431:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13432: $as_echo "yes" >&6; }
                   13433:     else
                   13434:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13435: $as_echo "no" >&6; }
                   13436:     fi
                   13437:     ;;
                   13438:   *)
                   13439:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13440: $as_echo "no" >&6; }
                   13441:     ;;
                   13442:   esac
                   13443: fi
                   13444: 
                   13445: 
                   13446: 
                   13447: 
                   13448: 
                   13449: 
                   13450: 
                   13451: 
                   13452: 
                   13453: 
                   13454: 
                   13455: 
                   13456:   # Report which library types will actually be built
                   13457:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   13458: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   13459:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   13460: $as_echo "$can_build_shared" >&6; }
                   13461: 
                   13462:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   13463: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   13464:   test "$can_build_shared" = "no" && enable_shared=no
                   13465: 
                   13466:   # On AIX, shared libraries and static libraries use the same namespace, and
                   13467:   # are all built from PIC.
                   13468:   case $host_os in
                   13469:   aix3*)
                   13470:     test "$enable_shared" = yes && enable_static=no
                   13471:     if test -n "$RANLIB"; then
                   13472:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   13473:       postinstall_cmds='$RANLIB $lib'
                   13474:     fi
                   13475:     ;;
                   13476: 
                   13477:   aix[4-9]*)
                   13478:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   13479:       test "$enable_shared" = yes && enable_static=no
                   13480:     fi
                   13481:     ;;
                   13482:   esac
                   13483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   13484: $as_echo "$enable_shared" >&6; }
                   13485: 
                   13486:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   13487: $as_echo_n "checking whether to build static libraries... " >&6; }
                   13488:   # Make sure either enable_shared or enable_static is yes.
                   13489:   test "$enable_shared" = yes || enable_static=yes
                   13490:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   13491: $as_echo "$enable_static" >&6; }
                   13492: 
                   13493: 
                   13494: 
                   13495: 
                   13496: fi
                   13497: ac_ext=c
                   13498: ac_cpp='$CPP $CPPFLAGS'
                   13499: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   13500: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   13501: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   13502: 
                   13503: CC="$lt_save_CC"
                   13504: 
                   13505: 
                   13506: 
                   13507: 
                   13508: 
                   13509: 
                   13510: 
                   13511: 
                   13512: 
                   13513: 
                   13514: 
                   13515: 
                   13516: 
1.1.1.2   misho    13517: 
                   13518: 
1.1       misho    13519:         ac_config_commands="$ac_config_commands libtool"
                   13520: 
                   13521: 
                   13522: 
                   13523: 
                   13524: # Only expand once:
                   13525: 
                   13526: 
                   13527: 
1.1.1.4   misho    13528: 
                   13529: # Check whether --with-pkg-extra-version was given.
                   13530: if test "${with_pkg_extra_version+set}" = set; then :
                   13531:   withval=$with_pkg_extra_version; EXTRAVERSION=$withval
                   13532: fi
                   13533: 
                   13534: 
                   13535: # Check whether --with-pkg-git-version was given.
                   13536: if test "${with_pkg_git_version+set}" = set; then :
                   13537:   withval=$with_pkg_git_version;  test "x$withval" != "xno" && with_pkg_git_version="yes"
                   13538: fi
                   13539: 
1.1       misho    13540: # Check whether --enable-vtysh was given.
                   13541: if test "${enable_vtysh+set}" = set; then :
                   13542:   enableval=$enable_vtysh;
                   13543: fi
                   13544: 
                   13545: # Check whether --enable-doc was given.
                   13546: if test "${enable_doc+set}" = set; then :
                   13547:   enableval=$enable_doc;
                   13548: fi
                   13549: 
                   13550: # Check whether --enable-zebra was given.
                   13551: if test "${enable_zebra+set}" = set; then :
                   13552:   enableval=$enable_zebra;
                   13553: fi
                   13554: 
                   13555: # Check whether --enable-bgpd was given.
                   13556: if test "${enable_bgpd+set}" = set; then :
                   13557:   enableval=$enable_bgpd;
                   13558: fi
                   13559: 
                   13560: # Check whether --enable-ripd was given.
                   13561: if test "${enable_ripd+set}" = set; then :
                   13562:   enableval=$enable_ripd;
                   13563: fi
                   13564: 
                   13565: # Check whether --enable-ripngd was given.
                   13566: if test "${enable_ripngd+set}" = set; then :
                   13567:   enableval=$enable_ripngd;
                   13568: fi
                   13569: 
                   13570: # Check whether --enable-ospfd was given.
                   13571: if test "${enable_ospfd+set}" = set; then :
                   13572:   enableval=$enable_ospfd;
                   13573: fi
                   13574: 
                   13575: # Check whether --enable-ospf6d was given.
                   13576: if test "${enable_ospf6d+set}" = set; then :
                   13577:   enableval=$enable_ospf6d;
                   13578: fi
                   13579: 
                   13580: # Check whether --enable-watchquagga was given.
                   13581: if test "${enable_watchquagga+set}" = set; then :
                   13582:   enableval=$enable_watchquagga;
                   13583: fi
                   13584: 
                   13585: # Check whether --enable-isisd was given.
                   13586: if test "${enable_isisd+set}" = set; then :
                   13587:   enableval=$enable_isisd;
                   13588: fi
                   13589: 
1.1.1.5 ! misho    13590: # Check whether --enable-pimd was given.
        !          13591: if test "${enable_pimd+set}" = set; then :
        !          13592:   enableval=$enable_pimd;
1.1       misho    13593: fi
                   13594: 
                   13595: # Check whether --enable-bgp-announce was given.
                   13596: if test "${enable_bgp_announce+set}" = set; then :
                   13597:   enableval=$enable_bgp_announce;
                   13598: fi
                   13599: 
                   13600: # Check whether --enable-snmp was given.
                   13601: if test "${enable_snmp+set}" = set; then :
                   13602:   enableval=$enable_snmp;
                   13603: fi
                   13604: 
                   13605: 
                   13606: # Check whether --with-libpam was given.
                   13607: if test "${with_libpam+set}" = set; then :
                   13608:   withval=$with_libpam;
                   13609: fi
                   13610: 
                   13611: # Check whether --enable-tcp-zebra was given.
                   13612: if test "${enable_tcp_zebra+set}" = set; then :
                   13613:   enableval=$enable_tcp_zebra;
                   13614: fi
                   13615: 
                   13616: # Check whether --enable-ospfapi was given.
                   13617: if test "${enable_ospfapi+set}" = set; then :
                   13618:   enableval=$enable_ospfapi;
                   13619: fi
                   13620: 
                   13621: # Check whether --enable-ospfclient was given.
                   13622: if test "${enable_ospfclient+set}" = set; then :
                   13623:   enableval=$enable_ospfclient;
                   13624: fi
                   13625: 
                   13626: # Check whether --enable-multipath was given.
                   13627: if test "${enable_multipath+set}" = set; then :
                   13628:   enableval=$enable_multipath;
                   13629: fi
                   13630: 
                   13631: # Check whether --enable-user was given.
                   13632: if test "${enable_user+set}" = set; then :
                   13633:   enableval=$enable_user;
                   13634: fi
                   13635: 
                   13636: # Check whether --enable-group was given.
                   13637: if test "${enable_group+set}" = set; then :
                   13638:   enableval=$enable_group;
                   13639: fi
                   13640: 
                   13641: # Check whether --enable-vty_group was given.
                   13642: if test "${enable_vty_group+set}" = set; then :
                   13643:   enableval=$enable_vty_group;
                   13644: fi
                   13645: 
                   13646: # Check whether --enable-configfile_mask was given.
                   13647: if test "${enable_configfile_mask+set}" = set; then :
                   13648:   enableval=$enable_configfile_mask;
                   13649: fi
                   13650: 
                   13651: # Check whether --enable-logfile_mask was given.
                   13652: if test "${enable_logfile_mask+set}" = set; then :
                   13653:   enableval=$enable_logfile_mask;
                   13654: fi
                   13655: 
                   13656: 
                   13657: # Check whether --enable-rtadv was given.
                   13658: if test "${enable_rtadv+set}" = set; then :
                   13659:   enableval=$enable_rtadv;
                   13660: fi
                   13661: 
                   13662: # Check whether --enable-irdp was given.
                   13663: if test "${enable_irdp+set}" = set; then :
                   13664:   enableval=$enable_irdp;
                   13665: fi
                   13666: 
                   13667: # Check whether --enable-isis_topology was given.
                   13668: if test "${enable_isis_topology+set}" = set; then :
                   13669:   enableval=$enable_isis_topology;
                   13670: fi
                   13671: 
                   13672: # Check whether --enable-capabilities was given.
                   13673: if test "${enable_capabilities+set}" = set; then :
                   13674:   enableval=$enable_capabilities;
                   13675: fi
                   13676: 
1.1.1.4   misho    13677: # Check whether --enable-rusage was given.
                   13678: if test "${enable_rusage+set}" = set; then :
                   13679:   enableval=$enable_rusage;
                   13680: fi
                   13681: 
1.1       misho    13682: # Check whether --enable-gcc_ultra_verbose was given.
                   13683: if test "${enable_gcc_ultra_verbose+set}" = set; then :
                   13684:   enableval=$enable_gcc_ultra_verbose;
                   13685: fi
                   13686: 
                   13687: # Check whether --enable-linux24_tcp_md5 was given.
                   13688: if test "${enable_linux24_tcp_md5+set}" = set; then :
                   13689:   enableval=$enable_linux24_tcp_md5;
                   13690: fi
                   13691: 
                   13692: # Check whether --enable-gcc-rdynamic was given.
                   13693: if test "${enable_gcc_rdynamic+set}" = set; then :
                   13694:   enableval=$enable_gcc_rdynamic;
                   13695: fi
                   13696: 
1.1.1.5 ! misho    13697: # Check whether --enable-backtrace was given.
        !          13698: if test "${enable_backtrace+set}" = set; then :
        !          13699:   enableval=$enable_backtrace;
        !          13700: fi
        !          13701: 
1.1       misho    13702: # Check whether --enable-time-check was given.
                   13703: if test "${enable_time_check+set}" = set; then :
                   13704:   enableval=$enable_time_check;
                   13705: fi
                   13706: 
                   13707: # Check whether --enable-pcreposix was given.
                   13708: if test "${enable_pcreposix+set}" = set; then :
                   13709:   enableval=$enable_pcreposix;
                   13710: fi
                   13711: 
1.1.1.4   misho    13712: # Check whether --enable-fpm was given.
                   13713: if test "${enable_fpm+set}" = set; then :
                   13714:   enableval=$enable_fpm;
                   13715: fi
                   13716: 
1.1.1.5 ! misho    13717: # Check whether --enable-werror was given.
        !          13718: if test "${enable_werror+set}" = set; then :
        !          13719:   enableval=$enable_werror;
1.1       misho    13720: fi
                   13721: 
1.1.1.5 ! misho    13722: 
        !          13723: if test x"${enable_gcc_rdynamic}" != x"no" ; then
        !          13724:   if test x"${enable_gcc_rdynamic}" = x"yes" -o x"$COMPILER" = x"GCC"; then
        !          13725:     LDFLAGS="${LDFLAGS} -rdynamic"
        !          13726:   fi
1.1       misho    13727: fi
                   13728: 
                   13729: if test x"${enable_time_check}" != x"no" ; then
                   13730:   if test x"${enable_time_check}" = x"yes" -o x"${enable_time_check}" = x ; then
                   13731: 
                   13732: $as_echo "#define CONSUMED_TIME_CHECK 5000000" >>confdefs.h
                   13733: 
                   13734:   else
                   13735: 
                   13736: cat >>confdefs.h <<_ACEOF
                   13737: #define CONSUMED_TIME_CHECK $enable_time_check
                   13738: _ACEOF
                   13739: 
                   13740:   fi
                   13741: fi
                   13742: 
1.1.1.4   misho    13743: if test "${enable_fpm}" = "yes"; then
                   13744: 
                   13745: $as_echo "#define HAVE_FPM /**/" >>confdefs.h
                   13746: 
                   13747: fi
                   13748: 
1.1       misho    13749: if test "${enable_tcp_zebra}" = "yes"; then
                   13750: 
                   13751: $as_echo "#define HAVE_TCP_ZEBRA /**/" >>confdefs.h
                   13752: 
                   13753: fi
                   13754: 
                   13755: if test "${enable_linux24_tcp_md5}" = "yes"; then
                   13756: 
                   13757: $as_echo "#define HAVE_TCP_MD5_LINUX24 /**/" >>confdefs.h
                   13758: 
                   13759: fi
                   13760: 
                   13761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if zebra should be configurable to send Route Advertisements" >&5
                   13762: $as_echo_n "checking if zebra should be configurable to send Route Advertisements... " >&6; }
                   13763: if test "${enable_rtadv}" != "no"; then
                   13764:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13765: $as_echo "yes" >&6; }
                   13766: 
                   13767: $as_echo "#define HAVE_RTADV /**/" >>confdefs.h
                   13768: 
                   13769: else
                   13770:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13771: $as_echo "no" >&6; }
                   13772: fi
                   13773: 
                   13774: if test "${enable_irdp}" = "yes"; then
                   13775: 
                   13776: $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
                   13777: 
                   13778: fi
                   13779: 
1.1.1.5 ! misho    13780: if test "${enable_isisd}" != "no" && test "${enable_isis_topology}" = yes; then
1.1       misho    13781: 
                   13782: $as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h
                   13783: 
1.1.1.4   misho    13784:   ISIS_TOPOLOGY_INCLUDES="-I\$(srcdir)/topology"
1.1       misho    13785:   ISIS_TOPOLOGY_DIR="topology"
                   13786:   ISIS_TOPOLOGY_LIB="./topology/libtopology.a"
                   13787: fi
                   13788: 
                   13789: 
                   13790: 
                   13791: 
                   13792: 
                   13793: if test "${enable_user}" = "yes" || test x"${enable_user}" = x""; then
                   13794:   enable_user="quagga"
                   13795: elif test "${enable_user}" = "no"; then
                   13796:   enable_user="root"
                   13797: fi
                   13798: 
                   13799: if test "${enable_group}" = "yes" || test x"${enable_group}" = x""; then
                   13800:   enable_group="quagga"
                   13801: elif test "${enable_group}" = "no"; then
                   13802:   enable_group="root"
                   13803: fi
                   13804: 
                   13805: if test x"${enable_vty_group}" = x"yes" ; then
                   13806:   as_fn_error $? "--enable-vty-group requires a group as argument, not yes" "$LINENO" 5
                   13807: elif test x"${enable_vty_group}" != x""; then
                   13808:   if test x"${enable_vty_group}" != x"no"; then
                   13809: 
                   13810: cat >>confdefs.h <<_ACEOF
                   13811: #define VTY_GROUP "${enable_vty_group}"
                   13812: _ACEOF
                   13813: 
                   13814:   fi
                   13815: fi
                   13816: 
                   13817: 
                   13818: 
                   13819: 
                   13820: cat >>confdefs.h <<_ACEOF
                   13821: #define QUAGGA_USER "${enable_user}"
                   13822: _ACEOF
                   13823: 
                   13824: 
                   13825: cat >>confdefs.h <<_ACEOF
                   13826: #define QUAGGA_GROUP "${enable_group}"
                   13827: _ACEOF
                   13828: 
                   13829: 
                   13830: enable_configfile_mask=${enable_configfile_mask:-0600}
                   13831: 
                   13832: cat >>confdefs.h <<_ACEOF
                   13833: #define CONFIGFILE_MASK ${enable_configfile_mask}
                   13834: _ACEOF
                   13835: 
                   13836: 
                   13837: enable_logfile_mask=${enable_logfile_mask:-0600}
                   13838: 
                   13839: cat >>confdefs.h <<_ACEOF
                   13840: #define LOGFILE_MASK ${enable_logfile_mask}
                   13841: _ACEOF
                   13842: 
                   13843: 
1.1.1.5 ! misho    13844: MPATH_NUM=1
1.1       misho    13845: 
                   13846: case "${enable_multipath}" in
1.1.1.5 ! misho    13847:   0)
        !          13848:     MPATH_NUM=64
        !          13849:     ;;
        !          13850:   [1-9]|[1-9][0-9]|[1-9][0-9][0-9])
        !          13851:     MPATH_NUM="${enable_multipath}"
1.1       misho    13852:     ;;
                   13853:   "")
                   13854:     ;;
                   13855:   *)
                   13856:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   13857: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   13858: as_fn_error $? "Please specify digit to enable multipath ARG
                   13859: See \`config.log' for more details" "$LINENO" 5; }
                   13860:     ;;
                   13861: esac
                   13862: 
                   13863: 
1.1.1.5 ! misho    13864: cat >>confdefs.h <<_ACEOF
        !          13865: #define MULTIPATH_NUM $MPATH_NUM
        !          13866: _ACEOF
        !          13867: 
1.1       misho    13868: 
1.1.1.4   misho    13869: if test "x${EXTRAVERSION}" != "x" ; then
                   13870:   VERSION="${VERSION}${EXTRAVERSION}"
                   13871:   PACKAGE_VERSION="${PACKAGE_VERSION}${EXTRAVERSION}"
                   13872:   PACKAGE_STRING="${PACKAGE_STRING}${EXTRAVERSION}"
                   13873: fi
                   13874: 
                   13875: if test "x$with_pkg_git_version" = "xyes"; then
                   13876:        if test -d "${srcdir}/.git"; then
                   13877: 
                   13878: $as_echo "#define GIT_VERSION 1" >>confdefs.h
                   13879: 
                   13880:        else    with_pkg_git_version="no"
                   13881:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&5
                   13882: $as_echo "$as_me: WARNING: --with-pkg-git-version given, but this is not a git checkout" >&2;}
                   13883:        fi
                   13884: fi
                   13885:  if test "x$with_pkg_git_version" = "xyes"; then
                   13886:   GIT_VERSION_TRUE=
                   13887:   GIT_VERSION_FALSE='#'
                   13888: else
                   13889:   GIT_VERSION_TRUE='#'
                   13890:   GIT_VERSION_FALSE=
                   13891: fi
                   13892: 
                   13893: 
1.1       misho    13894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   13895: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   13896: if ${ac_cv_c_const+:} false; then :
                   13897:   $as_echo_n "(cached) " >&6
                   13898: else
                   13899:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13900: /* end confdefs.h.  */
                   13901: 
                   13902: int
                   13903: main ()
                   13904: {
1.1.1.3   misho    13905: 
1.1       misho    13906: #ifndef __cplusplus
1.1.1.3   misho    13907:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    13908:   typedef int charset[2];
1.1.1.3   misho    13909:   const charset cs = { 0, 0 };
1.1       misho    13910:   /* SunOS 4.1.1 cc rejects this.  */
                   13911:   char const *const *pcpcc;
                   13912:   char **ppc;
                   13913:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   13914:   struct point {int x, y;};
                   13915:   static struct point const zero = {0,0};
                   13916:   /* AIX XL C 1.02.0.0 rejects this.
                   13917:      It does not let you subtract one const X* pointer from another in
                   13918:      an arm of an if-expression whose if-part is not a constant
                   13919:      expression */
                   13920:   const char *g = "string";
                   13921:   pcpcc = &g + (g ? g-g : 0);
                   13922:   /* HPUX 7.0 cc rejects these. */
                   13923:   ++pcpcc;
                   13924:   ppc = (char**) pcpcc;
                   13925:   pcpcc = (char const *const *) ppc;
1.1.1.3   misho    13926:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
                   13927:     char tx;
                   13928:     char *t = &tx;
1.1       misho    13929:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   13930: 
                   13931:     *t++ = 0;
                   13932:     if (s) return 0;
                   13933:   }
                   13934:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   13935:     int x[] = {25, 17};
                   13936:     const int *foo = &x[0];
                   13937:     ++foo;
                   13938:   }
                   13939:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   13940:     typedef const int *iptr;
                   13941:     iptr p = 0;
                   13942:     ++p;
                   13943:   }
1.1.1.3   misho    13944:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    13945:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.3   misho    13946:     struct s { int j; const int *ap[3]; } bx;
                   13947:     struct s *b = &bx; b->j = 5;
1.1       misho    13948:   }
                   13949:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   13950:     const int foo = 10;
                   13951:     if (!foo) return 0;
                   13952:   }
                   13953:   return !cs[0] && !zero.x;
                   13954: #endif
                   13955: 
                   13956:   ;
                   13957:   return 0;
                   13958: }
                   13959: _ACEOF
                   13960: if ac_fn_c_try_compile "$LINENO"; then :
                   13961:   ac_cv_c_const=yes
                   13962: else
                   13963:   ac_cv_c_const=no
                   13964: fi
                   13965: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13966: fi
                   13967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   13968: $as_echo "$ac_cv_c_const" >&6; }
                   13969: if test $ac_cv_c_const = no; then
                   13970: 
                   13971: $as_echo "#define const /**/" >>confdefs.h
                   13972: 
                   13973: fi
                   13974: 
                   13975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
                   13976: $as_echo_n "checking for inline... " >&6; }
                   13977: if ${ac_cv_c_inline+:} false; then :
                   13978:   $as_echo_n "(cached) " >&6
                   13979: else
                   13980:   ac_cv_c_inline=no
                   13981: for ac_kw in inline __inline__ __inline; do
                   13982:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13983: /* end confdefs.h.  */
                   13984: #ifndef __cplusplus
                   13985: typedef int foo_t;
                   13986: static $ac_kw foo_t static_foo () {return 0; }
                   13987: $ac_kw foo_t foo () {return 0; }
                   13988: #endif
                   13989: 
                   13990: _ACEOF
                   13991: if ac_fn_c_try_compile "$LINENO"; then :
                   13992:   ac_cv_c_inline=$ac_kw
                   13993: fi
                   13994: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13995:   test "$ac_cv_c_inline" != no && break
                   13996: done
                   13997: 
                   13998: fi
                   13999: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
                   14000: $as_echo "$ac_cv_c_inline" >&6; }
                   14001: 
                   14002: case $ac_cv_c_inline in
                   14003:   inline | yes) ;;
                   14004:   *)
                   14005:     case $ac_cv_c_inline in
                   14006:       no) ac_val=;;
                   14007:       *) ac_val=$ac_cv_c_inline;;
                   14008:     esac
                   14009:     cat >>confdefs.h <<_ACEOF
                   14010: #ifndef __cplusplus
                   14011: #define inline $ac_val
                   14012: #endif
                   14013: _ACEOF
                   14014:     ;;
                   14015: esac
                   14016: 
                   14017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
                   14018: $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
                   14019: if ${ac_cv_c_restrict+:} false; then :
                   14020:   $as_echo_n "(cached) " >&6
                   14021: else
                   14022:   ac_cv_c_restrict=no
                   14023:    # The order here caters to the fact that C++ does not require restrict.
                   14024:    for ac_kw in __restrict __restrict__ _Restrict restrict; do
                   14025:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14026: /* end confdefs.h.  */
                   14027: typedef int * int_ptr;
                   14028:        int foo (int_ptr $ac_kw ip) {
                   14029:        return ip[0];
                   14030:        }
                   14031: int
                   14032: main ()
                   14033: {
                   14034: int s[1];
                   14035:        int * $ac_kw t = s;
                   14036:        t[0] = 0;
                   14037:        return foo(t)
                   14038:   ;
                   14039:   return 0;
                   14040: }
                   14041: _ACEOF
                   14042: if ac_fn_c_try_compile "$LINENO"; then :
                   14043:   ac_cv_c_restrict=$ac_kw
                   14044: fi
                   14045: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14046:      test "$ac_cv_c_restrict" != no && break
                   14047:    done
                   14048: 
                   14049: fi
                   14050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
                   14051: $as_echo "$ac_cv_c_restrict" >&6; }
                   14052: 
                   14053:  case $ac_cv_c_restrict in
                   14054:    restrict) ;;
                   14055:    no) $as_echo "#define restrict /**/" >>confdefs.h
                   14056:  ;;
                   14057:    *)  cat >>confdefs.h <<_ACEOF
                   14058: #define restrict $ac_cv_c_restrict
                   14059: _ACEOF
                   14060:  ;;
                   14061:  esac
                   14062: 
                   14063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
                   14064: $as_echo_n "checking for working volatile... " >&6; }
                   14065: if ${ac_cv_c_volatile+:} false; then :
                   14066:   $as_echo_n "(cached) " >&6
                   14067: else
                   14068:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14069: /* end confdefs.h.  */
                   14070: 
                   14071: int
                   14072: main ()
                   14073: {
                   14074: 
                   14075: volatile int x;
                   14076: int * volatile y = (int *) 0;
                   14077: return !x && !y;
                   14078:   ;
                   14079:   return 0;
                   14080: }
                   14081: _ACEOF
                   14082: if ac_fn_c_try_compile "$LINENO"; then :
                   14083:   ac_cv_c_volatile=yes
                   14084: else
                   14085:   ac_cv_c_volatile=no
                   14086: fi
                   14087: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14088: fi
                   14089: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
                   14090: $as_echo "$ac_cv_c_volatile" >&6; }
                   14091: if test $ac_cv_c_volatile = no; then
                   14092: 
                   14093: $as_echo "#define volatile /**/" >>confdefs.h
                   14094: 
                   14095: fi
                   14096: 
                   14097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   14098: $as_echo_n "checking for ANSI C header files... " >&6; }
                   14099: if ${ac_cv_header_stdc+:} false; then :
                   14100:   $as_echo_n "(cached) " >&6
                   14101: else
                   14102:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14103: /* end confdefs.h.  */
                   14104: #include <stdlib.h>
                   14105: #include <stdarg.h>
                   14106: #include <string.h>
                   14107: #include <float.h>
                   14108: 
                   14109: int
                   14110: main ()
                   14111: {
                   14112: 
                   14113:   ;
                   14114:   return 0;
                   14115: }
                   14116: _ACEOF
                   14117: if ac_fn_c_try_compile "$LINENO"; then :
                   14118:   ac_cv_header_stdc=yes
                   14119: else
                   14120:   ac_cv_header_stdc=no
                   14121: fi
                   14122: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14123: 
                   14124: if test $ac_cv_header_stdc = yes; then
                   14125:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   14126:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14127: /* end confdefs.h.  */
                   14128: #include <string.h>
                   14129: 
                   14130: _ACEOF
                   14131: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14132:   $EGREP "memchr" >/dev/null 2>&1; then :
                   14133: 
                   14134: else
                   14135:   ac_cv_header_stdc=no
                   14136: fi
                   14137: rm -f conftest*
                   14138: 
                   14139: fi
                   14140: 
                   14141: if test $ac_cv_header_stdc = yes; then
                   14142:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   14143:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14144: /* end confdefs.h.  */
                   14145: #include <stdlib.h>
                   14146: 
                   14147: _ACEOF
                   14148: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14149:   $EGREP "free" >/dev/null 2>&1; then :
                   14150: 
                   14151: else
                   14152:   ac_cv_header_stdc=no
                   14153: fi
                   14154: rm -f conftest*
                   14155: 
                   14156: fi
                   14157: 
                   14158: if test $ac_cv_header_stdc = yes; then
                   14159:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   14160:   if test "$cross_compiling" = yes; then :
                   14161:   :
                   14162: else
                   14163:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14164: /* end confdefs.h.  */
                   14165: #include <ctype.h>
                   14166: #include <stdlib.h>
                   14167: #if ((' ' & 0x0FF) == 0x020)
                   14168: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   14169: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   14170: #else
                   14171: # define ISLOWER(c) \
                   14172:                   (('a' <= (c) && (c) <= 'i') \
                   14173:                     || ('j' <= (c) && (c) <= 'r') \
                   14174:                     || ('s' <= (c) && (c) <= 'z'))
                   14175: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   14176: #endif
                   14177: 
                   14178: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   14179: int
                   14180: main ()
                   14181: {
                   14182:   int i;
                   14183:   for (i = 0; i < 256; i++)
                   14184:     if (XOR (islower (i), ISLOWER (i))
                   14185:        || toupper (i) != TOUPPER (i))
                   14186:       return 2;
                   14187:   return 0;
                   14188: }
                   14189: _ACEOF
                   14190: if ac_fn_c_try_run "$LINENO"; then :
                   14191: 
                   14192: else
                   14193:   ac_cv_header_stdc=no
                   14194: fi
                   14195: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14196:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14197: fi
                   14198: 
                   14199: fi
                   14200: fi
                   14201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   14202: $as_echo "$ac_cv_header_stdc" >&6; }
                   14203: if test $ac_cv_header_stdc = yes; then
                   14204: 
                   14205: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   14206: 
                   14207: fi
                   14208: 
                   14209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   14210: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   14211: if ${ac_cv_header_time+:} false; then :
                   14212:   $as_echo_n "(cached) " >&6
                   14213: else
                   14214:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14215: /* end confdefs.h.  */
                   14216: #include <sys/types.h>
                   14217: #include <sys/time.h>
                   14218: #include <time.h>
                   14219: 
                   14220: int
                   14221: main ()
                   14222: {
                   14223: if ((struct tm *) 0)
                   14224: return 0;
                   14225:   ;
                   14226:   return 0;
                   14227: }
                   14228: _ACEOF
                   14229: if ac_fn_c_try_compile "$LINENO"; then :
                   14230:   ac_cv_header_time=yes
                   14231: else
                   14232:   ac_cv_header_time=no
                   14233: fi
                   14234: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14235: fi
                   14236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   14237: $as_echo "$ac_cv_header_time" >&6; }
                   14238: if test $ac_cv_header_time = yes; then
                   14239: 
                   14240: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   14241: 
                   14242: fi
                   14243: 
                   14244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   14245: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
                   14246: if ${ac_cv_header_sys_wait_h+:} false; then :
                   14247:   $as_echo_n "(cached) " >&6
                   14248: else
                   14249:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14250: /* end confdefs.h.  */
                   14251: #include <sys/types.h>
                   14252: #include <sys/wait.h>
                   14253: #ifndef WEXITSTATUS
                   14254: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   14255: #endif
                   14256: #ifndef WIFEXITED
                   14257: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   14258: #endif
                   14259: 
                   14260: int
                   14261: main ()
                   14262: {
                   14263:   int s;
                   14264:   wait (&s);
                   14265:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
                   14266:   ;
                   14267:   return 0;
                   14268: }
                   14269: _ACEOF
                   14270: if ac_fn_c_try_compile "$LINENO"; then :
                   14271:   ac_cv_header_sys_wait_h=yes
                   14272: else
                   14273:   ac_cv_header_sys_wait_h=no
                   14274: fi
                   14275: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14276: fi
                   14277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   14278: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   14279: if test $ac_cv_header_sys_wait_h = yes; then
                   14280: 
                   14281: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   14282: 
                   14283: fi
                   14284: 
1.1.1.5 ! misho    14285: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
        !          14286: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
        !          14287: if ${ac_cv_header_stdbool_h+:} false; then :
        !          14288:   $as_echo_n "(cached) " >&6
        !          14289: else
        !          14290:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          14291: /* end confdefs.h.  */
        !          14292: 
        !          14293:              #include <stdbool.h>
        !          14294:              #ifndef bool
        !          14295:               "error: bool is not defined"
        !          14296:              #endif
        !          14297:              #ifndef false
        !          14298:               "error: false is not defined"
        !          14299:              #endif
        !          14300:              #if false
        !          14301:               "error: false is not 0"
        !          14302:              #endif
        !          14303:              #ifndef true
        !          14304:               "error: true is not defined"
        !          14305:              #endif
        !          14306:              #if true != 1
        !          14307:               "error: true is not 1"
        !          14308:              #endif
        !          14309:              #ifndef __bool_true_false_are_defined
        !          14310:               "error: __bool_true_false_are_defined is not defined"
        !          14311:              #endif
        !          14312: 
        !          14313:              struct s { _Bool s: 1; _Bool t; } s;
        !          14314: 
        !          14315:              char a[true == 1 ? 1 : -1];
        !          14316:              char b[false == 0 ? 1 : -1];
        !          14317:              char c[__bool_true_false_are_defined == 1 ? 1 : -1];
        !          14318:              char d[(bool) 0.5 == true ? 1 : -1];
        !          14319:              /* See body of main program for 'e'.  */
        !          14320:              char f[(_Bool) 0.0 == false ? 1 : -1];
        !          14321:              char g[true];
        !          14322:              char h[sizeof (_Bool)];
        !          14323:              char i[sizeof s.t];
        !          14324:              enum { j = false, k = true, l = false * true, m = true * 256 };
        !          14325:              /* The following fails for
        !          14326:                 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
        !          14327:              _Bool n[m];
        !          14328:              char o[sizeof n == m * sizeof n[0] ? 1 : -1];
        !          14329:              char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
        !          14330:              /* Catch a bug in an HP-UX C compiler.  See
        !          14331:                 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
        !          14332:                 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
        !          14333:               */
        !          14334:              _Bool q = true;
        !          14335:              _Bool *pq = &q;
        !          14336: 
        !          14337: int
        !          14338: main ()
        !          14339: {
        !          14340: 
        !          14341:              bool e = &s;
        !          14342:              *pq |= q;
        !          14343:              *pq |= ! q;
        !          14344:              /* Refer to every declared value, to avoid compiler optimizations.  */
        !          14345:              return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
        !          14346:                      + !m + !n + !o + !p + !q + !pq);
        !          14347: 
        !          14348:   ;
        !          14349:   return 0;
        !          14350: }
        !          14351: _ACEOF
        !          14352: if ac_fn_c_try_compile "$LINENO"; then :
        !          14353:   ac_cv_header_stdbool_h=yes
        !          14354: else
        !          14355:   ac_cv_header_stdbool_h=no
        !          14356: fi
        !          14357: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          14358: fi
        !          14359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
        !          14360: $as_echo "$ac_cv_header_stdbool_h" >&6; }
        !          14361:    ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
        !          14362: if test "x$ac_cv_type__Bool" = xyes; then :
        !          14363: 
        !          14364: cat >>confdefs.h <<_ACEOF
        !          14365: #define HAVE__BOOL 1
        !          14366: _ACEOF
        !          14367: 
        !          14368: 
        !          14369: fi
        !          14370: 
        !          14371: 
        !          14372: if test $ac_cv_header_stdbool_h = yes; then
        !          14373: 
        !          14374: $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
        !          14375: 
        !          14376: fi
        !          14377: 
1.1       misho    14378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   14379: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
                   14380: if ${ac_cv_type_uid_t+:} false; then :
                   14381:   $as_echo_n "(cached) " >&6
                   14382: else
                   14383:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14384: /* end confdefs.h.  */
                   14385: #include <sys/types.h>
                   14386: 
                   14387: _ACEOF
                   14388: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14389:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   14390:   ac_cv_type_uid_t=yes
                   14391: else
                   14392:   ac_cv_type_uid_t=no
                   14393: fi
                   14394: rm -f conftest*
                   14395: 
                   14396: fi
                   14397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   14398: $as_echo "$ac_cv_type_uid_t" >&6; }
                   14399: if test $ac_cv_type_uid_t = no; then
                   14400: 
                   14401: $as_echo "#define uid_t int" >>confdefs.h
                   14402: 
                   14403: 
                   14404: $as_echo "#define gid_t int" >>confdefs.h
                   14405: 
                   14406: fi
                   14407: 
                   14408: ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
                   14409: if test "x$ac_cv_type_mode_t" = xyes; then :
                   14410: 
                   14411: else
                   14412: 
                   14413: cat >>confdefs.h <<_ACEOF
                   14414: #define mode_t int
                   14415: _ACEOF
                   14416: 
                   14417: fi
                   14418: 
                   14419: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   14420: if test "x$ac_cv_type_size_t" = xyes; then :
                   14421: 
                   14422: else
                   14423: 
                   14424: cat >>confdefs.h <<_ACEOF
                   14425: #define size_t unsigned int
                   14426: _ACEOF
                   14427: 
                   14428: fi
                   14429: 
                   14430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   14431: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
                   14432: if ${ac_cv_struct_tm+:} false; then :
                   14433:   $as_echo_n "(cached) " >&6
                   14434: else
                   14435:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14436: /* end confdefs.h.  */
                   14437: #include <sys/types.h>
                   14438: #include <time.h>
                   14439: 
                   14440: int
                   14441: main ()
                   14442: {
                   14443: struct tm tm;
                   14444:                                     int *p = &tm.tm_sec;
                   14445:                                     return !p;
                   14446:   ;
                   14447:   return 0;
                   14448: }
                   14449: _ACEOF
                   14450: if ac_fn_c_try_compile "$LINENO"; then :
                   14451:   ac_cv_struct_tm=time.h
                   14452: else
                   14453:   ac_cv_struct_tm=sys/time.h
                   14454: fi
                   14455: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14456: fi
                   14457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   14458: $as_echo "$ac_cv_struct_tm" >&6; }
                   14459: if test $ac_cv_struct_tm = sys/time.h; then
                   14460: 
                   14461: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
                   14462: 
                   14463: fi
                   14464: 
                   14465: 
                   14466: for ac_header in stropts.h sys/ksym.h sys/times.h sys/select.h \
                   14467:        sys/types.h linux/version.h netdb.h asm/types.h \
1.1.1.5 ! misho    14468:        sys/cdefs.h sys/param.h limits.h signal.h \
1.1       misho    14469:        sys/socket.h netinet/in.h time.h sys/time.h
                   14470: do :
                   14471:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   14472: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   14473: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   14474:   cat >>confdefs.h <<_ACEOF
                   14475: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   14476: _ACEOF
                   14477: 
                   14478: fi
                   14479: 
                   14480: done
                   14481: 
                   14482: 
                   14483: 
                   14484: 
                   14485: for ac_header in net/if.h
                   14486: do :
                   14487:   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#ifdef SUNOS_5
                   14488: #define _XPG4_2
                   14489: #define __EXTENSIONS__
                   14490: #endif
                   14491: #include <stdio.h>
                   14492: #if STDC_HEADERS
                   14493: # include <stdlib.h>
                   14494: # include <stddef.h>
                   14495: #else
                   14496: # if HAVE_STDLIB_H
                   14497: #  include <stdlib.h>
                   14498: # endif
                   14499: #endif
                   14500: #if HAVE_SYS_TYPES_H
                   14501: # include <sys/types.h>
                   14502: #endif
                   14503: /* sys/conf.h depends on param.h on FBSD at least */
                   14504: #if HAVE_SYS_PARAM_H
                   14505: # include <sys/param.h>
                   14506: #endif
                   14507: /* Required for MAXSIG */
                   14508: #if HAVE_SIGNAL_H
                   14509: # include <signal.h>
                   14510: #endif
                   14511: #if HAVE_SYS_SOCKET_H
                   14512: # include <sys/socket.h>
                   14513: #endif
1.1.1.4   misho    14514: #ifdef __APPLE__
                   14515: # define __APPLE_USE_RFC_3542
                   14516: #endif
1.1       misho    14517: #if HAVE_NETINET_IN_H
                   14518: # include <netinet/in.h>
                   14519: #endif
                   14520: #ifdef TIME_WITH_SYS_TIME
                   14521: # include <sys/time.h>
                   14522: # include <time.h>
                   14523: #else
                   14524: # ifdef HAVE_SYS_TIME_H
                   14525: #  include <sys/time.h>
                   14526: # else
                   14527: #  include <time.h>
                   14528: # endif
                   14529: #endif /* TIME_WITH_SYS_TIME */
                   14530: 
                   14531: "
                   14532: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   14533:   cat >>confdefs.h <<_ACEOF
                   14534: #define HAVE_NET_IF_H 1
                   14535: _ACEOF
                   14536: 
                   14537: fi
                   14538: 
                   14539: done
                   14540: 
                   14541: 
                   14542: 
                   14543: 
                   14544: for ac_header in net/if_var.h
                   14545: do :
                   14546:   ac_fn_c_check_header_compile "$LINENO" "net/if_var.h" "ac_cv_header_net_if_var_h" "#ifdef SUNOS_5
                   14547: #define _XPG4_2
                   14548: #define __EXTENSIONS__
                   14549: #endif
                   14550: #include <stdio.h>
                   14551: #if STDC_HEADERS
                   14552: # include <stdlib.h>
                   14553: # include <stddef.h>
                   14554: #else
                   14555: # if HAVE_STDLIB_H
                   14556: #  include <stdlib.h>
                   14557: # endif
                   14558: #endif
                   14559: #if HAVE_SYS_TYPES_H
                   14560: # include <sys/types.h>
                   14561: #endif
                   14562: /* sys/conf.h depends on param.h on FBSD at least */
                   14563: #if HAVE_SYS_PARAM_H
                   14564: # include <sys/param.h>
                   14565: #endif
                   14566: /* Required for MAXSIG */
                   14567: #if HAVE_SIGNAL_H
                   14568: # include <signal.h>
                   14569: #endif
                   14570: #if HAVE_SYS_SOCKET_H
                   14571: # include <sys/socket.h>
                   14572: #endif
1.1.1.4   misho    14573: #ifdef __APPLE__
                   14574: # define __APPLE_USE_RFC_3542
                   14575: #endif
1.1       misho    14576: #if HAVE_NETINET_IN_H
                   14577: # include <netinet/in.h>
                   14578: #endif
                   14579: #ifdef TIME_WITH_SYS_TIME
                   14580: # include <sys/time.h>
                   14581: # include <time.h>
                   14582: #else
                   14583: # ifdef HAVE_SYS_TIME_H
                   14584: #  include <sys/time.h>
                   14585: # else
                   14586: #  include <time.h>
                   14587: # endif
                   14588: #endif /* TIME_WITH_SYS_TIME */
                   14589: 
                   14590: #if HAVE_NET_IF_H
                   14591: # include <net/if.h>
                   14592: #endif
                   14593: 
                   14594: "
                   14595: if test "x$ac_cv_header_net_if_var_h" = xyes; then :
                   14596:   cat >>confdefs.h <<_ACEOF
                   14597: #define HAVE_NET_IF_VAR_H 1
                   14598: _ACEOF
                   14599: 
                   14600: fi
                   14601: 
                   14602: done
                   14603: 
                   14604: 
                   14605: 
                   14606: for ac_header in sys/un.h netinet/in_systm.h netinet/in_var.h \
                   14607:        net/if_dl.h net/netopt.h net/route.h \
                   14608:        inet/nd.h arpa/inet.h netinet/ip_icmp.h \
                   14609:        fcntl.h stddef.h sys/ioctl.h syslog.h wchar.h wctype.h \
                   14610:        sys/sysctl.h sys/sockio.h kvm.h sys/conf.h
                   14611: do :
                   14612:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   14613: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef SUNOS_5
                   14614: #define _XPG4_2
                   14615: #define __EXTENSIONS__
                   14616: #endif
                   14617: #include <stdio.h>
                   14618: #if STDC_HEADERS
                   14619: # include <stdlib.h>
                   14620: # include <stddef.h>
                   14621: #else
                   14622: # if HAVE_STDLIB_H
                   14623: #  include <stdlib.h>
                   14624: # endif
                   14625: #endif
                   14626: #if HAVE_SYS_TYPES_H
                   14627: # include <sys/types.h>
                   14628: #endif
                   14629: /* sys/conf.h depends on param.h on FBSD at least */
                   14630: #if HAVE_SYS_PARAM_H
                   14631: # include <sys/param.h>
                   14632: #endif
                   14633: /* Required for MAXSIG */
                   14634: #if HAVE_SIGNAL_H
                   14635: # include <signal.h>
                   14636: #endif
                   14637: #if HAVE_SYS_SOCKET_H
                   14638: # include <sys/socket.h>
                   14639: #endif
1.1.1.4   misho    14640: #ifdef __APPLE__
                   14641: # define __APPLE_USE_RFC_3542
                   14642: #endif
1.1       misho    14643: #if HAVE_NETINET_IN_H
                   14644: # include <netinet/in.h>
                   14645: #endif
                   14646: #ifdef TIME_WITH_SYS_TIME
                   14647: # include <sys/time.h>
                   14648: # include <time.h>
                   14649: #else
                   14650: # ifdef HAVE_SYS_TIME_H
                   14651: #  include <sys/time.h>
                   14652: # else
                   14653: #  include <time.h>
                   14654: # endif
                   14655: #endif /* TIME_WITH_SYS_TIME */
                   14656: 
                   14657: #if HAVE_NET_IF_H
                   14658: # include <net/if.h>
                   14659: #endif
                   14660: 
                   14661: #if HAVE_NET_IF_VAR_H
                   14662: # include <net/if_var.h>
                   14663: #endif
                   14664: 
                   14665: "
                   14666: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   14667:   cat >>confdefs.h <<_ACEOF
                   14668: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   14669: _ACEOF
                   14670: 
                   14671: fi
                   14672: 
                   14673: done
                   14674: 
                   14675: 
                   14676: for ac_header in ucontext.h
                   14677: do :
                   14678:   ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#ifndef __USE_GNU
                   14679: #define __USE_GNU
                   14680: #endif /* __USE_GNU */
                   14681: #ifdef SUNOS_5
                   14682: #define _XPG4_2
                   14683: #define __EXTENSIONS__
                   14684: #endif
                   14685: #include <stdio.h>
                   14686: #if STDC_HEADERS
                   14687: # include <stdlib.h>
                   14688: # include <stddef.h>
                   14689: #else
                   14690: # if HAVE_STDLIB_H
                   14691: #  include <stdlib.h>
                   14692: # endif
                   14693: #endif
                   14694: #if HAVE_SYS_TYPES_H
                   14695: # include <sys/types.h>
                   14696: #endif
                   14697: /* sys/conf.h depends on param.h on FBSD at least */
                   14698: #if HAVE_SYS_PARAM_H
                   14699: # include <sys/param.h>
                   14700: #endif
                   14701: /* Required for MAXSIG */
                   14702: #if HAVE_SIGNAL_H
                   14703: # include <signal.h>
                   14704: #endif
                   14705: #if HAVE_SYS_SOCKET_H
                   14706: # include <sys/socket.h>
                   14707: #endif
1.1.1.4   misho    14708: #ifdef __APPLE__
                   14709: # define __APPLE_USE_RFC_3542
                   14710: #endif
1.1       misho    14711: #if HAVE_NETINET_IN_H
                   14712: # include <netinet/in.h>
                   14713: #endif
                   14714: #ifdef TIME_WITH_SYS_TIME
                   14715: # include <sys/time.h>
                   14716: # include <time.h>
                   14717: #else
                   14718: # ifdef HAVE_SYS_TIME_H
                   14719: #  include <sys/time.h>
                   14720: # else
                   14721: #  include <time.h>
                   14722: # endif
                   14723: #endif /* TIME_WITH_SYS_TIME */
                   14724: 
1.1.1.5 ! misho    14725: #if HAVE_NET_IF_H
        !          14726: # include <net/if.h>
        !          14727: #endif
        !          14728: 
        !          14729: #if HAVE_NET_IF_VAR_H
        !          14730: # include <net/if_var.h>
        !          14731: #endif
        !          14732: 
        !          14733: 
        !          14734: "
        !          14735: if test "x$ac_cv_header_ucontext_h" = xyes; then :
        !          14736:   cat >>confdefs.h <<_ACEOF
        !          14737: #define HAVE_UCONTEXT_H 1
        !          14738: _ACEOF
        !          14739: 
        !          14740: fi
        !          14741: 
        !          14742: done
        !          14743: 
        !          14744: 
        !          14745: 
        !          14746: ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.uc_regs" "ac_cv_member_ucontext_t_uc_mcontext_uc_regs" "#include <ucontext.h>
        !          14747: "
        !          14748: if test "x$ac_cv_member_ucontext_t_uc_mcontext_uc_regs" = xyes; then :
        !          14749: 
        !          14750: cat >>confdefs.h <<_ACEOF
        !          14751: #define HAVE_UCONTEXT_T_UC_MCONTEXT_UC_REGS 1
        !          14752: _ACEOF
        !          14753: 
        !          14754: 
        !          14755: fi
        !          14756: 
        !          14757: ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.regs" "ac_cv_member_ucontext_t_uc_mcontext_regs" "#include <ucontext.h>
        !          14758: "
        !          14759: if test "x$ac_cv_member_ucontext_t_uc_mcontext_regs" = xyes; then :
        !          14760: 
        !          14761: cat >>confdefs.h <<_ACEOF
        !          14762: #define HAVE_UCONTEXT_T_UC_MCONTEXT_REGS 1
        !          14763: _ACEOF
        !          14764: 
        !          14765: ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.regs.nip" "ac_cv_member_ucontext_t_uc_mcontext_regs_nip" "#include <ucontext.h>
        !          14766: "
        !          14767: if test "x$ac_cv_member_ucontext_t_uc_mcontext_regs_nip" = xyes; then :
        !          14768: 
        !          14769: cat >>confdefs.h <<_ACEOF
        !          14770: #define HAVE_UCONTEXT_T_UC_MCONTEXT_REGS_NIP 1
        !          14771: _ACEOF
        !          14772: 
1.1       misho    14773: 
1.1.1.5 ! misho    14774: fi
1.1       misho    14775: 
1.1.1.5 ! misho    14776: fi
1.1       misho    14777: 
1.1.1.5 ! misho    14778: ac_fn_c_check_member "$LINENO" "ucontext_t" "uc_mcontext.gregs" "ac_cv_member_ucontext_t_uc_mcontext_gregs" "#include <ucontext.h>
1.1       misho    14779: "
1.1.1.5 ! misho    14780: if test "x$ac_cv_member_ucontext_t_uc_mcontext_gregs" = xyes; then :
        !          14781: 
        !          14782: cat >>confdefs.h <<_ACEOF
        !          14783: #define HAVE_UCONTEXT_T_UC_MCONTEXT_GREGS 1
1.1       misho    14784: _ACEOF
                   14785: 
                   14786: 
1.1.1.5 ! misho    14787: fi
1.1       misho    14788: 
                   14789: 
                   14790: 
                   14791: 
                   14792: case "$host" in
                   14793:   *-sunos5.[6-7]* | *-solaris2.[6-7]*)
                   14794:       opsys=sol2-6
                   14795: 
                   14796: $as_echo "#define SUNOS_56 1" >>confdefs.h
                   14797: 
                   14798: 
                   14799: $as_echo "#define SUNOS_5 1" >>confdefs.h
                   14800: 
                   14801:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   14802: $as_echo_n "checking for main in -lxnet... " >&6; }
                   14803: if ${ac_cv_lib_xnet_main+:} false; then :
                   14804:   $as_echo_n "(cached) " >&6
                   14805: else
                   14806:   ac_check_lib_save_LIBS=$LIBS
                   14807: LIBS="-lxnet  $LIBS"
                   14808: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14809: /* end confdefs.h.  */
                   14810: 
                   14811: 
                   14812: int
                   14813: main ()
                   14814: {
                   14815: return main ();
                   14816:   ;
                   14817:   return 0;
                   14818: }
                   14819: _ACEOF
                   14820: if ac_fn_c_try_link "$LINENO"; then :
                   14821:   ac_cv_lib_xnet_main=yes
                   14822: else
                   14823:   ac_cv_lib_xnet_main=no
                   14824: fi
                   14825: rm -f core conftest.err conftest.$ac_objext \
                   14826:     conftest$ac_exeext conftest.$ac_ext
                   14827: LIBS=$ac_check_lib_save_LIBS
                   14828: fi
                   14829: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   14830: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   14831: if test "x$ac_cv_lib_xnet_main" = xyes; then :
                   14832:   cat >>confdefs.h <<_ACEOF
                   14833: #define HAVE_LIBXNET 1
                   14834: _ACEOF
                   14835: 
                   14836:   LIBS="-lxnet $LIBS"
                   14837: 
                   14838: fi
                   14839: 
                   14840:       CURSES=-lcurses
1.1.1.5 ! misho    14841:       SOLARIS="solaris"
1.1       misho    14842:   ;;
                   14843:   *-sunos5.[8-9] \
                   14844:   | *-sunos5.1[0-9] \
                   14845:   | *-sunos5.1[0-9].[0-9] \
                   14846:   | *-solaris2.[8-9] \
                   14847:   | *-solaris2.1[0-9] \
                   14848:   | *-solaris2.1[0-9].[0-9])
                   14849:       opsys=sol8
                   14850: 
                   14851: $as_echo "#define SUNOS_59 1" >>confdefs.h
                   14852: 
                   14853: 
                   14854: $as_echo "#define SUNOS_5 1" >>confdefs.h
                   14855: 
                   14856:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   14857: $as_echo_n "checking for main in -lsocket... " >&6; }
                   14858: if ${ac_cv_lib_socket_main+:} false; then :
                   14859:   $as_echo_n "(cached) " >&6
                   14860: else
                   14861:   ac_check_lib_save_LIBS=$LIBS
                   14862: LIBS="-lsocket  $LIBS"
                   14863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14864: /* end confdefs.h.  */
                   14865: 
                   14866: 
                   14867: int
                   14868: main ()
                   14869: {
                   14870: return main ();
                   14871:   ;
                   14872:   return 0;
                   14873: }
                   14874: _ACEOF
                   14875: if ac_fn_c_try_link "$LINENO"; then :
                   14876:   ac_cv_lib_socket_main=yes
                   14877: else
                   14878:   ac_cv_lib_socket_main=no
                   14879: fi
                   14880: rm -f core conftest.err conftest.$ac_objext \
                   14881:     conftest$ac_exeext conftest.$ac_ext
                   14882: LIBS=$ac_check_lib_save_LIBS
                   14883: fi
                   14884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   14885: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   14886: if test "x$ac_cv_lib_socket_main" = xyes; then :
                   14887:   cat >>confdefs.h <<_ACEOF
                   14888: #define HAVE_LIBSOCKET 1
                   14889: _ACEOF
                   14890: 
                   14891:   LIBS="-lsocket $LIBS"
                   14892: 
                   14893: fi
                   14894: 
                   14895:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   14896: $as_echo_n "checking for main in -lnsl... " >&6; }
                   14897: if ${ac_cv_lib_nsl_main+:} false; then :
                   14898:   $as_echo_n "(cached) " >&6
                   14899: else
                   14900:   ac_check_lib_save_LIBS=$LIBS
                   14901: LIBS="-lnsl  $LIBS"
                   14902: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14903: /* end confdefs.h.  */
                   14904: 
                   14905: 
                   14906: int
                   14907: main ()
                   14908: {
                   14909: return main ();
                   14910:   ;
                   14911:   return 0;
                   14912: }
                   14913: _ACEOF
                   14914: if ac_fn_c_try_link "$LINENO"; then :
                   14915:   ac_cv_lib_nsl_main=yes
                   14916: else
                   14917:   ac_cv_lib_nsl_main=no
                   14918: fi
                   14919: rm -f core conftest.err conftest.$ac_objext \
                   14920:     conftest$ac_exeext conftest.$ac_ext
                   14921: LIBS=$ac_check_lib_save_LIBS
                   14922: fi
                   14923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   14924: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   14925: if test "x$ac_cv_lib_nsl_main" = xyes; then :
                   14926:   cat >>confdefs.h <<_ACEOF
                   14927: #define HAVE_LIBNSL 1
                   14928: _ACEOF
                   14929: 
                   14930:   LIBS="-lnsl $LIBS"
                   14931: 
                   14932: fi
                   14933: 
                   14934:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lumem" >&5
                   14935: $as_echo_n "checking for main in -lumem... " >&6; }
                   14936: if ${ac_cv_lib_umem_main+:} false; then :
                   14937:   $as_echo_n "(cached) " >&6
                   14938: else
                   14939:   ac_check_lib_save_LIBS=$LIBS
                   14940: LIBS="-lumem  $LIBS"
                   14941: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14942: /* end confdefs.h.  */
                   14943: 
                   14944: 
                   14945: int
                   14946: main ()
                   14947: {
                   14948: return main ();
                   14949:   ;
                   14950:   return 0;
                   14951: }
                   14952: _ACEOF
                   14953: if ac_fn_c_try_link "$LINENO"; then :
                   14954:   ac_cv_lib_umem_main=yes
                   14955: else
                   14956:   ac_cv_lib_umem_main=no
                   14957: fi
                   14958: rm -f core conftest.err conftest.$ac_objext \
                   14959:     conftest$ac_exeext conftest.$ac_ext
                   14960: LIBS=$ac_check_lib_save_LIBS
                   14961: fi
                   14962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_main" >&5
                   14963: $as_echo "$ac_cv_lib_umem_main" >&6; }
                   14964: if test "x$ac_cv_lib_umem_main" = xyes; then :
                   14965:   cat >>confdefs.h <<_ACEOF
                   14966: #define HAVE_LIBUMEM 1
                   14967: _ACEOF
                   14968: 
                   14969:   LIBS="-lumem $LIBS"
                   14970: 
                   14971: fi
                   14972: 
                   14973:       for ac_func in printstack
                   14974: do :
                   14975:   ac_fn_c_check_func "$LINENO" "printstack" "ac_cv_func_printstack"
                   14976: if test "x$ac_cv_func_printstack" = xyes; then :
                   14977:   cat >>confdefs.h <<_ACEOF
                   14978: #define HAVE_PRINTSTACK 1
                   14979: _ACEOF
                   14980: 
                   14981: $as_echo "#define HAVE_PRINTSTACK 1" >>confdefs.h
                   14982: 
                   14983: 
                   14984: $as_echo "#define HAVE_STACK_TRACE 1" >>confdefs.h
                   14985: 
                   14986: 
                   14987: fi
                   14988: done
                   14989: 
                   14990:       CURSES=-lcurses
1.1.1.5 ! misho    14991:       SOLARIS="solaris"
1.1       misho    14992:   ;;
                   14993:   *-sunos5* | *-solaris2*)
                   14994: 
                   14995: $as_echo "#define SUNOS_5 /**/" >>confdefs.h
                   14996: 
                   14997:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   14998: $as_echo_n "checking for main in -lsocket... " >&6; }
                   14999: if ${ac_cv_lib_socket_main+:} false; then :
                   15000:   $as_echo_n "(cached) " >&6
                   15001: else
                   15002:   ac_check_lib_save_LIBS=$LIBS
                   15003: LIBS="-lsocket  $LIBS"
                   15004: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15005: /* end confdefs.h.  */
                   15006: 
                   15007: 
                   15008: int
                   15009: main ()
                   15010: {
                   15011: return main ();
                   15012:   ;
                   15013:   return 0;
                   15014: }
                   15015: _ACEOF
                   15016: if ac_fn_c_try_link "$LINENO"; then :
                   15017:   ac_cv_lib_socket_main=yes
                   15018: else
                   15019:   ac_cv_lib_socket_main=no
                   15020: fi
                   15021: rm -f core conftest.err conftest.$ac_objext \
                   15022:     conftest$ac_exeext conftest.$ac_ext
                   15023: LIBS=$ac_check_lib_save_LIBS
                   15024: fi
                   15025: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   15026: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   15027: if test "x$ac_cv_lib_socket_main" = xyes; then :
                   15028:   cat >>confdefs.h <<_ACEOF
                   15029: #define HAVE_LIBSOCKET 1
                   15030: _ACEOF
                   15031: 
                   15032:   LIBS="-lsocket $LIBS"
                   15033: 
                   15034: fi
                   15035: 
                   15036:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   15037: $as_echo_n "checking for main in -lnsl... " >&6; }
                   15038: if ${ac_cv_lib_nsl_main+:} false; then :
                   15039:   $as_echo_n "(cached) " >&6
                   15040: else
                   15041:   ac_check_lib_save_LIBS=$LIBS
                   15042: LIBS="-lnsl  $LIBS"
                   15043: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15044: /* end confdefs.h.  */
                   15045: 
                   15046: 
                   15047: int
                   15048: main ()
                   15049: {
                   15050: return main ();
                   15051:   ;
                   15052:   return 0;
                   15053: }
                   15054: _ACEOF
                   15055: if ac_fn_c_try_link "$LINENO"; then :
                   15056:   ac_cv_lib_nsl_main=yes
                   15057: else
                   15058:   ac_cv_lib_nsl_main=no
                   15059: fi
                   15060: rm -f core conftest.err conftest.$ac_objext \
                   15061:     conftest$ac_exeext conftest.$ac_ext
                   15062: LIBS=$ac_check_lib_save_LIBS
                   15063: fi
                   15064: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   15065: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   15066: if test "x$ac_cv_lib_nsl_main" = xyes; then :
                   15067:   cat >>confdefs.h <<_ACEOF
                   15068: #define HAVE_LIBNSL 1
                   15069: _ACEOF
                   15070: 
                   15071:   LIBS="-lnsl $LIBS"
                   15072: 
                   15073: fi
                   15074: 
                   15075:       CURSES=-lcurses
1.1.1.5 ! misho    15076:       SOLARIS="solaris"
1.1       misho    15077:   ;;
                   15078:   *-linux*)
                   15079:       opsys=gnu-linux
                   15080: 
                   15081: $as_echo "#define GNU_LINUX /**/" >>confdefs.h
                   15082: 
                   15083:   ;;
                   15084:   *-openbsd*)
                   15085:       opsys=openbsd
                   15086: 
                   15087: $as_echo "#define OPEN_BSD /**/" >>confdefs.h
                   15088: 
                   15089:   ;;
                   15090: esac
                   15091: 
                   15092: # Check whether --enable-largefile was given.
                   15093: if test "${enable_largefile+set}" = set; then :
                   15094:   enableval=$enable_largefile;
                   15095: fi
                   15096: 
                   15097: if test "$enable_largefile" != no; then
                   15098: 
                   15099:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   15100: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   15101: if ${ac_cv_sys_largefile_CC+:} false; then :
                   15102:   $as_echo_n "(cached) " >&6
                   15103: else
                   15104:   ac_cv_sys_largefile_CC=no
                   15105:      if test "$GCC" != yes; then
                   15106:        ac_save_CC=$CC
                   15107:        while :; do
                   15108:         # IRIX 6.2 and later do not support large files by default,
                   15109:         # so use the C compiler's -n32 option if that helps.
                   15110:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15111: /* end confdefs.h.  */
                   15112: #include <sys/types.h>
                   15113:  /* Check that off_t can represent 2**63 - 1 correctly.
                   15114:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   15115:     since some C++ compilers masquerading as C compilers
                   15116:     incorrectly reject 9223372036854775807.  */
                   15117: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   15118:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   15119:                       && LARGE_OFF_T % 2147483647 == 1)
                   15120:                      ? 1 : -1];
                   15121: int
                   15122: main ()
                   15123: {
                   15124: 
                   15125:   ;
                   15126:   return 0;
                   15127: }
                   15128: _ACEOF
                   15129:         if ac_fn_c_try_compile "$LINENO"; then :
                   15130:   break
                   15131: fi
                   15132: rm -f core conftest.err conftest.$ac_objext
                   15133:         CC="$CC -n32"
                   15134:         if ac_fn_c_try_compile "$LINENO"; then :
                   15135:   ac_cv_sys_largefile_CC=' -n32'; break
                   15136: fi
                   15137: rm -f core conftest.err conftest.$ac_objext
                   15138:         break
                   15139:        done
                   15140:        CC=$ac_save_CC
                   15141:        rm -f conftest.$ac_ext
                   15142:     fi
                   15143: fi
                   15144: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   15145: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   15146:   if test "$ac_cv_sys_largefile_CC" != no; then
                   15147:     CC=$CC$ac_cv_sys_largefile_CC
                   15148:   fi
                   15149: 
                   15150:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   15151: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   15152: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   15153:   $as_echo_n "(cached) " >&6
                   15154: else
                   15155:   while :; do
                   15156:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15157: /* end confdefs.h.  */
                   15158: #include <sys/types.h>
                   15159:  /* Check that off_t can represent 2**63 - 1 correctly.
                   15160:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   15161:     since some C++ compilers masquerading as C compilers
                   15162:     incorrectly reject 9223372036854775807.  */
                   15163: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   15164:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   15165:                       && LARGE_OFF_T % 2147483647 == 1)
                   15166:                      ? 1 : -1];
                   15167: int
                   15168: main ()
                   15169: {
                   15170: 
                   15171:   ;
                   15172:   return 0;
                   15173: }
                   15174: _ACEOF
                   15175: if ac_fn_c_try_compile "$LINENO"; then :
                   15176:   ac_cv_sys_file_offset_bits=no; break
                   15177: fi
                   15178: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15179:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15180: /* end confdefs.h.  */
                   15181: #define _FILE_OFFSET_BITS 64
                   15182: #include <sys/types.h>
                   15183:  /* Check that off_t can represent 2**63 - 1 correctly.
                   15184:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   15185:     since some C++ compilers masquerading as C compilers
                   15186:     incorrectly reject 9223372036854775807.  */
                   15187: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   15188:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   15189:                       && LARGE_OFF_T % 2147483647 == 1)
                   15190:                      ? 1 : -1];
                   15191: int
                   15192: main ()
                   15193: {
                   15194: 
                   15195:   ;
                   15196:   return 0;
                   15197: }
                   15198: _ACEOF
                   15199: if ac_fn_c_try_compile "$LINENO"; then :
                   15200:   ac_cv_sys_file_offset_bits=64; break
                   15201: fi
                   15202: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15203:   ac_cv_sys_file_offset_bits=unknown
                   15204:   break
                   15205: done
                   15206: fi
                   15207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   15208: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   15209: case $ac_cv_sys_file_offset_bits in #(
                   15210:   no | unknown) ;;
                   15211:   *)
                   15212: cat >>confdefs.h <<_ACEOF
                   15213: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   15214: _ACEOF
                   15215: ;;
                   15216: esac
                   15217: rm -rf conftest*
                   15218:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   15219:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   15220: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   15221: if ${ac_cv_sys_large_files+:} false; then :
                   15222:   $as_echo_n "(cached) " >&6
                   15223: else
                   15224:   while :; do
                   15225:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15226: /* end confdefs.h.  */
                   15227: #include <sys/types.h>
                   15228:  /* Check that off_t can represent 2**63 - 1 correctly.
                   15229:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   15230:     since some C++ compilers masquerading as C compilers
                   15231:     incorrectly reject 9223372036854775807.  */
                   15232: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   15233:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   15234:                       && LARGE_OFF_T % 2147483647 == 1)
                   15235:                      ? 1 : -1];
                   15236: int
                   15237: main ()
                   15238: {
                   15239: 
                   15240:   ;
                   15241:   return 0;
                   15242: }
                   15243: _ACEOF
                   15244: if ac_fn_c_try_compile "$LINENO"; then :
                   15245:   ac_cv_sys_large_files=no; break
                   15246: fi
                   15247: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15248:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15249: /* end confdefs.h.  */
                   15250: #define _LARGE_FILES 1
                   15251: #include <sys/types.h>
                   15252:  /* Check that off_t can represent 2**63 - 1 correctly.
                   15253:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   15254:     since some C++ compilers masquerading as C compilers
                   15255:     incorrectly reject 9223372036854775807.  */
                   15256: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   15257:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   15258:                       && LARGE_OFF_T % 2147483647 == 1)
                   15259:                      ? 1 : -1];
                   15260: int
                   15261: main ()
                   15262: {
                   15263: 
                   15264:   ;
                   15265:   return 0;
                   15266: }
                   15267: _ACEOF
                   15268: if ac_fn_c_try_compile "$LINENO"; then :
                   15269:   ac_cv_sys_large_files=1; break
                   15270: fi
                   15271: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15272:   ac_cv_sys_large_files=unknown
                   15273:   break
                   15274: done
                   15275: fi
                   15276: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   15277: $as_echo "$ac_cv_sys_large_files" >&6; }
                   15278: case $ac_cv_sys_large_files in #(
                   15279:   no | unknown) ;;
                   15280:   *)
                   15281: cat >>confdefs.h <<_ACEOF
                   15282: #define _LARGE_FILES $ac_cv_sys_large_files
                   15283: _ACEOF
                   15284: ;;
                   15285: esac
                   15286: rm -rf conftest*
                   15287:   fi
1.1.1.3   misho    15288: 
                   15289: 
1.1       misho    15290: fi
                   15291: 
                   15292: 
                   15293: case "${enable_vtysh}" in
1.1.1.5 ! misho    15294:   "no") VTYSH="";;
        !          15295:   *)    VTYSH="vtysh";
1.1       misho    15296: 
                   15297: $as_echo "#define VTYSH /**/" >>confdefs.h
                   15298: 
                   15299:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5
                   15300: $as_echo_n "checking for tputs in -ltermcap... " >&6; }
                   15301: if ${ac_cv_lib_termcap_tputs+:} false; then :
                   15302:   $as_echo_n "(cached) " >&6
                   15303: else
                   15304:   ac_check_lib_save_LIBS=$LIBS
                   15305: LIBS="-ltermcap  $LIBS"
                   15306: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15307: /* end confdefs.h.  */
                   15308: 
                   15309: /* Override any GCC internal prototype to avoid an error.
                   15310:    Use char because int might match the return type of a GCC
                   15311:    builtin and then its argument prototype would still apply.  */
                   15312: #ifdef __cplusplus
                   15313: extern "C"
                   15314: #endif
                   15315: char tputs ();
                   15316: int
                   15317: main ()
                   15318: {
                   15319: return tputs ();
                   15320:   ;
                   15321:   return 0;
                   15322: }
                   15323: _ACEOF
                   15324: if ac_fn_c_try_link "$LINENO"; then :
                   15325:   ac_cv_lib_termcap_tputs=yes
                   15326: else
                   15327:   ac_cv_lib_termcap_tputs=no
                   15328: fi
                   15329: rm -f core conftest.err conftest.$ac_objext \
                   15330:     conftest$ac_exeext conftest.$ac_ext
                   15331: LIBS=$ac_check_lib_save_LIBS
                   15332: fi
                   15333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tputs" >&5
                   15334: $as_echo "$ac_cv_lib_termcap_tputs" >&6; }
                   15335: if test "x$ac_cv_lib_termcap_tputs" = xyes; then :
                   15336:   LIBREADLINE="$LIBREADLINE -ltermcap"
                   15337: else
                   15338:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltinfo" >&5
                   15339: $as_echo_n "checking for tputs in -ltinfo... " >&6; }
                   15340: if ${ac_cv_lib_tinfo_tputs+:} false; then :
                   15341:   $as_echo_n "(cached) " >&6
                   15342: else
                   15343:   ac_check_lib_save_LIBS=$LIBS
                   15344: LIBS="-ltinfo  $LIBS"
                   15345: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15346: /* end confdefs.h.  */
                   15347: 
                   15348: /* Override any GCC internal prototype to avoid an error.
                   15349:    Use char because int might match the return type of a GCC
                   15350:    builtin and then its argument prototype would still apply.  */
                   15351: #ifdef __cplusplus
                   15352: extern "C"
                   15353: #endif
                   15354: char tputs ();
                   15355: int
                   15356: main ()
                   15357: {
                   15358: return tputs ();
                   15359:   ;
                   15360:   return 0;
                   15361: }
                   15362: _ACEOF
                   15363: if ac_fn_c_try_link "$LINENO"; then :
                   15364:   ac_cv_lib_tinfo_tputs=yes
                   15365: else
                   15366:   ac_cv_lib_tinfo_tputs=no
                   15367: fi
                   15368: rm -f core conftest.err conftest.$ac_objext \
                   15369:     conftest$ac_exeext conftest.$ac_ext
                   15370: LIBS=$ac_check_lib_save_LIBS
                   15371: fi
                   15372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tputs" >&5
                   15373: $as_echo "$ac_cv_lib_tinfo_tputs" >&6; }
                   15374: if test "x$ac_cv_lib_tinfo_tputs" = xyes; then :
                   15375:   LIBREADLINE="$LIBREADLINE -ltinfo"
                   15376: else
                   15377:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lcurses" >&5
                   15378: $as_echo_n "checking for tputs in -lcurses... " >&6; }
                   15379: if ${ac_cv_lib_curses_tputs+:} false; then :
                   15380:   $as_echo_n "(cached) " >&6
                   15381: else
                   15382:   ac_check_lib_save_LIBS=$LIBS
                   15383: LIBS="-lcurses  $LIBS"
                   15384: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15385: /* end confdefs.h.  */
                   15386: 
                   15387: /* Override any GCC internal prototype to avoid an error.
                   15388:    Use char because int might match the return type of a GCC
                   15389:    builtin and then its argument prototype would still apply.  */
                   15390: #ifdef __cplusplus
                   15391: extern "C"
                   15392: #endif
                   15393: char tputs ();
                   15394: int
                   15395: main ()
                   15396: {
                   15397: return tputs ();
                   15398:   ;
                   15399:   return 0;
                   15400: }
                   15401: _ACEOF
                   15402: if ac_fn_c_try_link "$LINENO"; then :
                   15403:   ac_cv_lib_curses_tputs=yes
                   15404: else
                   15405:   ac_cv_lib_curses_tputs=no
                   15406: fi
                   15407: rm -f core conftest.err conftest.$ac_objext \
                   15408:     conftest$ac_exeext conftest.$ac_ext
                   15409: LIBS=$ac_check_lib_save_LIBS
                   15410: fi
                   15411: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tputs" >&5
                   15412: $as_echo "$ac_cv_lib_curses_tputs" >&6; }
                   15413: if test "x$ac_cv_lib_curses_tputs" = xyes; then :
                   15414:   LIBREADLINE="$LIBREADLINE -lcurses"
                   15415: else
                   15416:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lncurses" >&5
                   15417: $as_echo_n "checking for tputs in -lncurses... " >&6; }
                   15418: if ${ac_cv_lib_ncurses_tputs+:} false; then :
                   15419:   $as_echo_n "(cached) " >&6
                   15420: else
                   15421:   ac_check_lib_save_LIBS=$LIBS
                   15422: LIBS="-lncurses  $LIBS"
                   15423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15424: /* end confdefs.h.  */
                   15425: 
                   15426: /* Override any GCC internal prototype to avoid an error.
                   15427:    Use char because int might match the return type of a GCC
                   15428:    builtin and then its argument prototype would still apply.  */
                   15429: #ifdef __cplusplus
                   15430: extern "C"
                   15431: #endif
                   15432: char tputs ();
                   15433: int
                   15434: main ()
                   15435: {
                   15436: return tputs ();
                   15437:   ;
                   15438:   return 0;
                   15439: }
                   15440: _ACEOF
                   15441: if ac_fn_c_try_link "$LINENO"; then :
                   15442:   ac_cv_lib_ncurses_tputs=yes
                   15443: else
                   15444:   ac_cv_lib_ncurses_tputs=no
                   15445: fi
                   15446: rm -f core conftest.err conftest.$ac_objext \
                   15447:     conftest$ac_exeext conftest.$ac_ext
                   15448: LIBS=$ac_check_lib_save_LIBS
                   15449: fi
                   15450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tputs" >&5
                   15451: $as_echo "$ac_cv_lib_ncurses_tputs" >&6; }
                   15452: if test "x$ac_cv_lib_ncurses_tputs" = xyes; then :
                   15453:   LIBREADLINE="$LIBREADLINE -lncurses"
                   15454: fi
                   15455: 
                   15456: 
                   15457: fi
                   15458: 
                   15459: 
                   15460: fi
                   15461: 
                   15462: 
                   15463: fi
                   15464: 
                   15465:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
                   15466: $as_echo_n "checking for main in -lreadline... " >&6; }
                   15467: if ${ac_cv_lib_readline_main+:} false; then :
                   15468:   $as_echo_n "(cached) " >&6
                   15469: else
                   15470:   ac_check_lib_save_LIBS=$LIBS
                   15471: LIBS="-lreadline "$LIBREADLINE" $LIBS"
                   15472: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15473: /* end confdefs.h.  */
                   15474: 
                   15475: 
                   15476: int
                   15477: main ()
                   15478: {
                   15479: return main ();
                   15480:   ;
                   15481:   return 0;
                   15482: }
                   15483: _ACEOF
                   15484: if ac_fn_c_try_link "$LINENO"; then :
                   15485:   ac_cv_lib_readline_main=yes
                   15486: else
                   15487:   ac_cv_lib_readline_main=no
                   15488: fi
                   15489: rm -f core conftest.err conftest.$ac_objext \
                   15490:     conftest$ac_exeext conftest.$ac_ext
                   15491: LIBS=$ac_check_lib_save_LIBS
                   15492: fi
                   15493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
                   15494: $as_echo "$ac_cv_lib_readline_main" >&6; }
                   15495: if test "x$ac_cv_lib_readline_main" = xyes; then :
                   15496:   LIBREADLINE="$LIBREADLINE -lreadline"
                   15497: fi
                   15498: 
                   15499:          if test $ac_cv_lib_readline_main = no; then
                   15500:            as_fn_error $? "vtysh needs libreadline but was not found and usable on your system." "$LINENO" 5
                   15501:          fi
                   15502:         ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
                   15503: if test "x$ac_cv_header_readline_history_h" = xyes; then :
                   15504: 
                   15505: fi
                   15506: 
                   15507: 
                   15508:         if test $ac_cv_header_readline_history_h = no;then
                   15509:            as_fn_error $? "readline is too old to have readline/history.h, please update to the latest readline library." "$LINENO" 5
                   15510:         fi
                   15511:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
                   15512: $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
                   15513: if ${ac_cv_lib_readline_rl_completion_matches+:} false; then :
                   15514:   $as_echo_n "(cached) " >&6
                   15515: else
                   15516:   ac_check_lib_save_LIBS=$LIBS
                   15517: LIBS="-lreadline "$LIBREADLINE" $LIBS"
                   15518: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15519: /* end confdefs.h.  */
                   15520: 
                   15521: /* Override any GCC internal prototype to avoid an error.
                   15522:    Use char because int might match the return type of a GCC
                   15523:    builtin and then its argument prototype would still apply.  */
                   15524: #ifdef __cplusplus
                   15525: extern "C"
                   15526: #endif
                   15527: char rl_completion_matches ();
                   15528: int
                   15529: main ()
                   15530: {
                   15531: return rl_completion_matches ();
                   15532:   ;
                   15533:   return 0;
                   15534: }
                   15535: _ACEOF
                   15536: if ac_fn_c_try_link "$LINENO"; then :
                   15537:   ac_cv_lib_readline_rl_completion_matches=yes
                   15538: else
                   15539:   ac_cv_lib_readline_rl_completion_matches=no
                   15540: fi
                   15541: rm -f core conftest.err conftest.$ac_objext \
                   15542:     conftest$ac_exeext conftest.$ac_ext
                   15543: LIBS=$ac_check_lib_save_LIBS
                   15544: fi
                   15545: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
                   15546: $as_echo "$ac_cv_lib_readline_rl_completion_matches" >&6; }
                   15547: if test "x$ac_cv_lib_readline_rl_completion_matches" = xyes; then :
                   15548:   LIBREADLINE="$LIBREADLINE"
                   15549: fi
                   15550: 
                   15551:          if test $ac_cv_lib_readline_rl_completion_matches = no; then
                   15552: 
                   15553: $as_echo "#define rl_completion_matches completion_matches" >>confdefs.h
                   15554: 
                   15555:         fi
                   15556:         ;;
                   15557:   "no" ) VTYSH="";;
                   15558: esac
                   15559: 
1.1.1.3   misho    15560:  if test "x$VTYSH" = "xvtysh"; then
                   15561:   VTYSH_TRUE=
                   15562:   VTYSH_FALSE='#'
                   15563: else
                   15564:   VTYSH_TRUE='#'
                   15565:   VTYSH_FALSE=
                   15566: fi
                   15567: 
1.1       misho    15568: 
                   15569: if test "$with_libpam" = "yes"; then
                   15570:   ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "#ifdef SUNOS_5
                   15571: #define _XPG4_2
                   15572: #define __EXTENSIONS__
                   15573: #endif
                   15574: #include <stdio.h>
                   15575: #if STDC_HEADERS
                   15576: # include <stdlib.h>
                   15577: # include <stddef.h>
                   15578: #else
                   15579: # if HAVE_STDLIB_H
                   15580: #  include <stdlib.h>
                   15581: # endif
                   15582: #endif
                   15583: #if HAVE_SYS_TYPES_H
                   15584: # include <sys/types.h>
                   15585: #endif
                   15586: /* sys/conf.h depends on param.h on FBSD at least */
                   15587: #if HAVE_SYS_PARAM_H
                   15588: # include <sys/param.h>
                   15589: #endif
                   15590: /* Required for MAXSIG */
                   15591: #if HAVE_SIGNAL_H
                   15592: # include <signal.h>
                   15593: #endif
                   15594: #if HAVE_SYS_SOCKET_H
                   15595: # include <sys/socket.h>
                   15596: #endif
1.1.1.4   misho    15597: #ifdef __APPLE__
                   15598: # define __APPLE_USE_RFC_3542
                   15599: #endif
1.1       misho    15600: #if HAVE_NETINET_IN_H
                   15601: # include <netinet/in.h>
                   15602: #endif
                   15603: #ifdef TIME_WITH_SYS_TIME
                   15604: # include <sys/time.h>
                   15605: # include <time.h>
                   15606: #else
                   15607: # ifdef HAVE_SYS_TIME_H
                   15608: #  include <sys/time.h>
                   15609: # else
                   15610: #  include <time.h>
                   15611: # endif
                   15612: #endif /* TIME_WITH_SYS_TIME */
                   15613: 
                   15614: #if HAVE_NET_IF_H
                   15615: # include <net/if.h>
                   15616: #endif
                   15617: 
                   15618: #if HAVE_NET_IF_VAR_H
                   15619: # include <net/if_var.h>
                   15620: #endif
                   15621: 
                   15622: #if HAVE_SYS_UN_H
                   15623: # include <sys/un.h>
                   15624: #endif
                   15625: #if HAVE_NETINET_IN_SYSTM_H
                   15626: # include <netinet/in_systm.h>
                   15627: #endif
                   15628: #if HAVE_NETINET_IN_VAR_H
                   15629: # include <netinet/in_var.h>
                   15630: #endif
                   15631: #if HAVE_NET_IF_DL_H
                   15632: # include <net/if_dl.h>
                   15633: #endif
                   15634: #if HAVE_NET_NETOPT_H
                   15635: # include <net/netopt.h>
                   15636: #endif
                   15637: #if HAVE_NET_ROUTE_H
                   15638: # include <net/route.h>
                   15639: #endif
                   15640: #if HAVE_INET_ND_H
                   15641: # include <inet/nd.h>
                   15642: #endif
                   15643: #if HAVE_ARPA_INET_H
                   15644: # include <arpa/inet.h>
                   15645: #endif
                   15646: /* Required for IDRP */
                   15647: #if HAVE_NETINET_IP_ICMP_H
                   15648: # include <netinet/ip_icmp.h>
                   15649: #endif
                   15650: 
                   15651: "
                   15652: if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
                   15653: 
                   15654: $as_echo "#define HAVE_PAM_MISC_H /**/" >>confdefs.h
                   15655: 
                   15656: 
                   15657: $as_echo "#define PAM_CONV_FUNC misc_conv" >>confdefs.h
                   15658: 
                   15659:      pam_conv_func="misc_conv"
                   15660: 
                   15661: fi
                   15662: 
                   15663: 
                   15664:   ac_fn_c_check_header_compile "$LINENO" "security/openpam.h" "ac_cv_header_security_openpam_h" "#ifdef SUNOS_5
                   15665: #define _XPG4_2
                   15666: #define __EXTENSIONS__
                   15667: #endif
                   15668: #include <stdio.h>
                   15669: #if STDC_HEADERS
                   15670: # include <stdlib.h>
                   15671: # include <stddef.h>
                   15672: #else
                   15673: # if HAVE_STDLIB_H
                   15674: #  include <stdlib.h>
                   15675: # endif
                   15676: #endif
                   15677: #if HAVE_SYS_TYPES_H
                   15678: # include <sys/types.h>
                   15679: #endif
                   15680: /* sys/conf.h depends on param.h on FBSD at least */
                   15681: #if HAVE_SYS_PARAM_H
                   15682: # include <sys/param.h>
                   15683: #endif
                   15684: /* Required for MAXSIG */
                   15685: #if HAVE_SIGNAL_H
                   15686: # include <signal.h>
                   15687: #endif
                   15688: #if HAVE_SYS_SOCKET_H
                   15689: # include <sys/socket.h>
                   15690: #endif
1.1.1.4   misho    15691: #ifdef __APPLE__
                   15692: # define __APPLE_USE_RFC_3542
                   15693: #endif
1.1       misho    15694: #if HAVE_NETINET_IN_H
                   15695: # include <netinet/in.h>
                   15696: #endif
                   15697: #ifdef TIME_WITH_SYS_TIME
                   15698: # include <sys/time.h>
                   15699: # include <time.h>
                   15700: #else
                   15701: # ifdef HAVE_SYS_TIME_H
                   15702: #  include <sys/time.h>
                   15703: # else
                   15704: #  include <time.h>
                   15705: # endif
                   15706: #endif /* TIME_WITH_SYS_TIME */
                   15707: 
                   15708: #if HAVE_NET_IF_H
                   15709: # include <net/if.h>
                   15710: #endif
                   15711: 
                   15712: #if HAVE_NET_IF_VAR_H
                   15713: # include <net/if_var.h>
                   15714: #endif
                   15715: 
                   15716: #if HAVE_SYS_UN_H
                   15717: # include <sys/un.h>
                   15718: #endif
                   15719: #if HAVE_NETINET_IN_SYSTM_H
                   15720: # include <netinet/in_systm.h>
                   15721: #endif
                   15722: #if HAVE_NETINET_IN_VAR_H
                   15723: # include <netinet/in_var.h>
                   15724: #endif
                   15725: #if HAVE_NET_IF_DL_H
                   15726: # include <net/if_dl.h>
                   15727: #endif
                   15728: #if HAVE_NET_NETOPT_H
                   15729: # include <net/netopt.h>
                   15730: #endif
                   15731: #if HAVE_NET_ROUTE_H
                   15732: # include <net/route.h>
                   15733: #endif
                   15734: #if HAVE_INET_ND_H
                   15735: # include <inet/nd.h>
                   15736: #endif
                   15737: #if HAVE_ARPA_INET_H
                   15738: # include <arpa/inet.h>
                   15739: #endif
                   15740: /* Required for IDRP */
                   15741: #if HAVE_NETINET_IP_ICMP_H
                   15742: # include <netinet/ip_icmp.h>
                   15743: #endif
                   15744: #include <security/pam_appl.h>
                   15745: "
                   15746: if test "x$ac_cv_header_security_openpam_h" = xyes; then :
                   15747: 
                   15748: $as_echo "#define HAVE_OPENPAM_H /**/" >>confdefs.h
                   15749: 
                   15750: 
                   15751: $as_echo "#define PAM_CONV_FUNC openpam_ttyconv" >>confdefs.h
                   15752: 
                   15753:      pam_conv_func="openpam_ttyconv"
                   15754: 
                   15755: fi
                   15756: 
                   15757: 
                   15758:   if test -z "$ac_cv_header_security_pam_misc_h$ac_cv_header_security_openpam_h" ; then
                   15759:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pam support will not be built ***" >&5
                   15760: $as_echo "$as_me: WARNING: *** pam support will not be built ***" >&2;}
                   15761:     with_libpam="no"
                   15762:   fi
                   15763: fi
                   15764: 
                   15765: if test "$with_libpam" = "yes"; then
                   15766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
                   15767: $as_echo_n "checking for pam_start in -lpam... " >&6; }
                   15768: if ${ac_cv_lib_pam_pam_start+:} false; then :
                   15769:   $as_echo_n "(cached) " >&6
                   15770: else
                   15771:   ac_check_lib_save_LIBS=$LIBS
                   15772: LIBS="-lpam  $LIBS"
                   15773: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15774: /* end confdefs.h.  */
                   15775: 
                   15776: /* Override any GCC internal prototype to avoid an error.
                   15777:    Use char because int might match the return type of a GCC
                   15778:    builtin and then its argument prototype would still apply.  */
                   15779: #ifdef __cplusplus
                   15780: extern "C"
                   15781: #endif
                   15782: char pam_start ();
                   15783: int
                   15784: main ()
                   15785: {
                   15786: return pam_start ();
                   15787:   ;
                   15788:   return 0;
                   15789: }
                   15790: _ACEOF
                   15791: if ac_fn_c_try_link "$LINENO"; then :
                   15792:   ac_cv_lib_pam_pam_start=yes
                   15793: else
                   15794:   ac_cv_lib_pam_pam_start=no
                   15795: fi
                   15796: rm -f core conftest.err conftest.$ac_objext \
                   15797:     conftest$ac_exeext conftest.$ac_ext
                   15798: LIBS=$ac_check_lib_save_LIBS
                   15799: fi
                   15800: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
                   15801: $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
                   15802: if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
                   15803:   as_ac_Lib=`$as_echo "ac_cv_lib_pam_$pam_conv_func" | $as_tr_sh`
                   15804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pam_conv_func in -lpam" >&5
                   15805: $as_echo_n "checking for $pam_conv_func in -lpam... " >&6; }
                   15806: if eval \${$as_ac_Lib+:} false; then :
                   15807:   $as_echo_n "(cached) " >&6
                   15808: else
                   15809:   ac_check_lib_save_LIBS=$LIBS
                   15810: LIBS="-lpam  $LIBS"
                   15811: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15812: /* end confdefs.h.  */
                   15813: 
                   15814: /* Override any GCC internal prototype to avoid an error.
                   15815:    Use char because int might match the return type of a GCC
                   15816:    builtin and then its argument prototype would still apply.  */
                   15817: #ifdef __cplusplus
                   15818: extern "C"
                   15819: #endif
                   15820: char $pam_conv_func ();
                   15821: int
                   15822: main ()
                   15823: {
                   15824: return $pam_conv_func ();
                   15825:   ;
                   15826:   return 0;
                   15827: }
                   15828: _ACEOF
                   15829: if ac_fn_c_try_link "$LINENO"; then :
                   15830:   eval "$as_ac_Lib=yes"
                   15831: else
                   15832:   eval "$as_ac_Lib=no"
                   15833: fi
                   15834: rm -f core conftest.err conftest.$ac_objext \
                   15835:     conftest$ac_exeext conftest.$ac_ext
                   15836: LIBS=$ac_check_lib_save_LIBS
                   15837: fi
                   15838: eval ac_res=\$$as_ac_Lib
                   15839:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   15840: $as_echo "$ac_res" >&6; }
                   15841: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
                   15842: 
                   15843: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   15844: 
                   15845:      LIBPAM="-lpam"
                   15846: else
                   15847: 
                   15848: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   15849: 
                   15850:      LIBPAM="-lpam -lpam_misc"
                   15851: 
                   15852: fi
                   15853: 
                   15854: 
                   15855: else
                   15856:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_end in -lpam" >&5
                   15857: $as_echo_n "checking for pam_end in -lpam... " >&6; }
                   15858: if ${ac_cv_lib_pam_pam_end+:} false; then :
                   15859:   $as_echo_n "(cached) " >&6
                   15860: else
                   15861:   ac_check_lib_save_LIBS=$LIBS
                   15862: LIBS="-lpam -ldl $LIBS"
                   15863: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15864: /* end confdefs.h.  */
                   15865: 
                   15866: /* Override any GCC internal prototype to avoid an error.
                   15867:    Use char because int might match the return type of a GCC
                   15868:    builtin and then its argument prototype would still apply.  */
                   15869: #ifdef __cplusplus
                   15870: extern "C"
                   15871: #endif
                   15872: char pam_end ();
                   15873: int
                   15874: main ()
                   15875: {
                   15876: return pam_end ();
                   15877:   ;
                   15878:   return 0;
                   15879: }
                   15880: _ACEOF
                   15881: if ac_fn_c_try_link "$LINENO"; then :
                   15882:   ac_cv_lib_pam_pam_end=yes
                   15883: else
                   15884:   ac_cv_lib_pam_pam_end=no
                   15885: fi
                   15886: rm -f core conftest.err conftest.$ac_objext \
                   15887:     conftest$ac_exeext conftest.$ac_ext
                   15888: LIBS=$ac_check_lib_save_LIBS
                   15889: fi
                   15890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_end" >&5
                   15891: $as_echo "$ac_cv_lib_pam_pam_end" >&6; }
                   15892: if test "x$ac_cv_lib_pam_pam_end" = xyes; then :
                   15893:   as_ac_Lib=`$as_echo "ac_cv_lib_pam_$pam_conv_func" | $as_tr_sh`
                   15894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pam_conv_func in -lpam" >&5
                   15895: $as_echo_n "checking for $pam_conv_func in -lpam... " >&6; }
                   15896: if eval \${$as_ac_Lib+:} false; then :
                   15897:   $as_echo_n "(cached) " >&6
                   15898: else
                   15899:   ac_check_lib_save_LIBS=$LIBS
                   15900: LIBS="-lpam  $LIBS"
                   15901: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15902: /* end confdefs.h.  */
                   15903: 
                   15904: /* Override any GCC internal prototype to avoid an error.
                   15905:    Use char because int might match the return type of a GCC
                   15906:    builtin and then its argument prototype would still apply.  */
                   15907: #ifdef __cplusplus
                   15908: extern "C"
                   15909: #endif
                   15910: char $pam_conv_func ();
                   15911: int
                   15912: main ()
                   15913: {
                   15914: return $pam_conv_func ();
                   15915:   ;
                   15916:   return 0;
                   15917: }
                   15918: _ACEOF
                   15919: if ac_fn_c_try_link "$LINENO"; then :
                   15920:   eval "$as_ac_Lib=yes"
                   15921: else
                   15922:   eval "$as_ac_Lib=no"
                   15923: fi
                   15924: rm -f core conftest.err conftest.$ac_objext \
                   15925:     conftest$ac_exeext conftest.$ac_ext
                   15926: LIBS=$ac_check_lib_save_LIBS
                   15927: fi
                   15928: eval ac_res=\$$as_ac_Lib
                   15929:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   15930: $as_echo "$ac_res" >&6; }
                   15931: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
                   15932: 
                   15933: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   15934: 
                   15935:        LIBPAM="-lpam -ldl"
                   15936: else
                   15937: 
                   15938: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   15939: 
                   15940:        LIBPAM="-lpam -ldl -lpam_misc"
                   15941: 
                   15942: fi
                   15943: 
                   15944: 
                   15945: else
                   15946:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pam support will not be built ***" >&5
                   15947: $as_echo "$as_me: WARNING: *** pam support will not be built ***" >&2;}
                   15948: fi
                   15949: 
                   15950: 
                   15951: 
                   15952: fi
                   15953: 
                   15954: fi
                   15955: 
                   15956: 
                   15957:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   15958: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   15959: if ${ac_cv_c_bigendian+:} false; then :
                   15960:   $as_echo_n "(cached) " >&6
                   15961: else
                   15962:   ac_cv_c_bigendian=unknown
                   15963:     # See if we're dealing with a universal compiler.
                   15964:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15965: /* end confdefs.h.  */
                   15966: #ifndef __APPLE_CC__
                   15967:               not a universal capable compiler
                   15968:             #endif
                   15969:             typedef int dummy;
                   15970: 
                   15971: _ACEOF
                   15972: if ac_fn_c_try_compile "$LINENO"; then :
                   15973: 
                   15974:        # Check for potential -arch flags.  It is not universal unless
                   15975:        # there are at least two -arch flags with different values.
                   15976:        ac_arch=
                   15977:        ac_prev=
                   15978:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   15979:         if test -n "$ac_prev"; then
                   15980:           case $ac_word in
                   15981:             i?86 | x86_64 | ppc | ppc64)
                   15982:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   15983:                 ac_arch=$ac_word
                   15984:               else
                   15985:                 ac_cv_c_bigendian=universal
                   15986:                 break
                   15987:               fi
                   15988:               ;;
                   15989:           esac
                   15990:           ac_prev=
                   15991:         elif test "x$ac_word" = "x-arch"; then
                   15992:           ac_prev=arch
                   15993:         fi
                   15994:        done
                   15995: fi
                   15996: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15997:     if test $ac_cv_c_bigendian = unknown; then
                   15998:       # See if sys/param.h defines the BYTE_ORDER macro.
                   15999:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16000: /* end confdefs.h.  */
                   16001: #include <sys/types.h>
                   16002:             #include <sys/param.h>
                   16003: 
                   16004: int
                   16005: main ()
                   16006: {
                   16007: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   16008:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   16009:                     && LITTLE_ENDIAN)
                   16010:              bogus endian macros
                   16011:             #endif
                   16012: 
                   16013:   ;
                   16014:   return 0;
                   16015: }
                   16016: _ACEOF
                   16017: if ac_fn_c_try_compile "$LINENO"; then :
                   16018:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   16019:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16020: /* end confdefs.h.  */
                   16021: #include <sys/types.h>
                   16022:                #include <sys/param.h>
                   16023: 
                   16024: int
                   16025: main ()
                   16026: {
                   16027: #if BYTE_ORDER != BIG_ENDIAN
                   16028:                 not big endian
                   16029:                #endif
                   16030: 
                   16031:   ;
                   16032:   return 0;
                   16033: }
                   16034: _ACEOF
                   16035: if ac_fn_c_try_compile "$LINENO"; then :
                   16036:   ac_cv_c_bigendian=yes
                   16037: else
                   16038:   ac_cv_c_bigendian=no
                   16039: fi
                   16040: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16041: fi
                   16042: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16043:     fi
                   16044:     if test $ac_cv_c_bigendian = unknown; then
                   16045:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   16046:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16047: /* end confdefs.h.  */
                   16048: #include <limits.h>
                   16049: 
                   16050: int
                   16051: main ()
                   16052: {
                   16053: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   16054:              bogus endian macros
                   16055:             #endif
                   16056: 
                   16057:   ;
                   16058:   return 0;
                   16059: }
                   16060: _ACEOF
                   16061: if ac_fn_c_try_compile "$LINENO"; then :
                   16062:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   16063:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16064: /* end confdefs.h.  */
                   16065: #include <limits.h>
                   16066: 
                   16067: int
                   16068: main ()
                   16069: {
                   16070: #ifndef _BIG_ENDIAN
                   16071:                 not big endian
                   16072:                #endif
                   16073: 
                   16074:   ;
                   16075:   return 0;
                   16076: }
                   16077: _ACEOF
                   16078: if ac_fn_c_try_compile "$LINENO"; then :
                   16079:   ac_cv_c_bigendian=yes
                   16080: else
                   16081:   ac_cv_c_bigendian=no
                   16082: fi
                   16083: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16084: fi
                   16085: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16086:     fi
                   16087:     if test $ac_cv_c_bigendian = unknown; then
                   16088:       # Compile a test program.
                   16089:       if test "$cross_compiling" = yes; then :
                   16090:   # Try to guess by grepping values from an object file.
                   16091:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16092: /* end confdefs.h.  */
                   16093: short int ascii_mm[] =
                   16094:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   16095:                short int ascii_ii[] =
                   16096:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   16097:                int use_ascii (int i) {
                   16098:                  return ascii_mm[i] + ascii_ii[i];
                   16099:                }
                   16100:                short int ebcdic_ii[] =
                   16101:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   16102:                short int ebcdic_mm[] =
                   16103:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   16104:                int use_ebcdic (int i) {
                   16105:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   16106:                }
                   16107:                extern int foo;
                   16108: 
                   16109: int
                   16110: main ()
                   16111: {
                   16112: return use_ascii (foo) == use_ebcdic (foo);
                   16113:   ;
                   16114:   return 0;
                   16115: }
                   16116: _ACEOF
                   16117: if ac_fn_c_try_compile "$LINENO"; then :
                   16118:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   16119:              ac_cv_c_bigendian=yes
                   16120:            fi
                   16121:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   16122:              if test "$ac_cv_c_bigendian" = unknown; then
                   16123:                ac_cv_c_bigendian=no
                   16124:              else
                   16125:                # finding both strings is unlikely to happen, but who knows?
                   16126:                ac_cv_c_bigendian=unknown
                   16127:              fi
                   16128:            fi
                   16129: fi
                   16130: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16131: else
                   16132:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16133: /* end confdefs.h.  */
                   16134: $ac_includes_default
                   16135: int
                   16136: main ()
                   16137: {
                   16138: 
                   16139:             /* Are we little or big endian?  From Harbison&Steele.  */
                   16140:             union
                   16141:             {
                   16142:               long int l;
                   16143:               char c[sizeof (long int)];
                   16144:             } u;
                   16145:             u.l = 1;
                   16146:             return u.c[sizeof (long int) - 1] == 1;
                   16147: 
                   16148:   ;
                   16149:   return 0;
                   16150: }
                   16151: _ACEOF
                   16152: if ac_fn_c_try_run "$LINENO"; then :
                   16153:   ac_cv_c_bigendian=no
                   16154: else
                   16155:   ac_cv_c_bigendian=yes
                   16156: fi
                   16157: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16158:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16159: fi
                   16160: 
                   16161:     fi
                   16162: fi
                   16163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   16164: $as_echo "$ac_cv_c_bigendian" >&6; }
                   16165:  case $ac_cv_c_bigendian in #(
                   16166:    yes)
                   16167:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   16168: ;; #(
                   16169:    no)
                   16170:       ;; #(
                   16171:    universal)
                   16172: 
                   16173: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   16174: 
                   16175:      ;; #(
                   16176:    *)
                   16177:      as_fn_error $? "unknown endianness
                   16178:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   16179:  esac
                   16180: 
                   16181: 
                   16182: 
                   16183: for ac_header in unistd.h
                   16184: do :
                   16185:   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
                   16186: if test "x$ac_cv_header_unistd_h" = xyes; then :
                   16187:   cat >>confdefs.h <<_ACEOF
                   16188: #define HAVE_UNISTD_H 1
                   16189: _ACEOF
                   16190: 
                   16191: fi
                   16192: 
                   16193: done
                   16194: 
                   16195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
                   16196: $as_echo_n "checking for working chown... " >&6; }
                   16197: if ${ac_cv_func_chown_works+:} false; then :
                   16198:   $as_echo_n "(cached) " >&6
                   16199: else
                   16200:   if test "$cross_compiling" = yes; then :
                   16201:   ac_cv_func_chown_works=no
                   16202: else
                   16203:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16204: /* end confdefs.h.  */
                   16205: $ac_includes_default
                   16206: #include <fcntl.h>
                   16207: 
                   16208: int
                   16209: main ()
                   16210: {
                   16211:   char *f = "conftest.chown";
                   16212:   struct stat before, after;
                   16213: 
                   16214:   if (creat (f, 0600) < 0)
                   16215:     return 1;
                   16216:   if (stat (f, &before) < 0)
                   16217:     return 1;
                   16218:   if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
                   16219:     return 1;
                   16220:   if (stat (f, &after) < 0)
                   16221:     return 1;
                   16222:   return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
                   16223: 
                   16224:   ;
                   16225:   return 0;
                   16226: }
                   16227: _ACEOF
                   16228: if ac_fn_c_try_run "$LINENO"; then :
                   16229:   ac_cv_func_chown_works=yes
                   16230: else
                   16231:   ac_cv_func_chown_works=no
                   16232: fi
                   16233: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16234:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16235: fi
                   16236: 
                   16237: rm -f conftest.chown
                   16238: 
                   16239: fi
                   16240: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
                   16241: $as_echo "$ac_cv_func_chown_works" >&6; }
                   16242: if test $ac_cv_func_chown_works = yes; then
                   16243: 
                   16244: $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
                   16245: 
                   16246: fi
                   16247: 
                   16248: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
                   16249: $as_echo_n "checking for working POSIX fnmatch... " >&6; }
                   16250: if ${ac_cv_func_fnmatch_works+:} false; then :
                   16251:   $as_echo_n "(cached) " >&6
                   16252: else
                   16253:   # Some versions of Solaris, SCO, and the GNU C Library
                   16254:    # have a broken or incompatible fnmatch.
                   16255:    # So we run a test program.  If we are cross-compiling, take no chance.
                   16256:    # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
                   16257:    if test "$cross_compiling" = yes; then :
                   16258:   ac_cv_func_fnmatch_works=cross
                   16259: else
                   16260:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16261: /* end confdefs.h.  */
                   16262: #include <fnmatch.h>
                   16263: #         define y(a, b, c) (fnmatch (a, b, c) == 0)
                   16264: #         define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
                   16265: 
                   16266: int
                   16267: main ()
                   16268: {
                   16269: return
                   16270:           (!(y ("a*", "abc", 0)
                   16271:              && n ("d*/*1", "d/s/1", FNM_PATHNAME)
                   16272:              && y ("a\\\\bc", "abc", 0)
                   16273:              && n ("a\\\\bc", "abc", FNM_NOESCAPE)
                   16274:              && y ("*x", ".x", 0)
                   16275:              && n ("*x", ".x", FNM_PERIOD)
                   16276:              && 1));
                   16277:   ;
                   16278:   return 0;
                   16279: }
                   16280: _ACEOF
                   16281: if ac_fn_c_try_run "$LINENO"; then :
                   16282:   ac_cv_func_fnmatch_works=yes
                   16283: else
                   16284:   ac_cv_func_fnmatch_works=no
                   16285: fi
                   16286: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16287:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16288: fi
                   16289: 
                   16290: fi
                   16291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
                   16292: $as_echo "$ac_cv_func_fnmatch_works" >&6; }
                   16293: if test $ac_cv_func_fnmatch_works = yes; then :
                   16294: 
                   16295: $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
                   16296: 
                   16297: fi
                   16298: 
                   16299: 
                   16300: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   16301: if test "x$ac_cv_type_pid_t" = xyes; then :
                   16302: 
                   16303: else
                   16304: 
                   16305: cat >>confdefs.h <<_ACEOF
                   16306: #define pid_t int
                   16307: _ACEOF
                   16308: 
                   16309: fi
                   16310: 
                   16311: for ac_header in vfork.h
                   16312: do :
                   16313:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
                   16314: if test "x$ac_cv_header_vfork_h" = xyes; then :
                   16315:   cat >>confdefs.h <<_ACEOF
                   16316: #define HAVE_VFORK_H 1
                   16317: _ACEOF
                   16318: 
                   16319: fi
                   16320: 
                   16321: done
                   16322: 
                   16323: for ac_func in fork vfork
                   16324: do :
                   16325:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16326: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16327: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   16328:   cat >>confdefs.h <<_ACEOF
                   16329: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16330: _ACEOF
                   16331: 
                   16332: fi
                   16333: done
                   16334: 
                   16335: if test "x$ac_cv_func_fork" = xyes; then
                   16336:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
                   16337: $as_echo_n "checking for working fork... " >&6; }
                   16338: if ${ac_cv_func_fork_works+:} false; then :
                   16339:   $as_echo_n "(cached) " >&6
                   16340: else
                   16341:   if test "$cross_compiling" = yes; then :
                   16342:   ac_cv_func_fork_works=cross
                   16343: else
                   16344:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16345: /* end confdefs.h.  */
                   16346: $ac_includes_default
                   16347: int
                   16348: main ()
                   16349: {
                   16350: 
                   16351:          /* By Ruediger Kuhlmann. */
                   16352:          return fork () < 0;
                   16353: 
                   16354:   ;
                   16355:   return 0;
                   16356: }
                   16357: _ACEOF
                   16358: if ac_fn_c_try_run "$LINENO"; then :
                   16359:   ac_cv_func_fork_works=yes
                   16360: else
                   16361:   ac_cv_func_fork_works=no
                   16362: fi
                   16363: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16364:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16365: fi
                   16366: 
                   16367: fi
                   16368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
                   16369: $as_echo "$ac_cv_func_fork_works" >&6; }
                   16370: 
                   16371: else
                   16372:   ac_cv_func_fork_works=$ac_cv_func_fork
                   16373: fi
                   16374: if test "x$ac_cv_func_fork_works" = xcross; then
                   16375:   case $host in
                   16376:     *-*-amigaos* | *-*-msdosdjgpp*)
                   16377:       # Override, as these systems have only a dummy fork() stub
                   16378:       ac_cv_func_fork_works=no
                   16379:       ;;
                   16380:     *)
                   16381:       ac_cv_func_fork_works=yes
                   16382:       ;;
                   16383:   esac
                   16384:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
                   16385: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
                   16386: fi
                   16387: ac_cv_func_vfork_works=$ac_cv_func_vfork
                   16388: if test "x$ac_cv_func_vfork" = xyes; then
                   16389:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
                   16390: $as_echo_n "checking for working vfork... " >&6; }
                   16391: if ${ac_cv_func_vfork_works+:} false; then :
                   16392:   $as_echo_n "(cached) " >&6
                   16393: else
                   16394:   if test "$cross_compiling" = yes; then :
                   16395:   ac_cv_func_vfork_works=cross
                   16396: else
                   16397:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16398: /* end confdefs.h.  */
                   16399: /* Thanks to Paul Eggert for this test.  */
                   16400: $ac_includes_default
                   16401: #include <sys/wait.h>
                   16402: #ifdef HAVE_VFORK_H
                   16403: # include <vfork.h>
                   16404: #endif
                   16405: /* On some sparc systems, changes by the child to local and incoming
                   16406:    argument registers are propagated back to the parent.  The compiler
                   16407:    is told about this with #include <vfork.h>, but some compilers
                   16408:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
                   16409:    static variable whose address is put into a register that is
                   16410:    clobbered by the vfork.  */
                   16411: static void
                   16412: #ifdef __cplusplus
                   16413: sparc_address_test (int arg)
                   16414: # else
                   16415: sparc_address_test (arg) int arg;
                   16416: #endif
                   16417: {
                   16418:   static pid_t child;
                   16419:   if (!child) {
                   16420:     child = vfork ();
                   16421:     if (child < 0) {
                   16422:       perror ("vfork");
                   16423:       _exit(2);
                   16424:     }
                   16425:     if (!child) {
                   16426:       arg = getpid();
                   16427:       write(-1, "", 0);
                   16428:       _exit (arg);
                   16429:     }
                   16430:   }
                   16431: }
                   16432: 
                   16433: int
                   16434: main ()
                   16435: {
                   16436:   pid_t parent = getpid ();
                   16437:   pid_t child;
                   16438: 
                   16439:   sparc_address_test (0);
                   16440: 
                   16441:   child = vfork ();
                   16442: 
                   16443:   if (child == 0) {
                   16444:     /* Here is another test for sparc vfork register problems.  This
                   16445:        test uses lots of local variables, at least as many local
                   16446:        variables as main has allocated so far including compiler
                   16447:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
                   16448:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
                   16449:        reuse the register of parent for one of the local variables,
                   16450:        since it will think that parent can't possibly be used any more
                   16451:        in this routine.  Assigning to the local variable will thus
                   16452:        munge parent in the parent process.  */
                   16453:     pid_t
                   16454:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
                   16455:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
                   16456:     /* Convince the compiler that p..p7 are live; otherwise, it might
                   16457:        use the same hardware register for all 8 local variables.  */
                   16458:     if (p != p1 || p != p2 || p != p3 || p != p4
                   16459:        || p != p5 || p != p6 || p != p7)
                   16460:       _exit(1);
                   16461: 
                   16462:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
                   16463:        from child file descriptors.  If the child closes a descriptor
                   16464:        before it execs or exits, this munges the parent's descriptor
                   16465:        as well.  Test for this by closing stdout in the child.  */
                   16466:     _exit(close(fileno(stdout)) != 0);
                   16467:   } else {
                   16468:     int status;
                   16469:     struct stat st;
                   16470: 
                   16471:     while (wait(&status) != child)
                   16472:       ;
                   16473:     return (
                   16474:         /* Was there some problem with vforking?  */
                   16475:         child < 0
                   16476: 
                   16477:         /* Did the child fail?  (This shouldn't happen.)  */
                   16478:         || status
                   16479: 
                   16480:         /* Did the vfork/compiler bug occur?  */
                   16481:         || parent != getpid()
                   16482: 
                   16483:         /* Did the file descriptor bug occur?  */
                   16484:         || fstat(fileno(stdout), &st) != 0
                   16485:         );
                   16486:   }
                   16487: }
                   16488: _ACEOF
                   16489: if ac_fn_c_try_run "$LINENO"; then :
                   16490:   ac_cv_func_vfork_works=yes
                   16491: else
                   16492:   ac_cv_func_vfork_works=no
                   16493: fi
                   16494: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16495:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16496: fi
                   16497: 
                   16498: fi
                   16499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
                   16500: $as_echo "$ac_cv_func_vfork_works" >&6; }
                   16501: 
                   16502: fi;
                   16503: if test "x$ac_cv_func_fork_works" = xcross; then
                   16504:   ac_cv_func_vfork_works=$ac_cv_func_vfork
                   16505:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
                   16506: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
                   16507: fi
                   16508: 
                   16509: if test "x$ac_cv_func_vfork_works" = xyes; then
                   16510: 
                   16511: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
                   16512: 
                   16513: else
                   16514: 
                   16515: $as_echo "#define vfork fork" >>confdefs.h
                   16516: 
                   16517: fi
                   16518: if test "x$ac_cv_func_fork_works" = xyes; then
                   16519: 
                   16520: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
                   16521: 
                   16522: fi
                   16523: 
                   16524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
                   16525: $as_echo_n "checking for working memcmp... " >&6; }
                   16526: if ${ac_cv_func_memcmp_working+:} false; then :
                   16527:   $as_echo_n "(cached) " >&6
                   16528: else
                   16529:   if test "$cross_compiling" = yes; then :
                   16530:   ac_cv_func_memcmp_working=no
                   16531: else
                   16532:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16533: /* end confdefs.h.  */
                   16534: $ac_includes_default
                   16535: int
                   16536: main ()
                   16537: {
                   16538: 
                   16539:   /* Some versions of memcmp are not 8-bit clean.  */
                   16540:   char c0 = '\100', c1 = '\200', c2 = '\201';
                   16541:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
                   16542:     return 1;
                   16543: 
                   16544:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   16545:      or more and with at least one buffer not starting on a 4-byte boundary.
                   16546:      William Lewis provided this test program.   */
                   16547:   {
                   16548:     char foo[21];
                   16549:     char bar[21];
                   16550:     int i;
                   16551:     for (i = 0; i < 4; i++)
                   16552:       {
                   16553:        char *a = foo + i;
                   16554:        char *b = bar + i;
                   16555:        strcpy (a, "--------01111111");
                   16556:        strcpy (b, "--------10000000");
                   16557:        if (memcmp (a, b, 16) >= 0)
                   16558:          return 1;
                   16559:       }
                   16560:     return 0;
                   16561:   }
                   16562: 
                   16563:   ;
                   16564:   return 0;
                   16565: }
                   16566: _ACEOF
                   16567: if ac_fn_c_try_run "$LINENO"; then :
                   16568:   ac_cv_func_memcmp_working=yes
                   16569: else
                   16570:   ac_cv_func_memcmp_working=no
                   16571: fi
                   16572: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16573:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16574: fi
                   16575: 
                   16576: fi
                   16577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
                   16578: $as_echo "$ac_cv_func_memcmp_working" >&6; }
                   16579: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
                   16580:   *" memcmp.$ac_objext "* ) ;;
                   16581:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
                   16582:  ;;
                   16583: esac
                   16584: 
                   16585: 
                   16586: 
                   16587: 
                   16588: 
                   16589:   for ac_header in $ac_header_list
                   16590: do :
                   16591:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16592: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   16593: "
                   16594: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   16595:   cat >>confdefs.h <<_ACEOF
                   16596: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16597: _ACEOF
                   16598: 
                   16599: fi
                   16600: 
                   16601: done
                   16602: 
                   16603: 
                   16604: 
                   16605: 
                   16606: 
                   16607: 
                   16608: 
                   16609: 
                   16610:   for ac_func in $ac_func_list
                   16611: do :
                   16612:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16613: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16614: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   16615:   cat >>confdefs.h <<_ACEOF
                   16616: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16617: _ACEOF
                   16618: 
                   16619: fi
                   16620: done
                   16621: 
                   16622: 
                   16623: 
                   16624: 
                   16625: 
                   16626: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
                   16627: $as_echo_n "checking for working mktime... " >&6; }
                   16628: if ${ac_cv_func_working_mktime+:} false; then :
                   16629:   $as_echo_n "(cached) " >&6
                   16630: else
                   16631:   if test "$cross_compiling" = yes; then :
                   16632:   ac_cv_func_working_mktime=no
                   16633: else
                   16634:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16635: /* end confdefs.h.  */
                   16636: /* Test program from Paul Eggert and Tony Leneis.  */
                   16637: #ifdef TIME_WITH_SYS_TIME
                   16638: # include <sys/time.h>
                   16639: # include <time.h>
                   16640: #else
                   16641: # ifdef HAVE_SYS_TIME_H
                   16642: #  include <sys/time.h>
                   16643: # else
                   16644: #  include <time.h>
                   16645: # endif
                   16646: #endif
                   16647: 
                   16648: #include <limits.h>
                   16649: #include <stdlib.h>
                   16650: 
                   16651: #ifdef HAVE_UNISTD_H
                   16652: # include <unistd.h>
                   16653: #endif
                   16654: 
                   16655: #ifndef HAVE_ALARM
                   16656: # define alarm(X) /* empty */
                   16657: #endif
                   16658: 
                   16659: /* Work around redefinition to rpl_putenv by other config tests.  */
                   16660: #undef putenv
                   16661: 
                   16662: static time_t time_t_max;
                   16663: static time_t time_t_min;
                   16664: 
                   16665: /* Values we'll use to set the TZ environment variable.  */
                   16666: static const char *tz_strings[] = {
                   16667:   (const char *) 0, "TZ=GMT0", "TZ=JST-9",
                   16668:   "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
                   16669: };
                   16670: #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
                   16671: 
                   16672: /* Return 0 if mktime fails to convert a date in the spring-forward gap.
                   16673:    Based on a problem report from Andreas Jaeger.  */
                   16674: static int
                   16675: spring_forward_gap ()
                   16676: {
                   16677:   /* glibc (up to about 1998-10-07) failed this test. */
                   16678:   struct tm tm;
                   16679: 
                   16680:   /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
                   16681:      instead of "TZ=America/Vancouver" in order to detect the bug even
                   16682:      on systems that don't support the Olson extension, or don't have the
                   16683:      full zoneinfo tables installed.  */
                   16684:   putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
                   16685: 
                   16686:   tm.tm_year = 98;
                   16687:   tm.tm_mon = 3;
                   16688:   tm.tm_mday = 5;
                   16689:   tm.tm_hour = 2;
                   16690:   tm.tm_min = 0;
                   16691:   tm.tm_sec = 0;
                   16692:   tm.tm_isdst = -1;
                   16693:   return mktime (&tm) != (time_t) -1;
                   16694: }
                   16695: 
                   16696: static int
                   16697: mktime_test1 (time_t now)
                   16698: {
                   16699:   struct tm *lt;
                   16700:   return ! (lt = localtime (&now)) || mktime (lt) == now;
                   16701: }
                   16702: 
                   16703: static int
                   16704: mktime_test (time_t now)
                   16705: {
                   16706:   return (mktime_test1 (now)
                   16707:          && mktime_test1 ((time_t) (time_t_max - now))
                   16708:          && mktime_test1 ((time_t) (time_t_min + now)));
                   16709: }
                   16710: 
                   16711: static int
                   16712: irix_6_4_bug ()
                   16713: {
                   16714:   /* Based on code from Ariel Faigon.  */
                   16715:   struct tm tm;
                   16716:   tm.tm_year = 96;
                   16717:   tm.tm_mon = 3;
                   16718:   tm.tm_mday = 0;
                   16719:   tm.tm_hour = 0;
                   16720:   tm.tm_min = 0;
                   16721:   tm.tm_sec = 0;
                   16722:   tm.tm_isdst = -1;
                   16723:   mktime (&tm);
                   16724:   return tm.tm_mon == 2 && tm.tm_mday == 31;
                   16725: }
                   16726: 
                   16727: static int
                   16728: bigtime_test (int j)
                   16729: {
                   16730:   struct tm tm;
                   16731:   time_t now;
                   16732:   tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
                   16733:   now = mktime (&tm);
                   16734:   if (now != (time_t) -1)
                   16735:     {
                   16736:       struct tm *lt = localtime (&now);
                   16737:       if (! (lt
                   16738:             && lt->tm_year == tm.tm_year
                   16739:             && lt->tm_mon == tm.tm_mon
                   16740:             && lt->tm_mday == tm.tm_mday
                   16741:             && lt->tm_hour == tm.tm_hour
                   16742:             && lt->tm_min == tm.tm_min
                   16743:             && lt->tm_sec == tm.tm_sec
                   16744:             && lt->tm_yday == tm.tm_yday
                   16745:             && lt->tm_wday == tm.tm_wday
                   16746:             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
                   16747:                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
                   16748:        return 0;
                   16749:     }
                   16750:   return 1;
                   16751: }
                   16752: 
                   16753: static int
                   16754: year_2050_test ()
                   16755: {
                   16756:   /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
                   16757:      ignoring leap seconds.  */
                   16758:   unsigned long int answer = 2527315200UL;
                   16759: 
                   16760:   struct tm tm;
                   16761:   time_t t;
                   16762:   tm.tm_year = 2050 - 1900;
                   16763:   tm.tm_mon = 2 - 1;
                   16764:   tm.tm_mday = 1;
                   16765:   tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
                   16766:   tm.tm_isdst = -1;
                   16767: 
                   16768:   /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
                   16769:      instead of "TZ=America/Vancouver" in order to detect the bug even
                   16770:      on systems that don't support the Olson extension, or don't have the
                   16771:      full zoneinfo tables installed.  */
                   16772:   putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
                   16773: 
                   16774:   t = mktime (&tm);
                   16775: 
                   16776:   /* Check that the result is either a failure, or close enough
                   16777:      to the correct answer that we can assume the discrepancy is
                   16778:      due to leap seconds.  */
                   16779:   return (t == (time_t) -1
                   16780:          || (0 < t && answer - 120 <= t && t <= answer + 120));
                   16781: }
                   16782: 
                   16783: int
                   16784: main ()
                   16785: {
                   16786:   time_t t, delta;
                   16787:   int i, j;
                   16788: 
                   16789:   /* This test makes some buggy mktime implementations loop.
                   16790:      Give up after 60 seconds; a mktime slower than that
                   16791:      isn't worth using anyway.  */
                   16792:   alarm (60);
                   16793: 
                   16794:   for (;;)
                   16795:     {
                   16796:       t = (time_t_max << 1) + 1;
                   16797:       if (t <= time_t_max)
                   16798:        break;
                   16799:       time_t_max = t;
                   16800:     }
                   16801:   time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
                   16802: 
                   16803:   delta = time_t_max / 997; /* a suitable prime number */
                   16804:   for (i = 0; i < N_STRINGS; i++)
                   16805:     {
                   16806:       if (tz_strings[i])
                   16807:        putenv ((char*) tz_strings[i]);
                   16808: 
                   16809:       for (t = 0; t <= time_t_max - delta; t += delta)
                   16810:        if (! mktime_test (t))
                   16811:          return 1;
                   16812:       if (! (mktime_test ((time_t) 1)
                   16813:             && mktime_test ((time_t) (60 * 60))
                   16814:             && mktime_test ((time_t) (60 * 60 * 24))))
                   16815:        return 1;
                   16816: 
                   16817:       for (j = 1; ; j <<= 1)
                   16818:        if (! bigtime_test (j))
                   16819:          return 1;
                   16820:        else if (INT_MAX / 2 < j)
                   16821:          break;
                   16822:       if (! bigtime_test (INT_MAX))
                   16823:        return 1;
                   16824:     }
                   16825:   return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
                   16826: }
                   16827: _ACEOF
                   16828: if ac_fn_c_try_run "$LINENO"; then :
                   16829:   ac_cv_func_working_mktime=yes
                   16830: else
                   16831:   ac_cv_func_working_mktime=no
                   16832: fi
                   16833: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16834:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16835: fi
                   16836: 
                   16837: fi
                   16838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
                   16839: $as_echo "$ac_cv_func_working_mktime" >&6; }
                   16840: if test $ac_cv_func_working_mktime = no; then
                   16841:   case " $LIBOBJS " in
                   16842:   *" mktime.$ac_objext "* ) ;;
                   16843:   *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
                   16844:  ;;
                   16845: esac
                   16846: 
                   16847: fi
                   16848: 
                   16849: for ac_func in strftime
                   16850: do :
                   16851:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
                   16852: if test "x$ac_cv_func_strftime" = xyes; then :
                   16853:   cat >>confdefs.h <<_ACEOF
                   16854: #define HAVE_STRFTIME 1
                   16855: _ACEOF
                   16856: 
                   16857: else
                   16858:   # strftime is in -lintl on SCO UNIX.
                   16859: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   16860: $as_echo_n "checking for strftime in -lintl... " >&6; }
                   16861: if ${ac_cv_lib_intl_strftime+:} false; then :
                   16862:   $as_echo_n "(cached) " >&6
                   16863: else
                   16864:   ac_check_lib_save_LIBS=$LIBS
                   16865: LIBS="-lintl  $LIBS"
                   16866: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16867: /* end confdefs.h.  */
                   16868: 
                   16869: /* Override any GCC internal prototype to avoid an error.
                   16870:    Use char because int might match the return type of a GCC
                   16871:    builtin and then its argument prototype would still apply.  */
                   16872: #ifdef __cplusplus
                   16873: extern "C"
                   16874: #endif
                   16875: char strftime ();
                   16876: int
                   16877: main ()
                   16878: {
                   16879: return strftime ();
                   16880:   ;
                   16881:   return 0;
                   16882: }
                   16883: _ACEOF
                   16884: if ac_fn_c_try_link "$LINENO"; then :
                   16885:   ac_cv_lib_intl_strftime=yes
                   16886: else
                   16887:   ac_cv_lib_intl_strftime=no
                   16888: fi
                   16889: rm -f core conftest.err conftest.$ac_objext \
                   16890:     conftest$ac_exeext conftest.$ac_ext
                   16891: LIBS=$ac_check_lib_save_LIBS
                   16892: fi
                   16893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   16894: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
                   16895: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
                   16896:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   16897: 
                   16898: LIBS="-lintl $LIBS"
                   16899: fi
                   16900: 
                   16901: fi
                   16902: done
                   16903: 
                   16904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
                   16905: $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
                   16906: if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
                   16907:   $as_echo_n "(cached) " >&6
                   16908: else
                   16909:   rm -f conftest.sym conftest.file
                   16910: echo >conftest.file
                   16911: if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
                   16912:   if test "$cross_compiling" = yes; then :
                   16913:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   16914: else
                   16915:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16916: /* end confdefs.h.  */
                   16917: $ac_includes_default
                   16918: int
                   16919: main ()
                   16920: {
                   16921: struct stat sbuf;
                   16922:      /* Linux will dereference the symlink and fail, as required by POSIX.
                   16923:        That is better in the sense that it means we will not
                   16924:        have to compile and use the lstat wrapper.  */
                   16925:      return lstat ("conftest.sym/", &sbuf) == 0;
                   16926:   ;
                   16927:   return 0;
                   16928: }
                   16929: _ACEOF
                   16930: if ac_fn_c_try_run "$LINENO"; then :
                   16931:   ac_cv_func_lstat_dereferences_slashed_symlink=yes
                   16932: else
                   16933:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   16934: fi
                   16935: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16936:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16937: fi
                   16938: 
                   16939: else
                   16940:   # If the `ln -s' command failed, then we probably don't even
                   16941:   # have an lstat function.
                   16942:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   16943: fi
                   16944: rm -f conftest.sym conftest.file
                   16945: 
                   16946: fi
                   16947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
                   16948: $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
                   16949: 
                   16950: test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
                   16951: 
                   16952: cat >>confdefs.h <<_ACEOF
                   16953: #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
                   16954: _ACEOF
                   16955: 
                   16956: 
                   16957: if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
                   16958:   case " $LIBOBJS " in
                   16959:   *" lstat.$ac_objext "* ) ;;
                   16960:   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
                   16961:  ;;
                   16962: esac
                   16963: 
                   16964: fi
                   16965: 
                   16966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
                   16967: $as_echo_n "checking whether stat accepts an empty string... " >&6; }
                   16968: if ${ac_cv_func_stat_empty_string_bug+:} false; then :
                   16969:   $as_echo_n "(cached) " >&6
                   16970: else
                   16971:   if test "$cross_compiling" = yes; then :
                   16972:   ac_cv_func_stat_empty_string_bug=yes
                   16973: else
                   16974:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16975: /* end confdefs.h.  */
                   16976: $ac_includes_default
                   16977: int
                   16978: main ()
                   16979: {
                   16980: struct stat sbuf;
                   16981:   return stat ("", &sbuf) == 0;
                   16982:   ;
                   16983:   return 0;
                   16984: }
                   16985: _ACEOF
                   16986: if ac_fn_c_try_run "$LINENO"; then :
                   16987:   ac_cv_func_stat_empty_string_bug=no
                   16988: else
                   16989:   ac_cv_func_stat_empty_string_bug=yes
                   16990: fi
                   16991: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16992:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16993: fi
                   16994: 
                   16995: fi
                   16996: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
                   16997: $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
                   16998: if test $ac_cv_func_stat_empty_string_bug = yes; then
                   16999:   case " $LIBOBJS " in
                   17000:   *" stat.$ac_objext "* ) ;;
                   17001:   *) LIBOBJS="$LIBOBJS stat.$ac_objext"
                   17002:  ;;
                   17003: esac
                   17004: 
                   17005: 
                   17006: cat >>confdefs.h <<_ACEOF
                   17007: #define HAVE_STAT_EMPTY_STRING_BUG 1
                   17008: _ACEOF
                   17009: 
                   17010: fi
                   17011: 
                   17012: for ac_header in sys/select.h sys/socket.h
                   17013: do :
                   17014:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17015: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   17016: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17017:   cat >>confdefs.h <<_ACEOF
                   17018: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17019: _ACEOF
                   17020: 
                   17021: fi
                   17022: 
                   17023: done
                   17024: 
                   17025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
                   17026: $as_echo_n "checking types of arguments for select... " >&6; }
                   17027: if ${ac_cv_func_select_args+:} false; then :
                   17028:   $as_echo_n "(cached) " >&6
                   17029: else
                   17030:   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
                   17031:  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
                   17032:   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
                   17033:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17034: /* end confdefs.h.  */
                   17035: $ac_includes_default
                   17036: #ifdef HAVE_SYS_SELECT_H
                   17037: # include <sys/select.h>
                   17038: #endif
                   17039: #ifdef HAVE_SYS_SOCKET_H
                   17040: # include <sys/socket.h>
                   17041: #endif
                   17042: 
                   17043: int
                   17044: main ()
                   17045: {
                   17046: extern int select ($ac_arg1,
                   17047:                                            $ac_arg234, $ac_arg234, $ac_arg234,
                   17048:                                            $ac_arg5);
                   17049:   ;
                   17050:   return 0;
                   17051: }
                   17052: _ACEOF
                   17053: if ac_fn_c_try_compile "$LINENO"; then :
                   17054:   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
                   17055: fi
                   17056: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17057:   done
                   17058:  done
                   17059: done
                   17060: # Provide a safe default value.
                   17061: : "${ac_cv_func_select_args=int,int *,struct timeval *}"
                   17062: 
                   17063: fi
                   17064: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
                   17065: $as_echo "$ac_cv_func_select_args" >&6; }
                   17066: ac_save_IFS=$IFS; IFS=','
                   17067: set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
                   17068: IFS=$ac_save_IFS
                   17069: shift
                   17070: 
                   17071: cat >>confdefs.h <<_ACEOF
                   17072: #define SELECT_TYPE_ARG1 $1
                   17073: _ACEOF
                   17074: 
                   17075: 
                   17076: cat >>confdefs.h <<_ACEOF
                   17077: #define SELECT_TYPE_ARG234 ($2)
                   17078: _ACEOF
                   17079: 
                   17080: 
                   17081: cat >>confdefs.h <<_ACEOF
                   17082: #define SELECT_TYPE_ARG5 ($3)
                   17083: _ACEOF
                   17084: 
                   17085: rm -f conftest*
                   17086: 
                   17087: for ac_func in strftime
                   17088: do :
                   17089:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
                   17090: if test "x$ac_cv_func_strftime" = xyes; then :
                   17091:   cat >>confdefs.h <<_ACEOF
                   17092: #define HAVE_STRFTIME 1
                   17093: _ACEOF
                   17094: 
                   17095: else
                   17096:   # strftime is in -lintl on SCO UNIX.
                   17097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   17098: $as_echo_n "checking for strftime in -lintl... " >&6; }
                   17099: if ${ac_cv_lib_intl_strftime+:} false; then :
                   17100:   $as_echo_n "(cached) " >&6
                   17101: else
                   17102:   ac_check_lib_save_LIBS=$LIBS
                   17103: LIBS="-lintl  $LIBS"
                   17104: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17105: /* end confdefs.h.  */
                   17106: 
                   17107: /* Override any GCC internal prototype to avoid an error.
                   17108:    Use char because int might match the return type of a GCC
                   17109:    builtin and then its argument prototype would still apply.  */
                   17110: #ifdef __cplusplus
                   17111: extern "C"
                   17112: #endif
                   17113: char strftime ();
                   17114: int
                   17115: main ()
                   17116: {
                   17117: return strftime ();
                   17118:   ;
                   17119:   return 0;
                   17120: }
                   17121: _ACEOF
                   17122: if ac_fn_c_try_link "$LINENO"; then :
                   17123:   ac_cv_lib_intl_strftime=yes
                   17124: else
                   17125:   ac_cv_lib_intl_strftime=no
                   17126: fi
                   17127: rm -f core conftest.err conftest.$ac_objext \
                   17128:     conftest$ac_exeext conftest.$ac_ext
                   17129: LIBS=$ac_check_lib_save_LIBS
                   17130: fi
                   17131: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   17132: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
                   17133: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
                   17134:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   17135: 
                   17136: LIBS="-lintl $LIBS"
                   17137: fi
                   17138: 
                   17139: fi
                   17140: done
                   17141: 
                   17142: for ac_func in vprintf
                   17143: do :
                   17144:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
                   17145: if test "x$ac_cv_func_vprintf" = xyes; then :
                   17146:   cat >>confdefs.h <<_ACEOF
                   17147: #define HAVE_VPRINTF 1
                   17148: _ACEOF
                   17149: 
                   17150: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
                   17151: if test "x$ac_cv_func__doprnt" = xyes; then :
                   17152: 
                   17153: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
                   17154: 
                   17155: fi
                   17156: 
                   17157: fi
                   17158: done
                   17159: 
                   17160: 
                   17161: 
                   17162: TMPLIBS="$LIBS"
                   17163: ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
                   17164: if test "x$ac_cv_header_math_h" = xyes; then :
                   17165:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
                   17166: $as_echo_n "checking for pow in -lm... " >&6; }
                   17167: if ${ac_cv_lib_m_pow+:} false; then :
                   17168:   $as_echo_n "(cached) " >&6
                   17169: else
                   17170:   ac_check_lib_save_LIBS=$LIBS
                   17171: LIBS="-lm  $LIBS"
                   17172: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17173: /* end confdefs.h.  */
                   17174: 
                   17175: /* Override any GCC internal prototype to avoid an error.
                   17176:    Use char because int might match the return type of a GCC
                   17177:    builtin and then its argument prototype would still apply.  */
                   17178: #ifdef __cplusplus
                   17179: extern "C"
                   17180: #endif
                   17181: char pow ();
                   17182: int
                   17183: main ()
                   17184: {
                   17185: return pow ();
                   17186:   ;
                   17187:   return 0;
                   17188: }
                   17189: _ACEOF
                   17190: if ac_fn_c_try_link "$LINENO"; then :
                   17191:   ac_cv_lib_m_pow=yes
                   17192: else
                   17193:   ac_cv_lib_m_pow=no
                   17194: fi
                   17195: rm -f core conftest.err conftest.$ac_objext \
                   17196:     conftest$ac_exeext conftest.$ac_ext
                   17197: LIBS=$ac_check_lib_save_LIBS
                   17198: fi
                   17199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
                   17200: $as_echo "$ac_cv_lib_m_pow" >&6; }
                   17201: if test "x$ac_cv_lib_m_pow" = xyes; then :
                   17202:   LIBM="-lm"
                   17203:      LIBS="$LIBS $LIBM"
                   17204: 
                   17205: $as_echo "#define HAVE_LIBM /**/" >>confdefs.h
                   17206: 
                   17207:      for ac_func in pow
                   17208: do :
                   17209:   ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
                   17210: if test "x$ac_cv_func_pow" = xyes; then :
                   17211:   cat >>confdefs.h <<_ACEOF
                   17212: #define HAVE_POW 1
                   17213: _ACEOF
                   17214: 
                   17215: else
                   17216:   LIBM=""
                   17217: fi
                   17218: done
                   17219: 
                   17220: 
                   17221: fi
                   17222: 
                   17223: 
                   17224: fi
                   17225: 
                   17226: 
                   17227: if test x"$LIBM" = x ; then
                   17228:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find working pow function - bgpd may not link" >&5
                   17229: $as_echo "$as_me: WARNING: Unable to find working pow function - bgpd may not link" >&2;}
                   17230: fi
                   17231: LIBS="$TMPLIBS"
                   17232: 
                   17233: 
1.1.1.5 ! misho    17234: for ac_func in dup2 ftruncate getcwd gethostbyname getpagesize gettimeofday \
        !          17235:        inet_ntoa inet_aton strnlen \
        !          17236:        memchr memmove memset select socket \
        !          17237:        strcasecmp strchr strcspn strdup strerror \
        !          17238:        strncasecmp strndup strrchr strspn strstr \
        !          17239:        strtol strtoul strlcat strlcpy \
        !          17240:        daemon snprintf vsnprintf \
        !          17241:        if_nametoindex if_indextoname getifaddrs \
        !          17242:        uname fcntl getgrouplist
        !          17243: do :
        !          17244:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          17245: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
        !          17246: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
        !          17247:   cat >>confdefs.h <<_ACEOF
        !          17248: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          17249: _ACEOF
        !          17250: 
        !          17251: fi
        !          17252: done
        !          17253: 
        !          17254: 
        !          17255: for ac_func in setproctitle
        !          17256: do :
        !          17257:   ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
        !          17258: if test "x$ac_cv_func_setproctitle" = xyes; then :
        !          17259:   cat >>confdefs.h <<_ACEOF
        !          17260: #define HAVE_SETPROCTITLE 1
        !          17261: _ACEOF
        !          17262: 
        !          17263: else
        !          17264:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setproctitle in -lutil" >&5
        !          17265: $as_echo_n "checking for setproctitle in -lutil... " >&6; }
        !          17266: if ${ac_cv_lib_util_setproctitle+:} false; then :
        !          17267:   $as_echo_n "(cached) " >&6
        !          17268: else
        !          17269:   ac_check_lib_save_LIBS=$LIBS
        !          17270: LIBS="-lutil  $LIBS"
        !          17271: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          17272: /* end confdefs.h.  */
        !          17273: 
        !          17274: /* Override any GCC internal prototype to avoid an error.
        !          17275:    Use char because int might match the return type of a GCC
        !          17276:    builtin and then its argument prototype would still apply.  */
        !          17277: #ifdef __cplusplus
        !          17278: extern "C"
        !          17279: #endif
        !          17280: char setproctitle ();
        !          17281: int
        !          17282: main ()
        !          17283: {
        !          17284: return setproctitle ();
        !          17285:   ;
        !          17286:   return 0;
        !          17287: }
        !          17288: _ACEOF
        !          17289: if ac_fn_c_try_link "$LINENO"; then :
        !          17290:   ac_cv_lib_util_setproctitle=yes
        !          17291: else
        !          17292:   ac_cv_lib_util_setproctitle=no
        !          17293: fi
        !          17294: rm -f core conftest.err conftest.$ac_objext \
        !          17295:     conftest$ac_exeext conftest.$ac_ext
        !          17296: LIBS=$ac_check_lib_save_LIBS
        !          17297: fi
        !          17298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_setproctitle" >&5
        !          17299: $as_echo "$ac_cv_lib_util_setproctitle" >&6; }
        !          17300: if test "x$ac_cv_lib_util_setproctitle" = xyes; then :
        !          17301:   LIBS="$LIBS -lutil"
        !          17302: 
        !          17303: $as_echo "#define HAVE_SETPROCTITLE /**/" >>confdefs.h
        !          17304: 
        !          17305: 
        !          17306: 
        !          17307: fi
        !          17308: 
        !          17309: 
        !          17310: 
        !          17311: fi
        !          17312: done
        !          17313: 
        !          17314: 
        !          17315: ac_fn_c_check_header_mongrel "$LINENO" "asm-generic/unistd.h" "ac_cv_header_asm_generic_unistd_h" "$ac_includes_default"
        !          17316: if test "x$ac_cv_header_asm_generic_unistd_h" = xyes; then :
        !          17317:   ac_fn_c_check_decl "$LINENO" "__NR_setns" "ac_cv_have_decl___NR_setns" "#ifdef SUNOS_5
        !          17318: #define _XPG4_2
        !          17319: #define __EXTENSIONS__
        !          17320: #endif
        !          17321: #include <stdio.h>
        !          17322: #if STDC_HEADERS
        !          17323: # include <stdlib.h>
        !          17324: # include <stddef.h>
        !          17325: #else
        !          17326: # if HAVE_STDLIB_H
        !          17327: #  include <stdlib.h>
        !          17328: # endif
        !          17329: #endif
        !          17330: #if HAVE_SYS_TYPES_H
        !          17331: # include <sys/types.h>
        !          17332: #endif
        !          17333: /* sys/conf.h depends on param.h on FBSD at least */
        !          17334: #if HAVE_SYS_PARAM_H
        !          17335: # include <sys/param.h>
        !          17336: #endif
        !          17337: /* Required for MAXSIG */
        !          17338: #if HAVE_SIGNAL_H
        !          17339: # include <signal.h>
        !          17340: #endif
        !          17341: #if HAVE_SYS_SOCKET_H
        !          17342: # include <sys/socket.h>
        !          17343: #endif
        !          17344: #ifdef __APPLE__
        !          17345: # define __APPLE_USE_RFC_3542
        !          17346: #endif
        !          17347: #if HAVE_NETINET_IN_H
        !          17348: # include <netinet/in.h>
        !          17349: #endif
        !          17350: #ifdef TIME_WITH_SYS_TIME
        !          17351: # include <sys/time.h>
        !          17352: # include <time.h>
        !          17353: #else
        !          17354: # ifdef HAVE_SYS_TIME_H
        !          17355: #  include <sys/time.h>
        !          17356: # else
        !          17357: #  include <time.h>
        !          17358: # endif
        !          17359: #endif /* TIME_WITH_SYS_TIME */
        !          17360: 
        !          17361: #if HAVE_NET_IF_H
        !          17362: # include <net/if.h>
        !          17363: #endif
        !          17364: 
        !          17365: #if HAVE_NET_IF_VAR_H
        !          17366: # include <net/if_var.h>
        !          17367: #endif
        !          17368: 
        !          17369: #if HAVE_SYS_UN_H
        !          17370: # include <sys/un.h>
        !          17371: #endif
        !          17372: #if HAVE_NETINET_IN_SYSTM_H
        !          17373: # include <netinet/in_systm.h>
        !          17374: #endif
        !          17375: #if HAVE_NETINET_IN_VAR_H
        !          17376: # include <netinet/in_var.h>
        !          17377: #endif
        !          17378: #if HAVE_NET_IF_DL_H
        !          17379: # include <net/if_dl.h>
        !          17380: #endif
        !          17381: #if HAVE_NET_NETOPT_H
        !          17382: # include <net/netopt.h>
        !          17383: #endif
        !          17384: #if HAVE_NET_ROUTE_H
        !          17385: # include <net/route.h>
        !          17386: #endif
        !          17387: #if HAVE_INET_ND_H
        !          17388: # include <inet/nd.h>
        !          17389: #endif
        !          17390: #if HAVE_ARPA_INET_H
        !          17391: # include <arpa/inet.h>
        !          17392: #endif
        !          17393: /* Required for IDRP */
        !          17394: #if HAVE_NETINET_IP_ICMP_H
        !          17395: # include <netinet/ip_icmp.h>
        !          17396: #endif
        !          17397:  #include <asm-generic/unistd.h>
        !          17398: 
        !          17399: "
        !          17400: if test "x$ac_cv_have_decl___NR_setns" = xyes; then :
        !          17401: 
        !          17402: $as_echo "#define HAVE_NETNS /**/" >>confdefs.h
1.1       misho    17403: 
                   17404: fi
                   17405: 
1.1.1.5 ! misho    17406:                  for ac_func in setns
1.1       misho    17407: do :
1.1.1.5 ! misho    17408:   ac_fn_c_check_func "$LINENO" "setns" "ac_cv_func_setns"
        !          17409: if test "x$ac_cv_func_setns" = xyes; then :
1.1       misho    17410:   cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    17411: #define HAVE_SETNS 1
1.1       misho    17412: _ACEOF
                   17413: 
1.1.1.5 ! misho    17414: $as_echo "#define HAVE_SETNS /**/" >>confdefs.h
1.1       misho    17415: 
                   17416: fi
1.1.1.5 ! misho    17417: done
1.1       misho    17418: 
                   17419: 
                   17420: fi
                   17421: 
                   17422: 
                   17423: 
                   17424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra between kernel interface method" >&5
                   17425: $as_echo_n "checking zebra between kernel interface method... " >&6; }
                   17426: if test x"$opsys" = x"gnu-linux"; then
1.1.1.5 ! misho    17427:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5
1.1       misho    17428: $as_echo "netlink" >&6; }
1.1.1.5 ! misho    17429:   RT_METHOD=rt_netlink.o
1.1       misho    17430: 
                   17431: $as_echo "#define HAVE_NETLINK /**/" >>confdefs.h
                   17432: 
1.1.1.5 ! misho    17433:   netlink=yes
        !          17434: else
1.1       misho    17435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5
                   17436: $as_echo "Route socket" >&6; }
                   17437:   KERNEL_METHOD="kernel_socket.o"
                   17438:   RT_METHOD="rt_socket.o"
                   17439: fi
                   17440: 
                   17441: 
1.1.1.4   misho    17442:  if test "x$netlink" = "xyes"; then
                   17443:   HAVE_NETLINK_TRUE=
                   17444:   HAVE_NETLINK_FALSE='#'
                   17445: else
                   17446:   HAVE_NETLINK_TRUE='#'
                   17447:   HAVE_NETLINK_FALSE=
                   17448: fi
                   17449: 
1.1       misho    17450: 
                   17451: 
                   17452: $as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h
                   17453: 
                   17454: 
                   17455: $as_echo "#define ISIS_METHOD_DLPI 2" >>confdefs.h
                   17456: 
                   17457: 
                   17458: $as_echo "#define ISIS_METHOD_BPF 3" >>confdefs.h
                   17459: 
                   17460: ac_fn_c_check_header_mongrel "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   17461: if test "x$ac_cv_header_net_bpf_h" = xyes; then :
                   17462: 
                   17463: fi
                   17464: 
                   17465: 
                   17466: ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
                   17467: if test "x$ac_cv_header_sys_dlpi_h" = xyes; then :
                   17468: 
                   17469: fi
                   17470: 
                   17471: 
                   17472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra IS-IS I/O method" >&5
                   17473: $as_echo_n "checking zebra IS-IS I/O method... " >&6; }
                   17474: if test x"$opsys" = x"gnu-linux"; then
                   17475:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: pfpacket" >&5
                   17476: $as_echo "pfpacket" >&6; }
                   17477:   ISIS_METHOD_MACRO="ISIS_METHOD_PFPACKET"
                   17478: elif test x"$opsys" = x"sol2-6" -o x"$opsys" = x"sol8"; then
                   17479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLPI" >&5
                   17480: $as_echo "DLPI" >&6; }
                   17481:   ISIS_METHOD_MACRO="ISIS_METHOD_DLPI"
                   17482: else
                   17483:   if test $ac_cv_header_net_bpf_h = no; then
                   17484:     if test $ac_cv_header_sys_dlpi_h = no; then
                   17485:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   17486: $as_echo "none" >&6; }
                   17487:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** IS-IS support will not be built ***" >&5
                   17488: $as_echo "$as_me: WARNING: *** IS-IS support will not be built ***" >&2;}
                   17489:       ISISD=""
                   17490:     else
                   17491:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLPI" >&5
                   17492: $as_echo "DLPI" >&6; }
                   17493:     fi
                   17494:     ISIS_METHOD_MACRO="ISIS_METHOD_DLPI"
                   17495:   else
                   17496:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: BPF" >&5
                   17497: $as_echo "BPF" >&6; }
                   17498:     ISIS_METHOD_MACRO="ISIS_METHOD_BPF"
                   17499:   fi
                   17500: fi
                   17501: 
                   17502: cat >>confdefs.h <<_ACEOF
                   17503: #define ISIS_METHOD $ISIS_METHOD_MACRO
                   17504: _ACEOF
                   17505: 
                   17506: 
                   17507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken CMSG_FIRSTHDR" >&5
                   17508: $as_echo_n "checking for broken CMSG_FIRSTHDR... " >&6; }
                   17509: if test "$cross_compiling" = yes; then :
                   17510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17511: $as_echo "no" >&6; }
                   17512: else
                   17513:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17514: /* end confdefs.h.  */
                   17515: 
                   17516: #ifdef SUNOS_5
                   17517: #define _XPG4_2
                   17518: #define __EXTENSIONS__
                   17519: #endif
                   17520: #ifdef HAVE_STDLIB_H
                   17521: # include <stdlib.h>
                   17522: #endif
                   17523: #ifdef HAVE_SYS_TYPES_H
                   17524: #include <sys/types.h>
                   17525: #endif
                   17526: #ifdef HAVE_SYS_SOCKET_H
                   17527: #include <sys/socket.h>
                   17528: #endif
                   17529: 
                   17530: main()
                   17531: {
                   17532:   struct msghdr msg;
                   17533:   char buf[4];
                   17534: 
                   17535:   msg.msg_control = buf;
                   17536:   msg.msg_controllen = 0;
                   17537: 
                   17538:   if (CMSG_FIRSTHDR(&msg) != NULL)
                   17539:     exit(0);
                   17540:   exit (1);
                   17541: }
                   17542: _ACEOF
                   17543: if ac_fn_c_try_run "$LINENO"; then :
                   17544:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - using workaround" >&5
                   17545: $as_echo "yes - using workaround" >&6; }
                   17546: $as_echo "#define HAVE_BROKEN_CMSG_FIRSTHDR /**/" >>confdefs.h
                   17547: 
                   17548: else
                   17549:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17550: $as_echo "no" >&6; }
                   17551: fi
                   17552: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   17553:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   17554: fi
                   17555: 
                   17556: 
                   17557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking route read method" >&5
                   17558: $as_echo_n "checking route read method... " >&6; }
                   17559: if ${quagga_cv_rtread_method+:} false; then :
                   17560:   $as_echo_n "(cached) " >&6
                   17561: else
                   17562:   if test "x$netlink" = xyes; then
                   17563:   quagga_cv_rtread_method="netlink"
                   17564: else
1.1.1.5 ! misho    17565: for quagga_cv_rtread_method in /dev/ip /dev/null;
1.1       misho    17566: do
                   17567:   test x`ls $quagga_cv_rtread_method 2>/dev/null` = x"$quagga_cv_rtread_method" && break
                   17568: done
                   17569: case $quagga_cv_rtread_method in
                   17570:   "/dev/ip")
                   17571:                      case "$host" in
                   17572:                        *-freebsd*)    quagga_cv_rtread_method="sysctl";;
                   17573:                        *)             quagga_cv_rtread_method="getmsg";;
                   17574:                      esac;;
                   17575:        *)
                   17576:                      quagga_cv_rtread_method="sysctl";;
                   17577: esac
                   17578: fi
                   17579: fi
                   17580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_rtread_method" >&5
                   17581: $as_echo "$quagga_cv_rtread_method" >&6; }
                   17582: RTREAD_METHOD=rtread_${quagga_cv_rtread_method}.o
                   17583: 
                   17584: 
                   17585: IOCTL_METHOD=ioctl.o
                   17586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking interface looking up method" >&5
                   17587: $as_echo_n "checking interface looking up method... " >&6; }
                   17588: if test "$netlink" = yes; then
                   17589:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5
                   17590: $as_echo "netlink" >&6; }
                   17591:   IF_METHOD=if_netlink.o
                   17592: elif test "$opsys" = "sol2-6";then
                   17593:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris GIF" >&5
                   17594: $as_echo "Solaris GIF" >&6; }
                   17595:   IF_METHOD=if_ioctl.o
                   17596: elif test "$opsys" = "sol8";then
                   17597:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris GLIF" >&5
                   17598: $as_echo "Solaris GLIF" >&6; }
                   17599:   IF_METHOD=if_ioctl_solaris.o
                   17600:   IOCTL_METHOD=ioctl_solaris.o
                   17601: elif test "$opsys" = "openbsd";then
                   17602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: openbsd" >&5
                   17603: $as_echo "openbsd" >&6; }
                   17604:   IF_METHOD=if_ioctl.o
                   17605: elif grep NET_RT_IFLIST /usr/include/sys/socket.h >/dev/null 2>&1; then
                   17606:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: sysctl" >&5
                   17607: $as_echo "sysctl" >&6; }
                   17608:     IF_METHOD=if_sysctl.o
                   17609: 
                   17610: $as_echo "#define HAVE_NET_RT_IFLIST /**/" >>confdefs.h
                   17611: 
                   17612: else
                   17613:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5
                   17614: $as_echo "ioctl" >&6; }
                   17615:     IF_METHOD=if_ioctl.o
                   17616: fi
                   17617: 
                   17618: 
                   17619: 
                   17620: ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_ifindex" "ac_cv_member_struct_ip_mreqn_imr_ifindex" "#ifdef SUNOS_5
                   17621: #define _XPG4_2
                   17622: #define __EXTENSIONS__
                   17623: #endif
                   17624: #include <stdio.h>
                   17625: #if STDC_HEADERS
                   17626: # include <stdlib.h>
                   17627: # include <stddef.h>
                   17628: #else
                   17629: # if HAVE_STDLIB_H
                   17630: #  include <stdlib.h>
                   17631: # endif
                   17632: #endif
                   17633: #if HAVE_SYS_TYPES_H
                   17634: # include <sys/types.h>
                   17635: #endif
                   17636: /* sys/conf.h depends on param.h on FBSD at least */
                   17637: #if HAVE_SYS_PARAM_H
                   17638: # include <sys/param.h>
                   17639: #endif
                   17640: /* Required for MAXSIG */
                   17641: #if HAVE_SIGNAL_H
                   17642: # include <signal.h>
                   17643: #endif
                   17644: #if HAVE_SYS_SOCKET_H
                   17645: # include <sys/socket.h>
                   17646: #endif
1.1.1.4   misho    17647: #ifdef __APPLE__
                   17648: # define __APPLE_USE_RFC_3542
                   17649: #endif
1.1       misho    17650: #if HAVE_NETINET_IN_H
                   17651: # include <netinet/in.h>
                   17652: #endif
                   17653: #ifdef TIME_WITH_SYS_TIME
                   17654: # include <sys/time.h>
                   17655: # include <time.h>
                   17656: #else
                   17657: # ifdef HAVE_SYS_TIME_H
                   17658: #  include <sys/time.h>
                   17659: # else
                   17660: #  include <time.h>
                   17661: # endif
                   17662: #endif /* TIME_WITH_SYS_TIME */
                   17663: 
                   17664: #if HAVE_NET_IF_H
                   17665: # include <net/if.h>
                   17666: #endif
                   17667: 
                   17668: #if HAVE_NET_IF_VAR_H
                   17669: # include <net/if_var.h>
                   17670: #endif
                   17671: 
                   17672: #if HAVE_SYS_UN_H
                   17673: # include <sys/un.h>
                   17674: #endif
                   17675: #if HAVE_NETINET_IN_SYSTM_H
                   17676: # include <netinet/in_systm.h>
                   17677: #endif
                   17678: #if HAVE_NETINET_IN_VAR_H
                   17679: # include <netinet/in_var.h>
                   17680: #endif
                   17681: #if HAVE_NET_IF_DL_H
                   17682: # include <net/if_dl.h>
                   17683: #endif
                   17684: #if HAVE_NET_NETOPT_H
                   17685: # include <net/netopt.h>
                   17686: #endif
                   17687: #if HAVE_NET_ROUTE_H
                   17688: # include <net/route.h>
                   17689: #endif
                   17690: #if HAVE_INET_ND_H
                   17691: # include <inet/nd.h>
                   17692: #endif
                   17693: #if HAVE_ARPA_INET_H
                   17694: # include <arpa/inet.h>
                   17695: #endif
                   17696: /* Required for IDRP */
                   17697: #if HAVE_NETINET_IP_ICMP_H
                   17698: # include <netinet/ip_icmp.h>
                   17699: #endif
                   17700: 
                   17701: "
                   17702: if test "x$ac_cv_member_struct_ip_mreqn_imr_ifindex" = xyes; then :
                   17703: 
                   17704: cat >>confdefs.h <<_ACEOF
                   17705: #define HAVE_STRUCT_IP_MREQN_IMR_IFINDEX 1
                   17706: _ACEOF
                   17707: 
                   17708: 
                   17709: fi
                   17710: 
                   17711: 
1.1.1.5 ! misho    17712: for ac_header in linux/mroute.h
        !          17713: do :
        !          17714:   ac_fn_c_check_header_compile "$LINENO" "linux/mroute.h" "ac_cv_header_linux_mroute_h" "
        !          17715: #if HAVE_NETINET_IN_H
        !          17716: #include<netinet/in.h>
        !          17717: #endif
        !          17718: "
        !          17719: if test "x$ac_cv_header_linux_mroute_h" = xyes; then :
        !          17720:   cat >>confdefs.h <<_ACEOF
        !          17721: #define HAVE_LINUX_MROUTE_H 1
        !          17722: _ACEOF
        !          17723: 
        !          17724: fi
        !          17725: 
        !          17726: done
        !          17727: 
1.1       misho    17728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD struct ip_mreq hack" >&5
                   17729: $as_echo_n "checking for BSD struct ip_mreq hack... " >&6; }
                   17730: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17731: /* end confdefs.h.  */
                   17732: #ifdef HAVE_SYS_PARAM_H
                   17733: #include <sys/param.h>
                   17734: #endif
                   17735: int
                   17736: main ()
                   17737: {
1.1.1.5 ! misho    17738: #if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__) || defined(__sun)
1.1       misho    17739:   return (0);
                   17740: #else
                   17741:   #error No support for BSD struct ip_mreq hack detected
                   17742: #endif
                   17743:   ;
                   17744:   return 0;
                   17745: }
                   17746: _ACEOF
                   17747: if ac_fn_c_try_compile "$LINENO"; then :
                   17748:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17749: $as_echo "yes" >&6; }
                   17750: 
                   17751: $as_echo "#define HAVE_BSD_STRUCT_IP_MREQ_HACK /**/" >>confdefs.h
                   17752: 
                   17753: else
                   17754:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17755: $as_echo "no" >&6; }
                   17756: fi
                   17757: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17758: 
                   17759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RFC3678 protocol-independed API" >&5
                   17760: $as_echo_n "checking for RFC3678 protocol-independed API... " >&6; }
                   17761: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17762: /* end confdefs.h.  */
                   17763: 
                   17764: #include <sys/types.h>
                   17765: #include <netinet/in.h>
                   17766: 
                   17767: int
                   17768: main ()
                   17769: {
                   17770: struct group_req gr; int sock; setsockopt(sock, IPPROTO_IP, MCAST_JOIN_GROUP, (void*)&gr, sizeof(gr));
                   17771: 
                   17772:   ;
                   17773:   return 0;
                   17774: }
                   17775: _ACEOF
                   17776: if ac_fn_c_try_compile "$LINENO"; then :
                   17777:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17778: $as_echo "yes" >&6; }
                   17779: 
                   17780: $as_echo "#define HAVE_RFC3678 1" >>confdefs.h
                   17781: 
                   17782: else
                   17783:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17784: $as_echo "no" >&6; }
                   17785: fi
                   17786: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   17787: 
                   17788: ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#ifdef SUNOS_5
                   17789: #define _XPG4_2
                   17790: #define __EXTENSIONS__
                   17791: #endif
                   17792: #include <stdio.h>
                   17793: #if STDC_HEADERS
                   17794: # include <stdlib.h>
                   17795: # include <stddef.h>
                   17796: #else
                   17797: # if HAVE_STDLIB_H
                   17798: #  include <stdlib.h>
                   17799: # endif
                   17800: #endif
                   17801: #if HAVE_SYS_TYPES_H
                   17802: # include <sys/types.h>
                   17803: #endif
                   17804: /* sys/conf.h depends on param.h on FBSD at least */
                   17805: #if HAVE_SYS_PARAM_H
                   17806: # include <sys/param.h>
                   17807: #endif
                   17808: /* Required for MAXSIG */
                   17809: #if HAVE_SIGNAL_H
                   17810: # include <signal.h>
                   17811: #endif
                   17812: #if HAVE_SYS_SOCKET_H
                   17813: # include <sys/socket.h>
                   17814: #endif
1.1.1.4   misho    17815: #ifdef __APPLE__
                   17816: # define __APPLE_USE_RFC_3542
                   17817: #endif
1.1       misho    17818: #if HAVE_NETINET_IN_H
                   17819: # include <netinet/in.h>
                   17820: #endif
                   17821: #ifdef TIME_WITH_SYS_TIME
                   17822: # include <sys/time.h>
                   17823: # include <time.h>
                   17824: #else
                   17825: # ifdef HAVE_SYS_TIME_H
                   17826: #  include <sys/time.h>
                   17827: # else
                   17828: #  include <time.h>
                   17829: # endif
                   17830: #endif /* TIME_WITH_SYS_TIME */
                   17831: 
                   17832: #if HAVE_NET_IF_H
                   17833: # include <net/if.h>
                   17834: #endif
                   17835: 
                   17836: #if HAVE_NET_IF_VAR_H
                   17837: # include <net/if_var.h>
                   17838: #endif
                   17839: 
                   17840: #if HAVE_SYS_UN_H
                   17841: # include <sys/un.h>
                   17842: #endif
                   17843: #if HAVE_NETINET_IN_SYSTM_H
                   17844: # include <netinet/in_systm.h>
                   17845: #endif
                   17846: #if HAVE_NETINET_IN_VAR_H
                   17847: # include <netinet/in_var.h>
                   17848: #endif
                   17849: #if HAVE_NET_IF_DL_H
                   17850: # include <net/if_dl.h>
                   17851: #endif
                   17852: #if HAVE_NET_NETOPT_H
                   17853: # include <net/netopt.h>
                   17854: #endif
                   17855: #if HAVE_NET_ROUTE_H
                   17856: # include <net/route.h>
                   17857: #endif
                   17858: #if HAVE_INET_ND_H
                   17859: # include <inet/nd.h>
                   17860: #endif
                   17861: #if HAVE_ARPA_INET_H
                   17862: # include <arpa/inet.h>
                   17863: #endif
                   17864: /* Required for IDRP */
                   17865: #if HAVE_NETINET_IP_ICMP_H
                   17866: # include <netinet/ip_icmp.h>
                   17867: #endif
                   17868: 
                   17869: "
                   17870: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   17871:   ac_fn_c_check_header_compile "$LINENO" "net/if_media.h" "ac_cv_header_net_if_media_h" "#ifdef SUNOS_5
                   17872: #define _XPG4_2
                   17873: #define __EXTENSIONS__
                   17874: #endif
                   17875: #include <stdio.h>
                   17876: #if STDC_HEADERS
                   17877: # include <stdlib.h>
                   17878: # include <stddef.h>
                   17879: #else
                   17880: # if HAVE_STDLIB_H
                   17881: #  include <stdlib.h>
                   17882: # endif
                   17883: #endif
                   17884: #if HAVE_SYS_TYPES_H
                   17885: # include <sys/types.h>
                   17886: #endif
                   17887: /* sys/conf.h depends on param.h on FBSD at least */
                   17888: #if HAVE_SYS_PARAM_H
                   17889: # include <sys/param.h>
                   17890: #endif
                   17891: /* Required for MAXSIG */
                   17892: #if HAVE_SIGNAL_H
                   17893: # include <signal.h>
                   17894: #endif
                   17895: #if HAVE_SYS_SOCKET_H
                   17896: # include <sys/socket.h>
                   17897: #endif
1.1.1.4   misho    17898: #ifdef __APPLE__
                   17899: # define __APPLE_USE_RFC_3542
                   17900: #endif
1.1       misho    17901: #if HAVE_NETINET_IN_H
                   17902: # include <netinet/in.h>
                   17903: #endif
                   17904: #ifdef TIME_WITH_SYS_TIME
                   17905: # include <sys/time.h>
                   17906: # include <time.h>
                   17907: #else
                   17908: # ifdef HAVE_SYS_TIME_H
                   17909: #  include <sys/time.h>
                   17910: # else
                   17911: #  include <time.h>
                   17912: # endif
                   17913: #endif /* TIME_WITH_SYS_TIME */
                   17914: 
                   17915: #if HAVE_NET_IF_H
                   17916: # include <net/if.h>
                   17917: #endif
                   17918: 
                   17919: #if HAVE_NET_IF_VAR_H
                   17920: # include <net/if_var.h>
                   17921: #endif
                   17922: 
                   17923: #if HAVE_SYS_UN_H
                   17924: # include <sys/un.h>
                   17925: #endif
                   17926: #if HAVE_NETINET_IN_SYSTM_H
                   17927: # include <netinet/in_systm.h>
                   17928: #endif
                   17929: #if HAVE_NETINET_IN_VAR_H
                   17930: # include <netinet/in_var.h>
                   17931: #endif
                   17932: #if HAVE_NET_IF_DL_H
                   17933: # include <net/if_dl.h>
                   17934: #endif
                   17935: #if HAVE_NET_NETOPT_H
                   17936: # include <net/netopt.h>
                   17937: #endif
                   17938: #if HAVE_NET_ROUTE_H
                   17939: # include <net/route.h>
                   17940: #endif
                   17941: #if HAVE_INET_ND_H
                   17942: # include <inet/nd.h>
                   17943: #endif
                   17944: #if HAVE_ARPA_INET_H
                   17945: # include <arpa/inet.h>
                   17946: #endif
                   17947: /* Required for IDRP */
                   17948: #if HAVE_NETINET_IP_ICMP_H
                   17949: # include <netinet/ip_icmp.h>
                   17950: #endif
                   17951: 
                   17952: "
                   17953: if test "x$ac_cv_header_net_if_media_h" = xyes; then :
                   17954: 
                   17955:     ac_fn_c_check_member "$LINENO" "struct ifmediareq" "ifm_status" "ac_cv_member_struct_ifmediareq_ifm_status" "#ifdef SUNOS_5
                   17956: #define _XPG4_2
                   17957: #define __EXTENSIONS__
                   17958: #endif
                   17959: #include <stdio.h>
                   17960: #if STDC_HEADERS
                   17961: # include <stdlib.h>
                   17962: # include <stddef.h>
                   17963: #else
                   17964: # if HAVE_STDLIB_H
                   17965: #  include <stdlib.h>
                   17966: # endif
                   17967: #endif
                   17968: #if HAVE_SYS_TYPES_H
                   17969: # include <sys/types.h>
                   17970: #endif
                   17971: /* sys/conf.h depends on param.h on FBSD at least */
                   17972: #if HAVE_SYS_PARAM_H
                   17973: # include <sys/param.h>
                   17974: #endif
                   17975: /* Required for MAXSIG */
                   17976: #if HAVE_SIGNAL_H
                   17977: # include <signal.h>
                   17978: #endif
                   17979: #if HAVE_SYS_SOCKET_H
                   17980: # include <sys/socket.h>
                   17981: #endif
1.1.1.4   misho    17982: #ifdef __APPLE__
                   17983: # define __APPLE_USE_RFC_3542
                   17984: #endif
1.1       misho    17985: #if HAVE_NETINET_IN_H
                   17986: # include <netinet/in.h>
                   17987: #endif
                   17988: #ifdef TIME_WITH_SYS_TIME
                   17989: # include <sys/time.h>
                   17990: # include <time.h>
                   17991: #else
                   17992: # ifdef HAVE_SYS_TIME_H
                   17993: #  include <sys/time.h>
                   17994: # else
                   17995: #  include <time.h>
                   17996: # endif
                   17997: #endif /* TIME_WITH_SYS_TIME */
                   17998: 
                   17999: #if HAVE_NET_IF_H
                   18000: # include <net/if.h>
                   18001: #endif
                   18002: 
                   18003: #if HAVE_NET_IF_VAR_H
                   18004: # include <net/if_var.h>
                   18005: #endif
                   18006: 
                   18007: #if HAVE_SYS_UN_H
                   18008: # include <sys/un.h>
                   18009: #endif
                   18010: #if HAVE_NETINET_IN_SYSTM_H
                   18011: # include <netinet/in_systm.h>
                   18012: #endif
                   18013: #if HAVE_NETINET_IN_VAR_H
                   18014: # include <netinet/in_var.h>
                   18015: #endif
                   18016: #if HAVE_NET_IF_DL_H
                   18017: # include <net/if_dl.h>
                   18018: #endif
                   18019: #if HAVE_NET_NETOPT_H
                   18020: # include <net/netopt.h>
                   18021: #endif
                   18022: #if HAVE_NET_ROUTE_H
                   18023: # include <net/route.h>
                   18024: #endif
                   18025: #if HAVE_INET_ND_H
                   18026: # include <inet/nd.h>
                   18027: #endif
                   18028: #if HAVE_ARPA_INET_H
                   18029: # include <arpa/inet.h>
                   18030: #endif
                   18031: /* Required for IDRP */
                   18032: #if HAVE_NETINET_IP_ICMP_H
                   18033: # include <netinet/ip_icmp.h>
                   18034: #endif
                   18035: 
                   18036:       #include <net/if_media.h>
                   18037: 
                   18038: "
                   18039: if test "x$ac_cv_member_struct_ifmediareq_ifm_status" = xyes; then :
                   18040: 
                   18041: cat >>confdefs.h <<_ACEOF
                   18042: #define HAVE_STRUCT_IFMEDIAREQ_IFM_STATUS 1
                   18043: _ACEOF
                   18044: 
                   18045: 
                   18046: $as_echo "#define HAVE_BSD_LINK_DETECT /**/" >>confdefs.h
                   18047: 
                   18048: fi
                   18049: 
                   18050: fi
                   18051: 
                   18052: 
                   18053: fi
                   18054: 
                   18055: 
                   18056: 
1.1.1.4   misho    18057: ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
                   18058: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   18059:   ac_fn_c_check_member "$LINENO" "struct if_data" "ifi_link_state" "ac_cv_member_struct_if_data_ifi_link_state" "#ifdef SUNOS_5
                   18060: #define _XPG4_2
                   18061: #define __EXTENSIONS__
                   18062: #endif
                   18063: #include <stdio.h>
                   18064: #if STDC_HEADERS
                   18065: # include <stdlib.h>
                   18066: # include <stddef.h>
                   18067: #else
                   18068: # if HAVE_STDLIB_H
                   18069: #  include <stdlib.h>
                   18070: # endif
                   18071: #endif
                   18072: #if HAVE_SYS_TYPES_H
                   18073: # include <sys/types.h>
                   18074: #endif
                   18075: /* sys/conf.h depends on param.h on FBSD at least */
                   18076: #if HAVE_SYS_PARAM_H
                   18077: # include <sys/param.h>
                   18078: #endif
                   18079: /* Required for MAXSIG */
                   18080: #if HAVE_SIGNAL_H
                   18081: # include <signal.h>
                   18082: #endif
                   18083: #if HAVE_SYS_SOCKET_H
                   18084: # include <sys/socket.h>
                   18085: #endif
                   18086: #ifdef __APPLE__
                   18087: # define __APPLE_USE_RFC_3542
                   18088: #endif
                   18089: #if HAVE_NETINET_IN_H
                   18090: # include <netinet/in.h>
                   18091: #endif
                   18092: #ifdef TIME_WITH_SYS_TIME
                   18093: # include <sys/time.h>
                   18094: # include <time.h>
                   18095: #else
                   18096: # ifdef HAVE_SYS_TIME_H
                   18097: #  include <sys/time.h>
                   18098: # else
                   18099: #  include <time.h>
                   18100: # endif
                   18101: #endif /* TIME_WITH_SYS_TIME */
                   18102: 
                   18103: #if HAVE_NET_IF_H
                   18104: # include <net/if.h>
                   18105: #endif
                   18106: 
                   18107: #if HAVE_NET_IF_VAR_H
                   18108: # include <net/if_var.h>
                   18109: #endif
                   18110: 
                   18111: #if HAVE_SYS_UN_H
                   18112: # include <sys/un.h>
                   18113: #endif
                   18114: #if HAVE_NETINET_IN_SYSTM_H
                   18115: # include <netinet/in_systm.h>
                   18116: #endif
                   18117: #if HAVE_NETINET_IN_VAR_H
                   18118: # include <netinet/in_var.h>
                   18119: #endif
                   18120: #if HAVE_NET_IF_DL_H
                   18121: # include <net/if_dl.h>
                   18122: #endif
                   18123: #if HAVE_NET_NETOPT_H
                   18124: # include <net/netopt.h>
                   18125: #endif
                   18126: #if HAVE_NET_ROUTE_H
                   18127: # include <net/route.h>
                   18128: #endif
                   18129: #if HAVE_INET_ND_H
                   18130: # include <inet/nd.h>
                   18131: #endif
                   18132: #if HAVE_ARPA_INET_H
                   18133: # include <arpa/inet.h>
                   18134: #endif
                   18135: /* Required for IDRP */
                   18136: #if HAVE_NETINET_IP_ICMP_H
                   18137: # include <netinet/ip_icmp.h>
                   18138: #endif
                   18139: 
                   18140: "
                   18141: if test "x$ac_cv_member_struct_if_data_ifi_link_state" = xyes; then :
                   18142: 
                   18143: cat >>confdefs.h <<_ACEOF
                   18144: #define HAVE_STRUCT_IF_DATA_IFI_LINK_STATE 1
                   18145: _ACEOF
                   18146: 
                   18147: 
                   18148: $as_echo "#define HAVE_BSD_IFI_LINK_STATE /**/" >>confdefs.h
                   18149: 
                   18150: fi
                   18151: 
                   18152: fi
                   18153: 
                   18154: 
                   18155: 
1.1       misho    18156: 
                   18157: ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5
                   18158: #define _XPG4_2
                   18159: #define __EXTENSIONS__
                   18160: #endif
                   18161: #include <stdio.h>
                   18162: #if STDC_HEADERS
                   18163: # include <stdlib.h>
                   18164: # include <stddef.h>
                   18165: #else
                   18166: # if HAVE_STDLIB_H
                   18167: #  include <stdlib.h>
                   18168: # endif
                   18169: #endif
                   18170: #if HAVE_SYS_TYPES_H
                   18171: # include <sys/types.h>
                   18172: #endif
                   18173: /* sys/conf.h depends on param.h on FBSD at least */
                   18174: #if HAVE_SYS_PARAM_H
                   18175: # include <sys/param.h>
                   18176: #endif
                   18177: /* Required for MAXSIG */
                   18178: #if HAVE_SIGNAL_H
                   18179: # include <signal.h>
                   18180: #endif
                   18181: #if HAVE_SYS_SOCKET_H
                   18182: # include <sys/socket.h>
                   18183: #endif
1.1.1.4   misho    18184: #ifdef __APPLE__
                   18185: # define __APPLE_USE_RFC_3542
                   18186: #endif
1.1       misho    18187: #if HAVE_NETINET_IN_H
                   18188: # include <netinet/in.h>
                   18189: #endif
                   18190: #ifdef TIME_WITH_SYS_TIME
                   18191: # include <sys/time.h>
                   18192: # include <time.h>
                   18193: #else
                   18194: # ifdef HAVE_SYS_TIME_H
                   18195: #  include <sys/time.h>
                   18196: # else
                   18197: #  include <time.h>
                   18198: # endif
                   18199: #endif /* TIME_WITH_SYS_TIME */
                   18200: 
                   18201: #if HAVE_NET_IF_H
                   18202: # include <net/if.h>
                   18203: #endif
                   18204: 
                   18205: #if HAVE_NET_IF_VAR_H
                   18206: # include <net/if_var.h>
                   18207: #endif
                   18208: 
                   18209: #if HAVE_SYS_UN_H
                   18210: # include <sys/un.h>
                   18211: #endif
                   18212: #if HAVE_NETINET_IN_SYSTM_H
                   18213: # include <netinet/in_systm.h>
                   18214: #endif
                   18215: #if HAVE_NETINET_IN_VAR_H
                   18216: # include <netinet/in_var.h>
                   18217: #endif
                   18218: #if HAVE_NET_IF_DL_H
                   18219: # include <net/if_dl.h>
                   18220: #endif
                   18221: #if HAVE_NET_NETOPT_H
                   18222: # include <net/netopt.h>
                   18223: #endif
                   18224: #if HAVE_NET_ROUTE_H
                   18225: # include <net/route.h>
                   18226: #endif
                   18227: #if HAVE_INET_ND_H
                   18228: # include <inet/nd.h>
                   18229: #endif
                   18230: #if HAVE_ARPA_INET_H
                   18231: # include <arpa/inet.h>
                   18232: #endif
                   18233: /* Required for IDRP */
                   18234: #if HAVE_NETINET_IP_ICMP_H
                   18235: # include <netinet/ip_icmp.h>
                   18236: #endif
                   18237: 
                   18238: "
                   18239: if test "x$ac_cv_header_netinet_tcp_h" = xyes; then :
                   18240: 
                   18241:     ac_fn_c_check_decl "$LINENO" "TCP_MD5SIG" "ac_cv_have_decl_TCP_MD5SIG" "#ifdef SUNOS_5
                   18242: #define _XPG4_2
                   18243: #define __EXTENSIONS__
                   18244: #endif
                   18245: #include <stdio.h>
                   18246: #if STDC_HEADERS
                   18247: # include <stdlib.h>
                   18248: # include <stddef.h>
                   18249: #else
                   18250: # if HAVE_STDLIB_H
                   18251: #  include <stdlib.h>
                   18252: # endif
                   18253: #endif
                   18254: #if HAVE_SYS_TYPES_H
                   18255: # include <sys/types.h>
                   18256: #endif
                   18257: /* sys/conf.h depends on param.h on FBSD at least */
                   18258: #if HAVE_SYS_PARAM_H
                   18259: # include <sys/param.h>
                   18260: #endif
                   18261: /* Required for MAXSIG */
                   18262: #if HAVE_SIGNAL_H
                   18263: # include <signal.h>
                   18264: #endif
                   18265: #if HAVE_SYS_SOCKET_H
                   18266: # include <sys/socket.h>
                   18267: #endif
1.1.1.4   misho    18268: #ifdef __APPLE__
                   18269: # define __APPLE_USE_RFC_3542
                   18270: #endif
1.1       misho    18271: #if HAVE_NETINET_IN_H
                   18272: # include <netinet/in.h>
                   18273: #endif
                   18274: #ifdef TIME_WITH_SYS_TIME
                   18275: # include <sys/time.h>
                   18276: # include <time.h>
                   18277: #else
                   18278: # ifdef HAVE_SYS_TIME_H
                   18279: #  include <sys/time.h>
                   18280: # else
                   18281: #  include <time.h>
                   18282: # endif
                   18283: #endif /* TIME_WITH_SYS_TIME */
                   18284: 
                   18285: #if HAVE_NET_IF_H
                   18286: # include <net/if.h>
                   18287: #endif
                   18288: 
                   18289: #if HAVE_NET_IF_VAR_H
                   18290: # include <net/if_var.h>
                   18291: #endif
                   18292: 
                   18293: #if HAVE_SYS_UN_H
                   18294: # include <sys/un.h>
                   18295: #endif
                   18296: #if HAVE_NETINET_IN_SYSTM_H
                   18297: # include <netinet/in_systm.h>
                   18298: #endif
                   18299: #if HAVE_NETINET_IN_VAR_H
                   18300: # include <netinet/in_var.h>
                   18301: #endif
                   18302: #if HAVE_NET_IF_DL_H
                   18303: # include <net/if_dl.h>
                   18304: #endif
                   18305: #if HAVE_NET_NETOPT_H
                   18306: # include <net/netopt.h>
                   18307: #endif
                   18308: #if HAVE_NET_ROUTE_H
                   18309: # include <net/route.h>
                   18310: #endif
                   18311: #if HAVE_INET_ND_H
                   18312: # include <inet/nd.h>
                   18313: #endif
                   18314: #if HAVE_ARPA_INET_H
                   18315: # include <arpa/inet.h>
                   18316: #endif
                   18317: /* Required for IDRP */
                   18318: #if HAVE_NETINET_IP_ICMP_H
                   18319: # include <netinet/ip_icmp.h>
                   18320: #endif
                   18321: 
                   18322:       #include <netinet/tcp.h>
                   18323: 
                   18324: "
                   18325: if test "x$ac_cv_have_decl_TCP_MD5SIG" = xyes; then :
                   18326:   ac_have_decl=1
                   18327: else
                   18328:   ac_have_decl=0
                   18329: fi
                   18330: 
                   18331: cat >>confdefs.h <<_ACEOF
                   18332: #define HAVE_DECL_TCP_MD5SIG $ac_have_decl
                   18333: _ACEOF
                   18334: 
                   18335: fi
                   18336: 
                   18337: 
                   18338: if test $ac_cv_have_decl_TCP_MD5SIG = no; then
                   18339:   ac_fn_c_check_header_mongrel "$LINENO" "linux/tcp.h" "ac_cv_header_linux_tcp_h" "$ac_includes_default"
                   18340: if test "x$ac_cv_header_linux_tcp_h" = xyes; then :
                   18341: 
                   18342:        ac_fn_c_check_decl "$LINENO" "TCP_MD5SIG" "ac_cv_have_decl_TCP_MD5SIG" "#ifdef SUNOS_5
                   18343: #define _XPG4_2
                   18344: #define __EXTENSIONS__
                   18345: #endif
                   18346: #include <stdio.h>
                   18347: #if STDC_HEADERS
                   18348: # include <stdlib.h>
                   18349: # include <stddef.h>
                   18350: #else
                   18351: # if HAVE_STDLIB_H
                   18352: #  include <stdlib.h>
                   18353: # endif
                   18354: #endif
                   18355: #if HAVE_SYS_TYPES_H
                   18356: # include <sys/types.h>
                   18357: #endif
                   18358: /* sys/conf.h depends on param.h on FBSD at least */
                   18359: #if HAVE_SYS_PARAM_H
                   18360: # include <sys/param.h>
                   18361: #endif
                   18362: /* Required for MAXSIG */
                   18363: #if HAVE_SIGNAL_H
                   18364: # include <signal.h>
                   18365: #endif
                   18366: #if HAVE_SYS_SOCKET_H
                   18367: # include <sys/socket.h>
                   18368: #endif
1.1.1.4   misho    18369: #ifdef __APPLE__
                   18370: # define __APPLE_USE_RFC_3542
                   18371: #endif
1.1       misho    18372: #if HAVE_NETINET_IN_H
                   18373: # include <netinet/in.h>
                   18374: #endif
                   18375: #ifdef TIME_WITH_SYS_TIME
                   18376: # include <sys/time.h>
                   18377: # include <time.h>
                   18378: #else
                   18379: # ifdef HAVE_SYS_TIME_H
                   18380: #  include <sys/time.h>
                   18381: # else
                   18382: #  include <time.h>
                   18383: # endif
                   18384: #endif /* TIME_WITH_SYS_TIME */
                   18385: 
                   18386: #if HAVE_NET_IF_H
                   18387: # include <net/if.h>
                   18388: #endif
                   18389: 
                   18390: #if HAVE_NET_IF_VAR_H
                   18391: # include <net/if_var.h>
                   18392: #endif
                   18393: 
                   18394: #if HAVE_SYS_UN_H
                   18395: # include <sys/un.h>
                   18396: #endif
                   18397: #if HAVE_NETINET_IN_SYSTM_H
                   18398: # include <netinet/in_systm.h>
                   18399: #endif
                   18400: #if HAVE_NETINET_IN_VAR_H
                   18401: # include <netinet/in_var.h>
                   18402: #endif
                   18403: #if HAVE_NET_IF_DL_H
                   18404: # include <net/if_dl.h>
                   18405: #endif
                   18406: #if HAVE_NET_NETOPT_H
                   18407: # include <net/netopt.h>
                   18408: #endif
                   18409: #if HAVE_NET_ROUTE_H
                   18410: # include <net/route.h>
                   18411: #endif
                   18412: #if HAVE_INET_ND_H
                   18413: # include <inet/nd.h>
                   18414: #endif
                   18415: #if HAVE_ARPA_INET_H
                   18416: # include <arpa/inet.h>
                   18417: #endif
                   18418: /* Required for IDRP */
                   18419: #if HAVE_NETINET_IP_ICMP_H
                   18420: # include <netinet/ip_icmp.h>
                   18421: #endif
                   18422: 
                   18423:           #include <linux/tcp.h>
                   18424: 
                   18425: "
                   18426: if test "x$ac_cv_have_decl_TCP_MD5SIG" = xyes; then :
                   18427:   ac_have_decl=1
                   18428: else
                   18429:   ac_have_decl=0
                   18430: fi
                   18431: 
                   18432: cat >>confdefs.h <<_ACEOF
                   18433: #define HAVE_DECL_TCP_MD5SIG $ac_have_decl
                   18434: _ACEOF
                   18435: 
                   18436: fi
                   18437: 
                   18438: 
                   18439: fi
                   18440: 
                   18441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipforward method" >&5
                   18442: $as_echo_n "checking ipforward method... " >&6; }
                   18443: if ${quagga_cv_ipforward_method+:} false; then :
                   18444:   $as_echo_n "(cached) " >&6
                   18445: else
1.1.1.3   misho    18446:   if test x$cross_compiling = xyes; then
                   18447:   if test x"$opsys" = x"gnu-linux"; then
                   18448:     quagga_cv_ipforward_method=/proc/net/snmp
                   18449:   else
                   18450:     quagga_cv_ipforward_method=/dev/ip
                   18451:   fi
                   18452: else
1.1       misho    18453:   for quagga_cv_ipforward_method in /proc/net/snmp /dev/ip /dev/null;
1.1.1.3   misho    18454:   do
                   18455:     test x`ls $quagga_cv_ipforward_method 2>/dev/null` = x"$quagga_cv_ipforward_method" && break
                   18456:   done
                   18457: fi
1.1       misho    18458: case $quagga_cv_ipforward_method in
                   18459:   "/proc/net/snmp")  quagga_cv_ipforward_method="proc";;
                   18460:   "/dev/ip")
                   18461:                      case "$host" in
                   18462:                        *-freebsd*)    quagga_cv_ipforward_method="sysctl";;
                   18463:                        *)             quagga_cv_ipforward_method="solaris";;
                   18464:                      esac;;
                   18465:   *)                 quagga_cv_ipforward_method="sysctl";;
                   18466: esac
                   18467: fi
                   18468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_ipforward_method" >&5
                   18469: $as_echo "$quagga_cv_ipforward_method" >&6; }
                   18470: IPFORWARD=ipforward_${quagga_cv_ipforward_method}.o
                   18471: 
                   18472: 
                   18473: for ac_func in getaddrinfo
                   18474: do :
                   18475:   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
                   18476: if test "x$ac_cv_func_getaddrinfo" = xyes; then :
                   18477:   cat >>confdefs.h <<_ACEOF
                   18478: #define HAVE_GETADDRINFO 1
                   18479: _ACEOF
                   18480:  have_getaddrinfo=yes
                   18481: else
                   18482:   have_getaddrinfo=no
                   18483: fi
                   18484: done
                   18485: 
                   18486: 
                   18487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether does this OS have IPv6 stack" >&5
                   18488: $as_echo_n "checking whether does this OS have IPv6 stack... " >&6; }
1.1.1.5 ! misho    18489:   if grep WIDE /usr/include/netinet6/in6.h >/dev/null 2>&1; then
1.1       misho    18490: 
                   18491: $as_echo "#define KAME 1" >>confdefs.h
                   18492: 
                   18493:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: KAME" >&5
                   18494: $as_echo "KAME" >&6; }
                   18495:   elif test x"$opsys" = x"sol8"; then
                   18496: 
                   18497: $as_echo "#define SOLARIS_IPV6 1" >>confdefs.h
                   18498: 
                   18499:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris IPv6" >&5
                   18500: $as_echo "Solaris IPv6" >&6; }
1.1.1.5 ! misho    18501:   elif test x"$opsys" = x"gnu-linux"; then
1.1       misho    18502: 
1.1.1.5 ! misho    18503: $as_echo "#define LINUX_IPV6 1" >>confdefs.h
1.1       misho    18504: 
1.1.1.5 ! misho    18505:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5
1.1       misho    18506: $as_echo "Linux IPv6" >&6; }
1.1.1.5 ! misho    18507:   else
        !          18508:     as_fn_error $? "Failed to detect IPv6 stack" "$LINENO" 5
1.1       misho    18509:   fi
                   18510: 
                   18511: 
                   18512: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   18513: 
                   18514: 
                   18515: for ac_header in netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \
                   18516:        netinet6/in6_var.h netinet6/nd6.h
                   18517: do :
                   18518:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   18519: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef SUNOS_5
                   18520: #define _XPG4_2
                   18521: #define __EXTENSIONS__
                   18522: #endif
                   18523: #include <stdio.h>
                   18524: #if STDC_HEADERS
                   18525: # include <stdlib.h>
                   18526: # include <stddef.h>
                   18527: #else
                   18528: # if HAVE_STDLIB_H
                   18529: #  include <stdlib.h>
                   18530: # endif
                   18531: #endif
                   18532: #if HAVE_SYS_TYPES_H
                   18533: # include <sys/types.h>
                   18534: #endif
                   18535: /* sys/conf.h depends on param.h on FBSD at least */
                   18536: #if HAVE_SYS_PARAM_H
                   18537: # include <sys/param.h>
                   18538: #endif
                   18539: /* Required for MAXSIG */
                   18540: #if HAVE_SIGNAL_H
                   18541: # include <signal.h>
                   18542: #endif
                   18543: #if HAVE_SYS_SOCKET_H
                   18544: # include <sys/socket.h>
                   18545: #endif
1.1.1.4   misho    18546: #ifdef __APPLE__
                   18547: # define __APPLE_USE_RFC_3542
                   18548: #endif
1.1       misho    18549: #if HAVE_NETINET_IN_H
                   18550: # include <netinet/in.h>
                   18551: #endif
                   18552: #ifdef TIME_WITH_SYS_TIME
                   18553: # include <sys/time.h>
                   18554: # include <time.h>
                   18555: #else
                   18556: # ifdef HAVE_SYS_TIME_H
                   18557: #  include <sys/time.h>
                   18558: # else
                   18559: #  include <time.h>
                   18560: # endif
                   18561: #endif /* TIME_WITH_SYS_TIME */
                   18562: 
                   18563: #if HAVE_NET_IF_H
                   18564: # include <net/if.h>
                   18565: #endif
                   18566: 
                   18567: #if HAVE_NET_IF_VAR_H
                   18568: # include <net/if_var.h>
                   18569: #endif
                   18570: 
                   18571: #if HAVE_SYS_UN_H
                   18572: # include <sys/un.h>
                   18573: #endif
                   18574: #if HAVE_NETINET_IN_SYSTM_H
                   18575: # include <netinet/in_systm.h>
                   18576: #endif
                   18577: #if HAVE_NETINET_IN_VAR_H
                   18578: # include <netinet/in_var.h>
                   18579: #endif
                   18580: #if HAVE_NET_IF_DL_H
                   18581: # include <net/if_dl.h>
                   18582: #endif
                   18583: #if HAVE_NET_NETOPT_H
                   18584: # include <net/netopt.h>
                   18585: #endif
                   18586: #if HAVE_NET_ROUTE_H
                   18587: # include <net/route.h>
                   18588: #endif
                   18589: #if HAVE_INET_ND_H
                   18590: # include <inet/nd.h>
                   18591: #endif
                   18592: #if HAVE_ARPA_INET_H
                   18593: # include <arpa/inet.h>
                   18594: #endif
                   18595: /* Required for IDRP */
                   18596: #if HAVE_NETINET_IP_ICMP_H
                   18597: # include <netinet/ip_icmp.h>
                   18598: #endif
                   18599: 
                   18600: "
                   18601: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   18602:   cat >>confdefs.h <<_ACEOF
                   18603: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   18604: _ACEOF
                   18605: 
                   18606: fi
                   18607: 
                   18608: done
                   18609: 
                   18610: 
                   18611: 
                   18612: if test "${enable_doc}" = "no";then
                   18613:   DOC=""
                   18614: else
                   18615:   DOC="doc"
                   18616: fi
                   18617: 
                   18618: if test "${enable_zebra}" = "no";then
                   18619:   ZEBRA=""
                   18620: else
                   18621:   ZEBRA="zebra"
                   18622: fi
1.1.1.3   misho    18623:  if test "x$ZEBRA" = "xzebra"; then
                   18624:   ZEBRA_TRUE=
                   18625:   ZEBRA_FALSE='#'
                   18626: else
                   18627:   ZEBRA_TRUE='#'
                   18628:   ZEBRA_FALSE=
                   18629: fi
                   18630: 
1.1       misho    18631: 
                   18632: if test "${enable_bgpd}" = "no";then
                   18633:   BGPD=""
                   18634: else
                   18635:   BGPD="bgpd"
                   18636: fi
1.1.1.3   misho    18637:  if test "x$BGPD" = "xbgpd"; then
                   18638:   BGPD_TRUE=
                   18639:   BGPD_FALSE='#'
                   18640: else
                   18641:   BGPD_TRUE='#'
                   18642:   BGPD_FALSE=
                   18643: fi
                   18644: 
1.1       misho    18645: 
                   18646: if test "${enable_ripd}" = "no";then
                   18647:   RIPD=""
                   18648: else
                   18649:   RIPD="ripd"
                   18650: fi
1.1.1.3   misho    18651:  if test "x$RIPD" = "xripd"; then
                   18652:   RIPD_TRUE=
                   18653:   RIPD_FALSE='#'
                   18654: else
                   18655:   RIPD_TRUE='#'
                   18656:   RIPD_FALSE=
                   18657: fi
                   18658: 
1.1       misho    18659: 
                   18660: if test "${enable_ospfd}" = "no";then
                   18661:   OSPFD=""
                   18662: else
                   18663:   OSPFD="ospfd"
                   18664: fi
1.1.1.3   misho    18665:  if test "x$OSPFD" = "xospfd"; then
                   18666:   OSPFD_TRUE=
                   18667:   OSPFD_FALSE='#'
                   18668: else
1.1.1.5 ! misho    18669:   OSPFD_TRUE='#'
        !          18670:   OSPFD_FALSE=
1.1.1.3   misho    18671: fi
                   18672: 
1.1       misho    18673: 
                   18674: if test "${enable_watchquagga}" = "no";then
                   18675:   WATCHQUAGGA=""
                   18676: else
                   18677:   WATCHQUAGGA="watchquagga"
                   18678: fi
1.1.1.3   misho    18679:  if test "x$WATCHQUAGGA" = "xwatchquagga"; then
                   18680:   WATCHQUAGGA_TRUE=
                   18681:   WATCHQUAGGA_FALSE='#'
                   18682: else
                   18683:   WATCHQUAGGA_TRUE='#'
                   18684:   WATCHQUAGGA_FALSE=
                   18685: fi
                   18686: 
1.1       misho    18687: 
                   18688: OSPFCLIENT=""
1.1.1.5 ! misho    18689: if test "${enable_ospfapi}" != "no";then
1.1       misho    18690: 
                   18691: $as_echo "#define SUPPORT_OSPF_API /**/" >>confdefs.h
                   18692: 
                   18693: 
1.1.1.5 ! misho    18694:   if test "${enable_ospfclient}" != "no";then
1.1       misho    18695:       OSPFCLIENT="ospfclient"
                   18696:   fi
                   18697: fi
1.1.1.5 ! misho    18698: 
1.1.1.3   misho    18699:  if test "x$OSPFCLIENT" = "xospfclient"; then
                   18700:   OSPFCLIENT_TRUE=
                   18701:   OSPFCLIENT_FALSE='#'
                   18702: else
                   18703:   OSPFCLIENT_TRUE='#'
                   18704:   OSPFCLIENT_FALSE=
                   18705: fi
                   18706: 
1.1       misho    18707: 
                   18708: case "${enable_ripngd}" in
                   18709:   "no" ) RIPNGD="";;
1.1.1.5 ! misho    18710:   *    ) RIPNGD="ripngd";;
1.1       misho    18711: esac
1.1.1.3   misho    18712:  if test "x$RIPNGD" = "xripngd"; then
                   18713:   RIPNGD_TRUE=
                   18714:   RIPNGD_FALSE='#'
                   18715: else
                   18716:   RIPNGD_TRUE='#'
                   18717:   RIPNGD_FALSE=
                   18718: fi
                   18719: 
1.1       misho    18720: 
                   18721: case "${enable_ospf6d}" in
                   18722:   "no" ) OSPF6D="";;
1.1.1.5 ! misho    18723:   *    ) OSPF6D="ospf6d";;
1.1       misho    18724: esac
1.1.1.3   misho    18725:  if test "x$OSPF6D" = "xospf6d"; then
                   18726:   OSPF6D_TRUE=
                   18727:   OSPF6D_FALSE='#'
                   18728: else
                   18729:   OSPF6D_TRUE='#'
                   18730:   OSPF6D_FALSE=
                   18731: fi
                   18732: 
1.1       misho    18733: 
                   18734: case "${enable_isisd}" in
                   18735:   "no" ) ISISD="";;
1.1.1.5 ! misho    18736:   *    ) ISISD="isisd";;
1.1       misho    18737: esac
1.1.1.3   misho    18738:  if test "x$ISISD" = "xisisd"; then
                   18739:   ISISD_TRUE=
                   18740:   ISISD_FALSE='#'
                   18741: else
                   18742:   ISISD_TRUE='#'
                   18743:   ISISD_FALSE=
                   18744: fi
                   18745: 
1.1       misho    18746: 
1.1.1.5 ! misho    18747: case "${enable_pimd}" in
        !          18748:   "no" ) PIMD="";;
        !          18749:   *    ) PIMD="pimd";;
        !          18750: esac
        !          18751:  if test "x$PIMD" = "xpimd"; then
        !          18752:   PIMD_TRUE=
        !          18753:   PIMD_FALSE='#'
        !          18754: else
        !          18755:   PIMD_TRUE='#'
        !          18756:   PIMD_FALSE=
        !          18757: fi
        !          18758: 
1.1       misho    18759: 
                   18760: if test "${enable_bgp_announce}" = "no";then
                   18761: 
                   18762: $as_echo "#define DISABLE_BGP_ANNOUNCE 1" >>confdefs.h
                   18763: 
                   18764: else
                   18765: 
                   18766: $as_echo "#define DISABLE_BGP_ANNOUNCE 0" >>confdefs.h
                   18767: 
                   18768: fi
                   18769: 
                   18770: 
                   18771: 
                   18772: 
                   18773: 
                   18774: 
                   18775: 
                   18776: 
                   18777: 
                   18778: 
                   18779: 
                   18780: 
                   18781: 
                   18782: 
                   18783: 
                   18784: 
                   18785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lc" >&5
                   18786: $as_echo_n "checking for inet_ntop in -lc... " >&6; }
                   18787: if ${ac_cv_lib_c_inet_ntop+:} false; then :
                   18788:   $as_echo_n "(cached) " >&6
                   18789: else
                   18790:   ac_check_lib_save_LIBS=$LIBS
                   18791: LIBS="-lc  $LIBS"
                   18792: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18793: /* end confdefs.h.  */
                   18794: 
                   18795: /* Override any GCC internal prototype to avoid an error.
                   18796:    Use char because int might match the return type of a GCC
                   18797:    builtin and then its argument prototype would still apply.  */
                   18798: #ifdef __cplusplus
                   18799: extern "C"
                   18800: #endif
                   18801: char inet_ntop ();
                   18802: int
                   18803: main ()
                   18804: {
                   18805: return inet_ntop ();
                   18806:   ;
                   18807:   return 0;
                   18808: }
                   18809: _ACEOF
                   18810: if ac_fn_c_try_link "$LINENO"; then :
                   18811:   ac_cv_lib_c_inet_ntop=yes
                   18812: else
                   18813:   ac_cv_lib_c_inet_ntop=no
                   18814: fi
                   18815: rm -f core conftest.err conftest.$ac_objext \
                   18816:     conftest$ac_exeext conftest.$ac_ext
                   18817: LIBS=$ac_check_lib_save_LIBS
                   18818: fi
                   18819: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_ntop" >&5
                   18820: $as_echo "$ac_cv_lib_c_inet_ntop" >&6; }
                   18821: if test "x$ac_cv_lib_c_inet_ntop" = xyes; then :
                   18822: 
                   18823: $as_echo "#define HAVE_INET_NTOP /**/" >>confdefs.h
                   18824: 
                   18825: fi
                   18826: 
                   18827: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton in -lc" >&5
                   18828: $as_echo_n "checking for inet_pton in -lc... " >&6; }
                   18829: if ${ac_cv_lib_c_inet_pton+:} false; then :
                   18830:   $as_echo_n "(cached) " >&6
                   18831: else
                   18832:   ac_check_lib_save_LIBS=$LIBS
                   18833: LIBS="-lc  $LIBS"
                   18834: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18835: /* end confdefs.h.  */
                   18836: 
                   18837: /* Override any GCC internal prototype to avoid an error.
                   18838:    Use char because int might match the return type of a GCC
                   18839:    builtin and then its argument prototype would still apply.  */
                   18840: #ifdef __cplusplus
                   18841: extern "C"
                   18842: #endif
                   18843: char inet_pton ();
                   18844: int
                   18845: main ()
                   18846: {
                   18847: return inet_pton ();
                   18848:   ;
                   18849:   return 0;
                   18850: }
                   18851: _ACEOF
                   18852: if ac_fn_c_try_link "$LINENO"; then :
                   18853:   ac_cv_lib_c_inet_pton=yes
                   18854: else
                   18855:   ac_cv_lib_c_inet_pton=no
                   18856: fi
                   18857: rm -f core conftest.err conftest.$ac_objext \
                   18858:     conftest$ac_exeext conftest.$ac_ext
                   18859: LIBS=$ac_check_lib_save_LIBS
                   18860: fi
                   18861: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_pton" >&5
                   18862: $as_echo "$ac_cv_lib_c_inet_pton" >&6; }
                   18863: if test "x$ac_cv_lib_c_inet_pton" = xyes; then :
                   18864: 
                   18865: $as_echo "#define HAVE_INET_PTON /**/" >>confdefs.h
                   18866: 
                   18867: fi
                   18868: 
                   18869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   18870: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   18871: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   18872:   $as_echo_n "(cached) " >&6
                   18873: else
                   18874:   ac_check_lib_save_LIBS=$LIBS
                   18875: LIBS="-lcrypt  $LIBS"
                   18876: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18877: /* end confdefs.h.  */
                   18878: 
                   18879: /* Override any GCC internal prototype to avoid an error.
                   18880:    Use char because int might match the return type of a GCC
                   18881:    builtin and then its argument prototype would still apply.  */
                   18882: #ifdef __cplusplus
                   18883: extern "C"
                   18884: #endif
                   18885: char crypt ();
                   18886: int
                   18887: main ()
                   18888: {
                   18889: return crypt ();
                   18890:   ;
                   18891:   return 0;
                   18892: }
                   18893: _ACEOF
                   18894: if ac_fn_c_try_link "$LINENO"; then :
                   18895:   ac_cv_lib_crypt_crypt=yes
                   18896: else
                   18897:   ac_cv_lib_crypt_crypt=no
                   18898: fi
                   18899: rm -f core conftest.err conftest.$ac_objext \
                   18900:     conftest$ac_exeext conftest.$ac_ext
                   18901: LIBS=$ac_check_lib_save_LIBS
                   18902: fi
                   18903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   18904: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   18905: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
                   18906:   cat >>confdefs.h <<_ACEOF
                   18907: #define HAVE_LIBCRYPT 1
                   18908: _ACEOF
                   18909: 
                   18910:   LIBS="-lcrypt $LIBS"
                   18911: 
                   18912: fi
                   18913: 
                   18914: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5
                   18915: $as_echo_n "checking for res_init in -lresolv... " >&6; }
                   18916: if ${ac_cv_lib_resolv_res_init+:} false; then :
                   18917:   $as_echo_n "(cached) " >&6
                   18918: else
                   18919:   ac_check_lib_save_LIBS=$LIBS
                   18920: LIBS="-lresolv  $LIBS"
                   18921: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   18922: /* end confdefs.h.  */
                   18923: 
                   18924: /* Override any GCC internal prototype to avoid an error.
                   18925:    Use char because int might match the return type of a GCC
                   18926:    builtin and then its argument prototype would still apply.  */
                   18927: #ifdef __cplusplus
                   18928: extern "C"
                   18929: #endif
                   18930: char res_init ();
                   18931: int
                   18932: main ()
                   18933: {
1.1.1.5 ! misho    18934: return res_init ();
        !          18935:   ;
        !          18936:   return 0;
        !          18937: }
        !          18938: _ACEOF
        !          18939: if ac_fn_c_try_link "$LINENO"; then :
        !          18940:   ac_cv_lib_resolv_res_init=yes
        !          18941: else
        !          18942:   ac_cv_lib_resolv_res_init=no
        !          18943: fi
        !          18944: rm -f core conftest.err conftest.$ac_objext \
        !          18945:     conftest$ac_exeext conftest.$ac_ext
        !          18946: LIBS=$ac_check_lib_save_LIBS
        !          18947: fi
        !          18948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5
        !          18949: $as_echo "$ac_cv_lib_resolv_res_init" >&6; }
        !          18950: if test "x$ac_cv_lib_resolv_res_init" = xyes; then :
        !          18951:   cat >>confdefs.h <<_ACEOF
        !          18952: #define HAVE_LIBRESOLV 1
        !          18953: _ACEOF
        !          18954: 
        !          18955:   LIBS="-lresolv $LIBS"
        !          18956: 
        !          18957: fi
        !          18958: 
        !          18959: 
        !          18960: if test "x$enable_pcreposix" = "xyes"; then
        !          18961:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcreposix_regexec in -lpcreposix" >&5
        !          18962: $as_echo_n "checking for pcreposix_regexec in -lpcreposix... " >&6; }
        !          18963: if ${ac_cv_lib_pcreposix_pcreposix_regexec+:} false; then :
        !          18964:   $as_echo_n "(cached) " >&6
        !          18965: else
        !          18966:   ac_check_lib_save_LIBS=$LIBS
        !          18967: LIBS="-lpcreposix  $LIBS"
        !          18968: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          18969: /* end confdefs.h.  */
        !          18970: 
        !          18971: /* Override any GCC internal prototype to avoid an error.
        !          18972:    Use char because int might match the return type of a GCC
        !          18973:    builtin and then its argument prototype would still apply.  */
        !          18974: #ifdef __cplusplus
        !          18975: extern "C"
        !          18976: #endif
        !          18977: char pcreposix_regexec ();
        !          18978: int
        !          18979: main ()
        !          18980: {
        !          18981: return pcreposix_regexec ();
        !          18982:   ;
        !          18983:   return 0;
        !          18984: }
        !          18985: _ACEOF
        !          18986: if ac_fn_c_try_link "$LINENO"; then :
        !          18987:   ac_cv_lib_pcreposix_pcreposix_regexec=yes
        !          18988: else
        !          18989:   ac_cv_lib_pcreposix_pcreposix_regexec=no
        !          18990: fi
        !          18991: rm -f core conftest.err conftest.$ac_objext \
        !          18992:     conftest$ac_exeext conftest.$ac_ext
        !          18993: LIBS=$ac_check_lib_save_LIBS
        !          18994: fi
        !          18995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcreposix_pcreposix_regexec" >&5
        !          18996: $as_echo "$ac_cv_lib_pcreposix_pcreposix_regexec" >&6; }
        !          18997: if test "x$ac_cv_lib_pcreposix_pcreposix_regexec" = xyes; then :
        !          18998:   cat >>confdefs.h <<_ACEOF
        !          18999: #define HAVE_LIBPCREPOSIX 1
        !          19000: _ACEOF
        !          19001: 
        !          19002:   LIBS="-lpcreposix $LIBS"
        !          19003: 
        !          19004: else
        !          19005:   enable_pcreposix=no
        !          19006:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** falling back to other regex library ***" >&5
        !          19007: $as_echo "$as_me: WARNING: *** falling back to other regex library ***" >&2;}
        !          19008: fi
        !          19009: 
        !          19010: fi
        !          19011: 
        !          19012: if test "x$enable_pcreposix" != "xyes"; then
        !          19013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system has GNU regex" >&5
        !          19014: $as_echo_n "checking whether system has GNU regex... " >&6; }
        !          19015: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lc" >&5
        !          19016: $as_echo_n "checking for regexec in -lc... " >&6; }
        !          19017: if ${ac_cv_lib_c_regexec+:} false; then :
        !          19018:   $as_echo_n "(cached) " >&6
        !          19019: else
        !          19020:   ac_check_lib_save_LIBS=$LIBS
        !          19021: LIBS="-lc  $LIBS"
        !          19022: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19023: /* end confdefs.h.  */
        !          19024: 
        !          19025: /* Override any GCC internal prototype to avoid an error.
        !          19026:    Use char because int might match the return type of a GCC
        !          19027:    builtin and then its argument prototype would still apply.  */
        !          19028: #ifdef __cplusplus
        !          19029: extern "C"
        !          19030: #endif
        !          19031: char regexec ();
        !          19032: int
        !          19033: main ()
        !          19034: {
        !          19035: return regexec ();
        !          19036:   ;
        !          19037:   return 0;
        !          19038: }
        !          19039: _ACEOF
        !          19040: if ac_fn_c_try_link "$LINENO"; then :
        !          19041:   ac_cv_lib_c_regexec=yes
        !          19042: else
        !          19043:   ac_cv_lib_c_regexec=no
        !          19044: fi
        !          19045: rm -f core conftest.err conftest.$ac_objext \
        !          19046:     conftest$ac_exeext conftest.$ac_ext
        !          19047: LIBS=$ac_check_lib_save_LIBS
        !          19048: fi
        !          19049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_regexec" >&5
        !          19050: $as_echo "$ac_cv_lib_c_regexec" >&6; }
        !          19051: if test "x$ac_cv_lib_c_regexec" = xyes; then :
        !          19052: 
        !          19053: $as_echo "#define HAVE_GNU_REGEX /**/" >>confdefs.h
        !          19054: 
        !          19055:  LIB_REGEX=""
        !          19056: else
        !          19057:   LIB_REGEX="regex.o"
        !          19058: fi
        !          19059: 
        !          19060: fi
        !          19061: 
        !          19062: 
        !          19063: 
        !          19064: if test "${enable_snmp}" != ""; then
        !          19065:    if test -n "$ac_tool_prefix"; then
        !          19066:   # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
        !          19067: set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
        !          19068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          19069: $as_echo_n "checking for $ac_word... " >&6; }
        !          19070: if ${ac_cv_path_NETSNMP_CONFIG+:} false; then :
        !          19071:   $as_echo_n "(cached) " >&6
        !          19072: else
        !          19073:   case $NETSNMP_CONFIG in
        !          19074:   [\\/]* | ?:[\\/]*)
        !          19075:   ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
        !          19076:   ;;
        !          19077:   *)
        !          19078:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          19079: for as_dir in $PATH
        !          19080: do
        !          19081:   IFS=$as_save_IFS
        !          19082:   test -z "$as_dir" && as_dir=.
        !          19083:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          19084:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          19085:     ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          19086:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          19087:     break 2
        !          19088:   fi
        !          19089: done
        !          19090:   done
        !          19091: IFS=$as_save_IFS
        !          19092: 
        !          19093:   ;;
        !          19094: esac
        !          19095: fi
        !          19096: NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
        !          19097: if test -n "$NETSNMP_CONFIG"; then
        !          19098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NETSNMP_CONFIG" >&5
        !          19099: $as_echo "$NETSNMP_CONFIG" >&6; }
        !          19100: else
        !          19101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19102: $as_echo "no" >&6; }
        !          19103: fi
        !          19104: 
        !          19105: 
        !          19106: fi
        !          19107: if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
        !          19108:   ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
        !          19109:   # Extract the first word of "net-snmp-config", so it can be a program name with args.
        !          19110: set dummy net-snmp-config; ac_word=$2
        !          19111: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          19112: $as_echo_n "checking for $ac_word... " >&6; }
        !          19113: if ${ac_cv_path_ac_pt_NETSNMP_CONFIG+:} false; then :
        !          19114:   $as_echo_n "(cached) " >&6
        !          19115: else
        !          19116:   case $ac_pt_NETSNMP_CONFIG in
        !          19117:   [\\/]* | ?:[\\/]*)
        !          19118:   ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
        !          19119:   ;;
        !          19120:   *)
        !          19121:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          19122: for as_dir in $PATH
        !          19123: do
        !          19124:   IFS=$as_save_IFS
        !          19125:   test -z "$as_dir" && as_dir=.
        !          19126:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          19127:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          19128:     ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
        !          19129:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          19130:     break 2
        !          19131:   fi
        !          19132: done
        !          19133:   done
        !          19134: IFS=$as_save_IFS
        !          19135: 
        !          19136:   ;;
        !          19137: esac
        !          19138: fi
        !          19139: ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
        !          19140: if test -n "$ac_pt_NETSNMP_CONFIG"; then
        !          19141:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_NETSNMP_CONFIG" >&5
        !          19142: $as_echo "$ac_pt_NETSNMP_CONFIG" >&6; }
        !          19143: else
        !          19144:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19145: $as_echo "no" >&6; }
        !          19146: fi
        !          19147: 
        !          19148:   if test "x$ac_pt_NETSNMP_CONFIG" = x; then
        !          19149:     NETSNMP_CONFIG="no"
        !          19150:   else
        !          19151:     case $cross_compiling:$ac_tool_warned in
        !          19152: yes:)
        !          19153: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          19154: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          19155: ac_tool_warned=yes ;;
        !          19156: esac
        !          19157:     NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
        !          19158:   fi
        !          19159: else
        !          19160:   NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
        !          19161: fi
        !          19162: 
        !          19163:    if test x"$NETSNMP_CONFIG" = x"no"; then
        !          19164:       as_fn_error $? "--enable-snmp given but unable to find net-snmp-config" "$LINENO" 5
        !          19165:    fi
        !          19166:    LIBS="$LIBS `${NETSNMP_CONFIG} --agent-libs`"
        !          19167:    CFLAGS="`${NETSNMP_CONFIG} --base-cflags` $CFLAGS"
        !          19168:    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can link to Net-SNMP" >&5
        !          19169: $as_echo_n "checking whether we can link to Net-SNMP... " >&6; }
        !          19170:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          19171: /* end confdefs.h.  */
        !          19172: 
        !          19173: int main(void);
        !          19174: 
        !          19175: int
        !          19176: main ()
        !          19177: {
        !          19178: 
        !          19179: {
        !          19180:   return 0;
        !          19181: }
        !          19182: 
1.1       misho    19183:   ;
                   19184:   return 0;
                   19185: }
                   19186: _ACEOF
                   19187: if ac_fn_c_try_link "$LINENO"; then :
1.1.1.5 ! misho    19188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          19189: $as_echo "yes" >&6; }
1.1       misho    19190: else
1.1.1.5 ! misho    19191: 
        !          19192:      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          19193: $as_echo "no" >&6; }
        !          19194:      as_fn_error $? "--enable-snmp given but not usable" "$LINENO" 5
1.1       misho    19195: fi
                   19196: rm -f core conftest.err conftest.$ac_objext \
                   19197:     conftest$ac_exeext conftest.$ac_ext
1.1.1.5 ! misho    19198: 
        !          19199: $as_echo "#define HAVE_SNMP /**/" >>confdefs.h
        !          19200: 
        !          19201:    case "${enable_snmp}" in
        !          19202:      yes)
        !          19203:       SNMP_METHOD=agentx
        !          19204:       ;;
        !          19205:      smux|agentx)
        !          19206:       SNMP_METHOD="${enable_snmp}"
        !          19207:       ;;
        !          19208:      *)
        !          19209:       as_fn_error $? "--enable-snmp given with an unknown method (${enable_snmp}). Use smux or agentx" "$LINENO" 5
        !          19210:       ;;
        !          19211:    esac
        !          19212: 
        !          19213: 
        !          19214: 
        !          19215: cat >>confdefs.h <<_ACEOF
        !          19216: #define `$as_echo "SNMP_${SNMP_METHOD}" | $as_tr_cpp` /**/
        !          19217: _ACEOF
        !          19218: 
1.1       misho    19219: fi
1.1.1.5 ! misho    19220: 
        !          19221: ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5
        !          19222: #define _XPG4_2
        !          19223: #define __EXTENSIONS__
        !          19224: #endif
        !          19225: #include <stdio.h>
        !          19226: #if STDC_HEADERS
        !          19227: # include <stdlib.h>
        !          19228: # include <stddef.h>
        !          19229: #else
        !          19230: # if HAVE_STDLIB_H
        !          19231: #  include <stdlib.h>
        !          19232: # endif
        !          19233: #endif
        !          19234: #if HAVE_SYS_TYPES_H
        !          19235: # include <sys/types.h>
        !          19236: #endif
        !          19237: /* sys/conf.h depends on param.h on FBSD at least */
        !          19238: #if HAVE_SYS_PARAM_H
        !          19239: # include <sys/param.h>
        !          19240: #endif
        !          19241: /* Required for MAXSIG */
        !          19242: #if HAVE_SIGNAL_H
        !          19243: # include <signal.h>
        !          19244: #endif
        !          19245: #if HAVE_SYS_SOCKET_H
        !          19246: # include <sys/socket.h>
        !          19247: #endif
        !          19248: #ifdef __APPLE__
        !          19249: # define __APPLE_USE_RFC_3542
        !          19250: #endif
        !          19251: #if HAVE_NETINET_IN_H
        !          19252: # include <netinet/in.h>
        !          19253: #endif
        !          19254: #ifdef TIME_WITH_SYS_TIME
        !          19255: # include <sys/time.h>
        !          19256: # include <time.h>
        !          19257: #else
        !          19258: # ifdef HAVE_SYS_TIME_H
        !          19259: #  include <sys/time.h>
        !          19260: # else
        !          19261: #  include <time.h>
        !          19262: # endif
        !          19263: #endif /* TIME_WITH_SYS_TIME */
        !          19264: 
        !          19265: #if HAVE_NET_IF_H
        !          19266: # include <net/if.h>
        !          19267: #endif
        !          19268: 
        !          19269: #if HAVE_NET_IF_VAR_H
        !          19270: # include <net/if_var.h>
        !          19271: #endif
        !          19272: 
        !          19273: #if HAVE_SYS_UN_H
        !          19274: # include <sys/un.h>
        !          19275: #endif
        !          19276: #if HAVE_NETINET_IN_SYSTM_H
        !          19277: # include <netinet/in_systm.h>
        !          19278: #endif
        !          19279: #if HAVE_NETINET_IN_VAR_H
        !          19280: # include <netinet/in_var.h>
        !          19281: #endif
        !          19282: #if HAVE_NET_IF_DL_H
        !          19283: # include <net/if_dl.h>
        !          19284: #endif
        !          19285: #if HAVE_NET_NETOPT_H
        !          19286: # include <net/netopt.h>
        !          19287: #endif
        !          19288: #if HAVE_NET_ROUTE_H
        !          19289: # include <net/route.h>
        !          19290: #endif
        !          19291: #if HAVE_INET_ND_H
        !          19292: # include <inet/nd.h>
        !          19293: #endif
        !          19294: #if HAVE_ARPA_INET_H
        !          19295: # include <arpa/inet.h>
        !          19296: #endif
        !          19297: /* Required for IDRP */
        !          19298: #if HAVE_NETINET_IP_ICMP_H
        !          19299: # include <netinet/ip_icmp.h>
        !          19300: #endif
        !          19301: 
        !          19302: #if HAVE_NETINET6_IN6_H
        !          19303: #include <netinet6/in6.h>
        !          19304: #endif
        !          19305: #if HAVE_NETINET_IN6_VAR_H
        !          19306: #include <netinet/in6_var.h>
        !          19307: #endif
        !          19308: #if HAVE_NETINET_ICMP6_H
        !          19309: # include <netinet/icmp6.h>
        !          19310: #endif
        !          19311: #if HAVE_NETINET6_IN6_VAR_H
        !          19312: # include <netinet6/in6_var.h>
        !          19313: #endif
        !          19314: #if HAVE_NETINET6_ND6_H
        !          19315: # include <netinet6/nd6.h>
        !          19316: #endif
        !          19317: 
        !          19318: "
        !          19319: if test "x$ac_cv_type_struct_sockaddr" = xyes; then :
        !          19320: 
        !          19321: cat >>confdefs.h <<_ACEOF
        !          19322: #define HAVE_STRUCT_SOCKADDR 1
1.1       misho    19323: _ACEOF
                   19324: 
                   19325: 
                   19326: fi
1.1.1.5 ! misho    19327: ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5
        !          19328: #define _XPG4_2
        !          19329: #define __EXTENSIONS__
        !          19330: #endif
        !          19331: #include <stdio.h>
        !          19332: #if STDC_HEADERS
        !          19333: # include <stdlib.h>
        !          19334: # include <stddef.h>
        !          19335: #else
        !          19336: # if HAVE_STDLIB_H
        !          19337: #  include <stdlib.h>
        !          19338: # endif
        !          19339: #endif
        !          19340: #if HAVE_SYS_TYPES_H
        !          19341: # include <sys/types.h>
        !          19342: #endif
        !          19343: /* sys/conf.h depends on param.h on FBSD at least */
        !          19344: #if HAVE_SYS_PARAM_H
        !          19345: # include <sys/param.h>
        !          19346: #endif
        !          19347: /* Required for MAXSIG */
        !          19348: #if HAVE_SIGNAL_H
        !          19349: # include <signal.h>
        !          19350: #endif
        !          19351: #if HAVE_SYS_SOCKET_H
        !          19352: # include <sys/socket.h>
        !          19353: #endif
        !          19354: #ifdef __APPLE__
        !          19355: # define __APPLE_USE_RFC_3542
        !          19356: #endif
        !          19357: #if HAVE_NETINET_IN_H
        !          19358: # include <netinet/in.h>
        !          19359: #endif
        !          19360: #ifdef TIME_WITH_SYS_TIME
        !          19361: # include <sys/time.h>
        !          19362: # include <time.h>
        !          19363: #else
        !          19364: # ifdef HAVE_SYS_TIME_H
        !          19365: #  include <sys/time.h>
        !          19366: # else
        !          19367: #  include <time.h>
        !          19368: # endif
        !          19369: #endif /* TIME_WITH_SYS_TIME */
        !          19370: 
        !          19371: #if HAVE_NET_IF_H
        !          19372: # include <net/if.h>
        !          19373: #endif
1.1       misho    19374: 
1.1.1.5 ! misho    19375: #if HAVE_NET_IF_VAR_H
        !          19376: # include <net/if_var.h>
        !          19377: #endif
1.1       misho    19378: 
1.1.1.5 ! misho    19379: #if HAVE_SYS_UN_H
        !          19380: # include <sys/un.h>
        !          19381: #endif
        !          19382: #if HAVE_NETINET_IN_SYSTM_H
        !          19383: # include <netinet/in_systm.h>
        !          19384: #endif
        !          19385: #if HAVE_NETINET_IN_VAR_H
        !          19386: # include <netinet/in_var.h>
        !          19387: #endif
        !          19388: #if HAVE_NET_IF_DL_H
        !          19389: # include <net/if_dl.h>
        !          19390: #endif
        !          19391: #if HAVE_NET_NETOPT_H
        !          19392: # include <net/netopt.h>
        !          19393: #endif
        !          19394: #if HAVE_NET_ROUTE_H
        !          19395: # include <net/route.h>
        !          19396: #endif
        !          19397: #if HAVE_INET_ND_H
        !          19398: # include <inet/nd.h>
        !          19399: #endif
        !          19400: #if HAVE_ARPA_INET_H
        !          19401: # include <arpa/inet.h>
        !          19402: #endif
        !          19403: /* Required for IDRP */
        !          19404: #if HAVE_NETINET_IP_ICMP_H
        !          19405: # include <netinet/ip_icmp.h>
        !          19406: #endif
1.1       misho    19407: 
1.1.1.5 ! misho    19408: #if HAVE_NETINET6_IN6_H
        !          19409: #include <netinet6/in6.h>
        !          19410: #endif
        !          19411: #if HAVE_NETINET_IN6_VAR_H
        !          19412: #include <netinet/in6_var.h>
        !          19413: #endif
        !          19414: #if HAVE_NETINET_ICMP6_H
        !          19415: # include <netinet/icmp6.h>
        !          19416: #endif
        !          19417: #if HAVE_NETINET6_IN6_VAR_H
        !          19418: # include <netinet6/in6_var.h>
        !          19419: #endif
        !          19420: #if HAVE_NETINET6_ND6_H
        !          19421: # include <netinet6/nd6.h>
        !          19422: #endif
1.1       misho    19423: 
1.1.1.5 ! misho    19424: "
        !          19425: if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
1.1       misho    19426: 
1.1.1.5 ! misho    19427: cat >>confdefs.h <<_ACEOF
        !          19428: #define HAVE_STRUCT_SOCKADDR_IN 1
        !          19429: _ACEOF
1.1       misho    19430: 
                   19431: 
                   19432: fi
1.1.1.5 ! misho    19433: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5
        !          19434: #define _XPG4_2
        !          19435: #define __EXTENSIONS__
        !          19436: #endif
        !          19437: #include <stdio.h>
        !          19438: #if STDC_HEADERS
        !          19439: # include <stdlib.h>
        !          19440: # include <stddef.h>
        !          19441: #else
        !          19442: # if HAVE_STDLIB_H
        !          19443: #  include <stdlib.h>
        !          19444: # endif
        !          19445: #endif
        !          19446: #if HAVE_SYS_TYPES_H
        !          19447: # include <sys/types.h>
        !          19448: #endif
        !          19449: /* sys/conf.h depends on param.h on FBSD at least */
        !          19450: #if HAVE_SYS_PARAM_H
        !          19451: # include <sys/param.h>
        !          19452: #endif
        !          19453: /* Required for MAXSIG */
        !          19454: #if HAVE_SIGNAL_H
        !          19455: # include <signal.h>
        !          19456: #endif
        !          19457: #if HAVE_SYS_SOCKET_H
        !          19458: # include <sys/socket.h>
        !          19459: #endif
        !          19460: #ifdef __APPLE__
        !          19461: # define __APPLE_USE_RFC_3542
        !          19462: #endif
        !          19463: #if HAVE_NETINET_IN_H
        !          19464: # include <netinet/in.h>
        !          19465: #endif
        !          19466: #ifdef TIME_WITH_SYS_TIME
        !          19467: # include <sys/time.h>
        !          19468: # include <time.h>
        !          19469: #else
        !          19470: # ifdef HAVE_SYS_TIME_H
        !          19471: #  include <sys/time.h>
        !          19472: # else
        !          19473: #  include <time.h>
        !          19474: # endif
        !          19475: #endif /* TIME_WITH_SYS_TIME */
1.1       misho    19476: 
1.1.1.5 ! misho    19477: #if HAVE_NET_IF_H
        !          19478: # include <net/if.h>
        !          19479: #endif
1.1       misho    19480: 
1.1.1.5 ! misho    19481: #if HAVE_NET_IF_VAR_H
        !          19482: # include <net/if_var.h>
        !          19483: #endif
1.1       misho    19484: 
1.1.1.5 ! misho    19485: #if HAVE_SYS_UN_H
        !          19486: # include <sys/un.h>
        !          19487: #endif
        !          19488: #if HAVE_NETINET_IN_SYSTM_H
        !          19489: # include <netinet/in_systm.h>
        !          19490: #endif
        !          19491: #if HAVE_NETINET_IN_VAR_H
        !          19492: # include <netinet/in_var.h>
        !          19493: #endif
        !          19494: #if HAVE_NET_IF_DL_H
        !          19495: # include <net/if_dl.h>
        !          19496: #endif
        !          19497: #if HAVE_NET_NETOPT_H
        !          19498: # include <net/netopt.h>
        !          19499: #endif
        !          19500: #if HAVE_NET_ROUTE_H
        !          19501: # include <net/route.h>
        !          19502: #endif
        !          19503: #if HAVE_INET_ND_H
        !          19504: # include <inet/nd.h>
        !          19505: #endif
        !          19506: #if HAVE_ARPA_INET_H
        !          19507: # include <arpa/inet.h>
        !          19508: #endif
        !          19509: /* Required for IDRP */
        !          19510: #if HAVE_NETINET_IP_ICMP_H
        !          19511: # include <netinet/ip_icmp.h>
        !          19512: #endif
1.1       misho    19513: 
1.1.1.5 ! misho    19514: #if HAVE_NETINET6_IN6_H
        !          19515: #include <netinet6/in6.h>
        !          19516: #endif
        !          19517: #if HAVE_NETINET_IN6_VAR_H
        !          19518: #include <netinet/in6_var.h>
        !          19519: #endif
        !          19520: #if HAVE_NETINET_ICMP6_H
        !          19521: # include <netinet/icmp6.h>
        !          19522: #endif
        !          19523: #if HAVE_NETINET6_IN6_VAR_H
        !          19524: # include <netinet6/in6_var.h>
        !          19525: #endif
        !          19526: #if HAVE_NETINET6_ND6_H
        !          19527: # include <netinet6/nd6.h>
        !          19528: #endif
1.1       misho    19529: 
1.1.1.5 ! misho    19530: "
        !          19531: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
1.1       misho    19532: 
1.1.1.5 ! misho    19533: cat >>confdefs.h <<_ACEOF
        !          19534: #define HAVE_STRUCT_SOCKADDR_IN6 1
1.1       misho    19535: _ACEOF
                   19536: 
                   19537: 
                   19538: fi
1.1.1.5 ! misho    19539: ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5
        !          19540: #define _XPG4_2
        !          19541: #define __EXTENSIONS__
        !          19542: #endif
        !          19543: #include <stdio.h>
        !          19544: #if STDC_HEADERS
        !          19545: # include <stdlib.h>
        !          19546: # include <stddef.h>
        !          19547: #else
        !          19548: # if HAVE_STDLIB_H
        !          19549: #  include <stdlib.h>
        !          19550: # endif
        !          19551: #endif
        !          19552: #if HAVE_SYS_TYPES_H
        !          19553: # include <sys/types.h>
        !          19554: #endif
        !          19555: /* sys/conf.h depends on param.h on FBSD at least */
        !          19556: #if HAVE_SYS_PARAM_H
        !          19557: # include <sys/param.h>
        !          19558: #endif
        !          19559: /* Required for MAXSIG */
        !          19560: #if HAVE_SIGNAL_H
        !          19561: # include <signal.h>
        !          19562: #endif
        !          19563: #if HAVE_SYS_SOCKET_H
        !          19564: # include <sys/socket.h>
        !          19565: #endif
        !          19566: #ifdef __APPLE__
        !          19567: # define __APPLE_USE_RFC_3542
        !          19568: #endif
        !          19569: #if HAVE_NETINET_IN_H
        !          19570: # include <netinet/in.h>
        !          19571: #endif
        !          19572: #ifdef TIME_WITH_SYS_TIME
        !          19573: # include <sys/time.h>
        !          19574: # include <time.h>
        !          19575: #else
        !          19576: # ifdef HAVE_SYS_TIME_H
        !          19577: #  include <sys/time.h>
        !          19578: # else
        !          19579: #  include <time.h>
        !          19580: # endif
        !          19581: #endif /* TIME_WITH_SYS_TIME */
1.1       misho    19582: 
1.1.1.5 ! misho    19583: #if HAVE_NET_IF_H
        !          19584: # include <net/if.h>
1.1       misho    19585: #endif
                   19586: 
1.1.1.5 ! misho    19587: #if HAVE_NET_IF_VAR_H
        !          19588: # include <net/if_var.h>
        !          19589: #endif
1.1       misho    19590: 
1.1.1.5 ! misho    19591: #if HAVE_SYS_UN_H
        !          19592: # include <sys/un.h>
        !          19593: #endif
        !          19594: #if HAVE_NETINET_IN_SYSTM_H
        !          19595: # include <netinet/in_systm.h>
        !          19596: #endif
        !          19597: #if HAVE_NETINET_IN_VAR_H
        !          19598: # include <netinet/in_var.h>
        !          19599: #endif
        !          19600: #if HAVE_NET_IF_DL_H
        !          19601: # include <net/if_dl.h>
        !          19602: #endif
        !          19603: #if HAVE_NET_NETOPT_H
        !          19604: # include <net/netopt.h>
        !          19605: #endif
        !          19606: #if HAVE_NET_ROUTE_H
        !          19607: # include <net/route.h>
        !          19608: #endif
        !          19609: #if HAVE_INET_ND_H
        !          19610: # include <inet/nd.h>
        !          19611: #endif
        !          19612: #if HAVE_ARPA_INET_H
        !          19613: # include <arpa/inet.h>
        !          19614: #endif
        !          19615: /* Required for IDRP */
        !          19616: #if HAVE_NETINET_IP_ICMP_H
        !          19617: # include <netinet/ip_icmp.h>
        !          19618: #endif
1.1       misho    19619: 
1.1.1.5 ! misho    19620: #if HAVE_NETINET6_IN6_H
        !          19621: #include <netinet6/in6.h>
        !          19622: #endif
        !          19623: #if HAVE_NETINET_IN6_VAR_H
        !          19624: #include <netinet/in6_var.h>
        !          19625: #endif
        !          19626: #if HAVE_NETINET_ICMP6_H
        !          19627: # include <netinet/icmp6.h>
        !          19628: #endif
        !          19629: #if HAVE_NETINET6_IN6_VAR_H
        !          19630: # include <netinet6/in6_var.h>
        !          19631: #endif
        !          19632: #if HAVE_NETINET6_ND6_H
        !          19633: # include <netinet6/nd6.h>
        !          19634: #endif
1.1       misho    19635: 
1.1.1.5 ! misho    19636: "
        !          19637: if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then :
1.1       misho    19638: 
1.1.1.5 ! misho    19639: cat >>confdefs.h <<_ACEOF
        !          19640: #define HAVE_STRUCT_SOCKADDR_UN 1
        !          19641: _ACEOF
1.1       misho    19642: 
1.1.1.4   misho    19643: 
                   19644: fi
1.1.1.5 ! misho    19645: ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5
        !          19646: #define _XPG4_2
        !          19647: #define __EXTENSIONS__
        !          19648: #endif
        !          19649: #include <stdio.h>
        !          19650: #if STDC_HEADERS
        !          19651: # include <stdlib.h>
        !          19652: # include <stddef.h>
        !          19653: #else
        !          19654: # if HAVE_STDLIB_H
        !          19655: #  include <stdlib.h>
        !          19656: # endif
        !          19657: #endif
        !          19658: #if HAVE_SYS_TYPES_H
        !          19659: # include <sys/types.h>
        !          19660: #endif
        !          19661: /* sys/conf.h depends on param.h on FBSD at least */
        !          19662: #if HAVE_SYS_PARAM_H
        !          19663: # include <sys/param.h>
        !          19664: #endif
        !          19665: /* Required for MAXSIG */
        !          19666: #if HAVE_SIGNAL_H
        !          19667: # include <signal.h>
        !          19668: #endif
        !          19669: #if HAVE_SYS_SOCKET_H
        !          19670: # include <sys/socket.h>
        !          19671: #endif
        !          19672: #ifdef __APPLE__
        !          19673: # define __APPLE_USE_RFC_3542
        !          19674: #endif
        !          19675: #if HAVE_NETINET_IN_H
        !          19676: # include <netinet/in.h>
        !          19677: #endif
        !          19678: #ifdef TIME_WITH_SYS_TIME
        !          19679: # include <sys/time.h>
        !          19680: # include <time.h>
        !          19681: #else
        !          19682: # ifdef HAVE_SYS_TIME_H
        !          19683: #  include <sys/time.h>
        !          19684: # else
        !          19685: #  include <time.h>
        !          19686: # endif
        !          19687: #endif /* TIME_WITH_SYS_TIME */
1.1.1.4   misho    19688: 
1.1.1.5 ! misho    19689: #if HAVE_NET_IF_H
        !          19690: # include <net/if.h>
        !          19691: #endif
1.1.1.4   misho    19692: 
1.1.1.5 ! misho    19693: #if HAVE_NET_IF_VAR_H
        !          19694: # include <net/if_var.h>
        !          19695: #endif
1.1.1.4   misho    19696: 
1.1.1.5 ! misho    19697: #if HAVE_SYS_UN_H
        !          19698: # include <sys/un.h>
        !          19699: #endif
        !          19700: #if HAVE_NETINET_IN_SYSTM_H
        !          19701: # include <netinet/in_systm.h>
        !          19702: #endif
        !          19703: #if HAVE_NETINET_IN_VAR_H
        !          19704: # include <netinet/in_var.h>
        !          19705: #endif
        !          19706: #if HAVE_NET_IF_DL_H
        !          19707: # include <net/if_dl.h>
        !          19708: #endif
        !          19709: #if HAVE_NET_NETOPT_H
        !          19710: # include <net/netopt.h>
        !          19711: #endif
        !          19712: #if HAVE_NET_ROUTE_H
        !          19713: # include <net/route.h>
        !          19714: #endif
        !          19715: #if HAVE_INET_ND_H
        !          19716: # include <inet/nd.h>
        !          19717: #endif
        !          19718: #if HAVE_ARPA_INET_H
        !          19719: # include <arpa/inet.h>
        !          19720: #endif
        !          19721: /* Required for IDRP */
        !          19722: #if HAVE_NETINET_IP_ICMP_H
        !          19723: # include <netinet/ip_icmp.h>
        !          19724: #endif
1.1.1.4   misho    19725: 
1.1.1.5 ! misho    19726: #if HAVE_NETINET6_IN6_H
        !          19727: #include <netinet6/in6.h>
        !          19728: #endif
        !          19729: #if HAVE_NETINET_IN6_VAR_H
        !          19730: #include <netinet/in6_var.h>
        !          19731: #endif
        !          19732: #if HAVE_NETINET_ICMP6_H
        !          19733: # include <netinet/icmp6.h>
        !          19734: #endif
        !          19735: #if HAVE_NETINET6_IN6_VAR_H
        !          19736: # include <netinet6/in6_var.h>
        !          19737: #endif
        !          19738: #if HAVE_NETINET6_ND6_H
        !          19739: # include <netinet6/nd6.h>
        !          19740: #endif
1.1.1.4   misho    19741: 
1.1.1.5 ! misho    19742: "
        !          19743: if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then :
1.1       misho    19744: 
1.1.1.5 ! misho    19745: cat >>confdefs.h <<_ACEOF
        !          19746: #define HAVE_STRUCT_SOCKADDR_DL 1
        !          19747: _ACEOF
1.1.1.4   misho    19748: 
                   19749: 
1.1.1.5 ! misho    19750: fi
        !          19751: ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5
        !          19752: #define _XPG4_2
        !          19753: #define __EXTENSIONS__
        !          19754: #endif
        !          19755: #include <stdio.h>
        !          19756: #if STDC_HEADERS
        !          19757: # include <stdlib.h>
        !          19758: # include <stddef.h>
        !          19759: #else
        !          19760: # if HAVE_STDLIB_H
        !          19761: #  include <stdlib.h>
        !          19762: # endif
        !          19763: #endif
        !          19764: #if HAVE_SYS_TYPES_H
        !          19765: # include <sys/types.h>
        !          19766: #endif
        !          19767: /* sys/conf.h depends on param.h on FBSD at least */
        !          19768: #if HAVE_SYS_PARAM_H
        !          19769: # include <sys/param.h>
        !          19770: #endif
        !          19771: /* Required for MAXSIG */
        !          19772: #if HAVE_SIGNAL_H
        !          19773: # include <signal.h>
        !          19774: #endif
        !          19775: #if HAVE_SYS_SOCKET_H
        !          19776: # include <sys/socket.h>
        !          19777: #endif
        !          19778: #ifdef __APPLE__
        !          19779: # define __APPLE_USE_RFC_3542
        !          19780: #endif
        !          19781: #if HAVE_NETINET_IN_H
        !          19782: # include <netinet/in.h>
        !          19783: #endif
        !          19784: #ifdef TIME_WITH_SYS_TIME
        !          19785: # include <sys/time.h>
        !          19786: # include <time.h>
        !          19787: #else
        !          19788: # ifdef HAVE_SYS_TIME_H
        !          19789: #  include <sys/time.h>
        !          19790: # else
        !          19791: #  include <time.h>
        !          19792: # endif
        !          19793: #endif /* TIME_WITH_SYS_TIME */
1.1.1.4   misho    19794: 
1.1.1.5 ! misho    19795: #if HAVE_NET_IF_H
        !          19796: # include <net/if.h>
        !          19797: #endif
1.1       misho    19798: 
1.1.1.5 ! misho    19799: #if HAVE_NET_IF_VAR_H
        !          19800: # include <net/if_var.h>
        !          19801: #endif
1.1       misho    19802: 
1.1.1.5 ! misho    19803: #if HAVE_SYS_UN_H
        !          19804: # include <sys/un.h>
        !          19805: #endif
        !          19806: #if HAVE_NETINET_IN_SYSTM_H
        !          19807: # include <netinet/in_systm.h>
        !          19808: #endif
        !          19809: #if HAVE_NETINET_IN_VAR_H
        !          19810: # include <netinet/in_var.h>
        !          19811: #endif
        !          19812: #if HAVE_NET_IF_DL_H
        !          19813: # include <net/if_dl.h>
        !          19814: #endif
        !          19815: #if HAVE_NET_NETOPT_H
        !          19816: # include <net/netopt.h>
        !          19817: #endif
        !          19818: #if HAVE_NET_ROUTE_H
        !          19819: # include <net/route.h>
        !          19820: #endif
        !          19821: #if HAVE_INET_ND_H
        !          19822: # include <inet/nd.h>
        !          19823: #endif
        !          19824: #if HAVE_ARPA_INET_H
        !          19825: # include <arpa/inet.h>
        !          19826: #endif
        !          19827: /* Required for IDRP */
        !          19828: #if HAVE_NETINET_IP_ICMP_H
        !          19829: # include <netinet/ip_icmp.h>
        !          19830: #endif
1.1       misho    19831: 
1.1.1.5 ! misho    19832: #if HAVE_NETINET6_IN6_H
        !          19833: #include <netinet6/in6.h>
        !          19834: #endif
        !          19835: #if HAVE_NETINET_IN6_VAR_H
        !          19836: #include <netinet/in6_var.h>
        !          19837: #endif
        !          19838: #if HAVE_NETINET_ICMP6_H
        !          19839: # include <netinet/icmp6.h>
        !          19840: #endif
        !          19841: #if HAVE_NETINET6_IN6_VAR_H
        !          19842: # include <netinet6/in6_var.h>
        !          19843: #endif
        !          19844: #if HAVE_NETINET6_ND6_H
        !          19845: # include <netinet6/nd6.h>
        !          19846: #endif
1.1       misho    19847: 
1.1.1.5 ! misho    19848: "
        !          19849: if test "x$ac_cv_type_socklen_t" = xyes; then :
1.1       misho    19850: 
1.1.1.4   misho    19851: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    19852: #define HAVE_SOCKLEN_T 1
1.1.1.4   misho    19853: _ACEOF
                   19854: 
1.1       misho    19855: 
1.1.1.5 ! misho    19856: fi
        !          19857: ac_fn_c_check_type "$LINENO" "struct vifctl" "ac_cv_type_struct_vifctl" "#ifdef SUNOS_5
1.1       misho    19858: #define _XPG4_2
                   19859: #define __EXTENSIONS__
                   19860: #endif
                   19861: #include <stdio.h>
                   19862: #if STDC_HEADERS
                   19863: # include <stdlib.h>
                   19864: # include <stddef.h>
                   19865: #else
                   19866: # if HAVE_STDLIB_H
                   19867: #  include <stdlib.h>
                   19868: # endif
                   19869: #endif
                   19870: #if HAVE_SYS_TYPES_H
                   19871: # include <sys/types.h>
                   19872: #endif
                   19873: /* sys/conf.h depends on param.h on FBSD at least */
                   19874: #if HAVE_SYS_PARAM_H
                   19875: # include <sys/param.h>
                   19876: #endif
                   19877: /* Required for MAXSIG */
                   19878: #if HAVE_SIGNAL_H
                   19879: # include <signal.h>
                   19880: #endif
                   19881: #if HAVE_SYS_SOCKET_H
                   19882: # include <sys/socket.h>
                   19883: #endif
1.1.1.4   misho    19884: #ifdef __APPLE__
                   19885: # define __APPLE_USE_RFC_3542
                   19886: #endif
1.1       misho    19887: #if HAVE_NETINET_IN_H
                   19888: # include <netinet/in.h>
                   19889: #endif
                   19890: #ifdef TIME_WITH_SYS_TIME
                   19891: # include <sys/time.h>
                   19892: # include <time.h>
                   19893: #else
                   19894: # ifdef HAVE_SYS_TIME_H
                   19895: #  include <sys/time.h>
                   19896: # else
                   19897: #  include <time.h>
                   19898: # endif
                   19899: #endif /* TIME_WITH_SYS_TIME */
                   19900: 
                   19901: #if HAVE_NET_IF_H
                   19902: # include <net/if.h>
                   19903: #endif
                   19904: 
                   19905: #if HAVE_NET_IF_VAR_H
                   19906: # include <net/if_var.h>
                   19907: #endif
                   19908: 
                   19909: #if HAVE_SYS_UN_H
                   19910: # include <sys/un.h>
                   19911: #endif
                   19912: #if HAVE_NETINET_IN_SYSTM_H
                   19913: # include <netinet/in_systm.h>
                   19914: #endif
                   19915: #if HAVE_NETINET_IN_VAR_H
                   19916: # include <netinet/in_var.h>
                   19917: #endif
                   19918: #if HAVE_NET_IF_DL_H
                   19919: # include <net/if_dl.h>
                   19920: #endif
                   19921: #if HAVE_NET_NETOPT_H
                   19922: # include <net/netopt.h>
                   19923: #endif
                   19924: #if HAVE_NET_ROUTE_H
                   19925: # include <net/route.h>
                   19926: #endif
                   19927: #if HAVE_INET_ND_H
                   19928: # include <inet/nd.h>
                   19929: #endif
                   19930: #if HAVE_ARPA_INET_H
                   19931: # include <arpa/inet.h>
                   19932: #endif
                   19933: /* Required for IDRP */
                   19934: #if HAVE_NETINET_IP_ICMP_H
                   19935: # include <netinet/ip_icmp.h>
                   19936: #endif
                   19937: 
                   19938: #if HAVE_NETINET6_IN6_H
                   19939: #include <netinet6/in6.h>
                   19940: #endif
                   19941: #if HAVE_NETINET_IN6_VAR_H
                   19942: #include <netinet/in6_var.h>
                   19943: #endif
                   19944: #if HAVE_NETINET_ICMP6_H
                   19945: # include <netinet/icmp6.h>
                   19946: #endif
                   19947: #if HAVE_NETINET6_IN6_VAR_H
                   19948: # include <netinet6/in6_var.h>
                   19949: #endif
                   19950: #if HAVE_NETINET6_ND6_H
                   19951: # include <netinet6/nd6.h>
                   19952: #endif
                   19953: 
                   19954: "
1.1.1.5 ! misho    19955: if test "x$ac_cv_type_struct_vifctl" = xyes; then :
1.1       misho    19956: 
1.1.1.4   misho    19957: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    19958: #define HAVE_STRUCT_VIFCTL 1
1.1.1.4   misho    19959: _ACEOF
1.1       misho    19960: 
                   19961: 
                   19962: fi
1.1.1.5 ! misho    19963: ac_fn_c_check_type "$LINENO" "struct mfcctl" "ac_cv_type_struct_mfcctl" "#ifdef SUNOS_5
1.1       misho    19964: #define _XPG4_2
                   19965: #define __EXTENSIONS__
                   19966: #endif
                   19967: #include <stdio.h>
                   19968: #if STDC_HEADERS
                   19969: # include <stdlib.h>
                   19970: # include <stddef.h>
                   19971: #else
                   19972: # if HAVE_STDLIB_H
                   19973: #  include <stdlib.h>
                   19974: # endif
                   19975: #endif
                   19976: #if HAVE_SYS_TYPES_H
                   19977: # include <sys/types.h>
                   19978: #endif
                   19979: /* sys/conf.h depends on param.h on FBSD at least */
                   19980: #if HAVE_SYS_PARAM_H
                   19981: # include <sys/param.h>
                   19982: #endif
                   19983: /* Required for MAXSIG */
                   19984: #if HAVE_SIGNAL_H
                   19985: # include <signal.h>
                   19986: #endif
                   19987: #if HAVE_SYS_SOCKET_H
                   19988: # include <sys/socket.h>
                   19989: #endif
1.1.1.4   misho    19990: #ifdef __APPLE__
                   19991: # define __APPLE_USE_RFC_3542
                   19992: #endif
1.1       misho    19993: #if HAVE_NETINET_IN_H
                   19994: # include <netinet/in.h>
                   19995: #endif
                   19996: #ifdef TIME_WITH_SYS_TIME
                   19997: # include <sys/time.h>
                   19998: # include <time.h>
                   19999: #else
                   20000: # ifdef HAVE_SYS_TIME_H
                   20001: #  include <sys/time.h>
                   20002: # else
                   20003: #  include <time.h>
                   20004: # endif
                   20005: #endif /* TIME_WITH_SYS_TIME */
                   20006: 
                   20007: #if HAVE_NET_IF_H
                   20008: # include <net/if.h>
                   20009: #endif
                   20010: 
                   20011: #if HAVE_NET_IF_VAR_H
                   20012: # include <net/if_var.h>
                   20013: #endif
                   20014: 
                   20015: #if HAVE_SYS_UN_H
                   20016: # include <sys/un.h>
                   20017: #endif
                   20018: #if HAVE_NETINET_IN_SYSTM_H
                   20019: # include <netinet/in_systm.h>
                   20020: #endif
                   20021: #if HAVE_NETINET_IN_VAR_H
                   20022: # include <netinet/in_var.h>
                   20023: #endif
                   20024: #if HAVE_NET_IF_DL_H
                   20025: # include <net/if_dl.h>
                   20026: #endif
                   20027: #if HAVE_NET_NETOPT_H
                   20028: # include <net/netopt.h>
                   20029: #endif
                   20030: #if HAVE_NET_ROUTE_H
                   20031: # include <net/route.h>
                   20032: #endif
                   20033: #if HAVE_INET_ND_H
                   20034: # include <inet/nd.h>
                   20035: #endif
                   20036: #if HAVE_ARPA_INET_H
                   20037: # include <arpa/inet.h>
                   20038: #endif
                   20039: /* Required for IDRP */
                   20040: #if HAVE_NETINET_IP_ICMP_H
                   20041: # include <netinet/ip_icmp.h>
                   20042: #endif
                   20043: 
                   20044: #if HAVE_NETINET6_IN6_H
                   20045: #include <netinet6/in6.h>
                   20046: #endif
                   20047: #if HAVE_NETINET_IN6_VAR_H
                   20048: #include <netinet/in6_var.h>
                   20049: #endif
                   20050: #if HAVE_NETINET_ICMP6_H
                   20051: # include <netinet/icmp6.h>
                   20052: #endif
                   20053: #if HAVE_NETINET6_IN6_VAR_H
                   20054: # include <netinet6/in6_var.h>
                   20055: #endif
                   20056: #if HAVE_NETINET6_ND6_H
                   20057: # include <netinet6/nd6.h>
                   20058: #endif
                   20059: 
                   20060: "
1.1.1.5 ! misho    20061: if test "x$ac_cv_type_struct_mfcctl" = xyes; then :
1.1       misho    20062: 
                   20063: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    20064: #define HAVE_STRUCT_MFCCTL 1
1.1       misho    20065: _ACEOF
                   20066: 
                   20067: 
                   20068: fi
1.1.1.5 ! misho    20069: ac_fn_c_check_type "$LINENO" "struct sioc_sg_req" "ac_cv_type_struct_sioc_sg_req" "#ifdef SUNOS_5
1.1       misho    20070: #define _XPG4_2
                   20071: #define __EXTENSIONS__
                   20072: #endif
                   20073: #include <stdio.h>
                   20074: #if STDC_HEADERS
                   20075: # include <stdlib.h>
                   20076: # include <stddef.h>
                   20077: #else
                   20078: # if HAVE_STDLIB_H
                   20079: #  include <stdlib.h>
                   20080: # endif
                   20081: #endif
                   20082: #if HAVE_SYS_TYPES_H
                   20083: # include <sys/types.h>
                   20084: #endif
                   20085: /* sys/conf.h depends on param.h on FBSD at least */
                   20086: #if HAVE_SYS_PARAM_H
                   20087: # include <sys/param.h>
                   20088: #endif
                   20089: /* Required for MAXSIG */
                   20090: #if HAVE_SIGNAL_H
                   20091: # include <signal.h>
                   20092: #endif
                   20093: #if HAVE_SYS_SOCKET_H
                   20094: # include <sys/socket.h>
                   20095: #endif
1.1.1.4   misho    20096: #ifdef __APPLE__
                   20097: # define __APPLE_USE_RFC_3542
                   20098: #endif
1.1       misho    20099: #if HAVE_NETINET_IN_H
                   20100: # include <netinet/in.h>
                   20101: #endif
                   20102: #ifdef TIME_WITH_SYS_TIME
                   20103: # include <sys/time.h>
                   20104: # include <time.h>
                   20105: #else
                   20106: # ifdef HAVE_SYS_TIME_H
                   20107: #  include <sys/time.h>
                   20108: # else
                   20109: #  include <time.h>
                   20110: # endif
                   20111: #endif /* TIME_WITH_SYS_TIME */
                   20112: 
                   20113: #if HAVE_NET_IF_H
                   20114: # include <net/if.h>
                   20115: #endif
                   20116: 
                   20117: #if HAVE_NET_IF_VAR_H
                   20118: # include <net/if_var.h>
                   20119: #endif
                   20120: 
                   20121: #if HAVE_SYS_UN_H
                   20122: # include <sys/un.h>
                   20123: #endif
                   20124: #if HAVE_NETINET_IN_SYSTM_H
                   20125: # include <netinet/in_systm.h>
                   20126: #endif
                   20127: #if HAVE_NETINET_IN_VAR_H
                   20128: # include <netinet/in_var.h>
                   20129: #endif
                   20130: #if HAVE_NET_IF_DL_H
                   20131: # include <net/if_dl.h>
                   20132: #endif
                   20133: #if HAVE_NET_NETOPT_H
                   20134: # include <net/netopt.h>
                   20135: #endif
                   20136: #if HAVE_NET_ROUTE_H
                   20137: # include <net/route.h>
                   20138: #endif
                   20139: #if HAVE_INET_ND_H
                   20140: # include <inet/nd.h>
                   20141: #endif
                   20142: #if HAVE_ARPA_INET_H
                   20143: # include <arpa/inet.h>
                   20144: #endif
                   20145: /* Required for IDRP */
                   20146: #if HAVE_NETINET_IP_ICMP_H
                   20147: # include <netinet/ip_icmp.h>
                   20148: #endif
                   20149: 
                   20150: #if HAVE_NETINET6_IN6_H
                   20151: #include <netinet6/in6.h>
                   20152: #endif
                   20153: #if HAVE_NETINET_IN6_VAR_H
                   20154: #include <netinet/in6_var.h>
                   20155: #endif
                   20156: #if HAVE_NETINET_ICMP6_H
                   20157: # include <netinet/icmp6.h>
                   20158: #endif
                   20159: #if HAVE_NETINET6_IN6_VAR_H
                   20160: # include <netinet6/in6_var.h>
                   20161: #endif
                   20162: #if HAVE_NETINET6_ND6_H
                   20163: # include <netinet6/nd6.h>
                   20164: #endif
                   20165: 
                   20166: "
1.1.1.5 ! misho    20167: if test "x$ac_cv_type_struct_sioc_sg_req" = xyes; then :
1.1       misho    20168: 
                   20169: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    20170: #define HAVE_STRUCT_SIOC_SG_REQ 1
1.1       misho    20171: _ACEOF
                   20172: 
                   20173: 
                   20174: fi
1.1.1.5 ! misho    20175: ac_fn_c_check_type "$LINENO" "vifi_t" "ac_cv_type_vifi_t" "#ifdef SUNOS_5
1.1       misho    20176: #define _XPG4_2
                   20177: #define __EXTENSIONS__
                   20178: #endif
                   20179: #include <stdio.h>
                   20180: #if STDC_HEADERS
                   20181: # include <stdlib.h>
                   20182: # include <stddef.h>
                   20183: #else
                   20184: # if HAVE_STDLIB_H
                   20185: #  include <stdlib.h>
                   20186: # endif
                   20187: #endif
                   20188: #if HAVE_SYS_TYPES_H
                   20189: # include <sys/types.h>
                   20190: #endif
                   20191: /* sys/conf.h depends on param.h on FBSD at least */
                   20192: #if HAVE_SYS_PARAM_H
                   20193: # include <sys/param.h>
                   20194: #endif
                   20195: /* Required for MAXSIG */
                   20196: #if HAVE_SIGNAL_H
                   20197: # include <signal.h>
                   20198: #endif
                   20199: #if HAVE_SYS_SOCKET_H
                   20200: # include <sys/socket.h>
                   20201: #endif
1.1.1.4   misho    20202: #ifdef __APPLE__
                   20203: # define __APPLE_USE_RFC_3542
                   20204: #endif
1.1       misho    20205: #if HAVE_NETINET_IN_H
                   20206: # include <netinet/in.h>
                   20207: #endif
                   20208: #ifdef TIME_WITH_SYS_TIME
                   20209: # include <sys/time.h>
                   20210: # include <time.h>
                   20211: #else
                   20212: # ifdef HAVE_SYS_TIME_H
                   20213: #  include <sys/time.h>
                   20214: # else
                   20215: #  include <time.h>
                   20216: # endif
                   20217: #endif /* TIME_WITH_SYS_TIME */
                   20218: 
                   20219: #if HAVE_NET_IF_H
                   20220: # include <net/if.h>
                   20221: #endif
                   20222: 
                   20223: #if HAVE_NET_IF_VAR_H
                   20224: # include <net/if_var.h>
                   20225: #endif
                   20226: 
                   20227: #if HAVE_SYS_UN_H
                   20228: # include <sys/un.h>
                   20229: #endif
                   20230: #if HAVE_NETINET_IN_SYSTM_H
                   20231: # include <netinet/in_systm.h>
                   20232: #endif
                   20233: #if HAVE_NETINET_IN_VAR_H
                   20234: # include <netinet/in_var.h>
                   20235: #endif
                   20236: #if HAVE_NET_IF_DL_H
                   20237: # include <net/if_dl.h>
                   20238: #endif
                   20239: #if HAVE_NET_NETOPT_H
                   20240: # include <net/netopt.h>
                   20241: #endif
                   20242: #if HAVE_NET_ROUTE_H
                   20243: # include <net/route.h>
                   20244: #endif
                   20245: #if HAVE_INET_ND_H
                   20246: # include <inet/nd.h>
                   20247: #endif
                   20248: #if HAVE_ARPA_INET_H
                   20249: # include <arpa/inet.h>
                   20250: #endif
                   20251: /* Required for IDRP */
                   20252: #if HAVE_NETINET_IP_ICMP_H
                   20253: # include <netinet/ip_icmp.h>
                   20254: #endif
                   20255: 
                   20256: #if HAVE_NETINET6_IN6_H
                   20257: #include <netinet6/in6.h>
                   20258: #endif
                   20259: #if HAVE_NETINET_IN6_VAR_H
                   20260: #include <netinet/in6_var.h>
                   20261: #endif
                   20262: #if HAVE_NETINET_ICMP6_H
                   20263: # include <netinet/icmp6.h>
                   20264: #endif
                   20265: #if HAVE_NETINET6_IN6_VAR_H
                   20266: # include <netinet6/in6_var.h>
                   20267: #endif
                   20268: #if HAVE_NETINET6_ND6_H
                   20269: # include <netinet6/nd6.h>
                   20270: #endif
                   20271: 
                   20272: "
1.1.1.5 ! misho    20273: if test "x$ac_cv_type_vifi_t" = xyes; then :
1.1       misho    20274: 
                   20275: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    20276: #define HAVE_VIFI_T 1
1.1       misho    20277: _ACEOF
                   20278: 
                   20279: 
                   20280: fi
1.1.1.5 ! misho    20281: ac_fn_c_check_type "$LINENO" "struct sioc_vif_req" "ac_cv_type_struct_sioc_vif_req" "#ifdef SUNOS_5
1.1       misho    20282: #define _XPG4_2
                   20283: #define __EXTENSIONS__
                   20284: #endif
                   20285: #include <stdio.h>
                   20286: #if STDC_HEADERS
                   20287: # include <stdlib.h>
                   20288: # include <stddef.h>
                   20289: #else
                   20290: # if HAVE_STDLIB_H
                   20291: #  include <stdlib.h>
                   20292: # endif
                   20293: #endif
                   20294: #if HAVE_SYS_TYPES_H
                   20295: # include <sys/types.h>
                   20296: #endif
                   20297: /* sys/conf.h depends on param.h on FBSD at least */
                   20298: #if HAVE_SYS_PARAM_H
                   20299: # include <sys/param.h>
                   20300: #endif
                   20301: /* Required for MAXSIG */
                   20302: #if HAVE_SIGNAL_H
                   20303: # include <signal.h>
                   20304: #endif
                   20305: #if HAVE_SYS_SOCKET_H
                   20306: # include <sys/socket.h>
                   20307: #endif
1.1.1.4   misho    20308: #ifdef __APPLE__
                   20309: # define __APPLE_USE_RFC_3542
                   20310: #endif
1.1       misho    20311: #if HAVE_NETINET_IN_H
                   20312: # include <netinet/in.h>
                   20313: #endif
                   20314: #ifdef TIME_WITH_SYS_TIME
                   20315: # include <sys/time.h>
                   20316: # include <time.h>
                   20317: #else
                   20318: # ifdef HAVE_SYS_TIME_H
                   20319: #  include <sys/time.h>
                   20320: # else
                   20321: #  include <time.h>
                   20322: # endif
                   20323: #endif /* TIME_WITH_SYS_TIME */
                   20324: 
                   20325: #if HAVE_NET_IF_H
                   20326: # include <net/if.h>
                   20327: #endif
                   20328: 
                   20329: #if HAVE_NET_IF_VAR_H
                   20330: # include <net/if_var.h>
                   20331: #endif
                   20332: 
                   20333: #if HAVE_SYS_UN_H
                   20334: # include <sys/un.h>
                   20335: #endif
                   20336: #if HAVE_NETINET_IN_SYSTM_H
                   20337: # include <netinet/in_systm.h>
                   20338: #endif
                   20339: #if HAVE_NETINET_IN_VAR_H
                   20340: # include <netinet/in_var.h>
                   20341: #endif
                   20342: #if HAVE_NET_IF_DL_H
                   20343: # include <net/if_dl.h>
                   20344: #endif
                   20345: #if HAVE_NET_NETOPT_H
                   20346: # include <net/netopt.h>
                   20347: #endif
                   20348: #if HAVE_NET_ROUTE_H
                   20349: # include <net/route.h>
                   20350: #endif
                   20351: #if HAVE_INET_ND_H
                   20352: # include <inet/nd.h>
                   20353: #endif
                   20354: #if HAVE_ARPA_INET_H
                   20355: # include <arpa/inet.h>
                   20356: #endif
                   20357: /* Required for IDRP */
                   20358: #if HAVE_NETINET_IP_ICMP_H
                   20359: # include <netinet/ip_icmp.h>
                   20360: #endif
                   20361: 
                   20362: #if HAVE_NETINET6_IN6_H
                   20363: #include <netinet6/in6.h>
                   20364: #endif
                   20365: #if HAVE_NETINET_IN6_VAR_H
                   20366: #include <netinet/in6_var.h>
                   20367: #endif
                   20368: #if HAVE_NETINET_ICMP6_H
                   20369: # include <netinet/icmp6.h>
                   20370: #endif
                   20371: #if HAVE_NETINET6_IN6_VAR_H
                   20372: # include <netinet6/in6_var.h>
                   20373: #endif
                   20374: #if HAVE_NETINET6_ND6_H
                   20375: # include <netinet6/nd6.h>
                   20376: #endif
                   20377: 
                   20378: "
1.1.1.5 ! misho    20379: if test "x$ac_cv_type_struct_sioc_vif_req" = xyes; then :
1.1       misho    20380: 
                   20381: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    20382: #define HAVE_STRUCT_SIOC_VIF_REQ 1
1.1       misho    20383: _ACEOF
                   20384: 
                   20385: 
                   20386: fi
1.1.1.5 ! misho    20387: ac_fn_c_check_type "$LINENO" "struct igmpmsg" "ac_cv_type_struct_igmpmsg" "#ifdef SUNOS_5
1.1       misho    20388: #define _XPG4_2
                   20389: #define __EXTENSIONS__
                   20390: #endif
                   20391: #include <stdio.h>
                   20392: #if STDC_HEADERS
                   20393: # include <stdlib.h>
                   20394: # include <stddef.h>
                   20395: #else
                   20396: # if HAVE_STDLIB_H
                   20397: #  include <stdlib.h>
                   20398: # endif
                   20399: #endif
                   20400: #if HAVE_SYS_TYPES_H
                   20401: # include <sys/types.h>
                   20402: #endif
                   20403: /* sys/conf.h depends on param.h on FBSD at least */
                   20404: #if HAVE_SYS_PARAM_H
                   20405: # include <sys/param.h>
                   20406: #endif
                   20407: /* Required for MAXSIG */
                   20408: #if HAVE_SIGNAL_H
                   20409: # include <signal.h>
                   20410: #endif
                   20411: #if HAVE_SYS_SOCKET_H
                   20412: # include <sys/socket.h>
                   20413: #endif
1.1.1.4   misho    20414: #ifdef __APPLE__
                   20415: # define __APPLE_USE_RFC_3542
                   20416: #endif
1.1       misho    20417: #if HAVE_NETINET_IN_H
                   20418: # include <netinet/in.h>
                   20419: #endif
                   20420: #ifdef TIME_WITH_SYS_TIME
                   20421: # include <sys/time.h>
                   20422: # include <time.h>
                   20423: #else
                   20424: # ifdef HAVE_SYS_TIME_H
                   20425: #  include <sys/time.h>
                   20426: # else
                   20427: #  include <time.h>
                   20428: # endif
                   20429: #endif /* TIME_WITH_SYS_TIME */
                   20430: 
                   20431: #if HAVE_NET_IF_H
                   20432: # include <net/if.h>
                   20433: #endif
                   20434: 
                   20435: #if HAVE_NET_IF_VAR_H
                   20436: # include <net/if_var.h>
                   20437: #endif
                   20438: 
                   20439: #if HAVE_SYS_UN_H
                   20440: # include <sys/un.h>
                   20441: #endif
                   20442: #if HAVE_NETINET_IN_SYSTM_H
                   20443: # include <netinet/in_systm.h>
                   20444: #endif
                   20445: #if HAVE_NETINET_IN_VAR_H
                   20446: # include <netinet/in_var.h>
                   20447: #endif
                   20448: #if HAVE_NET_IF_DL_H
                   20449: # include <net/if_dl.h>
                   20450: #endif
                   20451: #if HAVE_NET_NETOPT_H
                   20452: # include <net/netopt.h>
                   20453: #endif
                   20454: #if HAVE_NET_ROUTE_H
                   20455: # include <net/route.h>
                   20456: #endif
                   20457: #if HAVE_INET_ND_H
                   20458: # include <inet/nd.h>
                   20459: #endif
                   20460: #if HAVE_ARPA_INET_H
                   20461: # include <arpa/inet.h>
                   20462: #endif
                   20463: /* Required for IDRP */
                   20464: #if HAVE_NETINET_IP_ICMP_H
                   20465: # include <netinet/ip_icmp.h>
                   20466: #endif
                   20467: 
                   20468: #if HAVE_NETINET6_IN6_H
                   20469: #include <netinet6/in6.h>
                   20470: #endif
                   20471: #if HAVE_NETINET_IN6_VAR_H
                   20472: #include <netinet/in6_var.h>
                   20473: #endif
                   20474: #if HAVE_NETINET_ICMP6_H
                   20475: # include <netinet/icmp6.h>
                   20476: #endif
                   20477: #if HAVE_NETINET6_IN6_VAR_H
                   20478: # include <netinet6/in6_var.h>
                   20479: #endif
                   20480: #if HAVE_NETINET6_ND6_H
                   20481: # include <netinet6/nd6.h>
                   20482: #endif
                   20483: 
                   20484: "
1.1.1.5 ! misho    20485: if test "x$ac_cv_type_struct_igmpmsg" = xyes; then :
1.1       misho    20486: 
                   20487: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    20488: #define HAVE_STRUCT_IGMPMSG 1
1.1       misho    20489: _ACEOF
                   20490: 
                   20491: 
                   20492: fi
1.1.1.4   misho    20493: ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5
1.1       misho    20494: #define _XPG4_2
                   20495: #define __EXTENSIONS__
                   20496: #endif
                   20497: #include <stdio.h>
                   20498: #if STDC_HEADERS
                   20499: # include <stdlib.h>
                   20500: # include <stddef.h>
                   20501: #else
                   20502: # if HAVE_STDLIB_H
                   20503: #  include <stdlib.h>
                   20504: # endif
                   20505: #endif
                   20506: #if HAVE_SYS_TYPES_H
                   20507: # include <sys/types.h>
                   20508: #endif
                   20509: /* sys/conf.h depends on param.h on FBSD at least */
                   20510: #if HAVE_SYS_PARAM_H
                   20511: # include <sys/param.h>
                   20512: #endif
                   20513: /* Required for MAXSIG */
                   20514: #if HAVE_SIGNAL_H
                   20515: # include <signal.h>
                   20516: #endif
                   20517: #if HAVE_SYS_SOCKET_H
                   20518: # include <sys/socket.h>
                   20519: #endif
1.1.1.4   misho    20520: #ifdef __APPLE__
                   20521: # define __APPLE_USE_RFC_3542
                   20522: #endif
1.1       misho    20523: #if HAVE_NETINET_IN_H
                   20524: # include <netinet/in.h>
                   20525: #endif
                   20526: #ifdef TIME_WITH_SYS_TIME
                   20527: # include <sys/time.h>
                   20528: # include <time.h>
                   20529: #else
                   20530: # ifdef HAVE_SYS_TIME_H
                   20531: #  include <sys/time.h>
                   20532: # else
                   20533: #  include <time.h>
                   20534: # endif
                   20535: #endif /* TIME_WITH_SYS_TIME */
                   20536: 
                   20537: #if HAVE_NET_IF_H
                   20538: # include <net/if.h>
                   20539: #endif
                   20540: 
                   20541: #if HAVE_NET_IF_VAR_H
                   20542: # include <net/if_var.h>
                   20543: #endif
                   20544: 
                   20545: #if HAVE_SYS_UN_H
                   20546: # include <sys/un.h>
                   20547: #endif
                   20548: #if HAVE_NETINET_IN_SYSTM_H
                   20549: # include <netinet/in_systm.h>
                   20550: #endif
                   20551: #if HAVE_NETINET_IN_VAR_H
                   20552: # include <netinet/in_var.h>
                   20553: #endif
                   20554: #if HAVE_NET_IF_DL_H
                   20555: # include <net/if_dl.h>
                   20556: #endif
                   20557: #if HAVE_NET_NETOPT_H
                   20558: # include <net/netopt.h>
                   20559: #endif
                   20560: #if HAVE_NET_ROUTE_H
                   20561: # include <net/route.h>
                   20562: #endif
                   20563: #if HAVE_INET_ND_H
                   20564: # include <inet/nd.h>
                   20565: #endif
                   20566: #if HAVE_ARPA_INET_H
                   20567: # include <arpa/inet.h>
                   20568: #endif
                   20569: /* Required for IDRP */
                   20570: #if HAVE_NETINET_IP_ICMP_H
                   20571: # include <netinet/ip_icmp.h>
                   20572: #endif
                   20573: 
                   20574: #if HAVE_NETINET6_IN6_H
                   20575: #include <netinet6/in6.h>
                   20576: #endif
                   20577: #if HAVE_NETINET_IN6_VAR_H
                   20578: #include <netinet/in6_var.h>
                   20579: #endif
                   20580: #if HAVE_NETINET_ICMP6_H
                   20581: # include <netinet/icmp6.h>
                   20582: #endif
                   20583: #if HAVE_NETINET6_IN6_VAR_H
                   20584: # include <netinet6/in6_var.h>
                   20585: #endif
                   20586: #if HAVE_NETINET6_ND6_H
                   20587: # include <netinet6/nd6.h>
                   20588: #endif
                   20589: 
                   20590: "
1.1.1.4   misho    20591: if test "x$ac_cv_type_struct_ifaliasreq" = xyes; then :
1.1       misho    20592: 
                   20593: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    20594: #define HAVE_STRUCT_IFALIASREQ 1
1.1       misho    20595: _ACEOF
                   20596: 
                   20597: 
                   20598: fi
1.1.1.4   misho    20599: ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac_cv_type_struct_if6_aliasreq" "#ifdef SUNOS_5
1.1       misho    20600: #define _XPG4_2
                   20601: #define __EXTENSIONS__
                   20602: #endif
                   20603: #include <stdio.h>
                   20604: #if STDC_HEADERS
                   20605: # include <stdlib.h>
                   20606: # include <stddef.h>
                   20607: #else
                   20608: # if HAVE_STDLIB_H
                   20609: #  include <stdlib.h>
                   20610: # endif
                   20611: #endif
                   20612: #if HAVE_SYS_TYPES_H
                   20613: # include <sys/types.h>
                   20614: #endif
                   20615: /* sys/conf.h depends on param.h on FBSD at least */
                   20616: #if HAVE_SYS_PARAM_H
                   20617: # include <sys/param.h>
                   20618: #endif
                   20619: /* Required for MAXSIG */
                   20620: #if HAVE_SIGNAL_H
                   20621: # include <signal.h>
                   20622: #endif
                   20623: #if HAVE_SYS_SOCKET_H
                   20624: # include <sys/socket.h>
                   20625: #endif
1.1.1.4   misho    20626: #ifdef __APPLE__
                   20627: # define __APPLE_USE_RFC_3542
                   20628: #endif
1.1       misho    20629: #if HAVE_NETINET_IN_H
                   20630: # include <netinet/in.h>
                   20631: #endif
                   20632: #ifdef TIME_WITH_SYS_TIME
                   20633: # include <sys/time.h>
                   20634: # include <time.h>
                   20635: #else
                   20636: # ifdef HAVE_SYS_TIME_H
                   20637: #  include <sys/time.h>
                   20638: # else
                   20639: #  include <time.h>
                   20640: # endif
                   20641: #endif /* TIME_WITH_SYS_TIME */
                   20642: 
                   20643: #if HAVE_NET_IF_H
                   20644: # include <net/if.h>
                   20645: #endif
                   20646: 
                   20647: #if HAVE_NET_IF_VAR_H
                   20648: # include <net/if_var.h>
                   20649: #endif
                   20650: 
                   20651: #if HAVE_SYS_UN_H
                   20652: # include <sys/un.h>
                   20653: #endif
                   20654: #if HAVE_NETINET_IN_SYSTM_H
                   20655: # include <netinet/in_systm.h>
                   20656: #endif
                   20657: #if HAVE_NETINET_IN_VAR_H
                   20658: # include <netinet/in_var.h>
                   20659: #endif
                   20660: #if HAVE_NET_IF_DL_H
                   20661: # include <net/if_dl.h>
                   20662: #endif
                   20663: #if HAVE_NET_NETOPT_H
                   20664: # include <net/netopt.h>
                   20665: #endif
                   20666: #if HAVE_NET_ROUTE_H
                   20667: # include <net/route.h>
                   20668: #endif
                   20669: #if HAVE_INET_ND_H
                   20670: # include <inet/nd.h>
                   20671: #endif
                   20672: #if HAVE_ARPA_INET_H
                   20673: # include <arpa/inet.h>
                   20674: #endif
                   20675: /* Required for IDRP */
                   20676: #if HAVE_NETINET_IP_ICMP_H
                   20677: # include <netinet/ip_icmp.h>
                   20678: #endif
                   20679: 
                   20680: #if HAVE_NETINET6_IN6_H
                   20681: #include <netinet6/in6.h>
                   20682: #endif
                   20683: #if HAVE_NETINET_IN6_VAR_H
                   20684: #include <netinet/in6_var.h>
                   20685: #endif
                   20686: #if HAVE_NETINET_ICMP6_H
                   20687: # include <netinet/icmp6.h>
                   20688: #endif
                   20689: #if HAVE_NETINET6_IN6_VAR_H
                   20690: # include <netinet6/in6_var.h>
                   20691: #endif
                   20692: #if HAVE_NETINET6_ND6_H
                   20693: # include <netinet6/nd6.h>
                   20694: #endif
                   20695: 
                   20696: "
1.1.1.4   misho    20697: if test "x$ac_cv_type_struct_if6_aliasreq" = xyes; then :
1.1       misho    20698: 
                   20699: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    20700: #define HAVE_STRUCT_IF6_ALIASREQ 1
1.1       misho    20701: _ACEOF
                   20702: 
                   20703: 
                   20704: fi
1.1.1.4   misho    20705: ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac_cv_type_struct_in6_aliasreq" "#ifdef SUNOS_5
1.1       misho    20706: #define _XPG4_2
                   20707: #define __EXTENSIONS__
                   20708: #endif
                   20709: #include <stdio.h>
                   20710: #if STDC_HEADERS
                   20711: # include <stdlib.h>
                   20712: # include <stddef.h>
                   20713: #else
                   20714: # if HAVE_STDLIB_H
                   20715: #  include <stdlib.h>
                   20716: # endif
                   20717: #endif
                   20718: #if HAVE_SYS_TYPES_H
                   20719: # include <sys/types.h>
                   20720: #endif
                   20721: /* sys/conf.h depends on param.h on FBSD at least */
                   20722: #if HAVE_SYS_PARAM_H
                   20723: # include <sys/param.h>
                   20724: #endif
                   20725: /* Required for MAXSIG */
                   20726: #if HAVE_SIGNAL_H
                   20727: # include <signal.h>
                   20728: #endif
                   20729: #if HAVE_SYS_SOCKET_H
                   20730: # include <sys/socket.h>
                   20731: #endif
1.1.1.4   misho    20732: #ifdef __APPLE__
                   20733: # define __APPLE_USE_RFC_3542
                   20734: #endif
1.1       misho    20735: #if HAVE_NETINET_IN_H
                   20736: # include <netinet/in.h>
                   20737: #endif
                   20738: #ifdef TIME_WITH_SYS_TIME
                   20739: # include <sys/time.h>
                   20740: # include <time.h>
                   20741: #else
                   20742: # ifdef HAVE_SYS_TIME_H
                   20743: #  include <sys/time.h>
                   20744: # else
                   20745: #  include <time.h>
                   20746: # endif
                   20747: #endif /* TIME_WITH_SYS_TIME */
                   20748: 
                   20749: #if HAVE_NET_IF_H
                   20750: # include <net/if.h>
                   20751: #endif
                   20752: 
                   20753: #if HAVE_NET_IF_VAR_H
                   20754: # include <net/if_var.h>
                   20755: #endif
                   20756: 
                   20757: #if HAVE_SYS_UN_H
                   20758: # include <sys/un.h>
                   20759: #endif
                   20760: #if HAVE_NETINET_IN_SYSTM_H
                   20761: # include <netinet/in_systm.h>
                   20762: #endif
                   20763: #if HAVE_NETINET_IN_VAR_H
                   20764: # include <netinet/in_var.h>
                   20765: #endif
                   20766: #if HAVE_NET_IF_DL_H
                   20767: # include <net/if_dl.h>
                   20768: #endif
                   20769: #if HAVE_NET_NETOPT_H
                   20770: # include <net/netopt.h>
                   20771: #endif
                   20772: #if HAVE_NET_ROUTE_H
                   20773: # include <net/route.h>
                   20774: #endif
                   20775: #if HAVE_INET_ND_H
                   20776: # include <inet/nd.h>
                   20777: #endif
                   20778: #if HAVE_ARPA_INET_H
                   20779: # include <arpa/inet.h>
                   20780: #endif
                   20781: /* Required for IDRP */
                   20782: #if HAVE_NETINET_IP_ICMP_H
                   20783: # include <netinet/ip_icmp.h>
                   20784: #endif
                   20785: 
                   20786: #if HAVE_NETINET6_IN6_H
                   20787: #include <netinet6/in6.h>
                   20788: #endif
                   20789: #if HAVE_NETINET_IN6_VAR_H
                   20790: #include <netinet/in6_var.h>
                   20791: #endif
                   20792: #if HAVE_NETINET_ICMP6_H
                   20793: # include <netinet/icmp6.h>
                   20794: #endif
                   20795: #if HAVE_NETINET6_IN6_VAR_H
                   20796: # include <netinet6/in6_var.h>
                   20797: #endif
                   20798: #if HAVE_NETINET6_ND6_H
                   20799: # include <netinet6/nd6.h>
                   20800: #endif
                   20801: 
                   20802: "
1.1.1.4   misho    20803: if test "x$ac_cv_type_struct_in6_aliasreq" = xyes; then :
1.1       misho    20804: 
                   20805: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    20806: #define HAVE_STRUCT_IN6_ALIASREQ 1
1.1       misho    20807: _ACEOF
                   20808: 
                   20809: 
                   20810: fi
1.1.1.4   misho    20811: ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
1.1       misho    20812: #define _XPG4_2
                   20813: #define __EXTENSIONS__
                   20814: #endif
                   20815: #include <stdio.h>
                   20816: #if STDC_HEADERS
                   20817: # include <stdlib.h>
                   20818: # include <stddef.h>
                   20819: #else
                   20820: # if HAVE_STDLIB_H
                   20821: #  include <stdlib.h>
                   20822: # endif
                   20823: #endif
                   20824: #if HAVE_SYS_TYPES_H
                   20825: # include <sys/types.h>
                   20826: #endif
                   20827: /* sys/conf.h depends on param.h on FBSD at least */
                   20828: #if HAVE_SYS_PARAM_H
                   20829: # include <sys/param.h>
                   20830: #endif
                   20831: /* Required for MAXSIG */
                   20832: #if HAVE_SIGNAL_H
                   20833: # include <signal.h>
                   20834: #endif
                   20835: #if HAVE_SYS_SOCKET_H
                   20836: # include <sys/socket.h>
                   20837: #endif
1.1.1.4   misho    20838: #ifdef __APPLE__
                   20839: # define __APPLE_USE_RFC_3542
                   20840: #endif
1.1       misho    20841: #if HAVE_NETINET_IN_H
                   20842: # include <netinet/in.h>
                   20843: #endif
                   20844: #ifdef TIME_WITH_SYS_TIME
                   20845: # include <sys/time.h>
                   20846: # include <time.h>
                   20847: #else
                   20848: # ifdef HAVE_SYS_TIME_H
                   20849: #  include <sys/time.h>
                   20850: # else
                   20851: #  include <time.h>
                   20852: # endif
                   20853: #endif /* TIME_WITH_SYS_TIME */
                   20854: 
                   20855: #if HAVE_NET_IF_H
                   20856: # include <net/if.h>
                   20857: #endif
                   20858: 
                   20859: #if HAVE_NET_IF_VAR_H
                   20860: # include <net/if_var.h>
                   20861: #endif
                   20862: 
                   20863: #if HAVE_SYS_UN_H
                   20864: # include <sys/un.h>
                   20865: #endif
                   20866: #if HAVE_NETINET_IN_SYSTM_H
                   20867: # include <netinet/in_systm.h>
                   20868: #endif
                   20869: #if HAVE_NETINET_IN_VAR_H
                   20870: # include <netinet/in_var.h>
                   20871: #endif
                   20872: #if HAVE_NET_IF_DL_H
                   20873: # include <net/if_dl.h>
                   20874: #endif
                   20875: #if HAVE_NET_NETOPT_H
                   20876: # include <net/netopt.h>
                   20877: #endif
                   20878: #if HAVE_NET_ROUTE_H
                   20879: # include <net/route.h>
                   20880: #endif
                   20881: #if HAVE_INET_ND_H
                   20882: # include <inet/nd.h>
                   20883: #endif
                   20884: #if HAVE_ARPA_INET_H
                   20885: # include <arpa/inet.h>
                   20886: #endif
                   20887: /* Required for IDRP */
                   20888: #if HAVE_NETINET_IP_ICMP_H
                   20889: # include <netinet/ip_icmp.h>
                   20890: #endif
                   20891: 
                   20892: #if HAVE_NETINET6_IN6_H
                   20893: #include <netinet6/in6.h>
                   20894: #endif
                   20895: #if HAVE_NETINET_IN6_VAR_H
                   20896: #include <netinet/in6_var.h>
                   20897: #endif
                   20898: #if HAVE_NETINET_ICMP6_H
                   20899: # include <netinet/icmp6.h>
                   20900: #endif
                   20901: #if HAVE_NETINET6_IN6_VAR_H
                   20902: # include <netinet6/in6_var.h>
                   20903: #endif
                   20904: #if HAVE_NETINET6_ND6_H
                   20905: # include <netinet6/nd6.h>
                   20906: #endif
                   20907: 
                   20908: "
1.1.1.4   misho    20909: if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
1.1       misho    20910: 
                   20911: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    20912: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
1.1       misho    20913: _ACEOF
                   20914: 
                   20915: 
                   20916: fi
1.1.1.4   misho    20917: ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_cv_type_struct_rt_addrinfo" "#ifdef SUNOS_5
1.1       misho    20918: #define _XPG4_2
                   20919: #define __EXTENSIONS__
                   20920: #endif
                   20921: #include <stdio.h>
                   20922: #if STDC_HEADERS
                   20923: # include <stdlib.h>
                   20924: # include <stddef.h>
                   20925: #else
                   20926: # if HAVE_STDLIB_H
                   20927: #  include <stdlib.h>
                   20928: # endif
                   20929: #endif
                   20930: #if HAVE_SYS_TYPES_H
                   20931: # include <sys/types.h>
                   20932: #endif
                   20933: /* sys/conf.h depends on param.h on FBSD at least */
                   20934: #if HAVE_SYS_PARAM_H
                   20935: # include <sys/param.h>
                   20936: #endif
                   20937: /* Required for MAXSIG */
                   20938: #if HAVE_SIGNAL_H
                   20939: # include <signal.h>
                   20940: #endif
                   20941: #if HAVE_SYS_SOCKET_H
                   20942: # include <sys/socket.h>
                   20943: #endif
1.1.1.4   misho    20944: #ifdef __APPLE__
                   20945: # define __APPLE_USE_RFC_3542
                   20946: #endif
1.1       misho    20947: #if HAVE_NETINET_IN_H
                   20948: # include <netinet/in.h>
                   20949: #endif
                   20950: #ifdef TIME_WITH_SYS_TIME
                   20951: # include <sys/time.h>
                   20952: # include <time.h>
                   20953: #else
                   20954: # ifdef HAVE_SYS_TIME_H
                   20955: #  include <sys/time.h>
                   20956: # else
                   20957: #  include <time.h>
                   20958: # endif
                   20959: #endif /* TIME_WITH_SYS_TIME */
                   20960: 
                   20961: #if HAVE_NET_IF_H
                   20962: # include <net/if.h>
                   20963: #endif
                   20964: 
                   20965: #if HAVE_NET_IF_VAR_H
                   20966: # include <net/if_var.h>
                   20967: #endif
                   20968: 
                   20969: #if HAVE_SYS_UN_H
                   20970: # include <sys/un.h>
                   20971: #endif
                   20972: #if HAVE_NETINET_IN_SYSTM_H
                   20973: # include <netinet/in_systm.h>
                   20974: #endif
                   20975: #if HAVE_NETINET_IN_VAR_H
                   20976: # include <netinet/in_var.h>
                   20977: #endif
                   20978: #if HAVE_NET_IF_DL_H
                   20979: # include <net/if_dl.h>
                   20980: #endif
                   20981: #if HAVE_NET_NETOPT_H
                   20982: # include <net/netopt.h>
                   20983: #endif
                   20984: #if HAVE_NET_ROUTE_H
                   20985: # include <net/route.h>
                   20986: #endif
                   20987: #if HAVE_INET_ND_H
                   20988: # include <inet/nd.h>
                   20989: #endif
                   20990: #if HAVE_ARPA_INET_H
                   20991: # include <arpa/inet.h>
                   20992: #endif
                   20993: /* Required for IDRP */
                   20994: #if HAVE_NETINET_IP_ICMP_H
                   20995: # include <netinet/ip_icmp.h>
                   20996: #endif
                   20997: 
                   20998: #if HAVE_NETINET6_IN6_H
                   20999: #include <netinet6/in6.h>
                   21000: #endif
                   21001: #if HAVE_NETINET_IN6_VAR_H
                   21002: #include <netinet/in6_var.h>
                   21003: #endif
                   21004: #if HAVE_NETINET_ICMP6_H
                   21005: # include <netinet/icmp6.h>
                   21006: #endif
                   21007: #if HAVE_NETINET6_IN6_VAR_H
                   21008: # include <netinet6/in6_var.h>
                   21009: #endif
                   21010: #if HAVE_NETINET6_ND6_H
                   21011: # include <netinet6/nd6.h>
                   21012: #endif
                   21013: 
                   21014: "
1.1.1.4   misho    21015: if test "x$ac_cv_type_struct_rt_addrinfo" = xyes; then :
1.1       misho    21016: 
                   21017: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21018: #define HAVE_STRUCT_RT_ADDRINFO 1
1.1       misho    21019: _ACEOF
                   21020: 
                   21021: 
                   21022: fi
1.1.1.4   misho    21023: ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_info" "ac_cv_type_struct_nd_opt_homeagent_info" "#ifdef SUNOS_5
1.1       misho    21024: #define _XPG4_2
                   21025: #define __EXTENSIONS__
                   21026: #endif
                   21027: #include <stdio.h>
                   21028: #if STDC_HEADERS
                   21029: # include <stdlib.h>
                   21030: # include <stddef.h>
                   21031: #else
                   21032: # if HAVE_STDLIB_H
                   21033: #  include <stdlib.h>
                   21034: # endif
                   21035: #endif
                   21036: #if HAVE_SYS_TYPES_H
                   21037: # include <sys/types.h>
                   21038: #endif
                   21039: /* sys/conf.h depends on param.h on FBSD at least */
                   21040: #if HAVE_SYS_PARAM_H
                   21041: # include <sys/param.h>
                   21042: #endif
                   21043: /* Required for MAXSIG */
                   21044: #if HAVE_SIGNAL_H
                   21045: # include <signal.h>
                   21046: #endif
                   21047: #if HAVE_SYS_SOCKET_H
                   21048: # include <sys/socket.h>
                   21049: #endif
1.1.1.4   misho    21050: #ifdef __APPLE__
                   21051: # define __APPLE_USE_RFC_3542
                   21052: #endif
1.1       misho    21053: #if HAVE_NETINET_IN_H
                   21054: # include <netinet/in.h>
                   21055: #endif
                   21056: #ifdef TIME_WITH_SYS_TIME
                   21057: # include <sys/time.h>
                   21058: # include <time.h>
                   21059: #else
                   21060: # ifdef HAVE_SYS_TIME_H
                   21061: #  include <sys/time.h>
                   21062: # else
                   21063: #  include <time.h>
                   21064: # endif
                   21065: #endif /* TIME_WITH_SYS_TIME */
                   21066: 
                   21067: #if HAVE_NET_IF_H
                   21068: # include <net/if.h>
                   21069: #endif
                   21070: 
                   21071: #if HAVE_NET_IF_VAR_H
                   21072: # include <net/if_var.h>
                   21073: #endif
                   21074: 
                   21075: #if HAVE_SYS_UN_H
                   21076: # include <sys/un.h>
                   21077: #endif
                   21078: #if HAVE_NETINET_IN_SYSTM_H
                   21079: # include <netinet/in_systm.h>
                   21080: #endif
                   21081: #if HAVE_NETINET_IN_VAR_H
                   21082: # include <netinet/in_var.h>
                   21083: #endif
                   21084: #if HAVE_NET_IF_DL_H
                   21085: # include <net/if_dl.h>
                   21086: #endif
                   21087: #if HAVE_NET_NETOPT_H
                   21088: # include <net/netopt.h>
                   21089: #endif
                   21090: #if HAVE_NET_ROUTE_H
                   21091: # include <net/route.h>
                   21092: #endif
                   21093: #if HAVE_INET_ND_H
                   21094: # include <inet/nd.h>
                   21095: #endif
                   21096: #if HAVE_ARPA_INET_H
                   21097: # include <arpa/inet.h>
                   21098: #endif
                   21099: /* Required for IDRP */
                   21100: #if HAVE_NETINET_IP_ICMP_H
                   21101: # include <netinet/ip_icmp.h>
                   21102: #endif
                   21103: 
                   21104: #if HAVE_NETINET6_IN6_H
                   21105: #include <netinet6/in6.h>
                   21106: #endif
                   21107: #if HAVE_NETINET_IN6_VAR_H
                   21108: #include <netinet/in6_var.h>
                   21109: #endif
                   21110: #if HAVE_NETINET_ICMP6_H
                   21111: # include <netinet/icmp6.h>
                   21112: #endif
                   21113: #if HAVE_NETINET6_IN6_VAR_H
                   21114: # include <netinet6/in6_var.h>
                   21115: #endif
                   21116: #if HAVE_NETINET6_ND6_H
                   21117: # include <netinet6/nd6.h>
                   21118: #endif
                   21119: 
                   21120: "
1.1.1.4   misho    21121: if test "x$ac_cv_type_struct_nd_opt_homeagent_info" = xyes; then :
1.1       misho    21122: 
                   21123: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21124: #define HAVE_STRUCT_ND_OPT_HOMEAGENT_INFO 1
1.1       misho    21125: _ACEOF
                   21126: 
                   21127: 
                   21128: fi
1.1.1.4   misho    21129: ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
1.1       misho    21130: #define _XPG4_2
                   21131: #define __EXTENSIONS__
                   21132: #endif
                   21133: #include <stdio.h>
                   21134: #if STDC_HEADERS
                   21135: # include <stdlib.h>
                   21136: # include <stddef.h>
                   21137: #else
                   21138: # if HAVE_STDLIB_H
                   21139: #  include <stdlib.h>
                   21140: # endif
                   21141: #endif
                   21142: #if HAVE_SYS_TYPES_H
                   21143: # include <sys/types.h>
                   21144: #endif
                   21145: /* sys/conf.h depends on param.h on FBSD at least */
                   21146: #if HAVE_SYS_PARAM_H
                   21147: # include <sys/param.h>
                   21148: #endif
                   21149: /* Required for MAXSIG */
                   21150: #if HAVE_SIGNAL_H
                   21151: # include <signal.h>
                   21152: #endif
                   21153: #if HAVE_SYS_SOCKET_H
                   21154: # include <sys/socket.h>
                   21155: #endif
1.1.1.4   misho    21156: #ifdef __APPLE__
                   21157: # define __APPLE_USE_RFC_3542
                   21158: #endif
1.1       misho    21159: #if HAVE_NETINET_IN_H
                   21160: # include <netinet/in.h>
                   21161: #endif
                   21162: #ifdef TIME_WITH_SYS_TIME
                   21163: # include <sys/time.h>
                   21164: # include <time.h>
                   21165: #else
                   21166: # ifdef HAVE_SYS_TIME_H
                   21167: #  include <sys/time.h>
                   21168: # else
                   21169: #  include <time.h>
                   21170: # endif
                   21171: #endif /* TIME_WITH_SYS_TIME */
                   21172: 
                   21173: #if HAVE_NET_IF_H
                   21174: # include <net/if.h>
                   21175: #endif
                   21176: 
                   21177: #if HAVE_NET_IF_VAR_H
                   21178: # include <net/if_var.h>
                   21179: #endif
                   21180: 
                   21181: #if HAVE_SYS_UN_H
                   21182: # include <sys/un.h>
                   21183: #endif
                   21184: #if HAVE_NETINET_IN_SYSTM_H
                   21185: # include <netinet/in_systm.h>
                   21186: #endif
                   21187: #if HAVE_NETINET_IN_VAR_H
                   21188: # include <netinet/in_var.h>
                   21189: #endif
                   21190: #if HAVE_NET_IF_DL_H
                   21191: # include <net/if_dl.h>
                   21192: #endif
                   21193: #if HAVE_NET_NETOPT_H
                   21194: # include <net/netopt.h>
                   21195: #endif
                   21196: #if HAVE_NET_ROUTE_H
                   21197: # include <net/route.h>
                   21198: #endif
                   21199: #if HAVE_INET_ND_H
                   21200: # include <inet/nd.h>
                   21201: #endif
                   21202: #if HAVE_ARPA_INET_H
                   21203: # include <arpa/inet.h>
                   21204: #endif
                   21205: /* Required for IDRP */
                   21206: #if HAVE_NETINET_IP_ICMP_H
                   21207: # include <netinet/ip_icmp.h>
                   21208: #endif
                   21209: 
                   21210: #if HAVE_NETINET6_IN6_H
                   21211: #include <netinet6/in6.h>
                   21212: #endif
                   21213: #if HAVE_NETINET_IN6_VAR_H
                   21214: #include <netinet/in6_var.h>
                   21215: #endif
                   21216: #if HAVE_NETINET_ICMP6_H
                   21217: # include <netinet/icmp6.h>
                   21218: #endif
                   21219: #if HAVE_NETINET6_IN6_VAR_H
                   21220: # include <netinet6/in6_var.h>
                   21221: #endif
                   21222: #if HAVE_NETINET6_ND6_H
                   21223: # include <netinet6/nd6.h>
                   21224: #endif
                   21225: 
                   21226: "
1.1.1.4   misho    21227: if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
1.1       misho    21228: 
                   21229: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21230: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
1.1       misho    21231: _ACEOF
                   21232: 
                   21233: 
                   21234: fi
1.1.1.4   misho    21235: 
                   21236: 
                   21237: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#ifdef SUNOS_5
1.1       misho    21238: #define _XPG4_2
                   21239: #define __EXTENSIONS__
                   21240: #endif
                   21241: #include <stdio.h>
                   21242: #if STDC_HEADERS
                   21243: # include <stdlib.h>
                   21244: # include <stddef.h>
                   21245: #else
                   21246: # if HAVE_STDLIB_H
                   21247: #  include <stdlib.h>
                   21248: # endif
                   21249: #endif
                   21250: #if HAVE_SYS_TYPES_H
                   21251: # include <sys/types.h>
                   21252: #endif
                   21253: /* sys/conf.h depends on param.h on FBSD at least */
                   21254: #if HAVE_SYS_PARAM_H
                   21255: # include <sys/param.h>
                   21256: #endif
                   21257: /* Required for MAXSIG */
                   21258: #if HAVE_SIGNAL_H
                   21259: # include <signal.h>
                   21260: #endif
                   21261: #if HAVE_SYS_SOCKET_H
                   21262: # include <sys/socket.h>
                   21263: #endif
1.1.1.4   misho    21264: #ifdef __APPLE__
                   21265: # define __APPLE_USE_RFC_3542
                   21266: #endif
1.1       misho    21267: #if HAVE_NETINET_IN_H
                   21268: # include <netinet/in.h>
                   21269: #endif
                   21270: #ifdef TIME_WITH_SYS_TIME
                   21271: # include <sys/time.h>
                   21272: # include <time.h>
                   21273: #else
                   21274: # ifdef HAVE_SYS_TIME_H
                   21275: #  include <sys/time.h>
                   21276: # else
                   21277: #  include <time.h>
                   21278: # endif
                   21279: #endif /* TIME_WITH_SYS_TIME */
                   21280: 
                   21281: #if HAVE_NET_IF_H
                   21282: # include <net/if.h>
                   21283: #endif
                   21284: 
                   21285: #if HAVE_NET_IF_VAR_H
                   21286: # include <net/if_var.h>
                   21287: #endif
                   21288: 
                   21289: #if HAVE_SYS_UN_H
                   21290: # include <sys/un.h>
                   21291: #endif
                   21292: #if HAVE_NETINET_IN_SYSTM_H
                   21293: # include <netinet/in_systm.h>
                   21294: #endif
                   21295: #if HAVE_NETINET_IN_VAR_H
                   21296: # include <netinet/in_var.h>
                   21297: #endif
                   21298: #if HAVE_NET_IF_DL_H
                   21299: # include <net/if_dl.h>
                   21300: #endif
                   21301: #if HAVE_NET_NETOPT_H
                   21302: # include <net/netopt.h>
                   21303: #endif
                   21304: #if HAVE_NET_ROUTE_H
                   21305: # include <net/route.h>
                   21306: #endif
                   21307: #if HAVE_INET_ND_H
                   21308: # include <inet/nd.h>
                   21309: #endif
                   21310: #if HAVE_ARPA_INET_H
                   21311: # include <arpa/inet.h>
                   21312: #endif
                   21313: /* Required for IDRP */
                   21314: #if HAVE_NETINET_IP_ICMP_H
                   21315: # include <netinet/ip_icmp.h>
                   21316: #endif
                   21317: 
                   21318: #if HAVE_NETINET6_IN6_H
                   21319: #include <netinet6/in6.h>
                   21320: #endif
                   21321: #if HAVE_NETINET_IN6_VAR_H
                   21322: #include <netinet/in6_var.h>
                   21323: #endif
                   21324: #if HAVE_NETINET_ICMP6_H
                   21325: # include <netinet/icmp6.h>
                   21326: #endif
                   21327: #if HAVE_NETINET6_IN6_VAR_H
                   21328: # include <netinet6/in6_var.h>
                   21329: #endif
                   21330: #if HAVE_NETINET6_ND6_H
                   21331: # include <netinet6/nd6.h>
                   21332: #endif
                   21333: 
                   21334: "
1.1.1.4   misho    21335: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
1.1       misho    21336: 
                   21337: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21338: #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
1.1       misho    21339: _ACEOF
                   21340: 
                   21341: 
                   21342: fi
1.1.1.4   misho    21343: ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#ifdef SUNOS_5
1.1       misho    21344: #define _XPG4_2
                   21345: #define __EXTENSIONS__
                   21346: #endif
                   21347: #include <stdio.h>
                   21348: #if STDC_HEADERS
                   21349: # include <stdlib.h>
                   21350: # include <stddef.h>
                   21351: #else
                   21352: # if HAVE_STDLIB_H
                   21353: #  include <stdlib.h>
                   21354: # endif
                   21355: #endif
                   21356: #if HAVE_SYS_TYPES_H
                   21357: # include <sys/types.h>
                   21358: #endif
                   21359: /* sys/conf.h depends on param.h on FBSD at least */
                   21360: #if HAVE_SYS_PARAM_H
                   21361: # include <sys/param.h>
                   21362: #endif
                   21363: /* Required for MAXSIG */
                   21364: #if HAVE_SIGNAL_H
                   21365: # include <signal.h>
                   21366: #endif
                   21367: #if HAVE_SYS_SOCKET_H
                   21368: # include <sys/socket.h>
                   21369: #endif
1.1.1.4   misho    21370: #ifdef __APPLE__
                   21371: # define __APPLE_USE_RFC_3542
                   21372: #endif
1.1       misho    21373: #if HAVE_NETINET_IN_H
                   21374: # include <netinet/in.h>
                   21375: #endif
                   21376: #ifdef TIME_WITH_SYS_TIME
                   21377: # include <sys/time.h>
                   21378: # include <time.h>
                   21379: #else
                   21380: # ifdef HAVE_SYS_TIME_H
                   21381: #  include <sys/time.h>
                   21382: # else
                   21383: #  include <time.h>
                   21384: # endif
                   21385: #endif /* TIME_WITH_SYS_TIME */
                   21386: 
                   21387: #if HAVE_NET_IF_H
                   21388: # include <net/if.h>
                   21389: #endif
                   21390: 
                   21391: #if HAVE_NET_IF_VAR_H
                   21392: # include <net/if_var.h>
                   21393: #endif
                   21394: 
                   21395: #if HAVE_SYS_UN_H
                   21396: # include <sys/un.h>
                   21397: #endif
                   21398: #if HAVE_NETINET_IN_SYSTM_H
                   21399: # include <netinet/in_systm.h>
                   21400: #endif
                   21401: #if HAVE_NETINET_IN_VAR_H
                   21402: # include <netinet/in_var.h>
                   21403: #endif
                   21404: #if HAVE_NET_IF_DL_H
                   21405: # include <net/if_dl.h>
                   21406: #endif
                   21407: #if HAVE_NET_NETOPT_H
                   21408: # include <net/netopt.h>
                   21409: #endif
                   21410: #if HAVE_NET_ROUTE_H
                   21411: # include <net/route.h>
                   21412: #endif
                   21413: #if HAVE_INET_ND_H
                   21414: # include <inet/nd.h>
                   21415: #endif
                   21416: #if HAVE_ARPA_INET_H
                   21417: # include <arpa/inet.h>
                   21418: #endif
                   21419: /* Required for IDRP */
                   21420: #if HAVE_NETINET_IP_ICMP_H
                   21421: # include <netinet/ip_icmp.h>
                   21422: #endif
                   21423: 
                   21424: #if HAVE_NETINET6_IN6_H
                   21425: #include <netinet6/in6.h>
                   21426: #endif
                   21427: #if HAVE_NETINET_IN6_VAR_H
                   21428: #include <netinet/in6_var.h>
                   21429: #endif
                   21430: #if HAVE_NETINET_ICMP6_H
                   21431: # include <netinet/icmp6.h>
                   21432: #endif
                   21433: #if HAVE_NETINET6_IN6_VAR_H
                   21434: # include <netinet6/in6_var.h>
                   21435: #endif
                   21436: #if HAVE_NETINET6_ND6_H
                   21437: # include <netinet6/nd6.h>
                   21438: #endif
                   21439: 
                   21440: "
1.1.1.4   misho    21441: if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
1.1       misho    21442: 
                   21443: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21444: #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
1.1       misho    21445: _ACEOF
                   21446: 
                   21447: 
                   21448: fi
1.1.1.4   misho    21449: ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#ifdef SUNOS_5
1.1       misho    21450: #define _XPG4_2
                   21451: #define __EXTENSIONS__
                   21452: #endif
                   21453: #include <stdio.h>
                   21454: #if STDC_HEADERS
                   21455: # include <stdlib.h>
                   21456: # include <stddef.h>
                   21457: #else
                   21458: # if HAVE_STDLIB_H
                   21459: #  include <stdlib.h>
                   21460: # endif
                   21461: #endif
                   21462: #if HAVE_SYS_TYPES_H
                   21463: # include <sys/types.h>
                   21464: #endif
                   21465: /* sys/conf.h depends on param.h on FBSD at least */
                   21466: #if HAVE_SYS_PARAM_H
                   21467: # include <sys/param.h>
                   21468: #endif
                   21469: /* Required for MAXSIG */
                   21470: #if HAVE_SIGNAL_H
                   21471: # include <signal.h>
                   21472: #endif
                   21473: #if HAVE_SYS_SOCKET_H
                   21474: # include <sys/socket.h>
                   21475: #endif
1.1.1.4   misho    21476: #ifdef __APPLE__
                   21477: # define __APPLE_USE_RFC_3542
                   21478: #endif
1.1       misho    21479: #if HAVE_NETINET_IN_H
                   21480: # include <netinet/in.h>
                   21481: #endif
                   21482: #ifdef TIME_WITH_SYS_TIME
                   21483: # include <sys/time.h>
                   21484: # include <time.h>
                   21485: #else
                   21486: # ifdef HAVE_SYS_TIME_H
                   21487: #  include <sys/time.h>
                   21488: # else
                   21489: #  include <time.h>
                   21490: # endif
                   21491: #endif /* TIME_WITH_SYS_TIME */
                   21492: 
                   21493: #if HAVE_NET_IF_H
                   21494: # include <net/if.h>
                   21495: #endif
                   21496: 
                   21497: #if HAVE_NET_IF_VAR_H
                   21498: # include <net/if_var.h>
                   21499: #endif
                   21500: 
                   21501: #if HAVE_SYS_UN_H
                   21502: # include <sys/un.h>
                   21503: #endif
                   21504: #if HAVE_NETINET_IN_SYSTM_H
                   21505: # include <netinet/in_systm.h>
                   21506: #endif
                   21507: #if HAVE_NETINET_IN_VAR_H
                   21508: # include <netinet/in_var.h>
                   21509: #endif
                   21510: #if HAVE_NET_IF_DL_H
                   21511: # include <net/if_dl.h>
                   21512: #endif
                   21513: #if HAVE_NET_NETOPT_H
                   21514: # include <net/netopt.h>
                   21515: #endif
                   21516: #if HAVE_NET_ROUTE_H
                   21517: # include <net/route.h>
                   21518: #endif
                   21519: #if HAVE_INET_ND_H
                   21520: # include <inet/nd.h>
                   21521: #endif
                   21522: #if HAVE_ARPA_INET_H
                   21523: # include <arpa/inet.h>
                   21524: #endif
                   21525: /* Required for IDRP */
                   21526: #if HAVE_NETINET_IP_ICMP_H
                   21527: # include <netinet/ip_icmp.h>
                   21528: #endif
                   21529: 
                   21530: #if HAVE_NETINET6_IN6_H
                   21531: #include <netinet6/in6.h>
                   21532: #endif
                   21533: #if HAVE_NETINET_IN6_VAR_H
                   21534: #include <netinet/in6_var.h>
                   21535: #endif
                   21536: #if HAVE_NETINET_ICMP6_H
                   21537: # include <netinet/icmp6.h>
                   21538: #endif
                   21539: #if HAVE_NETINET6_IN6_VAR_H
                   21540: # include <netinet6/in6_var.h>
                   21541: #endif
                   21542: #if HAVE_NETINET6_ND6_H
                   21543: # include <netinet6/nd6.h>
                   21544: #endif
                   21545: 
                   21546: "
1.1.1.4   misho    21547: if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
1.1       misho    21548: 
                   21549: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21550: #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
1.1       misho    21551: _ACEOF
                   21552: 
                   21553: 
                   21554: fi
1.1.1.4   misho    21555: ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef SUNOS_5
1.1       misho    21556: #define _XPG4_2
                   21557: #define __EXTENSIONS__
                   21558: #endif
                   21559: #include <stdio.h>
                   21560: #if STDC_HEADERS
                   21561: # include <stdlib.h>
                   21562: # include <stddef.h>
                   21563: #else
                   21564: # if HAVE_STDLIB_H
                   21565: #  include <stdlib.h>
                   21566: # endif
                   21567: #endif
                   21568: #if HAVE_SYS_TYPES_H
                   21569: # include <sys/types.h>
                   21570: #endif
                   21571: /* sys/conf.h depends on param.h on FBSD at least */
                   21572: #if HAVE_SYS_PARAM_H
                   21573: # include <sys/param.h>
                   21574: #endif
                   21575: /* Required for MAXSIG */
                   21576: #if HAVE_SIGNAL_H
                   21577: # include <signal.h>
                   21578: #endif
                   21579: #if HAVE_SYS_SOCKET_H
                   21580: # include <sys/socket.h>
                   21581: #endif
1.1.1.4   misho    21582: #ifdef __APPLE__
                   21583: # define __APPLE_USE_RFC_3542
                   21584: #endif
1.1       misho    21585: #if HAVE_NETINET_IN_H
                   21586: # include <netinet/in.h>
                   21587: #endif
                   21588: #ifdef TIME_WITH_SYS_TIME
                   21589: # include <sys/time.h>
                   21590: # include <time.h>
                   21591: #else
                   21592: # ifdef HAVE_SYS_TIME_H
                   21593: #  include <sys/time.h>
                   21594: # else
                   21595: #  include <time.h>
                   21596: # endif
                   21597: #endif /* TIME_WITH_SYS_TIME */
                   21598: 
                   21599: #if HAVE_NET_IF_H
                   21600: # include <net/if.h>
                   21601: #endif
                   21602: 
                   21603: #if HAVE_NET_IF_VAR_H
                   21604: # include <net/if_var.h>
                   21605: #endif
                   21606: 
                   21607: #if HAVE_SYS_UN_H
                   21608: # include <sys/un.h>
                   21609: #endif
                   21610: #if HAVE_NETINET_IN_SYSTM_H
                   21611: # include <netinet/in_systm.h>
                   21612: #endif
                   21613: #if HAVE_NETINET_IN_VAR_H
                   21614: # include <netinet/in_var.h>
                   21615: #endif
                   21616: #if HAVE_NET_IF_DL_H
                   21617: # include <net/if_dl.h>
                   21618: #endif
                   21619: #if HAVE_NET_NETOPT_H
                   21620: # include <net/netopt.h>
                   21621: #endif
                   21622: #if HAVE_NET_ROUTE_H
                   21623: # include <net/route.h>
                   21624: #endif
                   21625: #if HAVE_INET_ND_H
                   21626: # include <inet/nd.h>
                   21627: #endif
                   21628: #if HAVE_ARPA_INET_H
                   21629: # include <arpa/inet.h>
                   21630: #endif
                   21631: /* Required for IDRP */
                   21632: #if HAVE_NETINET_IP_ICMP_H
                   21633: # include <netinet/ip_icmp.h>
                   21634: #endif
                   21635: 
                   21636: #if HAVE_NETINET6_IN6_H
                   21637: #include <netinet6/in6.h>
                   21638: #endif
                   21639: #if HAVE_NETINET_IN6_VAR_H
                   21640: #include <netinet/in6_var.h>
                   21641: #endif
                   21642: #if HAVE_NETINET_ICMP6_H
                   21643: # include <netinet/icmp6.h>
                   21644: #endif
                   21645: #if HAVE_NETINET6_IN6_VAR_H
                   21646: # include <netinet6/in6_var.h>
                   21647: #endif
                   21648: #if HAVE_NETINET6_ND6_H
                   21649: # include <netinet6/nd6.h>
                   21650: #endif
                   21651: 
                   21652: "
1.1.1.4   misho    21653: if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
1.1       misho    21654: 
                   21655: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21656: #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
1.1       misho    21657: _ACEOF
                   21658: 
                   21659: 
                   21660: fi
1.1.1.4   misho    21661: ac_fn_c_check_member "$LINENO" "struct sockaddr_dl" "sdl_len" "ac_cv_member_struct_sockaddr_dl_sdl_len" "#ifdef SUNOS_5
1.1       misho    21662: #define _XPG4_2
                   21663: #define __EXTENSIONS__
                   21664: #endif
                   21665: #include <stdio.h>
                   21666: #if STDC_HEADERS
                   21667: # include <stdlib.h>
                   21668: # include <stddef.h>
                   21669: #else
                   21670: # if HAVE_STDLIB_H
                   21671: #  include <stdlib.h>
                   21672: # endif
                   21673: #endif
                   21674: #if HAVE_SYS_TYPES_H
                   21675: # include <sys/types.h>
                   21676: #endif
                   21677: /* sys/conf.h depends on param.h on FBSD at least */
                   21678: #if HAVE_SYS_PARAM_H
                   21679: # include <sys/param.h>
                   21680: #endif
                   21681: /* Required for MAXSIG */
                   21682: #if HAVE_SIGNAL_H
                   21683: # include <signal.h>
                   21684: #endif
                   21685: #if HAVE_SYS_SOCKET_H
                   21686: # include <sys/socket.h>
                   21687: #endif
1.1.1.4   misho    21688: #ifdef __APPLE__
                   21689: # define __APPLE_USE_RFC_3542
                   21690: #endif
1.1       misho    21691: #if HAVE_NETINET_IN_H
                   21692: # include <netinet/in.h>
                   21693: #endif
                   21694: #ifdef TIME_WITH_SYS_TIME
                   21695: # include <sys/time.h>
                   21696: # include <time.h>
                   21697: #else
                   21698: # ifdef HAVE_SYS_TIME_H
                   21699: #  include <sys/time.h>
                   21700: # else
                   21701: #  include <time.h>
                   21702: # endif
                   21703: #endif /* TIME_WITH_SYS_TIME */
                   21704: 
                   21705: #if HAVE_NET_IF_H
                   21706: # include <net/if.h>
                   21707: #endif
                   21708: 
                   21709: #if HAVE_NET_IF_VAR_H
                   21710: # include <net/if_var.h>
                   21711: #endif
                   21712: 
                   21713: #if HAVE_SYS_UN_H
                   21714: # include <sys/un.h>
                   21715: #endif
                   21716: #if HAVE_NETINET_IN_SYSTM_H
                   21717: # include <netinet/in_systm.h>
                   21718: #endif
                   21719: #if HAVE_NETINET_IN_VAR_H
                   21720: # include <netinet/in_var.h>
                   21721: #endif
                   21722: #if HAVE_NET_IF_DL_H
                   21723: # include <net/if_dl.h>
                   21724: #endif
                   21725: #if HAVE_NET_NETOPT_H
                   21726: # include <net/netopt.h>
                   21727: #endif
                   21728: #if HAVE_NET_ROUTE_H
                   21729: # include <net/route.h>
                   21730: #endif
                   21731: #if HAVE_INET_ND_H
                   21732: # include <inet/nd.h>
                   21733: #endif
                   21734: #if HAVE_ARPA_INET_H
                   21735: # include <arpa/inet.h>
                   21736: #endif
                   21737: /* Required for IDRP */
                   21738: #if HAVE_NETINET_IP_ICMP_H
                   21739: # include <netinet/ip_icmp.h>
                   21740: #endif
                   21741: 
                   21742: #if HAVE_NETINET6_IN6_H
                   21743: #include <netinet6/in6.h>
                   21744: #endif
                   21745: #if HAVE_NETINET_IN6_VAR_H
                   21746: #include <netinet/in6_var.h>
                   21747: #endif
                   21748: #if HAVE_NETINET_ICMP6_H
                   21749: # include <netinet/icmp6.h>
                   21750: #endif
                   21751: #if HAVE_NETINET6_IN6_VAR_H
                   21752: # include <netinet6/in6_var.h>
                   21753: #endif
                   21754: #if HAVE_NETINET6_ND6_H
                   21755: # include <netinet6/nd6.h>
                   21756: #endif
                   21757: 
                   21758: "
1.1.1.4   misho    21759: if test "x$ac_cv_member_struct_sockaddr_dl_sdl_len" = xyes; then :
1.1       misho    21760: 
                   21761: cat >>confdefs.h <<_ACEOF
1.1.1.4   misho    21762: #define HAVE_STRUCT_SOCKADDR_DL_SDL_LEN 1
1.1       misho    21763: _ACEOF
                   21764: 
                   21765: 
                   21766: fi
                   21767: ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "ifra_lifetime" "ac_cv_member_struct_if6_aliasreq_ifra_lifetime" "#ifdef SUNOS_5
                   21768: #define _XPG4_2
                   21769: #define __EXTENSIONS__
                   21770: #endif
                   21771: #include <stdio.h>
                   21772: #if STDC_HEADERS
                   21773: # include <stdlib.h>
                   21774: # include <stddef.h>
                   21775: #else
                   21776: # if HAVE_STDLIB_H
                   21777: #  include <stdlib.h>
                   21778: # endif
                   21779: #endif
                   21780: #if HAVE_SYS_TYPES_H
                   21781: # include <sys/types.h>
                   21782: #endif
                   21783: /* sys/conf.h depends on param.h on FBSD at least */
                   21784: #if HAVE_SYS_PARAM_H
                   21785: # include <sys/param.h>
                   21786: #endif
                   21787: /* Required for MAXSIG */
                   21788: #if HAVE_SIGNAL_H
                   21789: # include <signal.h>
                   21790: #endif
                   21791: #if HAVE_SYS_SOCKET_H
                   21792: # include <sys/socket.h>
                   21793: #endif
1.1.1.4   misho    21794: #ifdef __APPLE__
                   21795: # define __APPLE_USE_RFC_3542
                   21796: #endif
1.1       misho    21797: #if HAVE_NETINET_IN_H
                   21798: # include <netinet/in.h>
                   21799: #endif
                   21800: #ifdef TIME_WITH_SYS_TIME
                   21801: # include <sys/time.h>
                   21802: # include <time.h>
                   21803: #else
                   21804: # ifdef HAVE_SYS_TIME_H
                   21805: #  include <sys/time.h>
                   21806: # else
                   21807: #  include <time.h>
                   21808: # endif
                   21809: #endif /* TIME_WITH_SYS_TIME */
                   21810: 
                   21811: #if HAVE_NET_IF_H
                   21812: # include <net/if.h>
                   21813: #endif
                   21814: 
                   21815: #if HAVE_NET_IF_VAR_H
                   21816: # include <net/if_var.h>
                   21817: #endif
                   21818: 
                   21819: #if HAVE_SYS_UN_H
                   21820: # include <sys/un.h>
                   21821: #endif
                   21822: #if HAVE_NETINET_IN_SYSTM_H
                   21823: # include <netinet/in_systm.h>
                   21824: #endif
                   21825: #if HAVE_NETINET_IN_VAR_H
                   21826: # include <netinet/in_var.h>
                   21827: #endif
                   21828: #if HAVE_NET_IF_DL_H
                   21829: # include <net/if_dl.h>
                   21830: #endif
                   21831: #if HAVE_NET_NETOPT_H
                   21832: # include <net/netopt.h>
                   21833: #endif
                   21834: #if HAVE_NET_ROUTE_H
                   21835: # include <net/route.h>
                   21836: #endif
                   21837: #if HAVE_INET_ND_H
                   21838: # include <inet/nd.h>
                   21839: #endif
                   21840: #if HAVE_ARPA_INET_H
                   21841: # include <arpa/inet.h>
                   21842: #endif
                   21843: /* Required for IDRP */
                   21844: #if HAVE_NETINET_IP_ICMP_H
                   21845: # include <netinet/ip_icmp.h>
                   21846: #endif
                   21847: 
                   21848: #if HAVE_NETINET6_IN6_H
                   21849: #include <netinet6/in6.h>
                   21850: #endif
                   21851: #if HAVE_NETINET_IN6_VAR_H
                   21852: #include <netinet/in6_var.h>
                   21853: #endif
                   21854: #if HAVE_NETINET_ICMP6_H
                   21855: # include <netinet/icmp6.h>
                   21856: #endif
                   21857: #if HAVE_NETINET6_IN6_VAR_H
                   21858: # include <netinet6/in6_var.h>
                   21859: #endif
                   21860: #if HAVE_NETINET6_ND6_H
                   21861: # include <netinet6/nd6.h>
                   21862: #endif
                   21863: 
                   21864: "
                   21865: if test "x$ac_cv_member_struct_if6_aliasreq_ifra_lifetime" = xyes; then :
                   21866: 
                   21867: cat >>confdefs.h <<_ACEOF
                   21868: #define HAVE_STRUCT_IF6_ALIASREQ_IFRA_LIFETIME 1
                   21869: _ACEOF
                   21870: 
                   21871: 
                   21872: fi
                   21873: ac_fn_c_check_member "$LINENO" "struct nd_opt_adv_interval" "nd_opt_ai_type" "ac_cv_member_struct_nd_opt_adv_interval_nd_opt_ai_type" "#ifdef SUNOS_5
                   21874: #define _XPG4_2
                   21875: #define __EXTENSIONS__
                   21876: #endif
                   21877: #include <stdio.h>
                   21878: #if STDC_HEADERS
                   21879: # include <stdlib.h>
                   21880: # include <stddef.h>
                   21881: #else
                   21882: # if HAVE_STDLIB_H
                   21883: #  include <stdlib.h>
                   21884: # endif
                   21885: #endif
                   21886: #if HAVE_SYS_TYPES_H
                   21887: # include <sys/types.h>
                   21888: #endif
                   21889: /* sys/conf.h depends on param.h on FBSD at least */
                   21890: #if HAVE_SYS_PARAM_H
                   21891: # include <sys/param.h>
                   21892: #endif
                   21893: /* Required for MAXSIG */
                   21894: #if HAVE_SIGNAL_H
                   21895: # include <signal.h>
                   21896: #endif
                   21897: #if HAVE_SYS_SOCKET_H
                   21898: # include <sys/socket.h>
                   21899: #endif
1.1.1.4   misho    21900: #ifdef __APPLE__
                   21901: # define __APPLE_USE_RFC_3542
                   21902: #endif
1.1       misho    21903: #if HAVE_NETINET_IN_H
                   21904: # include <netinet/in.h>
                   21905: #endif
                   21906: #ifdef TIME_WITH_SYS_TIME
                   21907: # include <sys/time.h>
                   21908: # include <time.h>
                   21909: #else
                   21910: # ifdef HAVE_SYS_TIME_H
                   21911: #  include <sys/time.h>
                   21912: # else
                   21913: #  include <time.h>
                   21914: # endif
                   21915: #endif /* TIME_WITH_SYS_TIME */
                   21916: 
                   21917: #if HAVE_NET_IF_H
                   21918: # include <net/if.h>
                   21919: #endif
                   21920: 
                   21921: #if HAVE_NET_IF_VAR_H
                   21922: # include <net/if_var.h>
                   21923: #endif
                   21924: 
                   21925: #if HAVE_SYS_UN_H
                   21926: # include <sys/un.h>
                   21927: #endif
                   21928: #if HAVE_NETINET_IN_SYSTM_H
                   21929: # include <netinet/in_systm.h>
                   21930: #endif
                   21931: #if HAVE_NETINET_IN_VAR_H
                   21932: # include <netinet/in_var.h>
                   21933: #endif
                   21934: #if HAVE_NET_IF_DL_H
                   21935: # include <net/if_dl.h>
                   21936: #endif
                   21937: #if HAVE_NET_NETOPT_H
                   21938: # include <net/netopt.h>
                   21939: #endif
                   21940: #if HAVE_NET_ROUTE_H
                   21941: # include <net/route.h>
                   21942: #endif
                   21943: #if HAVE_INET_ND_H
                   21944: # include <inet/nd.h>
                   21945: #endif
                   21946: #if HAVE_ARPA_INET_H
                   21947: # include <arpa/inet.h>
                   21948: #endif
                   21949: /* Required for IDRP */
                   21950: #if HAVE_NETINET_IP_ICMP_H
                   21951: # include <netinet/ip_icmp.h>
                   21952: #endif
                   21953: 
                   21954: #if HAVE_NETINET6_IN6_H
                   21955: #include <netinet6/in6.h>
                   21956: #endif
                   21957: #if HAVE_NETINET_IN6_VAR_H
                   21958: #include <netinet/in6_var.h>
                   21959: #endif
                   21960: #if HAVE_NETINET_ICMP6_H
                   21961: # include <netinet/icmp6.h>
                   21962: #endif
                   21963: #if HAVE_NETINET6_IN6_VAR_H
                   21964: # include <netinet6/in6_var.h>
                   21965: #endif
                   21966: #if HAVE_NETINET6_ND6_H
                   21967: # include <netinet6/nd6.h>
                   21968: #endif
                   21969: 
                   21970: "
                   21971: if test "x$ac_cv_member_struct_nd_opt_adv_interval_nd_opt_ai_type" = xyes; then :
                   21972: 
                   21973: cat >>confdefs.h <<_ACEOF
                   21974: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL_ND_OPT_AI_TYPE 1
                   21975: _ACEOF
                   21976: 
                   21977: 
                   21978: fi
                   21979: 
                   21980: 
                   21981: ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_cv_type_struct_in_pktinfo" "#ifdef SUNOS_5
                   21982: #define _XPG4_2
                   21983: #define __EXTENSIONS__
                   21984: #endif
                   21985: #include <stdio.h>
                   21986: #if STDC_HEADERS
                   21987: # include <stdlib.h>
                   21988: # include <stddef.h>
                   21989: #else
                   21990: # if HAVE_STDLIB_H
                   21991: #  include <stdlib.h>
                   21992: # endif
                   21993: #endif
                   21994: #if HAVE_SYS_TYPES_H
                   21995: # include <sys/types.h>
                   21996: #endif
                   21997: /* sys/conf.h depends on param.h on FBSD at least */
                   21998: #if HAVE_SYS_PARAM_H
                   21999: # include <sys/param.h>
                   22000: #endif
                   22001: /* Required for MAXSIG */
                   22002: #if HAVE_SIGNAL_H
                   22003: # include <signal.h>
                   22004: #endif
                   22005: #if HAVE_SYS_SOCKET_H
                   22006: # include <sys/socket.h>
                   22007: #endif
1.1.1.4   misho    22008: #ifdef __APPLE__
                   22009: # define __APPLE_USE_RFC_3542
                   22010: #endif
1.1       misho    22011: #if HAVE_NETINET_IN_H
                   22012: # include <netinet/in.h>
                   22013: #endif
                   22014: #ifdef TIME_WITH_SYS_TIME
                   22015: # include <sys/time.h>
                   22016: # include <time.h>
                   22017: #else
                   22018: # ifdef HAVE_SYS_TIME_H
                   22019: #  include <sys/time.h>
                   22020: # else
                   22021: #  include <time.h>
                   22022: # endif
                   22023: #endif /* TIME_WITH_SYS_TIME */
                   22024: 
                   22025: #if HAVE_NET_IF_H
                   22026: # include <net/if.h>
                   22027: #endif
                   22028: 
                   22029: #if HAVE_NET_IF_VAR_H
                   22030: # include <net/if_var.h>
                   22031: #endif
                   22032: 
                   22033: #if HAVE_SYS_UN_H
                   22034: # include <sys/un.h>
                   22035: #endif
                   22036: #if HAVE_NETINET_IN_SYSTM_H
                   22037: # include <netinet/in_systm.h>
                   22038: #endif
                   22039: #if HAVE_NETINET_IN_VAR_H
                   22040: # include <netinet/in_var.h>
                   22041: #endif
                   22042: #if HAVE_NET_IF_DL_H
                   22043: # include <net/if_dl.h>
                   22044: #endif
                   22045: #if HAVE_NET_NETOPT_H
                   22046: # include <net/netopt.h>
                   22047: #endif
                   22048: #if HAVE_NET_ROUTE_H
                   22049: # include <net/route.h>
                   22050: #endif
                   22051: #if HAVE_INET_ND_H
                   22052: # include <inet/nd.h>
                   22053: #endif
                   22054: #if HAVE_ARPA_INET_H
                   22055: # include <arpa/inet.h>
                   22056: #endif
                   22057: /* Required for IDRP */
                   22058: #if HAVE_NETINET_IP_ICMP_H
                   22059: # include <netinet/ip_icmp.h>
                   22060: #endif
                   22061: 
                   22062: #if HAVE_NETINET6_IN6_H
                   22063: #include <netinet6/in6.h>
                   22064: #endif
                   22065: #if HAVE_NETINET_IN6_VAR_H
                   22066: #include <netinet/in6_var.h>
                   22067: #endif
                   22068: #if HAVE_NETINET_ICMP6_H
                   22069: # include <netinet/icmp6.h>
                   22070: #endif
                   22071: #if HAVE_NETINET6_IN6_VAR_H
                   22072: # include <netinet6/in6_var.h>
                   22073: #endif
                   22074: #if HAVE_NETINET6_ND6_H
                   22075: # include <netinet6/nd6.h>
                   22076: #endif
                   22077: 
                   22078: "
                   22079: if test "x$ac_cv_type_struct_in_pktinfo" = xyes; then :
                   22080: 
                   22081: cat >>confdefs.h <<_ACEOF
                   22082: #define HAVE_STRUCT_IN_PKTINFO 1
                   22083: _ACEOF
                   22084: 
                   22085: ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_type_struct_icmphdr" "#ifdef SUNOS_5
                   22086: #define _XPG4_2
                   22087: #define __EXTENSIONS__
                   22088: #endif
                   22089: #include <stdio.h>
                   22090: #if STDC_HEADERS
                   22091: # include <stdlib.h>
                   22092: # include <stddef.h>
                   22093: #else
                   22094: # if HAVE_STDLIB_H
                   22095: #  include <stdlib.h>
                   22096: # endif
                   22097: #endif
                   22098: #if HAVE_SYS_TYPES_H
                   22099: # include <sys/types.h>
                   22100: #endif
                   22101: /* sys/conf.h depends on param.h on FBSD at least */
                   22102: #if HAVE_SYS_PARAM_H
                   22103: # include <sys/param.h>
                   22104: #endif
                   22105: /* Required for MAXSIG */
                   22106: #if HAVE_SIGNAL_H
                   22107: # include <signal.h>
                   22108: #endif
                   22109: #if HAVE_SYS_SOCKET_H
                   22110: # include <sys/socket.h>
                   22111: #endif
1.1.1.4   misho    22112: #ifdef __APPLE__
                   22113: # define __APPLE_USE_RFC_3542
                   22114: #endif
1.1       misho    22115: #if HAVE_NETINET_IN_H
                   22116: # include <netinet/in.h>
                   22117: #endif
                   22118: #ifdef TIME_WITH_SYS_TIME
                   22119: # include <sys/time.h>
                   22120: # include <time.h>
                   22121: #else
                   22122: # ifdef HAVE_SYS_TIME_H
                   22123: #  include <sys/time.h>
                   22124: # else
                   22125: #  include <time.h>
                   22126: # endif
                   22127: #endif /* TIME_WITH_SYS_TIME */
                   22128: 
                   22129: #if HAVE_NET_IF_H
                   22130: # include <net/if.h>
                   22131: #endif
                   22132: 
                   22133: #if HAVE_NET_IF_VAR_H
                   22134: # include <net/if_var.h>
                   22135: #endif
                   22136: 
                   22137: #if HAVE_SYS_UN_H
                   22138: # include <sys/un.h>
                   22139: #endif
                   22140: #if HAVE_NETINET_IN_SYSTM_H
                   22141: # include <netinet/in_systm.h>
                   22142: #endif
                   22143: #if HAVE_NETINET_IN_VAR_H
                   22144: # include <netinet/in_var.h>
                   22145: #endif
                   22146: #if HAVE_NET_IF_DL_H
                   22147: # include <net/if_dl.h>
                   22148: #endif
                   22149: #if HAVE_NET_NETOPT_H
                   22150: # include <net/netopt.h>
                   22151: #endif
                   22152: #if HAVE_NET_ROUTE_H
                   22153: # include <net/route.h>
                   22154: #endif
                   22155: #if HAVE_INET_ND_H
                   22156: # include <inet/nd.h>
                   22157: #endif
                   22158: #if HAVE_ARPA_INET_H
                   22159: # include <arpa/inet.h>
                   22160: #endif
                   22161: /* Required for IDRP */
                   22162: #if HAVE_NETINET_IP_ICMP_H
                   22163: # include <netinet/ip_icmp.h>
                   22164: #endif
                   22165: 
                   22166: #if HAVE_NETINET6_IN6_H
                   22167: #include <netinet6/in6.h>
                   22168: #endif
                   22169: #if HAVE_NETINET_IN6_VAR_H
                   22170: #include <netinet/in6_var.h>
                   22171: #endif
                   22172: #if HAVE_NETINET_ICMP6_H
                   22173: # include <netinet/icmp6.h>
                   22174: #endif
                   22175: #if HAVE_NETINET6_IN6_VAR_H
                   22176: # include <netinet6/in6_var.h>
                   22177: #endif
                   22178: #if HAVE_NETINET6_ND6_H
                   22179: # include <netinet6/nd6.h>
                   22180: #endif
                   22181: 
                   22182: "
                   22183: if test "x$ac_cv_type_struct_icmphdr" = xyes; then :
                   22184: 
                   22185: cat >>confdefs.h <<_ACEOF
                   22186: #define HAVE_STRUCT_ICMPHDR 1
                   22187: _ACEOF
                   22188: 
                   22189: if test "${enable_irdp}" != "no"; then
                   22190: 
                   22191: $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
                   22192: 
                   22193:     fi
                   22194: else
                   22195:   if test "${enable_irdp}" = "yes"; then
                   22196:       as_fn_error $? "'IRDP requires in_pktinfo at the moment!'" "$LINENO" 5
                   22197:     fi
                   22198: fi
                   22199: 
                   22200: else
                   22201:   if test "${enable_irdp}" = "yes"; then
                   22202:     as_fn_error $? "'IRDP requires in_pktinfo at the moment!'" "$LINENO" 5
                   22203:   fi
                   22204: fi
                   22205: 
                   22206: 
1.1.1.5 ! misho    22207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_PKTINFO" >&5
        !          22208: $as_echo_n "checking for IP_PKTINFO... " >&6; }
        !          22209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22210: /* end confdefs.h.  */
        !          22211: #include <netdb.h>
        !          22212: int
        !          22213: main ()
        !          22214: {
        !          22215: 
        !          22216:   int opt = IP_PKTINFO;
        !          22217: 
        !          22218:   ;
        !          22219:   return 0;
        !          22220: }
        !          22221: _ACEOF
        !          22222: if ac_fn_c_try_compile "$LINENO"; then :
        !          22223: 
        !          22224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22225: $as_echo "yes" >&6; }
        !          22226: 
        !          22227: $as_echo "#define HAVE_IP_PKTINFO 1" >>confdefs.h
        !          22228: 
        !          22229: 
        !          22230: else
        !          22231: 
        !          22232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22233: $as_echo "no" >&6; }
        !          22234: 
        !          22235: fi
        !          22236: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          22237: 
        !          22238: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_RECVDSTADDR" >&5
        !          22239: $as_echo_n "checking for IP_RECVDSTADDR... " >&6; }
        !          22240: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22241: /* end confdefs.h.  */
        !          22242: #include <netinet/in.h>
        !          22243: int
        !          22244: main ()
        !          22245: {
        !          22246: 
        !          22247:   int opt = IP_RECVDSTADDR;
        !          22248: 
        !          22249:   ;
        !          22250:   return 0;
        !          22251: }
        !          22252: _ACEOF
        !          22253: if ac_fn_c_try_compile "$LINENO"; then :
        !          22254: 
        !          22255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22256: $as_echo "yes" >&6; }
        !          22257: 
        !          22258: $as_echo "#define HAVE_IP_RECVDSTADDR 1" >>confdefs.h
        !          22259: 
        !          22260: 
        !          22261: else
        !          22262: 
        !          22263:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22264: $as_echo "no" >&6; }
        !          22265: 
        !          22266: fi
        !          22267: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          22268: 
        !          22269: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IP_RECVIF" >&5
        !          22270: $as_echo_n "checking for IP_RECVIF... " >&6; }
        !          22271: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22272: /* end confdefs.h.  */
        !          22273: #include <netinet/in.h>
        !          22274: int
        !          22275: main ()
        !          22276: {
        !          22277: 
        !          22278:   int opt = IP_RECVIF;
        !          22279: 
        !          22280:   ;
        !          22281:   return 0;
        !          22282: }
        !          22283: _ACEOF
        !          22284: if ac_fn_c_try_compile "$LINENO"; then :
        !          22285: 
        !          22286:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          22287: $as_echo "yes" >&6; }
        !          22288: 
        !          22289: $as_echo "#define HAVE_IP_RECVIF 1" >>confdefs.h
        !          22290: 
        !          22291: 
        !          22292: else
        !          22293: 
        !          22294:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          22295: $as_echo "no" >&6; }
        !          22296: 
        !          22297: fi
        !          22298: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          22299: 
1.1.1.4   misho    22300: if test "${enable_rusage}" != "no"; then
                   22301:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5
1.1       misho    22302: $as_echo_n "checking whether getrusage is available... " >&6; }
1.1.1.4   misho    22303:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    22304: /* end confdefs.h.  */
                   22305: #include <sys/resource.h>
                   22306: int
                   22307: main ()
                   22308: {
                   22309: struct rusage ac_x; getrusage (RUSAGE_SELF, &ac_x);
                   22310:   ;
                   22311:   return 0;
                   22312: }
                   22313: _ACEOF
                   22314: if ac_fn_c_try_compile "$LINENO"; then :
                   22315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22316: $as_echo "yes" >&6; }
                   22317: 
                   22318: $as_echo "#define HAVE_RUSAGE /**/" >>confdefs.h
                   22319: 
                   22320: else
                   22321:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22322: $as_echo "no" >&6; }
                   22323: fi
                   22324: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1.1.4   misho    22325: fi
1.1       misho    22326: 
                   22327: ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5
                   22328: #define _XPG4_2
                   22329: #define __EXTENSIONS__
                   22330: #endif
                   22331: #include <stdio.h>
                   22332: #if STDC_HEADERS
                   22333: # include <stdlib.h>
                   22334: # include <stddef.h>
                   22335: #else
                   22336: # if HAVE_STDLIB_H
                   22337: #  include <stdlib.h>
                   22338: # endif
                   22339: #endif
                   22340: #if HAVE_SYS_TYPES_H
                   22341: # include <sys/types.h>
                   22342: #endif
                   22343: /* sys/conf.h depends on param.h on FBSD at least */
                   22344: #if HAVE_SYS_PARAM_H
                   22345: # include <sys/param.h>
                   22346: #endif
                   22347: /* Required for MAXSIG */
                   22348: #if HAVE_SIGNAL_H
                   22349: # include <signal.h>
                   22350: #endif
                   22351: #if HAVE_SYS_SOCKET_H
                   22352: # include <sys/socket.h>
                   22353: #endif
1.1.1.4   misho    22354: #ifdef __APPLE__
                   22355: # define __APPLE_USE_RFC_3542
                   22356: #endif
1.1       misho    22357: #if HAVE_NETINET_IN_H
                   22358: # include <netinet/in.h>
                   22359: #endif
                   22360: #ifdef TIME_WITH_SYS_TIME
                   22361: # include <sys/time.h>
                   22362: # include <time.h>
                   22363: #else
                   22364: # ifdef HAVE_SYS_TIME_H
                   22365: #  include <sys/time.h>
                   22366: # else
                   22367: #  include <time.h>
                   22368: # endif
                   22369: #endif /* TIME_WITH_SYS_TIME */
                   22370: 
                   22371: #if HAVE_NET_IF_H
                   22372: # include <net/if.h>
                   22373: #endif
                   22374: 
                   22375: #if HAVE_NET_IF_VAR_H
                   22376: # include <net/if_var.h>
                   22377: #endif
                   22378: 
                   22379: #if HAVE_SYS_UN_H
                   22380: # include <sys/un.h>
                   22381: #endif
                   22382: #if HAVE_NETINET_IN_SYSTM_H
                   22383: # include <netinet/in_systm.h>
                   22384: #endif
                   22385: #if HAVE_NETINET_IN_VAR_H
                   22386: # include <netinet/in_var.h>
                   22387: #endif
                   22388: #if HAVE_NET_IF_DL_H
                   22389: # include <net/if_dl.h>
                   22390: #endif
                   22391: #if HAVE_NET_NETOPT_H
                   22392: # include <net/netopt.h>
                   22393: #endif
                   22394: #if HAVE_NET_ROUTE_H
                   22395: # include <net/route.h>
                   22396: #endif
                   22397: #if HAVE_INET_ND_H
                   22398: # include <inet/nd.h>
                   22399: #endif
                   22400: #if HAVE_ARPA_INET_H
                   22401: # include <arpa/inet.h>
                   22402: #endif
                   22403: /* Required for IDRP */
                   22404: #if HAVE_NETINET_IP_ICMP_H
                   22405: # include <netinet/ip_icmp.h>
                   22406: #endif
                   22407: 
                   22408: #if HAVE_NETINET6_IN6_H
                   22409: #include <netinet6/in6.h>
                   22410: #endif
                   22411: #if HAVE_NETINET_IN6_VAR_H
                   22412: #include <netinet/in6_var.h>
                   22413: #endif
                   22414: #if HAVE_NETINET_ICMP6_H
                   22415: # include <netinet/icmp6.h>
                   22416: #endif
                   22417: #if HAVE_NETINET6_IN6_VAR_H
                   22418: # include <netinet6/in6_var.h>
                   22419: #endif
                   22420: #if HAVE_NETINET6_ND6_H
                   22421: # include <netinet6/nd6.h>
                   22422: #endif
                   22423: 
                   22424: "
                   22425: if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then :
                   22426:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
                   22427: $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
                   22428: if ${ac_cv_lib_rt_clock_gettime+:} false; then :
                   22429:   $as_echo_n "(cached) " >&6
                   22430: else
                   22431:   ac_check_lib_save_LIBS=$LIBS
                   22432: LIBS="-lrt  $LIBS"
                   22433: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22434: /* end confdefs.h.  */
                   22435: 
                   22436: /* Override any GCC internal prototype to avoid an error.
                   22437:    Use char because int might match the return type of a GCC
                   22438:    builtin and then its argument prototype would still apply.  */
                   22439: #ifdef __cplusplus
                   22440: extern "C"
                   22441: #endif
                   22442: char clock_gettime ();
                   22443: int
                   22444: main ()
                   22445: {
                   22446: return clock_gettime ();
                   22447:   ;
                   22448:   return 0;
                   22449: }
                   22450: _ACEOF
                   22451: if ac_fn_c_try_link "$LINENO"; then :
                   22452:   ac_cv_lib_rt_clock_gettime=yes
                   22453: else
                   22454:   ac_cv_lib_rt_clock_gettime=no
                   22455: fi
                   22456: rm -f core conftest.err conftest.$ac_objext \
                   22457:     conftest$ac_exeext conftest.$ac_ext
                   22458: LIBS=$ac_check_lib_save_LIBS
                   22459: fi
                   22460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
                   22461: $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
                   22462: if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
                   22463:   LIBS="$LIBS -lrt"
                   22464: fi
                   22465: 
                   22466: 
                   22467: $as_echo "#define HAVE_CLOCK_MONOTONIC /**/" >>confdefs.h
                   22468: 
                   22469: 
                   22470: else
                   22471:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22472: $as_echo "no" >&6; }
                   22473: fi
                   22474: 
                   22475: 
                   22476: if test "${enable_capabilities}" != "no"; then
                   22477:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether prctl PR_SET_KEEPCAPS is available" >&5
                   22478: $as_echo_n "checking whether prctl PR_SET_KEEPCAPS is available... " >&6; }
                   22479:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22480: /* end confdefs.h.  */
                   22481: #include <sys/prctl.h>
                   22482: int
                   22483: main ()
                   22484: {
                   22485: prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);
                   22486:   ;
                   22487:   return 0;
                   22488: }
                   22489: _ACEOF
                   22490: if ac_fn_c_try_compile "$LINENO"; then :
                   22491:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22492: $as_echo "yes" >&6; }
                   22493: 
                   22494: $as_echo "#define HAVE_PR_SET_KEEPCAPS /**/" >>confdefs.h
                   22495: 
                   22496:      quagga_ac_keepcaps="yes"
                   22497: else
                   22498:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22499: $as_echo "no" >&6; }
                   22500: 
                   22501: fi
                   22502: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   22503:   if test x"${quagga_ac_keepcaps}" = x"yes"; then
                   22504:     for ac_header in sys/capability.h
                   22505: do :
                   22506:   ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
                   22507: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
                   22508:   cat >>confdefs.h <<_ACEOF
                   22509: #define HAVE_SYS_CAPABILITY_H 1
                   22510: _ACEOF
                   22511: 
                   22512: fi
                   22513: 
                   22514: done
                   22515: 
                   22516:   fi
                   22517:   if test x"${ac_cv_header_sys_capability_h}" = x"yes"; then
                   22518:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
                   22519: $as_echo_n "checking for cap_init in -lcap... " >&6; }
                   22520: if ${ac_cv_lib_cap_cap_init+:} false; then :
                   22521:   $as_echo_n "(cached) " >&6
                   22522: else
                   22523:   ac_check_lib_save_LIBS=$LIBS
                   22524: LIBS="-lcap  $LIBS"
                   22525: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22526: /* end confdefs.h.  */
                   22527: 
                   22528: /* Override any GCC internal prototype to avoid an error.
                   22529:    Use char because int might match the return type of a GCC
                   22530:    builtin and then its argument prototype would still apply.  */
                   22531: #ifdef __cplusplus
                   22532: extern "C"
                   22533: #endif
                   22534: char cap_init ();
                   22535: int
                   22536: main ()
                   22537: {
                   22538: return cap_init ();
                   22539:   ;
                   22540:   return 0;
                   22541: }
                   22542: _ACEOF
                   22543: if ac_fn_c_try_link "$LINENO"; then :
                   22544:   ac_cv_lib_cap_cap_init=yes
                   22545: else
                   22546:   ac_cv_lib_cap_cap_init=no
                   22547: fi
                   22548: rm -f core conftest.err conftest.$ac_objext \
                   22549:     conftest$ac_exeext conftest.$ac_ext
                   22550: LIBS=$ac_check_lib_save_LIBS
                   22551: fi
                   22552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
                   22553: $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
                   22554: if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
                   22555: 
                   22556: $as_echo "#define HAVE_LCAPS 1" >>confdefs.h
                   22557: 
                   22558:        LIBCAP="-lcap"
                   22559:        quagga_ac_lcaps="yes"
                   22560: 
                   22561: fi
                   22562: 
                   22563:   else
                   22564:     for ac_header in priv.h
                   22565: do :
                   22566:   ac_fn_c_check_header_mongrel "$LINENO" "priv.h" "ac_cv_header_priv_h" "$ac_includes_default"
                   22567: if test "x$ac_cv_header_priv_h" = xyes; then :
                   22568:   cat >>confdefs.h <<_ACEOF
                   22569: #define HAVE_PRIV_H 1
                   22570: _ACEOF
                   22571:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking Solaris style privileges are available" >&5
                   22572: $as_echo_n "checking Solaris style privileges are available... " >&6; }
                   22573:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22574: /* end confdefs.h.  */
                   22575: #include <priv.h>
                   22576: int
                   22577: main ()
                   22578: {
                   22579: getpflags(PRIV_AWARE);
                   22580:   ;
                   22581:   return 0;
                   22582: }
                   22583: _ACEOF
                   22584: if ac_fn_c_try_compile "$LINENO"; then :
                   22585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   22586: $as_echo "yes" >&6; }
                   22587: 
                   22588: $as_echo "#define HAVE_SOLARIS_CAPABILITIES 1" >>confdefs.h
                   22589: 
                   22590:           quagga_ac_scaps="yes"
                   22591: else
                   22592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   22593: $as_echo "no" >&6; }
                   22594: 
                   22595: fi
                   22596: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   22597: 
                   22598: 
                   22599: fi
                   22600: 
                   22601: done
                   22602: 
                   22603:   fi
                   22604:   if test x"${quagga_ac_scaps}" = x"yes" \
                   22605:        -o x"${quagga_ac_lcaps}" = x"yes"; then
                   22606: 
                   22607: $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h
                   22608: 
                   22609:   fi
                   22610: fi
                   22611: 
                   22612: 
1.1.1.4   misho    22613: 
                   22614:   # starting point: no aliasing scheme yet...
                   22615:   ax_sys_weak_alias=no
                   22616: 
                   22617:   # Figure out what kind of aliasing may be supported...
                   22618:    # Test whether compiler accepts __attribute__ form of weak aliasing
                   22619:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts function __attribute__((weak,alias()))" >&5
                   22620: $as_echo_n "checking whether $CC accepts function __attribute__((weak,alias()))... " >&6; }
                   22621: if ${ax_cv_sys_weak_alias_attribute+:} false; then :
                   22622:   $as_echo_n "(cached) " >&6
                   22623: else
                   22624: 
                   22625:     # We add -Werror if it's gcc to force an error exit if the weak attribute
                   22626:     # isn't understood
                   22627:     if test $GCC = yes; then :
                   22628: 
                   22629:       save_CFLAGS=$CFLAGS
                   22630:       CFLAGS=-Werror
                   22631: fi
                   22632: 
                   22633:     # Try linking with a weak alias...
                   22634:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22635: /* end confdefs.h.  */
                   22636: 
                   22637: 
                   22638: void __weakf(int c) {}
                   22639: void weakf(int c) __attribute__((weak, alias("__weakf")));
                   22640: int
                   22641: main ()
                   22642: {
                   22643: weakf(0)
                   22644:   ;
                   22645:   return 0;
                   22646: }
                   22647: _ACEOF
                   22648: if ac_fn_c_try_link "$LINENO"; then :
                   22649:   ax_cv_sys_weak_alias_attribute=yes
                   22650: else
                   22651:   ax_cv_sys_weak_alias_attribute=no
                   22652: fi
                   22653: rm -f core conftest.err conftest.$ac_objext \
                   22654:     conftest$ac_exeext conftest.$ac_ext
                   22655: 
                   22656:     # Restore original CFLAGS
                   22657:     if test $GCC = yes; then :
                   22658: 
                   22659:       CFLAGS=$save_CFLAGS
                   22660: fi
                   22661: 
                   22662: fi
                   22663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_attribute" >&5
                   22664: $as_echo "$ax_cv_sys_weak_alias_attribute" >&6; }
                   22665: 
                   22666:   # What was the result of the test?
                   22667:   if test $ax_cv_sys_weak_alias_attribute = yes; then :
                   22668: 
                   22669:     test $ax_sys_weak_alias = no && ax_sys_weak_alias=attribute
                   22670: 
                   22671: $as_echo "#define HAVE_SYS_WEAK_ALIAS_ATTRIBUTE 1" >>confdefs.h
                   22672: 
                   22673: 
                   22674: fi
                   22675: 
                   22676:    # Test whether compiler accepts #pragma form of weak aliasing
                   22677:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma weak" >&5
                   22678: $as_echo_n "checking whether $CC supports #pragma weak... " >&6; }
                   22679: if ${ax_cv_sys_weak_alias_pragma+:} false; then :
                   22680:   $as_echo_n "(cached) " >&6
                   22681: else
                   22682: 
                   22683: 
                   22684:     # Try linking with a weak alias...
                   22685:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22686: /* end confdefs.h.  */
                   22687: 
                   22688: 
                   22689: extern void weakf(int c);
                   22690: #pragma weak weakf = __weakf
                   22691: void __weakf(int c) {}
                   22692: int
                   22693: main ()
                   22694: {
                   22695: weakf(0)
                   22696:   ;
                   22697:   return 0;
                   22698: }
                   22699: _ACEOF
                   22700: if ac_fn_c_try_link "$LINENO"; then :
                   22701:   ax_cv_sys_weak_alias_pragma=yes
                   22702: else
                   22703:   ax_cv_sys_weak_alias_pragma=no
                   22704: fi
                   22705: rm -f core conftest.err conftest.$ac_objext \
                   22706:     conftest$ac_exeext conftest.$ac_ext
                   22707: 
                   22708: fi
                   22709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_pragma" >&5
                   22710: $as_echo "$ax_cv_sys_weak_alias_pragma" >&6; }
                   22711: 
                   22712:   # What was the result of the test?
                   22713:   if test $ax_cv_sys_weak_alias_pragma = yes; then :
                   22714: 
                   22715:     test $ax_sys_weak_alias = no && ax_sys_weak_alias=pragma
                   22716: 
                   22717: $as_echo "#define HAVE_SYS_WEAK_ALIAS_PRAGMA 1" >>confdefs.h
                   22718: 
                   22719: 
                   22720: fi
                   22721: 
                   22722:    # Test whether compiler accepts _HP_SECONDARY_DEF pragma from HP...
                   22723:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _HP_SECONDARY_DEF" >&5
                   22724: $as_echo_n "checking whether $CC supports #pragma _HP_SECONDARY_DEF... " >&6; }
                   22725: if ${ax_cv_sys_weak_alias_hpsecondary+:} false; then :
                   22726:   $as_echo_n "(cached) " >&6
                   22727: else
                   22728: 
                   22729: 
                   22730:     # Try linking with a weak alias...
                   22731:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22732: /* end confdefs.h.  */
                   22733: 
                   22734: 
                   22735: extern void weakf(int c);
                   22736: #pragma _HP_SECONDARY_DEF __weakf weakf
                   22737: void __weakf(int c) {}
                   22738: int
                   22739: main ()
                   22740: {
                   22741: weakf(0)
                   22742:   ;
                   22743:   return 0;
                   22744: }
                   22745: _ACEOF
                   22746: if ac_fn_c_try_link "$LINENO"; then :
                   22747:   ax_cv_sys_weak_alias_hpsecondary=yes
                   22748: else
                   22749:   ax_cv_sys_weak_alias_hpsecondary=no
                   22750: fi
                   22751: rm -f core conftest.err conftest.$ac_objext \
                   22752:     conftest$ac_exeext conftest.$ac_ext
                   22753: 
                   22754: fi
                   22755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_hpsecondary" >&5
                   22756: $as_echo "$ax_cv_sys_weak_alias_hpsecondary" >&6; }
                   22757: 
                   22758:   # What was the result of the test?
                   22759:   if test $ax_cv_sys_weak_alias_hpsecondary = yes; then :
                   22760: 
                   22761:     test $ax_sys_weak_alias = no && ax_sys_weak_alias=hpsecondary
                   22762: 
                   22763: $as_echo "#define HAVE_SYS_WEAK_ALIAS_HPSECONDARY 1" >>confdefs.h
                   22764: 
                   22765: 
                   22766: fi
                   22767: 
                   22768:    # Test whether compiler accepts "_CRI duplicate" pragma from Cray
                   22769:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports #pragma _CRI duplicate" >&5
                   22770: $as_echo_n "checking whether $CC supports #pragma _CRI duplicate... " >&6; }
                   22771: if ${ax_cv_sys_weak_alias_criduplicate+:} false; then :
                   22772:   $as_echo_n "(cached) " >&6
                   22773: else
                   22774: 
                   22775: 
                   22776:     # Try linking with a weak alias...
                   22777:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   22778: /* end confdefs.h.  */
                   22779: 
                   22780: 
                   22781: extern void weakf(int c);
                   22782: #pragma _CRI duplicate weakf as __weakf
                   22783: void __weakf(int c) {}
                   22784: int
                   22785: main ()
                   22786: {
                   22787: weakf(0)
                   22788:   ;
                   22789:   return 0;
                   22790: }
                   22791: _ACEOF
                   22792: if ac_fn_c_try_link "$LINENO"; then :
                   22793:   ax_cv_sys_weak_alias_criduplicate=yes
                   22794: else
                   22795:   ax_cv_sys_weak_alias_criduplicate=no
                   22796: fi
                   22797: rm -f core conftest.err conftest.$ac_objext \
                   22798:     conftest$ac_exeext conftest.$ac_ext
                   22799: 
                   22800: fi
                   22801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_criduplicate" >&5
                   22802: $as_echo "$ax_cv_sys_weak_alias_criduplicate" >&6; }
                   22803: 
                   22804:   # What was the result of the test?
                   22805:   if test $ax_cv_sys_weak_alias_criduplicate = yes; then :
                   22806: 
                   22807:     test $ax_sys_weak_alias = no && ax_sys_weak_alias=criduplicate
                   22808: 
                   22809: $as_echo "#define HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE 1" >>confdefs.h
                   22810: 
                   22811: 
                   22812: fi
                   22813: 
                   22814: 
                   22815:   # Do we actually support aliasing?
                   22816:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create weak aliases with $CC" >&5
                   22817: $as_echo_n "checking how to create weak aliases with $CC... " >&6; }
                   22818: if ${ax_cv_sys_weak_alias+:} false; then :
                   22819:   $as_echo_n "(cached) " >&6
                   22820: else
                   22821:   ax_cv_sys_weak_alias=$ax_sys_weak_alias
                   22822: fi
                   22823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias" >&5
                   22824: $as_echo "$ax_cv_sys_weak_alias" >&6; }
                   22825: 
                   22826:   # OK, set a #define
                   22827:   if test $ax_cv_sys_weak_alias != no; then :
                   22828: 
                   22829: 
                   22830: $as_echo "#define HAVE_SYS_WEAK_ALIAS 1" >>confdefs.h
                   22831: 
                   22832: 
                   22833: fi
                   22834: 
                   22835:   # Can aliases cross object file boundaries?
                   22836:    # Check to see if weak aliases can cross object file boundaries
                   22837:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports weak aliases across object file boundaries" >&5
                   22838: $as_echo_n "checking whether $CC supports weak aliases across object file boundaries... " >&6; }
                   22839: if ${ax_cv_sys_weak_alias_crossfile+:} false; then :
                   22840:   $as_echo_n "(cached) " >&6
                   22841: else
                   22842: 
                   22843:     if test $ax_cv_sys_weak_alias = no; then :
                   22844:   ax_cv_sys_weak_alias_crossfile=no
                   22845: else
                   22846: 
                   22847:       # conftest1 contains our weak alias definition...
                   22848:       cat >conftest1.$ac_ext <<_ACEOF
                   22849: /* confdefs.h.  */
                   22850: _ACEOF
                   22851:       cat confdefs.h >>conftest1.$ac_ext
                   22852:       cat >>conftest1.$ac_ext <<_ACEOF
                   22853: /* end confdefs.h.  */
                   22854: 
                   22855: #ifndef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE
                   22856: extern void weakf(int c);
                   22857: #if defined(HAVE_SYS_WEAK_ALIAS_PRAGMA)
                   22858: #pragma weak weakf = __weakf
                   22859: #elif defined(HAVE_SYS_WEAK_ALIAS_HPSECONDARY)
                   22860: #pragma _HP_SECONDARY_DEF __weakf weakf
                   22861: #elif defined(HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE)
                   22862: #pragma _CRI duplicate weakf as __weakf
                   22863: #endif
                   22864: #endif
                   22865: void __weakf(int c) {}
                   22866: #ifdef HAVE_SYS_WEAK_ALIAS_ATTRIBUTE
                   22867: void weakf(int c) __attribute((weak, alias("__weakf")));
                   22868: #endif
                   22869: _ACEOF
                   22870:       # And conftest2 contains our main routine that calls it
                   22871:       cat >conftest2.$ac_ext <<_ACEOF
                   22872: /* confdefs.h.  */
                   22873: _ACEOF
                   22874:       cat confdefs.h >> conftest2.$ac_ext
                   22875:       cat >>conftest2.$ac_ext <<_ACEOF
                   22876: /* end confdefs.h.  */
                   22877: 
                   22878: extern void weakf(int c);
                   22879: int
                   22880: main ()
                   22881: {
                   22882:   weakf(0);
                   22883:   return 0;
                   22884: }
                   22885: _ACEOF
                   22886:       # We must remove the object files (if any) ourselves...
                   22887:       rm -f conftest2.$ac_objext conftest$ac_exeext
                   22888: 
                   22889:       # Change ac_link to compile *2* files together
                   22890:       save_aclink=$ac_link
                   22891:       ac_link=`echo "$ac_link" | \
                   22892:                sed -e 's/conftest\(\.\$ac_ext\)/conftest1\1 conftest2\1/'`
                   22893:       # Since we created the files ourselves, don't use SOURCE argument
                   22894:       if ac_fn_c_try_link "$LINENO"; then :
                   22895:   ax_cv_sys_weak_alias_crossfile=yes
                   22896: else
                   22897:   ax_cv_sys_weak_alias_crossfile=no
                   22898: fi
                   22899: rm -f core conftest.err conftest.$ac_objext \
                   22900:     conftest$ac_exeext
                   22901:       # Restore ac_link
                   22902:       ac_link=$save_aclink
                   22903: 
                   22904:       # We must remove the object files (if any) and C files ourselves...
                   22905:       rm -f conftest1.$ac_ext conftest2.$ac_ext \
                   22906:             conftest1.$ac_objext conftest2.$ac_objext
                   22907: 
                   22908: fi
                   22909: 
                   22910: fi
                   22911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_sys_weak_alias_crossfile" >&5
                   22912: $as_echo "$ax_cv_sys_weak_alias_crossfile" >&6; }
                   22913: 
                   22914:   # What were the results of the test?
                   22915:   if test $ax_cv_sys_weak_alias_crossfile = yes; then :
                   22916: 
                   22917: 
                   22918: $as_echo "#define HAVE_SYS_WEAK_ALIAS_CROSSFILE 1" >>confdefs.h
                   22919: 
                   22920: 
                   22921: fi
                   22922: 
                   22923: 
                   22924:   # OK, remember the results
                   22925:   WEAK_ALIAS=$ax_cv_sys_weak_alias
                   22926: 
                   22927:   WEAK_ALIAS_CROSSFILE=$ax_cv_sys_weak_alias_crossfile
                   22928: 
                   22929: 
                   22930: 
1.1.1.5 ! misho    22931: if test x"${enable_backtrace}" != x"no" ; then
        !          22932:   backtrace_ok=no
        !          22933:   ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
1.1       misho    22934: if test "x$ac_cv_header_execinfo_h" = xyes; then :
1.1.1.5 ! misho    22935: 
        !          22936:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
        !          22937: $as_echo_n "checking for library containing backtrace... " >&6; }
        !          22938: if ${ac_cv_search_backtrace+:} false; then :
        !          22939:   $as_echo_n "(cached) " >&6
        !          22940: else
        !          22941:   ac_func_search_save_LIBS=$LIBS
        !          22942: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          22943: /* end confdefs.h.  */
        !          22944: 
        !          22945: /* Override any GCC internal prototype to avoid an error.
        !          22946:    Use char because int might match the return type of a GCC
        !          22947:    builtin and then its argument prototype would still apply.  */
        !          22948: #ifdef __cplusplus
        !          22949: extern "C"
        !          22950: #endif
        !          22951: char backtrace ();
        !          22952: int
        !          22953: main ()
        !          22954: {
        !          22955: return backtrace ();
        !          22956:   ;
        !          22957:   return 0;
        !          22958: }
        !          22959: _ACEOF
        !          22960: for ac_lib in '' execinfo; do
        !          22961:   if test -z "$ac_lib"; then
        !          22962:     ac_res="none required"
        !          22963:   else
        !          22964:     ac_res=-l$ac_lib
        !          22965:     LIBS="-l$ac_lib -lm $ac_func_search_save_LIBS"
        !          22966:   fi
        !          22967:   if ac_fn_c_try_link "$LINENO"; then :
        !          22968:   ac_cv_search_backtrace=$ac_res
        !          22969: fi
        !          22970: rm -f core conftest.err conftest.$ac_objext \
        !          22971:     conftest$ac_exeext
        !          22972:   if ${ac_cv_search_backtrace+:} false; then :
        !          22973:   break
        !          22974: fi
        !          22975: done
        !          22976: if ${ac_cv_search_backtrace+:} false; then :
        !          22977: 
        !          22978: else
        !          22979:   ac_cv_search_backtrace=no
        !          22980: fi
        !          22981: rm conftest.$ac_ext
        !          22982: LIBS=$ac_func_search_save_LIBS
        !          22983: fi
        !          22984: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
        !          22985: $as_echo "$ac_cv_search_backtrace" >&6; }
        !          22986: ac_res=$ac_cv_search_backtrace
        !          22987: if test "$ac_res" != no; then :
        !          22988:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
        !          22989: 
1.1       misho    22990: 
                   22991: $as_echo "#define HAVE_GLIBC_BACKTRACE /**/" >>confdefs.h
                   22992: 
                   22993: 
                   22994: $as_echo "#define HAVE_STACK_TRACE /**/" >>confdefs.h
                   22995: 
1.1.1.5 ! misho    22996:       backtrace_ok=yes
1.1       misho    22997: 
                   22998: fi
                   22999: 
                   23000: 
                   23001: fi
                   23002: 
                   23003: 
                   23004: 
1.1.1.5 ! misho    23005:   if test x"${enable_backtrace}" = x"yes" -a x"${backtrace_ok}" = x"no"; then
        !          23006:         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          23007: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          23008: as_fn_error $? "failed to find backtrace support
        !          23009: See \`config.log' for more details" "$LINENO" 5; }
        !          23010:   fi
        !          23011: fi
        !          23012: 
1.1       misho    23013: ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "#ifdef SUNOS_5
                   23014: #define _XPG4_2
                   23015: #define __EXTENSIONS__
                   23016: #endif
                   23017: #include <stdio.h>
                   23018: #if STDC_HEADERS
                   23019: # include <stdlib.h>
                   23020: # include <stddef.h>
                   23021: #else
                   23022: # if HAVE_STDLIB_H
                   23023: #  include <stdlib.h>
                   23024: # endif
                   23025: #endif
                   23026: #if HAVE_SYS_TYPES_H
                   23027: # include <sys/types.h>
                   23028: #endif
                   23029: /* sys/conf.h depends on param.h on FBSD at least */
                   23030: #if HAVE_SYS_PARAM_H
                   23031: # include <sys/param.h>
                   23032: #endif
                   23033: /* Required for MAXSIG */
                   23034: #if HAVE_SIGNAL_H
                   23035: # include <signal.h>
                   23036: #endif
                   23037: #if HAVE_SYS_SOCKET_H
                   23038: # include <sys/socket.h>
                   23039: #endif
1.1.1.4   misho    23040: #ifdef __APPLE__
                   23041: # define __APPLE_USE_RFC_3542
                   23042: #endif
1.1       misho    23043: #if HAVE_NETINET_IN_H
                   23044: # include <netinet/in.h>
                   23045: #endif
                   23046: #ifdef TIME_WITH_SYS_TIME
                   23047: # include <sys/time.h>
                   23048: # include <time.h>
                   23049: #else
                   23050: # ifdef HAVE_SYS_TIME_H
                   23051: #  include <sys/time.h>
                   23052: # else
                   23053: #  include <time.h>
                   23054: # endif
                   23055: #endif /* TIME_WITH_SYS_TIME */
                   23056: 
                   23057: #if HAVE_NET_IF_H
                   23058: # include <net/if.h>
                   23059: #endif
                   23060: 
                   23061: #if HAVE_NET_IF_VAR_H
                   23062: # include <net/if_var.h>
                   23063: #endif
                   23064: 
                   23065: #if HAVE_SYS_UN_H
                   23066: # include <sys/un.h>
                   23067: #endif
                   23068: #if HAVE_NETINET_IN_SYSTM_H
                   23069: # include <netinet/in_systm.h>
                   23070: #endif
                   23071: #if HAVE_NETINET_IN_VAR_H
                   23072: # include <netinet/in_var.h>
                   23073: #endif
                   23074: #if HAVE_NET_IF_DL_H
                   23075: # include <net/if_dl.h>
                   23076: #endif
                   23077: #if HAVE_NET_NETOPT_H
                   23078: # include <net/netopt.h>
                   23079: #endif
                   23080: #if HAVE_NET_ROUTE_H
                   23081: # include <net/route.h>
                   23082: #endif
                   23083: #if HAVE_INET_ND_H
                   23084: # include <inet/nd.h>
                   23085: #endif
                   23086: #if HAVE_ARPA_INET_H
                   23087: # include <arpa/inet.h>
                   23088: #endif
                   23089: /* Required for IDRP */
                   23090: #if HAVE_NETINET_IP_ICMP_H
                   23091: # include <netinet/ip_icmp.h>
                   23092: #endif
                   23093: 
                   23094: #if HAVE_NETINET6_IN6_H
                   23095: #include <netinet6/in6.h>
                   23096: #endif
                   23097: #if HAVE_NETINET_IN6_VAR_H
                   23098: #include <netinet/in6_var.h>
                   23099: #endif
                   23100: #if HAVE_NETINET_ICMP6_H
                   23101: # include <netinet/icmp6.h>
                   23102: #endif
                   23103: #if HAVE_NETINET6_IN6_VAR_H
                   23104: # include <netinet6/in6_var.h>
                   23105: #endif
                   23106: #if HAVE_NETINET6_ND6_H
                   23107: # include <netinet6/nd6.h>
                   23108: #endif
                   23109: 
                   23110: "
                   23111: if test "x$ac_cv_header_malloc_h" = xyes; then :
                   23112:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mallinfo is available" >&5
                   23113: $as_echo_n "checking whether mallinfo is available... " >&6; }
                   23114:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23115: /* end confdefs.h.  */
                   23116: #include <malloc.h>
                   23117: int
                   23118: main ()
                   23119: {
                   23120: struct mallinfo ac_x; ac_x = mallinfo ();
                   23121:   ;
                   23122:   return 0;
                   23123: }
                   23124: _ACEOF
                   23125: if ac_fn_c_try_link "$LINENO"; then :
                   23126:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   23127: $as_echo "yes" >&6; }
                   23128: 
                   23129: $as_echo "#define HAVE_MALLINFO /**/" >>confdefs.h
                   23130: 
                   23131: else
                   23132:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   23133: $as_echo "no" >&6; }
                   23134: 
                   23135: fi
                   23136: rm -f core conftest.err conftest.$ac_objext \
                   23137:     conftest$ac_exeext conftest.$ac_ext
                   23138: 
                   23139: fi
                   23140: 
                   23141: 
                   23142: 
                   23143: CONFDATE=`date '+%Y%m%d'`
                   23144: 
                   23145: 
1.1.1.5 ! misho    23146: if test x"$DEJAGNU" = x
        !          23147: then
        !          23148:   DEJAGNU="\$(top_srcdir)/tests/global-conf.exp"
1.1       misho    23149: fi
1.1.1.5 ! misho    23150: RUNTESTDEFAULTFLAGS="-x --tool \$\$tool"
1.1       misho    23151: 
                   23152: 
                   23153: 
                   23154: 
                   23155: { $as_echo "$as_me:${as_lineno-$LINENO}: checking directory to use for state file" >&5
                   23156: $as_echo_n "checking directory to use for state file... " >&6; }
                   23157: if test "${prefix}" = "NONE"; then
                   23158:   quagga_statedir_prefix="";
                   23159: else
                   23160:   quagga_statedir_prefix=${prefix}
                   23161: fi
                   23162: if test "${localstatedir}" = '${prefix}/var'; then
                   23163:   for QUAGGA_STATE_DIR in ${quagga_statedir_prefix}/var/run                    ${quagga_statedir_prefix}/var/adm                       ${quagga_statedir_prefix}/etc                   /var/run                                /var/adm                                /etc                                    /dev/null;
                   23164:   do
                   23165:     test -d $QUAGGA_STATE_DIR && break
                   23166:   done
                   23167:   quagga_statedir=$QUAGGA_STATE_DIR
                   23168: else
                   23169:   quagga_statedir=${localstatedir}
                   23170: fi
                   23171: if test $quagga_statedir = "/dev/null"; then
                   23172:     as_fn_error $? "'STATE DIRECTORY NOT FOUND! FIX OR SPECIFY --localstatedir!'" "$LINENO" 5
                   23173: fi
                   23174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${quagga_statedir}" >&5
                   23175: $as_echo "${quagga_statedir}" >&6; }
                   23176: 
                   23177: 
                   23178: 
                   23179: cat >>confdefs.h <<_ACEOF
                   23180: #define PATH_ZEBRA_PID "$quagga_statedir/zebra.pid"
                   23181: _ACEOF
                   23182: 
                   23183: 
                   23184: cat >>confdefs.h <<_ACEOF
                   23185: #define PATH_RIPD_PID "$quagga_statedir/ripd.pid"
                   23186: _ACEOF
                   23187: 
                   23188: 
                   23189: cat >>confdefs.h <<_ACEOF
                   23190: #define PATH_RIPNGD_PID "$quagga_statedir/ripngd.pid"
                   23191: _ACEOF
                   23192: 
                   23193: 
                   23194: cat >>confdefs.h <<_ACEOF
                   23195: #define PATH_BGPD_PID "$quagga_statedir/bgpd.pid"
                   23196: _ACEOF
                   23197: 
                   23198: 
                   23199: cat >>confdefs.h <<_ACEOF
                   23200: #define PATH_OSPFD_PID "$quagga_statedir/ospfd.pid"
                   23201: _ACEOF
                   23202: 
                   23203: 
                   23204: cat >>confdefs.h <<_ACEOF
                   23205: #define PATH_OSPF6D_PID "$quagga_statedir/ospf6d.pid"
                   23206: _ACEOF
                   23207: 
                   23208: 
                   23209: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    23210: #define PATH_ISISD_PID "$quagga_statedir/isisd.pid"
1.1.1.3   misho    23211: _ACEOF
                   23212: 
                   23213: 
                   23214: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    23215: #define PATH_PIMD_PID "$quagga_statedir/pimd.pid"
1.1       misho    23216: _ACEOF
                   23217: 
                   23218: 
                   23219: cat >>confdefs.h <<_ACEOF
                   23220: #define PATH_WATCHQUAGGA_PID "$quagga_statedir/watchquagga.pid"
                   23221: _ACEOF
                   23222: 
                   23223: 
                   23224: cat >>confdefs.h <<_ACEOF
                   23225: #define ZEBRA_SERV_PATH "$quagga_statedir/zserv.api"
                   23226: _ACEOF
                   23227: 
                   23228: 
                   23229: cat >>confdefs.h <<_ACEOF
                   23230: #define ZEBRA_VTYSH_PATH "$quagga_statedir/zebra.vty"
                   23231: _ACEOF
                   23232: 
                   23233: 
                   23234: cat >>confdefs.h <<_ACEOF
                   23235: #define RIP_VTYSH_PATH "$quagga_statedir/ripd.vty"
                   23236: _ACEOF
                   23237: 
                   23238: 
                   23239: cat >>confdefs.h <<_ACEOF
                   23240: #define RIPNG_VTYSH_PATH "$quagga_statedir/ripngd.vty"
                   23241: _ACEOF
                   23242: 
                   23243: 
                   23244: cat >>confdefs.h <<_ACEOF
                   23245: #define BGP_VTYSH_PATH "$quagga_statedir/bgpd.vty"
                   23246: _ACEOF
                   23247: 
                   23248: 
                   23249: cat >>confdefs.h <<_ACEOF
                   23250: #define OSPF_VTYSH_PATH "$quagga_statedir/ospfd.vty"
                   23251: _ACEOF
                   23252: 
                   23253: 
                   23254: cat >>confdefs.h <<_ACEOF
                   23255: #define OSPF6_VTYSH_PATH "$quagga_statedir/ospf6d.vty"
                   23256: _ACEOF
                   23257: 
                   23258: 
                   23259: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    23260: #define ISIS_VTYSH_PATH "$quagga_statedir/isisd.vty"
1.1.1.3   misho    23261: _ACEOF
                   23262: 
                   23263: 
                   23264: cat >>confdefs.h <<_ACEOF
1.1.1.5 ! misho    23265: #define PIM_VTYSH_PATH "$quagga_statedir/pimd.vty"
1.1       misho    23266: _ACEOF
                   23267: 
                   23268: 
                   23269: cat >>confdefs.h <<_ACEOF
                   23270: #define DAEMON_VTY_DIR "$quagga_statedir"
                   23271: _ACEOF
                   23272: 
                   23273: 
                   23274: 
                   23275: $as_echo "#define QUAGGA_NO_DEPRECATED_INTERFACES 1" >>confdefs.h
                   23276: 
                   23277: 
                   23278: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working htonl" >&5
                   23279: $as_echo_n "checking for working htonl... " >&6; }
                   23280: if ${ac_cv_htonl_works+:} false; then :
                   23281:   $as_echo_n "(cached) " >&6
                   23282: else
                   23283:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   23284: /* end confdefs.h.  */
                   23285: #ifdef SUNOS_5
                   23286: #define _XPG4_2
                   23287: #define __EXTENSIONS__
                   23288: #endif
                   23289: #include <stdio.h>
                   23290: #if STDC_HEADERS
                   23291: # include <stdlib.h>
                   23292: # include <stddef.h>
                   23293: #else
                   23294: # if HAVE_STDLIB_H
                   23295: #  include <stdlib.h>
                   23296: # endif
                   23297: #endif
                   23298: #if HAVE_SYS_TYPES_H
                   23299: # include <sys/types.h>
                   23300: #endif
                   23301: /* sys/conf.h depends on param.h on FBSD at least */
                   23302: #if HAVE_SYS_PARAM_H
                   23303: # include <sys/param.h>
                   23304: #endif
                   23305: /* Required for MAXSIG */
                   23306: #if HAVE_SIGNAL_H
                   23307: # include <signal.h>
                   23308: #endif
                   23309: #if HAVE_SYS_SOCKET_H
                   23310: # include <sys/socket.h>
                   23311: #endif
1.1.1.4   misho    23312: #ifdef __APPLE__
                   23313: # define __APPLE_USE_RFC_3542
                   23314: #endif
1.1       misho    23315: #if HAVE_NETINET_IN_H
                   23316: # include <netinet/in.h>
                   23317: #endif
                   23318: #ifdef TIME_WITH_SYS_TIME
                   23319: # include <sys/time.h>
                   23320: # include <time.h>
                   23321: #else
                   23322: # ifdef HAVE_SYS_TIME_H
                   23323: #  include <sys/time.h>
                   23324: # else
                   23325: #  include <time.h>
                   23326: # endif
                   23327: #endif /* TIME_WITH_SYS_TIME */
                   23328: 
                   23329: #if HAVE_NET_IF_H
                   23330: # include <net/if.h>
                   23331: #endif
                   23332: 
                   23333: #if HAVE_NET_IF_VAR_H
                   23334: # include <net/if_var.h>
                   23335: #endif
                   23336: 
                   23337: #if HAVE_SYS_UN_H
                   23338: # include <sys/un.h>
                   23339: #endif
                   23340: #if HAVE_NETINET_IN_SYSTM_H
                   23341: # include <netinet/in_systm.h>
                   23342: #endif
                   23343: #if HAVE_NETINET_IN_VAR_H
                   23344: # include <netinet/in_var.h>
                   23345: #endif
                   23346: #if HAVE_NET_IF_DL_H
                   23347: # include <net/if_dl.h>
                   23348: #endif
                   23349: #if HAVE_NET_NETOPT_H
                   23350: # include <net/netopt.h>
                   23351: #endif
                   23352: #if HAVE_NET_ROUTE_H
                   23353: # include <net/route.h>
                   23354: #endif
                   23355: #if HAVE_INET_ND_H
                   23356: # include <inet/nd.h>
                   23357: #endif
                   23358: #if HAVE_ARPA_INET_H
                   23359: # include <arpa/inet.h>
                   23360: #endif
                   23361: /* Required for IDRP */
                   23362: #if HAVE_NETINET_IP_ICMP_H
                   23363: # include <netinet/ip_icmp.h>
                   23364: #endif
                   23365: 
                   23366: #if HAVE_NETINET6_IN6_H
                   23367: #include <netinet6/in6.h>
                   23368: #endif
                   23369: #if HAVE_NETINET_IN6_VAR_H
                   23370: #include <netinet/in6_var.h>
                   23371: #endif
                   23372: #if HAVE_NETINET_ICMP6_H
                   23373: # include <netinet/icmp6.h>
                   23374: #endif
                   23375: #if HAVE_NETINET6_IN6_VAR_H
                   23376: # include <netinet6/in6_var.h>
                   23377: #endif
                   23378: #if HAVE_NETINET6_ND6_H
                   23379: # include <netinet6/nd6.h>
                   23380: #endif
                   23381: 
                   23382: int
                   23383: main ()
                   23384: {
                   23385: htonl (0);
                   23386:   ;
                   23387:   return 0;
                   23388: }
                   23389: _ACEOF
                   23390: if ac_fn_c_try_link "$LINENO"; then :
                   23391:   ac_cv_htonl_works=yes
                   23392: else
                   23393:   ac_cv_htonl_works=no
                   23394: fi
                   23395: rm -f core conftest.err conftest.$ac_objext \
                   23396:     conftest$ac_exeext conftest.$ac_ext
                   23397: 
                   23398: 
                   23399: fi
                   23400: 
                   23401: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htonl_works" >&5
                   23402: $as_echo "$ac_cv_htonl_works" >&6; }
                   23403: 
1.1.1.5 ! misho    23404: ac_config_files="$ac_config_files Makefile lib/Makefile zebra/Makefile ripd/Makefile ripngd/Makefile bgpd/Makefile ospfd/Makefile watchquagga/Makefile ospf6d/Makefile isisd/Makefile vtysh/Makefile doc/Makefile ospfclient/Makefile tests/Makefile m4/Makefile pimd/Makefile tests/bgpd.tests/Makefile tests/libzebra.tests/Makefile redhat/Makefile pkgsrc/Makefile redhat/quagga.spec lib/version.h doc/defines.texi isisd/topology/Makefile pkgsrc/bgpd.sh pkgsrc/ospf6d.sh pkgsrc/ospfd.sh pkgsrc/ripd.sh pkgsrc/ripngd.sh pkgsrc/zebra.sh"
1.1       misho    23405: 
                   23406: ac_config_files="$ac_config_files solaris/Makefile"
                   23407: 
                   23408: 
                   23409: ac_config_files="$ac_config_files vtysh/extract.pl"
                   23410: 
                   23411: ## Hack, but working solution to avoid rebuilding of quagga.info.
                   23412: ## It's already in CVS until texinfo 4.7 is more common.
                   23413: cat >confcache <<\_ACEOF
                   23414: # This file is a shell script that caches the results of configure
                   23415: # tests run on this system so they can be shared between configure
                   23416: # scripts and configure runs, see configure's option --config-cache.
                   23417: # It is not useful on other systems.  If it contains results you don't
                   23418: # want to keep, you may remove or edit it.
                   23419: #
                   23420: # config.status only pays attention to the cache file if you give it
                   23421: # the --recheck option to rerun configure.
                   23422: #
                   23423: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   23424: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   23425: # following values.
                   23426: 
                   23427: _ACEOF
                   23428: 
                   23429: # The following way of writing the cache mishandles newlines in values,
                   23430: # but we know of no workaround that is simple, portable, and efficient.
                   23431: # So, we kill variables containing newlines.
                   23432: # Ultrix sh set writes to stderr and can't be redirected directly,
                   23433: # and sets the high bit in the cache file unless we assign to the vars.
                   23434: (
                   23435:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   23436:     eval ac_val=\$$ac_var
                   23437:     case $ac_val in #(
                   23438:     *${as_nl}*)
                   23439:       case $ac_var in #(
                   23440:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   23441: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   23442:       esac
                   23443:       case $ac_var in #(
                   23444:       _ | IFS | as_nl) ;; #(
                   23445:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   23446:       *) { eval $ac_var=; unset $ac_var;} ;;
                   23447:       esac ;;
                   23448:     esac
                   23449:   done
                   23450: 
                   23451:   (set) 2>&1 |
                   23452:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   23453:     *${as_nl}ac_space=\ *)
                   23454:       # `set' does not quote correctly, so add quotes: double-quote
                   23455:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   23456:       sed -n \
                   23457:        "s/'/'\\\\''/g;
                   23458:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   23459:       ;; #(
                   23460:     *)
                   23461:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   23462:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   23463:       ;;
                   23464:     esac |
                   23465:     sort
                   23466: ) |
                   23467:   sed '
                   23468:      /^ac_cv_env_/b end
                   23469:      t clear
                   23470:      :clear
                   23471:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   23472:      t end
                   23473:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   23474:      :end' >>confcache
                   23475: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   23476:   if test -w "$cache_file"; then
                   23477:     if test "x$cache_file" != "x/dev/null"; then
                   23478:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   23479: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   23480:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   23481:        cat confcache >"$cache_file"
                   23482:       else
                   23483:         case $cache_file in #(
                   23484:         */* | ?:*)
                   23485:          mv -f confcache "$cache_file"$$ &&
                   23486:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   23487:         *)
                   23488:          mv -f confcache "$cache_file" ;;
                   23489:        esac
                   23490:       fi
                   23491:     fi
                   23492:   else
                   23493:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   23494: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   23495:   fi
                   23496: fi
                   23497: rm -f confcache
                   23498: 
                   23499: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   23500: # Let make expand exec_prefix.
                   23501: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   23502: 
                   23503: DEFS=-DHAVE_CONFIG_H
                   23504: 
                   23505: ac_libobjs=
                   23506: ac_ltlibobjs=
                   23507: U=
                   23508: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   23509:   # 1. Remove the extension, and $U if already installed.
                   23510:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   23511:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   23512:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   23513:   #    will be set to the directory where LIBOBJS objects are built.
                   23514:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   23515:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   23516: done
                   23517: LIBOBJS=$ac_libobjs
                   23518: 
                   23519: LTLIBOBJS=$ac_ltlibobjs
                   23520: 
                   23521: 
                   23522:  if test -n "$EXEEXT"; then
                   23523:   am__EXEEXT_TRUE=
                   23524:   am__EXEEXT_FALSE='#'
                   23525: else
                   23526:   am__EXEEXT_TRUE='#'
                   23527:   am__EXEEXT_FALSE=
                   23528: fi
                   23529: 
                   23530: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   23531:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   23532: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23533: fi
                   23534: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   23535:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   23536: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23537: fi
1.1.1.3   misho    23538: if test -z "${HAVE_LATEX_TRUE}" && test -z "${HAVE_LATEX_FALSE}"; then
                   23539:   as_fn_error $? "conditional \"HAVE_LATEX\" was never defined.
                   23540: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23541: fi
1.1.1.4   misho    23542: if test -z "${GIT_VERSION_TRUE}" && test -z "${GIT_VERSION_FALSE}"; then
                   23543:   as_fn_error $? "conditional \"GIT_VERSION\" was never defined.
                   23544: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23545: fi
1.1.1.3   misho    23546: if test -z "${VTYSH_TRUE}" && test -z "${VTYSH_FALSE}"; then
                   23547:   as_fn_error $? "conditional \"VTYSH\" was never defined.
                   23548: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23549: fi
1.1       misho    23550: 
1.1.1.4   misho    23551: if test -z "${HAVE_NETLINK_TRUE}" && test -z "${HAVE_NETLINK_FALSE}"; then
                   23552:   as_fn_error $? "conditional \"HAVE_NETLINK\" was never defined.
                   23553: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23554: fi
1.1.1.3   misho    23555: if test -z "${ZEBRA_TRUE}" && test -z "${ZEBRA_FALSE}"; then
                   23556:   as_fn_error $? "conditional \"ZEBRA\" was never defined.
                   23557: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23558: fi
                   23559: if test -z "${BGPD_TRUE}" && test -z "${BGPD_FALSE}"; then
                   23560:   as_fn_error $? "conditional \"BGPD\" was never defined.
                   23561: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23562: fi
                   23563: if test -z "${RIPD_TRUE}" && test -z "${RIPD_FALSE}"; then
                   23564:   as_fn_error $? "conditional \"RIPD\" was never defined.
                   23565: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23566: fi
                   23567: if test -z "${OSPFD_TRUE}" && test -z "${OSPFD_FALSE}"; then
                   23568:   as_fn_error $? "conditional \"OSPFD\" was never defined.
                   23569: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23570: fi
                   23571: if test -z "${WATCHQUAGGA_TRUE}" && test -z "${WATCHQUAGGA_FALSE}"; then
                   23572:   as_fn_error $? "conditional \"WATCHQUAGGA\" was never defined.
                   23573: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23574: fi
                   23575: if test -z "${OSPFCLIENT_TRUE}" && test -z "${OSPFCLIENT_FALSE}"; then
                   23576:   as_fn_error $? "conditional \"OSPFCLIENT\" was never defined.
                   23577: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23578: fi
                   23579: if test -z "${RIPNGD_TRUE}" && test -z "${RIPNGD_FALSE}"; then
                   23580:   as_fn_error $? "conditional \"RIPNGD\" was never defined.
                   23581: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23582: fi
                   23583: if test -z "${OSPF6D_TRUE}" && test -z "${OSPF6D_FALSE}"; then
                   23584:   as_fn_error $? "conditional \"OSPF6D\" was never defined.
                   23585: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23586: fi
                   23587: if test -z "${ISISD_TRUE}" && test -z "${ISISD_FALSE}"; then
                   23588:   as_fn_error $? "conditional \"ISISD\" was never defined.
                   23589: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   23590: fi
1.1.1.5 ! misho    23591: if test -z "${PIMD_TRUE}" && test -z "${PIMD_FALSE}"; then
        !          23592:   as_fn_error $? "conditional \"PIMD\" was never defined.
        !          23593: Usually this means the macro was only invoked conditionally." "$LINENO" 5
        !          23594: fi
1.1       misho    23595: 
                   23596: : "${CONFIG_STATUS=./config.status}"
                   23597: ac_write_fail=0
                   23598: ac_clean_files_save=$ac_clean_files
                   23599: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   23600: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   23601: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   23602: as_write_fail=0
                   23603: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   23604: #! $SHELL
                   23605: # Generated by $as_me.
                   23606: # Run this file to recreate the current configuration.
                   23607: # Compiler output produced by configure, useful for debugging
                   23608: # configure, is in config.log if it exists.
                   23609: 
                   23610: debug=false
                   23611: ac_cs_recheck=false
                   23612: ac_cs_silent=false
                   23613: 
                   23614: SHELL=\${CONFIG_SHELL-$SHELL}
                   23615: export SHELL
                   23616: _ASEOF
                   23617: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   23618: ## -------------------- ##
                   23619: ## M4sh Initialization. ##
                   23620: ## -------------------- ##
                   23621: 
                   23622: # Be more Bourne compatible
                   23623: DUALCASE=1; export DUALCASE # for MKS sh
                   23624: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   23625:   emulate sh
                   23626:   NULLCMD=:
                   23627:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   23628:   # is contrary to our usage.  Disable this feature.
                   23629:   alias -g '${1+"$@"}'='"$@"'
                   23630:   setopt NO_GLOB_SUBST
                   23631: else
                   23632:   case `(set -o) 2>/dev/null` in #(
                   23633:   *posix*) :
                   23634:     set -o posix ;; #(
                   23635:   *) :
                   23636:      ;;
                   23637: esac
                   23638: fi
                   23639: 
                   23640: 
                   23641: as_nl='
                   23642: '
                   23643: export as_nl
                   23644: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   23645: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   23646: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   23647: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   23648: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   23649: # but without wasting forks for bash or zsh.
                   23650: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   23651:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   23652:   as_echo='print -r --'
                   23653:   as_echo_n='print -rn --'
                   23654: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   23655:   as_echo='printf %s\n'
                   23656:   as_echo_n='printf %s'
                   23657: else
                   23658:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   23659:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   23660:     as_echo_n='/usr/ucb/echo -n'
                   23661:   else
                   23662:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   23663:     as_echo_n_body='eval
                   23664:       arg=$1;
                   23665:       case $arg in #(
                   23666:       *"$as_nl"*)
                   23667:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   23668:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   23669:       esac;
                   23670:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   23671:     '
                   23672:     export as_echo_n_body
                   23673:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   23674:   fi
                   23675:   export as_echo_body
                   23676:   as_echo='sh -c $as_echo_body as_echo'
                   23677: fi
                   23678: 
                   23679: # The user is always right.
                   23680: if test "${PATH_SEPARATOR+set}" != set; then
                   23681:   PATH_SEPARATOR=:
                   23682:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   23683:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   23684:       PATH_SEPARATOR=';'
                   23685:   }
                   23686: fi
                   23687: 
                   23688: 
                   23689: # IFS
                   23690: # We need space, tab and new line, in precisely that order.  Quoting is
                   23691: # there to prevent editors from complaining about space-tab.
                   23692: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   23693: # splitting by setting IFS to empty value.)
                   23694: IFS=" ""       $as_nl"
                   23695: 
                   23696: # Find who we are.  Look in the path if we contain no directory separator.
                   23697: as_myself=
                   23698: case $0 in #((
                   23699:   *[\\/]* ) as_myself=$0 ;;
                   23700:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   23701: for as_dir in $PATH
                   23702: do
                   23703:   IFS=$as_save_IFS
                   23704:   test -z "$as_dir" && as_dir=.
                   23705:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   23706:   done
                   23707: IFS=$as_save_IFS
                   23708: 
                   23709:      ;;
                   23710: esac
                   23711: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   23712: # in which case we are not to be found in the path.
                   23713: if test "x$as_myself" = x; then
                   23714:   as_myself=$0
                   23715: fi
                   23716: if test ! -f "$as_myself"; then
                   23717:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   23718:   exit 1
                   23719: fi
                   23720: 
                   23721: # Unset variables that we do not need and which cause bugs (e.g. in
                   23722: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   23723: # suppresses any "Segmentation fault" message there.  '((' could
                   23724: # trigger a bug in pdksh 5.2.14.
                   23725: for as_var in BASH_ENV ENV MAIL MAILPATH
                   23726: do eval test x\${$as_var+set} = xset \
                   23727:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   23728: done
                   23729: PS1='$ '
                   23730: PS2='> '
                   23731: PS4='+ '
                   23732: 
                   23733: # NLS nuisances.
                   23734: LC_ALL=C
                   23735: export LC_ALL
                   23736: LANGUAGE=C
                   23737: export LANGUAGE
                   23738: 
                   23739: # CDPATH.
                   23740: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   23741: 
                   23742: 
                   23743: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   23744: # ----------------------------------------
                   23745: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   23746: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   23747: # script with STATUS, using 1 if that was 0.
                   23748: as_fn_error ()
                   23749: {
                   23750:   as_status=$1; test $as_status -eq 0 && as_status=1
                   23751:   if test "$4"; then
                   23752:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   23753:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   23754:   fi
                   23755:   $as_echo "$as_me: error: $2" >&2
                   23756:   as_fn_exit $as_status
                   23757: } # as_fn_error
                   23758: 
                   23759: 
                   23760: # as_fn_set_status STATUS
                   23761: # -----------------------
                   23762: # Set $? to STATUS, without forking.
                   23763: as_fn_set_status ()
                   23764: {
                   23765:   return $1
                   23766: } # as_fn_set_status
                   23767: 
                   23768: # as_fn_exit STATUS
                   23769: # -----------------
                   23770: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   23771: as_fn_exit ()
                   23772: {
                   23773:   set +e
                   23774:   as_fn_set_status $1
                   23775:   exit $1
                   23776: } # as_fn_exit
                   23777: 
                   23778: # as_fn_unset VAR
                   23779: # ---------------
                   23780: # Portably unset VAR.
                   23781: as_fn_unset ()
                   23782: {
                   23783:   { eval $1=; unset $1;}
                   23784: }
                   23785: as_unset=as_fn_unset
                   23786: # as_fn_append VAR VALUE
                   23787: # ----------------------
                   23788: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   23789: # advantage of any shell optimizations that allow amortized linear growth over
                   23790: # repeated appends, instead of the typical quadratic growth present in naive
                   23791: # implementations.
                   23792: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   23793:   eval 'as_fn_append ()
                   23794:   {
                   23795:     eval $1+=\$2
                   23796:   }'
                   23797: else
                   23798:   as_fn_append ()
                   23799:   {
                   23800:     eval $1=\$$1\$2
                   23801:   }
                   23802: fi # as_fn_append
                   23803: 
                   23804: # as_fn_arith ARG...
                   23805: # ------------------
                   23806: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   23807: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   23808: # must be portable across $(()) and expr.
                   23809: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   23810:   eval 'as_fn_arith ()
                   23811:   {
                   23812:     as_val=$(( $* ))
                   23813:   }'
                   23814: else
                   23815:   as_fn_arith ()
                   23816:   {
                   23817:     as_val=`expr "$@" || test $? -eq 1`
                   23818:   }
                   23819: fi # as_fn_arith
                   23820: 
                   23821: 
                   23822: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   23823:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   23824:   as_expr=expr
                   23825: else
                   23826:   as_expr=false
                   23827: fi
                   23828: 
                   23829: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   23830:   as_basename=basename
                   23831: else
                   23832:   as_basename=false
                   23833: fi
                   23834: 
                   23835: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   23836:   as_dirname=dirname
                   23837: else
                   23838:   as_dirname=false
                   23839: fi
                   23840: 
                   23841: as_me=`$as_basename -- "$0" ||
                   23842: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   23843:         X"$0" : 'X\(//\)$' \| \
                   23844:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   23845: $as_echo X/"$0" |
                   23846:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   23847:            s//\1/
                   23848:            q
                   23849:          }
                   23850:          /^X\/\(\/\/\)$/{
                   23851:            s//\1/
                   23852:            q
                   23853:          }
                   23854:          /^X\/\(\/\).*/{
                   23855:            s//\1/
                   23856:            q
                   23857:          }
                   23858:          s/.*/./; q'`
                   23859: 
                   23860: # Avoid depending upon Character Ranges.
                   23861: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   23862: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   23863: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   23864: as_cr_digits='0123456789'
                   23865: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   23866: 
                   23867: ECHO_C= ECHO_N= ECHO_T=
                   23868: case `echo -n x` in #(((((
                   23869: -n*)
                   23870:   case `echo 'xy\c'` in
                   23871:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   23872:   xy)  ECHO_C='\c';;
                   23873:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   23874:        ECHO_T='        ';;
                   23875:   esac;;
                   23876: *)
                   23877:   ECHO_N='-n';;
                   23878: esac
                   23879: 
                   23880: rm -f conf$$ conf$$.exe conf$$.file
                   23881: if test -d conf$$.dir; then
                   23882:   rm -f conf$$.dir/conf$$.file
                   23883: else
                   23884:   rm -f conf$$.dir
                   23885:   mkdir conf$$.dir 2>/dev/null
                   23886: fi
                   23887: if (echo >conf$$.file) 2>/dev/null; then
                   23888:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   23889:     as_ln_s='ln -s'
                   23890:     # ... but there are two gotchas:
                   23891:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   23892:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.3   misho    23893:     # In both cases, we have to default to `cp -pR'.
1.1       misho    23894:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.3   misho    23895:       as_ln_s='cp -pR'
1.1       misho    23896:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   23897:     as_ln_s=ln
                   23898:   else
1.1.1.3   misho    23899:     as_ln_s='cp -pR'
1.1       misho    23900:   fi
                   23901: else
1.1.1.3   misho    23902:   as_ln_s='cp -pR'
1.1       misho    23903: fi
                   23904: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   23905: rmdir conf$$.dir 2>/dev/null
                   23906: 
                   23907: 
                   23908: # as_fn_mkdir_p
                   23909: # -------------
                   23910: # Create "$as_dir" as a directory, including parents if necessary.
                   23911: as_fn_mkdir_p ()
                   23912: {
                   23913: 
                   23914:   case $as_dir in #(
                   23915:   -*) as_dir=./$as_dir;;
                   23916:   esac
                   23917:   test -d "$as_dir" || eval $as_mkdir_p || {
                   23918:     as_dirs=
                   23919:     while :; do
                   23920:       case $as_dir in #(
                   23921:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   23922:       *) as_qdir=$as_dir;;
                   23923:       esac
                   23924:       as_dirs="'$as_qdir' $as_dirs"
                   23925:       as_dir=`$as_dirname -- "$as_dir" ||
                   23926: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   23927:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   23928:         X"$as_dir" : 'X\(//\)$' \| \
                   23929:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   23930: $as_echo X"$as_dir" |
                   23931:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   23932:            s//\1/
                   23933:            q
                   23934:          }
                   23935:          /^X\(\/\/\)[^/].*/{
                   23936:            s//\1/
                   23937:            q
                   23938:          }
                   23939:          /^X\(\/\/\)$/{
                   23940:            s//\1/
                   23941:            q
                   23942:          }
                   23943:          /^X\(\/\).*/{
                   23944:            s//\1/
                   23945:            q
                   23946:          }
                   23947:          s/.*/./; q'`
                   23948:       test -d "$as_dir" && break
                   23949:     done
                   23950:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   23951:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   23952: 
                   23953: 
                   23954: } # as_fn_mkdir_p
                   23955: if mkdir -p . 2>/dev/null; then
                   23956:   as_mkdir_p='mkdir -p "$as_dir"'
                   23957: else
                   23958:   test -d ./-p && rmdir ./-p
                   23959:   as_mkdir_p=false
                   23960: fi
                   23961: 
1.1.1.3   misho    23962: 
                   23963: # as_fn_executable_p FILE
                   23964: # -----------------------
                   23965: # Test if FILE is an executable regular file.
                   23966: as_fn_executable_p ()
                   23967: {
                   23968:   test -f "$1" && test -x "$1"
                   23969: } # as_fn_executable_p
                   23970: as_test_x='test -x'
                   23971: as_executable_p=as_fn_executable_p
1.1       misho    23972: 
                   23973: # Sed expression to map a string onto a valid CPP name.
                   23974: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   23975: 
                   23976: # Sed expression to map a string onto a valid variable name.
                   23977: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   23978: 
                   23979: 
                   23980: exec 6>&1
                   23981: ## ----------------------------------- ##
                   23982: ## Main body of $CONFIG_STATUS script. ##
                   23983: ## ----------------------------------- ##
                   23984: _ASEOF
                   23985: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   23986: 
                   23987: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   23988: # Save the log message, to keep $0 and so on meaningful, and to
                   23989: # report actual input values of CONFIG_FILES etc. instead of their
                   23990: # values after options handling.
                   23991: ac_log="
1.1.1.5 ! misho    23992: This file was extended by Quagga $as_me 1.0.20160315, which was
1.1.1.3   misho    23993: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    23994: 
                   23995:   CONFIG_FILES    = $CONFIG_FILES
                   23996:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   23997:   CONFIG_LINKS    = $CONFIG_LINKS
                   23998:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   23999:   $ $0 $@
                   24000: 
                   24001: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   24002: "
                   24003: 
                   24004: _ACEOF
                   24005: 
                   24006: case $ac_config_files in *"
                   24007: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   24008: esac
                   24009: 
                   24010: case $ac_config_headers in *"
                   24011: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   24012: esac
                   24013: 
                   24014: 
                   24015: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24016: # Files that config.status was made for.
                   24017: config_files="$ac_config_files"
                   24018: config_headers="$ac_config_headers"
                   24019: config_commands="$ac_config_commands"
                   24020: 
                   24021: _ACEOF
                   24022: 
                   24023: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24024: ac_cs_usage="\
                   24025: \`$as_me' instantiates files and other configuration actions
                   24026: from templates according to the current configuration.  Unless the files
                   24027: and actions are specified as TAGs, all are instantiated by default.
                   24028: 
                   24029: Usage: $0 [OPTION]... [TAG]...
                   24030: 
                   24031:   -h, --help       print this help, then exit
                   24032:   -V, --version    print version number and configuration settings, then exit
                   24033:       --config     print configuration, then exit
                   24034:   -q, --quiet, --silent
                   24035:                    do not print progress messages
                   24036:   -d, --debug      don't remove temporary files
                   24037:       --recheck    update $as_me by reconfiguring in the same conditions
                   24038:       --file=FILE[:TEMPLATE]
                   24039:                    instantiate the configuration file FILE
                   24040:       --header=FILE[:TEMPLATE]
                   24041:                    instantiate the configuration header FILE
                   24042: 
                   24043: Configuration files:
                   24044: $config_files
                   24045: 
                   24046: Configuration headers:
                   24047: $config_headers
                   24048: 
                   24049: Configuration commands:
                   24050: $config_commands
                   24051: 
                   24052: Report bugs to <https://bugzilla.quagga.net>."
                   24053: 
                   24054: _ACEOF
                   24055: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24056: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   24057: ac_cs_version="\\
1.1.1.5 ! misho    24058: Quagga config.status 1.0.20160315
1.1.1.3   misho    24059: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    24060:   with options \\"\$ac_cs_config\\"
                   24061: 
1.1.1.3   misho    24062: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    24063: This config.status script is free software; the Free Software Foundation
                   24064: gives unlimited permission to copy, distribute and modify it."
                   24065: 
                   24066: ac_pwd='$ac_pwd'
                   24067: srcdir='$srcdir'
                   24068: INSTALL='$INSTALL'
                   24069: MKDIR_P='$MKDIR_P'
                   24070: AWK='$AWK'
                   24071: test -n "\$AWK" || AWK=awk
                   24072: _ACEOF
                   24073: 
                   24074: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24075: # The default lists apply if the user does not specify any file.
                   24076: ac_need_defaults=:
                   24077: while test $# != 0
                   24078: do
                   24079:   case $1 in
                   24080:   --*=?*)
                   24081:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   24082:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   24083:     ac_shift=:
                   24084:     ;;
                   24085:   --*=)
                   24086:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   24087:     ac_optarg=
                   24088:     ac_shift=:
                   24089:     ;;
                   24090:   *)
                   24091:     ac_option=$1
                   24092:     ac_optarg=$2
                   24093:     ac_shift=shift
                   24094:     ;;
                   24095:   esac
                   24096: 
                   24097:   case $ac_option in
                   24098:   # Handling of the options.
                   24099:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   24100:     ac_cs_recheck=: ;;
                   24101:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   24102:     $as_echo "$ac_cs_version"; exit ;;
                   24103:   --config | --confi | --conf | --con | --co | --c )
                   24104:     $as_echo "$ac_cs_config"; exit ;;
                   24105:   --debug | --debu | --deb | --de | --d | -d )
                   24106:     debug=: ;;
                   24107:   --file | --fil | --fi | --f )
                   24108:     $ac_shift
                   24109:     case $ac_optarg in
                   24110:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   24111:     '') as_fn_error $? "missing file argument" ;;
                   24112:     esac
                   24113:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   24114:     ac_need_defaults=false;;
                   24115:   --header | --heade | --head | --hea )
                   24116:     $ac_shift
                   24117:     case $ac_optarg in
                   24118:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   24119:     esac
                   24120:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   24121:     ac_need_defaults=false;;
                   24122:   --he | --h)
                   24123:     # Conflict between --help and --header
                   24124:     as_fn_error $? "ambiguous option: \`$1'
                   24125: Try \`$0 --help' for more information.";;
                   24126:   --help | --hel | -h )
                   24127:     $as_echo "$ac_cs_usage"; exit ;;
                   24128:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   24129:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   24130:     ac_cs_silent=: ;;
                   24131: 
                   24132:   # This is an error.
                   24133:   -*) as_fn_error $? "unrecognized option: \`$1'
                   24134: Try \`$0 --help' for more information." ;;
                   24135: 
                   24136:   *) as_fn_append ac_config_targets " $1"
                   24137:      ac_need_defaults=false ;;
                   24138: 
                   24139:   esac
                   24140:   shift
                   24141: done
                   24142: 
                   24143: ac_configure_extra_args=
                   24144: 
                   24145: if $ac_cs_silent; then
                   24146:   exec 6>/dev/null
                   24147:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   24148: fi
                   24149: 
                   24150: _ACEOF
                   24151: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24152: if \$ac_cs_recheck; then
1.1.1.3   misho    24153:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    24154:   shift
                   24155:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   24156:   CONFIG_SHELL='$SHELL'
                   24157:   export CONFIG_SHELL
                   24158:   exec "\$@"
                   24159: fi
                   24160: 
                   24161: _ACEOF
                   24162: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24163: exec 5>>config.log
                   24164: {
                   24165:   echo
                   24166:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   24167: ## Running $as_me. ##
                   24168: _ASBOX
                   24169:   $as_echo "$ac_log"
                   24170: } >&5
                   24171: 
                   24172: _ACEOF
                   24173: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24174: #
                   24175: # INIT-COMMANDS
                   24176: #
                   24177: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   24178: 
                   24179: 
                   24180: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   24181: # if CDPATH is set.
                   24182: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   24183: 
                   24184: sed_quote_subst='$sed_quote_subst'
                   24185: double_quote_subst='$double_quote_subst'
                   24186: delay_variable_subst='$delay_variable_subst'
                   24187: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   24188: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   24189: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   24190: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   24191: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   24192: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   24193: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   24194: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1.1.1.2   misho    24195: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1.1       misho    24196: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   24197: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   24198: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   24199: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   24200: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   24201: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   24202: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   24203: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   24204: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   24205: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   24206: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   24207: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   24208: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   24209: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   24210: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   24211: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   24212: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   24213: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   24214: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   24215: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   24216: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   24217: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   24218: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   24219: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   24220: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   24221: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   24222: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   24223: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   24224: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   24225: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   24226: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   24227: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   24228: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   24229: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   24230: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   24231: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   24232: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   24233: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   24234: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   24235: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   24236: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   24237: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   24238: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   24239: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   24240: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   24241: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   24242: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   24243: 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"`'
                   24244: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   24245: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   24246: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   24247: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   24248: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   24249: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   24250: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   24251: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   24252: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   24253: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   24254: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   24255: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   24256: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   24257: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   24258: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   24259: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   24260: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   24261: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   24262: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   24263: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   24264: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   24265: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   24266: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   24267: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   24268: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   24269: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   24270: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   24271: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   24272: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   24273: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   24274: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   24275: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   24276: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   24277: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   24278: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   24279: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   24280: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   24281: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   24282: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   24283: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   24284: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   24285: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   24286: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   24287: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   24288: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   24289: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   24290: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   24291: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   24292: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   24293: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   24294: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   24295: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   24296: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   24297: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   24298: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   24299: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   24300: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   24301: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   24302: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   24303: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   24304: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   24305: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   24306: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   24307: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   24308: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   24309: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   24310: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   24311: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   24312: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   24313: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   24314: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   24315: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   24316: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   24317: 
                   24318: LTCC='$LTCC'
                   24319: LTCFLAGS='$LTCFLAGS'
                   24320: compiler='$compiler_DEFAULT'
                   24321: 
                   24322: # A function that is used when there is no print builtin or printf.
                   24323: func_fallback_echo ()
                   24324: {
                   24325:   eval 'cat <<_LTECHO_EOF
                   24326: \$1
                   24327: _LTECHO_EOF'
                   24328: }
                   24329: 
                   24330: # Quote evaled strings.
                   24331: for var in SHELL \
                   24332: ECHO \
1.1.1.2   misho    24333: PATH_SEPARATOR \
1.1       misho    24334: SED \
                   24335: GREP \
                   24336: EGREP \
                   24337: FGREP \
                   24338: LD \
                   24339: NM \
                   24340: LN_S \
                   24341: lt_SP2NL \
                   24342: lt_NL2SP \
                   24343: reload_flag \
                   24344: OBJDUMP \
                   24345: deplibs_check_method \
                   24346: file_magic_cmd \
                   24347: file_magic_glob \
                   24348: want_nocaseglob \
                   24349: DLLTOOL \
                   24350: sharedlib_from_linklib_cmd \
                   24351: AR \
                   24352: AR_FLAGS \
                   24353: archiver_list_spec \
                   24354: STRIP \
                   24355: RANLIB \
                   24356: CC \
                   24357: CFLAGS \
                   24358: compiler \
                   24359: lt_cv_sys_global_symbol_pipe \
                   24360: lt_cv_sys_global_symbol_to_cdecl \
                   24361: lt_cv_sys_global_symbol_to_c_name_address \
                   24362: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   24363: nm_file_list_spec \
                   24364: lt_prog_compiler_no_builtin_flag \
                   24365: lt_prog_compiler_pic \
                   24366: lt_prog_compiler_wl \
                   24367: lt_prog_compiler_static \
                   24368: lt_cv_prog_compiler_c_o \
                   24369: need_locks \
                   24370: MANIFEST_TOOL \
                   24371: DSYMUTIL \
                   24372: NMEDIT \
                   24373: LIPO \
                   24374: OTOOL \
                   24375: OTOOL64 \
                   24376: shrext_cmds \
                   24377: export_dynamic_flag_spec \
                   24378: whole_archive_flag_spec \
                   24379: compiler_needs_object \
                   24380: with_gnu_ld \
                   24381: allow_undefined_flag \
                   24382: no_undefined_flag \
                   24383: hardcode_libdir_flag_spec \
                   24384: hardcode_libdir_separator \
                   24385: exclude_expsyms \
                   24386: include_expsyms \
                   24387: file_list_spec \
                   24388: variables_saved_for_relink \
                   24389: libname_spec \
                   24390: library_names_spec \
                   24391: soname_spec \
                   24392: install_override_mode \
                   24393: finish_eval \
                   24394: old_striplib \
                   24395: striplib; do
                   24396:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24397:     *[\\\\\\\`\\"\\\$]*)
                   24398:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   24399:       ;;
                   24400:     *)
                   24401:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24402:       ;;
                   24403:     esac
                   24404: done
                   24405: 
                   24406: # Double-quote double-evaled strings.
                   24407: for var in reload_cmds \
                   24408: old_postinstall_cmds \
                   24409: old_postuninstall_cmds \
                   24410: old_archive_cmds \
                   24411: extract_expsyms_cmds \
                   24412: old_archive_from_new_cmds \
                   24413: old_archive_from_expsyms_cmds \
                   24414: archive_cmds \
                   24415: archive_expsym_cmds \
                   24416: module_cmds \
                   24417: module_expsym_cmds \
                   24418: export_symbols_cmds \
                   24419: prelink_cmds \
                   24420: postlink_cmds \
                   24421: postinstall_cmds \
                   24422: postuninstall_cmds \
                   24423: finish_cmds \
                   24424: sys_lib_search_path_spec \
                   24425: sys_lib_dlsearch_path_spec; do
                   24426:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   24427:     *[\\\\\\\`\\"\\\$]*)
                   24428:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   24429:       ;;
                   24430:     *)
                   24431:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   24432:       ;;
                   24433:     esac
                   24434: done
                   24435: 
                   24436: ac_aux_dir='$ac_aux_dir'
                   24437: xsi_shell='$xsi_shell'
                   24438: lt_shell_append='$lt_shell_append'
                   24439: 
                   24440: # See if we are running on zsh, and set the options which allow our
                   24441: # commands through without removal of \ escapes INIT.
                   24442: if test -n "\${ZSH_VERSION+set}" ; then
                   24443:    setopt NO_GLOB_SUBST
                   24444: fi
                   24445: 
                   24446: 
                   24447:     PACKAGE='$PACKAGE'
                   24448:     VERSION='$VERSION'
                   24449:     TIMESTAMP='$TIMESTAMP'
                   24450:     RM='$RM'
                   24451:     ofile='$ofile'
                   24452: 
                   24453: 
                   24454: 
                   24455: 
                   24456: _ACEOF
                   24457: 
                   24458: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24459: 
                   24460: # Handling of arguments.
                   24461: for ac_config_target in $ac_config_targets
                   24462: do
                   24463:   case $ac_config_target in
                   24464:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   24465:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   24466:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   24467:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   24468:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   24469:     "zebra/Makefile") CONFIG_FILES="$CONFIG_FILES zebra/Makefile" ;;
                   24470:     "ripd/Makefile") CONFIG_FILES="$CONFIG_FILES ripd/Makefile" ;;
                   24471:     "ripngd/Makefile") CONFIG_FILES="$CONFIG_FILES ripngd/Makefile" ;;
                   24472:     "bgpd/Makefile") CONFIG_FILES="$CONFIG_FILES bgpd/Makefile" ;;
                   24473:     "ospfd/Makefile") CONFIG_FILES="$CONFIG_FILES ospfd/Makefile" ;;
                   24474:     "watchquagga/Makefile") CONFIG_FILES="$CONFIG_FILES watchquagga/Makefile" ;;
                   24475:     "ospf6d/Makefile") CONFIG_FILES="$CONFIG_FILES ospf6d/Makefile" ;;
                   24476:     "isisd/Makefile") CONFIG_FILES="$CONFIG_FILES isisd/Makefile" ;;
                   24477:     "vtysh/Makefile") CONFIG_FILES="$CONFIG_FILES vtysh/Makefile" ;;
                   24478:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   24479:     "ospfclient/Makefile") CONFIG_FILES="$CONFIG_FILES ospfclient/Makefile" ;;
                   24480:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
                   24481:     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
1.1.1.5 ! misho    24482:     "pimd/Makefile") CONFIG_FILES="$CONFIG_FILES pimd/Makefile" ;;
        !          24483:     "tests/bgpd.tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/bgpd.tests/Makefile" ;;
        !          24484:     "tests/libzebra.tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/libzebra.tests/Makefile" ;;
1.1       misho    24485:     "redhat/Makefile") CONFIG_FILES="$CONFIG_FILES redhat/Makefile" ;;
                   24486:     "pkgsrc/Makefile") CONFIG_FILES="$CONFIG_FILES pkgsrc/Makefile" ;;
                   24487:     "redhat/quagga.spec") CONFIG_FILES="$CONFIG_FILES redhat/quagga.spec" ;;
                   24488:     "lib/version.h") CONFIG_FILES="$CONFIG_FILES lib/version.h" ;;
                   24489:     "doc/defines.texi") CONFIG_FILES="$CONFIG_FILES doc/defines.texi" ;;
                   24490:     "isisd/topology/Makefile") CONFIG_FILES="$CONFIG_FILES isisd/topology/Makefile" ;;
                   24491:     "pkgsrc/bgpd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/bgpd.sh" ;;
                   24492:     "pkgsrc/ospf6d.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ospf6d.sh" ;;
                   24493:     "pkgsrc/ospfd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ospfd.sh" ;;
                   24494:     "pkgsrc/ripd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ripd.sh" ;;
                   24495:     "pkgsrc/ripngd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ripngd.sh" ;;
                   24496:     "pkgsrc/zebra.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/zebra.sh" ;;
                   24497:     "solaris/Makefile") CONFIG_FILES="$CONFIG_FILES solaris/Makefile" ;;
                   24498:     "vtysh/extract.pl") CONFIG_FILES="$CONFIG_FILES vtysh/extract.pl" ;;
                   24499: 
                   24500:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   24501:   esac
                   24502: done
                   24503: 
                   24504: 
                   24505: # If the user did not use the arguments to specify the items to instantiate,
                   24506: # then the envvar interface is used.  Set only those that are not.
                   24507: # We use the long form for the default assignment because of an extremely
                   24508: # bizarre bug on SunOS 4.1.3.
                   24509: if $ac_need_defaults; then
                   24510:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   24511:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   24512:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   24513: fi
                   24514: 
                   24515: # Have a temporary directory for convenience.  Make it in the build tree
                   24516: # simply because there is no reason against having it here, and in addition,
                   24517: # creating and moving files from /tmp can sometimes cause problems.
                   24518: # Hook for its removal unless debugging.
                   24519: # Note that there is a small window in which the directory will not be cleaned:
                   24520: # after its creation but before its name has been assigned to `$tmp'.
                   24521: $debug ||
                   24522: {
                   24523:   tmp= ac_tmp=
                   24524:   trap 'exit_status=$?
                   24525:   : "${ac_tmp:=$tmp}"
                   24526:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   24527: ' 0
                   24528:   trap 'as_fn_exit 1' 1 2 13 15
                   24529: }
                   24530: # Create a (secure) tmp directory for tmp files.
                   24531: 
                   24532: {
                   24533:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   24534:   test -d "$tmp"
                   24535: }  ||
                   24536: {
                   24537:   tmp=./conf$$-$RANDOM
                   24538:   (umask 077 && mkdir "$tmp")
                   24539: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   24540: ac_tmp=$tmp
                   24541: 
                   24542: # Set up the scripts for CONFIG_FILES section.
                   24543: # No need to generate them if there are no CONFIG_FILES.
                   24544: # This happens for instance with `./config.status config.h'.
                   24545: if test -n "$CONFIG_FILES"; then
                   24546: 
                   24547: 
                   24548: ac_cr=`echo X | tr X '\015'`
                   24549: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   24550: # But we know of no other shell where ac_cr would be empty at this
                   24551: # point, so we can use a bashism as a fallback.
                   24552: if test "x$ac_cr" = x; then
                   24553:   eval ac_cr=\$\'\\r\'
                   24554: fi
                   24555: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   24556: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   24557:   ac_cs_awk_cr='\\r'
                   24558: else
                   24559:   ac_cs_awk_cr=$ac_cr
                   24560: fi
                   24561: 
                   24562: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   24563: _ACEOF
                   24564: 
                   24565: 
                   24566: {
                   24567:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   24568:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   24569:   echo "_ACEOF"
                   24570: } >conf$$subs.sh ||
                   24571:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24572: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   24573: ac_delim='%!_!# '
                   24574: for ac_last_try in false false false false false :; do
                   24575:   . ./conf$$subs.sh ||
                   24576:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24577: 
                   24578:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   24579:   if test $ac_delim_n = $ac_delim_num; then
                   24580:     break
                   24581:   elif $ac_last_try; then
                   24582:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   24583:   else
                   24584:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   24585:   fi
                   24586: done
                   24587: rm -f conf$$subs.sh
                   24588: 
                   24589: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24590: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   24591: _ACEOF
                   24592: sed -n '
                   24593: h
                   24594: s/^/S["/; s/!.*/"]=/
                   24595: p
                   24596: g
                   24597: s/^[^!]*!//
                   24598: :repl
                   24599: t repl
                   24600: s/'"$ac_delim"'$//
                   24601: t delim
                   24602: :nl
                   24603: h
                   24604: s/\(.\{148\}\)..*/\1/
                   24605: t more1
                   24606: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   24607: p
                   24608: n
                   24609: b repl
                   24610: :more1
                   24611: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24612: p
                   24613: g
                   24614: s/.\{148\}//
                   24615: t nl
                   24616: :delim
                   24617: h
                   24618: s/\(.\{148\}\)..*/\1/
                   24619: t more2
                   24620: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   24621: p
                   24622: b
                   24623: :more2
                   24624: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   24625: p
                   24626: g
                   24627: s/.\{148\}//
                   24628: t delim
                   24629: ' <conf$$subs.awk | sed '
                   24630: /^[^""]/{
                   24631:   N
                   24632:   s/\n//
                   24633: }
                   24634: ' >>$CONFIG_STATUS || ac_write_fail=1
                   24635: rm -f conf$$subs.awk
                   24636: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24637: _ACAWK
                   24638: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   24639:   for (key in S) S_is_set[key] = 1
                   24640:   FS = ""
                   24641: 
                   24642: }
                   24643: {
                   24644:   line = $ 0
                   24645:   nfields = split(line, field, "@")
                   24646:   substed = 0
                   24647:   len = length(field[1])
                   24648:   for (i = 2; i < nfields; i++) {
                   24649:     key = field[i]
                   24650:     keylen = length(key)
                   24651:     if (S_is_set[key]) {
                   24652:       value = S[key]
                   24653:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   24654:       len += length(value) + length(field[++i])
                   24655:       substed = 1
                   24656:     } else
                   24657:       len += 1 + keylen
                   24658:   }
                   24659: 
                   24660:   print line
                   24661: }
                   24662: 
                   24663: _ACAWK
                   24664: _ACEOF
                   24665: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24666: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   24667:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   24668: else
                   24669:   cat
                   24670: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   24671:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   24672: _ACEOF
                   24673: 
                   24674: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   24675: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   24676: # trailing colons and then remove the whole line if VPATH becomes empty
                   24677: # (actually we leave an empty line to preserve line numbers).
                   24678: if test "x$srcdir" = x.; then
                   24679:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   24680: h
                   24681: s///
                   24682: s/^/:/
                   24683: s/[     ]*$/:/
                   24684: s/:\$(srcdir):/:/g
                   24685: s/:\${srcdir}:/:/g
                   24686: s/:@srcdir@:/:/g
                   24687: s/^:*//
                   24688: s/:*$//
                   24689: x
                   24690: s/\(=[  ]*\).*/\1/
                   24691: G
                   24692: s/\n//
                   24693: s/^[^=]*=[      ]*$//
                   24694: }'
                   24695: fi
                   24696: 
                   24697: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24698: fi # test -n "$CONFIG_FILES"
                   24699: 
                   24700: # Set up the scripts for CONFIG_HEADERS section.
                   24701: # No need to generate them if there are no CONFIG_HEADERS.
                   24702: # This happens for instance with `./config.status Makefile'.
                   24703: if test -n "$CONFIG_HEADERS"; then
                   24704: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   24705: BEGIN {
                   24706: _ACEOF
                   24707: 
                   24708: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   24709: # here-document in config.status, that substitutes the proper values into
                   24710: # config.h.in to produce config.h.
                   24711: 
                   24712: # Create a delimiter string that does not exist in confdefs.h, to ease
                   24713: # handling of long lines.
                   24714: ac_delim='%!_!# '
                   24715: for ac_last_try in false false :; do
                   24716:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   24717:   if test -z "$ac_tt"; then
                   24718:     break
                   24719:   elif $ac_last_try; then
                   24720:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   24721:   else
                   24722:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   24723:   fi
                   24724: done
                   24725: 
                   24726: # For the awk script, D is an array of macro values keyed by name,
                   24727: # likewise P contains macro parameters if any.  Preserve backslash
                   24728: # newline sequences.
                   24729: 
                   24730: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   24731: sed -n '
                   24732: s/.\{148\}/&'"$ac_delim"'/g
                   24733: t rset
                   24734: :rset
                   24735: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   24736: t def
                   24737: d
                   24738: :def
                   24739: s/\\$//
                   24740: t bsnl
                   24741: s/["\\]/\\&/g
                   24742: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24743: D["\1"]=" \3"/p
                   24744: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   24745: d
                   24746: :bsnl
                   24747: s/["\\]/\\&/g
                   24748: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   24749: D["\1"]=" \3\\\\\\n"\\/p
                   24750: t cont
                   24751: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   24752: t cont
                   24753: d
                   24754: :cont
                   24755: n
                   24756: s/.\{148\}/&'"$ac_delim"'/g
                   24757: t clear
                   24758: :clear
                   24759: s/\\$//
                   24760: t bsnlc
                   24761: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   24762: d
                   24763: :bsnlc
                   24764: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   24765: b cont
                   24766: ' <confdefs.h | sed '
                   24767: s/'"$ac_delim"'/"\\\
                   24768: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   24769: 
                   24770: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24771:   for (key in D) D_is_set[key] = 1
                   24772:   FS = ""
                   24773: }
                   24774: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   24775:   line = \$ 0
                   24776:   split(line, arg, " ")
                   24777:   if (arg[1] == "#") {
                   24778:     defundef = arg[2]
                   24779:     mac1 = arg[3]
                   24780:   } else {
                   24781:     defundef = substr(arg[1], 2)
                   24782:     mac1 = arg[2]
                   24783:   }
                   24784:   split(mac1, mac2, "(") #)
                   24785:   macro = mac2[1]
                   24786:   prefix = substr(line, 1, index(line, defundef) - 1)
                   24787:   if (D_is_set[macro]) {
                   24788:     # Preserve the white space surrounding the "#".
                   24789:     print prefix "define", macro P[macro] D[macro]
                   24790:     next
                   24791:   } else {
                   24792:     # Replace #undef with comments.  This is necessary, for example,
                   24793:     # in the case of _POSIX_SOURCE, which is predefined and required
                   24794:     # on some systems where configure will not decide to define it.
                   24795:     if (defundef == "undef") {
                   24796:       print "/*", prefix defundef, macro, "*/"
                   24797:       next
                   24798:     }
                   24799:   }
                   24800: }
                   24801: { print }
                   24802: _ACAWK
                   24803: _ACEOF
                   24804: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24805:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   24806: fi # test -n "$CONFIG_HEADERS"
                   24807: 
                   24808: 
                   24809: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   24810: shift
                   24811: for ac_tag
                   24812: do
                   24813:   case $ac_tag in
                   24814:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   24815:   esac
                   24816:   case $ac_mode$ac_tag in
                   24817:   :[FHL]*:*);;
                   24818:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   24819:   :[FH]-) ac_tag=-:-;;
                   24820:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   24821:   esac
                   24822:   ac_save_IFS=$IFS
                   24823:   IFS=:
                   24824:   set x $ac_tag
                   24825:   IFS=$ac_save_IFS
                   24826:   shift
                   24827:   ac_file=$1
                   24828:   shift
                   24829: 
                   24830:   case $ac_mode in
                   24831:   :L) ac_source=$1;;
                   24832:   :[FH])
                   24833:     ac_file_inputs=
                   24834:     for ac_f
                   24835:     do
                   24836:       case $ac_f in
                   24837:       -) ac_f="$ac_tmp/stdin";;
                   24838:       *) # Look for the file first in the build tree, then in the source tree
                   24839:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   24840:         # because $ac_f cannot contain `:'.
                   24841:         test -f "$ac_f" ||
                   24842:           case $ac_f in
                   24843:           [\\/$]*) false;;
                   24844:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   24845:           esac ||
                   24846:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   24847:       esac
                   24848:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   24849:       as_fn_append ac_file_inputs " '$ac_f'"
                   24850:     done
                   24851: 
                   24852:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   24853:     # use $as_me), people would be surprised to read:
                   24854:     #    /* config.h.  Generated by config.status.  */
                   24855:     configure_input='Generated from '`
                   24856:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   24857:        `' by configure.'
                   24858:     if test x"$ac_file" != x-; then
                   24859:       configure_input="$ac_file.  $configure_input"
                   24860:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   24861: $as_echo "$as_me: creating $ac_file" >&6;}
                   24862:     fi
                   24863:     # Neutralize special characters interpreted by sed in replacement strings.
                   24864:     case $configure_input in #(
                   24865:     *\&* | *\|* | *\\* )
                   24866:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   24867:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   24868:     *) ac_sed_conf_input=$configure_input;;
                   24869:     esac
                   24870: 
                   24871:     case $ac_tag in
                   24872:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   24873:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   24874:     esac
                   24875:     ;;
                   24876:   esac
                   24877: 
                   24878:   ac_dir=`$as_dirname -- "$ac_file" ||
                   24879: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   24880:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   24881:         X"$ac_file" : 'X\(//\)$' \| \
                   24882:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   24883: $as_echo X"$ac_file" |
                   24884:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   24885:            s//\1/
                   24886:            q
                   24887:          }
                   24888:          /^X\(\/\/\)[^/].*/{
                   24889:            s//\1/
                   24890:            q
                   24891:          }
                   24892:          /^X\(\/\/\)$/{
                   24893:            s//\1/
                   24894:            q
                   24895:          }
                   24896:          /^X\(\/\).*/{
                   24897:            s//\1/
                   24898:            q
                   24899:          }
                   24900:          s/.*/./; q'`
                   24901:   as_dir="$ac_dir"; as_fn_mkdir_p
                   24902:   ac_builddir=.
                   24903: 
                   24904: case "$ac_dir" in
                   24905: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24906: *)
                   24907:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   24908:   # A ".." for each directory in $ac_dir_suffix.
                   24909:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   24910:   case $ac_top_builddir_sub in
                   24911:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   24912:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   24913:   esac ;;
                   24914: esac
                   24915: ac_abs_top_builddir=$ac_pwd
                   24916: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   24917: # for backward compatibility:
                   24918: ac_top_builddir=$ac_top_build_prefix
                   24919: 
                   24920: case $srcdir in
                   24921:   .)  # We are building in place.
                   24922:     ac_srcdir=.
                   24923:     ac_top_srcdir=$ac_top_builddir_sub
                   24924:     ac_abs_top_srcdir=$ac_pwd ;;
                   24925:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   24926:     ac_srcdir=$srcdir$ac_dir_suffix;
                   24927:     ac_top_srcdir=$srcdir
                   24928:     ac_abs_top_srcdir=$srcdir ;;
                   24929:   *) # Relative name.
                   24930:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   24931:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   24932:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   24933: esac
                   24934: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   24935: 
                   24936: 
                   24937:   case $ac_mode in
                   24938:   :F)
                   24939:   #
                   24940:   # CONFIG_FILE
                   24941:   #
                   24942: 
                   24943:   case $INSTALL in
                   24944:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   24945:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   24946:   esac
                   24947:   ac_MKDIR_P=$MKDIR_P
                   24948:   case $MKDIR_P in
                   24949:   [\\/$]* | ?:[\\/]* ) ;;
                   24950:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   24951:   esac
                   24952: _ACEOF
                   24953: 
                   24954: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24955: # If the template does not know about datarootdir, expand it.
                   24956: # FIXME: This hack should be removed a few years after 2.60.
                   24957: ac_datarootdir_hack=; ac_datarootdir_seen=
                   24958: ac_sed_dataroot='
                   24959: /datarootdir/ {
                   24960:   p
                   24961:   q
                   24962: }
                   24963: /@datadir@/p
                   24964: /@docdir@/p
                   24965: /@infodir@/p
                   24966: /@localedir@/p
                   24967: /@mandir@/p'
                   24968: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   24969: *datarootdir*) ac_datarootdir_seen=yes;;
                   24970: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   24971:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   24972: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   24973: _ACEOF
                   24974: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24975:   ac_datarootdir_hack='
                   24976:   s&@datadir@&$datadir&g
                   24977:   s&@docdir@&$docdir&g
                   24978:   s&@infodir@&$infodir&g
                   24979:   s&@localedir@&$localedir&g
                   24980:   s&@mandir@&$mandir&g
                   24981:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   24982: esac
                   24983: _ACEOF
                   24984: 
                   24985: # Neutralize VPATH when `$srcdir' = `.'.
                   24986: # Shell code in configure.ac might set extrasub.
                   24987: # FIXME: do we really want to maintain this feature?
                   24988: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   24989: ac_sed_extra="$ac_vpsub
                   24990: $extrasub
                   24991: _ACEOF
                   24992: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   24993: :t
                   24994: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   24995: s|@configure_input@|$ac_sed_conf_input|;t t
                   24996: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   24997: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   24998: s&@srcdir@&$ac_srcdir&;t t
                   24999: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   25000: s&@top_srcdir@&$ac_top_srcdir&;t t
                   25001: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   25002: s&@builddir@&$ac_builddir&;t t
                   25003: s&@abs_builddir@&$ac_abs_builddir&;t t
                   25004: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   25005: s&@INSTALL@&$ac_INSTALL&;t t
                   25006: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   25007: $ac_datarootdir_hack
                   25008: "
                   25009: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   25010:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   25011: 
                   25012: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   25013:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   25014:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   25015:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   25016:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   25017: which seems to be undefined.  Please make sure it is defined" >&5
                   25018: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   25019: which seems to be undefined.  Please make sure it is defined" >&2;}
                   25020: 
                   25021:   rm -f "$ac_tmp/stdin"
                   25022:   case $ac_file in
                   25023:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   25024:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   25025:   esac \
                   25026:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   25027:  ;;
                   25028:   :H)
                   25029:   #
                   25030:   # CONFIG_HEADER
                   25031:   #
                   25032:   if test x"$ac_file" != x-; then
                   25033:     {
                   25034:       $as_echo "/* $configure_input  */" \
                   25035:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   25036:     } >"$ac_tmp/config.h" \
                   25037:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   25038:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   25039:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   25040: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   25041:     else
                   25042:       rm -f "$ac_file"
                   25043:       mv "$ac_tmp/config.h" "$ac_file" \
                   25044:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   25045:     fi
                   25046:   else
                   25047:     $as_echo "/* $configure_input  */" \
                   25048:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   25049:       || as_fn_error $? "could not create -" "$LINENO" 5
                   25050:   fi
                   25051: # Compute "$ac_file"'s index in $config_headers.
                   25052: _am_arg="$ac_file"
                   25053: _am_stamp_count=1
                   25054: for _am_header in $config_headers :; do
                   25055:   case $_am_header in
                   25056:     $_am_arg | $_am_arg:* )
                   25057:       break ;;
                   25058:     * )
                   25059:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   25060:   esac
                   25061: done
                   25062: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   25063: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   25064:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   25065:         X"$_am_arg" : 'X\(//\)$' \| \
                   25066:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   25067: $as_echo X"$_am_arg" |
                   25068:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   25069:            s//\1/
                   25070:            q
                   25071:          }
                   25072:          /^X\(\/\/\)[^/].*/{
                   25073:            s//\1/
                   25074:            q
                   25075:          }
                   25076:          /^X\(\/\/\)$/{
                   25077:            s//\1/
                   25078:            q
                   25079:          }
                   25080:          /^X\(\/\).*/{
                   25081:            s//\1/
                   25082:            q
                   25083:          }
                   25084:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   25085:  ;;
                   25086: 
                   25087:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   25088: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   25089:  ;;
                   25090:   esac
                   25091: 
                   25092: 
                   25093:   case $ac_file$ac_mode in
                   25094:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   25095:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   25096:   # are listed without --file.  Let's play safe and only enable the eval
                   25097:   # if we detect the quoting.
                   25098:   case $CONFIG_FILES in
                   25099:   *\'*) eval set x "$CONFIG_FILES" ;;
                   25100:   *)   set x $CONFIG_FILES ;;
                   25101:   esac
                   25102:   shift
                   25103:   for mf
                   25104:   do
                   25105:     # Strip MF so we end up with the name of the file.
                   25106:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   25107:     # Check whether this is an Automake generated Makefile or not.
1.1.1.5 ! misho    25108:     # We used to match only the files named `Makefile.in', but
1.1       misho    25109:     # some people rename them; so instead we look at the file content.
                   25110:     # Grep'ing the first line is not enough: some people post-process
                   25111:     # each Makefile.in and add a new line on top of each file to say so.
                   25112:     # Grep'ing the whole file is not good either: AIX grep has a line
                   25113:     # limit of 2048, but all sed's we know have understand at least 4000.
                   25114:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   25115:       dirpart=`$as_dirname -- "$mf" ||
                   25116: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   25117:         X"$mf" : 'X\(//\)[^/]' \| \
                   25118:         X"$mf" : 'X\(//\)$' \| \
                   25119:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   25120: $as_echo X"$mf" |
                   25121:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   25122:            s//\1/
                   25123:            q
                   25124:          }
                   25125:          /^X\(\/\/\)[^/].*/{
                   25126:            s//\1/
                   25127:            q
                   25128:          }
                   25129:          /^X\(\/\/\)$/{
                   25130:            s//\1/
                   25131:            q
                   25132:          }
                   25133:          /^X\(\/\).*/{
                   25134:            s//\1/
                   25135:            q
                   25136:          }
                   25137:          s/.*/./; q'`
                   25138:     else
                   25139:       continue
                   25140:     fi
                   25141:     # Extract the definition of DEPDIR, am__include, and am__quote
1.1.1.5 ! misho    25142:     # from the Makefile without running `make'.
1.1       misho    25143:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   25144:     test -z "$DEPDIR" && continue
                   25145:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   25146:     test -z "am__include" && continue
                   25147:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1.1.1.5 ! misho    25148:     # When using ansi2knr, U may be empty or an underscore; expand it
        !          25149:     U=`sed -n 's/^U = //p' < "$mf"`
1.1       misho    25150:     # Find all dependency output files, they are included files with
                   25151:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   25152:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   25153:     # expansion.
                   25154:     for file in `sed -n "
                   25155:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.1.1.5 ! misho    25156:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1.1       misho    25157:       # Make sure the directory exists.
                   25158:       test -f "$dirpart/$file" && continue
                   25159:       fdir=`$as_dirname -- "$file" ||
                   25160: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   25161:         X"$file" : 'X\(//\)[^/]' \| \
                   25162:         X"$file" : 'X\(//\)$' \| \
                   25163:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   25164: $as_echo X"$file" |
                   25165:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   25166:            s//\1/
                   25167:            q
                   25168:          }
                   25169:          /^X\(\/\/\)[^/].*/{
                   25170:            s//\1/
                   25171:            q
                   25172:          }
                   25173:          /^X\(\/\/\)$/{
                   25174:            s//\1/
                   25175:            q
                   25176:          }
                   25177:          /^X\(\/\).*/{
                   25178:            s//\1/
                   25179:            q
                   25180:          }
                   25181:          s/.*/./; q'`
                   25182:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   25183:       # echo "creating $dirpart/$file"
                   25184:       echo '# dummy' > "$dirpart/$file"
                   25185:     done
                   25186:   done
                   25187: }
                   25188:  ;;
                   25189:     "libtool":C)
                   25190: 
                   25191:     # See if we are running on zsh, and set the options which allow our
                   25192:     # commands through without removal of \ escapes.
                   25193:     if test -n "${ZSH_VERSION+set}" ; then
                   25194:       setopt NO_GLOB_SUBST
                   25195:     fi
                   25196: 
                   25197:     cfgfile="${ofile}T"
                   25198:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   25199:     $RM "$cfgfile"
                   25200: 
                   25201:     cat <<_LT_EOF >> "$cfgfile"
                   25202: #! $SHELL
                   25203: 
                   25204: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   25205: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   25206: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   25207: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   25208: #
                   25209: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.2   misho    25210: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   25211: #                 Foundation, Inc.
1.1       misho    25212: #   Written by Gordon Matzigkeit, 1996
                   25213: #
                   25214: #   This file is part of GNU Libtool.
                   25215: #
                   25216: # GNU Libtool is free software; you can redistribute it and/or
                   25217: # modify it under the terms of the GNU General Public License as
                   25218: # published by the Free Software Foundation; either version 2 of
                   25219: # the License, or (at your option) any later version.
                   25220: #
                   25221: # As a special exception to the GNU General Public License,
                   25222: # if you distribute this file as part of a program or library that
                   25223: # is built using GNU Libtool, you may include this file under the
                   25224: # same distribution terms that you use for the rest of that program.
                   25225: #
                   25226: # GNU Libtool is distributed in the hope that it will be useful,
                   25227: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   25228: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   25229: # GNU General Public License for more details.
                   25230: #
                   25231: # You should have received a copy of the GNU General Public License
                   25232: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   25233: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   25234: # obtained by writing to the Free Software Foundation, Inc.,
                   25235: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   25236: 
                   25237: 
                   25238: # The names of the tagged configurations supported by this script.
                   25239: available_tags=""
                   25240: 
                   25241: # ### BEGIN LIBTOOL CONFIG
                   25242: 
                   25243: # Which release of libtool.m4 was used?
                   25244: macro_version=$macro_version
                   25245: macro_revision=$macro_revision
                   25246: 
                   25247: # Whether or not to build shared libraries.
                   25248: build_libtool_libs=$enable_shared
                   25249: 
                   25250: # Whether or not to build static libraries.
                   25251: build_old_libs=$enable_static
                   25252: 
                   25253: # What type of objects to build.
                   25254: pic_mode=$pic_mode
                   25255: 
                   25256: # Whether or not to optimize for fast installation.
                   25257: fast_install=$enable_fast_install
                   25258: 
                   25259: # Shell to use when invoking shell scripts.
                   25260: SHELL=$lt_SHELL
                   25261: 
                   25262: # An echo program that protects backslashes.
                   25263: ECHO=$lt_ECHO
                   25264: 
1.1.1.2   misho    25265: # The PATH separator for the build system.
                   25266: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   25267: 
1.1       misho    25268: # The host system.
                   25269: host_alias=$host_alias
                   25270: host=$host
                   25271: host_os=$host_os
                   25272: 
                   25273: # The build system.
                   25274: build_alias=$build_alias
                   25275: build=$build
                   25276: build_os=$build_os
                   25277: 
                   25278: # A sed program that does not truncate output.
                   25279: SED=$lt_SED
                   25280: 
                   25281: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   25282: Xsed="\$SED -e 1s/^X//"
                   25283: 
                   25284: # A grep program that handles long lines.
                   25285: GREP=$lt_GREP
                   25286: 
                   25287: # An ERE matcher.
                   25288: EGREP=$lt_EGREP
                   25289: 
                   25290: # A literal string matcher.
                   25291: FGREP=$lt_FGREP
                   25292: 
                   25293: # A BSD- or MS-compatible name lister.
                   25294: NM=$lt_NM
                   25295: 
                   25296: # Whether we need soft or hard links.
                   25297: LN_S=$lt_LN_S
                   25298: 
                   25299: # What is the maximum length of a command?
                   25300: max_cmd_len=$max_cmd_len
                   25301: 
                   25302: # Object file suffix (normally "o").
                   25303: objext=$ac_objext
                   25304: 
                   25305: # Executable file suffix (normally "").
                   25306: exeext=$exeext
                   25307: 
                   25308: # whether the shell understands "unset".
                   25309: lt_unset=$lt_unset
                   25310: 
                   25311: # turn spaces into newlines.
                   25312: SP2NL=$lt_lt_SP2NL
                   25313: 
                   25314: # turn newlines into spaces.
                   25315: NL2SP=$lt_lt_NL2SP
                   25316: 
                   25317: # convert \$build file names to \$host format.
                   25318: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   25319: 
                   25320: # convert \$build files to toolchain format.
                   25321: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   25322: 
                   25323: # An object symbol dumper.
                   25324: OBJDUMP=$lt_OBJDUMP
                   25325: 
                   25326: # Method to check whether dependent libraries are shared objects.
                   25327: deplibs_check_method=$lt_deplibs_check_method
                   25328: 
                   25329: # Command to use when deplibs_check_method = "file_magic".
                   25330: file_magic_cmd=$lt_file_magic_cmd
                   25331: 
                   25332: # How to find potential files when deplibs_check_method = "file_magic".
                   25333: file_magic_glob=$lt_file_magic_glob
                   25334: 
                   25335: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   25336: want_nocaseglob=$lt_want_nocaseglob
                   25337: 
                   25338: # DLL creation program.
                   25339: DLLTOOL=$lt_DLLTOOL
                   25340: 
                   25341: # Command to associate shared and link libraries.
                   25342: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   25343: 
                   25344: # The archiver.
                   25345: AR=$lt_AR
                   25346: 
                   25347: # Flags to create an archive.
                   25348: AR_FLAGS=$lt_AR_FLAGS
                   25349: 
                   25350: # How to feed a file listing to the archiver.
                   25351: archiver_list_spec=$lt_archiver_list_spec
                   25352: 
                   25353: # A symbol stripping program.
                   25354: STRIP=$lt_STRIP
                   25355: 
                   25356: # Commands used to install an old-style archive.
                   25357: RANLIB=$lt_RANLIB
                   25358: old_postinstall_cmds=$lt_old_postinstall_cmds
                   25359: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   25360: 
                   25361: # Whether to use a lock for old archive extraction.
                   25362: lock_old_archive_extraction=$lock_old_archive_extraction
                   25363: 
                   25364: # A C compiler.
                   25365: LTCC=$lt_CC
                   25366: 
                   25367: # LTCC compiler flags.
                   25368: LTCFLAGS=$lt_CFLAGS
                   25369: 
                   25370: # Take the output of nm and produce a listing of raw symbols and C names.
                   25371: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   25372: 
                   25373: # Transform the output of nm in a proper C declaration.
                   25374: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   25375: 
                   25376: # Transform the output of nm in a C name address pair.
                   25377: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   25378: 
                   25379: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   25380: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   25381: 
                   25382: # Specify filename containing input files for \$NM.
                   25383: nm_file_list_spec=$lt_nm_file_list_spec
                   25384: 
                   25385: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   25386: lt_sysroot=$lt_sysroot
                   25387: 
                   25388: # The name of the directory that contains temporary libtool files.
                   25389: objdir=$objdir
                   25390: 
                   25391: # Used to examine libraries when file_magic_cmd begins with "file".
                   25392: MAGIC_CMD=$MAGIC_CMD
                   25393: 
                   25394: # Must we lock files when doing compilation?
                   25395: need_locks=$lt_need_locks
                   25396: 
                   25397: # Manifest tool.
                   25398: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   25399: 
                   25400: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   25401: DSYMUTIL=$lt_DSYMUTIL
                   25402: 
                   25403: # Tool to change global to local symbols on Mac OS X.
                   25404: NMEDIT=$lt_NMEDIT
                   25405: 
                   25406: # Tool to manipulate fat objects and archives on Mac OS X.
                   25407: LIPO=$lt_LIPO
                   25408: 
                   25409: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   25410: OTOOL=$lt_OTOOL
                   25411: 
                   25412: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   25413: OTOOL64=$lt_OTOOL64
                   25414: 
                   25415: # Old archive suffix (normally "a").
                   25416: libext=$libext
                   25417: 
                   25418: # Shared library suffix (normally ".so").
                   25419: shrext_cmds=$lt_shrext_cmds
                   25420: 
                   25421: # The commands to extract the exported symbol list from a shared archive.
                   25422: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   25423: 
                   25424: # Variables whose values should be saved in libtool wrapper scripts and
                   25425: # restored at link time.
                   25426: variables_saved_for_relink=$lt_variables_saved_for_relink
                   25427: 
                   25428: # Do we need the "lib" prefix for modules?
                   25429: need_lib_prefix=$need_lib_prefix
                   25430: 
                   25431: # Do we need a version for libraries?
                   25432: need_version=$need_version
                   25433: 
                   25434: # Library versioning type.
                   25435: version_type=$version_type
                   25436: 
                   25437: # Shared library runtime path variable.
                   25438: runpath_var=$runpath_var
                   25439: 
                   25440: # Shared library path variable.
                   25441: shlibpath_var=$shlibpath_var
                   25442: 
                   25443: # Is shlibpath searched before the hard-coded library search path?
                   25444: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   25445: 
                   25446: # Format of library name prefix.
                   25447: libname_spec=$lt_libname_spec
                   25448: 
                   25449: # List of archive names.  First name is the real one, the rest are links.
                   25450: # The last name is the one that the linker finds with -lNAME
                   25451: library_names_spec=$lt_library_names_spec
                   25452: 
                   25453: # The coded name of the library, if different from the real name.
                   25454: soname_spec=$lt_soname_spec
                   25455: 
                   25456: # Permission mode override for installation of shared libraries.
                   25457: install_override_mode=$lt_install_override_mode
                   25458: 
                   25459: # Command to use after installation of a shared archive.
                   25460: postinstall_cmds=$lt_postinstall_cmds
                   25461: 
                   25462: # Command to use after uninstallation of a shared archive.
                   25463: postuninstall_cmds=$lt_postuninstall_cmds
                   25464: 
                   25465: # Commands used to finish a libtool library installation in a directory.
                   25466: finish_cmds=$lt_finish_cmds
                   25467: 
                   25468: # As "finish_cmds", except a single script fragment to be evaled but
                   25469: # not shown.
                   25470: finish_eval=$lt_finish_eval
                   25471: 
                   25472: # Whether we should hardcode library paths into libraries.
                   25473: hardcode_into_libs=$hardcode_into_libs
                   25474: 
                   25475: # Compile-time system search path for libraries.
                   25476: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   25477: 
                   25478: # Run-time system search path for libraries.
                   25479: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   25480: 
                   25481: # Whether dlopen is supported.
                   25482: dlopen_support=$enable_dlopen
                   25483: 
                   25484: # Whether dlopen of programs is supported.
                   25485: dlopen_self=$enable_dlopen_self
                   25486: 
                   25487: # Whether dlopen of statically linked programs is supported.
                   25488: dlopen_self_static=$enable_dlopen_self_static
                   25489: 
                   25490: # Commands to strip libraries.
                   25491: old_striplib=$lt_old_striplib
                   25492: striplib=$lt_striplib
                   25493: 
                   25494: 
                   25495: # The linker used to build libraries.
                   25496: LD=$lt_LD
                   25497: 
                   25498: # How to create reloadable object files.
                   25499: reload_flag=$lt_reload_flag
                   25500: reload_cmds=$lt_reload_cmds
                   25501: 
                   25502: # Commands used to build an old-style archive.
                   25503: old_archive_cmds=$lt_old_archive_cmds
                   25504: 
                   25505: # A language specific compiler.
                   25506: CC=$lt_compiler
                   25507: 
                   25508: # Is the compiler the GNU compiler?
                   25509: with_gcc=$GCC
                   25510: 
                   25511: # Compiler flag to turn off builtin functions.
                   25512: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   25513: 
                   25514: # Additional compiler flags for building library objects.
                   25515: pic_flag=$lt_lt_prog_compiler_pic
                   25516: 
                   25517: # How to pass a linker flag through the compiler.
                   25518: wl=$lt_lt_prog_compiler_wl
                   25519: 
                   25520: # Compiler flag to prevent dynamic linking.
                   25521: link_static_flag=$lt_lt_prog_compiler_static
                   25522: 
                   25523: # Does compiler simultaneously support -c and -o options?
                   25524: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   25525: 
                   25526: # Whether or not to add -lc for building shared libraries.
                   25527: build_libtool_need_lc=$archive_cmds_need_lc
                   25528: 
                   25529: # Whether or not to disallow shared libs when runtime libs are static.
                   25530: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   25531: 
                   25532: # Compiler flag to allow reflexive dlopens.
                   25533: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   25534: 
                   25535: # Compiler flag to generate shared objects directly from archives.
                   25536: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   25537: 
                   25538: # Whether the compiler copes with passing no objects directly.
                   25539: compiler_needs_object=$lt_compiler_needs_object
                   25540: 
                   25541: # Create an old-style archive from a shared archive.
                   25542: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   25543: 
                   25544: # Create a temporary old-style archive to link instead of a shared archive.
                   25545: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   25546: 
                   25547: # Commands used to build a shared archive.
                   25548: archive_cmds=$lt_archive_cmds
                   25549: archive_expsym_cmds=$lt_archive_expsym_cmds
                   25550: 
                   25551: # Commands used to build a loadable module if different from building
                   25552: # a shared archive.
                   25553: module_cmds=$lt_module_cmds
                   25554: module_expsym_cmds=$lt_module_expsym_cmds
                   25555: 
                   25556: # Whether we are building with GNU ld or not.
                   25557: with_gnu_ld=$lt_with_gnu_ld
                   25558: 
                   25559: # Flag that allows shared libraries with undefined symbols to be built.
                   25560: allow_undefined_flag=$lt_allow_undefined_flag
                   25561: 
                   25562: # Flag that enforces no undefined symbols.
                   25563: no_undefined_flag=$lt_no_undefined_flag
                   25564: 
                   25565: # Flag to hardcode \$libdir into a binary during linking.
                   25566: # This must work even if \$libdir does not exist
                   25567: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   25568: 
                   25569: # Whether we need a single "-rpath" flag with a separated argument.
                   25570: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   25571: 
                   25572: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   25573: # DIR into the resulting binary.
                   25574: hardcode_direct=$hardcode_direct
                   25575: 
                   25576: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   25577: # DIR into the resulting binary and the resulting library dependency is
                   25578: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   25579: # library is relocated.
                   25580: hardcode_direct_absolute=$hardcode_direct_absolute
                   25581: 
                   25582: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   25583: # into the resulting binary.
                   25584: hardcode_minus_L=$hardcode_minus_L
                   25585: 
                   25586: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   25587: # into the resulting binary.
                   25588: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   25589: 
                   25590: # Set to "yes" if building a shared library automatically hardcodes DIR
                   25591: # into the library and all subsequent libraries and executables linked
                   25592: # against it.
                   25593: hardcode_automatic=$hardcode_automatic
                   25594: 
                   25595: # Set to yes if linker adds runtime paths of dependent libraries
                   25596: # to runtime path list.
                   25597: inherit_rpath=$inherit_rpath
                   25598: 
                   25599: # Whether libtool must link a program against all its dependency libraries.
                   25600: link_all_deplibs=$link_all_deplibs
                   25601: 
                   25602: # Set to "yes" if exported symbols are required.
                   25603: always_export_symbols=$always_export_symbols
                   25604: 
                   25605: # The commands to list exported symbols.
                   25606: export_symbols_cmds=$lt_export_symbols_cmds
                   25607: 
                   25608: # Symbols that should not be listed in the preloaded symbols.
                   25609: exclude_expsyms=$lt_exclude_expsyms
                   25610: 
                   25611: # Symbols that must always be exported.
                   25612: include_expsyms=$lt_include_expsyms
                   25613: 
                   25614: # Commands necessary for linking programs (against libraries) with templates.
                   25615: prelink_cmds=$lt_prelink_cmds
                   25616: 
                   25617: # Commands necessary for finishing linking programs.
                   25618: postlink_cmds=$lt_postlink_cmds
                   25619: 
                   25620: # Specify filename containing input files.
                   25621: file_list_spec=$lt_file_list_spec
                   25622: 
                   25623: # How to hardcode a shared library path into an executable.
                   25624: hardcode_action=$hardcode_action
                   25625: 
                   25626: # ### END LIBTOOL CONFIG
                   25627: 
                   25628: _LT_EOF
                   25629: 
                   25630:   case $host_os in
                   25631:   aix3*)
                   25632:     cat <<\_LT_EOF >> "$cfgfile"
                   25633: # AIX sometimes has problems with the GCC collect2 program.  For some
                   25634: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   25635: # vanish in a puff of smoke.
                   25636: if test "X${COLLECT_NAMES+set}" != Xset; then
                   25637:   COLLECT_NAMES=
                   25638:   export COLLECT_NAMES
                   25639: fi
                   25640: _LT_EOF
                   25641:     ;;
                   25642:   esac
                   25643: 
                   25644: 
                   25645: ltmain="$ac_aux_dir/ltmain.sh"
                   25646: 
                   25647: 
                   25648:   # We use sed instead of cat because bash on DJGPP gets confused if
                   25649:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   25650:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   25651:   # is reportedly fixed, but why not run on old versions too?
                   25652:   sed '$q' "$ltmain" >> "$cfgfile" \
                   25653:      || (rm -f "$cfgfile"; exit 1)
                   25654: 
                   25655:   if test x"$xsi_shell" = xyes; then
                   25656:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   25657: func_dirname ()\
                   25658: {\
                   25659: \    case ${1} in\
                   25660: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   25661: \      *  ) func_dirname_result="${3}" ;;\
                   25662: \    esac\
                   25663: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   25664:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25665:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25666: test 0 -eq $? || _lt_function_replace_fail=:
                   25667: 
                   25668: 
                   25669:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   25670: func_basename ()\
                   25671: {\
                   25672: \    func_basename_result="${1##*/}"\
                   25673: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   25674:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25675:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25676: test 0 -eq $? || _lt_function_replace_fail=:
                   25677: 
                   25678: 
                   25679:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   25680: func_dirname_and_basename ()\
                   25681: {\
                   25682: \    case ${1} in\
                   25683: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   25684: \      *  ) func_dirname_result="${3}" ;;\
                   25685: \    esac\
                   25686: \    func_basename_result="${1##*/}"\
                   25687: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   25688:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25689:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25690: test 0 -eq $? || _lt_function_replace_fail=:
                   25691: 
                   25692: 
                   25693:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   25694: func_stripname ()\
                   25695: {\
                   25696: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   25697: \    # positional parameters, so assign one to ordinary parameter first.\
                   25698: \    func_stripname_result=${3}\
                   25699: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   25700: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   25701: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   25702:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25703:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25704: test 0 -eq $? || _lt_function_replace_fail=:
                   25705: 
                   25706: 
                   25707:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   25708: func_split_long_opt ()\
                   25709: {\
                   25710: \    func_split_long_opt_name=${1%%=*}\
                   25711: \    func_split_long_opt_arg=${1#*=}\
                   25712: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   25713:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25714:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25715: test 0 -eq $? || _lt_function_replace_fail=:
                   25716: 
                   25717: 
                   25718:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   25719: func_split_short_opt ()\
                   25720: {\
                   25721: \    func_split_short_opt_arg=${1#??}\
                   25722: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   25723: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   25724:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25725:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25726: test 0 -eq $? || _lt_function_replace_fail=:
                   25727: 
                   25728: 
                   25729:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   25730: func_lo2o ()\
                   25731: {\
                   25732: \    case ${1} in\
                   25733: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   25734: \      *)    func_lo2o_result=${1} ;;\
                   25735: \    esac\
                   25736: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   25737:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25738:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25739: test 0 -eq $? || _lt_function_replace_fail=:
                   25740: 
                   25741: 
                   25742:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   25743: func_xform ()\
                   25744: {\
                   25745:     func_xform_result=${1%.*}.lo\
                   25746: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   25747:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25748:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25749: test 0 -eq $? || _lt_function_replace_fail=:
                   25750: 
                   25751: 
                   25752:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   25753: func_arith ()\
                   25754: {\
                   25755:     func_arith_result=$(( $* ))\
                   25756: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   25757:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25758:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25759: test 0 -eq $? || _lt_function_replace_fail=:
                   25760: 
                   25761: 
                   25762:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   25763: func_len ()\
                   25764: {\
                   25765:     func_len_result=${#1}\
                   25766: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   25767:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25768:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25769: test 0 -eq $? || _lt_function_replace_fail=:
                   25770: 
                   25771: fi
                   25772: 
                   25773: if test x"$lt_shell_append" = xyes; then
                   25774:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   25775: func_append ()\
                   25776: {\
                   25777:     eval "${1}+=\\${2}"\
                   25778: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   25779:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25780:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25781: test 0 -eq $? || _lt_function_replace_fail=:
                   25782: 
                   25783: 
                   25784:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   25785: func_append_quoted ()\
                   25786: {\
                   25787: \    func_quote_for_eval "${2}"\
                   25788: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   25789: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   25790:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25791:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25792: test 0 -eq $? || _lt_function_replace_fail=:
                   25793: 
                   25794: 
                   25795:   # Save a `func_append' function call where possible by direct use of '+='
                   25796:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   25797:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25798:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25799:   test 0 -eq $? || _lt_function_replace_fail=:
                   25800: else
                   25801:   # Save a `func_append' function call even when '+=' is not available
                   25802:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   25803:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   25804:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   25805:   test 0 -eq $? || _lt_function_replace_fail=:
                   25806: fi
                   25807: 
                   25808: if test x"$_lt_function_replace_fail" = x":"; then
                   25809:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   25810: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   25811: fi
                   25812: 
                   25813: 
                   25814:    mv -f "$cfgfile" "$ofile" ||
                   25815:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   25816:   chmod +x "$ofile"
                   25817: 
                   25818:  ;;
                   25819:     "vtysh/extract.pl":F) chmod +x vtysh/extract.pl ;;
                   25820: 
                   25821:   esac
                   25822: done # for ac_tag
                   25823: 
                   25824: 
                   25825: as_fn_exit 0
                   25826: _ACEOF
                   25827: ac_clean_files=$ac_clean_files_save
                   25828: 
                   25829: test $ac_write_fail = 0 ||
                   25830:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   25831: 
                   25832: 
                   25833: # configure is writing to config.log, and then calls config.status.
                   25834: # config.status does its own redirection, appending to config.log.
                   25835: # Unfortunately, on DOS this fails, as config.log is still kept open
                   25836: # by configure, so config.status won't be able to write to it; its
                   25837: # output is simply discarded.  So we exec the FD to /dev/null,
                   25838: # effectively closing config.log, so it can be properly (re)opened and
                   25839: # appended to by config.status.  When coming back to configure, we
                   25840: # need to make the FD available again.
                   25841: if test "$no_create" != yes; then
                   25842:   ac_cs_success=:
                   25843:   ac_config_status_args=
                   25844:   test "$silent" = yes &&
                   25845:     ac_config_status_args="$ac_config_status_args --quiet"
                   25846:   exec 5>/dev/null
                   25847:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   25848:   exec 5>>config.log
                   25849:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   25850:   # would make configure fail if this is the last instruction.
                   25851:   $ac_cs_success || as_fn_exit 1
                   25852: fi
                   25853: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   25854:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   25855: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   25856: fi
                   25857: 
                   25858: 
                   25859: echo "
                   25860: Quagga configuration
                   25861: --------------------
                   25862: quagga version          : ${PACKAGE_VERSION}
1.1.1.4   misho    25863: host operating system   : ${host_os}
1.1       misho    25864: source code location    : ${srcdir}
                   25865: compiler                : ${CC}
                   25866: compiler flags          : ${CFLAGS}
                   25867: make                    : ${MAKE-make}
                   25868: linker flags            : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM}
                   25869: state file directory    : ${quagga_statedir}
                   25870: config file directory   : `eval echo \`echo ${sysconfdir}\``
                   25871: example directory       : `eval echo \`echo ${exampledir}\``
                   25872: user to run as         : ${enable_user}
                   25873: group to run as                : ${enable_group}
                   25874: group for vty sockets  : ${enable_vty_group}
                   25875: config file mask        : ${enable_configfile_mask}
                   25876: log file mask           : ${enable_logfile_mask}
                   25877: 
                   25878: The above user and group must have read/write access to the state file
                   25879: directory and to the config files in the config file directory."
                   25880: 
                   25881: if test x"$quagga_cv_gnu_make" = x"no"; then echo "
                   25882: Warning: The ${MAKE-make} programme detected, either in your path or
                   25883: via the MAKE variable, is not GNU Make. GNU make may be installed as
                   25884: gmake on some systems. and is required to complete a build of Quagga
                   25885: " > /dev/stderr
                   25886: fi

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